@salutejs/sdds-cs 0.354.0-next-platform-ai.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,161 +8,120 @@ 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-primary);\n ",
26
- ": var(--text-primary);\n ",
27
- ": var(--text-secondary);\n ",
28
- ": var(--surface-solid-card);\n ",
29
- ": 0.75rem;\n ",
30
- ": 0.75rem;\n ",
31
- ": var(--outline-solid-primary);\n\n ",
32
- ": 0.125rem;\n ",
33
- ": 0.25rem;\n ",
34
- ": 0rem;\n ",
35
- ": 0.25rem;\n\n ",
36
- ": 0.25rem;\n ",
37
- ": 1rem;\n\n ",
38
- ": 0;\n ",
39
- ": 0.125rem;\n ",
40
- ": 0.375rem;\n ",
41
- ": 0.125rem;\n\n ",
42
- ": 1.625rem;\n ",
43
- ": 0.25rem;\n\n ",
44
- ": 0.5rem;\n ",
45
- ": 0.5rem;\n\n ",
46
- ": 0.375rem;\n\n ",
47
- ": 1.5rem;\n ",
48
- ": 0.25rem;\n ",
49
- ": 0.25rem;\n\n ",
50
- ": var(--plasma-typo-body-s-font-family);\n ",
51
- ": var(--plasma-typo-body-s-font-size);\n ",
52
- ": var(--plasma-typo-body-s-font-style);\n ",
53
- ": var(--plasma-typo-body-s-font-weight);\n ",
54
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
55
- ": var(--plasma-typo-body-s-line-height);\n\n ",
56
- ": var(--plasma-typo-body-m-font-family);\n ",
57
- ": var(--plasma-typo-body-m-font-size);\n ",
58
- ": var(--plasma-typo-body-m-font-style);\n ",
59
- ": var(--plasma-typo-body-m-bold-font-weight);\n ",
60
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
61
- ": var(--plasma-typo-body-m-line-height);\n\n ",
62
- ": var(--text-accent);\n ",
63
- ":var(--text-accent-minor);\n\n ",
64
- ": 0.5rem;\n ",
65
- ": 0.75rem;\n ",
66
- ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "
67
- ]);
68
- _templateObject = function _templateObject() {
69
- return data;
70
- };
71
- return data;
72
- }
73
- function _templateObject1() {
74
- var data = _tagged_template_literal([
75
- "\n ",
76
- ": 30rem;\n ",
77
- ": 0.75rem 0.75rem 0.75rem 0.75rem;\n ",
78
- ": flex-start;\n ",
79
- ": flex-end;\n ",
80
- ": flex-start;\n "
81
- ]);
82
- _templateObject1 = function _templateObject() {
83
- return data;
84
- };
85
- return data;
86
- }
87
- function _templateObject2() {
88
- var data = _tagged_template_literal([
89
- "\n ",
90
- ": 15rem;\n ",
91
- ": 0.375rem;\n "
92
- ]);
93
- _templateObject2 = function _templateObject() {
94
- return data;
95
- };
96
- return data;
97
- }
98
- function _templateObject3() {
99
- var data = _tagged_template_literal([
100
- "\n ",
101
- ": 0.5rem;\n ",
102
- ": 0.5rem;\n ",
103
- ": 0.125rem;\n\n ",
104
- ": 0.75rem;\n ",
105
- ": 0rem;\n\n ",
106
- ": 0.125rem;\n ",
107
- ": 0.25rem;\n ",
108
- ": 0rem;\n ",
109
- ": 0.25rem;\n\n ",
110
- ": 0rem;\n "
111
- ]);
112
- _templateObject3 = function _templateObject() {
113
- return data;
114
- };
115
- return data;
116
- }
117
- function _templateObject4() {
118
- var data = _tagged_template_literal([
119
- "\n ",
120
- ": 0.875rem;\n ",
121
- ": 1rem;\n ",
122
- ": 0.125rem;\n\n ",
123
- ": 0.75rem 1rem 1rem 1rem;\n ",
124
- ": 0.1875rem;\n\n ",
125
- ": 0.25rem;\n ",
126
- ": 0rem;\n ",
127
- ": 0rem;\n ",
128
- ": 0rem;\n\n ",
129
- ": 2rem;\n "
130
- ]);
131
- _templateObject4 = function _templateObject() {
132
- return data;
133
- };
134
- return data;
135
- }
136
- function _templateObject5() {
137
- var data = _tagged_template_literal([
138
- "\n ",
139
- ": 1.5rem;\n ",
140
- ": 1.5rem;\n "
141
- ]);
142
- _templateObject5 = function _templateObject() {
143
- return data;
144
- };
145
- return data;
146
- }
147
- var config = {
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const config = {
148
13
  defaults: {
149
14
  view: 'default',
150
15
  closeIconType: 'thin'
151
16
  },
152
17
  variations: {
153
18
  view: {
154
- default: (0, _emotion.css)(_templateObject(), _emotion.notificationTokens.titleColor, _emotion.notificationTokens.contentLeftIconColor, _emotion.notificationTokens.contentColor, _emotion.notificationTokens.background, _emotion.notificationTokens.borderRadius, _emotion.notificationTokens.padding, _emotion.notificationTokens.borderColor, _emotion.notificationTokens.contentPaddingTop, _emotion.notificationTokens.contentPaddingRight, _emotion.notificationTokens.contentPaddingBottom, _emotion.notificationTokens.contentPaddingLeft, _emotion.notificationTokens.contentPaddingTopWithoutIcon, _emotion.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, _emotion.notificationTokens.textboxPaddingTop, _emotion.notificationTokens.textboxPaddingRight, _emotion.notificationTokens.textboxPaddingBottom, _emotion.notificationTokens.textboxPaddingLeft, _emotion.notificationTokens.textboxPaddingRightWithCloseIcon, _emotion.notificationTokens.textboxGap, _emotion.notificationTokens.closeIconTop, _emotion.notificationTokens.closeIconRight, _emotion.notificationTokens.buttonsMarginTop, _emotion.notificationTokens.contentLeftIconSize, _emotion.notificationTokens.contentLeftIconMargin, _emotion.notificationTokens.contentTopIconMargin, _emotion.notificationTokens.contentFontFamily, _emotion.notificationTokens.contentFontSize, _emotion.notificationTokens.contentFontStyle, _emotion.notificationTokens.contentFontWeight, _emotion.notificationTokens.contentFontLetterSpacing, _emotion.notificationTokens.contentFontLineHeight, _emotion.notificationTokens.titleFontFamily, _emotion.notificationTokens.titleFontSize, _emotion.notificationTokens.titleFontStyle, _emotion.notificationTokens.titleFontWeight, _emotion.notificationTokens.titleFontLetterSpacing, _emotion.notificationTokens.titleFontLineHeight, _emotion.notificationTokens.closeIconColor, _emotion.notificationTokens.closeIconColorOnHover, _emotion.notificationTokens.horizontalLayoutGap, _emotion.notificationTokens.horizontalLayoutLeftIconMargin, _emotion.notificationTokens.paddingOneLineTextbox)
19
+ default: (0, _emotion.css)`
20
+ ${_emotion.notificationTokens.titleColor}: var(--text-primary);
21
+ ${_emotion.notificationTokens.contentLeftIconColor}: var(--text-primary);
22
+ ${_emotion.notificationTokens.contentColor}: var(--text-secondary);
23
+ ${_emotion.notificationTokens.background}: var(--surface-solid-card);
24
+ ${_emotion.notificationTokens.borderRadius}: 0.75rem;
25
+ ${_emotion.notificationTokens.padding}: 0.75rem;
26
+ ${_emotion.notificationTokens.borderColor}: var(--outline-solid-primary);
27
+
28
+ ${_emotion.notificationTokens.contentPaddingTop}: 0.125rem;
29
+ ${_emotion.notificationTokens.contentPaddingRight}: 0.25rem;
30
+ ${_emotion.notificationTokens.contentPaddingBottom}: 0rem;
31
+ ${_emotion.notificationTokens.contentPaddingLeft}: 0.25rem;
32
+
33
+ ${_emotion.notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;
34
+ ${_emotion.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;
35
+
36
+ ${_emotion.notificationTokens.textboxPaddingTop}: 0;
37
+ ${_emotion.notificationTokens.textboxPaddingRight}: 0.125rem;
38
+ ${_emotion.notificationTokens.textboxPaddingBottom}: 0.375rem;
39
+ ${_emotion.notificationTokens.textboxPaddingLeft}: 0.125rem;
40
+
41
+ ${_emotion.notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;
42
+ ${_emotion.notificationTokens.textboxGap}: 0.25rem;
43
+
44
+ ${_emotion.notificationTokens.closeIconTop}: 0.5rem;
45
+ ${_emotion.notificationTokens.closeIconRight}: 0.5rem;
46
+
47
+ ${_emotion.notificationTokens.buttonsMarginTop}: 0.375rem;
48
+
49
+ ${_emotion.notificationTokens.contentLeftIconSize}: 1.5rem;
50
+ ${_emotion.notificationTokens.contentLeftIconMargin}: 0.25rem;
51
+ ${_emotion.notificationTokens.contentTopIconMargin}: 0.25rem;
52
+
53
+ ${_emotion.notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);
54
+ ${_emotion.notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);
55
+ ${_emotion.notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);
56
+ ${_emotion.notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);
57
+ ${_emotion.notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
58
+ ${_emotion.notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);
59
+
60
+ ${_emotion.notificationTokens.titleFontFamily}: var(--plasma-typo-body-m-font-family);
61
+ ${_emotion.notificationTokens.titleFontSize}: var(--plasma-typo-body-m-font-size);
62
+ ${_emotion.notificationTokens.titleFontStyle}: var(--plasma-typo-body-m-font-style);
63
+ ${_emotion.notificationTokens.titleFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
64
+ ${_emotion.notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
65
+ ${_emotion.notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-m-line-height);
66
+
67
+ ${_emotion.notificationTokens.closeIconColor}: var(--text-accent);
68
+ ${_emotion.notificationTokens.closeIconColorOnHover}:var(--text-accent-minor);
69
+
70
+ ${_emotion.notificationTokens.horizontalLayoutGap}: 0.5rem;
71
+ ${_emotion.notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;
72
+ ${_emotion.notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;
73
+ `
155
74
  },
156
75
  layout: {
157
- horizontal: (0, _emotion.css)(_templateObject1(), _emotion.notificationTokens.width, _emotion.notificationTokens.horizontalLayoutPadding, _emotion.notificationTokens.horisontalIconLeftAlignSelf, _emotion.notificationTokens.horisontalActionsAlignSelf, _emotion.notificationTokens.horisontalIconCloseAlignSelf),
158
- vertical: (0, _emotion.css)(_templateObject2(), _emotion.notificationTokens.width, _emotion.notificationTokens.padding)
76
+ horizontal: (0, _emotion.css)`
77
+ ${_emotion.notificationTokens.width}: 30rem;
78
+ ${_emotion.notificationTokens.horizontalLayoutPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;
79
+ ${_emotion.notificationTokens.horisontalIconLeftAlignSelf}: flex-start;
80
+ ${_emotion.notificationTokens.horisontalActionsAlignSelf}: flex-end;
81
+ ${_emotion.notificationTokens.horisontalIconCloseAlignSelf}: flex-start;
82
+ `,
83
+ vertical: (0, _emotion.css)`
84
+ ${_emotion.notificationTokens.width}: 15rem;
85
+ ${_emotion.notificationTokens.padding}: 0.375rem;
86
+ `
159
87
  },
160
88
  size: {
161
- xs: (0, _emotion.css)(_templateObject3(), _emotion.notificationTokens.closeIconTop, _emotion.notificationTokens.closeIconRight, _emotion.notificationTokens.borderWidth, _emotion.notificationTokens.padding, _emotion.notificationTokens.textboxPaddingTopWithTopIcon, _emotion.notificationTokens.contentPaddingTop, _emotion.notificationTokens.contentPaddingRight, _emotion.notificationTokens.contentPaddingBottom, _emotion.notificationTokens.contentPaddingLeft, _emotion.notificationTokens.buttonsMarginLeft),
162
- xxs: (0, _emotion.css)(_templateObject4(), _emotion.notificationTokens.closeIconTop, _emotion.notificationTokens.closeIconRight, _emotion.notificationTokens.borderWidth, _emotion.notificationTokens.padding, _emotion.notificationTokens.textboxPaddingTopWithTopIcon, _emotion.notificationTokens.contentPaddingTop, _emotion.notificationTokens.contentPaddingRight, _emotion.notificationTokens.contentPaddingBottom, _emotion.notificationTokens.contentPaddingLeft, _emotion.notificationTokens.buttonsMarginLeft)
89
+ xs: (0, _emotion.css)`
90
+ ${_emotion.notificationTokens.closeIconTop}: 0.5rem;
91
+ ${_emotion.notificationTokens.closeIconRight}: 0.5rem;
92
+ ${_emotion.notificationTokens.borderWidth}: 0.125rem;
93
+
94
+ ${_emotion.notificationTokens.padding}: 0.75rem;
95
+ ${_emotion.notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;
96
+
97
+ ${_emotion.notificationTokens.contentPaddingTop}: 0.125rem;
98
+ ${_emotion.notificationTokens.contentPaddingRight}: 0.25rem;
99
+ ${_emotion.notificationTokens.contentPaddingBottom}: 0rem;
100
+ ${_emotion.notificationTokens.contentPaddingLeft}: 0.25rem;
101
+
102
+ ${_emotion.notificationTokens.buttonsMarginLeft}: 0rem;
103
+ `,
104
+ xxs: (0, _emotion.css)`
105
+ ${_emotion.notificationTokens.closeIconTop}: 0.875rem;
106
+ ${_emotion.notificationTokens.closeIconRight}: 1rem;
107
+ ${_emotion.notificationTokens.borderWidth}: 0.125rem;
108
+
109
+ ${_emotion.notificationTokens.padding}: 0.75rem 1rem 1rem 1rem;
110
+ ${_emotion.notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;
111
+
112
+ ${_emotion.notificationTokens.contentPaddingTop}: 0.25rem;
113
+ ${_emotion.notificationTokens.contentPaddingRight}: 0rem;
114
+ ${_emotion.notificationTokens.contentPaddingBottom}: 0rem;
115
+ ${_emotion.notificationTokens.contentPaddingLeft}: 0rem;
116
+
117
+ ${_emotion.notificationTokens.buttonsMarginLeft}: 2rem;
118
+ `
163
119
  },
164
120
  closeIconType: {
165
- thin: (0, _emotion.css)(_templateObject5(), _emotion.notificationTokens.closeIconButtonSize, _emotion.notificationTokens.closeIconSize)
121
+ thin: (0, _emotion.css)`
122
+ ${_emotion.notificationTokens.closeIconButtonSize}: 1.5rem;
123
+ ${_emotion.notificationTokens.closeIconSize}: 1.5rem;
124
+ `
166
125
  }
167
126
  }
168
127
  };
@@ -19,19 +19,18 @@ _export(exports, {
19
19
  return NotificationsProvider;
20
20
  }
21
21
  });
