@megafon/ui-core 5.18.1 → 6.0.0-beta.2

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 (482) hide show
  1. package/dist/es/colors/ColorItem/ColorItem.css +1 -45
  2. package/dist/es/colors/ColorItem/ColorItem.d.ts +2 -2
  3. package/dist/es/colors/ColorItem/ColorItem.js +5 -7
  4. package/dist/es/colors/Colors.css +1 -233
  5. package/dist/es/colors/Colors.d.ts +1 -1
  6. package/dist/es/colors/Colors.js +33 -55
  7. package/dist/es/colors/colorsData.d.ts +4 -4
  8. package/dist/es/components/Accordion/Accordion.css +1 -89
  9. package/dist/es/components/Accordion/Accordion.d.ts +2 -1
  10. package/dist/es/components/Accordion/Accordion.js +22 -65
  11. package/dist/es/components/Avatar/Avatar.css +1 -52
  12. package/dist/es/components/Avatar/Avatar.d.ts +1 -1
  13. package/dist/es/components/Avatar/Avatar.js +9 -27
  14. package/dist/{lib/components/Badges/components → es/components/Badges}/CounterBadge/CounterBadge.d.ts +2 -2
  15. package/dist/es/components/Badges/{components/CounterBadge → CounterBadge}/CounterBadge.js +10 -28
  16. package/dist/{lib/components/Badges/components → es/components/Badges}/NotificationBadge/NotificationBadge.d.ts +3 -3
  17. package/dist/es/components/Badges/{components/NotificationBadge → NotificationBadge}/NotificationBadge.js +8 -22
  18. package/dist/es/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.d.ts +4 -4
  19. package/dist/es/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.js +11 -54
  20. package/dist/es/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.d.ts +3 -3
  21. package/dist/es/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.js +7 -21
  22. package/dist/es/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.d.ts +2 -2
  23. package/dist/es/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.js +22 -45
  24. package/dist/es/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.js +5 -32
  25. package/dist/es/components/Banner/Banner.d.ts +5 -4
  26. package/dist/es/components/Banner/Banner.js +62 -127
  27. package/dist/es/components/Banner/BannerDot.d.ts +1 -1
  28. package/dist/es/components/Banner/BannerDot.js +6 -22
  29. package/dist/es/components/Banner/slidesSettings.d.ts +4 -2
  30. package/dist/es/components/Banner/slidesSettings.js +3 -6
  31. package/dist/es/components/Button/Button.d.ts +7 -6
  32. package/dist/es/components/Button/Button.js +44 -104
  33. package/dist/es/components/Calendar/Calendar.d.ts +2 -2
  34. package/dist/es/components/Calendar/Calendar.js +60 -114
  35. package/dist/{lib/components/Calendar/components/Day → es/components/Calendar/components/_Day}/Day.d.ts +4 -4
  36. package/dist/es/components/Calendar/components/{Day → _Day}/Day.js +19 -50
  37. package/dist/es/components/Calendar/components/{Month → _Month}/Month.d.ts +3 -2
  38. package/dist/es/components/Calendar/components/{Month → _Month}/Month.js +9 -33
  39. package/dist/es/components/Caption/Caption.d.ts +4 -2
  40. package/dist/es/components/Caption/Caption.js +11 -25
  41. package/dist/es/components/Carousel/Carousel.d.ts +11 -10
  42. package/dist/es/components/Carousel/Carousel.js +104 -161
  43. package/dist/es/components/Carousel/checkBreakpointsPropTypes.d.ts +1 -1
  44. package/dist/es/components/Carousel/checkBreakpointsPropTypes.js +1 -4
  45. package/dist/es/components/Carousel/useGradient.d.ts +1 -1
  46. package/dist/es/components/Carousel/useGradient.js +9 -13
  47. package/dist/es/components/Checkbox/Checkbox.d.ts +4 -4
  48. package/dist/es/components/Checkbox/Checkbox.js +21 -50
  49. package/dist/es/components/Chips/Chip.d.ts +6 -26
  50. package/dist/es/components/Chips/Chip.js +17 -42
  51. package/dist/es/components/Chips/Chips.d.ts +2 -2
  52. package/dist/es/components/Chips/Chips.js +32 -56
  53. package/dist/es/components/Chips/components/ChipsDropdown.d.ts +2 -2
  54. package/dist/es/components/Chips/components/ChipsDropdown.js +12 -27
  55. package/dist/es/components/ContentArea/ContentArea.d.ts +5 -4
  56. package/dist/es/components/ContentArea/ContentArea.js +9 -28
  57. package/dist/es/components/ContentView/ContentView.d.ts +3 -2
  58. package/dist/es/components/ContentView/ContentView.js +12 -46
  59. package/dist/es/components/Counter/Counter.d.ts +1 -1
  60. package/dist/es/components/Counter/Counter.js +20 -55
  61. package/dist/es/components/Grid/Grid.d.ts +1 -1
  62. package/dist/es/components/Grid/Grid.js +8 -24
  63. package/dist/es/components/Grid/GridColumn.d.ts +2 -2
  64. package/dist/es/components/Grid/GridColumn.js +33 -62
  65. package/dist/es/components/Header/Header.d.ts +3 -1
  66. package/dist/es/components/Header/Header.js +13 -28
  67. package/dist/es/components/Link/Link.d.ts +2 -2
  68. package/dist/es/components/Link/Link.js +9 -25
  69. package/dist/es/components/List/List.d.ts +2 -1
  70. package/dist/es/components/List/List.js +8 -18
  71. package/dist/es/components/List/ListItem.d.ts +2 -1
  72. package/dist/es/components/List/ListItem.js +1 -7
  73. package/dist/es/components/ListData/ListData.d.ts +6 -34
  74. package/dist/es/components/ListData/ListData.js +22 -65
  75. package/dist/es/components/ListData/ListDataGroup.d.ts +4 -4
  76. package/dist/es/components/ListData/ListDataGroup.js +29 -74
  77. package/dist/es/components/ListData/components/ListDataSortable.d.ts +4 -4
  78. package/dist/es/components/ListData/components/ListDataSortable.js +21 -42
  79. package/dist/es/components/ListData/helpers.js +1 -8
  80. package/dist/es/components/Logo/Logo.d.ts +1 -1
  81. package/dist/es/components/Logo/Logo.js +9 -25
  82. package/dist/es/components/Modal/Modal.d.ts +104 -0
  83. package/dist/es/components/Modal/Modal.js +289 -0
  84. package/dist/es/components/Modal/_ModalContent/ModalContent.d.ts +8 -0
  85. package/dist/es/components/Modal/_ModalContent/ModalContent.js +166 -0
  86. package/dist/es/components/Modal/_ModalDesktop/ModalDesktop.d.ts +8 -0
  87. package/dist/es/components/Modal/_ModalDesktop/ModalDesktop.js +32 -0
  88. package/dist/es/components/Modal/_ModalMobileBottom/ModalMobileBottom.d.ts +12 -0
  89. package/dist/es/components/Modal/_ModalMobileBottom/ModalMobileBottom.js +114 -0
  90. package/dist/es/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.d.ts +8 -0
  91. package/dist/es/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.js +58 -0
  92. package/dist/es/components/Modal/mocks.d.ts +3 -0
  93. package/dist/es/components/Modal/mocks.js +75 -0
  94. package/dist/es/components/Modal/types.d.ts +28 -0
  95. package/dist/es/components/Modal/types.js +1 -0
  96. package/dist/es/components/Modal/utils/utils.d.ts +18 -0
  97. package/dist/es/components/Modal/utils/utils.js +66 -0
  98. package/dist/es/components/NavArrow/NavArrow.d.ts +3 -3
  99. package/dist/es/components/NavArrow/NavArrow.js +8 -28
  100. package/dist/es/components/Notification/Notification.d.ts +5 -4
  101. package/dist/es/components/Notification/Notification.js +61 -131
  102. package/dist/es/components/Pagination/Pagination.d.ts +4 -3
  103. package/dist/es/components/Pagination/Pagination.js +7 -22
  104. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.d.ts +5 -4
  105. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.js +10 -26
  106. package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.d.ts +3 -2
  107. package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.js +5 -22
  108. package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.d.ts +3 -2
  109. package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +7 -23
  110. package/dist/es/components/Pagination/helpers.js +0 -3
  111. package/dist/es/components/Pagination/usePagination.d.ts +2 -1
  112. package/dist/es/components/Pagination/usePagination.js +6 -18
  113. package/dist/es/components/Paragraph/Paragraph.d.ts +4 -2
  114. package/dist/es/components/Paragraph/Paragraph.js +9 -22
  115. package/dist/es/components/Preloader/Preloader.d.ts +3 -3
  116. package/dist/es/components/Preloader/Preloader.js +16 -36
  117. package/dist/es/components/RadioButton/RadioButton.d.ts +1 -1
  118. package/dist/es/components/RadioButton/RadioButton.js +18 -50
  119. package/dist/es/components/Row/Row.d.ts +2 -2
  120. package/dist/es/components/Row/Row.js +23 -48
  121. package/dist/es/components/ScrollBar/ScrollBar.d.ts +34 -0
  122. package/dist/es/components/ScrollBar/ScrollBar.js +86 -0
  123. package/dist/es/components/Search/Search.d.ts +7 -8
  124. package/dist/es/components/Search/Search.js +54 -149
  125. package/dist/es/components/Select/Select.d.ts +8 -84
  126. package/dist/es/components/Select/Select.js +52 -142
  127. package/dist/es/components/Select/reducer/selectReducer.d.ts +1 -1
  128. package/dist/es/components/Select/reducer/selectReducer.js +18 -32
  129. package/dist/es/components/Selector/Selector.d.ts +1 -1
  130. package/dist/es/components/Selector/Selector.js +23 -50
  131. package/dist/es/components/Sliders/Slider/Slider.d.ts +1 -1
  132. package/dist/es/components/Sliders/Slider/Slider.js +25 -56
  133. package/dist/es/components/Sliders/SliderRange/SliderRange.d.ts +1 -1
  134. package/dist/es/components/Sliders/SliderRange/SliderRange.js +33 -80
  135. package/dist/es/components/Sliders/SliderRange/helpers.js +0 -2
  136. package/dist/es/components/Sliders/SliderRatio/SliderRatio.d.ts +1 -1
  137. package/dist/es/components/Sliders/SliderRatio/SliderRatio.js +36 -85
  138. package/dist/es/components/Sliders/SliderRatio/helpers.js +1 -1
  139. package/dist/es/components/Sliders/SliderRatio/types.d.ts +1 -1
  140. package/dist/es/components/Sliders/SliderRatio/types.js +0 -1
  141. package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.d.ts +2 -2
  142. package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +11 -35
  143. package/dist/es/components/Sliders/components/SliderScale/SliderScale.d.ts +2 -2
  144. package/dist/es/components/Sliders/components/SliderScale/SliderScale.js +6 -20
  145. package/dist/es/components/Sliders/components/SliderScale/helpers.js +12 -16
  146. package/dist/es/components/Sliders/helpers.js +1 -5
  147. package/dist/es/components/Snackbar/Snackbar.d.ts +3 -3
  148. package/dist/es/components/Snackbar/Snackbar.js +44 -82
  149. package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +3 -3
  150. package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.js +9 -17
  151. package/dist/es/components/Switcher/Switcher.d.ts +2 -1
  152. package/dist/es/components/Switcher/Switcher.js +17 -39
  153. package/dist/es/components/Tabs/Tab.js +0 -14
  154. package/dist/es/components/Tabs/Tabs.d.ts +6 -5
  155. package/dist/es/components/Tabs/Tabs.js +85 -158
  156. package/dist/es/components/TextField/TextField.d.ts +3 -3
  157. package/dist/es/components/TextField/TextField.js +80 -188
  158. package/dist/es/components/TextField/utils/countGraphemes.js +10 -18
  159. package/dist/es/components/TextLink/TextLink.d.ts +2 -2
  160. package/dist/es/components/TextLink/TextLink.js +14 -27
  161. package/dist/es/components/Tile/Tile.d.ts +7 -5
  162. package/dist/es/components/Tile/Tile.js +16 -36
  163. package/dist/es/components/Tooltip/Tooltip.d.ts +9 -8
  164. package/dist/es/components/Tooltip/Tooltip.js +58 -139
  165. package/dist/{lib/components/Collapse → es/components/_Collapse}/Collapse.d.ts +3 -3
  166. package/dist/es/components/{Collapse → _Collapse}/Collapse.js +25 -62
  167. package/dist/es/hooks/usePrevious.js +0 -2
  168. package/dist/es/hooks/useResolution.d.ts +1 -1
  169. package/dist/es/hooks/useResolution.js +4 -10
  170. package/dist/es/hooks/useSwipe.d.ts +1 -1
  171. package/dist/es/hooks/useSwipe.js +17 -44
  172. package/dist/es/index.d.ts +16 -9
  173. package/dist/es/index.js +17 -10
  174. package/dist/es/styles/base.css +1 -0
  175. package/dist/lib/colors/ColorItem/ColorItem.css +1 -45
  176. package/dist/lib/colors/ColorItem/ColorItem.d.ts +2 -2
  177. package/dist/lib/colors/ColorItem/ColorItem.js +9 -18
  178. package/dist/lib/colors/Colors.css +1 -233
  179. package/dist/lib/colors/Colors.d.ts +1 -1
  180. package/dist/lib/colors/Colors.js +37 -79
  181. package/dist/lib/colors/colorsData.d.ts +4 -4
  182. package/dist/lib/colors/colorsData.js +1 -2
  183. package/dist/lib/components/Accordion/Accordion.css +1 -89
  184. package/dist/lib/components/Accordion/Accordion.d.ts +2 -1
  185. package/dist/lib/components/Accordion/Accordion.js +26 -81
  186. package/dist/lib/components/Avatar/Avatar.css +1 -52
  187. package/dist/lib/components/Avatar/Avatar.d.ts +1 -1
  188. package/dist/lib/components/Avatar/Avatar.js +13 -41
  189. package/dist/{es/components/Badges/components → lib/components/Badges}/CounterBadge/CounterBadge.d.ts +2 -2
  190. package/dist/lib/components/Badges/CounterBadge/CounterBadge.js +52 -0
  191. package/dist/{es/components/Badges/components → lib/components/Badges}/NotificationBadge/NotificationBadge.d.ts +3 -3
  192. package/dist/lib/components/Badges/NotificationBadge/NotificationBadge.js +43 -0
  193. package/dist/lib/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.d.ts +4 -4
  194. package/dist/lib/components/Badges/{components/PriceBadge → PriceBadge}/PriceBadge.js +19 -75
  195. package/dist/lib/components/Badges/{components/PromoBadge → PromoBadge}/PromoBadge.d.ts +3 -3
  196. package/dist/lib/components/Badges/PromoBadge/PromoBadge.js +49 -0
  197. package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge}/TimerBadge.d.ts +2 -2
  198. package/dist/lib/components/Badges/TimerBadge/TimerBadge.js +97 -0
  199. package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.js +11 -55
  200. package/dist/lib/components/Banner/Banner.d.ts +5 -4
  201. package/dist/lib/components/Banner/Banner.js +70 -158
  202. package/dist/lib/components/Banner/BannerDot.d.ts +1 -1
  203. package/dist/lib/components/Banner/BannerDot.js +10 -36
  204. package/dist/lib/components/Banner/slidesSettings.d.ts +4 -2
  205. package/dist/lib/components/Banner/slidesSettings.js +4 -11
  206. package/dist/lib/components/Button/Button.d.ts +7 -6
  207. package/dist/lib/components/Button/Button.js +70 -157
  208. package/dist/lib/components/Calendar/Calendar.d.ts +2 -2
  209. package/dist/lib/components/Calendar/Calendar.js +70 -148
  210. package/dist/{es/components/Calendar/components/Day → lib/components/Calendar/components/_Day}/Day.d.ts +4 -4
  211. package/dist/lib/components/Calendar/components/_Day/Day.js +75 -0
  212. package/dist/lib/components/Calendar/components/{Month → _Month}/Month.d.ts +3 -2
  213. package/dist/lib/components/Calendar/components/_Month/Month.js +93 -0
  214. package/dist/lib/components/Caption/Caption.d.ts +4 -2
  215. package/dist/lib/components/Caption/Caption.js +15 -40
  216. package/dist/lib/components/Carousel/Carousel.d.ts +11 -10
  217. package/dist/lib/components/Carousel/Carousel.js +195 -226
  218. package/dist/lib/components/Carousel/checkBreakpointsPropTypes.d.ts +1 -1
  219. package/dist/lib/components/Carousel/checkBreakpointsPropTypes.js +5 -17
  220. package/dist/lib/components/Carousel/useGradient.d.ts +1 -1
  221. package/dist/lib/components/Carousel/useGradient.js +11 -24
  222. package/dist/lib/components/Checkbox/Checkbox.d.ts +4 -4
  223. package/dist/lib/components/Checkbox/Checkbox.js +34 -74
  224. package/dist/lib/components/Chips/Chip.d.ts +6 -26
  225. package/dist/lib/components/Chips/Chip.js +35 -75
  226. package/dist/lib/components/Chips/Chips.d.ts +2 -2
  227. package/dist/lib/components/Chips/Chips.js +46 -91
  228. package/dist/lib/components/Chips/components/ChipsDropdown.d.ts +2 -2
  229. package/dist/lib/components/Chips/components/ChipsDropdown.js +30 -66
  230. package/dist/lib/components/ContentArea/ContentArea.d.ts +5 -4
  231. package/dist/lib/components/ContentArea/ContentArea.js +13 -43
  232. package/dist/lib/components/ContentView/ContentView.d.ts +3 -2
  233. package/dist/lib/components/ContentView/ContentView.js +16 -62
  234. package/dist/lib/components/Counter/Counter.d.ts +1 -1
  235. package/dist/lib/components/Counter/Counter.js +24 -70
  236. package/dist/lib/components/Grid/Grid.d.ts +1 -1
  237. package/dist/lib/components/Grid/Grid.js +12 -39
  238. package/dist/lib/components/Grid/GridColumn.d.ts +2 -2
  239. package/dist/lib/components/Grid/GridColumn.js +37 -76
  240. package/dist/lib/components/Header/Header.d.ts +3 -1
  241. package/dist/lib/components/Header/Header.js +17 -42
  242. package/dist/lib/components/Link/Link.d.ts +2 -2
  243. package/dist/lib/components/Link/Link.js +14 -33
  244. package/dist/lib/components/List/List.d.ts +2 -1
  245. package/dist/lib/components/List/List.js +12 -30
  246. package/dist/lib/components/List/ListItem.d.ts +2 -1
  247. package/dist/lib/components/List/ListItem.js +5 -19
  248. package/dist/lib/components/ListData/ListData.d.ts +6 -34
  249. package/dist/lib/components/ListData/ListData.js +50 -110
  250. package/dist/lib/components/ListData/ListDataGroup.d.ts +4 -4
  251. package/dist/lib/components/ListData/ListDataGroup.js +47 -117
  252. package/dist/lib/components/ListData/components/ListDataSortable.d.ts +4 -4
  253. package/dist/lib/components/ListData/components/ListDataSortable.js +34 -73
  254. package/dist/lib/components/ListData/helpers.js +6 -24
  255. package/dist/lib/components/Logo/Logo.d.ts +1 -1
  256. package/dist/lib/components/Logo/Logo.js +13 -40
  257. package/dist/lib/components/Modal/Modal.d.ts +104 -0
  258. package/dist/lib/components/Modal/Modal.js +298 -0
  259. package/dist/lib/components/Modal/_ModalContent/ModalContent.d.ts +8 -0
  260. package/dist/lib/components/Modal/_ModalContent/ModalContent.js +175 -0
  261. package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.d.ts +8 -0
  262. package/dist/lib/components/Modal/_ModalDesktop/ModalDesktop.js +41 -0
  263. package/dist/lib/components/Modal/_ModalMobileBottom/ModalMobileBottom.d.ts +12 -0
  264. package/dist/lib/components/Modal/_ModalMobileBottom/ModalMobileBottom.js +123 -0
  265. package/dist/lib/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.d.ts +8 -0
  266. package/dist/lib/components/Modal/_ModalMobileFullScreen/ModalMobileFullScreen.js +67 -0
  267. package/dist/lib/components/Modal/mocks.d.ts +3 -0
  268. package/dist/lib/components/Modal/mocks.js +81 -0
  269. package/dist/lib/components/Modal/types.d.ts +28 -0
  270. package/dist/lib/components/Modal/types.js +5 -0
  271. package/dist/lib/components/Modal/utils/utils.d.ts +18 -0
  272. package/dist/lib/components/Modal/utils/utils.js +72 -0
  273. package/dist/lib/components/NavArrow/NavArrow.d.ts +3 -3
  274. package/dist/lib/components/NavArrow/NavArrow.js +14 -46
  275. package/dist/lib/components/Notification/Notification.d.ts +5 -4
  276. package/dist/lib/components/Notification/Notification.js +113 -200
  277. package/dist/lib/components/Pagination/Pagination.d.ts +4 -3
  278. package/dist/lib/components/Pagination/Pagination.js +18 -50
  279. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.d.ts +5 -4
  280. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.js +11 -34
  281. package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.d.ts +3 -2
  282. package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.js +6 -31
  283. package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.d.ts +3 -2
  284. package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.js +8 -31
  285. package/dist/lib/components/Pagination/helpers.js +1 -6
  286. package/dist/lib/components/Pagination/usePagination.d.ts +2 -1
  287. package/dist/lib/components/Pagination/usePagination.js +9 -35
  288. package/dist/lib/components/Paragraph/Paragraph.d.ts +4 -2
  289. package/dist/lib/components/Paragraph/Paragraph.js +13 -37
  290. package/dist/lib/components/Preloader/Preloader.d.ts +3 -3
  291. package/dist/lib/components/Preloader/Preloader.js +22 -57
  292. package/dist/lib/components/RadioButton/RadioButton.d.ts +1 -1
  293. package/dist/lib/components/RadioButton/RadioButton.js +22 -69
  294. package/dist/lib/components/Row/Row.d.ts +2 -2
  295. package/dist/lib/components/Row/Row.js +39 -75
  296. package/dist/lib/components/ScrollBar/ScrollBar.d.ts +34 -0
  297. package/dist/lib/components/ScrollBar/ScrollBar.js +94 -0
  298. package/dist/lib/components/Search/Search.d.ts +7 -8
  299. package/dist/lib/components/Search/Search.js +121 -261
  300. package/dist/lib/components/Select/Select.d.ts +8 -84
  301. package/dist/lib/components/Select/Select.js +69 -186
  302. package/dist/lib/components/Select/reducer/selectReducer.d.ts +1 -1
  303. package/dist/lib/components/Select/reducer/selectReducer.js +21 -41
  304. package/dist/lib/components/Selector/Selector.d.ts +1 -1
  305. package/dist/lib/components/Selector/Selector.js +27 -70
  306. package/dist/lib/components/Sliders/Slider/Slider.d.ts +1 -1
  307. package/dist/lib/components/Sliders/Slider/Slider.js +29 -75
  308. package/dist/lib/components/Sliders/SliderRange/SliderRange.d.ts +1 -1
  309. package/dist/lib/components/Sliders/SliderRange/SliderRange.js +37 -100
  310. package/dist/lib/components/Sliders/SliderRange/helpers.js +5 -18
  311. package/dist/lib/components/Sliders/SliderRatio/SliderRatio.d.ts +1 -1
  312. package/dist/lib/components/Sliders/SliderRatio/SliderRatio.js +40 -111
  313. package/dist/lib/components/Sliders/SliderRatio/helpers.js +8 -27
  314. package/dist/lib/components/Sliders/SliderRatio/types.d.ts +1 -1
  315. package/dist/lib/components/Sliders/SliderRatio/types.js +0 -2
  316. package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.d.ts +2 -2
  317. package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.js +17 -56
  318. package/dist/lib/components/Sliders/components/SliderScale/SliderScale.d.ts +2 -2
  319. package/dist/lib/components/Sliders/components/SliderScale/SliderScale.js +11 -39
  320. package/dist/lib/components/Sliders/components/SliderScale/helpers.js +15 -33
  321. package/dist/lib/components/Sliders/helpers.js +5 -22
  322. package/dist/lib/components/Snackbar/Snackbar.d.ts +3 -3
  323. package/dist/lib/components/Snackbar/Snackbar.js +81 -138
  324. package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.d.ts +3 -3
  325. package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.js +17 -36
  326. package/dist/lib/components/Switcher/Switcher.d.ts +2 -1
  327. package/dist/lib/components/Switcher/Switcher.js +21 -52
  328. package/dist/lib/components/Tabs/Tab.js +5 -26
  329. package/dist/lib/components/Tabs/Tabs.d.ts +6 -5
  330. package/dist/lib/components/Tabs/Tabs.js +93 -189
  331. package/dist/lib/components/TextField/TextField.d.ts +3 -3
  332. package/dist/lib/components/TextField/TextField.js +113 -238
  333. package/dist/lib/components/TextField/utils/countGraphemes.js +11 -28
  334. package/dist/lib/components/TextLink/TextLink.d.ts +2 -2
  335. package/dist/lib/components/TextLink/TextLink.js +18 -41
  336. package/dist/lib/components/Tile/Tile.d.ts +7 -5
  337. package/dist/lib/components/Tile/Tile.js +26 -54
  338. package/dist/lib/components/Tooltip/Tooltip.d.ts +9 -8
  339. package/dist/lib/components/Tooltip/Tooltip.js +110 -218
  340. package/dist/{es/components/Collapse → lib/components/_Collapse}/Collapse.d.ts +3 -3
  341. package/dist/lib/components/_Collapse/Collapse.js +95 -0
  342. package/dist/lib/constants/throttleTime.js +2 -3
  343. package/dist/lib/hooks/usePrevious.js +4 -11
  344. package/dist/lib/hooks/useResolution.d.ts +1 -1
  345. package/dist/lib/hooks/useResolution.js +8 -22
  346. package/dist/lib/hooks/useSwipe.d.ts +1 -1
  347. package/dist/lib/hooks/useSwipe.js +21 -63
  348. package/dist/lib/index.d.ts +16 -9
  349. package/dist/lib/index.js +82 -101
  350. package/dist/lib/styles/base.css +1 -0
  351. package/package.json +106 -101
  352. package/styles/base.scss +150 -0
  353. package/styles/colors.css +53 -0
  354. package/CHANGELOG.md +0 -3987
  355. package/dist/es/components/Avatar/doc/i/img.png +0 -0
  356. package/dist/es/components/Badges/components/CounterBadge/CounterBadge.css +0 -54
  357. package/dist/es/components/Badges/components/NotificationBadge/NotificationBadge.css +0 -49
  358. package/dist/es/components/Badges/components/PriceBadge/PriceBadge.css +0 -119
  359. package/dist/es/components/Badges/components/PromoBadge/PromoBadge.css +0 -64
  360. package/dist/es/components/Badges/components/TimerBadge/TimerBadge.css +0 -60
  361. package/dist/es/components/Banner/Banner.css +0 -195
  362. package/dist/es/components/Banner/BannerDot.css +0 -69
  363. package/dist/es/components/Button/Button.css +0 -814
  364. package/dist/es/components/Calendar/Calendar.css +0 -5
  365. package/dist/es/components/Calendar/components/Day/Day.css +0 -128
  366. package/dist/es/components/Calendar/components/Month/Month.css +0 -81
  367. package/dist/es/components/Caption/Caption.css +0 -48
  368. package/dist/es/components/Carousel/Carousel.css +0 -215
  369. package/dist/es/components/Checkbox/Checkbox.css +0 -150
  370. package/dist/es/components/Chips/Chip.css +0 -132
  371. package/dist/es/components/Chips/Chips.css +0 -19
  372. package/dist/es/components/Chips/components/ChipsDropdown.css +0 -106
  373. package/dist/es/components/Collapse/Collapse.css +0 -3
  374. package/dist/es/components/ContentArea/ContentArea.css +0 -109
  375. package/dist/es/components/ContentView/ContentView.css +0 -103
  376. package/dist/es/components/Counter/Counter.css +0 -123
  377. package/dist/es/components/Grid/Grid.css +0 -102
  378. package/dist/es/components/Grid/GridColumn.css +0 -3102
  379. package/dist/es/components/Header/Header.css +0 -122
  380. package/dist/es/components/List/List.css +0 -66
  381. package/dist/es/components/List/ListItem.css +0 -6
  382. package/dist/es/components/ListData/ListData.css +0 -162
  383. package/dist/es/components/ListData/ListDataGroup.css +0 -15
  384. package/dist/es/components/ListData/components/ListDataSortable.css +0 -79
  385. package/dist/es/components/ListData/doc/i/img.png +0 -0
  386. package/dist/es/components/Logo/Logo.css +0 -43
  387. package/dist/es/components/NavArrow/NavArrow.css +0 -63
  388. package/dist/es/components/Notification/Notification.css +0 -350
  389. package/dist/es/components/Pagination/Pagination.css +0 -5
  390. package/dist/es/components/Pagination/components/PaginationButton/PaginationButton.css +0 -62
  391. package/dist/es/components/Pagination/components/PaginationButtons/PaginationButtons.css +0 -10
  392. package/dist/es/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +0 -17
  393. package/dist/es/components/Paragraph/Paragraph.css +0 -43
  394. package/dist/es/components/Preloader/Preloader.css +0 -224
  395. package/dist/es/components/RadioButton/RadioButton.css +0 -120
  396. package/dist/es/components/Row/Row.css +0 -238
  397. package/dist/es/components/Search/Search.css +0 -453
  398. package/dist/es/components/Select/Select.css +0 -389
  399. package/dist/es/components/Selector/Selector.css +0 -132
  400. package/dist/es/components/Selector/doc/Selector.example.css +0 -17
  401. package/dist/es/components/Sliders/Slider/Slider.css +0 -128
  402. package/dist/es/components/Sliders/SliderRange/SliderRange.css +0 -169
  403. package/dist/es/components/Sliders/SliderRatio/SliderRatio.css +0 -219
  404. package/dist/es/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +0 -84
  405. package/dist/es/components/Sliders/components/SliderScale/SliderScale.css +0 -15
  406. package/dist/es/components/Snackbar/Snackbar.css +0 -220
  407. package/dist/es/components/Snackbar/SnackbarTimer/SnackbarTimer.css +0 -66
  408. package/dist/es/components/Switcher/Switcher.css +0 -160
  409. package/dist/es/components/Tabs/Tabs.css +0 -297
  410. package/dist/es/components/TextField/TextField.css +0 -343
  411. package/dist/es/components/TextLink/TextLink.css +0 -50
  412. package/dist/es/components/Tile/Tile.css +0 -43
  413. package/dist/es/components/Tooltip/Tooltip.css +0 -335
  414. package/dist/lib/components/Avatar/doc/i/img.png +0 -0
  415. package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.css +0 -54
  416. package/dist/lib/components/Badges/components/CounterBadge/CounterBadge.js +0 -81
  417. package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.css +0 -49
  418. package/dist/lib/components/Badges/components/NotificationBadge/NotificationBadge.js +0 -70
  419. package/dist/lib/components/Badges/components/PriceBadge/PriceBadge.css +0 -119
  420. package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.css +0 -64
  421. package/dist/lib/components/Badges/components/PromoBadge/PromoBadge.js +0 -76
  422. package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.css +0 -60
  423. package/dist/lib/components/Badges/components/TimerBadge/TimerBadge.js +0 -135
  424. package/dist/lib/components/Banner/Banner.css +0 -195
  425. package/dist/lib/components/Banner/BannerDot.css +0 -69
  426. package/dist/lib/components/Button/Button.css +0 -814
  427. package/dist/lib/components/Calendar/Calendar.css +0 -5
  428. package/dist/lib/components/Calendar/components/Day/Day.css +0 -128
  429. package/dist/lib/components/Calendar/components/Day/Day.js +0 -117
  430. package/dist/lib/components/Calendar/components/Month/Month.css +0 -81
  431. package/dist/lib/components/Calendar/components/Month/Month.js +0 -122
  432. package/dist/lib/components/Caption/Caption.css +0 -48
  433. package/dist/lib/components/Carousel/Carousel.css +0 -215
  434. package/dist/lib/components/Checkbox/Checkbox.css +0 -150
  435. package/dist/lib/components/Chips/Chip.css +0 -132
  436. package/dist/lib/components/Chips/Chips.css +0 -19
  437. package/dist/lib/components/Chips/components/ChipsDropdown.css +0 -106
  438. package/dist/lib/components/Collapse/Collapse.css +0 -3
  439. package/dist/lib/components/Collapse/Collapse.js +0 -141
  440. package/dist/lib/components/ContentArea/ContentArea.css +0 -109
  441. package/dist/lib/components/ContentView/ContentView.css +0 -103
  442. package/dist/lib/components/Counter/Counter.css +0 -123
  443. package/dist/lib/components/Grid/Grid.css +0 -102
  444. package/dist/lib/components/Grid/GridColumn.css +0 -3102
  445. package/dist/lib/components/Header/Header.css +0 -122
  446. package/dist/lib/components/List/List.css +0 -66
  447. package/dist/lib/components/List/ListItem.css +0 -6
  448. package/dist/lib/components/ListData/ListData.css +0 -162
  449. package/dist/lib/components/ListData/ListDataGroup.css +0 -15
  450. package/dist/lib/components/ListData/components/ListDataSortable.css +0 -79
  451. package/dist/lib/components/ListData/doc/i/img.png +0 -0
  452. package/dist/lib/components/Logo/Logo.css +0 -43
  453. package/dist/lib/components/NavArrow/NavArrow.css +0 -63
  454. package/dist/lib/components/Notification/Notification.css +0 -350
  455. package/dist/lib/components/Pagination/Pagination.css +0 -5
  456. package/dist/lib/components/Pagination/components/PaginationButton/PaginationButton.css +0 -62
  457. package/dist/lib/components/Pagination/components/PaginationButtons/PaginationButtons.css +0 -10
  458. package/dist/lib/components/Pagination/components/PaginationNavigation/PaginationNavigation.css +0 -17
  459. package/dist/lib/components/Paragraph/Paragraph.css +0 -43
  460. package/dist/lib/components/Preloader/Preloader.css +0 -224
  461. package/dist/lib/components/RadioButton/RadioButton.css +0 -120
  462. package/dist/lib/components/Row/Row.css +0 -238
  463. package/dist/lib/components/Search/Search.css +0 -453
  464. package/dist/lib/components/Select/Select.css +0 -389
  465. package/dist/lib/components/Selector/Selector.css +0 -132
  466. package/dist/lib/components/Selector/doc/Selector.example.css +0 -17
  467. package/dist/lib/components/Sliders/Slider/Slider.css +0 -128
  468. package/dist/lib/components/Sliders/SliderRange/SliderRange.css +0 -169
  469. package/dist/lib/components/Sliders/SliderRatio/SliderRatio.css +0 -219
  470. package/dist/lib/components/Sliders/components/SliderDisplayValue/SliderDisplayValue.css +0 -84
  471. package/dist/lib/components/Sliders/components/SliderScale/SliderScale.css +0 -15
  472. package/dist/lib/components/Snackbar/Snackbar.css +0 -220
  473. package/dist/lib/components/Snackbar/SnackbarTimer/SnackbarTimer.css +0 -66
  474. package/dist/lib/components/Switcher/Switcher.css +0 -160
  475. package/dist/lib/components/Tabs/Tabs.css +0 -297
  476. package/dist/lib/components/TextField/TextField.css +0 -343
  477. package/dist/lib/components/TextLink/TextLink.css +0 -50
  478. package/dist/lib/components/Tile/Tile.css +0 -43
  479. package/dist/lib/components/Tooltip/Tooltip.css +0 -335
  480. package/styles/base.less +0 -171
  481. /package/dist/es/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.d.ts +0 -0
  482. /package/dist/lib/components/Badges/{components/TimerBadge → TimerBadge/components}/Timer/Timer.d.ts +0 -0
