@salutejs/sdds-cs 0.354.1-next-sbcom.0 → 0.355.0-dev.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 (357) hide show
  1. package/dist/beta/cjs/Popover/Popover.closeInner.config.js +26 -68
  2. package/dist/beta/cjs/Popover/Popover.closeNone.config.js +18 -60
  3. package/dist/beta/cjs/Popover/Popover.js +8 -8
  4. package/dist/beta/cjs/Popover/index.js +1 -1
  5. package/dist/beta/cjs/Tooltip/Tooltip.config.js +29 -63
  6. package/dist/beta/cjs/Tooltip/Tooltip.js +4 -4
  7. package/dist/beta/cjs/Tooltip/index.js +1 -1
  8. package/dist/beta/es/Popover/Popover.closeInner.config.js +25 -67
  9. package/dist/beta/es/Popover/Popover.closeNone.config.js +17 -59
  10. package/dist/beta/es/Popover/Popover.js +5 -5
  11. package/dist/beta/es/Tooltip/Tooltip.config.js +28 -62
  12. package/dist/beta/es/Tooltip/Tooltip.js +2 -2
  13. package/dist/emotion/cjs/components/Accordion/Accordion.config.js +50 -85
  14. package/dist/emotion/cjs/components/Accordion/Accordion.js +4 -4
  15. package/dist/emotion/cjs/components/Accordion/index.js +1 -1
  16. package/dist/emotion/cjs/components/Attach/Attach.config.js +214 -248
  17. package/dist/emotion/cjs/components/Attach/Attach.js +4 -4
  18. package/dist/emotion/cjs/components/Attach/index.js +1 -1
  19. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +188 -227
  20. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.js +10 -61
  21. package/dist/emotion/cjs/components/Autocomplete/index.js +1 -1
  22. package/dist/emotion/cjs/components/Avatar/Avatar.config.js +97 -193
  23. package/dist/emotion/cjs/components/Avatar/Avatar.js +4 -4
  24. package/dist/emotion/cjs/components/Avatar/index.js +1 -1
  25. package/dist/emotion/cjs/components/AvatarGroup/AvatarGroup.js +3 -3
  26. package/dist/emotion/cjs/components/AvatarGroup/index.js +1 -1
  27. package/dist/emotion/cjs/components/Badge/Badge.config.js +55 -123
  28. package/dist/emotion/cjs/components/Badge/Badge.js +4 -4
  29. package/dist/emotion/cjs/components/Badge/index.js +1 -1
  30. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +19 -44
  31. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +5 -5
  32. package/dist/emotion/cjs/components/Breadcrumbs/index.js +1 -1
  33. package/dist/emotion/cjs/components/Button/Button.config.js +78 -161
  34. package/dist/emotion/cjs/components/Button/Button.js +15 -138
  35. package/dist/emotion/cjs/components/Button/index.js +1 -1
  36. package/dist/emotion/cjs/components/ButtonBase/index.js +1 -1
  37. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +82 -208
  38. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.js +4 -4
  39. package/dist/emotion/cjs/components/ButtonGroup/index.js +1 -1
  40. package/dist/emotion/cjs/components/Calendar/Calendar.config.js +101 -113
  41. package/dist/emotion/cjs/components/Calendar/Calendar.js +10 -10
  42. package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +101 -113
  43. package/dist/emotion/cjs/components/Calendar/index.js +1 -1
  44. package/dist/emotion/cjs/components/Card/Card.config.js +23 -65
  45. package/dist/emotion/cjs/components/Card/Card.js +5 -5
  46. package/dist/emotion/cjs/components/Card/index.js +1 -1
  47. package/dist/emotion/cjs/components/Carousel/Carousel.config.js +15 -41
  48. package/dist/emotion/cjs/components/Carousel/Carousel.js +4 -4
  49. package/dist/emotion/cjs/components/Carousel/index.js +2 -2
  50. package/dist/emotion/cjs/components/Cell/Cell.config.js +73 -97
  51. package/dist/emotion/cjs/components/Cell/Cell.js +5 -5
  52. package/dist/emotion/cjs/components/Cell/index.js +2 -2
  53. package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +41 -83
  54. package/dist/emotion/cjs/components/Checkbox/Checkbox.js +5 -5
  55. package/dist/emotion/cjs/components/Checkbox/index.js +1 -1
  56. package/dist/emotion/cjs/components/Chip/Chip.config.js +95 -148
  57. package/dist/emotion/cjs/components/Chip/Chip.js +5 -5
  58. package/dist/emotion/cjs/components/Chip/index.js +1 -1
  59. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +53 -109
  60. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.js +4 -4
  61. package/dist/emotion/cjs/components/ChipGroup/index.js +1 -1
  62. package/dist/emotion/cjs/components/Combobox/Combobox.config.js +270 -302
  63. package/dist/emotion/cjs/components/Combobox/Combobox.js +11 -38
  64. package/dist/emotion/cjs/components/Combobox/index.js +1 -1
  65. package/dist/emotion/cjs/components/Counter/Counter.config.js +23 -66
  66. package/dist/emotion/cjs/components/Counter/Counter.js +4 -4
  67. package/dist/emotion/cjs/components/Counter/index.js +2 -2
  68. package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +282 -278
  69. package/dist/emotion/cjs/components/DatePicker/DatePicker.js +6 -6
  70. package/dist/emotion/cjs/components/DatePicker/index.js +2 -2
  71. package/dist/emotion/cjs/components/Divider/Divider.config.js +23 -89
  72. package/dist/emotion/cjs/components/Divider/Divider.js +4 -4
  73. package/dist/emotion/cjs/components/Divider/index.js +2 -2
  74. package/dist/emotion/cjs/components/Drawer/Drawer.config.js +19 -61
  75. package/dist/emotion/cjs/components/Drawer/Drawer.js +10 -10
  76. package/dist/emotion/cjs/components/Drawer/index.js +1 -1
  77. package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +55 -76
  78. package/dist/emotion/cjs/components/Dropdown/Dropdown.js +11 -38
  79. package/dist/emotion/cjs/components/Dropdown/index.js +1 -1
  80. package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +58 -100
  81. package/dist/emotion/cjs/components/EmptyState/EmptyState.js +4 -4
  82. package/dist/emotion/cjs/components/EmptyState/index.js +1 -1
  83. package/dist/emotion/cjs/components/Flow/Flow.config.js +1 -1
  84. package/dist/emotion/cjs/components/Flow/Flow.js +4 -4
  85. package/dist/emotion/cjs/components/Flow/index.js +1 -1
  86. package/dist/emotion/cjs/components/Grid/Grid.config.js +36 -57
  87. package/dist/emotion/cjs/components/Grid/Grid.js +4 -4
  88. package/dist/emotion/cjs/components/Grid/index.js +1 -1
  89. package/dist/emotion/cjs/components/IconButton/IconButton.config.js +48 -105
  90. package/dist/emotion/cjs/components/IconButton/IconButton.js +5 -5
  91. package/dist/emotion/cjs/components/IconButton/index.js +1 -1
  92. package/dist/emotion/cjs/components/Image/Image.js +4 -4
  93. package/dist/emotion/cjs/components/Image/index.js +1 -1
  94. package/dist/emotion/cjs/components/Indicator/Indicator.config.js +32 -122
  95. package/dist/emotion/cjs/components/Indicator/Indicator.js +4 -4
  96. package/dist/emotion/cjs/components/Indicator/index.js +1 -1
  97. package/dist/emotion/cjs/components/Link/Link.config.js +107 -205
  98. package/dist/emotion/cjs/components/Link/Link.js +5 -5
  99. package/dist/emotion/cjs/components/Link/index.js +1 -1
  100. package/dist/emotion/cjs/components/Mask/Mask.js +3 -3
  101. package/dist/emotion/cjs/components/Mask/index.js +1 -1
  102. package/dist/emotion/cjs/components/Modal/Modal.config.js +15 -33
  103. package/dist/emotion/cjs/components/Modal/Modal.js +5 -5
  104. package/dist/emotion/cjs/components/Modal/index.js +2 -2
  105. package/dist/emotion/cjs/components/Notification/Notification.config.js +102 -143
  106. package/dist/emotion/cjs/components/Notification/Notification.js +7 -8
  107. package/dist/emotion/cjs/components/Notification/index.js +2 -2
  108. package/dist/emotion/cjs/components/NumberFormat/NumberFormat.js +3 -3
  109. package/dist/emotion/cjs/components/NumberFormat/index.js +2 -2
  110. package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +77 -133
  111. package/dist/emotion/cjs/components/NumberInput/NumberInput.js +4 -4
  112. package/dist/emotion/cjs/components/NumberInput/index.js +2 -2
  113. package/dist/emotion/cjs/components/Overlay/index.js +1 -1
  114. package/dist/emotion/cjs/components/Pagination/Pagination.config.js +76 -120
  115. package/dist/emotion/cjs/components/Pagination/Pagination.js +5 -5
  116. package/dist/emotion/cjs/components/Pagination/index.js +1 -1
  117. package/dist/emotion/cjs/components/Popover/Popover.config.js +12 -29
  118. package/dist/emotion/cjs/components/Popover/Popover.js +4 -4
  119. package/dist/emotion/cjs/components/Popover/index.js +1 -1
  120. package/dist/emotion/cjs/components/Popup/Popup.js +3 -3
  121. package/dist/emotion/cjs/components/Popup/index.js +2 -2
  122. package/dist/emotion/cjs/components/Portal/index.js +1 -1
  123. package/dist/emotion/cjs/components/Price/Price.config.js +1 -1
  124. package/dist/emotion/cjs/components/Price/Price.js +5 -5
  125. package/dist/emotion/cjs/components/Price/index.js +2 -2
  126. package/dist/emotion/cjs/components/Progress/Progress.config.js +182 -80
  127. package/dist/emotion/cjs/components/Progress/Progress.js +5 -5
  128. package/dist/emotion/cjs/components/Progress/index.js +1 -1
  129. package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +39 -81
  130. package/dist/emotion/cjs/components/Radiobox/Radiobox.js +5 -5
  131. package/dist/emotion/cjs/components/Radiobox/index.js +1 -1
  132. package/dist/emotion/cjs/components/Range/Range.config.js +124 -149
  133. package/dist/emotion/cjs/components/Range/Range.js +4 -4
  134. package/dist/emotion/cjs/components/Range/index.js +2 -2
  135. package/dist/emotion/cjs/components/Rating/Rating.config.js +69 -101
  136. package/dist/emotion/cjs/components/Rating/Rating.js +4 -4
  137. package/dist/emotion/cjs/components/Rating/index.js +2 -2
  138. package/dist/emotion/cjs/components/SSRProvider/index.js +1 -1
  139. package/dist/emotion/cjs/components/Segment/Segment.js +7 -7
  140. package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +27 -104
  141. package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +58 -104
  142. package/dist/emotion/cjs/components/Segment/index.js +1 -1
  143. package/dist/emotion/cjs/components/Select/Select.config.js +244 -288
  144. package/dist/emotion/cjs/components/Select/Select.js +11 -38
  145. package/dist/emotion/cjs/components/Select/index.js +1 -1
  146. package/dist/emotion/cjs/components/Sheet/Sheet.config.js +14 -48
  147. package/dist/emotion/cjs/components/Sheet/Sheet.js +5 -5
  148. package/dist/emotion/cjs/components/Sheet/index.js +2 -2
  149. package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +80 -242
  150. package/dist/emotion/cjs/components/Skeleton/Skeleton.js +5 -5
  151. package/dist/emotion/cjs/components/Skeleton/index.js +1 -1
  152. package/dist/emotion/cjs/components/Slider/Slider.config.js +119 -134
  153. package/dist/emotion/cjs/components/Slider/Slider.js +5 -5
  154. package/dist/emotion/cjs/components/Slider/index.js +1 -1
  155. package/dist/emotion/cjs/components/Spinner/Spinner.config.js +26 -92
  156. package/dist/emotion/cjs/components/Spinner/Spinner.js +6 -6
  157. package/dist/emotion/cjs/components/Spinner/index.js +1 -1
  158. package/dist/emotion/cjs/components/Steps/Steps.config.js +92 -102
  159. package/dist/emotion/cjs/components/Steps/Steps.js +5 -5
  160. package/dist/emotion/cjs/components/Steps/index.js +1 -1
  161. package/dist/emotion/cjs/components/Switch/Switch.config.js +62 -124
  162. package/dist/emotion/cjs/components/Switch/Switch.js +5 -5
  163. package/dist/emotion/cjs/components/Switch/index.js +1 -1
  164. package/dist/emotion/cjs/components/Table/Table.config.js +212 -241
  165. package/dist/emotion/cjs/components/Table/Table.js +5 -5
  166. package/dist/emotion/cjs/components/Table/index.js +1 -1
  167. package/dist/emotion/cjs/components/Tabs/TabItem.js +9 -9
  168. package/dist/emotion/cjs/components/Tabs/Tabs.js +9 -9
  169. package/dist/emotion/cjs/components/Tabs/TabsController.js +8 -8
  170. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +151 -209
  171. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +117 -244
  172. package/dist/emotion/cjs/components/Tabs/index.js +4 -4
  173. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +71 -107
  174. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +37 -78
  175. package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +276 -316
  176. package/dist/emotion/cjs/components/TextArea/TextArea.config.js +265 -308
  177. package/dist/emotion/cjs/components/TextArea/TextArea.js +8 -8
  178. package/dist/emotion/cjs/components/TextArea/index.js +1 -1
  179. package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +211 -266
  180. package/dist/emotion/cjs/components/TextField/TextField.config.js +235 -294
  181. package/dist/emotion/cjs/components/TextField/TextField.js +8 -8
  182. package/dist/emotion/cjs/components/TextField/index.js +2 -2
  183. package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +156 -165
  184. package/dist/emotion/cjs/components/TimePicker/TimePicker.js +4 -4
  185. package/dist/emotion/cjs/components/TimePicker/index.js +2 -2
  186. package/dist/emotion/cjs/components/Toast/Toast.config.js +48 -100
  187. package/dist/emotion/cjs/components/Toast/Toast.js +6 -6
  188. package/dist/emotion/cjs/components/Toast/index.js +1 -1
  189. package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +30 -62
  190. package/dist/emotion/cjs/components/ToastNew/ToastNew.js +5 -5
  191. package/dist/emotion/cjs/components/ToastNew/index.js +1 -1
  192. package/dist/emotion/cjs/components/Tokens/Colors/Colors.styles.js +18 -22
  193. package/dist/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +7 -7
  194. package/dist/emotion/cjs/components/Tokens/Typography/Typography.styles.js +22 -40
  195. package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +38 -68
  196. package/dist/emotion/cjs/components/Tooltip/Tooltip.js +4 -4
  197. package/dist/emotion/cjs/components/Tooltip/index.js +1 -1
  198. package/dist/emotion/cjs/components/Tour/Tour.config.js +7 -34
  199. package/dist/emotion/cjs/components/Tour/Tour.js +4 -4
  200. package/dist/emotion/cjs/components/Tour/index.js +1 -1
  201. package/dist/emotion/cjs/components/Tree/Tree.config.js +52 -77
  202. package/dist/emotion/cjs/components/Tree/Tree.js +4 -4
  203. package/dist/emotion/cjs/components/Tree/index.js +1 -1
  204. package/dist/emotion/cjs/components/Typography/Body.config.js +56 -106
  205. package/dist/emotion/cjs/components/Typography/Dspl.config.js +34 -68
  206. package/dist/emotion/cjs/components/Typography/Heading.config.js +56 -106
  207. package/dist/emotion/cjs/components/Typography/Text.config.js +45 -87
  208. package/dist/emotion/cjs/components/Typography/Typography.js +56 -56
  209. package/dist/emotion/cjs/components/Typography/index.js +1 -1
  210. package/dist/emotion/cjs/components/ViewContainer/ViewContainer.config.js +9 -35
  211. package/dist/emotion/cjs/components/ViewContainer/ViewContainer.js +4 -4
  212. package/dist/emotion/cjs/components/ViewContainer/index.js +1 -1
  213. package/dist/emotion/cjs/helpers/index.js +1 -1
  214. package/dist/emotion/cjs/mixins/index.js +3 -3
  215. package/dist/emotion/cjs/tokens/index.js +1 -1
  216. package/dist/emotion/es/components/Accordion/Accordion.config.js +49 -84
  217. package/dist/emotion/es/components/Accordion/Accordion.js +2 -2
  218. package/dist/emotion/es/components/Attach/Attach.config.js +213 -247
  219. package/dist/emotion/es/components/Attach/Attach.js +2 -2
  220. package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +187 -226
  221. package/dist/emotion/es/components/Autocomplete/Autocomplete.js +7 -58
  222. package/dist/emotion/es/components/Avatar/Avatar.config.js +96 -192
  223. package/dist/emotion/es/components/Avatar/Avatar.js +2 -2
  224. package/dist/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
  225. package/dist/emotion/es/components/Badge/Badge.config.js +54 -122
  226. package/dist/emotion/es/components/Badge/Badge.js +2 -2
  227. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +18 -43
  228. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.js +3 -3
  229. package/dist/emotion/es/components/Button/Button.config.js +77 -160
  230. package/dist/emotion/es/components/Button/Button.js +10 -133
  231. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +81 -207
  232. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.js +2 -2
  233. package/dist/emotion/es/components/Calendar/Calendar.config.js +100 -112
  234. package/dist/emotion/es/components/Calendar/Calendar.js +7 -7
  235. package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +100 -112
  236. package/dist/emotion/es/components/Card/Card.config.js +22 -64
  237. package/dist/emotion/es/components/Card/Card.js +3 -3
  238. package/dist/emotion/es/components/Carousel/Carousel.config.js +14 -40
  239. package/dist/emotion/es/components/Carousel/Carousel.js +2 -2
  240. package/dist/emotion/es/components/Cell/Cell.config.js +72 -96
  241. package/dist/emotion/es/components/Cell/Cell.js +3 -3
  242. package/dist/emotion/es/components/Checkbox/Checkbox.config.js +40 -82
  243. package/dist/emotion/es/components/Checkbox/Checkbox.js +3 -3
  244. package/dist/emotion/es/components/Chip/Chip.config.js +94 -147
  245. package/dist/emotion/es/components/Chip/Chip.js +3 -3
  246. package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +52 -108
  247. package/dist/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
  248. package/dist/emotion/es/components/Combobox/Combobox.config.js +270 -302
  249. package/dist/emotion/es/components/Combobox/Combobox.js +9 -36
  250. package/dist/emotion/es/components/Counter/Counter.config.js +21 -64
  251. package/dist/emotion/es/components/Counter/Counter.js +2 -2
  252. package/dist/emotion/es/components/DatePicker/DatePicker.config.js +281 -277
  253. package/dist/emotion/es/components/DatePicker/DatePicker.js +4 -4
  254. package/dist/emotion/es/components/Divider/Divider.config.js +22 -88
  255. package/dist/emotion/es/components/Divider/Divider.js +2 -2
  256. package/dist/emotion/es/components/Drawer/Drawer.config.js +18 -60
  257. package/dist/emotion/es/components/Drawer/Drawer.js +8 -8
  258. package/dist/emotion/es/components/Dropdown/Dropdown.config.js +54 -75
  259. package/dist/emotion/es/components/Dropdown/Dropdown.js +8 -35
  260. package/dist/emotion/es/components/EmptyState/EmptyState.config.js +57 -99
  261. package/dist/emotion/es/components/EmptyState/EmptyState.js +2 -2
  262. package/dist/emotion/es/components/Flow/Flow.config.js +1 -1
  263. package/dist/emotion/es/components/Flow/Flow.js +2 -2
  264. package/dist/emotion/es/components/Grid/Grid.config.js +35 -56
  265. package/dist/emotion/es/components/Grid/Grid.js +2 -2
  266. package/dist/emotion/es/components/IconButton/IconButton.config.js +47 -104
  267. package/dist/emotion/es/components/IconButton/IconButton.js +3 -3
  268. package/dist/emotion/es/components/Image/Image.js +3 -3
  269. package/dist/emotion/es/components/Indicator/Indicator.config.js +31 -121
  270. package/dist/emotion/es/components/Indicator/Indicator.js +2 -2
  271. package/dist/emotion/es/components/Link/Link.config.js +106 -204
  272. package/dist/emotion/es/components/Link/Link.js +3 -3
  273. package/dist/emotion/es/components/Mask/Mask.js +1 -1
  274. package/dist/emotion/es/components/Modal/Modal.config.js +14 -32
  275. package/dist/emotion/es/components/Modal/Modal.js +3 -3
  276. package/dist/emotion/es/components/Notification/Notification.config.js +101 -142
  277. package/dist/emotion/es/components/Notification/Notification.js +4 -5
  278. package/dist/emotion/es/components/NumberFormat/NumberFormat.js +1 -1
  279. package/dist/emotion/es/components/NumberInput/NumberInput.config.js +76 -132
  280. package/dist/emotion/es/components/NumberInput/NumberInput.js +2 -2
  281. package/dist/emotion/es/components/Pagination/Pagination.config.js +75 -119
  282. package/dist/emotion/es/components/Pagination/Pagination.js +3 -3
  283. package/dist/emotion/es/components/Popover/Popover.config.js +11 -28
  284. package/dist/emotion/es/components/Popover/Popover.js +2 -2
  285. package/dist/emotion/es/components/Popup/Popup.js +2 -2
  286. package/dist/emotion/es/components/Price/Price.config.js +1 -1
  287. package/dist/emotion/es/components/Price/Price.js +3 -3
  288. package/dist/emotion/es/components/Progress/Progress.config.js +181 -79
  289. package/dist/emotion/es/components/Progress/Progress.js +3 -3
  290. package/dist/emotion/es/components/Radiobox/Radiobox.config.js +38 -80
  291. package/dist/emotion/es/components/Radiobox/Radiobox.js +3 -3
  292. package/dist/emotion/es/components/Range/Range.config.js +123 -148
  293. package/dist/emotion/es/components/Range/Range.js +2 -2
  294. package/dist/emotion/es/components/Rating/Rating.config.js +68 -100
  295. package/dist/emotion/es/components/Rating/Rating.js +2 -2
  296. package/dist/emotion/es/components/Segment/Segment.js +4 -4
  297. package/dist/emotion/es/components/Segment/SegmentGroup.config.js +26 -103
  298. package/dist/emotion/es/components/Segment/SegmentItem.config.js +57 -103
  299. package/dist/emotion/es/components/Select/Select.config.js +243 -287
  300. package/dist/emotion/es/components/Select/Select.js +8 -35
  301. package/dist/emotion/es/components/Sheet/Sheet.config.js +13 -47
  302. package/dist/emotion/es/components/Sheet/Sheet.js +3 -3
  303. package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +79 -241
  304. package/dist/emotion/es/components/Skeleton/Skeleton.js +3 -3
  305. package/dist/emotion/es/components/Slider/Slider.config.js +118 -133
  306. package/dist/emotion/es/components/Slider/Slider.js +3 -3
  307. package/dist/emotion/es/components/Spinner/Spinner.config.js +25 -91
  308. package/dist/emotion/es/components/Spinner/Spinner.js +3 -3
  309. package/dist/emotion/es/components/Steps/Steps.config.js +91 -101
  310. package/dist/emotion/es/components/Steps/Steps.js +3 -3
  311. package/dist/emotion/es/components/Switch/Switch.config.js +61 -123
  312. package/dist/emotion/es/components/Switch/Switch.js +3 -3
  313. package/dist/emotion/es/components/Table/Table.config.js +211 -240
  314. package/dist/emotion/es/components/Table/Table.js +3 -3
  315. package/dist/emotion/es/components/Tabs/TabItem.js +5 -5
  316. package/dist/emotion/es/components/Tabs/Tabs.js +5 -5
  317. package/dist/emotion/es/components/Tabs/TabsController.js +5 -5
  318. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +150 -208
  319. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +116 -243
  320. package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +70 -106
  321. package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +36 -77
  322. package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +275 -315
  323. package/dist/emotion/es/components/TextArea/TextArea.config.js +264 -307
  324. package/dist/emotion/es/components/TextArea/TextArea.js +5 -5
  325. package/dist/emotion/es/components/TextField/TextField.clear.config.js +210 -265
  326. package/dist/emotion/es/components/TextField/TextField.config.js +234 -293
  327. package/dist/emotion/es/components/TextField/TextField.js +5 -5
  328. package/dist/emotion/es/components/TimePicker/TimePicker.config.js +155 -164
  329. package/dist/emotion/es/components/TimePicker/TimePicker.js +2 -2
  330. package/dist/emotion/es/components/Toast/Toast.config.js +47 -99
  331. package/dist/emotion/es/components/Toast/Toast.js +4 -4
  332. package/dist/emotion/es/components/ToastNew/ToastNew.config.js +29 -61
  333. package/dist/emotion/es/components/ToastNew/ToastNew.js +3 -3
  334. package/dist/emotion/es/components/Tokens/Colors/Colors.styles.js +14 -18
  335. package/dist/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +6 -6
  336. package/dist/emotion/es/components/Tokens/Typography/Typography.styles.js +18 -36
  337. package/dist/emotion/es/components/Tooltip/Tooltip.config.js +37 -67
  338. package/dist/emotion/es/components/Tooltip/Tooltip.js +2 -2
  339. package/dist/emotion/es/components/Tour/Tour.config.js +6 -33
  340. package/dist/emotion/es/components/Tour/Tour.js +2 -2
  341. package/dist/emotion/es/components/Tree/Tree.config.js +51 -76
  342. package/dist/emotion/es/components/Tree/Tree.js +2 -2
  343. package/dist/emotion/es/components/Typography/Body.config.js +55 -105
  344. package/dist/emotion/es/components/Typography/Dspl.config.js +33 -67
  345. package/dist/emotion/es/components/Typography/Heading.config.js +55 -105
  346. package/dist/emotion/es/components/Typography/Text.config.js +44 -86
  347. package/dist/emotion/es/components/Typography/Typography.js +51 -51
  348. package/dist/emotion/es/components/ViewContainer/ViewContainer.config.js +7 -33
  349. package/dist/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
  350. package/dist/emotion/es/mixins/index.js +1 -1
  351. package/package.json +25 -29
  352. package/types/components/Combobox/Combobox.d.ts +211 -1227
  353. package/types/components/Progress/Progress.config.d.ts +13 -0
  354. package/types/components/Progress/Progress.d.ts +12 -0
  355. package/types/components/Select/Select.d.ts +24 -24
  356. package/types/components/TextArea/TextArea.d.ts +23 -1715
  357. package/types/components/TimePicker/TimePicker.d.ts +4 -0
