@vkontakte/vkui 4.29.0 → 4.31.0

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 (439) hide show
  1. package/.cache/.eslintcache +1 -1
  2. package/.cache/.stylelintcache +1 -1
  3. package/.cache/.tsbuildinfo +111 -84
  4. package/.cache/ts/src/components/Alert/Alert.d.ts +4 -1
  5. package/.cache/ts/src/components/AppRoot/ScrollContext.d.ts +6 -14
  6. package/.cache/ts/src/components/Calendar/Calendar.d.ts +10 -1
  7. package/.cache/ts/src/components/CalendarHeader/CalendarHeader.d.ts +8 -0
  8. package/.cache/ts/src/components/CalendarRange/CalendarRange.d.ts +1 -1
  9. package/.cache/ts/src/components/ChipsSelect/ChipsSelect.d.ts +1 -1
  10. package/.cache/ts/src/components/CustomSelect/CustomSelect.d.ts +1 -1
  11. package/.cache/ts/src/components/DateInput/DateInput.d.ts +1 -1
  12. package/.cache/ts/src/components/DateRangeInput/DateRangeInput.d.ts +1 -1
  13. package/.cache/ts/src/components/FormField/FormField.d.ts +15 -1
  14. package/.cache/ts/src/components/Input/Input.d.ts +1 -1
  15. package/.cache/ts/src/components/NativeSelect/NativeSelect.d.ts +1 -2
  16. package/.cache/ts/src/components/Select/Select.d.ts +1 -1
  17. package/.cache/ts/src/components/SelectMimicry/SelectMimicry.d.ts +3 -3
  18. package/.cache/ts/src/components/TabbarItem/TabbarItem.d.ts +1 -1
  19. package/.cache/ts/src/hooks/useAdaptivity.d.ts +1 -0
  20. package/.cache/ts/src/hooks/useCalendar.d.ts +4 -3
  21. package/.cache/ts/src/index.d.ts +2 -1
  22. package/dist/cjs/components/ActionSheet/ActionSheet.js +6 -10
  23. package/dist/cjs/components/ActionSheet/ActionSheet.js.map +1 -1
  24. package/dist/cjs/components/ActionSheet/ActionSheetDropdownDesktop.js +1 -1
  25. package/dist/cjs/components/ActionSheet/ActionSheetDropdownDesktop.js.map +1 -1
  26. package/dist/cjs/components/Alert/Alert.d.ts +4 -1
  27. package/dist/cjs/components/Alert/Alert.js +20 -2
  28. package/dist/cjs/components/Alert/Alert.js.map +1 -1
  29. package/dist/cjs/components/AppRoot/AppRoot.js +18 -2
  30. package/dist/cjs/components/AppRoot/AppRoot.js.map +1 -1
  31. package/dist/cjs/components/AppRoot/ScrollContext.d.ts +6 -14
  32. package/dist/cjs/components/AppRoot/ScrollContext.js +94 -2
  33. package/dist/cjs/components/AppRoot/ScrollContext.js.map +1 -1
  34. package/dist/cjs/components/Calendar/Calendar.d.ts +10 -1
  35. package/dist/cjs/components/Calendar/Calendar.js +16 -5
  36. package/dist/cjs/components/Calendar/Calendar.js.map +1 -1
  37. package/dist/cjs/components/CalendarHeader/CalendarHeader.d.ts +8 -0
  38. package/dist/cjs/components/CalendarHeader/CalendarHeader.js +15 -9
  39. package/dist/cjs/components/CalendarHeader/CalendarHeader.js.map +1 -1
  40. package/dist/cjs/components/CalendarRange/CalendarRange.d.ts +1 -1
  41. package/dist/cjs/components/CalendarRange/CalendarRange.js +7 -3
  42. package/dist/cjs/components/CalendarRange/CalendarRange.js.map +1 -1
  43. package/dist/cjs/components/ChipsInput/ChipsInput.js +3 -1
  44. package/dist/cjs/components/ChipsInput/ChipsInput.js.map +1 -1
  45. package/dist/cjs/components/ChipsSelect/ChipsSelect.d.ts +1 -1
  46. package/dist/cjs/components/ConfigProvider/ConfigProvider.js +1 -1
  47. package/dist/cjs/components/ConfigProvider/ConfigProvider.js.map +1 -1
  48. package/dist/cjs/components/CustomSelect/CustomSelect.d.ts +1 -1
  49. package/dist/cjs/components/CustomSelect/CustomSelect.js +6 -3
  50. package/dist/cjs/components/CustomSelect/CustomSelect.js.map +1 -1
  51. package/dist/cjs/components/DateInput/DateInput.d.ts +1 -1
  52. package/dist/cjs/components/DateInput/DateInput.js +14 -2
  53. package/dist/cjs/components/DateInput/DateInput.js.map +1 -1
  54. package/dist/cjs/components/DateRangeInput/DateRangeInput.d.ts +1 -1
  55. package/dist/cjs/components/DateRangeInput/DateRangeInput.js +6 -2
  56. package/dist/cjs/components/DateRangeInput/DateRangeInput.js.map +1 -1
  57. package/dist/cjs/components/Epic/Epic.js +1 -1
  58. package/dist/cjs/components/Epic/Epic.js.map +1 -1
  59. package/dist/cjs/components/FormField/FormField.d.ts +15 -1
  60. package/dist/cjs/components/FormField/FormField.js +6 -2
  61. package/dist/cjs/components/FormField/FormField.js.map +1 -1
  62. package/dist/cjs/components/HorizontalScroll/HorizontalScroll.js +12 -3
  63. package/dist/cjs/components/HorizontalScroll/HorizontalScroll.js.map +1 -1
  64. package/dist/cjs/components/Input/Input.d.ts +1 -1
  65. package/dist/cjs/components/Input/Input.js +3 -1
  66. package/dist/cjs/components/Input/Input.js.map +1 -1
  67. package/dist/cjs/components/ModalCard/ModalCard.js +3 -1
  68. package/dist/cjs/components/ModalCard/ModalCard.js.map +1 -1
  69. package/dist/cjs/components/ModalCardBase/ModalCardBase.js +4 -2
  70. package/dist/cjs/components/ModalCardBase/ModalCardBase.js.map +1 -1
  71. package/dist/cjs/components/ModalPage/ModalPage.js +6 -2
  72. package/dist/cjs/components/ModalPage/ModalPage.js.map +1 -1
  73. package/dist/cjs/components/ModalPageHeader/ModalPageHeader.js +2 -10
  74. package/dist/cjs/components/ModalPageHeader/ModalPageHeader.js.map +1 -1
  75. package/dist/cjs/components/ModalRoot/ModalRoot.js +2 -2
  76. package/dist/cjs/components/ModalRoot/ModalRoot.js.map +1 -1
  77. package/dist/cjs/components/ModalRoot/ModalRootAdaptive.js +6 -4
  78. package/dist/cjs/components/ModalRoot/ModalRootAdaptive.js.map +1 -1
  79. package/dist/cjs/components/ModalRoot/useModalManager.js +1 -1
  80. package/dist/cjs/components/ModalRoot/useModalManager.js.map +1 -1
  81. package/dist/cjs/components/NativeSelect/NativeSelect.d.ts +1 -2
  82. package/dist/cjs/components/NativeSelect/NativeSelect.js +5 -7
  83. package/dist/cjs/components/NativeSelect/NativeSelect.js.map +1 -1
  84. package/dist/cjs/components/PanelHeader/PanelHeader.js +6 -4
  85. package/dist/cjs/components/PanelHeader/PanelHeader.js.map +1 -1
  86. package/dist/cjs/components/PanelHeaderContext/PanelHeaderContext.js +4 -1
  87. package/dist/cjs/components/PanelHeaderContext/PanelHeaderContext.js.map +1 -1
  88. package/dist/cjs/components/PopoutRoot/PopoutRoot.js +3 -1
  89. package/dist/cjs/components/PopoutRoot/PopoutRoot.js.map +1 -1
  90. package/dist/cjs/components/ScreenSpinner/ScreenSpinner.js +3 -0
  91. package/dist/cjs/components/ScreenSpinner/ScreenSpinner.js.map +1 -1
  92. package/dist/cjs/components/Select/Select.d.ts +1 -1
  93. package/dist/cjs/components/Select/Select.js +2 -2
  94. package/dist/cjs/components/Select/Select.js.map +1 -1
  95. package/dist/cjs/components/SelectMimicry/SelectMimicry.d.ts +3 -3
  96. package/dist/cjs/components/SelectMimicry/SelectMimicry.js +3 -1
  97. package/dist/cjs/components/SelectMimicry/SelectMimicry.js.map +1 -1
  98. package/dist/cjs/components/TabbarItem/TabbarItem.d.ts +1 -1
  99. package/dist/cjs/components/TabbarItem/TabbarItem.js.map +1 -1
  100. package/dist/cjs/components/Tooltip/Tooltip.js +1 -1
  101. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  102. package/dist/cjs/components/Typography/Text/Text.js +1 -1
  103. package/dist/cjs/components/Typography/Text/Text.js.map +1 -1
  104. package/dist/cjs/hooks/useAdaptivity.d.ts +1 -0
  105. package/dist/cjs/hooks/useAdaptivity.js +18 -1
  106. package/dist/cjs/hooks/useAdaptivity.js.map +1 -1
  107. package/dist/cjs/hooks/useCalendar.d.ts +4 -3
  108. package/dist/cjs/hooks/useCalendar.js +15 -6
  109. package/dist/cjs/hooks/useCalendar.js.map +1 -1
  110. package/dist/cjs/index.d.ts +2 -1
  111. package/dist/cjs/index.js +10 -2
  112. package/dist/cjs/index.js.map +1 -1
  113. package/dist/cjs/lib/getNavId.js +1 -1
  114. package/dist/cjs/lib/getNavId.js.map +1 -1
  115. package/dist/cjs/lib/platform.js +29 -0
  116. package/dist/cjs/lib/platform.js.map +1 -1
  117. package/dist/components/ActionSheet/ActionSheet.js +5 -9
  118. package/dist/components/ActionSheet/ActionSheet.js.map +1 -1
  119. package/dist/components/ActionSheet/ActionSheetDropdownDesktop.js +1 -1
  120. package/dist/components/ActionSheet/ActionSheetDropdownDesktop.js.map +1 -1
  121. package/dist/components/Alert/Alert.d.ts +4 -1
  122. package/dist/components/Alert/Alert.js +18 -2
  123. package/dist/components/Alert/Alert.js.map +1 -1
  124. package/dist/components/AppRoot/AppRoot.js +17 -2
  125. package/dist/components/AppRoot/AppRoot.js.map +1 -1
  126. package/dist/components/AppRoot/ScrollContext.d.ts +6 -14
  127. package/dist/components/AppRoot/ScrollContext.js +87 -1
  128. package/dist/components/AppRoot/ScrollContext.js.map +1 -1
  129. package/dist/components/Calendar/Calendar.d.ts +10 -1
  130. package/dist/components/Calendar/Calendar.js +16 -5
  131. package/dist/components/Calendar/Calendar.js.map +1 -1
  132. package/dist/components/CalendarHeader/CalendarHeader.d.ts +8 -0
  133. package/dist/components/CalendarHeader/CalendarHeader.js +15 -9
  134. package/dist/components/CalendarHeader/CalendarHeader.js.map +1 -1
  135. package/dist/components/CalendarRange/CalendarRange.d.ts +1 -1
  136. package/dist/components/CalendarRange/CalendarRange.js +7 -3
  137. package/dist/components/CalendarRange/CalendarRange.js.map +1 -1
  138. package/dist/components/ChipsInput/ChipsInput.js +3 -1
  139. package/dist/components/ChipsInput/ChipsInput.js.map +1 -1
  140. package/dist/components/ChipsSelect/ChipsSelect.d.ts +1 -1
  141. package/dist/components/ConfigProvider/ConfigProvider.js +1 -1
  142. package/dist/components/ConfigProvider/ConfigProvider.js.map +1 -1
  143. package/dist/components/CustomSelect/CustomSelect.d.ts +1 -1
  144. package/dist/components/CustomSelect/CustomSelect.js +6 -3
  145. package/dist/components/CustomSelect/CustomSelect.js.map +1 -1
  146. package/dist/components/DateInput/DateInput.d.ts +1 -1
  147. package/dist/components/DateInput/DateInput.js +14 -2
  148. package/dist/components/DateInput/DateInput.js.map +1 -1
  149. package/dist/components/DateRangeInput/DateRangeInput.d.ts +1 -1
  150. package/dist/components/DateRangeInput/DateRangeInput.js +6 -2
  151. package/dist/components/DateRangeInput/DateRangeInput.js.map +1 -1
  152. package/dist/components/Epic/Epic.js +1 -1
  153. package/dist/components/Epic/Epic.js.map +1 -1
  154. package/dist/components/FormField/FormField.d.ts +15 -1
  155. package/dist/components/FormField/FormField.js +6 -2
  156. package/dist/components/FormField/FormField.js.map +1 -1
  157. package/dist/components/HorizontalScroll/HorizontalScroll.js +12 -3
  158. package/dist/components/HorizontalScroll/HorizontalScroll.js.map +1 -1
  159. package/dist/components/Input/Input.d.ts +1 -1
  160. package/dist/components/Input/Input.js +3 -1
  161. package/dist/components/Input/Input.js.map +1 -1
  162. package/dist/components/ModalCard/ModalCard.js +3 -2
  163. package/dist/components/ModalCard/ModalCard.js.map +1 -1
  164. package/dist/components/ModalCardBase/ModalCardBase.js +5 -4
  165. package/dist/components/ModalCardBase/ModalCardBase.js.map +1 -1
  166. package/dist/components/ModalPage/ModalPage.js +5 -3
  167. package/dist/components/ModalPage/ModalPage.js.map +1 -1
  168. package/dist/components/ModalPageHeader/ModalPageHeader.js +2 -9
  169. package/dist/components/ModalPageHeader/ModalPageHeader.js.map +1 -1
  170. package/dist/components/ModalRoot/ModalRoot.js +2 -2
  171. package/dist/components/ModalRoot/ModalRoot.js.map +1 -1
  172. package/dist/components/ModalRoot/ModalRootAdaptive.js +5 -5
  173. package/dist/components/ModalRoot/ModalRootAdaptive.js.map +1 -1
  174. package/dist/components/ModalRoot/useModalManager.js +1 -1
  175. package/dist/components/ModalRoot/useModalManager.js.map +1 -1
  176. package/dist/components/NativeSelect/NativeSelect.d.ts +1 -2
  177. package/dist/components/NativeSelect/NativeSelect.js +3 -4
  178. package/dist/components/NativeSelect/NativeSelect.js.map +1 -1
  179. package/dist/components/PanelHeader/PanelHeader.js +6 -4
  180. package/dist/components/PanelHeader/PanelHeader.js.map +1 -1
  181. package/dist/components/PanelHeaderContext/PanelHeaderContext.js +3 -1
  182. package/dist/components/PanelHeaderContext/PanelHeaderContext.js.map +1 -1
  183. package/dist/components/PopoutRoot/PopoutRoot.js +3 -2
  184. package/dist/components/PopoutRoot/PopoutRoot.js.map +1 -1
  185. package/dist/components/ScreenSpinner/ScreenSpinner.js +2 -0
  186. package/dist/components/ScreenSpinner/ScreenSpinner.js.map +1 -1
  187. package/dist/components/Select/Select.d.ts +1 -1
  188. package/dist/components/Select/Select.js +1 -1
  189. package/dist/components/Select/Select.js.map +1 -1
  190. package/dist/components/SelectMimicry/SelectMimicry.d.ts +3 -3
  191. package/dist/components/SelectMimicry/SelectMimicry.js +3 -1
  192. package/dist/components/SelectMimicry/SelectMimicry.js.map +1 -1
  193. package/dist/components/TabbarItem/TabbarItem.d.ts +1 -1
  194. package/dist/components/TabbarItem/TabbarItem.js.map +1 -1
  195. package/dist/components/Tooltip/Tooltip.js +1 -1
  196. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  197. package/dist/components/Typography/Text/Text.js +1 -1
  198. package/dist/components/Typography/Text/Text.js.map +1 -1
  199. package/dist/components.css +18 -18
  200. package/dist/components.css.map +1 -1
  201. package/dist/cssm/components/ActionSheet/ActionSheet.js +5 -9
  202. package/dist/cssm/components/ActionSheet/ActionSheet.js.map +1 -1
  203. package/dist/cssm/components/ActionSheet/ActionSheetDropdownDesktop.js +1 -1
  204. package/dist/cssm/components/ActionSheet/ActionSheetDropdownDesktop.js.map +1 -1
  205. package/dist/cssm/components/Alert/Alert.d.ts +4 -1
  206. package/dist/cssm/components/Alert/Alert.js +18 -2
  207. package/dist/cssm/components/Alert/Alert.js.map +1 -1
  208. package/dist/cssm/components/AppRoot/AppRoot.js +17 -2
  209. package/dist/cssm/components/AppRoot/AppRoot.js.map +1 -1
  210. package/dist/cssm/components/AppRoot/ScrollContext.d.ts +6 -14
  211. package/dist/cssm/components/AppRoot/ScrollContext.js +87 -1
  212. package/dist/cssm/components/AppRoot/ScrollContext.js.map +1 -1
  213. package/dist/cssm/components/Button/Button.css +9 -9
  214. package/dist/cssm/components/ButtonGroup/ButtonGroup.css +1 -1
  215. package/dist/cssm/components/Calendar/Calendar.css +1 -1
  216. package/dist/cssm/components/Calendar/Calendar.d.ts +10 -1
  217. package/dist/cssm/components/Calendar/Calendar.js +16 -5
  218. package/dist/cssm/components/Calendar/Calendar.js.map +1 -1
  219. package/dist/cssm/components/CalendarDay/CalendarDay.css +1 -1
  220. package/dist/cssm/components/CalendarDays/CalendarDays.css +1 -1
  221. package/dist/cssm/components/CalendarHeader/CalendarHeader.css +1 -1
  222. package/dist/cssm/components/CalendarHeader/CalendarHeader.d.ts +8 -0
  223. package/dist/cssm/components/CalendarHeader/CalendarHeader.js +15 -9
  224. package/dist/cssm/components/CalendarHeader/CalendarHeader.js.map +1 -1
  225. package/dist/cssm/components/CalendarRange/CalendarRange.css +1 -1
  226. package/dist/cssm/components/CalendarRange/CalendarRange.d.ts +1 -1
  227. package/dist/cssm/components/CalendarRange/CalendarRange.js +7 -3
  228. package/dist/cssm/components/CalendarRange/CalendarRange.js.map +1 -1
  229. package/dist/cssm/components/CalendarTime/CalendarTime.css +1 -1
  230. package/dist/cssm/components/Card/Card.css +2 -2
  231. package/dist/cssm/components/CardScroll/CardScroll.css +1 -1
  232. package/dist/cssm/components/Cell/Cell.css +1 -1
  233. package/dist/cssm/components/CellButton/CellButton.css +1 -1
  234. package/dist/cssm/components/Checkbox/Checkbox.css +1 -1
  235. package/dist/cssm/components/ChipsInput/ChipsInput.css +1 -1
  236. package/dist/cssm/components/ChipsInput/ChipsInput.js +3 -1
  237. package/dist/cssm/components/ChipsInput/ChipsInput.js.map +1 -1
  238. package/dist/cssm/components/ChipsSelect/ChipsSelect.d.ts +1 -1
  239. package/dist/cssm/components/ConfigProvider/ConfigProvider.js +1 -1
  240. package/dist/cssm/components/ConfigProvider/ConfigProvider.js.map +1 -1
  241. package/dist/cssm/components/CustomSelect/CustomSelect.d.ts +1 -1
  242. package/dist/cssm/components/CustomSelect/CustomSelect.js +6 -3
  243. package/dist/cssm/components/CustomSelect/CustomSelect.js.map +1 -1
  244. package/dist/cssm/components/CustomSelectDropdown/CustomSelectDropdown.css +1 -1
  245. package/dist/cssm/components/CustomSelectOption/CustomSelectOption.css +1 -1
  246. package/dist/cssm/components/DateInput/DateInput.d.ts +1 -1
  247. package/dist/cssm/components/DateInput/DateInput.js +14 -2
  248. package/dist/cssm/components/DateInput/DateInput.js.map +1 -1
  249. package/dist/cssm/components/DateRangeInput/DateRangeInput.d.ts +1 -1
  250. package/dist/cssm/components/DateRangeInput/DateRangeInput.js +6 -2
  251. package/dist/cssm/components/DateRangeInput/DateRangeInput.js.map +1 -1
  252. package/dist/cssm/components/Epic/Epic.js +1 -1
  253. package/dist/cssm/components/Epic/Epic.js.map +1 -1
  254. package/dist/cssm/components/FormField/FormField.css +3 -3
  255. package/dist/cssm/components/FormField/FormField.d.ts +15 -1
  256. package/dist/cssm/components/FormField/FormField.js +6 -2
  257. package/dist/cssm/components/FormField/FormField.js.map +1 -1
  258. package/dist/cssm/components/FormLayoutGroup/FormLayoutGroup.css +1 -1
  259. package/dist/cssm/components/Gradient/Gradient.css +1 -1
  260. package/dist/cssm/components/HorizontalScroll/HorizontalScroll.js +12 -3
  261. package/dist/cssm/components/HorizontalScroll/HorizontalScroll.js.map +1 -1
  262. package/dist/cssm/components/HorizontalScroll/HorizontalScrollArrow.css +1 -1
  263. package/dist/cssm/components/Input/Input.css +1 -1
  264. package/dist/cssm/components/Input/Input.d.ts +1 -1
  265. package/dist/cssm/components/Input/Input.js +3 -1
  266. package/dist/cssm/components/Input/Input.js.map +1 -1
  267. package/dist/cssm/components/InputLike/InputLike.css +1 -1
  268. package/dist/cssm/components/InputLike/InputLikeDivider.css +1 -1
  269. package/dist/cssm/components/ModalCard/ModalCard.css +1 -1
  270. package/dist/cssm/components/ModalCard/ModalCard.js +3 -2
  271. package/dist/cssm/components/ModalCard/ModalCard.js.map +1 -1
  272. package/dist/cssm/components/ModalCardBase/ModalCardBase.js +5 -4
  273. package/dist/cssm/components/ModalCardBase/ModalCardBase.js.map +1 -1
  274. package/dist/cssm/components/ModalPage/ModalPage.js +5 -3
  275. package/dist/cssm/components/ModalPage/ModalPage.js.map +1 -1
  276. package/dist/cssm/components/ModalPageHeader/ModalPageHeader.js +2 -9
  277. package/dist/cssm/components/ModalPageHeader/ModalPageHeader.js.map +1 -1
  278. package/dist/cssm/components/ModalRoot/ModalRoot.css +1 -1
  279. package/dist/cssm/components/ModalRoot/ModalRoot.js +2 -2
  280. package/dist/cssm/components/ModalRoot/ModalRoot.js.map +1 -1
  281. package/dist/cssm/components/ModalRoot/ModalRootAdaptive.js +5 -5
  282. package/dist/cssm/components/ModalRoot/ModalRootAdaptive.js.map +1 -1
  283. package/dist/cssm/components/ModalRoot/useModalManager.js +1 -1
  284. package/dist/cssm/components/ModalRoot/useModalManager.js.map +1 -1
  285. package/dist/cssm/components/NativeSelect/NativeSelect.d.ts +1 -2
  286. package/dist/cssm/components/NativeSelect/NativeSelect.js +3 -4
  287. package/dist/cssm/components/NativeSelect/NativeSelect.js.map +1 -1
  288. package/dist/cssm/components/Pagination/Pagination.css +1 -1
  289. package/dist/cssm/components/PanelHeader/PanelHeader.css +1 -1
  290. package/dist/cssm/components/PanelHeader/PanelHeader.js +6 -4
  291. package/dist/cssm/components/PanelHeader/PanelHeader.js.map +1 -1
  292. package/dist/cssm/components/PanelHeaderContext/PanelHeaderContext.js +3 -1
  293. package/dist/cssm/components/PanelHeaderContext/PanelHeaderContext.js.map +1 -1
  294. package/dist/cssm/components/PopoutRoot/PopoutRoot.js +3 -2
  295. package/dist/cssm/components/PopoutRoot/PopoutRoot.js.map +1 -1
  296. package/dist/cssm/components/Popper/Popper.css +1 -1
  297. package/dist/cssm/components/Radio/Radio.css +1 -1
  298. package/dist/cssm/components/RadioGroup/RadioGroup.css +1 -1
  299. package/dist/cssm/components/Removable/Removable.css +1 -1
  300. package/dist/cssm/components/RichCell/RichCell.css +1 -1
  301. package/dist/cssm/components/ScreenSpinner/ScreenSpinner.js +2 -0
  302. package/dist/cssm/components/ScreenSpinner/ScreenSpinner.js.map +1 -1
  303. package/dist/cssm/components/SegmentedControl/SegmentedControl.css +1 -1
  304. package/dist/cssm/components/SegmentedControl/SegmentedControlOption/SegmentedControlOption.css +1 -1
  305. package/dist/cssm/components/Select/Select.d.ts +1 -1
  306. package/dist/cssm/components/Select/Select.js +1 -1
  307. package/dist/cssm/components/Select/Select.js.map +1 -1
  308. package/dist/cssm/components/SelectMimicry/SelectMimicry.d.ts +3 -3
  309. package/dist/cssm/components/SelectMimicry/SelectMimicry.js +3 -1
  310. package/dist/cssm/components/SelectMimicry/SelectMimicry.js.map +1 -1
  311. package/dist/cssm/components/SimpleCell/SimpleCell.css +1 -1
  312. package/dist/cssm/components/Snackbar/Snackbar.css +1 -1
  313. package/dist/cssm/components/SplitLayout/SplitLayout.css +1 -1
  314. package/dist/cssm/components/TabbarItem/TabbarItem.d.ts +1 -1
  315. package/dist/cssm/components/TabbarItem/TabbarItem.js.map +1 -1
  316. package/dist/cssm/components/Tooltip/Tooltip.js +1 -1
  317. package/dist/cssm/components/Tooltip/Tooltip.js.map +1 -1
  318. package/dist/cssm/components/Typography/Caption/Caption.css +1 -1
  319. package/dist/cssm/components/Typography/Paragraph/Paragraph.css +1 -1
  320. package/dist/cssm/components/Typography/Subhead/Subhead.css +1 -1
  321. package/dist/cssm/components/Typography/Text/Text.js +1 -1
  322. package/dist/cssm/components/Typography/Text/Text.js.map +1 -1
  323. package/dist/cssm/components/Typography/Title/Title.css +1 -1
  324. package/dist/cssm/hooks/useAdaptivity.d.ts +1 -0
  325. package/dist/cssm/hooks/useAdaptivity.js +13 -1
  326. package/dist/cssm/hooks/useAdaptivity.js.map +1 -1
  327. package/dist/cssm/hooks/useCalendar.d.ts +4 -3
  328. package/dist/cssm/hooks/useCalendar.js +15 -6
  329. package/dist/cssm/hooks/useCalendar.js.map +1 -1
  330. package/dist/cssm/index.d.ts +2 -1
  331. package/dist/cssm/index.js +2 -1
  332. package/dist/cssm/index.js.map +1 -1
  333. package/dist/cssm/lib/getNavId.js +1 -1
  334. package/dist/cssm/lib/getNavId.js.map +1 -1
  335. package/dist/cssm/lib/platform.js +26 -0
  336. package/dist/cssm/lib/platform.js.map +1 -1
  337. package/dist/cssm/styles/bright_light.css +1 -1
  338. package/dist/cssm/styles/components.css +18 -18
  339. package/dist/cssm/styles/constants.css +1 -1
  340. package/dist/cssm/styles/space_gray.css +1 -1
  341. package/dist/cssm/styles/themes.css +3 -3
  342. package/dist/cssm/styles/vkcom_dark.css +2 -2
  343. package/dist/cssm/styles/vkcom_light.css +1 -1
  344. package/dist/default_scheme.css +1 -1
  345. package/dist/default_scheme.css.map +1 -1
  346. package/dist/hooks/useAdaptivity.d.ts +1 -0
  347. package/dist/hooks/useAdaptivity.js +13 -1
  348. package/dist/hooks/useAdaptivity.js.map +1 -1
  349. package/dist/hooks/useCalendar.d.ts +4 -3
  350. package/dist/hooks/useCalendar.js +15 -6
  351. package/dist/hooks/useCalendar.js.map +1 -1
  352. package/dist/index.d.ts +2 -1
  353. package/dist/index.js +2 -1
  354. package/dist/index.js.map +1 -1
  355. package/dist/lib/getNavId.js +1 -1
  356. package/dist/lib/getNavId.js.map +1 -1
  357. package/dist/lib/platform.js +26 -0
  358. package/dist/lib/platform.js.map +1 -1
  359. package/dist/vkui.css +21 -21
  360. package/dist/vkui.css.map +1 -1
  361. package/jest.unit.config.js +1 -0
  362. package/package.json +5 -3
  363. package/postcss-custom-properties-fallback/__tests__/custom_properties.css +5 -0
  364. package/postcss-custom-properties-fallback/index.js +83 -0
  365. package/postcss-plugin-vk-sans/index.js +34 -27
  366. package/src/components/ActionSheet/ActionSheet.tsx +9 -7
  367. package/src/components/ActionSheet/ActionSheetDropdownDesktop.tsx +1 -1
  368. package/src/components/ActionSheet/Readme.md +1 -0
  369. package/src/components/Alert/Alert.tsx +23 -4
  370. package/src/components/AppRoot/AppRoot.tsx +17 -2
  371. package/src/components/AppRoot/ScrollContext.ts +90 -2
  372. package/src/components/Button/Button.css +2 -0
  373. package/src/components/Calendar/Calendar.tsx +32 -3
  374. package/src/components/CalendarHeader/CalendarHeader.css +3 -0
  375. package/src/components/CalendarHeader/CalendarHeader.tsx +24 -2
  376. package/src/components/CalendarRange/CalendarRange.tsx +6 -0
  377. package/src/components/Card/Card.css +2 -1
  378. package/src/components/Cell/Cell.css +1 -1
  379. package/src/components/CellButton/CellButton.css +1 -1
  380. package/src/components/Checkbox/Checkbox.css +1 -1
  381. package/src/components/ChipsInput/ChipsInput.tsx +2 -0
  382. package/src/components/ConfigProvider/ConfigProvider.tsx +1 -1
  383. package/src/components/CustomSelect/CustomSelect.tsx +6 -3
  384. package/src/components/DateInput/DateInput.tsx +18 -0
  385. package/src/components/DateRangeInput/DateRangeInput.tsx +6 -0
  386. package/src/components/Epic/Epic.tsx +3 -1
  387. package/src/components/FixedLayout/FixedLayout.css +10 -0
  388. package/src/components/FormField/FormField.css +10 -0
  389. package/src/components/FormField/FormField.tsx +21 -1
  390. package/src/components/FormField/Readme.md +85 -19
  391. package/src/components/FormItem/FormItem.css +1 -0
  392. package/src/components/FormLayoutGroup/FormLayoutGroup.css +2 -1
  393. package/src/components/Gradient/Gradient.css +4 -2
  394. package/src/components/HorizontalScroll/HorizontalScroll.tsx +9 -3
  395. package/src/components/Input/Input.tsx +2 -0
  396. package/src/components/ModalCard/ModalCard.css +1 -1
  397. package/src/components/ModalCard/ModalCard.tsx +3 -8
  398. package/src/components/ModalCardBase/ModalCardBase.tsx +6 -10
  399. package/src/components/ModalPage/ModalPage.tsx +6 -9
  400. package/src/components/ModalPageHeader/ModalPageHeader.tsx +2 -6
  401. package/src/components/ModalRoot/ModalRoot.css +3 -2
  402. package/src/components/ModalRoot/ModalRoot.tsx +6 -2
  403. package/src/components/ModalRoot/ModalRootAdaptive.tsx +6 -9
  404. package/src/components/ModalRoot/Readme.md +1 -1
  405. package/src/components/ModalRoot/useModalManager.tsx +4 -1
  406. package/src/components/NativeSelect/NativeSelect.tsx +2 -3
  407. package/src/components/PanelHeader/PanelHeader.css +13 -13
  408. package/src/components/PanelHeader/PanelHeader.tsx +18 -17
  409. package/src/components/PanelHeader/Readme.md +2 -2
  410. package/src/components/PanelHeaderContext/PanelHeaderContext.tsx +3 -0
  411. package/src/components/PopoutRoot/PopoutRoot.tsx +3 -8
  412. package/src/components/Popper/Popper.css +14 -2
  413. package/src/components/Radio/Radio.css +1 -1
  414. package/src/components/RadioGroup/RadioGroup.css +1 -1
  415. package/src/components/Removable/Removable.css +2 -2
  416. package/src/components/RichCell/RichCell.css +1 -1
  417. package/src/components/ScreenSpinner/ScreenSpinner.tsx +3 -0
  418. package/src/components/Select/Select.tsx +1 -1
  419. package/src/components/SelectMimicry/SelectMimicry.tsx +5 -3
  420. package/src/components/SimpleCell/SimpleCell.css +1 -1
  421. package/src/components/Snackbar/Snackbar.css +6 -3
  422. package/src/components/SplitLayout/SplitLayout.css +3 -1
  423. package/src/components/Switch/Readme.md +12 -36
  424. package/src/components/TabbarItem/TabbarItem.tsx +1 -1
  425. package/src/components/Tooltip/Readme.md +35 -47
  426. package/src/components/Tooltip/Tooltip.tsx +2 -2
  427. package/src/components/Typography/Text/Text.tsx +4 -1
  428. package/src/hooks/useAdaptivity.ts +15 -0
  429. package/src/hooks/useCalendar.ts +25 -9
  430. package/src/index.ts +2 -1
  431. package/src/lib/getNavId.ts +1 -1
  432. package/src/lib/platform.ts +34 -0
  433. package/src/styles/bright_light.css +2 -0
  434. package/src/styles/constants.css +3 -2
  435. package/src/styles/space_gray.css +10 -8
  436. package/src/styles/vkcom_dark.css +6 -4
  437. package/src/styles/vkcom_light.css +4 -2
  438. package/src/testing/utils.tsx +5 -1
  439. package/tsconfig.json +1 -0