@@ -1,350 +0,0 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
- .mfui-notification {
9
- position: relative;
10
- padding: 20px 12px 20px 32px;
11
- border-radius: 12px;
12
- background-color: var(--base);
13
- }
14
- @media screen and (max-width: 767px) {
15
- .mfui-notification {
16
- padding: 16px 12px;
17
- }
18
- }
19
- .mfui-notification__container {
20
- display: -webkit-box;
21
- display: -ms-flexbox;
22
- display: flex;
23
- }
24
- .mfui-notification__title {
25
- display: block;
26
- margin-bottom: 4px;
27
- color: var(--content);
28
- font-weight: 500;
29
- font-size: 15px;
30
- line-height: 18px;
31
- }
32
- @media screen and (min-width: 1280px) {
33
- .mfui-notification__title {
34
- line-height: 24px;
35
- }
36
- }
37
- .mfui-notification__title_close-padding {
38
- padding-right: 20px;
39
- }
40
- .mfui-notification__text {
41
- font-size: 12px;
42
- line-height: 18px;
43
- position: relative;
44
- max-width: 100%;
45
- margin: 0;
46
- color: var(--content);
47
- -webkit-transition: height 300ms;
48
- transition: height 300ms;
49
- }
50
- @media screen and (min-width: 768px) {
51
- .mfui-notification__text {
52
- font-size: 15px;
53
- line-height: 24px;
54
- }
55
- }
56
- .mfui-notification__short-text {
57
- position: static;
58
- visibility: visible;
59
- opacity: 1;
60
- -webkit-transition: opacity 200ms;
61
- transition: opacity 200ms;
62
- }
63
- .mfui-notification__short-text_hidden,
64
- .mfui-notification__full-text {
65
- position: absolute;
66
- top: 0;
67
- visibility: hidden;
68
- opacity: 0;
69
- -webkit-transition: opacity 300ms, visibility 300ms;
70
- transition: opacity 300ms, visibility 300ms;
71
- }
72
- .mfui-notification__full-text_visible {
73
- position: static;
74
- visibility: visible;
75
- opacity: 1;
76
- -webkit-transition: opacity 200ms;
77
- transition: opacity 200ms;
78
- }
79
- .mfui-notification__content {
80
- display: -webkit-box;
81
- display: -ms-flexbox;
82
- display: flex;
83
- -webkit-box-orient: vertical;
84
- -webkit-box-direction: normal;
85
- -ms-flex-direction: column;
86
- flex-direction: column;
87
- -webkit-box-align: start;
88
- -ms-flex-align: start;
89
- align-items: flex-start;
90
- -ms-flex-item-align: center;
91
- align-self: center;
92
- width: 100%;
93
- margin-left: 12px;
94
- overflow: hidden;
95
- }
96
- .mfui-notification__icon-container {
97
- display: -webkit-box;
98
- display: -ms-flexbox;
99
- display: flex;
100
- -ms-flex-negative: 0;
101
- flex-shrink: 0;
102
- -webkit-box-align: center;
103
- -ms-flex-align: center;
104
- align-items: center;
105
- -ms-flex-item-align: start;
106
- align-self: flex-start;
107
- -webkit-box-pack: center;
108
- -ms-flex-pack: center;
109
- justify-content: center;
110
- width: 40px;
111
- min-width: 40px;
112
- height: 40px;
113
- border-radius: 50%;
114
- }
115
- .mfui-notification__attention-icon,
116
- .mfui-notification__icon-container svg {
117
- width: 32px;
118
- min-width: 32px;
119
- height: 32px;
120
- }
121
- .mfui-notification__text-container {
122
- width: 85%;
123
- margin-right: 56px;
124
- }
125
- @media screen and (min-width: 768px) {
126
- .mfui-notification__text-container {
127
- margin-right: 72px;
128
- }
129
- }
130
- .mfui-notification__bottom {
131
- z-index: 1;
132
- display: -webkit-box;
133
- display: -ms-flexbox;
134
- display: flex;
135
- -webkit-box-align: end;
136
- -ms-flex-align: end;
137
- align-items: flex-end;
138
- -webkit-box-pack: justify;
139
- -ms-flex-pack: justify;
140
- justify-content: space-between;
141
- width: 100%;
142
- margin-top: 8px;
143
- }
144
- .mfui-notification__bottom-block {
145
- display: -webkit-box;
146
- display: -ms-flexbox;
147
- display: flex;
148
- overflow: hidden;
149
- }
150
- .mfui-notification__bottom_has-button {
151
- margin-top: 12px;
152
- }
153
- .mfui-notification__link {
154
- display: -webkit-inline-box;
155
- display: -ms-inline-flexbox;
156
- display: inline-flex;
157
- -webkit-box-align: center;
158
- -ms-flex-align: center;
159
- align-items: center;
160
- color: var(--brandGreen);
161
- cursor: pointer;
162
- }
163
- .mfui-notification__button + .mfui-notification__link {
164
- margin-left: 16px;
165
- }
166
- .mfui-notification__link,
167
- .mfui-notification__collapse-button {
168
- font-weight: 500;
169
- font-size: 15px;
170
- font-family: inherit;
171
- line-height: 18px;
172
- }
173
- @media screen and (max-width: 767px) {
174
- .mfui-notification__link,
175
- .mfui-notification__collapse-button {
176
- font-size: 12px;
177
- line-height: 14px;
178
- }
179
- }
180
- .mfui-notification__collapse-button {
181
- display: -webkit-box;
182
- display: -ms-flexbox;
183
- display: flex;
184
- -webkit-box-align: start;
185
- -ms-flex-align: start;
186
- align-items: flex-start;
187
- height: -webkit-fit-content;
188
- height: -moz-fit-content;
189
- height: fit-content;
190
- padding: 0;
191
- border: none;
192
- color: var(--brandGreen);
193
- text-align: right;
194
- background-color: transparent;
195
- cursor: pointer;
196
- }
197
- @media screen and (max-width: 767px) {
198
- .mfui-notification__collapse-button {
199
- -webkit-box-align: center;
200
- -ms-flex-align: center;
201
- align-items: center;
202
- }
203
- }
204
- .mfui-notification__link-arrow,
205
- .mfui-notification__collapse-arrow {
206
- width: 20px;
207
- min-width: 20px;
208
- height: 20px;
209
- fill: var(--brandGreen);
210
- }
211
- .mfui-notification__collapse-arrow_close {
212
- -webkit-transform: rotate(180deg);
213
- transform: rotate(180deg);
214
- }
215
- .mfui-notification__link-arrow {
216
- margin-bottom: -2px;
217
- }
218
- @media screen and (min-width: 768px) {
219
- .mfui-notification__link-arrow {
220
- margin-bottom: -4px;
221
- }
222
- }
223
- .mfui-notification__bottom-block + .mfui-notification__collapse-button {
224
- margin-left: 20px;
225
- }
226
- @media screen and (max-width: 767px) {
227
- .mfui-notification__bottom-block + .mfui-notification__collapse-button {
228
- margin-left: 16px;
229
- }
230
- }
231
- .mfui-notification__collapse_hidden {
232
- visibility: hidden;
233
- }
234
- .mfui-notification__close {
235
- position: absolute;
236
- top: 8px;
237
- right: 8px;
238
- display: -webkit-box;
239
- display: -ms-flexbox;
240
- display: flex;
241
- -webkit-box-align: center;
242
- -ms-flex-align: center;
243
- align-items: center;
244
- -webkit-box-pack: center;
245
- -ms-flex-pack: center;
246
- justify-content: center;
247
- width: 24px;
248
- height: 24px;
249
- padding: 0;
250
- border: none;
251
- border-radius: 50%;
252
- background-color: var(--stcBlack5);
253
- cursor: pointer;
254
- }
255
- @media screen and (min-width: 768px) {
256
- .mfui-notification__close {
257
- top: 12px;
258
- right: 12px;
259
- width: 32px;
260
- height: 32px;
261
- }
262
- }
263
- .mfui-notification__close:hover {
264
- background-color: var(--spbSky1);
265
- }
266
- .mfui-notification__close:active {
267
- background-color: var(--spbSky2);
268
- }
269
- .mfui-notification__close-icon {
270
- width: 10px;
271
- height: 10px;
272
- opacity: 0.5;
273
- fill: var(--content);
274
- }
275
- .mfui-notification_type_error .mfui-notification__icon-container {
276
- background-color: var(--fury20);
277
- }
278
- .mfui-notification_type_error .mfui-notification__icon-container svg {
279
- /* stylelint-disable-line max-nesting-depth */
280
- fill: var(--fury);
281
- }
282
- .mfui-notification_type_success .mfui-notification__icon-container {
283
- background-color: var(--brandGreen20);
284
- }
285
- .mfui-notification_type_success .mfui-notification__icon-container svg {
286
- /* stylelint-disable-line max-nesting-depth */
287
- fill: var(--brandGreen);
288
- }
289
- .mfui-notification_type_warning .mfui-notification__icon-container {
290
- background-color: var(--137C20);
291
- }
292
- .mfui-notification_type_warning .mfui-notification__icon-container svg {
293
- /* stylelint-disable-line max-nesting-depth */
294
- fill: var(--137C);
295
- }
296
- .mfui-notification_type_info .mfui-notification__icon-container {
297
- background-color: var(--311C20);
298
- }
299
- .mfui-notification_type_info .mfui-notification__icon-container svg {
300
- /* stylelint-disable-line max-nesting-depth */
301
- fill: var(--311C);
302
- }
303
- .mfui-notification_colored .mfui-notification__icon-container {
304
- background-color: var(--base);
305
- }
306
- .mfui-notification_colored.mfui-notification_type_info {
307
- background-color: var(--311C20);
308
- }
309
- .mfui-notification_colored.mfui-notification_type_warning {
310
- background-color: var(--137C20);
311
- }
312
- .mfui-notification_colored.mfui-notification_type_success {
313
- background-color: var(--brandGreen20);
314
- }
315
- .mfui-notification_colored.mfui-notification_type_info .mfui-notification__title,
316
- .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__title,
317
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__title,
318
- .mfui-notification_colored.mfui-notification_type_info .mfui-notification__text,
319
- .mfui-notification_colored.mfui-notification_type_warning .mfui-notification__text,
320
- .mfui-notification_colored.mfui-notification_type_success .mfui-notification__text {
321
- color: var(--content);
322
- }
323
- .mfui-notification_colored.mfui-notification_type_error {
324
- background-color: var(--fury80);
325
- }
326
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__title,
327
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__text,
328
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__link,
329
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__collapse-button {
330
- color: var(--stcWhite);
331
- }
332
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__link-arrow,
333
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__collapse-arrow {
334
- fill: var(--stcWhite);
335
- }
336
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container {
337
- background-color: var(--stcWhite20);
338
- }
339
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__icon-container svg {
340
- /* stylelint-disable-line max-nesting-depth */
341
- fill: var(--stcWhite);
342
- }
343
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__close:not(:hover) {
344
- background-color: var(--stcWhite20);
345
- }
346
- .mfui-notification_colored.mfui-notification_type_error .mfui-notification__close:not(:hover) .mfui-notification__close-icon {
347
- /* stylelint-disable-line max-nesting-depth */
348
- opacity: 1;
349
- fill: var(--stcWhite);
350
- }
@@ -1,5 +0,0 @@
1
- .mfui-pagination {
2
- display: -webkit-box;
3
- display: -ms-flexbox;
4
- display: flex;
5
- }
@@ -1,62 +0,0 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
- .mfui-pagination-button {
9
- font-size: 15px;
10
- line-height: 24px;
11
- font-weight: 500;
12
- display: -webkit-box;
13
- display: -ms-flexbox;
14
- display: flex;
15
- -webkit-box-pack: center;
16
- -ms-flex-pack: center;
17
- justify-content: center;
18
- -webkit-box-align: center;
19
- -ms-flex-align: center;
20
- align-items: center;
21
- width: 32px;
22
- height: 32px;
23
- padding: 0;
24
- border-radius: 50%;
25
- border: 1px solid transparent;
26
- background-color: transparent;
27
- cursor: pointer;
28
- }
29
- .mfui-pagination-button svg {
30
- width: 100%;
31
- }
32
- .mfui-pagination-button:disabled {
33
- pointer-events: none;
34
- }
35
- .mfui-pagination-button_active {
36
- border-color: var(--brandGreen);
37
- pointer-events: none;
38
- }
39
- .mfui-pagination-button_theme_default {
40
- color: var(--content);
41
- }
42
- .mfui-pagination-button_theme_default svg {
43
- fill: var(--content);
44
- }
45
- .mfui-pagination-button_theme_default:hover {
46
- background-color: var(--spbSky0);
47
- }
48
- .mfui-pagination-button_theme_default.mfui-pagination-button_active {
49
- border-color: var(--brandGreen);
50
- }
51
- .mfui-pagination-button_theme_light {
52
- color: var(--stcWhite);
53
- }
54
- .mfui-pagination-button_theme_light svg {
55
- fill: var(--stcWhite);
56
- }
57
- .mfui-pagination-button_theme_light:hover {
58
- background-color: var(--stcWhite20);
59
- }
60
- .mfui-pagination-button_theme_light.mfui-pagination-button_active {
61
- border-color: var(--stcWhite);
62
- }
@@ -1,10 +0,0 @@
1
- .mfui-pagination-buttons {
2
- display: -webkit-box;
3
- display: -ms-flexbox;
4
- display: flex;
5
- }
6
- .mfui-pagination-buttons__button {
7
- -ms-flex-negative: 0;
8
- flex-shrink: 0;
9
- margin: 0 4px;
10
- }
@@ -1,17 +0,0 @@
1
- h1,
2
- h2,
3
- h3,
4
- h4,
5
- h5 {
6
- margin: 0;
7
- }
8
- .mfui-pagination-navigation_direction_left .mfui-pagination-navigation__icon {
9
- -webkit-transform: rotate(180deg);
10
- transform: rotate(180deg);
11
- }
12
- .mfui-pagination-navigation svg {
13
- width: 100%;
14
- }
15
- .mfui-pagination-navigation:disabled svg {
16
- opacity: 0.25;
17
- }
@@ -1,43 +0,0 @@
1
- .mfui-paragraph {
2
- font-family: inherit;
3
- font-size: 15px;
4
- line-height: 24px;
5
- margin: 0;
6
- font-weight: 400;
7
- }
8
- .mfui-paragraph_align_left {
9
- text-align: left;
10
- }
11
- .mfui-paragraph_align_center {
12
- text-align: center;
13
- }
14
- .mfui-paragraph_align_right {
15
- text-align: right;
16
- }
17
- .mfui-paragraph_space_wide {
18
- line-height: 24px;
19
- }
20
- .mfui-paragraph_space_tight {
21
- line-height: 18px;
22
- }
23
- .mfui-paragraph_has-margin {
24
- margin: 0 0 16px;
25
- }
26
- .mfui-paragraph_color_inherit {
27
- color: inherit;
28
- }
29
- .mfui-paragraph_color_default {
30
- color: var(--content);
31
- }
32
- .mfui-paragraph_color_gray {
33
- color: var(--spbSky3);
34
- }
35
- .mfui-paragraph_color_white {
36
- color: var(--stcWhite);
37
- }
38
- .mfui-paragraph_color_green {
39
- color: var(--brandGreen);
40
- }
41
- .mfui-paragraph_color_purple {
42
- color: var(--brandPurple);
43
- }
@@ -1,224 +0,0 @@
1
- .mfui-preloader {
2
- display: -webkit-box;
3
- display: -ms-flexbox;
4
- display: flex;
5
- }
6
- .mfui-preloader_size-all_small .mfui-preloader__item {
7
- width: 6px;
8
- height: 6px;
9
- }
10
- .mfui-preloader_size-all_small .mfui-preloader__item:not(:last-child) {
11
- margin-right: 3px;
12
- }
13
- .mfui-preloader_size-all_medium .mfui-preloader__item {
14
- width: 12px;
15
- height: 12px;
16
- }
17
- .mfui-preloader_size-all_medium .mfui-preloader__item:not(:last-child) {
18
- margin-right: 6px;
19
- }
20
- @media screen and (min-width: 1280px) {
21
- .mfui-preloader_size-wide_small .mfui-preloader__item {
22
- width: 6px;
23
- height: 6px;
24
- }
25
- .mfui-preloader_size-wide_small .mfui-preloader__item:not(:last-child) {
26
- margin-right: 3px;
27
- }
28
- .mfui-preloader_size-wide_medium .mfui-preloader__item {
29
- width: 12px;
30
- height: 12px;
31
- }
32
- .mfui-preloader_size-wide_medium .mfui-preloader__item:not(:last-child) {
33
- margin-right: 6px;
34
- }
35
- }
36
- @media screen and (min-width: 1024px) {
37
- .mfui-preloader_size-desktop_small .mfui-preloader__item {
38
- width: 6px;
39
- height: 6px;
40
- }
41
- .mfui-preloader_size-desktop_small .mfui-preloader__item:not(:last-child) {
42
- margin-right: 3px;
43
- }
44
- .mfui-preloader_size-desktop_medium .mfui-preloader__item {
45
- width: 12px;
46
- height: 12px;
47
- }
48
- .mfui-preloader_size-desktop_medium .mfui-preloader__item:not(:last-child) {
49
- margin-right: 6px;
50
- }
51
- }
52
- @media screen and (min-width: 768px) and (max-width: 1023px) {
53
- .mfui-preloader_size-tablet_small .mfui-preloader__item {
54
- width: 6px;
55
- height: 6px;
56
- }
57
- .mfui-preloader_size-tablet_small .mfui-preloader__item:not(:last-child) {
58
- margin-right: 3px;
59
- }
60
- .mfui-preloader_size-tablet_medium .mfui-preloader__item {
61
- width: 12px;
62
- height: 12px;
63
- }
64
- .mfui-preloader_size-tablet_medium .mfui-preloader__item:not(:last-child) {
65
- margin-right: 6px;
66
- }
67
- }
68
- @media screen and (max-width: 767px) {
69
- .mfui-preloader_size-mobile_small .mfui-preloader__item {
70
- width: 6px;
71
- height: 6px;
72
- }
73
- .mfui-preloader_size-mobile_small .mfui-preloader__item:not(:last-child) {
74
- margin-right: 3px;
75
- }
76
- .mfui-preloader_size-mobile_medium .mfui-preloader__item {
77
- width: 12px;
78
- height: 12px;
79
- }
80
- .mfui-preloader_size-mobile_medium .mfui-preloader__item:not(:last-child) {
81
- margin-right: 6px;
82
- }
83
- }
84
- .mfui-preloader__item {
85
- position: relative;
86
- }
87
- .mfui-preloader__item:before {
88
- content: '';
89
- position: absolute;
90
- top: 0;
91
- left: 0;
92
- width: 100%;
93
- height: 100%;
94
- border-radius: 50px;
95
- will-change: transform;
96
- }
97
- .mfui-preloader_color_default .mfui-preloader__item:before {
98
- -webkit-animation: scaling 1s linear infinite;
99
- animation: scaling 1s linear infinite;
100
- }
101
- .mfui-preloader_color_default .mfui-preloader__item_first:before {
102
- background-color: var(--brandGreen);
103
- }
104
- .mfui-preloader_color_default .mfui-preloader__item_second:before {
105
- background-color: var(--brandGreen);
106
- -webkit-animation-delay: 0.166s;
107
- animation-delay: 0.166s;
108
- }
109
- .mfui-preloader_color_default .mfui-preloader__item_third:before {
110
- background-color: var(--brandPurple);
111
- -webkit-animation-delay: 0.33s;
112
- animation-delay: 0.33s;
113
- }
114
- .mfui-preloader_color_black .mfui-preloader__item:before {
115
- background-color: var(--stcBlack);
116
- opacity: 0.35;
117
- -webkit-animation: opacityScaling 1s linear infinite;
118
- animation: opacityScaling 1s linear infinite;
119
- }
120
- .mfui-preloader_color_black .mfui-preloader__item_second:before {
121
- -webkit-animation-delay: 0.166s;
122
- animation-delay: 0.166s;
123
- }
124
- .mfui-preloader_color_black .mfui-preloader__item_third:before {
125
- -webkit-animation-delay: 0.33s;
126
- animation-delay: 0.33s;
127
- }
128
- .mfui-preloader_color_white .mfui-preloader__item:before {
129
- background-color: var(--stcWhite);
130
- -webkit-animation: scaling 1s linear infinite;
131
- animation: scaling 1s linear infinite;
132
- }
133
- .mfui-preloader_color_white .mfui-preloader__item_second:before {
134
- -webkit-animation-delay: 0.166s;
135
- animation-delay: 0.166s;
136
- }
137
- .mfui-preloader_color_white .mfui-preloader__item_third:before {
138
- -webkit-animation-delay: 0.33s;
139
- animation-delay: 0.33s;
140
- }
141
- .mfui-preloader_disable-animate .mfui-preloader__item:before {
142
- -webkit-animation: none;
143
- animation: none;
144
- }
145
- @-webkit-keyframes scaling {
146
- 0% {
147
- -webkit-transform: scale(1);
148
- transform: scale(1);
149
- }
150
- 33% {
151
- -webkit-transform: scale(1.4);
152
- transform: scale(1.4);
153
- }
154
- 66% {
155
- -webkit-transform: scale(1);
156
- transform: scale(1);
157
- }
158
- 100% {
159
- -webkit-transform: scale(1);
160
- transform: scale(1);
161
- }
162
- }
163
- @keyframes scaling {
164
- 0% {
165
- -webkit-transform: scale(1);
166
- transform: scale(1);
167
- }
168
- 33% {
169
- -webkit-transform: scale(1.4);
170
- transform: scale(1.4);
171
- }
172
- 66% {
173
- -webkit-transform: scale(1);
174
- transform: scale(1);
175
- }
176
- 100% {
177
- -webkit-transform: scale(1);
178
- transform: scale(1);
179
- }
180
- }
181
- @-webkit-keyframes opacityScaling {
182
- 0% {
183
- -webkit-transform: scale(1);
184
- transform: scale(1);
185
- opacity: 0.35;
186
- }
187
- 33% {
188
- -webkit-transform: scale(1.4);
189
- transform: scale(1.4);
190
- opacity: 0.65;
191
- }
192
- 66% {
193
- -webkit-transform: scale(1);
194
- transform: scale(1);
195
- opacity: 0.35;
196
- }
197
- 100% {
198
- -webkit-transform: scale(1);
199
- transform: scale(1);
200
- opacity: 0.35;
201
- }
202
- }
203
- @keyframes opacityScaling {
204
- 0% {
205
- -webkit-transform: scale(1);
206
- transform: scale(1);
207
- opacity: 0.35;
208
- }
209
- 33% {
210
- -webkit-transform: scale(1.4);
211
- transform: scale(1.4);
212
- opacity: 0.65;
213
- }
214
- 66% {
215
- -webkit-transform: scale(1);
216
- transform: scale(1);
217
- opacity: 0.35;
218
- }
219
- 100% {
220
- -webkit-transform: scale(1);
221
- transform: scale(1);
222
- opacity: 0.35;
223
- }
224
- }