@@ -8,121 +8,8 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- function _tagged_template_literal(strings, raw) {
13
- if (!raw) {
14
- raw = strings.slice(0);
15
- }
16
- return Object.freeze(Object.defineProperties(strings, {
17
- raw: {
18
- value: Object.freeze(raw)
19
- }
20
- }));
21
- }
22
- function _templateObject() {
23
- var data = _tagged_template_literal([
24
- "\n ",
25
- ": var(--text-accent);\n ",
26
- ": var(--text-accent-minor);\n ",
27
- ": var(--text-accent-active);\n ",
28
- ": var(--surface-clear);\n ",
29
- ": var(--surface-clear);\n ",
30
- ": var(--surface-clear);\n ",
31
- ": var(--text-accent-minor);\n ",
32
- ": var(--text-accent-active);\n ",
33
- ": var(--text-accent);\n ",
34
- ": var(--text-accent-minor);\n ",
35
- ": var(--text-accent-active);\n\n ",
36
- ": var(--surface-solid-card);\n ",
37
- ": var(--surface-solid-card);\n ",
38
- ": var(--outline-solid-primary);\n\n ",
39
- ": var(--text-primary);\n ",
40
- ": var(--text-secondary);\n ",
41
- ": var(--surface-accent);\n ",
42
- ": var(--text-secondary);\n ",
43
- ": var(--surface-clear);\n "
44
- ]);
45
- _templateObject = function _templateObject() {
46
- return data;
47
- };
48
- return data;
49
- }
50
- function _templateObject1() {
51
- var data = _tagged_template_literal([
52
- "\n ",
53
- ": var(--text-primary);\n ",
54
- ": var(--surface-solid-primary);\n ",
55
- ": var(--text-primary);\n ",
56
- ": var(--surface-solid-primary);\n ",
57
- ": var(--text-primary);\n ",
58
- ": var(--surface-solid-primary);\n "
59
- ]);
60
- _templateObject1 = function _templateObject() {
61
- return data;
62
- };
63
- return data;
64
- }
65
- function _templateObject2() {
66
- var data = _tagged_template_literal([
67
- "\n ",
68
- ": var(--plasma-typo-body-m-font-family);\n ",
69
- ": var(--plasma-typo-body-m-font-size);\n ",
70
- ": var(--plasma-typo-body-m-font-style);\n ",
71
- ": var(--plasma-typo-body-m-font-weight);\n ",
72
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
73
- ": var(--plasma-typo-body-m-line-height);\n\n ",
74
- ": 2.5rem;\n ",
75
- ": 2.5rem;\n ",
76
- ": 1.75rem;\n ",
77
- ": 3rem;\n ",
78
- ": 0.75rem;\n ",
79
- ": 0.9rem;\n ",
80
- ": 1.15rem;\n ",
81
- ": 0 -0.125rem 0 0.25rem;\n\n ",
82
- ": auto;\n ",
83
- ": 0.125rem;\n ",
84
- ": 0.125rem;\n ",
85
- ": 0.125rem;\n ",
86
- ": 0.125rem;\n\n ",
87
- ": 1.5rem;\n ",
88
- ": 0.5rem 0.75rem 0.5rem 0.75rem;\n ",
89
- ": 1.75rem;\n ",
90
- ": transparent;\n\n ",
91
- ": 0.75rem;\n ",
92
- ": 1rem 0 1rem;\n ",
93
- ": 0.5rem;\n ",
94
- ": 0.375rem;\n\n ",
95
- ": 0.625rem;\n ",
96
- ": 3rem;\n ",
97
- ": 2.5rem;\n ",
98
- ": 0 0.625rem;\n ",
99
- ": 0.125rem;\n\n ",
100
- ": 0.5rem 2.5rem;\n "
101
- ]);
102
- _templateObject2 = function _templateObject() {
103
- return data;
104
- };
105
- return data;
106
- }
107
- function _templateObject3() {
108
- var data = _tagged_template_literal([
109
- ""
110
- ]);
111
- _templateObject3 = function _templateObject() {
112
- return data;
113
- };
114
- return data;
115
- }
116
- function _templateObject4() {
117
- var data = _tagged_template_literal([
118
- ""
119
- ]);
120
- _templateObject4 = function _templateObject() {
121
- return data;
122
- };
123
- return data;
124
- }
125
- var config = {
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const config = {
126
13
  defaults: {
127
14
  view: 'default',
128
15
  viewCurrentPage: 'default',
@@ -130,17 +17,86 @@ var config = {
130
17
  },
131
18
  variations: {
132
19
  view: {
133
- default: (0, _emotion.css)(_templateObject(), _emotion.paginationTokens.buttonColor, _emotion.paginationTokens.buttonColorHover, _emotion.paginationTokens.buttonColorActive, _emotion.paginationTokens.buttonBackgroundColor, _emotion.paginationTokens.buttonBackgroundColorHover, _emotion.paginationTokens.buttonBackgroundColorActive, _emotion.paginationTokens.buttonHoverColor, _emotion.paginationTokens.buttonActiveColor, _emotion.paginationTokens.buttonArrowColor, _emotion.paginationTokens.buttonArrowColorHover, _emotion.paginationTokens.buttonArrowColorActive, _emotion.paginationTokens.inputBackgroundColor, _emotion.paginationTokens.selectBackgroundColor, _emotion.paginationTokens.inputBorderColor, _emotion.paginationTokens.paginationColor, _emotion.paginationTokens.paginationHelperTextColor, _emotion.paginationTokens.buttonFocusColor, _emotion.paginationTokens.paginationDisabledButtonColor, _emotion.paginationTokens.paginationDisabledButtonBackgroundColor)
20
+ default: (0, _emotion.css)`
21
+ ${_emotion.paginationTokens.buttonColor}: var(--text-accent);
22
+ ${_emotion.paginationTokens.buttonColorHover}: var(--text-accent-minor);
23
+ ${_emotion.paginationTokens.buttonColorActive}: var(--text-accent-active);
24
+ ${_emotion.paginationTokens.buttonBackgroundColor}: var(--surface-clear);
25
+ ${_emotion.paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);
26
+ ${_emotion.paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);
27
+ ${_emotion.paginationTokens.buttonHoverColor}: var(--text-accent-minor);
28
+ ${_emotion.paginationTokens.buttonActiveColor}: var(--text-accent-active);
29
+ ${_emotion.paginationTokens.buttonArrowColor}: var(--text-accent);
30
+ ${_emotion.paginationTokens.buttonArrowColorHover}: var(--text-accent-minor);
31
+ ${_emotion.paginationTokens.buttonArrowColorActive}: var(--text-accent-active);
32
+
33
+ ${_emotion.paginationTokens.inputBackgroundColor}: var(--surface-solid-card);
34
+ ${_emotion.paginationTokens.selectBackgroundColor}: var(--surface-solid-card);
35
+ ${_emotion.paginationTokens.inputBorderColor}: var(--outline-solid-primary);
36
+
37
+ ${_emotion.paginationTokens.paginationColor}: var(--text-primary);
38
+ ${_emotion.paginationTokens.paginationHelperTextColor}: var(--text-secondary);
39
+ ${_emotion.paginationTokens.buttonFocusColor}: var(--surface-accent);
40
+ ${_emotion.paginationTokens.paginationDisabledButtonColor}: var(--text-secondary);
41
+ ${_emotion.paginationTokens.paginationDisabledButtonBackgroundColor}: var(--surface-clear);
42
+ `
134
43
  },
135
44
  viewCurrentPage: {
136
- default: (0, _emotion.css)(_templateObject1(), _emotion.paginationTokens.paginationCurrentButtonColor, _emotion.paginationTokens.paginationCurrentButtonBackgroundColor, _emotion.paginationTokens.paginationCurrentButtonHoverColor, _emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor, _emotion.paginationTokens.paginationCurrentButtonActiveColor, _emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor)
45
+ default: (0, _emotion.css)`
46
+ ${_emotion.paginationTokens.paginationCurrentButtonColor}: var(--text-primary);
47
+ ${_emotion.paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-primary);
48
+ ${_emotion.paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);
49
+ ${_emotion.paginationTokens.paginationCurrentButtonHoverBackgroundColor}: var(--surface-solid-primary);
50
+ ${_emotion.paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);
51
+ ${_emotion.paginationTokens.paginationCurrentButtonActiveBackgroundColor}: var(--surface-solid-primary);
52
+ `
137
53
  },
138
54
  size: {
139
- s: (0, _emotion.css)(_templateObject2(), _emotion.paginationTokens.paginationFontFamily, _emotion.paginationTokens.paginationFontSize, _emotion.paginationTokens.paginationFontStyle, _emotion.paginationTokens.paginationFontWeight, _emotion.paginationTokens.paginationLetterSpacing, _emotion.paginationTokens.paginationLineHeight, _emotion.paginationTokens.buttonHeight, _emotion.paginationTokens.buttonWidth, _emotion.paginationTokens.buttonWidthShorter, _emotion.paginationTokens.paginationInputWidth, _emotion.paginationTokens.buttonRadius, _emotion.paginationTokens.paginationIconSize, _emotion.paginationTokens.paginationIconDoubleSize, _emotion.paginationTokens.buttonArrowMargin, _emotion.paginationTokens.selectHeight, _emotion.paginationTokens.selectPaddingTop, _emotion.paginationTokens.selectPaddingRight, _emotion.paginationTokens.selectPaddingBottom, _emotion.paginationTokens.selectPaddingLeft, _emotion.paginationTokens.selectItemHeight, _emotion.paginationTokens.selectItemPadding, _emotion.paginationTokens.selectItemContentLeftWidth, _emotion.paginationTokens.selectItemBackground, _emotion.paginationTokens.selectTargetArrowRight, _emotion.paginationTokens.selectTargetPadding, _emotion.paginationTokens.selectTargetInnerTop, _emotion.paginationTokens.selectTargetLabelInnerTop, _emotion.paginationTokens.inputBorderRadius, _emotion.paginationTokens.inputWidth, _emotion.paginationTokens.inputHeight, _emotion.paginationTokens.inputPadding, _emotion.paginationTokens.inputBorderWidth, _emotion.paginationTokens.paginationHelperTextGap)
55
+ s: (0, _emotion.css)`
56
+ ${_emotion.paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);
57
+ ${_emotion.paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);
58
+ ${_emotion.paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);
59
+ ${_emotion.paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-font-weight);
60
+ ${_emotion.paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
61
+ ${_emotion.paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);
62
+
63
+ ${_emotion.paginationTokens.buttonHeight}: 2.5rem;
64
+ ${_emotion.paginationTokens.buttonWidth}: 2.5rem;
65
+ ${_emotion.paginationTokens.buttonWidthShorter}: 1.75rem;
66
+ ${_emotion.paginationTokens.paginationInputWidth}: 3rem;
67
+ ${_emotion.paginationTokens.buttonRadius}: 0.75rem;
68
+ ${_emotion.paginationTokens.paginationIconSize}: 0.9rem;
69
+ ${_emotion.paginationTokens.paginationIconDoubleSize}: 1.15rem;
70
+ ${_emotion.paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
71
+
72
+ ${_emotion.paginationTokens.selectHeight}: auto;
73
+ ${_emotion.paginationTokens.selectPaddingTop}: 0.125rem;
74
+ ${_emotion.paginationTokens.selectPaddingRight}: 0.125rem;
75
+ ${_emotion.paginationTokens.selectPaddingBottom}: 0.125rem;
76
+ ${_emotion.paginationTokens.selectPaddingLeft}: 0.125rem;
77
+
78
+ ${_emotion.paginationTokens.selectItemHeight}: 1.5rem;
79
+ ${_emotion.paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;
80
+ ${_emotion.paginationTokens.selectItemContentLeftWidth}: 1.75rem;
81
+ ${_emotion.paginationTokens.selectItemBackground}: transparent;
82
+
83
+ ${_emotion.paginationTokens.selectTargetArrowRight}: 0.75rem;
84
+ ${_emotion.paginationTokens.selectTargetPadding}: 1rem 0 1rem;
85
+ ${_emotion.paginationTokens.selectTargetInnerTop}: 0.5rem;
86
+ ${_emotion.paginationTokens.selectTargetLabelInnerTop}: 0.375rem;
87
+
88
+ ${_emotion.paginationTokens.inputBorderRadius}: 0.625rem;
89
+ ${_emotion.paginationTokens.inputWidth}: 3rem;
90
+ ${_emotion.paginationTokens.inputHeight}: 2.5rem;
91
+ ${_emotion.paginationTokens.inputPadding}: 0 0.625rem;
92
+ ${_emotion.paginationTokens.inputBorderWidth}: 0.125rem;
93
+
94
+ ${_emotion.paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;
95
+ `
140
96
  },
141
97
  type: {
142
- compact: (0, _emotion.css)(_templateObject3()),
143
- default: (0, _emotion.css)(_templateObject4())
98
+ compact: (0, _emotion.css)``,
99
+ default: (0, _emotion.css)``
144
100
  }
145
101
  }
146
102
  };
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "Pagination", {
8
8
  return Pagination;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var _Paginationconfig = require("./Pagination.config");
13
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.paginationConfig, _Paginationconfig.config);
14
- var PaginationComponent = (0, _emotion.component)(mergedConfig);
15
- var Pagination = PaginationComponent;
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const _Paginationconfig = require("./Pagination.config");
13
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.paginationConfig, _Paginationconfig.config);
14
+ const PaginationComponent = (0, _emotion.component)(mergedConfig);
15
+ const Pagination = PaginationComponent;
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "Pagination", {
8
8
  return _Pagination.Pagination;
9
9
  }
10
10
  });
