@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,218 +1,120 @@
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(--plasma-typo-text-m-font-family);\n ",
15
- ": var(--text-primary);\n ",
16
- ": var(--text-primary-hover);\n ",
17
- ": var(--text-primary-active);\n ",
18
- ": var(--text-primary);\n ",
19
- ": var(--text-primary-hover);\n ",
20
- ": var(--text-primary-active);\n ",
21
- ": 0.063rem;\n ",
22
- ": 0.25rem;\n "
23
- ]);
24
- _templateObject = function _templateObject() {
25
- return data;
26
- };
27
- return data;
28
- }
29
- function _templateObject1() {
30
- var data = _tagged_template_literal([
31
- "\n ",
32
- ": var(--plasma-typo-text-m-font-family);\n ",
33
- ": var(--text-secondary);\n ",
34
- ": var(--text-secondary-hover);\n ",
35
- ": var(--text-secondary-active);\n ",
36
- ": var(--text-secondary);\n ",
37
- ": var(--text-secondary-hover);\n ",
38
- ": var(--text-secondary-active);\n ",
39
- ": 0.063rem;\n ",
40
- ": 0.25rem;\n "
41
- ]);
42
- _templateObject1 = function _templateObject() {
43
- return data;
44
- };
45
- return data;
46
- }
47
- function _templateObject2() {
48
- var data = _tagged_template_literal([
49
- "\n ",
50
- ": var(--plasma-typo-text-m-font-family);\n ",
51
- ": var(--text-tertiary);\n ",
52
- ": var(--text-tertiary-hover);\n ",
53
- ": var(--text-tertiary-active);\n ",
54
- ": var(--text-tertiary);\n ",
55
- ": var(--text-tertiary-hover);\n ",
56
- ": var(--text-tertiary-active);\n ",
57
- ": 0.063rem;\n ",
58
- ": 0.25rem;\n "
59
- ]);
60
- _templateObject2 = function _templateObject() {
61
- return data;
62
- };
63
- return data;
64
- }
65
- function _templateObject3() {
66
- var data = _tagged_template_literal([
67
- "\n ",
68
- ": var(--plasma-typo-text-m-font-family);\n ",
69
- ": var(--text-paragraph);\n ",
70
- ": var(--text-paragraph-hover);\n ",
71
- ": var(--text-paragraph-active);\n ",
72
- ": var(--text-paragraph);\n ",
73
- ": var(--text-paragraph-hover);\n ",
74
- ": var(--text-paragraph-active);\n ",
75
- ": 0.063rem;\n ",
76
- ": 0.25rem;\n "
77
- ]);
78
- _templateObject3 = function _templateObject() {
79
- return data;
80
- };
81
- return data;
82
- }
83
- function _templateObject4() {
84
- var data = _tagged_template_literal([
85
- "\n ",
86
- ": var(--plasma-typo-text-m-font-family);\n ",
87
- ": var(--text-accent);\n ",
88
- ": var(--text-accent-minor);\n ",
89
- ": var(--text-accent-active);\n ",
90
- ": var(--text-accent);\n ",
91
- ": var(--text-accent-minor);\n ",
92
- ": var(--text-accent-active);\n ",
93
- ": 0.063rem;\n ",
94
- ": 0.25rem;\n "
95
- ]);
96
- _templateObject4 = function _templateObject() {
97
- return data;
98
- };
99
- return data;
100
- }
101
- function _templateObject5() {
102
- var data = _tagged_template_literal([
103
- "\n ",
104
- ": var(--plasma-typo-text-m-font-family);\n ",
105
- ": var(--text-positive);\n ",
106
- ": var(--text-positive-hover);\n ",
107
- ": var(--text-positive-active);\n ",
108
- ": var(--text-positive);\n ",
109
- ": var(--text-positive-hover);\n ",
110
- ": var(--text-positive-active);\n ",
111
- ": 0.063rem;\n ",
112
- ": 0.25rem;\n "
113
- ]);
114
- _templateObject5 = function _templateObject() {
115
- return data;
116
- };
117
- return data;
118
- }
119
- function _templateObject6() {
120
- var data = _tagged_template_literal([
121
- "\n ",
122
- ": var(--plasma-typo-text-m-font-family);\n ",
123
- ": var(--text-warning);\n ",
124
- ": var(--text-warning-hover);\n ",
125
- ": var(--text-warning-active);\n ",
126
- ": var(--text-warning);\n ",
127
- ": var(--text-warning-hover);\n ",
128
- ": var(--text-warning-active);\n ",
129
- ": 0.063rem;\n ",
130
- ": 0.25rem;\n "
131
- ]);
132
- _templateObject6 = function _templateObject() {
133
- return data;
134
- };
135
- return data;
136
- }
137
- function _templateObject7() {
138
- var data = _tagged_template_literal([
139
- "\n ",
140
- ": var(--plasma-typo-text-m-font-family);\n ",
141
- ": var(--text-negative);\n ",
142
- ": var(--text-negative-hover);\n ",
143
- ": var(--text-negative-active);\n ",
144
- ": var(--text-negative);\n ",
145
- ": var(--text-negative-hover);\n ",
146
- ": var(--text-negative-active);\n ",
147
- ": 0.063rem;\n ",
148
- ": 0.25rem;\n "
149
- ]);
150
- _templateObject7 = function _templateObject() {
151
- return data;
152
- };
153
- return data;
154
- }
155
- function _templateObject8() {
156
- var data = _tagged_template_literal([
157
- "\n ",
158
- ": var(--plasma-typo-text-m-font-family);\n ",
159
- ":inherit;\n ",
160
- ": inherit;\n ",
161
- ": inherit;\n ",
162
- ": inherit;\n ",
163
- ": inherit;\n ",
164
- ": inherit;\n ",
165
- ": 0.063rem;\n ",
166
- ": 0.25rem;\n "
167
- ]);
168
- _templateObject8 = function _templateObject() {
169
- return data;
170
- };
171
- return data;
172
- }
173
- function _templateObject9() {
174
- var data = _tagged_template_literal([
175
- "\n ",
176
- ": 0.4;\n "
177
- ]);
178
- _templateObject9 = function _templateObject() {
179
- return data;
180
- };
181
- return data;
182
- }
183
- function _templateObject10() {
184
- var data = _tagged_template_literal([
185
- "\n ",
186
- ": var(--text-primary);\n "
187
- ]);
188
- _templateObject10 = function _templateObject() {
189
- return data;
190
- };
191
- return data;
192
- }
193
1
  import { css, linkTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
194
- export var config = {
2
+ export const config = {
195
3
  defaults: {
196
4
  view: 'default',
197
5
  focused: 'true'
198
6
  },
199
7
  variations: {
200
8
  view: {
201
- default: css(_templateObject(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
202
- secondary: css(_templateObject1(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
203
- tertiary: css(_templateObject2(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
204
- paragraph: css(_templateObject3(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
205
- accent: css(_templateObject4(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
206
- positive: css(_templateObject5(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
207
- warning: css(_templateObject6(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
208
- negative: css(_templateObject7(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset),
209
- clear: css(_templateObject8(), tokens.linkFontFamily, tokens.linkColor, tokens.linkColorHover, tokens.linkColorActive, tokens.linkColorVisited, tokens.linkColorVisitedHover, tokens.linkColorVisitedActive, tokens.linkUnderlineBorder, tokens.linkUnderlineOffset)
9
+ default: css`
10
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
11
+ ${tokens.linkColor}: var(--text-primary);
12
+ ${tokens.linkColorHover}: var(--text-primary-hover);
13
+ ${tokens.linkColorActive}: var(--text-primary-active);
14
+ ${tokens.linkColorVisited}: var(--text-primary);
15
+ ${tokens.linkColorVisitedHover}: var(--text-primary-hover);
16
+ ${tokens.linkColorVisitedActive}: var(--text-primary-active);
17
+ ${tokens.linkUnderlineBorder}: 0.063rem;
18
+ ${tokens.linkUnderlineOffset}: 0.25rem;
19
+ `,
20
+ secondary: css`
21
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
22
+ ${tokens.linkColor}: var(--text-secondary);
23
+ ${tokens.linkColorHover}: var(--text-secondary-hover);
24
+ ${tokens.linkColorActive}: var(--text-secondary-active);
25
+ ${tokens.linkColorVisited}: var(--text-secondary);
26
+ ${tokens.linkColorVisitedHover}: var(--text-secondary-hover);
27
+ ${tokens.linkColorVisitedActive}: var(--text-secondary-active);
28
+ ${tokens.linkUnderlineBorder}: 0.063rem;
29
+ ${tokens.linkUnderlineOffset}: 0.25rem;
30
+ `,
31
+ tertiary: css`
32
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
33
+ ${tokens.linkColor}: var(--text-tertiary);
34
+ ${tokens.linkColorHover}: var(--text-tertiary-hover);
35
+ ${tokens.linkColorActive}: var(--text-tertiary-active);
36
+ ${tokens.linkColorVisited}: var(--text-tertiary);
37
+ ${tokens.linkColorVisitedHover}: var(--text-tertiary-hover);
38
+ ${tokens.linkColorVisitedActive}: var(--text-tertiary-active);
39
+ ${tokens.linkUnderlineBorder}: 0.063rem;
40
+ ${tokens.linkUnderlineOffset}: 0.25rem;
41
+ `,
42
+ paragraph: css`
43
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
44
+ ${tokens.linkColor}: var(--text-paragraph);
45
+ ${tokens.linkColorHover}: var(--text-paragraph-hover);
46
+ ${tokens.linkColorActive}: var(--text-paragraph-active);
47
+ ${tokens.linkColorVisited}: var(--text-paragraph);
48
+ ${tokens.linkColorVisitedHover}: var(--text-paragraph-hover);
49
+ ${tokens.linkColorVisitedActive}: var(--text-paragraph-active);
50
+ ${tokens.linkUnderlineBorder}: 0.063rem;
51
+ ${tokens.linkUnderlineOffset}: 0.25rem;
52
+ `,
53
+ accent: css`
54
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
55
+ ${tokens.linkColor}: var(--text-accent);
56
+ ${tokens.linkColorHover}: var(--text-accent-minor);
57
+ ${tokens.linkColorActive}: var(--text-accent-active);
58
+ ${tokens.linkColorVisited}: var(--text-accent);
59
+ ${tokens.linkColorVisitedHover}: var(--text-accent-minor);
60
+ ${tokens.linkColorVisitedActive}: var(--text-accent-active);
61
+ ${tokens.linkUnderlineBorder}: 0.063rem;
62
+ ${tokens.linkUnderlineOffset}: 0.25rem;
63
+ `,
64
+ positive: css`
65
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
66
+ ${tokens.linkColor}: var(--text-positive);
67
+ ${tokens.linkColorHover}: var(--text-positive-hover);
68
+ ${tokens.linkColorActive}: var(--text-positive-active);
69
+ ${tokens.linkColorVisited}: var(--text-positive);
70
+ ${tokens.linkColorVisitedHover}: var(--text-positive-hover);
71
+ ${tokens.linkColorVisitedActive}: var(--text-positive-active);
72
+ ${tokens.linkUnderlineBorder}: 0.063rem;
73
+ ${tokens.linkUnderlineOffset}: 0.25rem;
74
+ `,
75
+ warning: css`
76
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
77
+ ${tokens.linkColor}: var(--text-warning);
78
+ ${tokens.linkColorHover}: var(--text-warning-hover);
79
+ ${tokens.linkColorActive}: var(--text-warning-active);
80
+ ${tokens.linkColorVisited}: var(--text-warning);
81
+ ${tokens.linkColorVisitedHover}: var(--text-warning-hover);
82
+ ${tokens.linkColorVisitedActive}: var(--text-warning-active);
83
+ ${tokens.linkUnderlineBorder}: 0.063rem;
84
+ ${tokens.linkUnderlineOffset}: 0.25rem;
85
+ `,
86
+ negative: css`
87
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
88
+ ${tokens.linkColor}: var(--text-negative);
89
+ ${tokens.linkColorHover}: var(--text-negative-hover);
90
+ ${tokens.linkColorActive}: var(--text-negative-active);
91
+ ${tokens.linkColorVisited}: var(--text-negative);
92
+ ${tokens.linkColorVisitedHover}: var(--text-negative-hover);
93
+ ${tokens.linkColorVisitedActive}: var(--text-negative-active);
94
+ ${tokens.linkUnderlineBorder}: 0.063rem;
95
+ ${tokens.linkUnderlineOffset}: 0.25rem;
96
+ `,
97
+ clear: css`
98
+ ${tokens.linkFontFamily}: var(--plasma-typo-text-m-font-family);
99
+ ${tokens.linkColor}:inherit;
100
+ ${tokens.linkColorHover}: inherit;
101
+ ${tokens.linkColorActive}: inherit;
102
+ ${tokens.linkColorVisited}: inherit;
103
+ ${tokens.linkColorVisitedHover}: inherit;
104
+ ${tokens.linkColorVisitedActive}: inherit;
105
+ ${tokens.linkUnderlineBorder}: 0.063rem;
106
+ ${tokens.linkUnderlineOffset}: 0.25rem;
107
+ `
210
108
  },
211
109
  disabled: {
212
- true: css(_templateObject9(), tokens.linkDisabledOpacity)
110
+ true: css`
111
+ ${tokens.linkDisabledOpacity}: 0.4;
112
+ `
213
113
  },
214
114
  focused: {
215
- true: css(_templateObject10(), tokens.linkColorFocus)
115
+ true: css`
116
+ ${tokens.linkColorFocus}: var(--text-primary);
117
+ `
216
118
  }
217
119
  }
218
120
  };
@@ -1,7 +1,7 @@
1
1
  import { linkConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
2
  import { config } from './Link.config';
3
- var mergedConfig = mergeConfig(linkConfig, config);
4
- var LinkComponent = component(mergedConfig);
3
+ const mergedConfig = mergeConfig(linkConfig, config);
4
+ const LinkComponent = component(mergedConfig);
5
5
  /**
6
6
  * Ссылка.
7
- */ export var Link = LinkComponent;
7
+ */ export const Link = LinkComponent;
@@ -2,4 +2,4 @@ import { composeMask } from '@salutejs/plasma-new-hope/emotion';
2
2
  import { TextField } from '../TextField';
3
3
  /**
4
4
  * Маска
5
- */ export var Mask = composeMask(TextField);
5
+ */ export const Mask = composeMask(TextField);
@@ -1,41 +1,23 @@
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
- ": rgba(35, 35, 35, 0.2);\n ",
15
- ": var(--overlay-soft);\n ",
16
- ": var(--surface-solid-card);\n ",
17
- ": 1.25rem;\n ",
18
- ": 2rem;\n ",
19
- ": 0.625rem;\n ",
20
- ": 0.375rem;\n ",
21
- ": var(--text-accent);\n ",
22
- ": var(--text-accent-minor);\n ",
23
- ": var(--text-accent-active);\n ",
24
- ": var(--surface-accent);\n "
25
- ]);
26
- _templateObject = function _templateObject() {
27
- return data;
28
- };
29
- return data;
30
- }
31
1
  import { css, modalTokens } from '@salutejs/plasma-new-hope/emotion';
32
- export var config = {
2
+ export const config = {
33
3
  defaults: {
34
4
  view: 'default'
35
5
  },
36
6
  variations: {
37
7
  view: {
38
- default: css(_templateObject(), modalTokens.modalOverlayWithBlurColor, modalTokens.modalOverlayColor, modalTokens.modalBodyBackground, modalTokens.modalBodyBorderRadius, modalTokens.modalBodyPadding, modalTokens.modalContentPadding, modalTokens.modalCloseButtonRadius, modalTokens.modalCloseButtonColor, modalTokens.modalCloseButtonHoverColor, modalTokens.modalCloseButtonActiveColor, modalTokens.modalOutlineFocusColor)
8
+ default: css`
9
+ ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);
10
+ ${modalTokens.modalOverlayColor}: var(--overlay-soft);
11
+ ${modalTokens.modalBodyBackground}: var(--surface-solid-card);
12
+ ${modalTokens.modalBodyBorderRadius}: 1.25rem;
13
+ ${modalTokens.modalBodyPadding}: 2rem;
14
+ ${modalTokens.modalContentPadding}: 0.625rem;
15
+ ${modalTokens.modalCloseButtonRadius}: 0.375rem;
16
+ ${modalTokens.modalCloseButtonColor}: var(--text-accent);
17
+ ${modalTokens.modalCloseButtonHoverColor}: var(--text-accent-minor);
18
+ ${modalTokens.modalCloseButtonActiveColor}: var(--text-accent-active);
19
+ ${modalTokens.modalOutlineFocusColor}: var(--surface-accent);
20
+ `
39
21
  }
40
22
  }
41
23
  };
@@ -1,7 +1,7 @@
1
1
  import { modalConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
2
  import { config } from './Modal.config';
3
- var mergedConfig = mergeConfig(modalConfig, config);
4
- var ModalComponent = component(mergedConfig);
3
+ const mergedConfig = mergeConfig(modalConfig, config);
4
+ const ModalComponent = component(mergedConfig);
5
5
  /**
6
6
  * Модальное окно.
7
- */ export var Modal = ModalComponent;
7
+ */ export const Modal = ModalComponent;
@@ -1,158 +1,117 @@
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-primary);\n ",
16
- ": var(--text-secondary);\n ",
17
- ": var(--surface-solid-card);\n ",
18
- ": 0.75rem;\n ",
19
- ": 0.75rem;\n ",
20
- ": var(--outline-solid-primary);\n\n ",
21
- ": 0.125rem;\n ",
22
- ": 0.25rem;\n ",
23
- ": 0rem;\n ",
24
- ": 0.25rem;\n\n ",
25
- ": 0.25rem;\n ",
26
- ": 1rem;\n\n ",
27
- ": 0;\n ",
28
- ": 0.125rem;\n ",
29
- ": 0.375rem;\n ",
30
- ": 0.125rem;\n\n ",
31
- ": 1.625rem;\n ",
32
- ": 0.25rem;\n\n ",
33
- ": 0.5rem;\n ",
34
- ": 0.5rem;\n\n ",
35
- ": 0.375rem;\n\n ",
36
- ": 1.5rem;\n ",
37
- ": 0.25rem;\n ",
38
- ": 0.25rem;\n\n ",
39
- ": var(--plasma-typo-body-s-font-family);\n ",
40
- ": var(--plasma-typo-body-s-font-size);\n ",
41
- ": var(--plasma-typo-body-s-font-style);\n ",
42
- ": var(--plasma-typo-body-s-font-weight);\n ",
43
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
44
- ": var(--plasma-typo-body-s-line-height);\n\n ",
45
- ": var(--plasma-typo-body-m-font-family);\n ",
46
- ": var(--plasma-typo-body-m-font-size);\n ",
47
- ": var(--plasma-typo-body-m-font-style);\n ",
48
- ": var(--plasma-typo-body-m-bold-font-weight);\n ",
49
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
50
- ": var(--plasma-typo-body-m-line-height);\n\n ",
51
- ": var(--text-accent);\n ",
52
- ":var(--text-accent-minor);\n\n ",
53
- ": 0.5rem;\n ",
54
- ": 0.75rem;\n ",
55
- ": 0.8125rem 0.5rem 0.8125rem 0.875rem;\n "
56
- ]);
57
- _templateObject = function _templateObject() {
58
- return data;
59
- };
60
- return data;
61
- }
62
- function _templateObject1() {
63
- var data = _tagged_template_literal([
64
- "\n ",
65
- ": 30rem;\n ",
66
- ": 0.75rem 0.75rem 0.75rem 0.75rem;\n ",
67
- ": flex-start;\n ",
68
- ": flex-end;\n ",
69
- ": flex-start;\n "
70
- ]);
71
- _templateObject1 = function _templateObject() {
72
- return data;
73
- };
74
- return data;
75
- }
76
- function _templateObject2() {
77
- var data = _tagged_template_literal([
78
- "\n ",
79
- ": 15rem;\n ",
80
- ": 0.375rem;\n "
81
- ]);
82
- _templateObject2 = function _templateObject() {
83
- return data;
84
- };
85
- return data;
86
- }
87
- function _templateObject3() {
88
- var data = _tagged_template_literal([
89
- "\n ",
90
- ": 0.5rem;\n ",
91
- ": 0.5rem;\n ",
92
- ": 0.125rem;\n\n ",
93
- ": 0.75rem;\n ",
94
- ": 0rem;\n\n ",
95
- ": 0.125rem;\n ",
96
- ": 0.25rem;\n ",
97
- ": 0rem;\n ",
98
- ": 0.25rem;\n\n ",
99
- ": 0rem;\n "
100
- ]);
101
- _templateObject3 = function _templateObject() {
102
- return data;
103
- };
104
- return data;
105
- }
106
- function _templateObject4() {
107
- var data = _tagged_template_literal([
108
- "\n ",
109
- ": 0.875rem;\n ",
110
- ": 1rem;\n ",
111
- ": 0.125rem;\n\n ",
112
- ": 0.75rem 1rem 1rem 1rem;\n ",
113
- ": 0.1875rem;\n\n ",
114
- ": 0.25rem;\n ",
115
- ": 0rem;\n ",
116
- ": 0rem;\n ",
117
- ": 0rem;\n\n ",
118
- ": 2rem;\n "
119
- ]);
120
- _templateObject4 = function _templateObject() {
121
- return data;
122
- };
123
- return data;
124
- }
125
- function _templateObject5() {
126
- var data = _tagged_template_literal([
127
- "\n ",
128
- ": 1.5rem;\n ",
129
- ": 1.5rem;\n "
130
- ]);
131
- _templateObject5 = function _templateObject() {
132
- return data;
133
- };
134
- return data;
135
- }
136
1
  import { css, notificationTokens } from '@salutejs/plasma-new-hope/emotion';
137
- export var config = {
2
+ export const config = {
138
3
  defaults: {
139
4
  view: 'default',
140
5
  closeIconType: 'thin'
141
6
  },
142
7
  variations: {
143
8
  view: {
144
- default: css(_templateObject(), notificationTokens.titleColor, notificationTokens.contentLeftIconColor, notificationTokens.contentColor, notificationTokens.background, notificationTokens.borderRadius, notificationTokens.padding, notificationTokens.borderColor, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.contentPaddingTopWithoutIcon, notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, notificationTokens.textboxPaddingTop, notificationTokens.textboxPaddingRight, notificationTokens.textboxPaddingBottom, notificationTokens.textboxPaddingLeft, notificationTokens.textboxPaddingRightWithCloseIcon, notificationTokens.textboxGap, notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.buttonsMarginTop, notificationTokens.contentLeftIconSize, notificationTokens.contentLeftIconMargin, notificationTokens.contentTopIconMargin, notificationTokens.contentFontFamily, notificationTokens.contentFontSize, notificationTokens.contentFontStyle, notificationTokens.contentFontWeight, notificationTokens.contentFontLetterSpacing, notificationTokens.contentFontLineHeight, notificationTokens.titleFontFamily, notificationTokens.titleFontSize, notificationTokens.titleFontStyle, notificationTokens.titleFontWeight, notificationTokens.titleFontLetterSpacing, notificationTokens.titleFontLineHeight, notificationTokens.closeIconColor, notificationTokens.closeIconColorOnHover, notificationTokens.horizontalLayoutGap, notificationTokens.horizontalLayoutLeftIconMargin, notificationTokens.paddingOneLineTextbox)
9
+ default: css`
10
+ ${notificationTokens.titleColor}: var(--text-primary);
11
+ ${notificationTokens.contentLeftIconColor}: var(--text-primary);
12
+ ${notificationTokens.contentColor}: var(--text-secondary);
13
+ ${notificationTokens.background}: var(--surface-solid-card);
14
+ ${notificationTokens.borderRadius}: 0.75rem;
15
+ ${notificationTokens.padding}: 0.75rem;
16
+ ${notificationTokens.borderColor}: var(--outline-solid-primary);
17
+
18
+ ${notificationTokens.contentPaddingTop}: 0.125rem;
19
+ ${notificationTokens.contentPaddingRight}: 0.25rem;
20
+ ${notificationTokens.contentPaddingBottom}: 0rem;
21
+ ${notificationTokens.contentPaddingLeft}: 0.25rem;
22
+
23
+ ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;
24
+ ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;
25
+
26
+ ${notificationTokens.textboxPaddingTop}: 0;
27
+ ${notificationTokens.textboxPaddingRight}: 0.125rem;
28
+ ${notificationTokens.textboxPaddingBottom}: 0.375rem;
29
+ ${notificationTokens.textboxPaddingLeft}: 0.125rem;
30
+
31
+ ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;
32
+ ${notificationTokens.textboxGap}: 0.25rem;
33
+
34
+ ${notificationTokens.closeIconTop}: 0.5rem;
35
+ ${notificationTokens.closeIconRight}: 0.5rem;
36
+
37
+ ${notificationTokens.buttonsMarginTop}: 0.375rem;
38
+
39
+ ${notificationTokens.contentLeftIconSize}: 1.5rem;
40
+ ${notificationTokens.contentLeftIconMargin}: 0.25rem;
41
+ ${notificationTokens.contentTopIconMargin}: 0.25rem;
42
+
43
+ ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);
44
+ ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);
45
+ ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);
46
+ ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);
47
+ ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
48
+ ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);
49
+
50
+ ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-m-font-family);
51
+ ${notificationTokens.titleFontSize}: var(--plasma-typo-body-m-font-size);
52
+ ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-m-font-style);
53
+ ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-m-bold-font-weight);
54
+ ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
55
+ ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-m-line-height);
56
+
57
+ ${notificationTokens.closeIconColor}: var(--text-accent);
58
+ ${notificationTokens.closeIconColorOnHover}:var(--text-accent-minor);
59
+
60
+ ${notificationTokens.horizontalLayoutGap}: 0.5rem;
61
+ ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;
62
+ ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;
63
+ `
145
64
  },
146
65
  layout: {
147
- horizontal: css(_templateObject1(), notificationTokens.width, notificationTokens.horizontalLayoutPadding, notificationTokens.horisontalIconLeftAlignSelf, notificationTokens.horisontalActionsAlignSelf, notificationTokens.horisontalIconCloseAlignSelf),
148
- vertical: css(_templateObject2(), notificationTokens.width, notificationTokens.padding)
66
+ horizontal: css`
67
+ ${notificationTokens.width}: 30rem;
68
+ ${notificationTokens.horizontalLayoutPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;
69
+ ${notificationTokens.horisontalIconLeftAlignSelf}: flex-start;
70
+ ${notificationTokens.horisontalActionsAlignSelf}: flex-end;
71
+ ${notificationTokens.horisontalIconCloseAlignSelf}: flex-start;
72
+ `,
73
+ vertical: css`
74
+ ${notificationTokens.width}: 15rem;
75
+ ${notificationTokens.padding}: 0.375rem;
76
+ `
149
77
  },
150
78
  size: {
151
- xs: css(_templateObject3(), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.borderWidth, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft),
152
- xxs: css(_templateObject4(), notificationTokens.closeIconTop, notificationTokens.closeIconRight, notificationTokens.borderWidth, notificationTokens.padding, notificationTokens.textboxPaddingTopWithTopIcon, notificationTokens.contentPaddingTop, notificationTokens.contentPaddingRight, notificationTokens.contentPaddingBottom, notificationTokens.contentPaddingLeft, notificationTokens.buttonsMarginLeft)
79
+ xs: css`
80
+ ${notificationTokens.closeIconTop}: 0.5rem;
81
+ ${notificationTokens.closeIconRight}: 0.5rem;
82
+ ${notificationTokens.borderWidth}: 0.125rem;
83
+
84
+ ${notificationTokens.padding}: 0.75rem;
85
+ ${notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;
86
+
87
+ ${notificationTokens.contentPaddingTop}: 0.125rem;
88
+ ${notificationTokens.contentPaddingRight}: 0.25rem;
89
+ ${notificationTokens.contentPaddingBottom}: 0rem;
90
+ ${notificationTokens.contentPaddingLeft}: 0.25rem;
91
+
92
+ ${notificationTokens.buttonsMarginLeft}: 0rem;
93
+ `,
94
+ xxs: css`
95
+ ${notificationTokens.closeIconTop}: 0.875rem;
96
+ ${notificationTokens.closeIconRight}: 1rem;
97
+ ${notificationTokens.borderWidth}: 0.125rem;
98
+
99
+ ${notificationTokens.padding}: 0.75rem 1rem 1rem 1rem;
100
+ ${notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;
101
+
102
+ ${notificationTokens.contentPaddingTop}: 0.25rem;
103
+ ${notificationTokens.contentPaddingRight}: 0rem;
104
+ ${notificationTokens.contentPaddingBottom}: 0rem;
105
+ ${notificationTokens.contentPaddingLeft}: 0rem;
106
+
107
+ ${notificationTokens.buttonsMarginLeft}: 2rem;
108
+ `
153
109
  },
154
110
  closeIconType: {
155
- thin: css(_templateObject5(), notificationTokens.closeIconButtonSize, notificationTokens.closeIconSize)
111
+ thin: css`
112
+ ${notificationTokens.closeIconButtonSize}: 1.5rem;
113
+ ${notificationTokens.closeIconSize}: 1.5rem;
114
+ `
156
115
  }
157
116
  }
158
117
  };