@@ -1,6 +1,6 @@
1
- body[scheme=vkcom_dark],[scheme=vkcom_dark],.vkuivkcom_dark{--accent:#71aaeb;--accent_alternate:#ffffff;--action_sheet_action_foreground:#ffffff;--action_sheet_separator:rgba(255, 255, 255, 0.16);--activity_indicator_tint:#656565;--attach_picker_tab_active_background:#e1e3e6;--attach_picker_tab_active_icon:#222222;--attach_picker_tab_active_text:#e1e3e6;--attach_picker_tab_inactive_background:#333333;--attach_picker_tab_inactive_icon:#e1e3e6;--attach_picker_tab_inactive_text:#828282;--background_content:#222222;--background_highlighted:rgba(255, 255, 255, 0.12);--background_hover:rgba(255, 255, 255, 0.08);--background_keyboard:#333333;--background_light:#292929;--background_page:#0a0a0a;--background_suggestions:#333333;--background_text_highlighted:rgba(81, 129, 184, 0.2);--button_bot_shadow:#222222;--button_commerce_background:#4bb34b;--button_commerce_foreground:#ffffff;--button_muted_background:#333333;--button_muted_foreground:#e1e3e6;--button_outline_border:#e1e3e6;--button_outline_foreground:#e1e3e6;--button_primary_background:#e1e3e6;--button_primary_foreground:#222222;--button_secondary_background:#555555;--button_secondary_background_highlighted:#656565;--button_secondary_destructive_background:#555555;--button_secondary_destructive_background_highlighted:rgba(85, 85, 85, 0.6);--button_secondary_destructive_foreground:#ff5c5c;--button_secondary_destructive_foreground_highlighted:rgba(
1
+ body[scheme=vkcom_dark],[scheme=vkcom_dark],.vkuivkcom_dark{--accent:#71aaeb;--accent_alternate:#ffffff;--action_sheet_action_foreground:#ffffff;--action_sheet_separator:rgba(255, 255, 255, 0.16);--activity_indicator_tint:#656565;--attach_picker_tab_active_background:#e1e3e6;--attach_picker_tab_active_icon:#222222;--attach_picker_tab_active_text:#e1e3e6;--attach_picker_tab_inactive_background:#333333;--attach_picker_tab_inactive_icon:#e1e3e6;--attach_picker_tab_inactive_text:#828282;--background_content:#222222;--background_highlighted:rgba(255, 255, 255, 0.12);--background_hover:rgba(255, 255, 255, 0.08);--background_keyboard:#333333;--background_light:#292929;--background_page:#141414;--background_suggestions:#333333;--background_text_highlighted:rgba(81, 129, 184, 0.2);--button_bot_shadow:#222222;--button_commerce_background:#4bb34b;--button_commerce_foreground:#ffffff;--button_muted_background:#333333;--button_muted_foreground:#e1e3e6;--button_outline_border:#e1e3e6;--button_outline_foreground:#e1e3e6;--button_primary_background:#e1e3e6;--button_primary_foreground:#222222;--button_secondary_background:#555555;--button_secondary_background_highlighted:#656565;--button_secondary_destructive_background:#555555;--button_secondary_destructive_background_highlighted:rgba(85, 85, 85, 0.6);--button_secondary_destructive_foreground:#ff5c5c;--button_secondary_destructive_foreground_highlighted:rgba(
2
2
  230,
3
3
  70,
4
4
  70,
5
5
  0.16
6
- );--button_secondary_foreground:#e1e3e6;--button_secondary_foreground_highlighted:#e1e3e6;--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#e1e3e6;--cell_button_foreground:#e1e3e6;--content_negative_background:rgba(230, 70, 70, 0.16);--content_placeholder_icon:#b2b2b2;--content_placeholder_text:#b2b2b2;--content_positive_background:rgba(75, 179, 75, 0.16);--content_tint_background:#292929;--content_tint_foreground:#939393;--content_warning_background:rgba(255, 202, 99, 0.16);--control_background:#555555;--control_foreground:#e1e3e6;--control_tint:#222222;--control_tint_muted:#939393;--counter_primary_background:#ffffff;--counter_primary_text:#222222;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#828282;--counter_secondary_text:#222222;--destructive:#ff5c5c;--dynamic_blue:#5181b8;--dynamic_gray:#aeb7c2;--dynamic_green:#4bb34b;--dynamic_orange:#ffa000;--dynamic_purple:#937ff5;--dynamic_raspberry_pink:#f060c0;--dynamic_red:#ff3347;--dynamic_violet:#a393f5;--feed_recommended_friend_promo_background:#6f7985;--field_background:#292929;--field_border:#424242;--field_error_background:rgba(230, 70, 70, 0.16);--field_error_border:#e64646;--field_text_placeholder:#828282;--field_valid_border:#4bb34b;--float_button_background:#555555;--float_button_background_highlighted:#656565;--float_button_border:rgba(0, 0, 0, 0.12);--float_button_foreground:#b2b2b2;--header_alternate_background:#333333;--header_alternate_tab_active_indicator:#e1e3e6;--header_alternate_tab_active_text:#e1e3e6;--header_alternate_tab_inactive_text:#828282;--header_background:#222222;--header_background_before_blur:#0a0a0a;--header_background_before_blur_alternate:#0a0a0a;--header_search_field_background:#424242;--header_search_field_tint:#b2b2b2;--header_tab_active_background:#656565;--header_tab_active_indicator:#5181b8;--header_tab_active_text:#e1e3e6;--header_tab_inactive_text:#828282;--header_text:#e1e3e6;--header_text_alternate:#e1e3e6;--header_text_secondary:rgba(255, 255, 255, 0.64);--header_tint:#e1e3e6;--header_tint_alternate:#ffffff;--icon_alpha_placeholder:#e1e3e6;--icon_medium:#939393;--icon_medium_alpha:rgba(255, 255, 255, 0.48);--icon_name:#b2b2b2;--icon_outline_medium:#b2b2b2;--icon_outline_secondary:#939393;--icon_secondary:#828282;--icon_secondary_alpha:rgba(255, 255, 255, 0.4);--icon_tertiary:#656565;--icon_tertiary_alpha:rgba(255, 255, 255, 0.24);--im_attach_tint:#ffffff;--im_bubble_border_alternate:rgba(0, 0, 0, 0);--im_bubble_border_alternate_highlighted:rgba(0, 0, 0, 0);--im_bubble_button_background:rgba(255, 255, 255, 0.16);--im_bubble_button_background_highlighted:rgba(255, 255, 255, 0.24);--im_bubble_button_foreground:#e1e3e6;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.24);--im_bubble_gift_background:#857250;--im_bubble_gift_background_highlighted:#ab9871;--im_bubble_gift_text:#ffffff;--im_bubble_gift_text_secondary:#e3d3ac;--im_bubble_incoming:#333333;--im_bubble_incoming_alternate:#333333;--im_bubble_incoming_alternate_highlighted:#656565;--im_bubble_incoming_expiring:#262b4d;--im_bubble_incoming_expiring_highlighted:#404980;--im_bubble_incoming_highlighted:#656565;--im_bubble_outgoing:#555555;--im_bubble_outgoing_alternate:#555555;--im_bubble_outgoing_alternate_highlighted:#828282;--im_bubble_outgoing_expiring:#404980;--im_bubble_outgoing_expiring_highlighted:#5965b3;--im_bubble_outgoing_highlighted:#656565;--im_bubble_wallpaper_button_background:#555555;--im_bubble_wallpaper_button_background_highlighted:#828282;--im_bubble_wallpaper_button_foreground:#e1e3e6;--im_bubble_wallpaper_incoming:#333333;--im_bubble_wallpaper_incoming_highlighted:#656565;--im_bubble_wallpaper_outgoing:#555555;--im_bubble_wallpaper_outgoing_highlighted:#656565;--im_forward_line_tint:rgba(255, 255, 255, 0.24);--im_reply_separator:#ffffff;--im_service_message_text:#828282;--im_text_name:#71aaeb;--im_toolbar_separator:#b2b2b2;--im_toolbar_voice_msg_background:#555555;--image_border:rgba(255, 255, 255, 0.08);--input_background:#424242;--input_border:#555555;--landing_background:#222222;--landing_field_background:#292929;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#b2b2b2;--landing_login_button_background:#e1e3e6;--landing_login_button_foreground:#222222;--landing_primary_button_background:#e1e3e6;--landing_primary_button_foreground:#222222;--landing_secondary_button_background:rgba(255, 255, 255, 0.16);--landing_secondary_button_foreground:#ffffff;--landing_snippet_border:rgba(255, 255, 255, 0.16);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#ffffff;--landing_text_primary:#e1e3e6;--landing_text_secondary:#828282;--landing_text_title:#ffffff;--like_text_tint:#ff5c5c;--link_alternate:#939393;--loader_background:#555555;--loader_tint:#828282;--loader_track_fill:#828282;--loader_track_value_fill:#ffffff;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#333333;--modal_card_background:#333333;--modal_card_border:rgba(255, 255, 255, 0.12);--modal_card_header_close:#ffffff;--music_playback_icon:#ffffff;--overlay_status_background:#222222;--overlay_status_foreground:#e1e3e6;--overlay_status_icon:#edeef0;--panel_tab_active_background:#555555;--panel_tab_active_text:#e1e3e6;--panel_tab_inactive_text:#828282;--placeholder_icon_background:rgba(255, 255, 255, 0.08);--placeholder_icon_background_opaque:#292929;--placeholder_icon_foreground_primary:#939393;--placeholder_icon_foreground_secondary:#656565;--placeholder_icon_tint:#ffffff;--poll_option_background:#ffffff;--primary_overlay_badge:rgba(255, 255, 255, 0.4);--search_bar_background:#222222;--search_bar_field_background:#424242;--search_bar_field_tint:#b2b2b2;--search_bar_segmented_control_tint:#939393;--secondary_overlay_badge:rgba(255, 255, 255, 0.16);--segmented_control_bar_background:#222222;--segmented_control_tint:#828282;--selection_off_icon:#656565;--separator_alpha:rgba(255, 255, 255, 0.16);--separator_alternate:#292929;--separator_common:#424242;--skeleton_foreground_from:#292929;--skeleton_foreground_to:#333333;--skeleton_shimmer_from:#222222;--skeleton_shimmer_to:rgba(0, 0, 0, 0);--snippet_background:rgba(255, 255, 255, 0.04);--snippet_border:rgba(255, 255, 255, 0.16);--snippet_icon_tertiary:#656565;--splashscreen_icon:#333333;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0);--stories_create_button_background_from:#424242;--stories_create_button_background_to:#424242;--stories_create_button_foreground:#cccccc;--stories_create_button_icon_background:#555555;--stories_skeleton_loader_background:#555555;--switch_ios_off_border:#333333;--tabbar_active_icon:#ffffff;--tabbar_background:#333333;--tabbar_inactive_icon:#828282;--tabbar_tablet_active_icon:#5181b8;--tabbar_tablet_background:#292929;--tabbar_tablet_inactive_icon:#828282;--tabbar_tablet_text_primary:#e1e3e6;--tabbar_tablet_text_secondary:#828282;--text_action_counter:#b2b2b2;--text_link:#71aaeb;--text_link_highlighted_background:#5181b8;--text_muted:#cccccc;--text_name:#e1e3e6;--text_placeholder:#b2b2b2;--text_primary:#e1e3e6;--text_secondary:#828282;--text_subhead:#939393;--text_tertiary:#656565;--toolbar_attach_background_from:#828282;--toolbar_attach_background_to:#656565;--vk_connect_button_primary_background:#e1e3e6;--vk_connect_button_primary_foreground:#222222;--vk_connect_button_secondary_background:#555555;--vk_connect_button_secondary_foreground:#e1e3e6;--writebar_icon:#e1e3e6}
6
+ );--button_secondary_foreground:#e1e3e6;--button_secondary_foreground_highlighted:#e1e3e6;--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#e1e3e6;--cell_button_foreground:#e1e3e6;--content_negative_background:rgba(230, 70, 70, 0.16);--content_placeholder_icon:#b2b2b2;--content_placeholder_text:#b2b2b2;--content_positive_background:rgba(75, 179, 75, 0.16);--content_tint_background:#333333;--content_tint_foreground:#939393;--content_warning_background:rgba(255, 202, 99, 0.16);--control_background:#555555;--control_background_secondary:#828282;--control_foreground:#e1e3e6;--control_tint:#222222;--control_tint_muted:#939393;--counter_primary_background:#ffffff;--counter_primary_text:#222222;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#828282;--counter_secondary_text:#222222;--destructive:#ff5c5c;--dynamic_blue:#5181b8;--dynamic_gray:#aeb7c2;--dynamic_green:#4bb34b;--dynamic_neon_pink:#f45fff;--dynamic_orange:#ffa000;--dynamic_purple:#937ff5;--dynamic_raspberry_pink:#f060c0;--dynamic_red:#ff3347;--dynamic_violet:#a393f5;--feed_recommended_friend_promo_background:#6f7985;--field_background:#292929;--field_border:#424242;--field_error_background:rgba(230, 70, 70, 0.16);--field_error_border:#e64646;--field_text_placeholder:#828282;--field_valid_border:#4bb34b;--float_button_background:#555555;--float_button_background_highlighted:#656565;--float_button_border:rgba(0, 0, 0, 0.12);--float_button_foreground:#b2b2b2;--header_alternate_background:#333333;--header_alternate_tab_active_indicator:#e1e3e6;--header_alternate_tab_active_text:#e1e3e6;--header_alternate_tab_inactive_text:#828282;--header_background:#222222;--header_background_before_blur:#0a0a0a;--header_background_before_blur_alternate:#0a0a0a;--header_search_field_background:#424242;--header_search_field_tint:#b2b2b2;--header_tab_active_background:#656565;--header_tab_active_indicator:#5181b8;--header_tab_active_text:#e1e3e6;--header_tab_inactive_text:#828282;--header_text:#e1e3e6;--header_text_alternate:#e1e3e6;--header_text_secondary:rgba(255, 255, 255, 0.64);--header_tint:#e1e3e6;--header_tint_alternate:#ffffff;--icon_alpha_placeholder:#e1e3e6;--icon_medium:#939393;--icon_medium_alpha:rgba(255, 255, 255, 0.48);--icon_name:#b2b2b2;--icon_outline_medium:#b2b2b2;--icon_outline_secondary:#939393;--icon_secondary:#828282;--icon_secondary_alpha:rgba(255, 255, 255, 0.4);--icon_tertiary:#656565;--icon_tertiary_alpha:rgba(255, 255, 255, 0.24);--im_attach_tint:#ffffff;--im_bubble_border_alternate:rgba(0, 0, 0, 0);--im_bubble_border_alternate_highlighted:rgba(0, 0, 0, 0);--im_bubble_button_background:rgba(255, 255, 255, 0.16);--im_bubble_button_background_highlighted:rgba(255, 255, 255, 0.24);--im_bubble_button_foreground:#e1e3e6;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.24);--im_bubble_gift_background:#857250;--im_bubble_gift_background_highlighted:#ab9871;--im_bubble_gift_text:#ffffff;--im_bubble_gift_text_secondary:#e3d3ac;--im_bubble_incoming:#333333;--im_bubble_incoming_alternate:#333333;--im_bubble_incoming_alternate_highlighted:#656565;--im_bubble_incoming_expiring:#262b4d;--im_bubble_incoming_expiring_highlighted:#404980;--im_bubble_incoming_highlighted:#656565;--im_bubble_outgoing:#555555;--im_bubble_outgoing_alternate:#555555;--im_bubble_outgoing_alternate_highlighted:#828282;--im_bubble_outgoing_expiring:#404980;--im_bubble_outgoing_expiring_highlighted:#5965b3;--im_bubble_outgoing_highlighted:#656565;--im_bubble_wallpaper_button_background:#555555;--im_bubble_wallpaper_button_background_highlighted:#828282;--im_bubble_wallpaper_button_foreground:#e1e3e6;--im_bubble_wallpaper_incoming:#333333;--im_bubble_wallpaper_incoming_highlighted:#656565;--im_bubble_wallpaper_outgoing:#555555;--im_bubble_wallpaper_outgoing_highlighted:#656565;--im_forward_line_tint:rgba(255, 255, 255, 0.24);--im_reply_separator:#ffffff;--im_service_message_text:#828282;--im_text_name:#71aaeb;--im_toolbar_separator:#b2b2b2;--im_toolbar_voice_msg_background:#555555;--image_border:rgba(255, 255, 255, 0.08);--input_background:#424242;--input_border:#555555;--landing_background:#222222;--landing_field_background:#292929;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#b2b2b2;--landing_login_button_background:#e1e3e6;--landing_login_button_foreground:#222222;--landing_primary_button_background:#e1e3e6;--landing_primary_button_foreground:#222222;--landing_secondary_button_background:rgba(255, 255, 255, 0.16);--landing_secondary_button_foreground:#ffffff;--landing_snippet_border:rgba(255, 255, 255, 0.16);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#ffffff;--landing_text_primary:#e1e3e6;--landing_text_secondary:#828282;--landing_text_title:#ffffff;--like_text_tint:#ff5c5c;--link_alternate:#939393;--loader_background:#555555;--loader_tint:#828282;--loader_track_fill:#828282;--loader_track_value_fill:#ffffff;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#333333;--modal_card_background:#292929;--modal_card_border:rgba(255, 255, 255, 0.12);--modal_card_header_close:#ffffff;--music_playback_icon:#ffffff;--overlay_status_background:#222222;--overlay_status_foreground:#e1e3e6;--overlay_status_icon:#edeef0;--panel_tab_active_background:#555555;--panel_tab_active_text:#e1e3e6;--panel_tab_inactive_text:#828282;--placeholder_icon_background:rgba(255, 255, 255, 0.08);--placeholder_icon_background_opaque:#292929;--placeholder_icon_foreground_primary:#939393;--placeholder_icon_foreground_secondary:#656565;--placeholder_icon_tint:#ffffff;--poll_option_background:#ffffff;--primary_overlay_badge:rgba(255, 255, 255, 0.4);--search_bar_background:#222222;--search_bar_field_background:#424242;--search_bar_field_tint:#b2b2b2;--search_bar_segmented_control_tint:#939393;--secondary_overlay_badge:rgba(255, 255, 255, 0.16);--segmented_control_bar_background:#222222;--segmented_control_tint:#828282;--selection_off_icon:#656565;--separator_alpha:rgba(255, 255, 255, 0.16);--separator_alternate:#333333;--separator_common:#424242;--skeleton_foreground_from:#292929;--skeleton_foreground_to:#333333;--skeleton_shimmer_from:#222222;--skeleton_shimmer_to:rgba(0, 0, 0, 0);--snippet_background:rgba(255, 255, 255, 0.04);--snippet_border:rgba(255, 255, 255, 0.16);--snippet_icon_tertiary:#656565;--splashscreen_icon:#333333;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0);--stories_create_button_background_from:#424242;--stories_create_button_background_to:#424242;--stories_create_button_foreground:#cccccc;--stories_create_button_icon_background:#555555;--stories_skeleton_loader_background:#555555;--switch_ios_off_border:#333333;--tabbar_active_icon:#ffffff;--tabbar_background:#333333;--tabbar_inactive_icon:#828282;--tabbar_tablet_active_icon:#5181b8;--tabbar_tablet_background:#292929;--tabbar_tablet_inactive_icon:#828282;--tabbar_tablet_text_primary:#e1e3e6;--tabbar_tablet_text_secondary:#828282;--text_action_counter:#b2b2b2;--text_link:#71aaeb;--text_link_highlighted_background:#5181b8;--text_muted:#cccccc;--text_name:#e1e3e6;--text_placeholder:#b2b2b2;--text_primary:#e1e3e6;--text_secondary:#828282;--text_subhead:#939393;--text_tertiary:#656565;--toolbar_attach_background_from:#828282;--toolbar_attach_background_to:#656565;--vk_connect_button_primary_background:#e1e3e6;--vk_connect_button_primary_foreground:#222222;--vk_connect_button_secondary_background:#555555;--vk_connect_button_secondary_foreground:#e1e3e6;--writebar_icon:#e1e3e6}
@@ -8,4 +8,4 @@ body[scheme=vkcom_light],[scheme=vkcom_light],.vkuivkcom_light{--accent:#5181b8;
8
8
  70,
9
9
  70,
10
10
  0.12
11
- );--button_secondary_foreground:#55677d;--button_secondary_foreground_highlighted:#55677d;--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#2a5885;--cell_button_foreground:#2a5885;--content_negative_background:#ff5c5c;--content_placeholder_icon:#99a2ad;--content_placeholder_text:#818c99;--content_positive_background:#def0d3;--content_tint_background:#f0f2f5;--content_tint_foreground:#828282;--content_warning_background:#faefd2;--control_background:#edeef0;--control_foreground:#5181b8;--control_tint:#ffffff;--control_tint_muted:#828282;--counter_primary_background:#5181b8;--counter_primary_text:#ffffff;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#99a2ad;--counter_secondary_text:#ffffff;--destructive:#e64646;--dynamic_blue:#5181b8;--dynamic_gray:#aeb7c2;--dynamic_green:#1b7a1b;--dynamic_orange:#ffa000;--dynamic_purple:#735ce6;--dynamic_raspberry_pink:#e03fab;--dynamic_red:#ff3347;--dynamic_violet:#792ec0;--feed_recommended_friend_promo_background:#5181b8;--field_background:#f7f8fa;--field_border:#dce1e6;--field_error_background:#faebeb;--field_error_border:#e64646;--field_text_placeholder:#818c99;--field_valid_border:#4bb34b;--float_button_background:#f7f8fa;--float_button_background_highlighted:#edeef0;--float_button_border:rgba(0, 0, 0, 0.08);--float_button_foreground:#99a2ad;--header_alternate_background:#ffffff;--header_alternate_tab_active_indicator:#5181b8;--header_alternate_tab_active_text:#000000;--header_alternate_tab_inactive_text:#99a2ad;--header_background:#ffffff;--header_background_before_blur:#ffffff;--header_background_before_blur_alternate:#ffffff;--header_search_field_background:#edeef0;--header_search_field_tint:#818c99;--header_tab_active_background:rgba(0, 0, 0, 0);--header_tab_active_indicator:#5181b8;--header_tab_active_text:#000000;--header_tab_inactive_text:#99a2ad;--header_text:#000000;--header_text_alternate:#000000;--header_text_secondary:#818c99;--header_tint:#aeb7c2;--header_tint_alternate:#0077ff;--icon_alpha_placeholder:#ffffff;--icon_medium:#6f7985;--icon_medium_alpha:rgba(0, 0, 0, 0.48);--icon_name:#8fadc8;--icon_outline_medium:#818c99;--icon_outline_secondary:#99a2ad;--icon_secondary:#99a2ad;--icon_secondary_alpha:rgba(0, 0, 0, 0.36);--icon_tertiary:#aeb7c2;--icon_tertiary_alpha:rgba(0, 0, 0, 0.24);--im_attach_tint:#5181b8;--im_bubble_border_alternate:#dce1e6;--im_bubble_border_alternate_highlighted:#cccccc;--im_bubble_button_background:#f7f8fa;--im_bubble_button_background_highlighted:#cccccc;--im_bubble_button_foreground:#000000;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.72);--im_bubble_gift_background:#f4e7c3;--im_bubble_gift_background_highlighted:#e3d3ac;--im_bubble_gift_text:#857250;--im_bubble_gift_text_secondary:#ab9871;--im_bubble_incoming:#edeef0;--im_bubble_incoming_alternate:#ffffff;--im_bubble_incoming_alternate_highlighted:#f7f8fa;--im_bubble_incoming_expiring:#e6e9ff;--im_bubble_incoming_expiring_highlighted:#ccd3ff;--im_bubble_incoming_highlighted:#d3d9de;--im_bubble_outgoing:#cce4ff;--im_bubble_outgoing_alternate:#ffffff;--im_bubble_outgoing_alternate_highlighted:#f0f2f5;--im_bubble_outgoing_expiring:#ccd3ff;--im_bubble_outgoing_expiring_highlighted:#adb8ff;--im_bubble_outgoing_highlighted:#add3ff;--im_bubble_wallpaper_button_background:#f0f2f5;--im_bubble_wallpaper_button_background_highlighted:#e7e8ec;--im_bubble_wallpaper_button_foreground:#000000;--im_bubble_wallpaper_incoming:#ffffff;--im_bubble_wallpaper_incoming_highlighted:#edeef0;--im_bubble_wallpaper_outgoing:#cce4ff;--im_bubble_wallpaper_outgoing_highlighted:#add3ff;--im_forward_line_tint:rgba(0, 20, 51, 0.12);--im_reply_separator:#2a5885;--im_service_message_text:#818c99;--im_text_name:#2a5885;--im_toolbar_separator:#001c3d;--im_toolbar_voice_msg_background:#99a2ad;--image_border:rgba(0, 0, 0, 0.08);--input_background:#ffffff;--input_border:#d3d9de;--landing_background:#ffffff;--landing_field_background:#f7f8fa;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#818c99;--landing_login_button_background:#5181b8;--landing_login_button_foreground:#ffffff;--landing_primary_button_background:#5181b8;--landing_primary_button_foreground:#ffffff;--landing_secondary_button_background:rgba(0, 57, 115, 0.1);--landing_secondary_button_foreground:#5181b8;--landing_snippet_border:rgba(0, 0, 0, 0.12);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#5181b8;--landing_text_primary:#000000;--landing_text_secondary:#818c99;--landing_text_title:#5181b8;--like_text_tint:#ff3347;--link_alternate:#2a5885;--loader_background:#edeef0;--loader_tint:#c5d0db;--loader_track_fill:#d3d9de;--loader_track_value_fill:#5181b8;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#333333;--modal_card_background:#ffffff;--modal_card_border:rgba(0, 0, 0, 0);--modal_card_header_close:#000000;--music_playback_icon:#000000;--overlay_status_background:#edeef0;--overlay_status_foreground:#6f7985;--overlay_status_icon:#818c99;--panel_tab_active_background:#edeef0;--panel_tab_active_text:#4e5966;--panel_tab_inactive_text:#6f7985;--placeholder_icon_background:rgba(0, 28, 61, 0.08);--placeholder_icon_background_opaque:#f0f2f5;--placeholder_icon_foreground_primary:#99a2ad;--placeholder_icon_foreground_secondary:#aeb7c2;--placeholder_icon_tint:#1d3a5c;--poll_option_background:#5181b8;--primary_overlay_badge:rgba(0, 0, 0, 0.56);--search_bar_background:rgba(0, 0, 0, 0);--search_bar_field_background:#edeef0;--search_bar_field_tint:#818c99;--search_bar_segmented_control_tint:#818c99;--secondary_overlay_badge:rgba(0, 0, 0, 0.24);--segmented_control_bar_background:rgba(0, 0, 0, 0);--segmented_control_tint:#99a2ad;--selection_off_icon:#c5d0db;--separator_alpha:rgba(0, 0, 0, 0.12);--separator_alternate:#e7e8ec;--separator_common:#dce1e6;--skeleton_foreground_from:#f0f2f5;--skeleton_foreground_to:#e7e8ec;--skeleton_shimmer_from:#ffffff;--skeleton_shimmer_to:rgba(255, 255, 255, 0);--snippet_background:#ffffff;--snippet_border:rgba(0, 0, 0, 0.12);--snippet_icon_tertiary:#aeb7c2;--splashscreen_icon:#dce1e6;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0.24);--stories_create_button_background_from:#f0f2f5;--stories_create_button_background_to:#dce1e6;--stories_create_button_foreground:#6f7985;--stories_create_button_icon_background:#ffffff;--stories_skeleton_loader_background:#cccccc;--switch_ios_off_border:#dce1e6;--tabbar_active_icon:#5181b8;--tabbar_background:#f7f8fa;--tabbar_inactive_icon:#99a2ad;--tabbar_tablet_active_icon:#5181b8;--tabbar_tablet_background:#f7f8fa;--tabbar_tablet_inactive_icon:#99a2ad;--tabbar_tablet_text_primary:#000000;--tabbar_tablet_text_secondary:#818c99;--text_action_counter:#818c99;--text_link:#2a5885;--text_link_highlighted_background:#000000;--text_muted:#333333;--text_name:#2a5885;--text_placeholder:#818c99;--text_primary:#000000;--text_secondary:#818c99;--text_subhead:#626d7a;--text_tertiary:#99a2ad;--toolbar_attach_background_from:#dce1e6;--toolbar_attach_background_to:#aeb7c2;--vk_connect_button_primary_background:#222222;--vk_connect_button_primary_foreground:#ffffff;--vk_connect_button_secondary_background:#f5f5f5;--vk_connect_button_secondary_foreground:#222222;--writebar_icon:#818c99}
11
+ );--button_secondary_foreground:#55677d;--button_secondary_foreground_highlighted:#55677d;--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#2a5885;--cell_button_foreground:#2a5885;--content_negative_background:#faebeb;--content_placeholder_icon:#99a2ad;--content_placeholder_text:#818c99;--content_positive_background:#def0d3;--content_tint_background:#f0f2f5;--content_tint_foreground:#828282;--content_warning_background:#faefd2;--control_background:#edeef0;--control_background_secondary:#ffffff;--control_foreground:#5181b8;--control_tint:#ffffff;--control_tint_muted:#828282;--counter_primary_background:#5181b8;--counter_primary_text:#ffffff;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#99a2ad;--counter_secondary_text:#ffffff;--destructive:#e64646;--dynamic_blue:#5181b8;--dynamic_gray:#aeb7c2;--dynamic_green:#1b7a1b;--dynamic_neon_pink:#f45fff;--dynamic_orange:#ffa000;--dynamic_purple:#735ce6;--dynamic_raspberry_pink:#e03fab;--dynamic_red:#ff3347;--dynamic_violet:#792ec0;--feed_recommended_friend_promo_background:#5181b8;--field_background:#f7f8fa;--field_border:#dce1e6;--field_error_background:#faebeb;--field_error_border:#e64646;--field_text_placeholder:#818c99;--field_valid_border:#4bb34b;--float_button_background:#f7f8fa;--float_button_background_highlighted:#edeef0;--float_button_border:rgba(0, 0, 0, 0.08);--float_button_foreground:#99a2ad;--header_alternate_background:#ffffff;--header_alternate_tab_active_indicator:#5181b8;--header_alternate_tab_active_text:#000000;--header_alternate_tab_inactive_text:#99a2ad;--header_background:#ffffff;--header_background_before_blur:#ffffff;--header_background_before_blur_alternate:#ffffff;--header_search_field_background:#edeef0;--header_search_field_tint:#818c99;--header_tab_active_background:rgba(0, 0, 0, 0);--header_tab_active_indicator:#5181b8;--header_tab_active_text:#000000;--header_tab_inactive_text:#99a2ad;--header_text:#000000;--header_text_alternate:#000000;--header_text_secondary:#818c99;--header_tint:#aeb7c2;--header_tint_alternate:#0077ff;--icon_alpha_placeholder:#ffffff;--icon_medium:#6f7985;--icon_medium_alpha:rgba(0, 0, 0, 0.48);--icon_name:#8fadc8;--icon_outline_medium:#818c99;--icon_outline_secondary:#99a2ad;--icon_secondary:#99a2ad;--icon_secondary_alpha:rgba(0, 0, 0, 0.36);--icon_tertiary:#aeb7c2;--icon_tertiary_alpha:rgba(0, 0, 0, 0.24);--im_attach_tint:#5181b8;--im_bubble_border_alternate:#dce1e6;--im_bubble_border_alternate_highlighted:#cccccc;--im_bubble_button_background:#f7f8fa;--im_bubble_button_background_highlighted:#cccccc;--im_bubble_button_foreground:#000000;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.72);--im_bubble_gift_background:#f4e7c3;--im_bubble_gift_background_highlighted:#e3d3ac;--im_bubble_gift_text:#857250;--im_bubble_gift_text_secondary:#ab9871;--im_bubble_incoming:#edeef0;--im_bubble_incoming_alternate:#ffffff;--im_bubble_incoming_alternate_highlighted:#f7f8fa;--im_bubble_incoming_expiring:#e6e9ff;--im_bubble_incoming_expiring_highlighted:#ccd3ff;--im_bubble_incoming_highlighted:#d3d9de;--im_bubble_outgoing:#cce4ff;--im_bubble_outgoing_alternate:#ffffff;--im_bubble_outgoing_alternate_highlighted:#f0f2f5;--im_bubble_outgoing_expiring:#ccd3ff;--im_bubble_outgoing_expiring_highlighted:#adb8ff;--im_bubble_outgoing_highlighted:#add3ff;--im_bubble_wallpaper_button_background:#f0f2f5;--im_bubble_wallpaper_button_background_highlighted:#e7e8ec;--im_bubble_wallpaper_button_foreground:#000000;--im_bubble_wallpaper_incoming:#ffffff;--im_bubble_wallpaper_incoming_highlighted:#edeef0;--im_bubble_wallpaper_outgoing:#cce4ff;--im_bubble_wallpaper_outgoing_highlighted:#add3ff;--im_forward_line_tint:rgba(0, 20, 51, 0.12);--im_reply_separator:#2a5885;--im_service_message_text:#818c99;--im_text_name:#2a5885;--im_toolbar_separator:#001c3d;--im_toolbar_voice_msg_background:#99a2ad;--image_border:rgba(0, 0, 0, 0.08);--input_background:#ffffff;--input_border:#d3d9de;--landing_background:#ffffff;--landing_field_background:#f7f8fa;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#818c99;--landing_login_button_background:#5181b8;--landing_login_button_foreground:#ffffff;--landing_primary_button_background:#5181b8;--landing_primary_button_foreground:#ffffff;--landing_secondary_button_background:rgba(0, 57, 115, 0.1);--landing_secondary_button_foreground:#5181b8;--landing_snippet_border:rgba(0, 0, 0, 0.12);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#5181b8;--landing_text_primary:#000000;--landing_text_secondary:#818c99;--landing_text_title:#5181b8;--like_text_tint:#ff3347;--link_alternate:#2a5885;--loader_background:#edeef0;--loader_tint:#c5d0db;--loader_track_fill:#d3d9de;--loader_track_value_fill:#5181b8;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#333333;--modal_card_background:#ffffff;--modal_card_border:rgba(0, 0, 0, 0);--modal_card_header_close:#000000;--music_playback_icon:#000000;--overlay_status_background:#edeef0;--overlay_status_foreground:#6f7985;--overlay_status_icon:#818c99;--panel_tab_active_background:#edeef0;--panel_tab_active_text:#4e5966;--panel_tab_inactive_text:#6f7985;--placeholder_icon_background:rgba(0, 28, 61, 0.08);--placeholder_icon_background_opaque:#f0f2f5;--placeholder_icon_foreground_primary:#99a2ad;--placeholder_icon_foreground_secondary:#aeb7c2;--placeholder_icon_tint:#1d3a5c;--poll_option_background:#5181b8;--primary_overlay_badge:rgba(0, 0, 0, 0.56);--search_bar_background:rgba(0, 0, 0, 0);--search_bar_field_background:#edeef0;--search_bar_field_tint:#818c99;--search_bar_segmented_control_tint:#818c99;--secondary_overlay_badge:rgba(0, 0, 0, 0.24);--segmented_control_bar_background:rgba(0, 0, 0, 0);--segmented_control_tint:#99a2ad;--selection_off_icon:#c5d0db;--separator_alpha:rgba(0, 0, 0, 0.12);--separator_alternate:#e7e8ec;--separator_common:#dce1e6;--skeleton_foreground_from:#f0f2f5;--skeleton_foreground_to:#edeef0;--skeleton_shimmer_from:#ffffff;--skeleton_shimmer_to:rgba(255, 255, 255, 0);--snippet_background:#ffffff;--snippet_border:rgba(0, 0, 0, 0.12);--snippet_icon_tertiary:#aeb7c2;--splashscreen_icon:#dce1e6;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0.24);--stories_create_button_background_from:#f0f2f5;--stories_create_button_background_to:#dce1e6;--stories_create_button_foreground:#6f7985;--stories_create_button_icon_background:#ffffff;--stories_skeleton_loader_background:#cccccc;--switch_ios_off_border:#dce1e6;--tabbar_active_icon:#5181b8;--tabbar_background:#f7f8fa;--tabbar_inactive_icon:#99a2ad;--tabbar_tablet_active_icon:#5181b8;--tabbar_tablet_background:#f7f8fa;--tabbar_tablet_inactive_icon:#99a2ad;--tabbar_tablet_text_primary:#000000;--tabbar_tablet_text_secondary:#818c99;--text_action_counter:#818c99;--text_link:#2a5885;--text_link_highlighted_background:#000000;--text_muted:#333333;--text_name:#2a5885;--text_placeholder:#818c99;--text_primary:#000000;--text_secondary:#818c99;--text_subhead:#626d7a;--text_tertiary:#99a2ad;--toolbar_attach_background_from:#dce1e6;--toolbar_attach_background_to:#aeb7c2;--vk_connect_button_primary_background:#222222;--vk_connect_button_primary_foreground:#ffffff;--vk_connect_button_secondary_background:#f5f5f5;--vk_connect_button_secondary_foreground:#222222;--writebar_icon:#818c99}
@@ -1,3 +1,3 @@
1
- :root,body[scheme=bright_light],[scheme=bright_light],.vkuibright_light{--accent:#2688eb;--accent_alternate:#0077ff;--action_sheet_action_foreground:#2688eb;--action_sheet_separator:rgba(0, 0, 0, 0.12);--activity_indicator_tint:#aeb7c2;--attach_picker_tab_active_background:#2d81e0;--attach_picker_tab_active_icon:#ffffff;--attach_picker_tab_active_text:#2d81e0;--attach_picker_tab_inactive_background:#f2f3f5;--attach_picker_tab_inactive_icon:#818c99;--attach_picker_tab_inactive_text:#818c99;--background_content:#ffffff;--background_highlighted:rgba(0, 0, 0, 0.08);--background_hover:rgba(0, 0, 0, 0.04);--background_keyboard:#e1e3e6;--background_light:#f9f9f9;--background_page:#ebedf0;--background_suggestions:#ffffff;--background_text_highlighted:rgba(38, 136, 235, 0.2);--button_bot_shadow:#c4c8cc;--button_commerce_background:#4bb34b;--button_commerce_foreground:#ffffff;--button_muted_background:#f2f3f5;--button_muted_foreground:#2688eb;--button_outline_border:#2688eb;--button_outline_foreground:#2688eb;--button_primary_background:#2d81e0;--button_primary_foreground:#ffffff;--button_secondary_background:rgba(0, 28, 61, 0.05);--button_secondary_background_highlighted:rgba(0, 28, 61, 0.03);--button_secondary_destructive_background:rgba(0, 28, 61, 0.05);--button_secondary_destructive_background_highlighted:rgba(0, 28, 61, 0.03);--button_secondary_destructive_foreground:#e64646;--button_secondary_destructive_foreground_highlighted:rgba(230, 70, 70, 0.6);--button_secondary_foreground:#2688eb;--button_secondary_foreground_highlighted:rgba(38, 136, 235, 0.6);--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#2d81e0;--cell_button_foreground:#2688eb;--content_placeholder_icon:#99a2ad;--content_placeholder_text:#818c99;--content_positive_background:rgba(75, 179, 75, 0.15);--content_tint_background:#f5f5f5;--content_tint_foreground:#7f8285;--content_warning_background:#fff2d6;--control_background:#ebedf0;--control_foreground:#5181b8;--control_tint:#ffffff;--control_tint_muted:#76787a;--counter_primary_background:#2688eb;--counter_primary_text:#ffffff;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#aeb7c2;--counter_secondary_text:#ffffff;--destructive:#e64646;--dynamic_blue:#2688eb;--dynamic_gray:#a3adb8;--dynamic_green:#4bb34b;--dynamic_orange:#ffa000;--dynamic_purple:#735ce6;--dynamic_raspberry_pink:#e03fab;--dynamic_red:#ff3347;--dynamic_violet:#792ec0;--feed_recommended_friend_promo_background:#528bcc;--field_background:#f2f3f5;--field_border:rgba(0, 0, 0, 0.12);--field_error_background:#faebeb;--field_error_border:#e64646;--field_text_placeholder:#818c99;--field_valid_border:#4bb34b;--float_button_background:#f5f5f5;--float_button_background_highlighted:#ebedf0;--float_button_border:rgba(0, 0, 0, 0.05);--float_button_foreground:#99a2ad;--header_alternate_background:#ffffff;--header_alternate_tab_active_indicator:#2688eb;--header_alternate_tab_active_text:#000000;--header_alternate_tab_inactive_text:#99a2ad;--header_background:#ffffff;--header_background_before_blur:#ffffff;--header_background_before_blur_alternate:#ffffff;--header_search_field_background:#ebedf0;--header_search_field_tint:#818c99;--header_tab_active_background:rgba(0, 0, 0, 0);--header_tab_active_indicator:#2688eb;--header_tab_active_text:#000000;--header_tab_inactive_text:#99a2ad;--header_text:#000000;--header_text_alternate:#000000;--header_text_secondary:#818c99;--header_tint:#2688eb;--header_tint_alternate:#2688eb;--icon_alpha_placeholder:#ffffff;--icon_medium:#818c99;--icon_medium_alpha:rgba(0, 0, 0, 0.48);--icon_name:#74a2d6;--icon_outline_medium:#818c99;--icon_outline_secondary:#99a2ad;--icon_secondary:#99a2ad;--icon_secondary_alpha:rgba(0, 0, 0, 0.36);--icon_tertiary:#b8c1cc;--icon_tertiary_alpha:rgba(0, 0, 0, 0.24);--im_attach_tint:#2d81e0;--im_bubble_border_alternate:#e1e3e6;--im_bubble_border_alternate_highlighted:#d7d8d9;--im_bubble_button_background:#f9f9f9;--im_bubble_button_background_highlighted:#d7d8d9;--im_bubble_button_foreground:#000000;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.6);--im_bubble_gift_background:#f4e7c3;--im_bubble_gift_background_highlighted:#e3d3ac;--im_bubble_gift_text:#857250;--im_bubble_gift_text_secondary:#ab9871;--im_bubble_incoming:#ebedf0;--im_bubble_incoming_alternate:#ffffff;--im_bubble_incoming_alternate_highlighted:#f9f9f9;--im_bubble_incoming_expiring:#e6e9ff;--im_bubble_incoming_expiring_highlighted:#ccd3ff;--im_bubble_incoming_highlighted:#d7d8d9;--im_bubble_outgoing:#cce4ff;--im_bubble_outgoing_alternate:#ffffff;--im_bubble_outgoing_alternate_highlighted:#f9f9f9;--im_bubble_outgoing_expiring:#ccd3ff;--im_bubble_outgoing_expiring_highlighted:#adb8ff;--im_bubble_outgoing_highlighted:#add3ff;--im_bubble_wallpaper_button_background:#f2f3f5;--im_bubble_wallpaper_button_background_highlighted:#e1e3e6;--im_bubble_wallpaper_button_foreground:#000000;--im_bubble_wallpaper_incoming:#ffffff;--im_bubble_wallpaper_incoming_highlighted:#ebedf0;--im_bubble_wallpaper_outgoing:#cce4ff;--im_bubble_wallpaper_outgoing_highlighted:#add3ff;--im_forward_line_tint:rgba(69, 103, 143, 0.24);--im_reply_separator:#2d81e0;--im_service_message_text:#818c99;--im_text_name:#2d81e0;--im_toolbar_separator:#001c3d;--im_toolbar_voice_msg_background:#99a2ad;--image_border:rgba(0, 0, 0, 0.08);--input_background:#f2f3f5;--input_border:#e1e3e6;--landing_background:#ffffff;--landing_field_background:#f2f3f5;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#818c99;--landing_login_button_background:#2d81e0;--landing_login_button_foreground:#ffffff;--landing_primary_button_background:#2d81e0;--landing_primary_button_foreground:#ffffff;--landing_secondary_button_background:rgba(0, 57, 115, 0.1);--landing_secondary_button_foreground:#2688eb;--landing_snippet_border:rgba(0, 0, 0, 0.15);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#2d81e0;--landing_text_primary:#000000;--landing_text_secondary:#818c99;--landing_text_title:#2d81e0;--like_text_tint:#ff3347;--link_alternate:#2d81e0;--loader_background:#ebedf0;--loader_tint:#76787a;--loader_track_fill:#e1e3e6;--loader_track_value_fill:#528bcc;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#2c2d2e;--modal_card_background:#ffffff;--modal_card_border:rgba(0, 0, 0, 0);--modal_card_header_close:#000000;--music_playback_icon:#000000;--overlay_status_background:#ebedf0;--overlay_status_foreground:#6d7885;--overlay_status_icon:#818c99;--panel_tab_active_background:#ebedf0;--panel_tab_active_text:#5d5f61;--panel_tab_inactive_text:#76787a;--placeholder_icon_background:rgba(0, 28, 61, 0.08);--placeholder_icon_background_opaque:#f2f3f5;--placeholder_icon_foreground_primary:#99a2ad;--placeholder_icon_foreground_secondary:#aeb7c2;--placeholder_icon_tint:#001c3d;--poll_option_background:#45678f;--primary_overlay_badge:rgba(0, 0, 0, 0.6);--search_bar_background:#ffffff;--search_bar_field_background:#ebedf0;--search_bar_field_tint:#818c99;--search_bar_segmented_control_tint:#818c99;--secondary_overlay_badge:rgba(0, 0, 0, 0.24);--segmented_control_bar_background:rgba(0, 0, 0, 0);--segmented_control_tint:#99a2ad;--selection_off_icon:#b8c1cc;--separator_alpha:rgba(0, 0, 0, 0.12);--separator_alternate:#e1e3e6;--separator_common:#d7d8d9;--skeleton_foreground_from:#f5f5f5;--skeleton_foreground_to:#e1e3e6;--skeleton_shimmer_from:#ffffff;--skeleton_shimmer_to:#ffffff;--snippet_background:#ffffff;--snippet_border:rgba(0, 0, 0, 0.15);--snippet_icon_tertiary:#c4c8cc;--splashscreen_icon:#e1e3e6;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0.2);--stories_create_button_background_from:#f2f3f5;--stories_create_button_background_to:#e1e3e6;--stories_create_button_foreground:#6d7885;--stories_create_button_icon_background:#ffffff;--stories_skeleton_loader_background:#c4c8cc;--switch_ios_off_border:#e1e3e6;--tabbar_active_icon:#2975cc;--tabbar_background:#f9f9f9;--tabbar_inactive_icon:#99a2ad;--tabbar_tablet_active_icon:#2975cc;--tabbar_tablet_background:#f9f9f9;--tabbar_tablet_inactive_icon:#99a2ad;--tabbar_tablet_text_primary:#000000;--tabbar_tablet_text_secondary:#909499;--text_action_counter:#818c99;--text_link:#2d81e0;--text_link_highlighted_background:#000000;--text_muted:#2c2d2e;--text_name:#2d81e0;--text_placeholder:#818c99;--text_primary:#000000;--text_secondary:#818c99;--text_subhead:#6d7885;--text_tertiary:#99a2ad;--toolbar_attach_background_from:#b8c1cc;--toolbar_attach_background_to:#a3adb8;--vk_connect_button_primary_background:#19191a;--vk_connect_button_primary_foreground:#ffffff;--vk_connect_button_secondary_background:#f2f3f5;--vk_connect_button_secondary_foreground:#19191a;--writebar_icon:#2688eb}
1
+ :root,body[scheme=bright_light],[scheme=bright_light],.vkuibright_light{--accent:#2688eb;--accent_alternate:#0077ff;--action_sheet_action_foreground:#2688eb;--action_sheet_separator:rgba(0, 0, 0, 0.12);--activity_indicator_tint:#aeb7c2;--attach_picker_tab_active_background:#2d81e0;--attach_picker_tab_active_icon:#ffffff;--attach_picker_tab_active_text:#2d81e0;--attach_picker_tab_inactive_background:#f2f3f5;--attach_picker_tab_inactive_icon:#818c99;--attach_picker_tab_inactive_text:#818c99;--background_content:#ffffff;--background_highlighted:rgba(0, 0, 0, 0.08);--background_hover:rgba(0, 0, 0, 0.04);--background_keyboard:#e1e3e6;--background_light:#f9f9f9;--background_page:#ebedf0;--background_suggestions:#ffffff;--background_text_highlighted:rgba(38, 136, 235, 0.2);--button_bot_shadow:#c4c8cc;--button_commerce_background:#4bb34b;--button_commerce_foreground:#ffffff;--button_muted_background:#f2f3f5;--button_muted_foreground:#2688eb;--button_outline_border:#2688eb;--button_outline_foreground:#2688eb;--button_primary_background:#2d81e0;--button_primary_foreground:#ffffff;--button_secondary_background:rgba(0, 28, 61, 0.05);--button_secondary_background_highlighted:rgba(0, 28, 61, 0.03);--button_secondary_destructive_background:rgba(0, 28, 61, 0.05);--button_secondary_destructive_background_highlighted:rgba(0, 28, 61, 0.03);--button_secondary_destructive_foreground:#e64646;--button_secondary_destructive_foreground_highlighted:rgba(230, 70, 70, 0.6);--button_secondary_foreground:#2688eb;--button_secondary_foreground_highlighted:rgba(38, 136, 235, 0.6);--button_tertiary_background:rgba(0, 0, 0, 0);--button_tertiary_foreground:#2d81e0;--cell_button_foreground:#2688eb;--content_placeholder_icon:#99a2ad;--content_placeholder_text:#818c99;--content_positive_background:rgba(75, 179, 75, 0.15);--content_tint_background:#f5f5f5;--content_tint_foreground:#7f8285;--content_warning_background:#fff2d6;--control_background:#ebedf0;--control_background_secondary:#ffffff;--control_foreground:#5181b8;--control_tint:#ffffff;--control_tint_muted:#76787a;--counter_primary_background:#2688eb;--counter_primary_text:#ffffff;--counter_prominent_background:#ff3347;--counter_prominent_text:#ffffff;--counter_secondary_background:#aeb7c2;--counter_secondary_text:#ffffff;--destructive:#e64646;--dynamic_blue:#2688eb;--dynamic_gray:#a3adb8;--dynamic_green:#4bb34b;--dynamic_neon_pink:#f45fff;--dynamic_orange:#ffa000;--dynamic_purple:#735ce6;--dynamic_raspberry_pink:#e03fab;--dynamic_red:#ff3347;--dynamic_violet:#792ec0;--feed_recommended_friend_promo_background:#528bcc;--field_background:#f2f3f5;--field_border:rgba(0, 0, 0, 0.12);--field_error_background:#faebeb;--field_error_border:#e64646;--field_text_placeholder:#818c99;--field_valid_border:#4bb34b;--float_button_background:#f5f5f5;--float_button_background_highlighted:#ebedf0;--float_button_border:rgba(0, 0, 0, 0.05);--float_button_foreground:#99a2ad;--header_alternate_background:#ffffff;--header_alternate_tab_active_indicator:#2688eb;--header_alternate_tab_active_text:#000000;--header_alternate_tab_inactive_text:#99a2ad;--header_background:#ffffff;--header_background_before_blur:#ffffff;--header_background_before_blur_alternate:#ffffff;--header_search_field_background:#ebedf0;--header_search_field_tint:#818c99;--header_tab_active_background:rgba(0, 0, 0, 0);--header_tab_active_indicator:#2688eb;--header_tab_active_text:#000000;--header_tab_inactive_text:#99a2ad;--header_text:#000000;--header_text_alternate:#000000;--header_text_secondary:#818c99;--header_tint:#2688eb;--header_tint_alternate:#2688eb;--icon_alpha_placeholder:#ffffff;--icon_medium:#818c99;--icon_medium_alpha:rgba(0, 0, 0, 0.48);--icon_name:#74a2d6;--icon_outline_medium:#818c99;--icon_outline_secondary:#99a2ad;--icon_secondary:#99a2ad;--icon_secondary_alpha:rgba(0, 0, 0, 0.36);--icon_tertiary:#b8c1cc;--icon_tertiary_alpha:rgba(0, 0, 0, 0.24);--im_attach_tint:#2d81e0;--im_bubble_border_alternate:#e1e3e6;--im_bubble_border_alternate_highlighted:#d7d8d9;--im_bubble_button_background:#f9f9f9;--im_bubble_button_background_highlighted:#d7d8d9;--im_bubble_button_foreground:#000000;--im_bubble_button_outgoing_background:rgba(255, 255, 255, 0.6);--im_bubble_gift_background:#f4e7c3;--im_bubble_gift_background_highlighted:#e3d3ac;--im_bubble_gift_text:#857250;--im_bubble_gift_text_secondary:#ab9871;--im_bubble_incoming:#ebedf0;--im_bubble_incoming_alternate:#ffffff;--im_bubble_incoming_alternate_highlighted:#f9f9f9;--im_bubble_incoming_expiring:#e6e9ff;--im_bubble_incoming_expiring_highlighted:#ccd3ff;--im_bubble_incoming_highlighted:#d7d8d9;--im_bubble_outgoing:#cce4ff;--im_bubble_outgoing_alternate:#ffffff;--im_bubble_outgoing_alternate_highlighted:#f9f9f9;--im_bubble_outgoing_expiring:#ccd3ff;--im_bubble_outgoing_expiring_highlighted:#adb8ff;--im_bubble_outgoing_highlighted:#add3ff;--im_bubble_wallpaper_button_background:#f2f3f5;--im_bubble_wallpaper_button_background_highlighted:#e1e3e6;--im_bubble_wallpaper_button_foreground:#000000;--im_bubble_wallpaper_incoming:#ffffff;--im_bubble_wallpaper_incoming_highlighted:#ebedf0;--im_bubble_wallpaper_outgoing:#cce4ff;--im_bubble_wallpaper_outgoing_highlighted:#add3ff;--im_forward_line_tint:rgba(69, 103, 143, 0.24);--im_reply_separator:#2d81e0;--im_service_message_text:#818c99;--im_text_name:#2d81e0;--im_toolbar_separator:#001c3d;--im_toolbar_voice_msg_background:#99a2ad;--image_border:rgba(0, 0, 0, 0.08);--input_background:#f2f3f5;--input_border:#e1e3e6;--landing_background:#ffffff;--landing_field_background:#f2f3f5;--landing_field_border:rgba(0, 0, 0, 0);--landing_field_placeholder:#818c99;--landing_login_button_background:#2d81e0;--landing_login_button_foreground:#ffffff;--landing_primary_button_background:#2d81e0;--landing_primary_button_foreground:#ffffff;--landing_secondary_button_background:rgba(0, 57, 115, 0.1);--landing_secondary_button_foreground:#2688eb;--landing_snippet_border:rgba(0, 0, 0, 0.15);--landing_tertiary_button_background:rgba(0, 0, 0, 0);--landing_tertiary_button_foreground:#2d81e0;--landing_text_primary:#000000;--landing_text_secondary:#818c99;--landing_text_title:#2d81e0;--like_text_tint:#ff3347;--link_alternate:#2d81e0;--loader_background:#ebedf0;--loader_tint:#76787a;--loader_track_fill:#e1e3e6;--loader_track_value_fill:#528bcc;--media_overlay_button_background:#ffffff;--media_overlay_button_foreground:#2c2d2e;--modal_card_background:#ffffff;--modal_card_border:rgba(0, 0, 0, 0);--modal_card_header_close:#000000;--music_playback_icon:#000000;--overlay_status_background:#ebedf0;--overlay_status_foreground:#6d7885;--overlay_status_icon:#818c99;--panel_tab_active_background:#ebedf0;--panel_tab_active_text:#5d5f61;--panel_tab_inactive_text:#76787a;--placeholder_icon_background:rgba(0, 28, 61, 0.08);--placeholder_icon_background_opaque:#f2f3f5;--placeholder_icon_foreground_primary:#99a2ad;--placeholder_icon_foreground_secondary:#aeb7c2;--placeholder_icon_tint:#001c3d;--poll_option_background:#45678f;--primary_overlay_badge:rgba(0, 0, 0, 0.6);--search_bar_background:#ffffff;--search_bar_field_background:#ebedf0;--search_bar_field_tint:#818c99;--search_bar_segmented_control_tint:#818c99;--secondary_overlay_badge:rgba(0, 0, 0, 0.24);--segmented_control_bar_background:rgba(0, 0, 0, 0);--segmented_control_tint:#99a2ad;--selection_off_icon:#b8c1cc;--separator_alpha:rgba(0, 0, 0, 0.12);--separator_alternate:#e1e3e6;--separator_common:#d7d8d9;--skeleton_foreground_from:#f5f5f5;--skeleton_foreground_to:#e1e3e6;--skeleton_shimmer_from:#ffffff;--skeleton_shimmer_to:#ffffff;--snippet_background:#ffffff;--snippet_border:rgba(0, 0, 0, 0.15);--snippet_icon_tertiary:#c4c8cc;--splashscreen_icon:#e1e3e6;--statusbar_alternate_legacy_background:rgba(0, 0, 0, 0.2);--stories_create_button_background_from:#f2f3f5;--stories_create_button_background_to:#e1e3e6;--stories_create_button_foreground:#6d7885;--stories_create_button_icon_background:#ffffff;--stories_skeleton_loader_background:#c4c8cc;--switch_ios_off_border:#e1e3e6;--tabbar_active_icon:#2975cc;--tabbar_background:#f9f9f9;--tabbar_inactive_icon:#99a2ad;--tabbar_tablet_active_icon:#2975cc;--tabbar_tablet_background:#f9f9f9;--tabbar_tablet_inactive_icon:#99a2ad;--tabbar_tablet_text_primary:#000000;--tabbar_tablet_text_secondary:#909499;--text_action_counter:#818c99;--text_link:#2d81e0;--text_link_highlighted_background:#000000;--text_muted:#2c2d2e;--text_name:#2d81e0;--text_placeholder:#818c99;--text_primary:#000000;--text_secondary:#818c99;--text_subhead:#6d7885;--text_tertiary:#99a2ad;--toolbar_attach_background_from:#b8c1cc;--toolbar_attach_background_to:#a3adb8;--vk_connect_button_primary_background:#19191a;--vk_connect_button_primary_foreground:#ffffff;--vk_connect_button_secondary_background:#f2f3f5;--vk_connect_button_secondary_foreground:#19191a;--writebar_icon:#2688eb}
2
2
 
3
3
  /*# sourceMappingURL=default_scheme.css.map*/
@@ -1 +1 @@
1
- {"version":3,"file":"default_scheme.css","mappings":"AAIA,wEAIE,gBAAiB,CACjB,0BAA2B,CAC3B,wCAAyC,CACzC,4CAA6C,CAC7C,iCAAkC,CAClC,6CAA8C,CAC9C,uCAAwC,CACxC,uCAAwC,CACxC,+CAAgD,CAChD,yCAA0C,CAC1C,yCAA0C,CAC1C,4BAA6B,CAC7B,4CAA6C,CAC7C,sCAAuC,CACvC,6BAA8B,CAC9B,0BAA2B,CAC3B,yBAA0B,CAC1B,gCAAiC,CACjC,qDAAsD,CACtD,2BAA4B,CAC5B,oCAAqC,CACrC,oCAAqC,CACrC,iCAAkC,CAClC,iCAAkC,CAClC,+BAAgC,CAChC,mCAAoC,CACpC,mCAAoC,CACpC,mCAAoC,CACpC,mDAAoD,CACpD,+DAA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jC,+BAAgC,CAChC,6BAA8B,CAC9B,4BAA6B,CAC7B,oCAAqC,CACrC,+BAAgC,CAChC,2BAA4B,CAC5B,0DAA2D,CAC3D,+CAAgD,CAChD,6CAA8C,CAC9C,0CAA2C,CAC3C,+CAAgD,CAChD,4CAA6C,CAC7C,+BAAgC,CAChC,4BAA6B,CAC7B,2BAA4B,CAC5B,8BAA+B,CAC/B,mCAAoC,CACpC,kCAAmC,CACnC,qCAAsC,CACtC,oCAAqC,CACrC,sCAAuC,CACvC,6BAA8B,CAC9B,mBAAoB,CACpB,0CAA2C,CAC3C,oBAAqB,CACrB,mBAAoB,CACpB,0BAA2B,CAC3B,sBAAuB,CACvB,wBAAyB,CACzB,sBAAuB,CACvB,uBAAwB,CACxB,wCAAyC,CACzC,sCAAuC,CACvC,8CAA+C,CAC/C,8CAA+C,CAC/C,gDAAiD,CACjD,gDAAiD,CACjD,uBACF,C","sources":["webpack://@vkontakte/vkui/./src/styles/bright_light.css"],"sourcesContent":["/* stylelint-disable */\n/*\n* Этот файл сгенерирован автоматически. Не надо править его руками.\n*/\n:root,\nbody[scheme=\"bright_light\"],\n[scheme=\"bright_light\"],\n.vkuibright_light {\n --accent: #2688eb;\n --accent_alternate: #0077ff;\n --action_sheet_action_foreground: #2688eb;\n --action_sheet_separator: rgba(0, 0, 0, 0.12);\n --activity_indicator_tint: #aeb7c2;\n --attach_picker_tab_active_background: #2d81e0;\n --attach_picker_tab_active_icon: #ffffff;\n --attach_picker_tab_active_text: #2d81e0;\n --attach_picker_tab_inactive_background: #f2f3f5;\n --attach_picker_tab_inactive_icon: #818c99;\n --attach_picker_tab_inactive_text: #818c99;\n --background_content: #ffffff;\n --background_highlighted: rgba(0, 0, 0, 0.08);\n --background_hover: rgba(0, 0, 0, 0.04);\n --background_keyboard: #e1e3e6;\n --background_light: #f9f9f9;\n --background_page: #ebedf0;\n --background_suggestions: #ffffff;\n --background_text_highlighted: rgba(38, 136, 235, 0.2);\n --button_bot_shadow: #c4c8cc;\n --button_commerce_background: #4bb34b;\n --button_commerce_foreground: #ffffff;\n --button_muted_background: #f2f3f5;\n --button_muted_foreground: #2688eb;\n --button_outline_border: #2688eb;\n --button_outline_foreground: #2688eb;\n --button_primary_background: #2d81e0;\n --button_primary_foreground: #ffffff;\n --button_secondary_background: rgba(0, 28, 61, 0.05);\n --button_secondary_background_highlighted: rgba(0, 28, 61, 0.03);\n --button_secondary_destructive_background: rgba(0, 28, 61, 0.05);\n --button_secondary_destructive_background_highlighted: rgba(0, 28, 61, 0.03);\n --button_secondary_destructive_foreground: #e64646;\n --button_secondary_destructive_foreground_highlighted: rgba(230, 70, 70, 0.6);\n --button_secondary_foreground: #2688eb;\n --button_secondary_foreground_highlighted: rgba(38, 136, 235, 0.6);\n --button_tertiary_background: rgba(0, 0, 0, 0);\n --button_tertiary_foreground: #2d81e0;\n --cell_button_foreground: #2688eb;\n --content_placeholder_icon: #99a2ad;\n --content_placeholder_text: #818c99;\n --content_positive_background: rgba(75, 179, 75, 0.15);\n --content_tint_background: #f5f5f5;\n --content_tint_foreground: #7f8285;\n --content_warning_background: #fff2d6;\n --control_background: #ebedf0;\n --control_foreground: #5181b8;\n --control_tint: #ffffff;\n --control_tint_muted: #76787a;\n --counter_primary_background: #2688eb;\n --counter_primary_text: #ffffff;\n --counter_prominent_background: #ff3347;\n --counter_prominent_text: #ffffff;\n --counter_secondary_background: #aeb7c2;\n --counter_secondary_text: #ffffff;\n --destructive: #e64646;\n --dynamic_blue: #2688eb;\n --dynamic_gray: #a3adb8;\n --dynamic_green: #4bb34b;\n --dynamic_orange: #ffa000;\n --dynamic_purple: #735ce6;\n --dynamic_raspberry_pink: #e03fab;\n --dynamic_red: #ff3347;\n --dynamic_violet: #792ec0;\n --feed_recommended_friend_promo_background: #528bcc;\n --field_background: #f2f3f5;\n --field_border: rgba(0, 0, 0, 0.12);\n --field_error_background: #faebeb;\n --field_error_border: #e64646;\n --field_text_placeholder: #818c99;\n --field_valid_border: #4bb34b;\n --float_button_background: #f5f5f5;\n --float_button_background_highlighted: #ebedf0;\n --float_button_border: rgba(0, 0, 0, 0.05);\n --float_button_foreground: #99a2ad;\n --header_alternate_background: #ffffff;\n --header_alternate_tab_active_indicator: #2688eb;\n --header_alternate_tab_active_text: #000000;\n --header_alternate_tab_inactive_text: #99a2ad;\n --header_background: #ffffff;\n --header_background_before_blur: #ffffff;\n --header_background_before_blur_alternate: #ffffff;\n --header_search_field_background: #ebedf0;\n --header_search_field_tint: #818c99;\n --header_tab_active_background: rgba(0, 0, 0, 0);\n --header_tab_active_indicator: #2688eb;\n --header_tab_active_text: #000000;\n --header_tab_inactive_text: #99a2ad;\n --header_text: #000000;\n --header_text_alternate: #000000;\n --header_text_secondary: #818c99;\n --header_tint: #2688eb;\n --header_tint_alternate: #2688eb;\n --icon_alpha_placeholder: #ffffff;\n --icon_medium: #818c99;\n --icon_medium_alpha: rgba(0, 0, 0, 0.48);\n --icon_name: #74a2d6;\n --icon_outline_medium: #818c99;\n --icon_outline_secondary: #99a2ad;\n --icon_secondary: #99a2ad;\n --icon_secondary_alpha: rgba(0, 0, 0, 0.36);\n --icon_tertiary: #b8c1cc;\n --icon_tertiary_alpha: rgba(0, 0, 0, 0.24);\n --im_attach_tint: #2d81e0;\n --im_bubble_border_alternate: #e1e3e6;\n --im_bubble_border_alternate_highlighted: #d7d8d9;\n --im_bubble_button_background: #f9f9f9;\n --im_bubble_button_background_highlighted: #d7d8d9;\n --im_bubble_button_foreground: #000000;\n --im_bubble_button_outgoing_background: rgba(255, 255, 255, 0.6);\n --im_bubble_gift_background: #f4e7c3;\n --im_bubble_gift_background_highlighted: #e3d3ac;\n --im_bubble_gift_text: #857250;\n --im_bubble_gift_text_secondary: #ab9871;\n --im_bubble_incoming: #ebedf0;\n --im_bubble_incoming_alternate: #ffffff;\n --im_bubble_incoming_alternate_highlighted: #f9f9f9;\n --im_bubble_incoming_expiring: #e6e9ff;\n --im_bubble_incoming_expiring_highlighted: #ccd3ff;\n --im_bubble_incoming_highlighted: #d7d8d9;\n --im_bubble_outgoing: #cce4ff;\n --im_bubble_outgoing_alternate: #ffffff;\n --im_bubble_outgoing_alternate_highlighted: #f9f9f9;\n --im_bubble_outgoing_expiring: #ccd3ff;\n --im_bubble_outgoing_expiring_highlighted: #adb8ff;\n --im_bubble_outgoing_highlighted: #add3ff;\n --im_bubble_wallpaper_button_background: #f2f3f5;\n --im_bubble_wallpaper_button_background_highlighted: #e1e3e6;\n --im_bubble_wallpaper_button_foreground: #000000;\n --im_bubble_wallpaper_incoming: #ffffff;\n --im_bubble_wallpaper_incoming_highlighted: #ebedf0;\n --im_bubble_wallpaper_outgoing: #cce4ff;\n --im_bubble_wallpaper_outgoing_highlighted: #add3ff;\n --im_forward_line_tint: rgba(69, 103, 143, 0.24);\n --im_reply_separator: #2d81e0;\n --im_service_message_text: #818c99;\n --im_text_name: #2d81e0;\n --im_toolbar_separator: #001c3d;\n --im_toolbar_voice_msg_background: #99a2ad;\n --image_border: rgba(0, 0, 0, 0.08);\n --input_background: #f2f3f5;\n --input_border: #e1e3e6;\n --landing_background: #ffffff;\n --landing_field_background: #f2f3f5;\n --landing_field_border: rgba(0, 0, 0, 0);\n --landing_field_placeholder: #818c99;\n --landing_login_button_background: #2d81e0;\n --landing_login_button_foreground: #ffffff;\n --landing_primary_button_background: #2d81e0;\n --landing_primary_button_foreground: #ffffff;\n --landing_secondary_button_background: rgba(0, 57, 115, 0.1);\n --landing_secondary_button_foreground: #2688eb;\n --landing_snippet_border: rgba(0, 0, 0, 0.15);\n --landing_tertiary_button_background: rgba(0, 0, 0, 0);\n --landing_tertiary_button_foreground: #2d81e0;\n --landing_text_primary: #000000;\n --landing_text_secondary: #818c99;\n --landing_text_title: #2d81e0;\n --like_text_tint: #ff3347;\n --link_alternate: #2d81e0;\n --loader_background: #ebedf0;\n --loader_tint: #76787a;\n --loader_track_fill: #e1e3e6;\n --loader_track_value_fill: #528bcc;\n --media_overlay_button_background: #ffffff;\n --media_overlay_button_foreground: #2c2d2e;\n --modal_card_background: #ffffff;\n --modal_card_border: rgba(0, 0, 0, 0);\n --modal_card_header_close: #000000;\n --music_playback_icon: #000000;\n --overlay_status_background: #ebedf0;\n --overlay_status_foreground: #6d7885;\n --overlay_status_icon: #818c99;\n --panel_tab_active_background: #ebedf0;\n --panel_tab_active_text: #5d5f61;\n --panel_tab_inactive_text: #76787a;\n --placeholder_icon_background: rgba(0, 28, 61, 0.08);\n --placeholder_icon_background_opaque: #f2f3f5;\n --placeholder_icon_foreground_primary: #99a2ad;\n --placeholder_icon_foreground_secondary: #aeb7c2;\n --placeholder_icon_tint: #001c3d;\n --poll_option_background: #45678f;\n --primary_overlay_badge: rgba(0, 0, 0, 0.6);\n --search_bar_background: #ffffff;\n --search_bar_field_background: #ebedf0;\n --search_bar_field_tint: #818c99;\n --search_bar_segmented_control_tint: #818c99;\n --secondary_overlay_badge: rgba(0, 0, 0, 0.24);\n --segmented_control_bar_background: rgba(0, 0, 0, 0);\n --segmented_control_tint: #99a2ad;\n --selection_off_icon: #b8c1cc;\n --separator_alpha: rgba(0, 0, 0, 0.12);\n --separator_alternate: #e1e3e6;\n --separator_common: #d7d8d9;\n --skeleton_foreground_from: #f5f5f5;\n --skeleton_foreground_to: #e1e3e6;\n --skeleton_shimmer_from: #ffffff;\n --skeleton_shimmer_to: #ffffff;\n --snippet_background: #ffffff;\n --snippet_border: rgba(0, 0, 0, 0.15);\n --snippet_icon_tertiary: #c4c8cc;\n --splashscreen_icon: #e1e3e6;\n --statusbar_alternate_legacy_background: rgba(0, 0, 0, 0.2);\n --stories_create_button_background_from: #f2f3f5;\n --stories_create_button_background_to: #e1e3e6;\n --stories_create_button_foreground: #6d7885;\n --stories_create_button_icon_background: #ffffff;\n --stories_skeleton_loader_background: #c4c8cc;\n --switch_ios_off_border: #e1e3e6;\n --tabbar_active_icon: #2975cc;\n --tabbar_background: #f9f9f9;\n --tabbar_inactive_icon: #99a2ad;\n --tabbar_tablet_active_icon: #2975cc;\n --tabbar_tablet_background: #f9f9f9;\n --tabbar_tablet_inactive_icon: #99a2ad;\n --tabbar_tablet_text_primary: #000000;\n --tabbar_tablet_text_secondary: #909499;\n --text_action_counter: #818c99;\n --text_link: #2d81e0;\n --text_link_highlighted_background: #000000;\n --text_muted: #2c2d2e;\n --text_name: #2d81e0;\n --text_placeholder: #818c99;\n --text_primary: #000000;\n --text_secondary: #818c99;\n --text_subhead: #6d7885;\n --text_tertiary: #99a2ad;\n --toolbar_attach_background_from: #b8c1cc;\n --toolbar_attach_background_to: #a3adb8;\n --vk_connect_button_primary_background: #19191a;\n --vk_connect_button_primary_foreground: #ffffff;\n --vk_connect_button_secondary_background: #f2f3f5;\n --vk_connect_button_secondary_foreground: #19191a;\n --writebar_icon: #2688eb;\n}\n/* stylelint-enable */\n"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"default_scheme.css","mappings":"AAIA,wEAIE,gBAAiB,CACjB,0BAA2B,CAC3B,wCAAyC,CACzC,4CAA6C,CAC7C,iCAAkC,CAClC,6CAA8C,CAC9C,uCAAwC,CACxC,uCAAwC,CACxC,+CAAgD,CAChD,yCAA0C,CAC1C,yCAA0C,CAC1C,4BAA6B,CAC7B,4CAA6C,CAC7C,sCAAuC,CACvC,6BAA8B,CAC9B,0BAA2B,CAC3B,yBAA0B,CAC1B,gCAAiC,CACjC,qDAAsD,CACtD,2BAA4B,CAC5B,oCAAqC,CACrC,oCAAqC,CACrC,iCAAkC,CAClC,iCAAkC,CAClC,+BAAgC,CAChC,mCAAoC,CACpC,mCAAoC,CACpC,mCAAoC,CACpC,mDAAoD,CACpD,+DAAgE,CAChE,+DAAgE,CAChE,2EAA4E,CAC5E,iDAAkD,CAClD,4EAA6E,CAC7E,qCAAsC,CACtC,iEAAkE,CAClE,6CAA8C,CAC9C,oCAAqC,CACrC,gCAAiC,CACjC,kCAAmC,CACnC,kCAAmC,CACnC,qDAAsD,CACtD,iCAAkC,CAClC,iCAAkC,CAClC,oCAAqC,CACrC,4BAA6B,CAC7B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,2BAA4B,CAC5B,8BAA+B,CAC/B,mCAAoC,CACpC,kCAAmC,CACnC,qCAAsC,CACtC,oCAAqC,CACrC,sCAAuC,CACvC,6BAA8B,CAC9B,mBAAoB,CACpB,0CAA2C,CAC3C,oBAAqB,CACrB,mBAAoB,CACpB,0BAA2B,CAC3B,sBAAuB,CACvB,wBAAyB,CACzB,sBAAuB,CACvB,uBAAwB,CACxB,wCAAyC,CACzC,sCAAuC,CACvC,8CAA+C,CAC/C,8CAA+C,CAC/C,gDAAiD,CACjD,gDAAiD,CACjD,uBACF,C","sources":["webpack://@vkontakte/vkui/./src/styles/bright_light.css"],"sourcesContent":["/* stylelint-disable */\n/*\n* Этот файл сгенерирован автоматически. Не надо править его руками.\n*/\n:root,\nbody[scheme=\"bright_light\"],\n[scheme=\"bright_light\"],\n.vkuibright_light {\n --accent: #2688eb;\n --accent_alternate: #0077ff;\n --action_sheet_action_foreground: #2688eb;\n --action_sheet_separator: rgba(0, 0, 0, 0.12);\n --activity_indicator_tint: #aeb7c2;\n --attach_picker_tab_active_background: #2d81e0;\n --attach_picker_tab_active_icon: #ffffff;\n --attach_picker_tab_active_text: #2d81e0;\n --attach_picker_tab_inactive_background: #f2f3f5;\n --attach_picker_tab_inactive_icon: #818c99;\n --attach_picker_tab_inactive_text: #818c99;\n --background_content: #ffffff;\n --background_highlighted: rgba(0, 0, 0, 0.08);\n --background_hover: rgba(0, 0, 0, 0.04);\n --background_keyboard: #e1e3e6;\n --background_light: #f9f9f9;\n --background_page: #ebedf0;\n --background_suggestions: #ffffff;\n --background_text_highlighted: rgba(38, 136, 235, 0.2);\n --button_bot_shadow: #c4c8cc;\n --button_commerce_background: #4bb34b;\n --button_commerce_foreground: #ffffff;\n --button_muted_background: #f2f3f5;\n --button_muted_foreground: #2688eb;\n --button_outline_border: #2688eb;\n --button_outline_foreground: #2688eb;\n --button_primary_background: #2d81e0;\n --button_primary_foreground: #ffffff;\n --button_secondary_background: rgba(0, 28, 61, 0.05);\n --button_secondary_background_highlighted: rgba(0, 28, 61, 0.03);\n --button_secondary_destructive_background: rgba(0, 28, 61, 0.05);\n --button_secondary_destructive_background_highlighted: rgba(0, 28, 61, 0.03);\n --button_secondary_destructive_foreground: #e64646;\n --button_secondary_destructive_foreground_highlighted: rgba(230, 70, 70, 0.6);\n --button_secondary_foreground: #2688eb;\n --button_secondary_foreground_highlighted: rgba(38, 136, 235, 0.6);\n --button_tertiary_background: rgba(0, 0, 0, 0);\n --button_tertiary_foreground: #2d81e0;\n --cell_button_foreground: #2688eb;\n --content_placeholder_icon: #99a2ad;\n --content_placeholder_text: #818c99;\n --content_positive_background: rgba(75, 179, 75, 0.15);\n --content_tint_background: #f5f5f5;\n --content_tint_foreground: #7f8285;\n --content_warning_background: #fff2d6;\n --control_background: #ebedf0;\n --control_background_secondary: #ffffff;\n --control_foreground: #5181b8;\n --control_tint: #ffffff;\n --control_tint_muted: #76787a;\n --counter_primary_background: #2688eb;\n --counter_primary_text: #ffffff;\n --counter_prominent_background: #ff3347;\n --counter_prominent_text: #ffffff;\n --counter_secondary_background: #aeb7c2;\n --counter_secondary_text: #ffffff;\n --destructive: #e64646;\n --dynamic_blue: #2688eb;\n --dynamic_gray: #a3adb8;\n --dynamic_green: #4bb34b;\n --dynamic_neon_pink: #f45fff;\n --dynamic_orange: #ffa000;\n --dynamic_purple: #735ce6;\n --dynamic_raspberry_pink: #e03fab;\n --dynamic_red: #ff3347;\n --dynamic_violet: #792ec0;\n --feed_recommended_friend_promo_background: #528bcc;\n --field_background: #f2f3f5;\n --field_border: rgba(0, 0, 0, 0.12);\n --field_error_background: #faebeb;\n --field_error_border: #e64646;\n --field_text_placeholder: #818c99;\n --field_valid_border: #4bb34b;\n --float_button_background: #f5f5f5;\n --float_button_background_highlighted: #ebedf0;\n --float_button_border: rgba(0, 0, 0, 0.05);\n --float_button_foreground: #99a2ad;\n --header_alternate_background: #ffffff;\n --header_alternate_tab_active_indicator: #2688eb;\n --header_alternate_tab_active_text: #000000;\n --header_alternate_tab_inactive_text: #99a2ad;\n --header_background: #ffffff;\n --header_background_before_blur: #ffffff;\n --header_background_before_blur_alternate: #ffffff;\n --header_search_field_background: #ebedf0;\n --header_search_field_tint: #818c99;\n --header_tab_active_background: rgba(0, 0, 0, 0);\n --header_tab_active_indicator: #2688eb;\n --header_tab_active_text: #000000;\n --header_tab_inactive_text: #99a2ad;\n --header_text: #000000;\n --header_text_alternate: #000000;\n --header_text_secondary: #818c99;\n --header_tint: #2688eb;\n --header_tint_alternate: #2688eb;\n --icon_alpha_placeholder: #ffffff;\n --icon_medium: #818c99;\n --icon_medium_alpha: rgba(0, 0, 0, 0.48);\n --icon_name: #74a2d6;\n --icon_outline_medium: #818c99;\n --icon_outline_secondary: #99a2ad;\n --icon_secondary: #99a2ad;\n --icon_secondary_alpha: rgba(0, 0, 0, 0.36);\n --icon_tertiary: #b8c1cc;\n --icon_tertiary_alpha: rgba(0, 0, 0, 0.24);\n --im_attach_tint: #2d81e0;\n --im_bubble_border_alternate: #e1e3e6;\n --im_bubble_border_alternate_highlighted: #d7d8d9;\n --im_bubble_button_background: #f9f9f9;\n --im_bubble_button_background_highlighted: #d7d8d9;\n --im_bubble_button_foreground: #000000;\n --im_bubble_button_outgoing_background: rgba(255, 255, 255, 0.6);\n --im_bubble_gift_background: #f4e7c3;\n --im_bubble_gift_background_highlighted: #e3d3ac;\n --im_bubble_gift_text: #857250;\n --im_bubble_gift_text_secondary: #ab9871;\n --im_bubble_incoming: #ebedf0;\n --im_bubble_incoming_alternate: #ffffff;\n --im_bubble_incoming_alternate_highlighted: #f9f9f9;\n --im_bubble_incoming_expiring: #e6e9ff;\n --im_bubble_incoming_expiring_highlighted: #ccd3ff;\n --im_bubble_incoming_highlighted: #d7d8d9;\n --im_bubble_outgoing: #cce4ff;\n --im_bubble_outgoing_alternate: #ffffff;\n --im_bubble_outgoing_alternate_highlighted: #f9f9f9;\n --im_bubble_outgoing_expiring: #ccd3ff;\n --im_bubble_outgoing_expiring_highlighted: #adb8ff;\n --im_bubble_outgoing_highlighted: #add3ff;\n --im_bubble_wallpaper_button_background: #f2f3f5;\n --im_bubble_wallpaper_button_background_highlighted: #e1e3e6;\n --im_bubble_wallpaper_button_foreground: #000000;\n --im_bubble_wallpaper_incoming: #ffffff;\n --im_bubble_wallpaper_incoming_highlighted: #ebedf0;\n --im_bubble_wallpaper_outgoing: #cce4ff;\n --im_bubble_wallpaper_outgoing_highlighted: #add3ff;\n --im_forward_line_tint: rgba(69, 103, 143, 0.24);\n --im_reply_separator: #2d81e0;\n --im_service_message_text: #818c99;\n --im_text_name: #2d81e0;\n --im_toolbar_separator: #001c3d;\n --im_toolbar_voice_msg_background: #99a2ad;\n --image_border: rgba(0, 0, 0, 0.08);\n --input_background: #f2f3f5;\n --input_border: #e1e3e6;\n --landing_background: #ffffff;\n --landing_field_background: #f2f3f5;\n --landing_field_border: rgba(0, 0, 0, 0);\n --landing_field_placeholder: #818c99;\n --landing_login_button_background: #2d81e0;\n --landing_login_button_foreground: #ffffff;\n --landing_primary_button_background: #2d81e0;\n --landing_primary_button_foreground: #ffffff;\n --landing_secondary_button_background: rgba(0, 57, 115, 0.1);\n --landing_secondary_button_foreground: #2688eb;\n --landing_snippet_border: rgba(0, 0, 0, 0.15);\n --landing_tertiary_button_background: rgba(0, 0, 0, 0);\n --landing_tertiary_button_foreground: #2d81e0;\n --landing_text_primary: #000000;\n --landing_text_secondary: #818c99;\n --landing_text_title: #2d81e0;\n --like_text_tint: #ff3347;\n --link_alternate: #2d81e0;\n --loader_background: #ebedf0;\n --loader_tint: #76787a;\n --loader_track_fill: #e1e3e6;\n --loader_track_value_fill: #528bcc;\n --media_overlay_button_background: #ffffff;\n --media_overlay_button_foreground: #2c2d2e;\n --modal_card_background: #ffffff;\n --modal_card_border: rgba(0, 0, 0, 0);\n --modal_card_header_close: #000000;\n --music_playback_icon: #000000;\n --overlay_status_background: #ebedf0;\n --overlay_status_foreground: #6d7885;\n --overlay_status_icon: #818c99;\n --panel_tab_active_background: #ebedf0;\n --panel_tab_active_text: #5d5f61;\n --panel_tab_inactive_text: #76787a;\n --placeholder_icon_background: rgba(0, 28, 61, 0.08);\n --placeholder_icon_background_opaque: #f2f3f5;\n --placeholder_icon_foreground_primary: #99a2ad;\n --placeholder_icon_foreground_secondary: #aeb7c2;\n --placeholder_icon_tint: #001c3d;\n --poll_option_background: #45678f;\n --primary_overlay_badge: rgba(0, 0, 0, 0.6);\n --search_bar_background: #ffffff;\n --search_bar_field_background: #ebedf0;\n --search_bar_field_tint: #818c99;\n --search_bar_segmented_control_tint: #818c99;\n --secondary_overlay_badge: rgba(0, 0, 0, 0.24);\n --segmented_control_bar_background: rgba(0, 0, 0, 0);\n --segmented_control_tint: #99a2ad;\n --selection_off_icon: #b8c1cc;\n --separator_alpha: rgba(0, 0, 0, 0.12);\n --separator_alternate: #e1e3e6;\n --separator_common: #d7d8d9;\n --skeleton_foreground_from: #f5f5f5;\n --skeleton_foreground_to: #e1e3e6;\n --skeleton_shimmer_from: #ffffff;\n --skeleton_shimmer_to: #ffffff;\n --snippet_background: #ffffff;\n --snippet_border: rgba(0, 0, 0, 0.15);\n --snippet_icon_tertiary: #c4c8cc;\n --splashscreen_icon: #e1e3e6;\n --statusbar_alternate_legacy_background: rgba(0, 0, 0, 0.2);\n --stories_create_button_background_from: #f2f3f5;\n --stories_create_button_background_to: #e1e3e6;\n --stories_create_button_foreground: #6d7885;\n --stories_create_button_icon_background: #ffffff;\n --stories_skeleton_loader_background: #c4c8cc;\n --switch_ios_off_border: #e1e3e6;\n --tabbar_active_icon: #2975cc;\n --tabbar_background: #f9f9f9;\n --tabbar_inactive_icon: #99a2ad;\n --tabbar_tablet_active_icon: #2975cc;\n --tabbar_tablet_background: #f9f9f9;\n --tabbar_tablet_inactive_icon: #99a2ad;\n --tabbar_tablet_text_primary: #000000;\n --tabbar_tablet_text_secondary: #909499;\n --text_action_counter: #818c99;\n --text_link: #2d81e0;\n --text_link_highlighted_background: #000000;\n --text_muted: #2c2d2e;\n --text_name: #2d81e0;\n --text_placeholder: #818c99;\n --text_primary: #000000;\n --text_secondary: #818c99;\n --text_subhead: #6d7885;\n --text_tertiary: #99a2ad;\n --toolbar_attach_background_from: #b8c1cc;\n --toolbar_attach_background_to: #a3adb8;\n --vk_connect_button_primary_background: #19191a;\n --vk_connect_button_primary_foreground: #ffffff;\n --vk_connect_button_secondary_background: #f2f3f5;\n --vk_connect_button_secondary_foreground: #19191a;\n --writebar_icon: #2688eb;\n}\n/* stylelint-enable */\n"],"names":[],"sourceRoot":""}
@@ -1,3 +1,4 @@
1
1
  import { AdaptivityProps, AdaptivityContextInterface } from "../components/AdaptivityProvider/AdaptivityContext";
2
2
  export type { AdaptivityProps };
3
3
  export declare const useAdaptivity: () => AdaptivityContextInterface;
4
+ export declare const useAdaptivityIsDesktop: () => boolean;
@@ -1,6 +1,18 @@
1
1
  import * as React from "react";
2
- import { AdaptivityContext } from "../components/AdaptivityProvider/AdaptivityContext";
2
+ import { AdaptivityContext, ViewWidth, ViewHeight } from "../components/AdaptivityProvider/AdaptivityContext";
3
+ import { usePlatform } from "./usePlatform";
4
+ import { VKCOM } from "../lib/platform";
3
5
  export var useAdaptivity = function useAdaptivity() {
4
6
  return React.useContext(AdaptivityContext);
5
7
  };
8
+ export var useAdaptivityIsDesktop = function useAdaptivityIsDesktop() {
9
+ var platform = usePlatform();
10
+
11
+ var _useAdaptivity = useAdaptivity(),
12
+ viewWidth = _useAdaptivity.viewWidth,
13
+ viewHeight = _useAdaptivity.viewHeight,
14
+ hasMouse = _useAdaptivity.hasMouse;
15
+
16
+ return viewWidth >= ViewWidth.SMALL_TABLET && (hasMouse || viewHeight >= ViewHeight.MEDIUM) || platform === VKCOM;
17
+ };
6
18
  //# sourceMappingURL=useAdaptivity.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks/useAdaptivity.ts"],"names":["React","AdaptivityContext","useAdaptivity","useContext"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SACEC,iBADF;AAQA,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAgB,GAAkC;AAC7D,SAAOF,KAAK,CAACG,UAAN,CAAiBF,iBAAjB,CAAP;AACD,CAFM","sourcesContent":["import * as React from \"react\";\nimport {\n AdaptivityContext,\n AdaptivityProps,\n AdaptivityContextInterface,\n} from \"../components/AdaptivityProvider/AdaptivityContext\";\n\nexport type { AdaptivityProps };\n\nexport const useAdaptivity = (): AdaptivityContextInterface => {\n return React.useContext(AdaptivityContext);\n};\n"],"file":"useAdaptivity.js"}
1
+ {"version":3,"sources":["../../src/hooks/useAdaptivity.ts"],"names":["React","AdaptivityContext","ViewWidth","ViewHeight","usePlatform","VKCOM","useAdaptivity","useContext","useAdaptivityIsDesktop","platform","viewWidth","viewHeight","hasMouse","SMALL_TABLET","MEDIUM"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SACEC,iBADF,EAIEC,SAJF,EAKEC,UALF;AAOA,SAASC,WAAT;AACA,SAASC,KAAT;AAIA,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAgB,GAAkC;AAC7D,SAAON,KAAK,CAACO,UAAN,CAAiBN,iBAAjB,CAAP;AACD,CAFM;AAIP,OAAO,IAAMO,sBAAsB,GAAG,SAAzBA,sBAAyB,GAAe;AACnD,MAAMC,QAAQ,GAAGL,WAAW,EAA5B;;AACA,uBAA4CE,aAAa,EAAzD;AAAA,MAAQI,SAAR,kBAAQA,SAAR;AAAA,MAAmBC,UAAnB,kBAAmBA,UAAnB;AAAA,MAA+BC,QAA/B,kBAA+BA,QAA/B;;AAEA,SACGF,SAAS,IAAIR,SAAS,CAACW,YAAvB,KACED,QAAQ,IAAID,UAAU,IAAIR,UAAU,CAACW,MADvC,CAAD,IAEAL,QAAQ,KAAKJ,KAHf;AAKD,CATM","sourcesContent":["import * as React from \"react\";\nimport {\n AdaptivityContext,\n AdaptivityProps,\n AdaptivityContextInterface,\n ViewWidth,\n ViewHeight,\n} from \"../components/AdaptivityProvider/AdaptivityContext\";\nimport { usePlatform } from \"./usePlatform\";\nimport { VKCOM } from \"../lib/platform\";\n\nexport type { AdaptivityProps };\n\nexport const useAdaptivity = (): AdaptivityContextInterface => {\n return React.useContext(AdaptivityContext);\n};\n\nexport const useAdaptivityIsDesktop = (): boolean => {\n const platform = usePlatform();\n const { viewWidth, viewHeight, hasMouse } = useAdaptivity();\n\n return (\n (viewWidth >= ViewWidth.SMALL_TABLET &&\n (hasMouse || viewHeight >= ViewHeight.MEDIUM)) ||\n platform === VKCOM\n );\n};\n"],"file":"useAdaptivity.js"}
@@ -1,13 +1,14 @@
1
1
  import * as React from "react";
2
- export interface UseCalendarDependencies {
2
+ import { CalendarProps } from "../components/Calendar/Calendar";
3
+ export interface UseCalendarDependencies extends Pick<CalendarProps, "onHeaderChange" | "onNextMonth" | "onPrevMonth"> {
3
4
  value?: Array<Date | null> | Date;
4
5
  disablePast?: boolean;
5
6
  disableFuture?: boolean;
6
7
  shouldDisableDate?(value: Date): boolean;
7
8
  }
8
- export declare function useCalendar({ value, disablePast, disableFuture, shouldDisableDate, }: UseCalendarDependencies): {
9
+ export declare function useCalendar({ value, disablePast, disableFuture, shouldDisableDate, onHeaderChange, onNextMonth, onPrevMonth, }: UseCalendarDependencies): {
9
10
  viewDate: Date;
10
- setViewDate: React.Dispatch<React.SetStateAction<Date>>;
11
+ setViewDate: (value: Date) => void;
11
12
  setPrevMonth: () => void;
12
13
  setNextMonth: () => void;
13
14
  focusedDay: Date | undefined;
@@ -7,7 +7,10 @@ export function useCalendar(_ref) {
7
7
  var value = _ref.value,
8
8
  disablePast = _ref.disablePast,
9
9
  disableFuture = _ref.disableFuture,
10
- shouldDisableDate = _ref.shouldDisableDate;
10
+ shouldDisableDate = _ref.shouldDisableDate,
11
+ onHeaderChange = _ref.onHeaderChange,
12
+ onNextMonth = _ref.onNextMonth,
13
+ onPrevMonth = _ref.onPrevMonth;
11
14
 
12
15
  var _React$useState = React.useState((_ref2 = Array.isArray(value) ? value[0] : value) !== null && _ref2 !== void 0 ? _ref2 : new Date()),
13
16
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -20,11 +23,17 @@ export function useCalendar(_ref) {
20
23
  setFocusedDay = _React$useState4[1];
21
24
 
22
25
  var setPrevMonth = React.useCallback(function () {
23
- return setViewDate(subMonths(viewDate, 1));
24
- }, [viewDate]);
26
+ onPrevMonth === null || onPrevMonth === void 0 ? void 0 : onPrevMonth();
27
+ setViewDate(subMonths(viewDate, 1));
28
+ }, [viewDate, onPrevMonth]);
25
29
  var setNextMonth = React.useCallback(function () {
26
- return setViewDate(addMonths(viewDate, 1));
27
- }, [viewDate]);
30
+ onNextMonth === null || onNextMonth === void 0 ? void 0 : onNextMonth();
31
+ setViewDate(addMonths(viewDate, 1));
32
+ }, [viewDate, onNextMonth]);
33
+ var handleSetViewDate = React.useCallback(function (value) {
34
+ onHeaderChange === null || onHeaderChange === void 0 ? void 0 : onHeaderChange(value);
35
+ setViewDate(value);
36
+ }, [onHeaderChange]);
28
37
  var isDayFocused = React.useCallback(function (day) {
29
38
  return Boolean(focusedDay && isSameDay(day, focusedDay));
30
39
  }, [focusedDay]);
@@ -51,7 +60,7 @@ export function useCalendar(_ref) {
51
60
  }, [setFocusedDay]);
52
61
  return {
53
62
  viewDate: viewDate,
54
- setViewDate: setViewDate,
63
+ setViewDate: handleSetViewDate,
55
64
  setPrevMonth: setPrevMonth,
56
65
  setNextMonth: setNextMonth,
57
66
  focusedDay: focusedDay,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks/useCalendar.ts"],"names":["React","subMonths","addMonths","isSameDay","isBefore","endOfDay","isAfter","startOfDay","useCalendar","value","disablePast","disableFuture","shouldDisableDate","useState","Array","isArray","Date","viewDate","setViewDate","focusedDay","setFocusedDay","setPrevMonth","useCallback","setNextMonth","isDayFocused","day","Boolean","isDayDisabled","now","disabled","resetSelectedDay","undefined"],"mappings":";AAAA,OAAO,KAAKA,KAAZ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,IAAJ,EAAZ;AACA,QAAIa,QAAQ,GAAG,KAAf;;AACA,QAAInB,WAAJ,EAAiB;AACfmB,MAAAA,QAAQ,GAAGzB,QAAQ,CAACC,QAAQ,CAACoB,GAAD,CAAT,EAAgBG,GAAhB,CAAnB;AACD;;AACD,QAAIjB,aAAJ,EAAmB;AACjBkB,MAAAA,QAAQ,GAAGvB,OAAO,CAACC,UAAU,CAACkB,GAAD,CAAX,EAAkBG,GAAlB,CAAlB;AACD;;AACD,QAAIhB,iBAAJ,EAAuB;AACrBiB,MAAAA,QAAQ,GAAGjB,iBAAiB,CAACa,GAAD,CAA5B;AACD;;AAED,WAAOI,QAAP;AACD,GAfmB,EAgBpB,CAAClB,aAAD,EAAgBD,WAAhB,EAA6BE,iBAA7B,CAhBoB,CAAtB;AAmBA,MAAMkB,gBAAgB,GAAG9B,KAAK,CAACsB,WAAN,CAAkB,YAAM;AAC/CF,IAAAA,aAAa,CAACW,SAAD,CAAb;AACD,GAFwB,EAEtB,CAACX,aAAD,CAFsB,CAAzB;AAIA,SAAO;AACLH,IAAAA,QAAQ,EAARA,QADK;AAELC,IAAAA,WAAW,EAAXA,WAFK;AAGLG,IAAAA,YAAY,EAAZA,YAHK;AAILE,IAAAA,YAAY,EAAZA,YAJK;AAKLJ,IAAAA,UAAU,EAAVA,UALK;AAMLC,IAAAA,aAAa,EAAbA,aANK;AAOLI,IAAAA,YAAY,EAAZA,YAPK;AAQLG,IAAAA,aAAa,EAAbA,aARK;AASLG,IAAAA,gBAAgB,EAAhBA;AATK,GAAP;AAWD","sourcesContent":["import * as React from \"react\";\nimport {\n subMonths,\n addMonths,\n isSameDay,\n isBefore,\n endOfDay,\n isAfter,\n startOfDay,\n} from \"../lib/date\";\n\nexport interface UseCalendarDependencies {\n value?: Array<Date | null> | Date;\n disablePast?: boolean;\n disableFuture?: boolean;\n shouldDisableDate?(value: Date): boolean;\n}\n\nexport function useCalendar({\n value,\n disablePast,\n disableFuture,\n shouldDisableDate,\n}: UseCalendarDependencies) {\n const [viewDate, setViewDate] = React.useState(\n (Array.isArray(value) ? value[0] : value) ?? new Date()\n );\n const [focusedDay, setFocusedDay] = React.useState<Date>();\n\n const setPrevMonth = React.useCallback(\n () => setViewDate(subMonths(viewDate, 1)),\n [viewDate]\n );\n const setNextMonth = React.useCallback(\n () => setViewDate(addMonths(viewDate, 1)),\n [viewDate]\n );\n\n const isDayFocused = React.useCallback(\n (day: Date) => Boolean(focusedDay && isSameDay(day, focusedDay)),\n [focusedDay]\n );\n\n const isDayDisabled = React.useCallback(\n (day: Date) => {\n const now = new Date();\n let disabled = false;\n if (disablePast) {\n disabled = isBefore(endOfDay(day), now);\n }\n if (disableFuture) {\n disabled = isAfter(startOfDay(day), now);\n }\n if (shouldDisableDate) {\n disabled = shouldDisableDate(day);\n }\n\n return disabled;\n },\n [disableFuture, disablePast, shouldDisableDate]\n );\n\n const resetSelectedDay = React.useCallback(() => {\n setFocusedDay(undefined);\n }, [setFocusedDay]);\n\n return {\n viewDate,\n setViewDate,\n setPrevMonth,\n setNextMonth,\n focusedDay,\n setFocusedDay,\n isDayFocused,\n isDayDisabled,\n resetSelectedDay,\n };\n}\n"],"file":"useCalendar.js"}
1
+ {"version":3,"sources":["../../src/hooks/useCalendar.ts"],"names":["React","subMonths","addMonths","isSameDay","isBefore","endOfDay","isAfter","startOfDay","useCalendar","value","disablePast","disableFuture","shouldDisableDate","onHeaderChange","onNextMonth","onPrevMonth","useState","Array","isArray","Date","viewDate","setViewDate","focusedDay","setFocusedDay","setPrevMonth","useCallback","setNextMonth","handleSetViewDate","isDayFocused","day","Boolean","isDayDisabled","now","disabled","resetSelectedDay","undefined"],"mappings":";AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,SACEC,SADF,EAEEC,SAFF,EAGEC,SAHF,EAIEC,QAJF,EAKEC,QALF,EAMEC,OANF,EAOEC,UAPF;AAsBA,OAAO,SAASC,WAAT,OAQqB;AAAA;;AAAA,MAP1BC,KAO0B,QAP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AAA,aAAa,EAAbA,aARK;AASLG,IAAAA,gBAAgB,EAAhBA;AATK,GAAP;AAWD","sourcesContent":["import * as React from \"react\";\nimport {\n subMonths,\n addMonths,\n isSameDay,\n isBefore,\n endOfDay,\n isAfter,\n startOfDay,\n} from \"../lib/date\";\nimport { CalendarProps } from \"../components/Calendar/Calendar\";\n\nexport interface UseCalendarDependencies\n extends Pick<\n CalendarProps,\n \"onHeaderChange\" | \"onNextMonth\" | \"onPrevMonth\"\n > {\n value?: Array<Date | null> | Date;\n disablePast?: boolean;\n disableFuture?: boolean;\n shouldDisableDate?(value: Date): boolean;\n}\n\nexport function useCalendar({\n value,\n disablePast,\n disableFuture,\n shouldDisableDate,\n onHeaderChange,\n onNextMonth,\n onPrevMonth,\n}: UseCalendarDependencies) {\n const [viewDate, setViewDate] = React.useState(\n (Array.isArray(value) ? value[0] : value) ?? new Date()\n );\n const [focusedDay, setFocusedDay] = React.useState<Date>();\n\n const setPrevMonth = React.useCallback(() => {\n onPrevMonth?.();\n setViewDate(subMonths(viewDate, 1));\n }, [viewDate, onPrevMonth]);\n const setNextMonth = React.useCallback(() => {\n onNextMonth?.();\n setViewDate(addMonths(viewDate, 1));\n }, [viewDate, onNextMonth]);\n\n const handleSetViewDate = React.useCallback(\n (value: Date) => {\n onHeaderChange?.(value);\n setViewDate(value);\n },\n [onHeaderChange]\n );\n\n const isDayFocused = React.useCallback(\n (day: Date) => Boolean(focusedDay && isSameDay(day, focusedDay)),\n [focusedDay]\n );\n\n const isDayDisabled = React.useCallback(\n (day: Date) => {\n const now = new Date();\n let disabled = false;\n if (disablePast) {\n disabled = isBefore(endOfDay(day), now);\n }\n if (disableFuture) {\n disabled = isAfter(startOfDay(day), now);\n }\n if (shouldDisableDate) {\n disabled = shouldDisableDate(day);\n }\n\n return disabled;\n },\n [disableFuture, disablePast, shouldDisableDate]\n );\n\n const resetSelectedDay = React.useCallback(() => {\n setFocusedDay(undefined);\n }, [setFocusedDay]);\n\n return {\n viewDate,\n setViewDate: handleSetViewDate,\n setPrevMonth,\n setNextMonth,\n focusedDay,\n setFocusedDay,\n isDayFocused,\n isDayDisabled,\n resetSelectedDay,\n };\n}\n"],"file":"useCalendar.js"}
package/dist/index.d.ts CHANGED
@@ -191,7 +191,7 @@ export { Select } from "./components/Select/Select";
191
191
  export type { SelectProps } from "./components/Select/Select";
192
192
  export { default as SelectMimicry } from "./components/SelectMimicry/SelectMimicry";
193
193
  export type { SelectMimicryProps } from "./components/SelectMimicry/SelectMimicry";
194
- export { default as NativeSelect } from "./components/NativeSelect/NativeSelect";
194
+ export { NativeSelect } from "./components/NativeSelect/NativeSelect";
195
195
  export type { NativeSelectProps } from "./components/NativeSelect/NativeSelect";
196
196
  export { CustomSelect } from "./components/CustomSelect/CustomSelect";
197
197
  export type { CustomSelectProps, CustomSelectOptionInterface, } from "./components/CustomSelect/CustomSelect";
@@ -277,6 +277,7 @@ export { usePlatform } from "./hooks/usePlatform";
277
277
  export { useAdaptivity } from "./hooks/useAdaptivity";
278
278
  export { useAppearance } from "./hooks/useAppearance";
279
279
  export { usePagination } from "./hooks/usePagination";
280
+ export { useScrollLock } from "./components/AppRoot/ScrollContext";
280
281
  /**
281
282
  * Utils
282
283
  */
package/dist/index.js CHANGED
@@ -108,7 +108,7 @@ export { RadioGroup } from "./components/RadioGroup/RadioGroup";
108
108
  export { default as Checkbox } from "./components/Checkbox/Checkbox";
109
109
  export { Select } from "./components/Select/Select";
110
110
  export { default as SelectMimicry } from "./components/SelectMimicry/SelectMimicry";
111
- export { default as NativeSelect } from "./components/NativeSelect/NativeSelect";
111
+ export { NativeSelect } from "./components/NativeSelect/NativeSelect";
112
112
  export { CustomSelect } from "./components/CustomSelect/CustomSelect";
113
113
  export { CustomSelectOption } from "./components/CustomSelectOption/CustomSelectOption";
114
114
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
@@ -173,6 +173,7 @@ export { usePlatform } from "./hooks/usePlatform";
173
173
  export { useAdaptivity } from "./hooks/useAdaptivity";
174
174
  export { useAppearance } from "./hooks/useAppearance";
175
175
  export { usePagination } from "./hooks/usePagination";
176
+ export { useScrollLock } from "./components/AppRoot/ScrollContext";
176
177
  /**
177
178
  * Utils
178
179
  */
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["default","Root","View","Panel","PanelHeaderButton","PanelHeader","PanelHeaderContent","PanelHeaderContext","SplitLayout","SplitCol","Epic","Tabbar","TabbarItem","HorizontalScroll","FixedLayout","PopoutWrapper","Alert","ActionSheet","ActionSheetItem","ScreenSpinner","Snackbar","ModalRoot","withModalRootContext","ModalRootContext","ModalPage","ModalPageHeader","ModalCard","ModalDismissButton","Badge","ButtonGroup","Button","IconButton","Card","CardGrid","CardScroll","ContentCard","CellButton","Header","Group","Gradient","List","Cell","RichCell","SimpleCell","HorizontalCell","Footer","InfoRow","Gallery","Avatar","GridAvatar","InitialsAvatar","Progress","Search","Tabs","TabsItem","Spinner","PullToRefresh","Link","Tooltip","TooltipContainer","Counter","UsersStack","Separator","Spacing","Placeholder","Banner","MiniInfoCell","WriteBar","WriteBarIcon","SubnavigationBar","SubnavigationButton","Pagination","FormLayout","FormItem","FormField","FormLayoutGroup","FormStatus","Switch","File","Input","Chip","ChipsInput","Slider","RangeSlider","Textarea","Radio","RadioGroup","Checkbox","Select","SelectMimicry","NativeSelect","CustomSelect","CustomSelectOption","DatePicker","SliderSwitch","SegmentedControl","Calendar","CalendarRange","DateInput","DateRangeInput","Div","Tappable","Touch","PanelSpinner","PanelHeaderClose","PanelHeaderBack","PanelHeaderSubmit","PanelHeaderEdit","ModalCardBase","AppRoot","AdaptivityProvider","ConfigProvider","ConfigProviderContext","WebviewType","AppearanceProvider","Scheme","Appearance","LocaleProviderContext","PromoBanner","Title","Headline","Text","Caption","Subhead","Paragraph","withInsets","withPlatform","withAdaptivity","useInsets","usePlatform","useAdaptivity","useAppearance","usePagination","classNamesString","classNames","animate","removeObjectKeys","SSRWrapper","platform","ANDROID","IOS","VKCOM","Platform","IS_PLATFORM_ANDROID","IS_PLATFORM_IOS","getClassName","ViewWidth","ViewHeight","SizeType","calcInitialsAvatarColor","Popper"],"mappings":"AAAA;;AAMA;AACA;AACA;AACA,SAASA,OAAO,IAAIC,IAApB;AAEA,SAASD,OAAO,IAAIE,IAApB;AAEA,SAASC,KAAT;AAEA,SAASC,iBAAT;AAEA,SAASJ,OAAO,IAAIK,WAApB;AAEA,SAASL,OAAO,IAAIM,kBAApB;AAEA,SAASC,kBAAT;AAEA,SAASC,WAAT;AAEA,SAASC,QAAT;AAEA,SAAST,OAAO,IAAIU,IAApB;AAEA,SAASV,OAAO,IAAIW,MAApB;AAEA,SAASX,OAAO,IAAIY,UAApB;AAEA,SAASC,gBAAT;AAEA,SAASb,OAAO,IAAIc,WAApB;;AAGA;AACA;AACA;AACA,SAASC,aAAT;AAEA,SAASC,KAAT;AAKA,SAASC,WAAT;AAEA,SAASC,eAAT;AAEA,SAASlB,OAAO,IAAImB,aAApB;AAEA,SAASC,QAAT;;AAGA;AACA;AACA;AACA,SAASC,SAAT;AAEA,SAASC,oBAAT;AACA,SAAStB,OAAO,IAAIuB,gBAApB;AACA,SAASvB,OAAO,IAAIwB,SAApB;AAEA,SAASxB,OAAO,IAAIyB,eAApB;AAEA,SAASzB,OAAO,IAAI0B,SAApB;AAEA,SAAS1B,OAAO,IAAI2B,kBAApB;;AAGA;AACA;AACA;AACA,SAASC,KAAT;AAEA,SAASC,WAAT;AAEA,SAASC,MAAT;AAEA,SAAS9B,OAAO,IAAI+B,UAApB;AAEA,SAASC,IAAT;AAEA,SAAShC,OAAO,IAAIiC,QAApB;AAEA,SAASC,UAAT;AAEA,SAASlC,OAAO,IAAImC,WAApB;AAEA,SAASC,UAAT;AAEA,SAASpC,OAAO,IAAIqC,MAApB;AAEA,SAASrC,OAAO,IAAIsC,KAApB;AAEA,SAASC,QAAT;AAEA,SAASvC,OAAO,IAAIwC,IAApB;AACA,SAASC,IAAT;AAEA,SAASzC,OA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AAT;AAEA,SACEC,QADF,EAEEC,OAFF,EAGEC,GAHF,EAIEC,KAJF,EAKEC,QALF,EAMEC,mBANF,EAOEC,eAPF;AASA,SAASC,YAAT;AACA,SACEC,SADF,EAEEC,UAFF,EAGEC,QAHF;AAKA,SAASC,uBAAT;AACA,SAASC,MAAT","sourcesContent":["import \"./lib/polyfills\";\n\nimport \"./styles/constants.css\";\nimport \"./styles/animations.css\";\nimport \"./styles/common.css\";\n\n/**\n * Layout\n */\nexport { default as Root } from \"./components/Root/Root\";\nexport type { RootProps } from \"./components/Root/Root\";\nexport { default as View } from \"./components/View/View\";\nexport type { ViewProps } from \"./components/View/View\";\nexport { Panel } from \"./components/Panel/Panel\";\nexport type { PanelProps } from \"./components/Panel/Panel\";\nexport { PanelHeaderButton } from \"./components/PanelHeaderButton/PanelHeaderButton\";\nexport type { PanelHeaderButtonProps } from \"./components/PanelHeaderButton/PanelHeaderButton\";\nexport { default as PanelHeader } from \"./components/PanelHeader/PanelHeader\";\nexport type { PanelHeaderProps } from \"./components/PanelHeader/PanelHeader\";\nexport { default as PanelHeaderContent } from \"./components/PanelHeaderContent/PanelHeaderContent\";\nexport type { PanelHeaderContentProps } from \"./components/PanelHeaderContent/PanelHeaderContent\";\nexport { PanelHeaderContext } from \"./components/PanelHeaderContext/PanelHeaderContext\";\nexport type { PanelHeaderContextProps } from \"./components/PanelHeaderContext/PanelHeaderContext\";\nexport { SplitLayout } from \"./components/SplitLayout/SplitLayout\";\nexport type { SplitLayoutProps } from \"./components/SplitLayout/SplitLayout\";\nexport { SplitCol } from \"./components/SplitCol/SplitCol\";\nexport type { SplitColProps } from \"./components/SplitCol/SplitCol\";\nexport { default as Epic } from \"./components/Epic/Epic\";\nexport type { EpicProps } from \"./components/Epic/Epic\";\nexport { default as Tabbar } from \"./components/Tabbar/Tabbar\";\nexport type { TabbarProps } from \"./components/Tabbar/Tabbar\";\nexport { default as TabbarItem } from \"./components/TabbarItem/TabbarItem\";\nexport type { TabbarItemProps } from \"./components/TabbarItem/TabbarItem\";\nexport { HorizontalScroll } from \"./components/HorizontalScroll/HorizontalScroll\";\nexport type { HorizontalScrollProps } from \"./components/HorizontalScroll/HorizontalScroll\";\nexport { default as FixedLayout } from \"./components/FixedLayout/FixedLayout\";\nexport type { FixedLayoutProps } from \"./components/FixedLayout/FixedLayout\";\n\n/**\n * Popouts\n */\nexport { PopoutWrapper } from \"./components/PopoutWrapper/PopoutWrapper\";\nexport type { PopoutWrapperProps } from \"./components/PopoutWrapper/PopoutWrapper\";\nexport { Alert } from \"./components/Alert/Alert\";\nexport type {\n AlertProps,\n AlertActionInterface,\n} from \"./components/Alert/Alert\";\nexport { ActionSheet } from \"./components/ActionSheet/ActionSheet\";\nexport type { ActionSheetProps } from \"./components/ActionSheet/ActionSheet\";\nexport { ActionSheetItem } from \"./components/ActionSheetItem/ActionSheetItem\";\nexport type { ActionSheetItemProps } from \"./components/ActionSheetItem/ActionSheetItem\";\nexport { default as ScreenSpinner } from \"./components/ScreenSpinner/ScreenSpinner\";\nexport type { ScreenSpinnerProps } from \"./components/ScreenSpinner/ScreenSpinner\";\nexport { Snackbar } from \"./components/Snackbar/Snackbar\";\nexport type { SnackbarProps } from \"./components/Snackbar/Snackbar\";\n\n/**\n * Modals\n */\nexport { ModalRoot } from \"./components/ModalRoot/ModalRootAdaptive\";\nexport type { ModalRootProps } from \"./components/ModalRoot/ModalRootAdaptive\";\nexport { withModalRootContext } from \"./components/ModalRoot/withModalRootContext\";\nexport { default as ModalRootContext } from \"./components/ModalRoot/ModalRootContext\";\nexport { default as ModalPage } from \"./components/ModalPage/ModalPage\";\nexport type { ModalPageProps } from \"./components/ModalPage/ModalPage\";\nexport { default as ModalPageHeader } from \"./components/ModalPageHeader/ModalPageHeader\";\nexport type { ModalPageHeaderProps } from \"./components/ModalPageHeader/ModalPageHeader\";\nexport { default as ModalCard } from \"./components/ModalCard/ModalCard\";\nexport type { ModalCardProps } from \"./components/ModalCard/ModalCard\";\nexport { default as ModalDismissButton } from \"./components/ModalDismissButton/ModalDismissButton\";\nexport type { ModalDismissButtonProps } from \"./components/ModalDismissButton/ModalDismissButton\";\n\n/**\n * Blocks\n */\nexport { Badge } from \"./components/Badge/Badge\";\nexport type { BadgeProps } from \"./components/Badge/Badge\";\nexport { ButtonGroup } from \"./components/ButtonGroup/ButtonGroup\";\nexport type { ButtonGroupProps } from \"./components/ButtonGroup/ButtonGroup\";\nexport { Button } from \"./components/Button/Button\";\nexport type { ButtonProps } from \"./components/Button/Button\";\nexport { default as IconButton } from \"./components/IconButton/IconButton\";\nexport type { IconButtonProps } from \"./components/IconButton/IconButton\";\nexport { Card } from \"./components/Card/Card\";\nexport type { CardProps } from \"./components/Card/Card\";\nexport { default as CardGrid } from \"./components/CardGrid/CardGrid\";\nexport type { CardGridProps } from \"./components/CardGrid/CardGrid\";\nexport { CardScroll } from \"./components/CardScroll/CardScroll\";\nexport type { CardScrollProps } from \"./components/CardScroll/CardScroll\";\nexport { default as ContentCard } from \"./components/ContentCard/ContentCard\";\nexport type { ContentCardProps } from \"./components/ContentCard/ContentCard\";\nexport { CellButton } from \"./components/CellButton/CellButton\";\nexport type { CellButtonProps } from \"./components/CellButton/CellButton\";\nexport { default as Header } from \"./components/Header/Header\";\nexport type { HeaderProps } from \"./components/Header/Header\";\nexport { default as Group } from \"./components/Group/Group\";\nexport type { GroupProps } from \"./components/Group/Group\";\nexport { Gradient } from \"./components/Gradient/Gradient\";\nexport type { GradientProps } from \"./components/Gradient/Gradient\";\nexport { default as List } from \"./components/List/List\";\nexport { Cell } from \"./components/Cell/Cell\";\nexport type { CellProps } from \"./components/Cell/Cell\";\nexport { default as RichCell } from \"./components/RichCell/RichCell\";\nexport type { RichCellProps } from \"./components/RichCell/RichCell\";\nexport { default as SimpleCell } from \"./components/SimpleCell/SimpleCell\";\nexport type { SimpleCellProps } from \"./components/SimpleCell/SimpleCell\";\nexport { HorizontalCell } from \"./components/HorizontalCell/HorizontalCell\";\nexport type { HorizontalCellProps } from \"./components/HorizontalCell/HorizontalCell\";\nexport { Footer } from \"./components/Footer/Footer\";\nexport type { FooterProps } from \"./components/Footer/Footer\";\nexport { default as InfoRow } from \"./components/InfoRow/InfoRow\";\nexport type { InfoRowProps } from \"./components/InfoRow/InfoRow\";\nexport { default as Gallery } from \"./components/Gallery/Gallery\";\nexport type { GalleryProps } from \"./components/Gallery/Gallery\";\nexport { default as Avatar } from \"./components/Avatar/Avatar\";\nexport type { AvatarProps } from \"./components/Avatar/Avatar\";\nexport { GridAvatar } from \"./components/GridAvatar/GridAvatar\";\nexport type { GridAvatarProps } from \"./components/GridAvatar/GridAvatar\";\nexport { InitialsAvatar } from \"./components/InitialsAvatar/InitialsAvatar\";\nexport type { InitialsAvatarProps } from \"./components/InitialsAvatar/InitialsAvatar\";\nexport { default as Progress } from \"./components/Progress/Progress\";\nexport type { ProgressProps } from \"./components/Progress/Progress\";\nexport { default as Search } from \"./components/Search/Search\";\nexport type { SearchProps } from \"./components/Search/Search\";\nexport { default as Tabs } from \"./components/Tabs/Tabs\";\nexport type { TabsProps } from \"./components/Tabs/Tabs\";\nexport { default as TabsItem } from \"./components/TabsItem/TabsItem\";\nexport type { TabsItemProps } from \"./components/TabsItem/TabsItem\";\nexport { default as Spinner } from \"./components/Spinner/Spinner\";\nexport type { SpinnerProps } from \"./components/Spinner/Spinner\";\nexport { default as PullToRefresh } from \"./components/PullToRefresh/PullToRefresh\";\nexport type { PullToRefreshProps } from \"./components/PullToRefresh/PullToRefresh\";\nexport { default as Link } from \"./components/Link/Link\";\nexport type { LinkProps } from \"./components/Link/Link\";\nexport { default as Tooltip } from \"./components/Tooltip/Tooltip\";\nexport type { TooltipProps } from \"./components/Tooltip/Tooltip\";\nexport { TooltipContainer } from \"./components/Tooltip/TooltipContainer\";\nexport { default as Counter } from \"./components/Counter/Counter\";\nexport type { CounterProps } from \"./components/Counter/Counter\";\nexport { default as UsersStack } from \"./components/UsersStack/UsersStack\";\nexport type { UsersStackProps } from \"./components/UsersStack/UsersStack\";\nexport { default as Separator } from \"./components/Separator/Separator\";\nexport type { SeparatorProps } from \"./components/Separator/Separator\";\nexport { Spacing } from \"./components/Spacing/Spacing\";\nexport type { SpacingProps } from \"./components/Spacing/Spacing\";\nexport { default as Placeholder } from \"./components/Placeholder/Placeholder\";\nexport type { PlaceholderProps } from \"./components/Placeholder/Placeholder\";\nexport { default as Banner } from \"./components/Banner/Banner\";\nexport type { BannerProps } from \"./components/Banner/Banner\";\nexport { MiniInfoCell } from \"./components/MiniInfoCell/MiniInfoCell\";\nexport type { MiniInfoCellProps } from \"./components/MiniInfoCell/MiniInfoCell\";\nexport { WriteBar } from \"./components/WriteBar/WriteBar\";\nexport type { WriteBarProps } from \"./components/WriteBar/WriteBar\";\nexport { WriteBarIcon } from \"./components/WriteBarIcon/WriteBarIcon\";\nexport type { WriteBarIconProps } from \"./components/WriteBarIcon/WriteBarIcon\";\nexport { SubnavigationBar } from \"./components/SubnavigationBar/SubnavigationBar\";\nexport type { SubnavigationBarProps } from \"./components/SubnavigationBar/SubnavigationBar\";\nexport { SubnavigationButton } from \"./components/SubnavigationButton/SubnavigationButton\";\nexport type { SubnavigationButtonProps } from \"./components/SubnavigationButton/SubnavigationButton\";\nexport { Pagination } from \"./components/Pagination/Pagination\";\nexport type { PaginationProps } from \"./components/Pagination/Pagination\";\n\n/**\n * Forms\n */\nexport { default as FormLayout } from \"./components/FormLayout/FormLayout\";\nexport type { FormLayoutProps } from \"./components/FormLayout/FormLayout\";\nexport { FormItem } from \"./components/FormItem/FormItem\";\nexport type { FormItemProps } from \"./components/FormItem/FormItem\";\nexport { FormField } from \"./components/FormField/FormField\";\nexport type { FormFieldProps } from \"./components/FormField/FormField\";\nexport { default as FormLayoutGroup } from \"./components/FormLayoutGroup/FormLayoutGroup\";\nexport type { FormLayoutGroupProps } from \"./components/FormLayoutGroup/FormLayoutGroup\";\nexport { FormStatus } from \"./components/FormStatus/FormStatus\";\nexport type { FormStatusProps } from \"./components/FormStatus/FormStatus\";\nexport { Switch } from \"./components/Switch/Switch\";\nexport type { SwitchProps } from \"./components/Switch/Switch\";\nexport { default as File } from \"./components/File/File\";\nexport type { FileProps } from \"./components/File/File\";\nexport { Input } from \"./components/Input/Input\";\nexport type { InputProps } from \"./components/Input/Input\";\nexport { Chip } from \"./components/Chip/Chip\";\nexport type { ChipProps } from \"./components/Chip/Chip\";\nexport { ChipsInput } from \"./components/ChipsInput/ChipsInput\";\nexport type { ChipsInputProps } from \"./components/ChipsInput/ChipsInput\";\nexport { default as Slider } from \"./components/Slider/Slider\";\nexport type { SliderProps } from \"./components/Slider/Slider\";\nexport { default as RangeSlider } from \"./components/RangeSlider/RangeSlider\";\nexport type { RangeSliderProps } from \"./components/RangeSlider/RangeSlider\";\nexport { default as Textarea } from \"./components/Textarea/Textarea\";\nexport type { TextareaProps } from \"./components/Textarea/Textarea\";\nexport { default as Radio } from \"./components/Radio/Radio\";\nexport type { RadioProps } from \"./components/Radio/Radio\";\nexport { RadioGroup } from \"./components/RadioGroup/RadioGroup\";\nexport type { RadioGroupProps } from \"./components/RadioGroup/RadioGroup\";\nexport { default as Checkbox } from \"./components/Checkbox/Checkbox\";\nexport type { CheckboxProps } from \"./components/Checkbox/Checkbox\";\nexport { Select } from \"./components/Select/Select\";\nexport type { SelectProps } from \"./components/Select/Select\";\nexport { default as SelectMimicry } from \"./components/SelectMimicry/SelectMimicry\";\nexport type { SelectMimicryProps } from \"./components/SelectMimicry/SelectMimicry\";\nexport { default as NativeSelect } from \"./components/NativeSelect/NativeSelect\";\nexport type { NativeSelectProps } from \"./components/NativeSelect/NativeSelect\";\nexport { CustomSelect } from \"./components/CustomSelect/CustomSelect\";\nexport type {\n CustomSelectProps,\n CustomSelectOptionInterface,\n} from \"./components/CustomSelect/CustomSelect\";\nexport { CustomSelectOption } from \"./components/CustomSelectOption/CustomSelectOption\";\nexport type { CustomSelectOptionProps } from \"./components/CustomSelectOption/CustomSelectOption\";\nexport { default as DatePicker } from \"./components/DatePicker/DatePicker\";\nexport type {\n DatePickerProps,\n DatePickerDateFormat,\n} from \"./components/DatePicker/DatePicker\";\nexport { SliderSwitch } from \"./components/SliderSwitch/SliderSwitch\";\nexport type {\n SliderSwitchProps,\n SliderSwitchOptionInterface,\n} from \"./components/SliderSwitch/SliderSwitch\";\nexport { SegmentedControl } from \"./components/SegmentedControl/SegmentedControl\";\nexport type {\n SegmentedControlProps,\n SegmentedControlOptionInterface,\n SegmentedControlValue,\n} from \"./components/SegmentedControl/SegmentedControl\";\nexport { Calendar } from \"./components/Calendar/Calendar\";\nexport type { CalendarProps } from \"./components/Calendar/Calendar\";\nexport { CalendarRange } from \"./components/CalendarRange/CalendarRange\";\nexport type { CalendarRangeProps } from \"./components/CalendarRange/CalendarRange\";\nexport { DateInput } from \"./components/DateInput/DateInput\";\nexport type { DateInputProps } from \"./components/DateInput/DateInput\";\nexport { DateRangeInput } from \"./components/DateRangeInput/DateRangeInput\";\nexport type { DateRangeInputProps } from \"./components/DateRangeInput/DateRangeInput\";\n\n/**\n * Helpers\n */\nexport { Div } from \"./components/Div/Div\";\nexport type { DivProps } from \"./components/Div/Div\";\nexport { default as Tappable } from \"./components/Tappable/Tappable\";\nexport type { TappableProps } from \"./components/Tappable/Tappable\";\nexport { Touch } from \"./components/Touch/Touch\";\nexport type { TouchProps } from \"./components/Touch/Touch\";\nexport { default as PanelSpinner } from \"./components/PanelSpinner/PanelSpinner\";\nexport type { PanelSpinnerProps } from \"./components/PanelSpinner/PanelSpinner\";\nexport { default as PanelHeaderClose } from \"./components/PanelHeaderClose/PanelHeaderClose\";\nexport { default as PanelHeaderBack } from \"./components/PanelHeaderBack/PanelHeaderBack\";\nexport type { PanelHeaderBackProps } from \"./components/PanelHeaderBack/PanelHeaderBack\";\nexport { default as PanelHeaderSubmit } from \"./components/PanelHeaderSubmit/PanelHeaderSubmit\";\nexport { default as PanelHeaderEdit } from \"./components/PanelHeaderEdit/PanelHeaderEdit\";\nexport type { PanelHeaderEditProps } from \"./components/PanelHeaderEdit/PanelHeaderEdit\";\nexport { ModalCardBase } from \"./components/ModalCardBase/ModalCardBase\";\nexport type { ModalCardBaseProps } from \"./components/ModalCardBase/ModalCardBase\";\n\n/**\n * Wrappers\n */\nexport { AppRoot } from \"./components/AppRoot/AppRoot\";\nexport type { AppRootProps } from \"./components/AppRoot/AppRoot\";\nexport { AdaptivityProvider } from \"./components/AdaptivityProvider/AdaptivityProvider\";\nexport { default as ConfigProvider } from \"./components/ConfigProvider/ConfigProvider\";\nexport type { ConfigProviderProps } from \"./components/ConfigProvider/ConfigProvider\";\nexport {\n ConfigProviderContext,\n WebviewType,\n} from \"./components/ConfigProvider/ConfigProviderContext\";\nexport { AppearanceProvider } from \"./components/AppearanceProvider/AppearanceProvider\";\nexport type { AppearanceProviderProps } from \"./components/AppearanceProvider/AppearanceProvider\";\nexport { Scheme, Appearance } from \"./helpers/scheme\";\nexport { LocaleProviderContext } from \"./components/LocaleProviderContext/LocaleProviderContext\";\n\n/**\n * Advertisement\n */\nexport { default as PromoBanner } from \"./components/PromoBanner/PromoBanner\";\nexport type { PromoBannerProps } from \"./components/PromoBanner/PromoBanner\";\n\n/**\n * Typography\n */\nexport { Title } from \"./components/Typography/Title/Title\";\nexport type { TitleProps } from \"./components/Typography/Title/Title\";\nexport { default as Headline } from \"./components/Typography/Headline/Headline\";\nexport type { HeadlineProps } from \"./components/Typography/Headline/Headline\";\nexport { default as Text } from \"./components/Typography/Text/Text\";\nexport type { TextProps } from \"./components/Typography/Text/Text\";\nexport { Caption } from \"./components/Typography/Caption/Caption\";\nexport type { CaptionProps } from \"./components/Typography/Caption/Caption\";\nexport { Subhead } from \"./components/Typography/Subhead/Subhead\";\nexport type { SubheadProps } from \"./components/Typography/Subhead/Subhead\";\nexport { Paragraph } from \"./components/Typography/Paragraph/Paragraph\";\nexport type { ParagraphProps } from \"./components/Typography/Paragraph/Paragraph\";\n\n/**\n * HOCs\n */\nexport { withInsets } from \"./hoc/withInsets\";\nexport { withPlatform } from \"./hoc/withPlatform\";\nexport { withAdaptivity } from \"./hoc/withAdaptivity\";\n\n/**\n * Hooks\n */\nexport { useInsets } from \"./hooks/useInsets\";\nexport { usePlatform } from \"./hooks/usePlatform\";\nexport { useAdaptivity } from \"./hooks/useAdaptivity\";\nexport { useAppearance } from \"./hooks/useAppearance\";\nexport { usePagination } from \"./hooks/usePagination\";\n\n/**\n * Utils\n */\nexport { classNamesString as classNames } from \"./lib/classNames\";\nexport { default as animate } from \"./lib/animate\";\nexport { removeObjectKeys } from \"./lib/removeObjectKeys\";\nexport { SSRWrapper } from \"./lib/SSR\";\nexport type { SSRWrapperProps } from \"./lib/SSR\";\nexport {\n platform,\n ANDROID,\n IOS,\n VKCOM,\n Platform,\n IS_PLATFORM_ANDROID,\n IS_PLATFORM_IOS,\n} from \"./lib/platform\";\nexport { getClassName } from \"./helpers/getClassName\";\nexport {\n ViewWidth,\n ViewHeight,\n SizeType,\n} from \"./components/AdaptivityProvider/AdaptivityContext\";\nexport { calcInitialsAvatarColor } from \"./helpers/avatar\";\nexport { Popper } from \"./components/Popper/Popper\";\nexport type { PopperProps } from \"./components/Popper/Popper\";\n\n/**\n * Types\n */\nexport type { AlignType, HasPlatform, HasInsets } from \"./types\";\nexport type { NavIdProps } from \"./lib/getNavId\";\nexport type { PlatformType } from \"./lib/platform\";\nexport type { AdaptivityProps } from \"./hoc/withAdaptivity\";\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["default","Root","View","Panel","PanelHeaderButton","PanelHeader","PanelHeaderContent","PanelHeaderContext","SplitLayout","SplitCol","Epic","Tabbar","TabbarItem","HorizontalScroll","FixedLayout","PopoutWrapper","Alert","ActionSheet","ActionSheetItem","ScreenSpinner","Snackbar","ModalRoot","withModalRootContext","ModalRootContext","ModalPage","ModalPageHeader","ModalCard","ModalDismissButton","Badge","ButtonGroup","Button","IconButton","Card","CardGrid","CardScroll","ContentCard","CellButton","Header","Group","Gradient","List","Cell","RichCell","SimpleCell","HorizontalCell","Footer","InfoRow","Gallery","Avatar","GridAvatar","InitialsAvatar","Progress","Search","Tabs","TabsItem","Spinner","PullToRefresh","Link","Tooltip","TooltipContainer","Counter","UsersStack","Separator","Spacing","Placeholder","Banner","MiniInfoCell","WriteBar","WriteBarIcon","SubnavigationBar","SubnavigationButton","Pagination","FormLayout","FormItem","FormField","FormLayoutGroup","FormStatus","Switch","File","Input","Chip","ChipsInput","Slider","RangeSlider","Textarea","Radio","RadioGroup","Checkbox","Select","SelectMimicry","NativeSelect","CustomSelect","CustomSelectOption","DatePicker","SliderSwitch","SegmentedControl","Calendar","CalendarRange","DateInput","DateRangeInput","Div","Tappable","Touch","PanelSpinner","PanelHeaderClose","PanelHeaderBack","PanelHeaderSubmit","PanelHeaderEdit","ModalCardBase","AppRoot","AdaptivityProvider","ConfigProvider","ConfigProviderContext","WebviewType","AppearanceProvider","Scheme","Appearance","LocaleProviderContext","PromoBanner","Title","Headline","Text","Caption","Subhead","Paragraph","withInsets","withPlatform","withAdaptivity","useInsets","usePlatform","useAdaptivity","useAppearance","usePagination","useScrollLock","classNamesString","classNames","animate","removeObjectKeys","SSRWrapper","platform","ANDROID","IOS","VKCOM","Platform","IS_PLATFORM_ANDROID","IS_PLATFORM_IOS","getClassName","ViewWidth","ViewHeight","SizeType","calcInitialsAvatarColor","Popper"],"mappings":"AAAA;;AAMA;AACA;AACA;AACA,SAASA,OAAO,IAAIC,IAApB;AAEA,SAASD,OAAO,IAAIE,IAApB;AAEA,SAASC,KAAT;AAEA,SAASC,iBAAT;AAEA,SAASJ,OAAO,IAAIK,WAApB;AAEA,SAASL,OAAO,IAAIM,kBAApB;AAEA,SAASC,kBAAT;AAEA,SAASC,WAAT;AAEA,SAASC,QAAT;AAEA,SAAST,OAAO,IAAIU,IAApB;AAEA,SAASV,OAAO,IAAIW,MAApB;AAEA,SAASX,OAAO,IAAIY,UAApB;AAEA,SAASC,gBAAT;AAEA,SAASb,OAAO,IAAIc,WAApB;;AAGA;AACA;AACA;AACA,S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eAApB;AAEA,SAASC,aAAT;;AAGA;AACA;AACA;AACA,SAASC,OAAT;AAEA,SAASC,kBAAT;AACA,SAAS9G,OAAO,IAAI+G,cAApB;AAEA,SACEC,qBADF,EAEEC,WAFF;AAIA,SAASC,kBAAT;AAEA,SAASC,MAAT,EAAiBC,UAAjB;AACA,SAASC,qBAAT;AAEA;AACA;AACA;;AACA,SAASrH,OAAO,IAAIsH,WAApB;;AAGA;AACA;AACA;AACA,SAASC,KAAT;AAEA,SAASvH,OAAO,IAAIwH,QAApB;AAEA,SAASxH,OAAO,IAAIyH,IAApB;AAEA,SAASC,OAAT;AAEA,SAASC,OAAT;AAEA,SAASC,SAAT;;AAGA;AACA;AACA;AACA,SAASC,UAAT;AACA,SAASC,YAAT;AACA,SAASC,cAAT;AAEA;AACA;AACA;;AACA,SAASC,SAAT;AACA,SAASC,WAAT;AACA,SAASC,aAAT;AACA,SAASC,aAAT;AACA,SAASC,aAAT;AACA,SAASC,aAAT;AAEA;AACA;AACA;;AACA,SAASC,gBAAgB,IAAIC,UAA7B;AACA,SAASvI,OAAO,IAAIwI,OAApB;AACA,SAASC,gBAAT;AACA,SAASC,UAAT;AAEA,SACEC,QADF,EAEEC,OAFF,EAGEC,GAHF,EAIEC,KAJF,EAKEC,QALF,EAMEC,mBANF,EAOEC,eAPF;AASA,SAASC,YAAT;AACA,SACEC,SADF,EAEEC,UAFF,EAGEC,QAHF;AAKA,SAASC,uBAAT;AACA,SAASC,MAAT","sourcesContent":["import \"./lib/polyfills\";\n\nimport \"./styles/constants.css\";\nimport \"./styles/animations.css\";\nimport \"./styles/common.css\";\n\n/**\n * Layout\n */\nexport { default as Root } from \"./components/Root/Root\";\nexport type { RootProps } from \"./components/Root/Root\";\nexport { default as View } from \"./components/View/View\";\nexport type { ViewProps } from \"./components/View/View\";\nexport { Panel } from \"./components/Panel/Panel\";\nexport type { PanelProps } from \"./components/Panel/Panel\";\nexport { PanelHeaderButton } from \"./components/PanelHeaderButton/PanelHeaderButton\";\nexport type { PanelHeaderButtonProps } from \"./components/PanelHeaderButton/PanelHeaderButton\";\nexport { default as PanelHeader } from \"./components/PanelHeader/PanelHeader\";\nexport type { PanelHeaderProps } from \"./components/PanelHeader/PanelHeader\";\nexport { default as PanelHeaderContent } from \"./components/PanelHeaderContent/PanelHeaderContent\";\nexport type { PanelHeaderContentProps } from \"./components/PanelHeaderContent/PanelHeaderContent\";\nexport { PanelHeaderContext } from \"./components/PanelHeaderContext/PanelHeaderContext\";\nexport type { PanelHeaderContextProps } from \"./components/PanelHeaderContext/PanelHeaderContext\";\nexport { SplitLayout } from \"./components/SplitLayout/SplitLayout\";\nexport type { SplitLayoutProps } from \"./components/SplitLayout/SplitLayout\";\nexport { SplitCol } from \"./components/SplitCol/SplitCol\";\nexport type { SplitColProps } from \"./components/SplitCol/SplitCol\";\nexport { default as Epic } from \"./components/Epic/Epic\";\nexport type { EpicProps } from \"./components/Epic/Epic\";\nexport { default as Tabbar } from \"./components/Tabbar/Tabbar\";\nexport type { TabbarProps } from \"./components/Tabbar/Tabbar\";\nexport { default as TabbarItem } from \"./components/TabbarItem/TabbarItem\";\nexport type { TabbarItemProps } from \"./components/TabbarItem/TabbarItem\";\nexport { HorizontalScroll } from \"./components/HorizontalScroll/HorizontalScroll\";\nexport type { HorizontalScrollProps } from \"./components/HorizontalScroll/HorizontalScroll\";\nexport { default as FixedLayout } from \"./components/FixedLayout/FixedLayout\";\nexport type { FixedLayoutProps } from \"./components/FixedLayout/FixedLayout\";\n\n/**\n * Popouts\n */\nexport { PopoutWrapper } from \"./components/PopoutWrapper/PopoutWrapper\";\nexport type { PopoutWrapperProps } from \"./components/PopoutWrapper/PopoutWrapper\";\nexport { Alert } from \"./components/Alert/Alert\";\nexport type {\n AlertProps,\n AlertActionInterface,\n} from \"./components/Alert/Alert\";\nexport { ActionSheet } from \"./components/ActionSheet/ActionSheet\";\nexport type { ActionSheetProps } from \"./components/ActionSheet/ActionSheet\";\nexport { ActionSheetItem } from \"./components/ActionSheetItem/ActionSheetItem\";\nexport type { ActionSheetItemProps } from \"./components/ActionSheetItem/ActionSheetItem\";\nexport { default as ScreenSpinner } from \"./components/ScreenSpinner/ScreenSpinner\";\nexport type { ScreenSpinnerProps } from \"./components/ScreenSpinner/ScreenSpinner\";\nexport { Snackbar } from \"./components/Snackbar/Snackbar\";\nexport type { SnackbarProps } from \"./components/Snackbar/Snackbar\";\n\n/**\n * Modals\n */\nexport { ModalRoot } from \"./components/ModalRoot/ModalRootAdaptive\";\nexport type { ModalRootProps } from \"./components/ModalRoot/ModalRootAdaptive\";\nexport { withModalRootContext } from \"./components/ModalRoot/withModalRootContext\";\nexport { default as ModalRootContext } from \"./components/ModalRoot/ModalRootContext\";\nexport { default as ModalPage } from \"./components/ModalPage/ModalPage\";\nexport type { ModalPageProps } from \"./components/ModalPage/ModalPage\";\nexport { default as ModalPageHeader } from \"./components/ModalPageHeader/ModalPageHeader\";\nexport type { ModalPageHeaderProps } from \"./components/ModalPageHeader/ModalPageHeader\";\nexport { default as ModalCard } from \"./components/ModalCard/ModalCard\";\nexport type { ModalCardProps } from \"./components/ModalCard/ModalCard\";\nexport { default as ModalDismissButton } from \"./components/ModalDismissButton/ModalDismissButton\";\nexport type { ModalDismissButtonProps } from \"./components/ModalDismissButton/ModalDismissButton\";\n\n/**\n * Blocks\n */\nexport { Badge } from \"./components/Badge/Badge\";\nexport type { BadgeProps } from \"./components/Badge/Badge\";\nexport { ButtonGroup } from \"./components/ButtonGroup/ButtonGroup\";\nexport type { ButtonGroupProps } from \"./components/ButtonGroup/ButtonGroup\";\nexport { Button } from \"./components/Button/Button\";\nexport type { ButtonProps } from \"./components/Button/Button\";\nexport { default as IconButton } from \"./components/IconButton/IconButton\";\nexport type { IconButtonProps } from \"./components/IconButton/IconButton\";\nexport { Card } from \"./components/Card/Card\";\nexport type { CardProps } from \"./components/Card/Card\";\nexport { default as CardGrid } from \"./components/CardGrid/CardGrid\";\nexport type { CardGridProps } from \"./components/CardGrid/CardGrid\";\nexport { CardScroll } from \"./components/CardScroll/CardScroll\";\nexport type { CardScrollProps } from \"./components/CardScroll/CardScroll\";\nexport { default as ContentCard } from \"./components/ContentCard/ContentCard\";\nexport type { ContentCardProps } from \"./components/ContentCard/ContentCard\";\nexport { CellButton } from \"./components/CellButton/CellButton\";\nexport type { CellButtonProps } from \"./components/CellButton/CellButton\";\nexport { default as Header } from \"./components/Header/Header\";\nexport type { HeaderProps } from \"./components/Header/Header\";\nexport { default as Group } from \"./components/Group/Group\";\nexport type { GroupProps } from \"./components/Group/Group\";\nexport { Gradient } from \"./components/Gradient/Gradient\";\nexport type { GradientProps } from \"./components/Gradient/Gradient\";\nexport { default as List } from \"./components/List/List\";\nexport { Cell } from \"./components/Cell/Cell\";\nexport type { CellProps } from \"./components/Cell/Cell\";\nexport { default as RichCell } from \"./components/RichCell/RichCell\";\nexport type { RichCellProps } from \"./components/RichCell/RichCell\";\nexport { default as SimpleCell } from \"./components/SimpleCell/SimpleCell\";\nexport type { SimpleCellProps } from \"./components/SimpleCell/SimpleCell\";\nexport { HorizontalCell } from \"./components/HorizontalCell/HorizontalCell\";\nexport type { HorizontalCellProps } from \"./components/HorizontalCell/HorizontalCell\";\nexport { Footer } from \"./components/Footer/Footer\";\nexport type { FooterProps } from \"./components/Footer/Footer\";\nexport { default as InfoRow } from \"./components/InfoRow/InfoRow\";\nexport type { InfoRowProps } from \"./components/InfoRow/InfoRow\";\nexport { default as Gallery } from \"./components/Gallery/Gallery\";\nexport type { GalleryProps } from \"./components/Gallery/Gallery\";\nexport { default as Avatar } from \"./components/Avatar/Avatar\";\nexport type { AvatarProps } from \"./components/Avatar/Avatar\";\nexport { GridAvatar } from \"./components/GridAvatar/GridAvatar\";\nexport type { GridAvatarProps } from \"./components/GridAvatar/GridAvatar\";\nexport { InitialsAvatar } from \"./components/InitialsAvatar/InitialsAvatar\";\nexport type { InitialsAvatarProps } from \"./components/InitialsAvatar/InitialsAvatar\";\nexport { default as Progress } from \"./components/Progress/Progress\";\nexport type { ProgressProps } from \"./components/Progress/Progress\";\nexport { default as Search } from \"./components/Search/Search\";\nexport type { SearchProps } from \"./components/Search/Search\";\nexport { default as Tabs } from \"./components/Tabs/Tabs\";\nexport type { TabsProps } from \"./components/Tabs/Tabs\";\nexport { default as TabsItem } from \"./components/TabsItem/TabsItem\";\nexport type { TabsItemProps } from \"./components/TabsItem/TabsItem\";\nexport { default as Spinner } from \"./components/Spinner/Spinner\";\nexport type { SpinnerProps } from \"./components/Spinner/Spinner\";\nexport { default as PullToRefresh } from \"./components/PullToRefresh/PullToRefresh\";\nexport type { PullToRefreshProps } from \"./components/PullToRefresh/PullToRefresh\";\nexport { default as Link } from \"./components/Link/Link\";\nexport type { LinkProps } from \"./components/Link/Link\";\nexport { default as Tooltip } from \"./components/Tooltip/Tooltip\";\nexport type { TooltipProps } from \"./components/Tooltip/Tooltip\";\nexport { TooltipContainer } from \"./components/Tooltip/TooltipContainer\";\nexport { default as Counter } from \"./components/Counter/Counter\";\nexport type { CounterProps } from \"./components/Counter/Counter\";\nexport { default as UsersStack } from \"./components/UsersStack/UsersStack\";\nexport type { UsersStackProps } from \"./components/UsersStack/UsersStack\";\nexport { default as Separator } from \"./components/Separator/Separator\";\nexport type { SeparatorProps } from \"./components/Separator/Separator\";\nexport { Spacing } from \"./components/Spacing/Spacing\";\nexport type { SpacingProps } from \"./components/Spacing/Spacing\";\nexport { default as Placeholder } from \"./components/Placeholder/Placeholder\";\nexport type { PlaceholderProps } from \"./components/Placeholder/Placeholder\";\nexport { default as Banner } from \"./components/Banner/Banner\";\nexport type { BannerProps } from \"./components/Banner/Banner\";\nexport { MiniInfoCell } from \"./components/MiniInfoCell/MiniInfoCell\";\nexport type { MiniInfoCellProps } from \"./components/MiniInfoCell/MiniInfoCell\";\nexport { WriteBar } from \"./components/WriteBar/WriteBar\";\nexport type { WriteBarProps } from \"./components/WriteBar/WriteBar\";\nexport { WriteBarIcon } from \"./components/WriteBarIcon/WriteBarIcon\";\nexport type { WriteBarIconProps } from \"./components/WriteBarIcon/WriteBarIcon\";\nexport { SubnavigationBar } from \"./components/SubnavigationBar/SubnavigationBar\";\nexport type { SubnavigationBarProps } from \"./components/SubnavigationBar/SubnavigationBar\";\nexport { SubnavigationButton } from \"./components/SubnavigationButton/SubnavigationButton\";\nexport type { SubnavigationButtonProps } from \"./components/SubnavigationButton/SubnavigationButton\";\nexport { Pagination } from \"./components/Pagination/Pagination\";\nexport type { PaginationProps } from \"./components/Pagination/Pagination\";\n\n/**\n * Forms\n */\nexport { default as FormLayout } from \"./components/FormLayout/FormLayout\";\nexport type { FormLayoutProps } from \"./components/FormLayout/FormLayout\";\nexport { FormItem } from \"./components/FormItem/FormItem\";\nexport type { FormItemProps } from \"./components/FormItem/FormItem\";\nexport { FormField } from \"./components/FormField/FormField\";\nexport type { FormFieldProps } from \"./components/FormField/FormField\";\nexport { default as FormLayoutGroup } from \"./components/FormLayoutGroup/FormLayoutGroup\";\nexport type { FormLayoutGroupProps } from \"./components/FormLayoutGroup/FormLayoutGroup\";\nexport { FormStatus } from \"./components/FormStatus/FormStatus\";\nexport type { FormStatusProps } from \"./components/FormStatus/FormStatus\";\nexport { Switch } from \"./components/Switch/Switch\";\nexport type { SwitchProps } from \"./components/Switch/Switch\";\nexport { default as File } from \"./components/File/File\";\nexport type { FileProps } from \"./components/File/File\";\nexport { Input } from \"./components/Input/Input\";\nexport type { InputProps } from \"./components/Input/Input\";\nexport { Chip } from \"./components/Chip/Chip\";\nexport type { ChipProps } from \"./components/Chip/Chip\";\nexport { ChipsInput } from \"./components/ChipsInput/ChipsInput\";\nexport type { ChipsInputProps } from \"./components/ChipsInput/ChipsInput\";\nexport { default as Slider } from \"./components/Slider/Slider\";\nexport type { SliderProps } from \"./components/Slider/Slider\";\nexport { default as RangeSlider } from \"./components/RangeSlider/RangeSlider\";\nexport type { RangeSliderProps } from \"./components/RangeSlider/RangeSlider\";\nexport { default as Textarea } from \"./components/Textarea/Textarea\";\nexport type { TextareaProps } from \"./components/Textarea/Textarea\";\nexport { default as Radio } from \"./components/Radio/Radio\";\nexport type { RadioProps } from \"./components/Radio/Radio\";\nexport { RadioGroup } from \"./components/RadioGroup/RadioGroup\";\nexport type { RadioGroupProps } from \"./components/RadioGroup/RadioGroup\";\nexport { default as Checkbox } from \"./components/Checkbox/Checkbox\";\nexport type { CheckboxProps } from \"./components/Checkbox/Checkbox\";\nexport { Select } from \"./components/Select/Select\";\nexport type { SelectProps } from \"./components/Select/Select\";\nexport { default as SelectMimicry } from \"./components/SelectMimicry/SelectMimicry\";\nexport type { SelectMimicryProps } from \"./components/SelectMimicry/SelectMimicry\";\nexport { NativeSelect } from \"./components/NativeSelect/NativeSelect\";\nexport type { NativeSelectProps } from \"./components/NativeSelect/NativeSelect\";\nexport { CustomSelect } from \"./components/CustomSelect/CustomSelect\";\nexport type {\n CustomSelectProps,\n CustomSelectOptionInterface,\n} from \"./components/CustomSelect/CustomSelect\";\nexport { CustomSelectOption } from \"./components/CustomSelectOption/CustomSelectOption\";\nexport type { CustomSelectOptionProps } from \"./components/CustomSelectOption/CustomSelectOption\";\nexport { default as DatePicker } from \"./components/DatePicker/DatePicker\";\nexport type {\n DatePickerProps,\n DatePickerDateFormat,\n} from \"./components/DatePicker/DatePicker\";\nexport { SliderSwitch } from \"./components/SliderSwitch/SliderSwitch\";\nexport type {\n SliderSwitchProps,\n SliderSwitchOptionInterface,\n} from \"./components/SliderSwitch/SliderSwitch\";\nexport { SegmentedControl } from \"./components/SegmentedControl/SegmentedControl\";\nexport type {\n SegmentedControlProps,\n SegmentedControlOptionInterface,\n SegmentedControlValue,\n} from \"./components/SegmentedControl/SegmentedControl\";\nexport { Calendar } from \"./components/Calendar/Calendar\";\nexport type { CalendarProps } from \"./components/Calendar/Calendar\";\nexport { CalendarRange } from \"./components/CalendarRange/CalendarRange\";\nexport type { CalendarRangeProps } from \"./components/CalendarRange/CalendarRange\";\nexport { DateInput } from \"./components/DateInput/DateInput\";\nexport type { DateInputProps } from \"./components/DateInput/DateInput\";\nexport { DateRangeInput } from \"./components/DateRangeInput/DateRangeInput\";\nexport type { DateRangeInputProps } from \"./components/DateRangeInput/DateRangeInput\";\n\n/**\n * Helpers\n */\nexport { Div } from \"./components/Div/Div\";\nexport type { DivProps } from \"./components/Div/Div\";\nexport { default as Tappable } from \"./components/Tappable/Tappable\";\nexport type { TappableProps } from \"./components/Tappable/Tappable\";\nexport { Touch } from \"./components/Touch/Touch\";\nexport type { TouchProps } from \"./components/Touch/Touch\";\nexport { default as PanelSpinner } from \"./components/PanelSpinner/PanelSpinner\";\nexport type { PanelSpinnerProps } from \"./components/PanelSpinner/PanelSpinner\";\nexport { default as PanelHeaderClose } from \"./components/PanelHeaderClose/PanelHeaderClose\";\nexport { default as PanelHeaderBack } from \"./components/PanelHeaderBack/PanelHeaderBack\";\nexport type { PanelHeaderBackProps } from \"./components/PanelHeaderBack/PanelHeaderBack\";\nexport { default as PanelHeaderSubmit } from \"./components/PanelHeaderSubmit/PanelHeaderSubmit\";\nexport { default as PanelHeaderEdit } from \"./components/PanelHeaderEdit/PanelHeaderEdit\";\nexport type { PanelHeaderEditProps } from \"./components/PanelHeaderEdit/PanelHeaderEdit\";\nexport { ModalCardBase } from \"./components/ModalCardBase/ModalCardBase\";\nexport type { ModalCardBaseProps } from \"./components/ModalCardBase/ModalCardBase\";\n\n/**\n * Wrappers\n */\nexport { AppRoot } from \"./components/AppRoot/AppRoot\";\nexport type { AppRootProps } from \"./components/AppRoot/AppRoot\";\nexport { AdaptivityProvider } from \"./components/AdaptivityProvider/AdaptivityProvider\";\nexport { default as ConfigProvider } from \"./components/ConfigProvider/ConfigProvider\";\nexport type { ConfigProviderProps } from \"./components/ConfigProvider/ConfigProvider\";\nexport {\n ConfigProviderContext,\n WebviewType,\n} from \"./components/ConfigProvider/ConfigProviderContext\";\nexport { AppearanceProvider } from \"./components/AppearanceProvider/AppearanceProvider\";\nexport type { AppearanceProviderProps } from \"./components/AppearanceProvider/AppearanceProvider\";\nexport { Scheme, Appearance } from \"./helpers/scheme\";\nexport { LocaleProviderContext } from \"./components/LocaleProviderContext/LocaleProviderContext\";\n\n/**\n * Advertisement\n */\nexport { default as PromoBanner } from \"./components/PromoBanner/PromoBanner\";\nexport type { PromoBannerProps } from \"./components/PromoBanner/PromoBanner\";\n\n/**\n * Typography\n */\nexport { Title } from \"./components/Typography/Title/Title\";\nexport type { TitleProps } from \"./components/Typography/Title/Title\";\nexport { default as Headline } from \"./components/Typography/Headline/Headline\";\nexport type { HeadlineProps } from \"./components/Typography/Headline/Headline\";\nexport { default as Text } from \"./components/Typography/Text/Text\";\nexport type { TextProps } from \"./components/Typography/Text/Text\";\nexport { Caption } from \"./components/Typography/Caption/Caption\";\nexport type { CaptionProps } from \"./components/Typography/Caption/Caption\";\nexport { Subhead } from \"./components/Typography/Subhead/Subhead\";\nexport type { SubheadProps } from \"./components/Typography/Subhead/Subhead\";\nexport { Paragraph } from \"./components/Typography/Paragraph/Paragraph\";\nexport type { ParagraphProps } from \"./components/Typography/Paragraph/Paragraph\";\n\n/**\n * HOCs\n */\nexport { withInsets } from \"./hoc/withInsets\";\nexport { withPlatform } from \"./hoc/withPlatform\";\nexport { withAdaptivity } from \"./hoc/withAdaptivity\";\n\n/**\n * Hooks\n */\nexport { useInsets } from \"./hooks/useInsets\";\nexport { usePlatform } from \"./hooks/usePlatform\";\nexport { useAdaptivity } from \"./hooks/useAdaptivity\";\nexport { useAppearance } from \"./hooks/useAppearance\";\nexport { usePagination } from \"./hooks/usePagination\";\nexport { useScrollLock } from \"./components/AppRoot/ScrollContext\";\n\n/**\n * Utils\n */\nexport { classNamesString as classNames } from \"./lib/classNames\";\nexport { default as animate } from \"./lib/animate\";\nexport { removeObjectKeys } from \"./lib/removeObjectKeys\";\nexport { SSRWrapper } from \"./lib/SSR\";\nexport type { SSRWrapperProps } from \"./lib/SSR\";\nexport {\n platform,\n ANDROID,\n IOS,\n VKCOM,\n Platform,\n IS_PLATFORM_ANDROID,\n IS_PLATFORM_IOS,\n} from \"./lib/platform\";\nexport { getClassName } from \"./helpers/getClassName\";\nexport {\n ViewWidth,\n ViewHeight,\n SizeType,\n} from \"./components/AdaptivityProvider/AdaptivityContext\";\nexport { calcInitialsAvatarColor } from \"./helpers/avatar\";\nexport { Popper } from \"./components/Popper/Popper\";\nexport type { PopperProps } from \"./components/Popper/Popper\";\n\n/**\n * Types\n */\nexport type { AlignType, HasPlatform, HasInsets } from \"./types\";\nexport type { NavIdProps } from \"./lib/getNavId\";\nexport type { PlatformType } from \"./lib/platform\";\nexport type { AdaptivityProps } from \"./hoc/withAdaptivity\";\n"],"file":"index.js"}
@@ -2,7 +2,7 @@ export function getNavId(props, warn) {
2
2
  var id = props.nav || props.id;
3
3
 
4
4
  if (process.env.NODE_ENV === "development" && !id && warn) {
5
- warn('Navigation item should have "nav" or "id" prop', "error");
5
+ warn('Навигационный элемент должен иметь свойство "nav" или "id"', "error");
6
6
  }
7
7
 
8
8
  return id;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/lib/getNavId.ts"],"names":["getNavId","props","warn","id","nav","process","env","NODE_ENV"],"mappings":"AAQA,OAAO,SAASA,QAAT,CAAkBC,KAAlB,EAAqCC,IAArC,EAA6D;AAClE,MAAMC,EAAE,GAAGF,KAAK,CAACG,GAAN,IAAaH,KAAK,CAACE,EAA9B;;AACA,MAAIE,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,aAAzB,IAA0C,CAACJ,EAA3C,IAAiDD,IAArD,EAA2D;AACzDA,IAAAA,IAAI,CAAC,gDAAD,EAAmD,OAAnD,CAAJ;AACD;;AACD,SAAOC,EAAP;AACD","sourcesContent":["import { WarnOnceHandler } from \"./warnOnce\";\n\nexport interface NavIdProps {\n /** Уникальный идентификатор навигационного элемента (вместо id) */\n nav?: string;\n id?: string;\n}\n\nexport function getNavId(props: NavIdProps, warn?: WarnOnceHandler) {\n const id = props.nav || props.id;\n if (process.env.NODE_ENV === \"development\" && !id && warn) {\n warn('Navigation item should have \"nav\" or \"id\" prop', \"error\");\n }\n return id;\n}\n"],"file":"getNavId.js"}