11
- var _Pagination = require("./Pagination");
11
+ const _Pagination = require("./Pagination");
@@ -8,40 +8,23 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- function _tagged_template_literal(strings, raw) {
13
- if (!raw) {
14
- raw = strings.slice(0);
15
- }
16
- return Object.freeze(Object.defineProperties(strings, {
17
- raw: {
18
- value: Object.freeze(raw)
19
- }
20
- }));
21
- }
22
- function _templateObject() {
23
- var data = _tagged_template_literal([
24
- "\n ",
25
- ": var(--shadow-down-hard-m);\n\n ",
26
- ": 1rem;\n ",
27
- ": 1rem;\n ",
28
- ': url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");\n ',
29
- ": 0.375rem;\n ",
30
- ": 0.5625rem;\n ",
31
- ": var(--surface-solid-card);\n "
32
- ]);
33
- _templateObject = function _templateObject() {
34
- return data;
35
- };
36
- return data;
37
- }
38
- var config = {
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const config = {
39
13
  defaults: {
40
14
  view: 'default'
41
15
  },
42
16
  variations: {
43
17
  view: {
44
- default: (0, _emotion.css)(_templateObject(), _emotion.popoverTokens.boxShadow, _emotion.popoverTokens.arrowMaskWidth, _emotion.popoverTokens.arrowMaskHeight, _emotion.popoverTokens.arrowMaskImage, _emotion.popoverTokens.arrowHeight, _emotion.popoverTokens.arrowEdgeMargin, _emotion.popoverTokens.arrowBackground)
18
+ default: (0, _emotion.css)`
19
+ ${_emotion.popoverTokens.boxShadow}: var(--shadow-down-hard-m);
20
+
21
+ ${_emotion.popoverTokens.arrowMaskWidth}: 1rem;
22
+ ${_emotion.popoverTokens.arrowMaskHeight}: 1rem;
23
+ ${_emotion.popoverTokens.arrowMaskImage}: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+");
24
+ ${_emotion.popoverTokens.arrowHeight}: 0.375rem;
25
+ ${_emotion.popoverTokens.arrowEdgeMargin}: 0.5625rem;
26
+ ${_emotion.popoverTokens.arrowBackground}: var(--surface-solid-card);
27
+ `
45
28
  }
46
29
  }
47
30
  };
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "Popover", {
8
8
  return Popover;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var _Popoverconfig = require("./Popover.config");
13
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.popoverConfig, _Popoverconfig.config);
14
- var Popover = (0, _emotion.component)(mergedConfig);
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const _Popoverconfig = require("./Popover.config");
13
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.popoverConfig, _Popoverconfig.config);
14
+ const Popover = (0, _emotion.component)(mergedConfig);
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "Popover", {
8
8
  return _Popover.Popover;
9
9
  }