22
- var _react = /*#__PURE__*/ _interop_require_default(require("react"));
23
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
24
- var _Notificationconfig = require("./Notification.config");
22
+ const _react = /*#__PURE__*/ _interop_require_default(require("react"));
23
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
24
+ const _Notificationconfig = require("./Notification.config");
25
25
  function _interop_require_default(obj) {
26
26
  return obj && obj.__esModule ? obj : {
27
27
  default: obj
28
28
  };
29
29
  }
30
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.notificationConfig, _Notificationconfig.config);
31
- var NotificationNewHope = (0, _emotion.component)(mergedConfig);
32
- var Notification = NotificationNewHope;
33
- var NotificationsProvider = function NotificationsProvider(param) {
34
- var children = param.children, _param_frame = param.frame, frame = _param_frame === void 0 ? 'document' : _param_frame, placement = param.placement, UNSAFE_SSR_ENABLED = param.UNSAFE_SSR_ENABLED;
30
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.notificationConfig, _Notificationconfig.config);
31
+ const NotificationNewHope = (0, _emotion.component)(mergedConfig);
32
+ const Notification = NotificationNewHope;
33
+ const NotificationsProvider = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED })=>{
35
34
  return /*#__PURE__*/ _react.default.createElement(_emotion.NotificationsProvider, {
36
35
  config: mergedConfig,
37
36
  frame: frame,
@@ -22,5 +22,5 @@ _export(exports, {
22
22
  return _emotion.closeNotification;
23
23
  }
24
24
  });
25
- var _Notification = require("./Notification");
26
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
25
+ const _Notification = require("./Notification");
26
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
@@ -8,6 +8,6 @@ Object.defineProperty(exports, "NumberFormat", {
8
8
  return NumberFormat;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var _TextField = require("../TextField/TextField");
13
- var NumberFormat = (0, _emotion.composeNumberFormat)(_TextField.TextField);
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const _TextField = require("../TextField/TextField");
13
+ const NumberFormat = (0, _emotion.composeNumberFormat)(_TextField.TextField);
@@ -16,5 +16,5 @@ _export(exports, {
16
16
  return _emotion.numberFormatter;
17
17
  }
18
18
  });
19
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
20
- var _NumberFormat = require("./NumberFormat");
19
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
20
+ const _NumberFormat = require("./NumberFormat");
@@ -8,132 +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-negative);\n\n ",
27
- ": var(--text-primary);\n ",
28
- ": var(--text-tertiary);\n ",
29
- ": var(--surface-solid-card);\n ",
30
- ": var(--outline-solid-primary);\n ",
31
- ": var(--outline-accent);\n\n ",
32
- ": var(--text-accent);\n ",
33
- ": var(--surface-solid-card);\n ",
34
- ": var(--text-accent-minor);\n ",
35
- ": var(--text-accent-active);\n\n ",
36
- ": 0.4;\n\n ",
37
- ": inherit;\n ",
38
- ": inherit;\n "
39
- ]);
40
- _templateObject = function _templateObject() {
41
- return data;
42
- };
43
- return data;
44
- }
45
- function _templateObject1() {
46
- var data = _tagged_template_literal([
47
- "\n ",
48
- ": 7.5rem;\n ",
49
- ": 2.5rem;\n ",
50
- ": 2.5rem;\n ",
51
- ": 0.5rem;\n ",
52
- ": var(--plasma-typo-body-s-font-family);\n ",
53
- ": var(--plasma-typo-body-s-font-size);\n ",
54
- ": var(--plasma-typo-body-s-font-style);\n ",
55
- ": var(--plasma-typo-body-s-bold-font-weight);\n ",
56
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
57
- ": var(--plasma-typo-body-s-line-height);\n\n ",
58
- ": 0.75rem;\n ",
59
- ": 0.25rem;\n\n ",
60
- ": 0;\n ",
61
- ": 0.75rem;\n ",
62
- ": 2.5rem;\n ",
63
- ": 0.5rem 0.375rem;\n ",
64
- ": 0.125rem;\n\n ",
65
- ": var(--plasma-typo-body-m-font-family);\n ",
66
- ": var(--plasma-typo-body-m-font-size);\n ",
67
- ": var(--plasma-typo-body-m-font-style);\n ",
68
- ": var(--plasma-typo-body-m-font-weight);\n ",
69
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
70
- ": var(--plasma-typo-body-m-line-height);\n\n ",
71
- ": var(--plasma-typo-body-s-font-family);\n ",
72
- ": var(--plasma-typo-body-s-font-size);\n ",
73
- ": var(--plasma-typo-body-s-font-style);\n ",
74
- ": var(--plasma-typo-body-s-font-weight);\n ",
75
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
76
- ": var(--plasma-typo-body-s-line-height);\n\n ",
77
- ": 0.25rem;\n ",
78
- ": 0.25rem;\n\n ",
79
- ": 1.375rem;\n "
80
- ]);
81
- _templateObject1 = function _templateObject() {
82
- return data;
83
- };
84
- return data;
85
- }
86
- function _templateObject2() {
87
- var data = _tagged_template_literal([
88
- ""
89
- ]);
90
- _templateObject2 = function _templateObject() {
91
- return data;
92
- };
93
- return data;
94
- }
95
- function _templateObject3() {
96
- var data = _tagged_template_literal([
97
- "\n ",
98
- ": 50%;\n "
99
- ]);
100
- _templateObject3 = function _templateObject() {
101
- return data;
102
- };
103
- return data;
104
- }
105
- function _templateObject4() {
106
- var data = _tagged_template_literal([
107
- "\n ",
108
- ": transparent;\n ",
109
- ": transparent;\n "
110
- ]);
111
- _templateObject4 = function _templateObject() {
112
- return data;
113
- };
114
- return data;
115
- }
116
- function _templateObject5() {
117
- var data = _tagged_template_literal([
118
- "\n ",
119
- ": 0;\n "
120
- ]);
121
- _templateObject5 = function _templateObject() {
122
- return data;
123
- };
124
- return data;
125
- }
126
- function _templateObject6() {
127
- var data = _tagged_template_literal([
128
- "\n ",
129
- ": 0.4;\n "
130
- ]);
131
- _templateObject6 = function _templateObject() {
132
- return data;
133
- };
134
- return data;
135
- }
136
- var config = {
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const config = {
137
13
  defaults: {
138
14
  view: 'default',
139
15
  size: 's',
@@ -143,23 +19,91 @@ var config = {
143
19
  },
144
20
  variations: {
145
21
  view: {
146
- default: (0, _emotion.css)(_templateObject(), _emotion.numberInputTokens.caretColor, _emotion.numberInputTokens.errorColor, _emotion.numberInputTokens.colorSolid, _emotion.numberInputTokens.additionalTextColorSolid, _emotion.numberInputTokens.backgroundColorSolid, _emotion.numberInputTokens.wrapperBorderColor, _emotion.numberInputTokens.wrapperBorderColorFocus, _emotion.numberInputTokens.iconButtonColor, _emotion.numberInputTokens.iconButtonBackgroundColor, _emotion.numberInputTokens.iconButtonColorSolidHover, _emotion.numberInputTokens.iconButtonColorSolidActive, _emotion.numberInputTokens.actionButtonDisabledOpacity, _emotion.numberInputTokens.loaderSpinnerColor, _emotion.numberInputTokens.loaderSpinnerColorSolid)
22
+ default: (0, _emotion.css)`
23
+ ${_emotion.numberInputTokens.caretColor}: var(--text-accent);
24
+ ${_emotion.numberInputTokens.errorColor}: var(--text-negative);
25
+
26
+ ${_emotion.numberInputTokens.colorSolid}: var(--text-primary);
27
+ ${_emotion.numberInputTokens.additionalTextColorSolid}: var(--text-tertiary);
28
+ ${_emotion.numberInputTokens.backgroundColorSolid}: var(--surface-solid-card);
29
+ ${_emotion.numberInputTokens.wrapperBorderColor}: var(--outline-solid-primary);
30
+ ${_emotion.numberInputTokens.wrapperBorderColorFocus}: var(--outline-accent);
31
+
32
+ ${_emotion.numberInputTokens.iconButtonColor}: var(--text-accent);
33
+ ${_emotion.numberInputTokens.iconButtonBackgroundColor}: var(--surface-solid-card);
34
+ ${_emotion.numberInputTokens.iconButtonColorSolidHover}: var(--text-accent-minor);
35
+ ${_emotion.numberInputTokens.iconButtonColorSolidActive}: var(--text-accent-active);
36
+
37
+ ${_emotion.numberInputTokens.actionButtonDisabledOpacity}: 0;
38
+ ${_emotion.numberInputTokens.actionButtonDisabledCursor}: default;
39
+
40
+ ${_emotion.numberInputTokens.loaderSpinnerColor}: inherit;
41
+ ${_emotion.numberInputTokens.loaderSpinnerColorSolid}: inherit;
42
+ `
147
43
  },
148
44
  size: {
149
- s: (0, _emotion.css)(_templateObject1(), _emotion.numberInputTokens.rootMinWidth, _emotion.numberInputTokens.iconButtonHeight, _emotion.numberInputTokens.iconButtonWidth, _emotion.numberInputTokens.iconButtonPadding, _emotion.numberInputTokens.iconButtonFontFamily, _emotion.numberInputTokens.iconButtonFontSize, _emotion.numberInputTokens.iconButtonFontStyle, _emotion.numberInputTokens.iconButtonFontWeight, _emotion.numberInputTokens.iconButtonLetterSpacing, _emotion.numberInputTokens.iconButtonLineHeight, _emotion.numberInputTokens.iconButtonRadius, _emotion.numberInputTokens.iconButtonSegmentationRadius, _emotion.numberInputTokens.inputWrapperMargin, _emotion.numberInputTokens.inputWrapperBorderRadius, _emotion.numberInputTokens.textWrapperHeight, _emotion.numberInputTokens.textWrapperPadding, _emotion.numberInputTokens.rootBorderWidth, _emotion.numberInputTokens.fontFamily, _emotion.numberInputTokens.fontSize, _emotion.numberInputTokens.fontStyle, _emotion.numberInputTokens.fontWeight, _emotion.numberInputTokens.letterSpacing, _emotion.numberInputTokens.lineHeight, _emotion.numberInputTokens.additionalTextFontFamily, _emotion.numberInputTokens.additionalTextFontSize, _emotion.numberInputTokens.additionalTextFontStyle, _emotion.numberInputTokens.additionalTextFontWeight, _emotion.numberInputTokens.additionalTextLetterSpacing, _emotion.numberInputTokens.additionalTextLineHeight, _emotion.numberInputTokens.textBeforeMarginRight, _emotion.numberInputTokens.textAfterMarginLeft, _emotion.numberInputTokens.loaderSpinnerSize)
45
+ s: (0, _emotion.css)`
46
+ ${_emotion.numberInputTokens.rootMinWidth}: 7.5rem;
47
+ ${_emotion.numberInputTokens.iconButtonHeight}: 2.5rem;
48
+ ${_emotion.numberInputTokens.iconButtonWidth}: 2.5rem;
49
+ ${_emotion.numberInputTokens.iconButtonPadding}: 0.5rem;
50
+ ${_emotion.numberInputTokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);
51
+ ${_emotion.numberInputTokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);
52
+ ${_emotion.numberInputTokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);
53
+ ${_emotion.numberInputTokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);
54
+ ${_emotion.numberInputTokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
55
+ ${_emotion.numberInputTokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);
56
+
57
+ ${_emotion.numberInputTokens.iconButtonRadius}: 0.75rem;
58
+ ${_emotion.numberInputTokens.iconButtonSegmentationRadius}: 0.25rem;
59
+
60
+ ${_emotion.numberInputTokens.inputWrapperMargin}: 0;
61
+ ${_emotion.numberInputTokens.inputWrapperBorderRadius}: 0.75rem;
62
+ ${_emotion.numberInputTokens.textWrapperHeight}: 2.5rem;
63
+ ${_emotion.numberInputTokens.textWrapperPadding}: 0.5rem 0.375rem;
64
+ ${_emotion.numberInputTokens.rootBorderWidth}: 0.125rem;
65
+
66
+ ${_emotion.numberInputTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
67
+ ${_emotion.numberInputTokens.fontSize}: var(--plasma-typo-body-m-font-size);
68
+ ${_emotion.numberInputTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
69
+ ${_emotion.numberInputTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
70
+ ${_emotion.numberInputTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
71
+ ${_emotion.numberInputTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
72
+
73
+ ${_emotion.numberInputTokens.additionalTextFontFamily}: var(--plasma-typo-body-s-font-family);
74
+ ${_emotion.numberInputTokens.additionalTextFontSize}: var(--plasma-typo-body-s-font-size);
75
+ ${_emotion.numberInputTokens.additionalTextFontStyle}: var(--plasma-typo-body-s-font-style);
76
+ ${_emotion.numberInputTokens.additionalTextFontWeight}: var(--plasma-typo-body-s-font-weight);
77
+ ${_emotion.numberInputTokens.additionalTextLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
78
+ ${_emotion.numberInputTokens.additionalTextLineHeight}: var(--plasma-typo-body-s-line-height);
79
+
80
+ ${_emotion.numberInputTokens.textBeforeMarginRight}: 0.25rem;
81
+ ${_emotion.numberInputTokens.textAfterMarginLeft}: 0.25rem;
82
+
83
+ ${_emotion.numberInputTokens.loaderSpinnerSize}: 1.375rem;
84
+ `
150
85
  },
151
86
  shape: {
152
- cornered: (0, _emotion.css)(_templateObject2()),
153
- pilled: (0, _emotion.css)(_templateObject3(), _emotion.numberInputTokens.iconButtonRadius)
87
+ cornered: (0, _emotion.css)``,
88
+ pilled: (0, _emotion.css)`
89
+ ${_emotion.numberInputTokens.iconButtonRadius}: 50%;
90
+ `
154
91
  },
155
92
  inputBackgroundType: {
156
- clear: (0, _emotion.css)(_templateObject4(), _emotion.numberInputTokens.backgroundColor, _emotion.numberInputTokens.backgroundColorHover)
93
+ clear: (0, _emotion.css)`
94
+ ${_emotion.numberInputTokens.backgroundColor}: transparent;
95
+ ${_emotion.numberInputTokens.backgroundColorHover}: transparent;
96
+ `
157
97
  },
158
98
  segmentation: {
159
- solid: (0, _emotion.css)(_templateObject5(), _emotion.numberInputTokens.iconButtonSegmentationRadius)
99
+ solid: (0, _emotion.css)`
100
+ ${_emotion.numberInputTokens.iconButtonSegmentationRadius}: 0;
101
+ `
160
102
  },
161
103
  disabled: {
162
- true: (0, _emotion.css)(_templateObject6(), _emotion.numberInputTokens.disabledOpacity)
104
+ true: (0, _emotion.css)`
105
+ ${_emotion.numberInputTokens.disabledOpacity}: 0.4;
106
+ `
163
107
  }
164
108
  }
165
109
  };
@@ -8,7 +8,7 @@ Object.defineProperty(exports, "NumberInput", {
8
8
  return NumberInput;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
12
- var _NumberInputconfig = require("./NumberInput.config");
13
- var mergedConfig = (0, _emotion.mergeConfig)(_emotion.numberInputConfig, _NumberInputconfig.config);
14
- var NumberInput = (0, _emotion.component)(mergedConfig);
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
+ const _NumberInputconfig = require("./NumberInput.config");
13
+ const mergedConfig = (0, _emotion.mergeConfig)(_emotion.numberInputConfig, _NumberInputconfig.config);
14
+ const NumberInput = (0, _emotion.component)(mergedConfig);
@@ -19,5 +19,5 @@ _export(exports, {
19
19
  return _emotion.numberInputTokens;
20
20
  }
21
21
  });
22
- var _NumberInput = require("./NumberInput");
23
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
22
+ const _NumberInput = require("./NumberInput");
23
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "Overlay", {
8
8
  return _emotion.Overlay;
9
9
  }
10
10
  });
11
- var _emotion = require("@salutejs/plasma-new-hope/emotion");
11
+ const _emotion = require("@salutejs/plasma-new-hope/emotion");