1
+ {"version":3,"sources":["../../src/lib/getNavId.ts"],"names":["getNavId","props","warn","id","nav","process","env","NODE_ENV"],"mappings":"AAQA,OAAO,SAASA,QAAT,CAAkBC,KAAlB,EAAqCC,IAArC,EAA6D;AAClE,MAAMC,EAAE,GAAGF,KAAK,CAACG,GAAN,IAAaH,KAAK,CAACE,EAA9B;;AACA,MAAIE,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,aAAzB,IAA0C,CAACJ,EAA3C,IAAiDD,IAArD,EAA2D;AACzDA,IAAAA,IAAI,CAAC,4DAAD,EAA+D,OAA/D,CAAJ;AACD;;AACD,SAAOC,EAAP;AACD","sourcesContent":["import { WarnOnceHandler } from \"./warnOnce\";\n\nexport interface NavIdProps {\n /** Уникальный идентификатор навигационного элемента (вместо id) */\n nav?: string;\n id?: string;\n}\n\nexport function getNavId(props: NavIdProps, warn?: WarnOnceHandler) {\n const id = props.nav || props.id;\n if (process.env.NODE_ENV === \"development\" && !id && warn) {\n warn('Навигационный элемент должен иметь свойство \"nav\" или \"id\"', \"error\");\n }\n return id;\n}\n"],"file":"getNavId.js"}
@@ -1,4 +1,6 @@
1
1
  import { computeBrowserInfo } from "./browser";
