@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
@@ -1,283 +1,5 @@
1
- function _tagged_template_literal(strings, raw) {
2
- if (!raw) {
3
- raw = strings.slice(0);
4
- }
5
- return Object.freeze(Object.defineProperties(strings, {
6
- raw: {
7
- value: Object.freeze(raw)
8
- }
9
- }));
10
- }
11
- function _templateObject() {
12
- var data = _tagged_template_literal([
13
- "\n ",
14
- ": var(--text-primary);\n ",
15
- ": var(--text-secondary);\n ",
16
- ": var(--surface-solid-card);\n ",
17
- ": var(--surface-solid-card);\n ",
18
- ": var(--text-primary);\n ",
19
- ": var(--text-secondary);\n ",
20
- ": var(--text-secondary);\n ",
21
- ": var(--outline-solid-primary);\n ",
22
- ": var(--outline-solid-primary-hover);\n ",
23
- ": var(--outline-accent);\n\n ",
24
- ": var(--surface-negative);\n ",
25
- ": var(--text-tertiary);\n\n ",
26
- ": var(--text-accent);\n ",
27
- ": var(--text-accent-minor);\n ",
28
- ": var(--text-accent-active);\n ",
29
- ": var(--text-primary);\n ",
30
- ": var(--text-primary-hover);\n ",
31
- ": var(--text-primary-hover);\n ",
32
- ": var(--surface-solid-primary);\n ",
33
- ": var(--surface-solid-primary-hover);\n ",
34
- ": var(--surface-solid-primary-active);\n\n ",
35
- ": var(--text-accent);\n ",
36
- ": var(--text-accent-minor);\n ",
37
- ": var(--surface-transparent-accent);\n ",
38
- ": 1;\n ",
39
- ": var(--text-secondary);\n\n ",
40
- ": var(--outline-solid-primary);\n ",
41
- ": var(--text-primary);\n\n ",
42
- ": var(--surface-solid-primary);\n\n ",
43
- ": var(--text-accent);\n\n ",
44
- ": var(--text-accent);\n ",
45
- ": var(--on-dark-text-primary);\n ",
46
- ": none;\n ",
47
- ": var(--outline-accent);\n "
48
- ]);
49
- _templateObject = function _templateObject() {
50
- return data;
51
- };
52
- return data;
53
- }
54
- function _templateObject1() {
55
- var data = _tagged_template_literal([
56
- "\n ",
57
- ": var(--text-primary);\n ",
58
- ": var(--text-secondary);\n ",
59
- ": var(--surface-solid-card);\n ",
60
- ": var(--surface-solid-card);\n ",
61
- ": var(--text-primary);\n ",
62
- ": var(--text-negative);\n ",
63
- ": var(--text-secondary);\n ",
64
- ": var(--outline-negative);\n ",
65
- ": var(--outline-negative-hover);\n ",
66
- ": var(--outline-accent);\n\n ",
67
- ": var(--surface-negative);\n ",
68
- ": var(--text-tertiary);\n\n ",
69
- ": var(--text-accent);\n ",
70
- ": var(--text-accent-minor);\n ",
71
- ": var(--text-accent-active);\n ",
72
- ": var(--text-primary);\n ",
73
- ": var(--text-primary-hover);\n ",
74
- ": var(--text-primary-hover);\n ",
75
- ": var(--surface-solid-primary);\n ",
76
- ": var(--surface-solid-primary-hover);\n ",
77
- ": var(--surface-solid-primary-active);\n\n ",
78
- ": var(--text-accent);\n ",
79
- ": var(--text-accent-minor);\n ",
80
- ": var(--surface-transparent-accent);\n ",
81
- ": 1;\n ",
82
- ": var(--text-secondary);\n\n ",
83
- ": var(--outline-solid-primary);\n ",
84
- ": var(--text-accent);\n\n ",
85
- ": var(--surface-solid-primary);\n\n ",
86
- ": var(--text-accent);\n\n ",
87
- ": var(--text-accent);\n ",
88
- ": var(--on-dark-text-primary);\n ",
89
- ": none;\n ",
90
- ": var(--outline-accent);\n "
91
- ]);
92
- _templateObject1 = function _templateObject() {
93
- return data;
94
- };
95
- return data;
96
- }
97
- function _templateObject2() {
98
- var data = _tagged_template_literal([
99
- "\n ",
100
- ": 2.5rem;\n ",
101
- ": 0.6875rem 0.875rem 0.6875rem 0.875rem;\n ",
102
- ": 0.375rem;\n ",
103
- ": 0.75rem;\n ",
104
- ": 0.125rem;\n\n ",
105
- ": -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ",
106
- ": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n\n ",
107
- ": 0 0.25rem 0 0;\n ",
108
- ": 0 0 0 0.25rem;\n\n ",
109
- ": var(--plasma-typo-body-m-font-family);\n ",
110
- ": var(--plasma-typo-body-m-font-size);\n ",
111
- ": var(--plasma-typo-body-m-font-style);\n ",
112
- ": var(--plasma-typo-body-m-font-weight);\n ",
113
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
114
- ": var(--plasma-typo-body-m-line-height);\n\n ",
115
- ": 0.5rem;\n ",
116
- ": var(--plasma-typo-body-s-font-family);\n ",
117
- ": var(--plasma-typo-body-s-font-size);\n ",
118
- ": var(--plasma-typo-body-s-font-style);\n ",
119
- ": var(--plasma-typo-body-s-font-weight);\n ",
120
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
121
- ": var(--plasma-typo-body-s-line-height);\n\n ",
122
- ": 0.25rem;\n ",
123
- ": var(--plasma-typo-body-s-font-family);\n ",
124
- ": var(--plasma-typo-body-s-font-size);\n ",
125
- ": var(--plasma-typo-body-s-font-style);\n ",
126
- ": var(--plasma-typo-body-s-font-weight);\n ",
127
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
128
- ": var(--plasma-typo-body-s-line-height);\n\n ",
129
- ": 0.3125rem 0 0 0;\n ",
130
- ": 1.0625rem 0 0.3125rem 0;\n\n ",
131
- ": 0.375rem;\n ",
132
- ": 0.375rem;\n ",
133
- ": 0 0 0 0;\n ",
134
- ": 0.3125rem auto auto -0.6875rem;\n ",
135
- ": 0 0 auto auto;\n ",
136
- ": 0.25rem -0.625rem auto auto;\n ",
137
- ": 1.063rem auto auto -0.75rem;\n ",
138
- ": 1.063rem -0.75rem auto auto;\n ",
139
- ": 1.063rem -2.125rem auto auto;\n\n ",
140
- ": 0.25rem;\n ",
141
- ": 0.25rem;\n ",
142
- ": auto;\n ",
143
- ": 1.75rem;\n ",
144
- ": 0 0.5rem 0 0.75rem;\n ",
145
- ": 0.375rem;\n ",
146
- ": 0rem;\n ",
147
- ": 1rem;\n ",
148
- ": var(--plasma-typo-body-s-font-family);\n ",
149
- ": var(--plasma-typo-body-s-font-size);\n ",
150
- ": var(--plasma-typo-body-s-font-style);\n ",
151
- ": var(--plasma-typo-body-s-font-weight);\n ",
152
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
153
- ": var(--plasma-typo-body-s-line-height);\n\n ",
154
- ": 0 -0.125rem 0 0.25rem;\n ",
155
- ": 2.5rem;\n ",
156
- ": 1rem 0 1rem;\n\n ",
157
- ": 0.625rem 0.875rem 0.625rem 0.875rem;\n ",
158
- ": 0.125rem;\n ",
159
- ": 0.75rem;\n\n ",
160
- ": 0.125rem;\n\n ",
161
- ": 1.5rem;\n ",
162
- ": 0.5rem 0.5rem;\n ",
163
- ": 0.25rem 0.5rem;\n ",
164
- ": 0.5rem;\n ",
165
- ": 1.5rem;\n ",
166
- ": 1rem;\n ",
167
- ": 0 0.5rem 0 0;\n\n ",
168
- ": 0rem;\n ",
169
- ": 0rem;\n ",
170
- ": 0rem;\n ",
171
- ": 0rem;\n ",
172
- ": 0.125rem;\n ",
173
- ": 0.375rem;\n ",
174
- ": var(--plasma-typo-body-m-font-family);\n ",
175
- ": var(--plasma-typo-body-m-font-size);\n ",
176
- ": var(--plasma-typo-body-m-font-style);\n ",
177
- ": var(--plasma-typo-body-m-font-weight);\n ",
178
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
179
- ": var(--plasma-typo-body-m-line-height);\n\n ",
180
- ": var(--plasma-typo-body-m-font-family);\n ",
181
- ": var(--plasma-typo-body-m-font-size);\n ",
182
- ": var(--plasma-typo-body-m-font-style);\n ",
183
- ": var(--plasma-typo-body-m-font-weight);\n ",
184
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
185
- ": var(--plasma-typo-body-m-line-height);\n\n ",
186
- ": 1.25rem;\n ",
187
- ": 0.875rem;\n ",
188
- ": 0.375rem;\n ",
189
- ": 0.25rem;\n ",
190
- ": 0.125rem;\n\n ",
191
- ": 0.375rem;\n\n ",
192
- ": 0.375rem;\n ",
193
- ": 0.75rem;\n ",
194
- ": 0.375rem;\n ",
195
- ": 0.75rem;\n ",
196
- ": 0.25rem;\n ",
197
- ": 0.25rem;\n "
198
- ]);
199
- _templateObject2 = function _templateObject() {
200
- return data;
201
- };
202
- return data;
203
- }
204
- function _templateObject3() {
205
- var data = _tagged_template_literal([
206
- "\n ",
207
- ": var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));\n ",
208
- ": var(--plasma-typo-body-xs-font-family);\n ",
209
- ": var(--plasma-typo-body-xs-font-size);\n ",
210
- ": var(--plasma-typo-body-xs-font-style);\n ",
211
- ": var(--plasma-typo-body-xs-font-weight);\n ",
212
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
213
- ": var(--plasma-typo-body-xs-line-height);\n "
214
- ]);
215
- _templateObject3 = function _templateObject() {
216
- return data;
217
- };
218
- return data;
219
- }
220
- function _templateObject4() {
221
- var data = _tagged_template_literal([
222
- ""
223
- ]);
224
- _templateObject4 = function _templateObject() {
225
- return data;
226
- };
227
- return data;
228
- }
229
- function _templateObject5() {
230
- var data = _tagged_template_literal([
231
- "\n ",
232
- ": var(--inverse-text-primary);\n ",
233
- ": var(--inverse-text-primary);\n ",
234
- ": var(--surface-solid-default);\n ",
235
- ": var(--surface-solid-default-hover);\n ",
236
- ": var(--inverse-text-secondary);\n ",
237
- ": var(--inverse-text-primary);\n ",
238
- ": 1;\n "
239
- ]);
240
- _templateObject5 = function _templateObject() {
241
- return data;
242
- };
243
- return data;
244
- }
245
- function _templateObject6() {
246
- var data = _tagged_template_literal([
247
- "\n ",
248
- ": 1;\n ",
249
- ": var(--surface-solid-primary);\n ",
250
- ": var(--surface-solid-primary);\n ",
251
- ": var(--surface-solid-primary);\n ",
252
- ": var(--surface-solid-primary);\n ",
253
- ": var(--surface-solid-primary);\n ",
254
- ": var(--text-secondary);\n "
255
- ]);
256
- _templateObject6 = function _templateObject() {
257
- return data;
258
- };
259
- return data;
260
- }
261
- function _templateObject7() {
262
- var data = _tagged_template_literal([
263
- "\n ",
264
- ": var(--text-primary);\n ",
265
- ": var(--surface-clear);\n ",
266
- ": var(--text-secondary);\n ",
267
- ": var(--text-secondary);\n ",
268
- ": var(--text-secondary);\n ",
269
- ": 0.4;\n ",
270
- ": var(--text-secondary);\n ",
271
- ": transparent;\n ",
272
- ": 0;\n "
273
- ]);
274
- _templateObject7 = function _templateObject() {
275
- return data;
276
- };
277
- return data;
278
- }
279
1
  import { css, selectTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
280
- export var config = {
2
+ export const config = {
281
3
  defaults: {
282
4
  view: 'default',
283
5
  size: 's',
@@ -286,24 +8,258 @@ export var config = {
286
8
  },
287
9
  variations: {
288
10
  view: {
289
- default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldContentSlotColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.buttonColor, tokens.buttonColorHover, tokens.buttonColorActive, tokens.buttonArrowColor, tokens.buttonArrowColorHover, tokens.buttonArrowColorActive, tokens.buttonBackgroundColor, tokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorActive, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.itemDisabledOpacity, tokens.itemDisabledColor, tokens.dropdownBorderColor, tokens.checkboxIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor),
290
- negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldPlaceholderColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldContentSlotColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.buttonColor, tokens.buttonColorHover, tokens.buttonColorActive, tokens.buttonArrowColor, tokens.buttonArrowColorHover, tokens.buttonArrowColorActive, tokens.buttonBackgroundColor, tokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorActive, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.itemDisabledOpacity, tokens.itemDisabledColor, tokens.dropdownBorderColor, tokens.checkboxIconColor, tokens.dividerColor, tokens.itemIconColor, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderColor)
11
+ default: css`
12
+ ${tokens.textFieldColor}: var(--text-primary);
13
+ ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
14
+ ${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
15
+ ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
16
+ ${tokens.textFieldLabelColor}: var(--text-primary);
17
+ ${tokens.textFieldLeftHelperColor}: var(--text-secondary);
18
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
19
+ ${tokens.textFieldBorderColor}: var(--outline-solid-primary);
20
+ ${tokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
21
+ ${tokens.textFieldBorderColorFocus}: var(--outline-accent);
22
+
23
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
24
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
25
+
26
+ ${tokens.buttonColor}: var(--text-accent);
27
+ ${tokens.buttonColorHover}: var(--text-accent-minor);
28
+ ${tokens.buttonColorActive}: var(--text-accent-active);
29
+ ${tokens.buttonArrowColor}: var(--text-primary);
30
+ ${tokens.buttonArrowColorHover}: var(--text-primary-hover);
31
+ ${tokens.buttonArrowColorActive}: var(--text-primary-hover);
32
+ ${tokens.buttonBackgroundColor}: var(--surface-solid-primary);
33
+ ${tokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
34
+ ${tokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
35
+
36
+ ${tokens.disclosureIconColor}: var(--text-accent);
37
+ ${tokens.disclosureIconColorHover}: var(--text-accent-minor);
38
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
39
+ ${tokens.itemDisabledOpacity}: 1;
40
+ ${tokens.itemDisabledColor}: var(--text-secondary);
41
+
42
+ ${tokens.dropdownBorderColor}: var(--outline-solid-primary);
43
+ ${tokens.checkboxIconColor}: var(--text-primary);
44
+
45
+ ${tokens.dividerColor}: var(--surface-solid-primary);
46
+
47
+ ${tokens.itemIconColor}: var(--text-accent);
48
+
49
+ ${tokens.checkboxFillColor}: var(--text-accent);
50
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
51
+ ${tokens.checkboxTriggerBorderCheckedColor}: none;
52
+ ${tokens.checkboxTriggerBorderColor}: var(--outline-accent);
53
+ `,
54
+ negative: css`
55
+ ${tokens.textFieldColor}: var(--text-primary);
56
+ ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
57
+ ${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
58
+ ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
59
+ ${tokens.textFieldLabelColor}: var(--text-primary);
60
+ ${tokens.textFieldLeftHelperColor}: var(--text-negative);
61
+ ${tokens.textFieldContentSlotColor}: var(--text-secondary);
62
+ ${tokens.textFieldBorderColor}: var(--outline-negative);
63
+ ${tokens.textFieldBorderColorHover}: var(--outline-negative-hover);
64
+ ${tokens.textFieldBorderColorFocus}: var(--outline-accent);
65
+
66
+ ${tokens.textFieldIndicatorColor}: var(--surface-negative);
67
+ ${tokens.textFieldOptionalColor}: var(--text-tertiary);
68
+
69
+ ${tokens.buttonColor}: var(--text-accent);
70
+ ${tokens.buttonColorHover}: var(--text-accent-minor);
71
+ ${tokens.buttonColorActive}: var(--text-accent-active);
72
+ ${tokens.buttonArrowColor}: var(--text-primary);
73
+ ${tokens.buttonArrowColorHover}: var(--text-primary-hover);
74
+ ${tokens.buttonArrowColorActive}: var(--text-primary-hover);
75
+ ${tokens.buttonBackgroundColor}: var(--surface-solid-primary);
76
+ ${tokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
77
+ ${tokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
78
+
79
+ ${tokens.disclosureIconColor}: var(--text-accent);
80
+ ${tokens.disclosureIconColorHover}: var(--text-accent-minor);
81
+ ${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
82
+ ${tokens.itemDisabledOpacity}: 1;
83
+ ${tokens.itemDisabledColor}: var(--text-secondary);
84
+
85
+ ${tokens.dropdownBorderColor}: var(--outline-solid-primary);
86
+ ${tokens.checkboxIconColor}: var(--text-accent);
87
+
88
+ ${tokens.dividerColor}: var(--surface-solid-primary);
89
+
90
+ ${tokens.itemIconColor}: var(--text-accent);
91
+
92
+ ${tokens.checkboxFillColor}: var(--text-accent);
93
+ ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
94
+ ${tokens.checkboxTriggerBorderCheckedColor}: none;
95
+ ${tokens.checkboxTriggerBorderColor}: var(--outline-accent);
96
+ `
291
97
  },
292
98
  size: {
293
- s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.buttonArrowMargin, tokens.targetHeight, tokens.buttonPadding, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.dropdownBorderWidth, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxTriggerBorderWidth, tokens.indicatorSize, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
99
+ s: css`
100
+ ${tokens.textFieldHeight}: 2.5rem;
101
+ ${tokens.textFieldPadding}: 0.6875rem 0.875rem 0.6875rem 0.875rem;
102
+ ${tokens.textFieldPaddingWithChips}: 0.375rem;
103
+ ${tokens.textFieldBorderRadius}: 0.75rem;
104
+ ${tokens.textFieldBorderWidth}: 0.125rem;
105
+
106
+ ${tokens.textFieldLeftContentMargin}: -0.1875rem 0.25rem -0.1875rem -0.125rem;
107
+ ${tokens.textFieldRightContentMargin}: -0.1875rem -0.125rem -0.1875rem 0.75rem;
108
+
109
+ ${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
110
+ ${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
111
+
112
+ ${tokens.textFieldFontFamily}: var(--plasma-typo-body-m-font-family);
113
+ ${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
114
+ ${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
115
+ ${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
116
+ ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
117
+ ${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
118
+
119
+ ${tokens.textFieldLabelOffset}: 0.5rem;
120
+ ${tokens.textFieldLabelFontFamily}: var(--plasma-typo-body-s-font-family);
121
+ ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-s-font-size);
122
+ ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-s-font-style);
123
+ ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-s-font-weight);
124
+ ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
125
+ ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-s-line-height);
126
+
127
+ ${tokens.textFieldLeftHelperOffset}: 0.25rem;
128
+ ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
129
+ ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-s-font-size);
130
+ ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
131
+ ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
132
+ ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
133
+ ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
134
+
135
+ ${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
136
+ ${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
137
+
138
+ ${tokens.textFieldIndicatorSizeInner}: 0.375rem;
139
+ ${tokens.textFieldIndicatorSizeOuter}: 0.375rem;
140
+ ${tokens.textFieldIndicatorLabelPlacementInner}: 0 0 0 0;
141
+ ${tokens.textFieldIndicatorLabelPlacementOuter}: 0.3125rem auto auto -0.6875rem;
142
+ ${tokens.textFieldIndicatorLabelPlacementInnerRight}: 0 0 auto auto;
143
+ ${tokens.textFieldIndicatorLabelPlacementOuterRight}: 0.25rem -0.625rem auto auto;
144
+ ${tokens.textFieldClearIndicatorLabelPlacementInner}: 1.063rem auto auto -0.75rem;
145
+ ${tokens.textFieldClearIndicatorLabelPlacementInnerRight}: 1.063rem -0.75rem auto auto;
146
+ ${tokens.textFieldClearIndicatorHintInnerRight}: 1.063rem -2.125rem auto auto;
147
+
148
+ ${tokens.textFieldChipGap}: 0.25rem;
149
+ ${tokens.textFieldChipBorderRadius}: 0.25rem;
150
+ ${tokens.textFieldChipWidth}: auto;
151
+ ${tokens.textFieldChipHeight}: 1.75rem;
152
+ ${tokens.textFieldChipPadding}: 0 0.5rem 0 0.75rem;
153
+ ${tokens.textFieldChipClearContentMarginLeft}: 0.375rem;
154
+ ${tokens.textFieldChipClearContentMarginRight}: 0rem;
155
+ ${tokens.textFieldChipCloseIconSize}: 1rem;
156
+ ${tokens.textFieldChipFontFamily}: var(--plasma-typo-body-s-font-family);
157
+ ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-s-font-size);
158
+ ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-s-font-style);
159
+ ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-s-font-weight);
160
+ ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
161
+ ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-s-line-height);
162
+
163
+ ${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
164
+ ${tokens.targetHeight}: 2.5rem;
165
+ ${tokens.buttonPadding}: 1rem 0 1rem;
166
+
167
+ ${tokens.emptyStatePadding}: 0.625rem 0.875rem 0.625rem 0.875rem;
168
+ ${tokens.padding}: 0.125rem;
169
+ ${tokens.borderRadius}: 0.75rem;
170
+
171
+ ${tokens.dropdownBorderWidth}: 0.125rem;
172
+
173
+ ${tokens.itemHeight}: 1.5rem;
174
+ ${tokens.itemPadding}: 0.5rem 0.5rem;
175
+ ${tokens.itemPaddingTight}: 0.25rem 0.5rem;
176
+ ${tokens.itemBorderRadius}: 0.5rem;
177
+ ${tokens.itemIconSize}: 1.5rem;
178
+ ${tokens.itemIconSizeTight}: 1rem;
179
+ ${tokens.itemIconMargin}: 0 0.5rem 0 0;
180
+
181
+ ${tokens.cellPadding}: 0rem;
182
+ ${tokens.cellPaddingLeftContent}: 0rem;
183
+ ${tokens.cellPaddingContent}: 0rem;
184
+ ${tokens.cellPaddingRightContent}: 0rem;
185
+ ${tokens.cellTextboxGap}: 0.125rem;
186
+ ${tokens.cellGap}: 0.375rem;
187
+ ${tokens.cellTitleFontFamily}: var(--plasma-typo-body-m-font-family);
188
+ ${tokens.cellTitleFontSize}: var(--plasma-typo-body-m-font-size);
189
+ ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
190
+ ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
191
+ ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
192
+ ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
193
+
194
+ ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);
195
+ ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
196
+ ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
197
+ ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
198
+ ${tokens.fontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
199
+ ${tokens.fontLineHeight}: var(--plasma-typo-body-m-line-height);
200
+
201
+ ${tokens.checkboxTriggerSize}: 1.25rem;
202
+ ${tokens.checkboxTriggerSizeTight}: 0.875rem;
203
+ ${tokens.checkboxTriggerBorderRadius}: 0.375rem;
204
+ ${tokens.checkboxTriggerBorderRadiusTight}: 0.25rem;
205
+ ${tokens.checkboxTriggerBorderWidth}: 0.125rem;
206
+
207
+ ${tokens.indicatorSize}: 0.375rem;
208
+
209
+ ${tokens.dividerMarginTop}: 0.375rem;
210
+ ${tokens.dividerMarginRight}: 0.75rem;
211
+ ${tokens.dividerMarginBottom}: 0.375rem;
212
+ ${tokens.dividerMarginLeft}: 0.75rem;
213
+ ${tokens.dividerMarginTopTight}: 0.25rem;
214
+ ${tokens.dividerMarginBottomTight}: 0.25rem;
215
+ `
294
216
  },
295
217
  labelPlacement: {
296
- inner: css(_templateObject3(), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
297
- outer: css(_templateObject4())
218
+ inner: css`
219
+ ${tokens.textFieldPlaceholderColor}: var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));
220
+ ${tokens.textFieldLabelInnerFontFamily}: var(--plasma-typo-body-xs-font-family);
221
+ ${tokens.textFieldLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);
222
+ ${tokens.textFieldLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);
223
+ ${tokens.textFieldLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);
224
+ ${tokens.textFieldLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
225
+ ${tokens.textFieldLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);
226
+ `,
227
+ outer: css``
298
228
  },
299
229
  chipView: {
300
- default: css(_templateObject5(), tokens.textFieldChipColor, tokens.textFieldChipColorHover, tokens.textFieldChipBackground, tokens.textFieldChipBackgroundHover, tokens.textFieldChipCloseIconColor, tokens.textFieldChipCloseIconColorHover, tokens.textFieldChipOpacityReadonly)
230
+ default: css`
231
+ ${tokens.textFieldChipColor}: var(--inverse-text-primary);
232
+ ${tokens.textFieldChipColorHover}: var(--inverse-text-primary);
233
+ ${tokens.textFieldChipBackground}: var(--surface-solid-default);
234
+ ${tokens.textFieldChipBackgroundHover}: var(--surface-solid-default-hover);
235
+ ${tokens.textFieldChipCloseIconColor}: var(--inverse-text-secondary);
236
+ ${tokens.textFieldChipCloseIconColorHover}: var(--inverse-text-primary);
237
+ ${tokens.textFieldChipOpacityReadonly}: 1;
238
+ `
301
239
  },
302
240
  disabled: {
303
- true: css(_templateObject6(), tokens.textFieldDisabledOpacity, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldColor)
241
+ true: css`
242
+ ${tokens.textFieldDisabledOpacity}: 1;
243
+ ${tokens.textFieldBackgroundColor}: var(--surface-solid-primary);
244
+ ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
245
+ ${tokens.textFieldBorderColor}: var(--surface-solid-primary);
246
+ ${tokens.textFieldBorderColorHover}: var(--surface-solid-primary);
247
+ ${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
248
+ ${tokens.textFieldColor}: var(--text-secondary);
249
+ `
304
250
  },
305
251
  readOnly: {
306
- true: css(_templateObject7(), tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, tokens.textFieldLeftHelperColorReadOnly, tokens.textFieldLabelColorReadOnly, tokens.disclosureIconOpacityReadOnly, tokens.textFieldTitleCaptionColorReadOnly, tokens.textFieldBorderColor, tokens.textFieldBorderWidth)
252
+ true: css`
253
+ ${tokens.textFieldColorReadOnly}: var(--text-primary);
254
+ ${tokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
255
+ ${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
256
+ ${tokens.textFieldLeftHelperColorReadOnly}: var(--text-secondary);
257
+ ${tokens.textFieldLabelColorReadOnly}: var(--text-secondary);
258
+ ${tokens.disclosureIconOpacityReadOnly}: 0.4;
259
+ ${tokens.textFieldTitleCaptionColorReadOnly}: var(--text-secondary);
260
+ ${tokens.textFieldBorderColor}: transparent;
261
+ ${tokens.textFieldBorderWidth}: 0;
262
+ `
307
263
  }
308
264
  }
309
265
  };
@@ -1,40 +1,13 @@
1
- function _define_property(obj, key, value) {
2
- if (key in obj) {
3
- Object.defineProperty(obj, key, {
4
- value: value,
5
- enumerable: true,
6
- configurable: true,
7
- writable: true
8
- });
9
- } else {
10
- obj[key] = value;
11
- }
12
- return obj;
13
- }
14
- function _object_spread(target) {
15
- for(var i = 1; i < arguments.length; i++){
16
- var source = arguments[i] != null ? arguments[i] : {};
17
- var ownKeys = Object.keys(source);
18
- if (typeof Object.getOwnPropertySymbols === "function") {
19
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
- }));
22
- }
23
- ownKeys.forEach(function(key) {
24
- _define_property(target, key, source[key]);
25
- });
26
- }
27
- return target;
28
- }
29
1
  import { selectConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/emotion';
30
2
  import React from 'react';
31
3
  import { config } from './Select.config';
32
- var mergedConfig = mergeConfig(selectConfig, config);
33
- var SelectNewHope = component(mergedConfig);
34
- var SelectComponent = function SelectComponent(props, ref) {
35
- return /*#__PURE__*/ React.createElement(SelectNewHope, _object_spread({
36
- ref: ref
37
- }, props));
4
+ const mergedConfig = mergeConfig(selectConfig, config);
5
+ const SelectNewHope = component(mergedConfig);
6
+ const SelectComponent = (props, ref)=>{
7
+ return /*#__PURE__*/ React.createElement(SelectNewHope, {
8
+ ref: ref,
9
+ ...props
10
+ });
38
11
  };
39
- var Select = fixedForwardRef(SelectComponent);
12
+ const Select = fixedForwardRef(SelectComponent);
40
13
  export { Select };