10
10
  });
11
- var _Popover = require("./Popover");
11
+ const _Popover = require("./Popover");
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "Popup", {
8
8
  return Popup;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.popupConfig);
13
- var Popup = (0, _emotion.component)(mergedConfig);
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.popupConfig);
13
+ const Popup = (0, _emotion.component)(mergedConfig);
@@ -22,5 +22,5 @@ _export(exports, {
22
22
  return _emotion.usePopupContext;
23
23
  }
24
24
  });
25
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
26
- var _Popup = require("./Popup");
25
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
26
+ const _Popup = require("./Popup");
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "Portal", {
8
8
  return _emotion.Portal;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
- var config = {
11
+ const config = {
12
12
  defaults: {
13
13
  view: 'default'
14
14
  },
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "Price", {
8
8
  return Price;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var _Priceconfig = require("./Price.config");
13
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.priceConfig, _Priceconfig.config);
14
- var PriceComponent = (0, _emotion.component)(mergedConfig);
15
- var Price = PriceComponent;
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const _Priceconfig = require("./Price.config");
13
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.priceConfig, _Priceconfig.config);
14
+ const PriceComponent = (0, _emotion.component)(mergedConfig);
15
+ const Price = PriceComponent;
@@ -16,5 +16,5 @@ _export(exports, {
16
16
  return _emotion.priceClasses;
17
17
  }
18
18
  });
19
- var _Price = require("./Price");
20
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
19
+ const _Price = require("./Price");
20
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
@@ -8,93 +8,195 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- function _tagged_template_literal(strings, raw) {
13
- if (!raw) {
14
- raw = strings.slice(0);
15
- }
16
- return Object.freeze(Object.defineProperties(strings, {
17
- raw: {
18
- value: Object.freeze(raw)
19
- }
20
- }));
21
- }
22
- function _templateObject() {
23
- var data = _tagged_template_literal([
24
- "\n ",
25
- ": var(--surface-solid-primary);\n ",
26
- ": var(--surface-solid-default);\n ",
27
- ": var(--text-tertiary);\n "
28
- ]);
29
- _templateObject = function _templateObject() {
30
- return data;
31
- };
32
- return data;
33
- }
34
- function _templateObject1() {
35
- var data = _tagged_template_literal([
36
- "\n ",
37
- ": var(--surface-solid-primary);\n ",
38
- ": var(--surface-accent);\n ",
39
- ": var(--text-tertiary);\n "
40
- ]);
41
- _templateObject1 = function _templateObject() {
42
- return data;
43
- };
44
- return data;
45
- }
46
- function _templateObject2() {
47
- var data = _tagged_template_literal([
48
- "\n ",
49
- ": var(--surface-solid-primary);\n ",
50
- ": var(--surface-positive);\n ",
51
- ": var(--text-tertiary);\n "
52
- ]);
53
- _templateObject2 = function _templateObject() {
54
- return data;
55
- };
56
- return data;
57
- }
58
- function _templateObject3() {
59
- var data = _tagged_template_literal([
60
- "\n ",
61
- ": var(--surface-solid-primary);\n ",
62
- ": var(--surface-negative);\n ",
63
- ": var(--text-tertiary);\n "
64
- ]);
65
- _templateObject3 = function _templateObject() {
66
- return data;
67
- };
68
- return data;
69
- }
70
- function _templateObject4() {
71
- var data = _tagged_template_literal([
72
- "\n ",
73
- ": 0.25rem;\n ",
74
- ": 0.125rem;\n\n ",
75
- ": 0.375rem;\n ",
76
- ": 0.375rem;\n\n ",
77
- ": 0.5rem;\n "
78
- ]);
79
- _templateObject4 = function _templateObject() {
80
- return data;
81
- };
82
- return data;
83
- }
84
- var config = {
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const config = {
85
13
  defaults: {
86
14
  view: 'default',
87
- size: 'm'
15
+ size: 'm',
16
+ progressSize: '4'
88
17
  },
89
18
  variations: {
90
19
  view: {
91
- default: (0, _emotion.css)(_templateObject(), _emotion.progressTokens.trackBackgroundColor, _emotion.progressTokens.progressFilledBackgroundColor, _emotion.progressTokens.valueColor),
92
- accent: (0, _emotion.css)(_templateObject1(), _emotion.progressTokens.trackBackgroundColor, _emotion.progressTokens.progressFilledBackgroundColor, _emotion.progressTokens.valueColor),
93
- positive: (0, _emotion.css)(_templateObject2(), _emotion.progressTokens.trackBackgroundColor, _emotion.progressTokens.progressFilledBackgroundColor, _emotion.progressTokens.valueColor),
94
- negative: (0, _emotion.css)(_templateObject3(), _emotion.progressTokens.trackBackgroundColor, _emotion.progressTokens.progressFilledBackgroundColor, _emotion.progressTokens.valueColor)
20
+ default: (0, _emotion.css)`
21
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
22
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-solid-default);
23
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
24
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
25
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
26
+ ${_emotion.progressTokens.captionColor}: var(--text-secondary);
27
+ `,
28
+ secondary: (0, _emotion.css)`
29
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
30
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-transparent-tertiary);
31
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
32
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
33
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
34
+ ${_emotion.progressTokens.captionColor}: var(--text-secondary);
35
+ `,
36
+ accent: (0, _emotion.css)`
37
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
38
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent);
39
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
40
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
41
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
42
+ ${_emotion.progressTokens.captionColor}: var(--text-secondary);
43
+ `,
44
+ accentGradient: (0, _emotion.css)`
45
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
46
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-accent-gradient);
47
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
48
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
49
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
50
+ ${_emotion.progressTokens.captionColor}: var(--text-secondary);
51
+ `,
52
+ info: (0, _emotion.css)`
53
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
54
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-info);
55
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
56
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
57
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
58
+ ${_emotion.progressTokens.captionColor}: var(--text-secondary);
59
+ `,
60
+ positive: (0, _emotion.css)`
61
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
62
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-positive);
63
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
64
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
65
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
66
+ ${_emotion.progressTokens.captionColor}: var(--text-positive);
67
+ `,
68
+ warning: (0, _emotion.css)`
69
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
70
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-warning);
71
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
72
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
73
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
74
+ ${_emotion.progressTokens.captionColor}: var(--text-warning);
75
+ `,
76
+ negative: (0, _emotion.css)`
77
+ ${_emotion.progressTokens.trackBackgroundColor}: var(--surface-solid-secondary);
78
+ ${_emotion.progressTokens.progressFilledBackgroundColor}: var(--surface-negative);
79
+ ${_emotion.progressTokens.labelColor}: var(--text-primary);
80
+ ${_emotion.progressTokens.labelIconColor}: var(--text-primary);
81
+ ${_emotion.progressTokens.valueColor}: var(--text-secondary);
82
+ ${_emotion.progressTokens.captionColor}: var(--text-negative);
83
+ `
95
84
  },
96
85
  size: {
97
- m: (0, _emotion.css)(_templateObject4(), _emotion.progressTokens.trackHeight, _emotion.progressTokens.trackBorderRadius, _emotion.progressTokens.progressFilledHeight, _emotion.progressTokens.progressFilledBorderRadius, _emotion.progressTokens.valueMarginLeft)
86
+ l: (0, _emotion.css)`
87
+ ${_emotion.progressTokens.topRowMarginBottom}: 1.25rem;
88
+ ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
89
+ ${_emotion.progressTokens.labelWrapperMarginRight}: 1.5rem;
90
+
91
+ ${_emotion.progressTokens.labelFontFamily}: var(--plasma-typo-body-l-font-family);
92
+ ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-l-font-size);
93
+ ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-l-font-style);
94
+ ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-l-font-weight);
95
+ ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
96
+ ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-l-line-height);
97
+
98
+ ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-l-font-family);
99
+ ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-l-font-size);
100
+ ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-l-font-style);
101
+ ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-l-font-weight);
102
+ ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
103
+ ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-l-line-height);
104
+ ${_emotion.progressTokens.valueMarginLeft}: 1.5rem;
105
+
106
+ ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
107
+ ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
108
+ ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
109
+ ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
110
+ ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
111
+ ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
112
+ ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
113
+ `,
114
+ m: (0, _emotion.css)`
115
+ ${_emotion.progressTokens.topRowMarginBottom}: 1rem;
116
+ ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
117
+ ${_emotion.progressTokens.labelWrapperMarginRight}: 1.25rem;
118
+
119
+ ${_emotion.progressTokens.labelFontFamily}: var(--plasma-typo-body-m-font-family);
120
+ ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-m-font-size);
121
+ ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-m-font-style);
122
+ ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-m-font-weight);
123
+ ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
124
+ ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-m-line-height);
125
+
126
+ ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-m-font-family);
127
+ ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-m-font-size);
128
+ ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-m-font-style);
129
+ ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-m-font-weight);
130
+ ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
131
+ ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-m-line-height);
132
+ ${_emotion.progressTokens.valueMarginLeft}: 1.25rem;
133
+
134
+ ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
135
+ ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
136
+ ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
137
+ ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
138
+ ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
139
+ ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
140
+ ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
141
+ `,
142
+ s: (0, _emotion.css)`
143
+ ${_emotion.progressTokens.topRowMarginBottom}: 0.875rem;
144
+ ${_emotion.progressTokens.labelWrapperGap}: 0.375rem;
145
+ ${_emotion.progressTokens.labelWrapperMarginRight}: 1rem;
146
+
147
+ ${_emotion.progressTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
148
+ ${_emotion.progressTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
149
+ ${_emotion.progressTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
150
+ ${_emotion.progressTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
151
+ ${_emotion.progressTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
152
+ ${_emotion.progressTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
153
+
154
+ ${_emotion.progressTokens.valueFontFamily}: var(--plasma-typo-body-s-font-family);
155
+ ${_emotion.progressTokens.valueFontSize}: var(--plasma-typo-body-s-font-size);
156
+ ${_emotion.progressTokens.valueFontStyle}: var(--plasma-typo-body-s-font-style);
157
+ ${_emotion.progressTokens.valueFontWeight}: var(--plasma-typo-body-s-font-weight);
158
+ ${_emotion.progressTokens.valueLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
159
+ ${_emotion.progressTokens.valueLineHeight}: var(--plasma-typo-body-s-line-height);
160
+ ${_emotion.progressTokens.valueMarginLeft}: 1rem;
161
+
162
+ ${_emotion.progressTokens.captionFontFamily}: var(--plasma-typo-body-xs-font-family);
163
+ ${_emotion.progressTokens.captionFontSize}: var(--plasma-typo-body-xs-font-size);
164
+ ${_emotion.progressTokens.captionFontStyle}: var(--plasma-typo-body-xs-font-style);
165
+ ${_emotion.progressTokens.captionFontWeight}: var(--plasma-typo-body-xs-font-weight);
166
+ ${_emotion.progressTokens.captionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
167
+ ${_emotion.progressTokens.captionLineHeight}: var(--plasma-typo-body-xs-line-height);
168
+ ${_emotion.progressTokens.captionMarginTop}: 0.5rem;
169
+ `
170
+ },
171
+ progressSize: {
172
+ 2: (0, _emotion.css)`
173
+ ${_emotion.progressTokens.trackHeight}: 0.125rem;
174
+ ${_emotion.progressTokens.trackBorderRadius}: 1000px;
175
+
176
+ ${_emotion.progressTokens.progressFilledHeight}: 0.125rem;
177
+ ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
178
+ `,
179
+ 4: (0, _emotion.css)`
180
+ ${_emotion.progressTokens.trackHeight}: 0.25rem;
181
+ ${_emotion.progressTokens.trackBorderRadius}: 1000px;
182
+
183
+ ${_emotion.progressTokens.progressFilledHeight}: 0.25rem;
184
+ ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
185
+ `,
186
+ 6: (0, _emotion.css)`
187
+ ${_emotion.progressTokens.trackHeight}: 0.375rem;
188
+ ${_emotion.progressTokens.trackBorderRadius}: 1000px;
189
+
190
+ ${_emotion.progressTokens.progressFilledHeight}: 0.375rem;
191
+ ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
192
+ `,
193
+ 8: (0, _emotion.css)`
194
+ ${_emotion.progressTokens.trackHeight}: 0.5rem;
195
+ ${_emotion.progressTokens.trackBorderRadius}: 1000px;
196
+
197
+ ${_emotion.progressTokens.progressFilledHeight}: 0.5rem;
198
+ ${_emotion.progressTokens.progressFilledBorderRadius}: 1000px;
199
+ `
98
200
  }
99
201
  }
100
202
  };