2
+ import { querystring } from "@vkontakte/vkjs";
3
+ import { canUseDOM } from "./dom";
2
4
  export var Platform;
3
5
 
4
6
  (function (Platform) {
@@ -7,10 +9,34 @@ export var Platform;
7
9
  Platform["VKCOM"] = "vkcom";
8
10
  })(Platform || (Platform = {}));
9
11
 
12
+ var PLATFORM_ALIAS = {
13
+ desktop_web: Platform.VKCOM
14
+ };
15
+
16
+ function isPlatformAlias(platformAlias) {
17
+ return platformAlias in PLATFORM_ALIAS;
18
+ }
19
+ /**
20
+ * Значение, которое передаётся в качестве query-параметра при открытии VK Mini Apps
21
+ * @see {@link https://dev.vk.com/mini-apps/development/launch-params#vk_platform vk_platform}
22
+ */
23
+
24
+
25
+ function getPlatformByQueryString(queryString) {
26
+ var parsedQuery = querystring.parse(queryString);
27
+ var platformAliasByQuery = parsedQuery["vk_platform"];
28
+ return typeof platformAliasByQuery === "string" && isPlatformAlias(platformAliasByQuery) ? PLATFORM_ALIAS[platformAliasByQuery] : undefined;
29
+ }
30
+
31
+ var platformByQueryString = canUseDOM ? getPlatformByQueryString(location.search) : undefined;
10
32
  export var ANDROID = Platform.ANDROID;
11
33
  export var IOS = Platform.IOS;
12
34
  export var VKCOM = Platform.VKCOM;
13
35
  export function platform(browserInfo) {
36
+ if (platformByQueryString) {
37
+ return platformByQueryString;
38
+ }
39
+
14
40
  if (!browserInfo) {
15
41
  browserInfo = computeBrowserInfo();
16
42
  }