@salutejs/plasma-web 1.585.0-canary.2021.15824070198.0 → 1.585.0-canary.2022.15754718552.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 (535) hide show
  1. package/components/Accordion/Accordion.config.js +32 -359
  2. package/components/Accordion/Accordion.js +12 -12
  3. package/components/Accordion/index.js +15 -16
  4. package/components/Attach/Attach.config.js +36 -818
  5. package/components/Attach/Attach.js +11 -11
  6. package/components/Attach/index.js +7 -6
  7. package/components/AudioPlayer/index.js +7 -6
  8. package/components/Autocomplete/Autocomplete.config.js +42 -636
  9. package/components/Autocomplete/Autocomplete.js +7 -11
  10. package/components/Autocomplete/index.js +7 -6
  11. package/components/Avatar/Avatar.config.js +44 -419
  12. package/components/Avatar/Avatar.js +7 -19
  13. package/components/Avatar/index.js +7 -6
  14. package/components/AvatarGroup/AvatarGroup.js +6 -10
  15. package/components/AvatarGroup/index.js +7 -6
  16. package/components/Badge/Badge.config.js +41 -285
  17. package/components/Badge/Badge.js +11 -11
  18. package/components/Badge/Badge.perftest.js +20 -54
  19. package/components/Badge/index.js +7 -6
  20. package/components/Breadcrumbs/Breadcrumbs.config.js +21 -111
  21. package/components/Breadcrumbs/Breadcrumbs.js +12 -12
  22. package/components/Breadcrumbs/index.js +7 -6
  23. package/components/Button/Button.config.js +54 -542
  24. package/components/Button/Button.js +12 -12
  25. package/components/Button/Button.perftest.js +34 -76
  26. package/components/Button/index.js +7 -6
  27. package/components/ButtonBase/index.js +7 -6
  28. package/components/ButtonGroup/ButtonGroup.config.js +59 -570
  29. package/components/ButtonGroup/ButtonGroup.js +11 -11
  30. package/components/ButtonGroup/index.js +7 -6
  31. package/components/Calendar/Calendar.js +18 -39
  32. package/components/Calendar/Calendar.perftest.js +82 -122
  33. package/components/Calendar/CalendarBase.config.js +21 -318
  34. package/components/Calendar/CalendarDouble.config.js +21 -320
  35. package/components/Calendar/index.js +32 -24
  36. package/components/Card/index.js +38 -27
  37. package/components/Carousel/Carousel.config.js +18 -50
  38. package/components/Carousel/Carousel.js +20 -55
  39. package/components/Carousel/Legacy/Carousel.examples.js +40 -74
  40. package/components/Carousel/Legacy/Carousel.js +7 -11
  41. package/components/Carousel/index.js +21 -19
  42. package/components/Cell/Cell.config.js +18 -180
  43. package/components/Cell/Cell.js +12 -12
  44. package/components/Cell/index.js +33 -25
  45. package/components/Checkbox/Checkbox.config.js +42 -297
  46. package/components/Checkbox/Checkbox.js +11 -12
  47. package/components/Checkbox/Checkbox.perftest.js +22 -57
  48. package/components/Checkbox/index.js +7 -6
  49. package/components/Chip/Chip.config.js +41 -322
  50. package/components/Chip/Chip.js +12 -12
  51. package/components/Chip/index.js +7 -6
  52. package/components/ChipGroup/ChipGroup.config.js +27 -208
  53. package/components/ChipGroup/ChipGroup.js +7 -11
  54. package/components/ChipGroup/index.js +7 -6
  55. package/components/CodeField/CodeField.config.js +27 -145
  56. package/components/CodeField/CodeField.js +7 -11
  57. package/components/CodeField/index.js +39 -28
  58. package/components/Combobox/Combobox.config.js +42 -819
  59. package/components/Combobox/Combobox.d.ts +24 -24
  60. package/components/Combobox/Combobox.js +20 -55
  61. package/components/Combobox/Legacy/Combobox.config.js +21 -354
  62. package/components/Combobox/Legacy/Combobox.d.ts +2 -2
  63. package/components/Combobox/Legacy/Combobox.js +17 -41
  64. package/components/Combobox/Legacy/index.js +38 -27
  65. package/components/Combobox/index.js +39 -28
  66. package/components/Counter/Counter.config.js +33 -222
  67. package/components/Counter/Counter.js +11 -11
  68. package/components/Counter/index.js +15 -16
  69. package/components/DatePicker/DatePicker.config.js +27 -586
  70. package/components/DatePicker/DatePicker.js +9 -21
  71. package/components/DatePicker/index.js +27 -22
  72. package/components/Divider/Divider.config.js +27 -109
  73. package/components/Divider/Divider.js +11 -11
  74. package/components/Divider/index.js +15 -16
  75. package/components/Drawer/Drawer.config.js +22 -78
  76. package/components/Drawer/Drawer.js +29 -31
  77. package/components/Drawer/index.js +26 -21
  78. package/components/Dropdown/Dropdown.config.js +22 -245
  79. package/components/Dropdown/Dropdown.js +15 -50
  80. package/components/Dropdown/components/DropdownItem.js +73 -200
  81. package/components/Dropdown/components/DropdownList.js +8 -19
  82. package/components/Dropdown/components/DropdownOld.config.js +23 -142
  83. package/components/Dropdown/components/DropdownPopup.js +37 -158
  84. package/components/Dropdown/index.js +36 -28
  85. package/components/Dropzone/Dropzone.config.js +21 -86
  86. package/components/Dropzone/Dropzone.js +7 -11
  87. package/components/Dropzone/index.js +21 -19
  88. package/components/Editable/Editable.config.js +18 -56
  89. package/components/Editable/Editable.js +13 -63
  90. package/components/Editable/index.js +7 -6
  91. package/components/ElasticGrid/ElasticGrid.perftest.js +28 -49
  92. package/components/ElasticGrid/index.js +7 -6
  93. package/components/EmptyState/EmptyState.config.js +18 -114
  94. package/components/EmptyState/EmptyState.js +7 -19
  95. package/components/EmptyState/index.js +7 -6
  96. package/components/Flow/Flow.js +6 -10
  97. package/components/Flow/index.js +7 -6
  98. package/components/Grid/Grid.config.js +22 -102
  99. package/components/Grid/Grid.js +18 -21
  100. package/components/Grid/index.js +20 -18
  101. package/components/IconButton/IconButton.config.js +43 -425
  102. package/components/IconButton/IconButton.js +12 -12
  103. package/components/IconButton/index.js +7 -6
  104. package/components/Image/Image.js +11 -11
  105. package/components/Image/index.js +7 -6
  106. package/components/Indicator/Indicator.config.js +27 -149
  107. package/components/Indicator/Indicator.js +7 -19
  108. package/components/Indicator/index.js +7 -6
  109. package/components/Link/Link.config.js +34 -235
  110. package/components/Link/Link.js +12 -12
  111. package/components/Link/index.js +7 -6
  112. package/components/LinkButton/LinkButton.config.js +31 -274
  113. package/components/LinkButton/LinkButton.js +7 -11
  114. package/components/LinkButton/index.js +7 -6
  115. package/components/List/List.config.js +25 -177
  116. package/components/List/List.js +12 -12
  117. package/components/List/index.js +15 -16
  118. package/components/Mask/Mask.js +6 -10
  119. package/components/Mask/index.js +7 -6
  120. package/components/Modal/Modal.perftest.js +20 -25
  121. package/components/Modal/index.js +20 -18
  122. package/components/ModalBase/Modal.config.js +15 -47
  123. package/components/ModalBase/ModalBase.js +12 -12
  124. package/components/ModalBase/index.js +15 -16
  125. package/components/Note/Note.config.js +25 -245
  126. package/components/Note/Note.js +7 -11
  127. package/components/Note/index.js +21 -19
  128. package/components/Notification/Notification.config.js +30 -361
  129. package/components/Notification/Notification.js +23 -38
  130. package/components/Notification/index.js +27 -22
  131. package/components/NumberFormat/NumberFormat.js +13 -10
  132. package/components/NumberFormat/index.js +7 -6
  133. package/components/NumberInput/NumberInput.config.js +42 -394
  134. package/components/NumberInput/NumberInput.js +7 -11
  135. package/components/NumberInput/index.js +21 -19
  136. package/components/Overlay/index.js +7 -6
  137. package/components/Pagination/Pagination.config.js +43 -399
  138. package/components/Pagination/Pagination.js +12 -12
  139. package/components/Pagination/index.js +7 -6
  140. package/components/PaginationDots/index.js +20 -18
  141. package/components/Popover/Popover.config.js +15 -43
  142. package/components/Popover/Popover.js +7 -11
  143. package/components/Popover/index.js +7 -6
  144. package/components/Popup/index.js +7 -6
  145. package/components/PopupBase/PopupBase.js +10 -10
  146. package/components/PopupBase/index.js +27 -22
  147. package/components/Portal/index.js +7 -6
  148. package/components/PreviewGallery/PreviewGallery.perftest.js +74 -104
  149. package/components/PreviewGallery/index.js +32 -24
  150. package/components/Price/Price.config.js +11 -15
  151. package/components/Price/Price.js +12 -12
  152. package/components/Price/index.js +15 -16
  153. package/components/Progress/Progress.config.js +25 -147
  154. package/components/Progress/Progress.js +8 -12
  155. package/components/Progress/index.js +7 -6
  156. package/components/Radiobox/Radiobox.config.js +49 -304
  157. package/components/Radiobox/Radiobox.d.ts +48 -2
  158. package/components/Radiobox/Radiobox.js +16 -19
  159. package/components/Radiobox/Radiobox.perftest.js +31 -35
  160. package/components/Radiobox/index.js +14 -15
  161. package/components/Range/Range.config.js +27 -319
  162. package/components/Range/Range.js +11 -11
  163. package/components/Range/index.js +15 -16
  164. package/components/Rating/Rating.config.js +31 -469
  165. package/components/Rating/Rating.js +7 -11
  166. package/components/Rating/index.js +21 -19
  167. package/components/SSRProvider/index.js +7 -6
  168. package/components/Segment/Segment.js +32 -27
  169. package/components/Segment/SegmentGroup.config.js +38 -196
  170. package/components/Segment/SegmentItem.config.js +31 -266
  171. package/components/Segment/index.js +26 -21
  172. package/components/Select/Select.config.js +54 -1017
  173. package/components/Select/Select.d.ts +6 -6
  174. package/components/Select/Select.js +15 -50
  175. package/components/Select/Select.perftest.js +33 -46
  176. package/components/Select/index.js +15 -16
  177. package/components/Sheet/Sheet.config.js +18 -63
  178. package/components/Sheet/Sheet.js +12 -12
  179. package/components/Sheet/index.js +15 -16
  180. package/components/Skeleton/LineSkeleton.config.js +49 -446
  181. package/components/Skeleton/Skeleton.js +28 -23
  182. package/components/Skeleton/index.js +20 -18
  183. package/components/Slider/Slider.config.js +25 -273
  184. package/components/Slider/Slider.js +13 -12
  185. package/components/Slider/index.js +7 -6
  186. package/components/Spinner/Spinner.config.js +32 -151
  187. package/components/Spinner/Spinner.js +16 -23
  188. package/components/Spinner/index.js +7 -6
  189. package/components/Steps/Steps.config.js +47 -366
  190. package/components/Steps/Steps.js +8 -12
  191. package/components/Steps/index.js +7 -6
  192. package/components/Switch/Switch.config.js +33 -193
  193. package/components/Switch/Switch.js +8 -12
  194. package/components/Switch/Switch.perftest.js +23 -61
  195. package/components/Switch/index.js +7 -6
  196. package/components/Table/Table.config.js +21 -257
  197. package/components/Table/Table.js +12 -12
  198. package/components/Table/index.js +7 -6
  199. package/components/Tabs/TabItem.js +24 -26
  200. package/components/Tabs/Tabs.js +24 -26
  201. package/components/Tabs/Tabs.perftest.js +53 -72
  202. package/components/Tabs/TabsController.js +16 -15
  203. package/components/Tabs/horizontal/HorizontalTabItem.config.js +38 -398
  204. package/components/Tabs/horizontal/HorizontalTabs.config.js +37 -256
  205. package/components/Tabs/index.js +35 -27
  206. package/components/Tabs/vertical/VerticalTabItem.config.js +27 -186
  207. package/components/Tabs/vertical/VerticalTabs.config.js +27 -133
  208. package/components/TextArea/TextArea.config.js +43 -695
  209. package/components/TextArea/TextArea.js +12 -12
  210. package/components/TextArea/TextArea.perftest.js +28 -62
  211. package/components/TextArea/index.js +7 -6
  212. package/components/TextField/TextField.config.js +54 -856
  213. package/components/TextField/TextField.js +88 -206
  214. package/components/TextField/TextField.perftest.js +37 -103
  215. package/components/TextField/index.js +15 -16
  216. package/components/TextFieldGroup/TextFieldGroup.config.js +34 -356
  217. package/components/TextFieldGroup/TextFieldGroup.js +11 -11
  218. package/components/TextFieldGroup/index.js +7 -6
  219. package/components/Toast/Toast.config.js +42 -174
  220. package/components/Toast/Toast.js +14 -26
  221. package/components/Toast/index.js +20 -18
  222. package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
  223. package/components/Tokens/Colors/Colors.styles.js +51 -147
  224. package/components/Tokens/NumberTokens/NumberTokens.styles.js +23 -70
  225. package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
  226. package/components/Tokens/Typography/Typography.styles.js +77 -205
  227. package/components/Toolbar/Toolbar.config.js +21 -105
  228. package/components/Toolbar/Toolbar.js +13 -21
  229. package/components/Toolbar/index.js +21 -19
  230. package/components/Tooltip/Tooltip.config.js +20 -100
  231. package/components/Tooltip/Tooltip.js +7 -11
  232. package/components/Tooltip/Tooltip.perftest.js +78 -87
  233. package/components/Tooltip/index.js +7 -6
  234. package/components/Tree/Tree.config.js +21 -176
  235. package/components/Tree/Tree.js +7 -11
  236. package/components/Tree/index.js +7 -6
  237. package/components/Typography/Body.config.js +47 -161
  238. package/components/Typography/Dspl.config.js +31 -105
  239. package/components/Typography/Heading.config.js +47 -161
  240. package/components/Typography/Old/Body.config.js +31 -99
  241. package/components/Typography/Old/Button.config.js +23 -73
  242. package/components/Typography/Old/Caption.config.js +15 -42
  243. package/components/Typography/Old/Display.config.js +31 -99
  244. package/components/Typography/Old/Footnote.config.js +23 -73
  245. package/components/Typography/Old/Headline.config.js +47 -151
  246. package/components/Typography/Old/Paragraph.config.js +23 -73
  247. package/components/Typography/Old/ParagraphText.config.js +23 -73
  248. package/components/Typography/Old/Subtitle.config.js +15 -42
  249. package/components/Typography/Old/Underline.config.js +15 -42
  250. package/components/Typography/Old/index.js +80 -152
  251. package/components/Typography/Text.config.js +39 -133
  252. package/components/Typography/Typography.js +59 -116
  253. package/components/Typography/index.js +215 -117
  254. package/components/Upload/Upload.perftest.js +30 -65
  255. package/components/Upload/index.js +20 -18
  256. package/components/UploadAudio/index.js +7 -6
  257. package/components/UploadVisual/index.js +7 -6
  258. package/es/components/Accordion/Accordion.config.js +27 -350
  259. package/es/components/Accordion/Accordion.js +5 -3
  260. package/es/components/Accordion/index.js +1 -1
  261. package/es/components/Attach/Attach.config.js +31 -809
  262. package/es/components/Attach/Attach.js +4 -2
  263. package/es/components/Attach/index.js +1 -1
  264. package/es/components/AudioPlayer/index.js +1 -1
  265. package/es/components/Autocomplete/Autocomplete.config.js +37 -627
  266. package/es/components/Autocomplete/Autocomplete.js +2 -2
  267. package/es/components/Autocomplete/index.js +1 -1
  268. package/es/components/Avatar/Avatar.config.js +39 -410
  269. package/es/components/Avatar/Avatar.js +3 -3
  270. package/es/components/Avatar/index.js +1 -1
  271. package/es/components/AvatarGroup/AvatarGroup.js +2 -2
  272. package/es/components/AvatarGroup/index.js +1 -1
  273. package/es/components/Badge/Badge.config.js +36 -276
  274. package/es/components/Badge/Badge.js +4 -2
  275. package/es/components/Badge/Badge.perftest.js +13 -39
  276. package/es/components/Badge/index.js +1 -1
  277. package/es/components/Breadcrumbs/Breadcrumbs.config.js +16 -102
  278. package/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
  279. package/es/components/Breadcrumbs/index.js +1 -1
  280. package/es/components/Button/Button.config.js +49 -533
  281. package/es/components/Button/Button.js +5 -3
  282. package/es/components/Button/Button.perftest.js +27 -53
  283. package/es/components/Button/index.js +1 -1
  284. package/es/components/ButtonBase/index.js +1 -1
  285. package/es/components/ButtonGroup/ButtonGroup.config.js +54 -561
  286. package/es/components/ButtonGroup/ButtonGroup.js +4 -2
  287. package/es/components/ButtonGroup/index.js +1 -1
  288. package/es/components/Calendar/Calendar.js +12 -12
  289. package/es/components/Calendar/Calendar.perftest.js +76 -97
  290. package/es/components/Calendar/CalendarBase.config.js +16 -309
  291. package/es/components/Calendar/CalendarDouble.config.js +16 -311
  292. package/es/components/Calendar/index.js +1 -1
  293. package/es/components/Card/index.js +1 -1
  294. package/es/components/Carousel/Carousel.config.js +13 -41
  295. package/es/components/Carousel/Carousel.js +13 -40
  296. package/es/components/Carousel/Legacy/Carousel.examples.js +28 -57
  297. package/es/components/Carousel/Legacy/Carousel.js +3 -3
  298. package/es/components/Carousel/index.js +1 -1
  299. package/es/components/Cell/Cell.config.js +13 -171
  300. package/es/components/Cell/Cell.js +5 -3
  301. package/es/components/Cell/index.js +1 -1
  302. package/es/components/Checkbox/Checkbox.config.js +37 -288
  303. package/es/components/Checkbox/Checkbox.js +4 -3
  304. package/es/components/Checkbox/Checkbox.perftest.js +16 -43
  305. package/es/components/Checkbox/index.js +1 -1
  306. package/es/components/Chip/Chip.config.js +36 -313
  307. package/es/components/Chip/Chip.js +5 -3
  308. package/es/components/Chip/index.js +1 -1
  309. package/es/components/ChipGroup/ChipGroup.config.js +22 -199
  310. package/es/components/ChipGroup/ChipGroup.js +2 -2
  311. package/es/components/ChipGroup/index.js +1 -1
  312. package/es/components/CodeField/CodeField.config.js +22 -136
  313. package/es/components/CodeField/CodeField.js +2 -2
  314. package/es/components/CodeField/index.js +1 -1
  315. package/es/components/Combobox/Combobox.config.js +37 -810
  316. package/es/components/Combobox/Combobox.js +13 -40
  317. package/es/components/Combobox/Legacy/Combobox.config.js +16 -345
  318. package/es/components/Combobox/Legacy/Combobox.js +12 -12
  319. package/es/components/Combobox/Legacy/index.js +1 -1
  320. package/es/components/Combobox/index.js +1 -1
  321. package/es/components/Counter/Counter.config.js +28 -213
  322. package/es/components/Counter/Counter.js +4 -2
  323. package/es/components/Counter/index.js +1 -1
  324. package/es/components/DatePicker/DatePicker.config.js +22 -577
  325. package/es/components/DatePicker/DatePicker.js +4 -4
  326. package/es/components/DatePicker/index.js +1 -1
  327. package/es/components/Divider/Divider.config.js +22 -100
  328. package/es/components/Divider/Divider.js +4 -2
  329. package/es/components/Divider/index.js +1 -1
  330. package/es/components/Drawer/Drawer.config.js +17 -69
  331. package/es/components/Drawer/Drawer.js +16 -8
  332. package/es/components/Drawer/index.js +1 -1
  333. package/es/components/Dropdown/Dropdown.config.js +17 -236
  334. package/es/components/Dropdown/Dropdown.js +9 -36
  335. package/es/components/Dropdown/components/DropdownItem.js +63 -135
  336. package/es/components/Dropdown/components/DropdownList.js +3 -6
  337. package/es/components/Dropdown/components/DropdownOld.config.js +18 -133
  338. package/es/components/Dropdown/components/DropdownPopup.js +28 -107
  339. package/es/components/Dropdown/index.js +1 -1
  340. package/es/components/Dropzone/Dropzone.config.js +16 -77
  341. package/es/components/Dropzone/Dropzone.js +2 -2
  342. package/es/components/Dropzone/index.js +1 -1
  343. package/es/components/Editable/Editable.config.js +13 -47
  344. package/es/components/Editable/Editable.js +3 -3
  345. package/es/components/Editable/index.js +1 -1
  346. package/es/components/ElasticGrid/ElasticGrid.perftest.js +21 -34
  347. package/es/components/ElasticGrid/index.js +1 -1
  348. package/es/components/EmptyState/EmptyState.config.js +13 -105
  349. package/es/components/EmptyState/EmptyState.js +2 -2
  350. package/es/components/EmptyState/index.js +1 -1
  351. package/es/components/Flow/Flow.js +2 -2
  352. package/es/components/Flow/index.js +1 -1
  353. package/es/components/Grid/Grid.config.js +17 -93
  354. package/es/components/Grid/Grid.js +2 -2
  355. package/es/components/Grid/index.js +1 -1
  356. package/es/components/IconButton/IconButton.config.js +38 -416
  357. package/es/components/IconButton/IconButton.js +5 -3
  358. package/es/components/IconButton/index.js +1 -1
  359. package/es/components/Image/Image.js +5 -3
  360. package/es/components/Image/index.js +1 -1
  361. package/es/components/Indicator/Indicator.config.js +22 -140
  362. package/es/components/Indicator/Indicator.js +3 -3
  363. package/es/components/Indicator/index.js +1 -1
  364. package/es/components/Link/Link.config.js +29 -226
  365. package/es/components/Link/Link.js +5 -3
  366. package/es/components/Link/index.js +1 -1
  367. package/es/components/LinkButton/LinkButton.config.js +26 -265
  368. package/es/components/LinkButton/LinkButton.js +2 -2
  369. package/es/components/LinkButton/index.js +1 -1
  370. package/es/components/List/List.config.js +20 -168
  371. package/es/components/List/List.js +5 -3
  372. package/es/components/List/index.js +1 -1
  373. package/es/components/Mask/Mask.js +1 -1
  374. package/es/components/Mask/index.js +1 -1
  375. package/es/components/Modal/Modal.perftest.js +12 -10
  376. package/es/components/Modal/index.js +1 -1
  377. package/es/components/ModalBase/Modal.config.js +10 -38
  378. package/es/components/ModalBase/ModalBase.js +5 -3
  379. package/es/components/ModalBase/index.js +1 -1
  380. package/es/components/Note/Note.config.js +20 -236
  381. package/es/components/Note/Note.js +2 -2
  382. package/es/components/Note/index.js +1 -1
  383. package/es/components/Notification/Notification.config.js +25 -352
  384. package/es/components/Notification/Notification.js +15 -11
  385. package/es/components/Notification/index.js +1 -1
  386. package/es/components/NumberFormat/NumberFormat.js +9 -1
  387. package/es/components/NumberFormat/index.js +1 -1
  388. package/es/components/NumberInput/NumberInput.config.js +37 -385
  389. package/es/components/NumberInput/NumberInput.js +2 -2
  390. package/es/components/NumberInput/index.js +1 -1
  391. package/es/components/Overlay/index.js +1 -1
  392. package/es/components/Pagination/Pagination.config.js +38 -390
  393. package/es/components/Pagination/Pagination.js +5 -3
  394. package/es/components/Pagination/index.js +1 -1
  395. package/es/components/PaginationDots/index.js +1 -1
  396. package/es/components/Popover/Popover.config.js +10 -34
  397. package/es/components/Popover/Popover.js +2 -2
  398. package/es/components/Popover/index.js +1 -1
  399. package/es/components/Popup/index.js +1 -1
  400. package/es/components/PopupBase/PopupBase.js +4 -2
  401. package/es/components/PopupBase/index.js +1 -1
  402. package/es/components/Portal/index.js +1 -1
  403. package/es/components/PreviewGallery/PreviewGallery.perftest.js +65 -76
  404. package/es/components/PreviewGallery/index.js +1 -1
  405. package/es/components/Price/Price.config.js +7 -7
  406. package/es/components/Price/Price.js +5 -3
  407. package/es/components/Price/index.js +1 -1
  408. package/es/components/Progress/Progress.config.js +20 -138
  409. package/es/components/Progress/Progress.js +3 -3
  410. package/es/components/Progress/index.js +1 -1
  411. package/es/components/Radiobox/Radiobox.config.js +44 -295
  412. package/es/components/Radiobox/Radiobox.js +5 -4
  413. package/es/components/Radiobox/Radiobox.perftest.js +25 -21
  414. package/es/components/Radiobox/index.js +1 -1
  415. package/es/components/Range/Range.config.js +22 -310
  416. package/es/components/Range/Range.js +4 -2
  417. package/es/components/Range/index.js +1 -1
  418. package/es/components/Rating/Rating.config.js +26 -460
  419. package/es/components/Rating/Rating.js +2 -2
  420. package/es/components/Rating/index.js +1 -1
  421. package/es/components/SSRProvider/index.js +1 -1
  422. package/es/components/Segment/Segment.js +10 -5
  423. package/es/components/Segment/SegmentGroup.config.js +33 -187
  424. package/es/components/Segment/SegmentItem.config.js +26 -257
  425. package/es/components/Segment/index.js +1 -1
  426. package/es/components/Select/Select.config.js +49 -1008
  427. package/es/components/Select/Select.js +9 -36
  428. package/es/components/Select/Select.perftest.js +27 -32
  429. package/es/components/Select/index.js +1 -1
  430. package/es/components/Sheet/Sheet.config.js +13 -54
  431. package/es/components/Sheet/Sheet.js +5 -3
  432. package/es/components/Sheet/index.js +1 -1
  433. package/es/components/Skeleton/LineSkeleton.config.js +44 -437
  434. package/es/components/Skeleton/Skeleton.js +11 -5
  435. package/es/components/Skeleton/index.js +1 -1
  436. package/es/components/Slider/Slider.config.js +20 -264
  437. package/es/components/Slider/Slider.js +5 -3
  438. package/es/components/Slider/index.js +1 -1
  439. package/es/components/Spinner/Spinner.config.js +27 -142
  440. package/es/components/Spinner/Spinner.js +7 -8
  441. package/es/components/Spinner/index.js +1 -1
  442. package/es/components/Steps/Steps.config.js +42 -357
  443. package/es/components/Steps/Steps.js +3 -3
  444. package/es/components/Steps/index.js +1 -1
  445. package/es/components/Switch/Switch.config.js +28 -184
  446. package/es/components/Switch/Switch.js +3 -3
  447. package/es/components/Switch/Switch.perftest.js +16 -46
  448. package/es/components/Switch/index.js +1 -1
  449. package/es/components/Table/Table.config.js +16 -248
  450. package/es/components/Table/Table.js +5 -3
  451. package/es/components/Table/index.js +1 -1
  452. package/es/components/Tabs/TabItem.js +14 -10
  453. package/es/components/Tabs/Tabs.js +14 -10
  454. package/es/components/Tabs/Tabs.perftest.js +46 -49
  455. package/es/components/Tabs/TabsController.js +7 -5
  456. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +33 -389
  457. package/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -247
  458. package/es/components/Tabs/index.js +1 -1
  459. package/es/components/Tabs/vertical/VerticalTabItem.config.js +22 -177
  460. package/es/components/Tabs/vertical/VerticalTabs.config.js +22 -124
  461. package/es/components/TextArea/TextArea.config.js +38 -686
  462. package/es/components/TextArea/TextArea.js +5 -3
  463. package/es/components/TextArea/TextArea.perftest.js +21 -47
  464. package/es/components/TextArea/index.js +1 -1
  465. package/es/components/TextField/TextField.config.js +49 -847
  466. package/es/components/TextField/TextField.js +77 -147
  467. package/es/components/TextField/TextField.perftest.js +30 -80
  468. package/es/components/TextField/index.js +1 -1
  469. package/es/components/TextFieldGroup/TextFieldGroup.config.js +29 -347
  470. package/es/components/TextFieldGroup/TextFieldGroup.js +4 -2
  471. package/es/components/TextFieldGroup/index.js +1 -1
  472. package/es/components/Toast/Toast.config.js +37 -165
  473. package/es/components/Toast/Toast.js +4 -4
  474. package/es/components/Toast/index.js +1 -1
  475. package/es/components/Tokens/Colors/Colors.styles.js +43 -90
  476. package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +18 -37
  477. package/es/components/Tokens/Typography/Typography.styles.js +68 -135
  478. package/es/components/Toolbar/Toolbar.config.js +16 -96
  479. package/es/components/Toolbar/Toolbar.js +6 -4
  480. package/es/components/Toolbar/index.js +1 -1
  481. package/es/components/Tooltip/Tooltip.config.js +15 -91
  482. package/es/components/Tooltip/Tooltip.js +2 -2
  483. package/es/components/Tooltip/Tooltip.perftest.js +69 -70
  484. package/es/components/Tooltip/index.js +1 -1
  485. package/es/components/Tree/Tree.config.js +16 -167
  486. package/es/components/Tree/Tree.js +2 -2
  487. package/es/components/Tree/index.js +1 -1
  488. package/es/components/Typography/Body.config.js +38 -131
  489. package/es/components/Typography/Dspl.config.js +24 -83
  490. package/es/components/Typography/Heading.config.js +38 -131
  491. package/es/components/Typography/Old/Body.config.js +24 -77
  492. package/es/components/Typography/Old/Button.config.js +17 -55
  493. package/es/components/Typography/Old/Caption.config.js +10 -33
  494. package/es/components/Typography/Old/Display.config.js +24 -77
  495. package/es/components/Typography/Old/Footnote.config.js +17 -55
  496. package/es/components/Typography/Old/Headline.config.js +38 -121
  497. package/es/components/Typography/Old/Paragraph.config.js +17 -55
  498. package/es/components/Typography/Old/ParagraphText.config.js +17 -55
  499. package/es/components/Typography/Old/Subtitle.config.js +10 -33
  500. package/es/components/Typography/Old/Underline.config.js +10 -33
  501. package/es/components/Typography/Old/index.js +45 -45
  502. package/es/components/Typography/Text.config.js +31 -107
  503. package/es/components/Typography/Typography.js +35 -35
  504. package/es/components/Typography/index.js +1 -1
  505. package/es/components/Upload/Upload.perftest.js +24 -51
  506. package/es/components/Upload/index.js +1 -1
  507. package/es/components/UploadAudio/index.js +1 -1
  508. package/es/components/UploadVisual/index.js +1 -1
  509. package/es/hocs/index.js +1 -1
  510. package/es/hooks/index.js +1 -1
  511. package/es/hooks/useFocusTrap.component-test.js +165 -0
  512. package/es/index.js +1 -1
  513. package/es/mixins/index.js +1 -1
  514. package/es/tokens/colors.js +1 -1
  515. package/es/tokens/index.js +1 -1
  516. package/es/tokens/sizes.js +1 -1
  517. package/es/tokens/typography.js +37 -37
  518. package/es/types/index.js +1 -1
  519. package/es/utils/index.js +1 -1
  520. package/hocs/index.js +15 -16
  521. package/hooks/index.js +27 -22
  522. package/hooks/useFocusTrap.component-test.js +171 -0
  523. package/index.js +927 -99
  524. package/mixins/index.js +119 -112
  525. package/package.json +10 -10
  526. package/tokens/colors.js +48 -189
  527. package/tokens/index.js +35 -17
  528. package/tokens/sizes.js +9 -33
  529. package/tokens/typography.js +362 -228
  530. package/types/index.js +3 -2
  531. package/utils/index.js +125 -72
  532. package/.swc/plugins/v7_linux_x86_64_14.0.0/358fecaab1701de64a7bceee21e5f3a204d1107aa33eb372d1dab77a43118622 +0 -0
  533. package/.swc/plugins/v7_linux_x86_64_14.0.0/cce279a62b5dde357ee7b421711ef357c3f0a29cd3cb6e86336f7345fd604d8e +0 -0
  534. package/es/helpers/index.js +0 -1
  535. package/helpers/index.js +0 -31
@@ -1,389 +1,41 @@
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-accent);\n ",
15
- ": var(--text-negative);\n ",
16
- ": var(--surface-negative);\n\n ",
17
- ": var(--text-primary);\n ",
18
- ": var(--inverse-text-primary);\n ",
19
- ": var(--text-tertiary);\n ",
20
- ": var(--inverse-text-tertiary);\n ",
21
- ": var(--surface-accent);\n ",
22
- ": var(--surface-accent);\n ",
23
- ": var(--surface-solid-default);\n\n ",
24
- ": var(--inverse-text-primary);\n ",
25
- ": var(--surface-solid-default);\n ",
26
- ": var(--inverse-text-primary);\n ",
27
- ": var(--inverse-text-primary-hover);\n ",
28
- ": var(--surface-solid-default-hover);\n ",
29
- ": var(--inverse-text-primary);\n ",
30
- ": var(--inverse-text-primary-active);\n ",
31
- ": var(--surface-solid-default-active);\n\n ",
32
- ": 0.4;\n\n ",
33
- ": inherit;\n ",
34
- ": inherit;\n "
35
- ]);
36
- _templateObject = function _templateObject() {
37
- return data;
38
- };
39
- return data;
40
- }
41
- function _templateObject1() {
42
- var data = _tagged_template_literal([
43
- "\n ",
44
- ": var(--text-accent);\n ",
45
- ": var(--text-negative);\n ",
46
- ": var(--surface-negative);\n\n ",
47
- ": var(--text-primary);\n ",
48
- ": var(--text-primary);\n ",
49
- ": var(--text-tertiary);\n ",
50
- ": var(--text-tertiary);\n ",
51
- ": var(--surface-accent);\n ",
52
- ": var(--surface-accent);\n ",
53
- ": var(--surface-transparent-secondary);\n\n ",
54
- ": var(--text-primary);\n ",
55
- ": var(--surface-transparent-secondary);\n ",
56
- ": var(--text-primary);\n ",
57
- ": var(--text-primary-hover);\n ",
58
- ": var(--surface-transparent-secondary-hover);\n ",
59
- ": var(--text-primary);\n ",
60
- ": var(--text-primary-active);\n ",
61
- ": var(--surface-transparent-secondary-active);\n\n ",
62
- ": 0.4;\n\n ",
63
- ": inherit;\n ",
64
- ": inherit;\n "
65
- ]);
66
- _templateObject1 = function _templateObject() {
67
- return data;
68
- };
69
- return data;
70
- }
71
- function _templateObject2() {
72
- var data = _tagged_template_literal([
73
- "\n ",
74
- ": var(--text-accent);\n ",
75
- ": var(--inverse-text-primary);\n ",
76
- ": var(--text-negative);\n ",
77
- ": var(--surface-negative);\n\n ",
78
- ": var(--text-primary);\n ",
79
- ": var(--inverse-text-primary);\n ",
80
- ": var(--text-tertiary);\n ",
81
- ": var(--inverse-text-tertiary);\n ",
82
- ": var(--surface-accent);\n ",
83
- ": var(--light-background-primary);\n ",
84
- ": var(--surface-accent);\n\n ",
85
- ": var(--inverse-text-primary);\n ",
86
- ": var(--surface-accent);\n ",
87
- ": var(--inverse-text-primary);\n ",
88
- ": var(--inverse-text-primary-hover);\n ",
89
- ": var(--surface-accent-hover);\n ",
90
- ": var(--inverse-text-primary);\n ",
91
- ": var(--inverse-text-primary-active);\n ",
92
- ": var(--surface-accent-active);\n\n ",
93
- ": 0.4;\n\n ",
94
- ": inherit;\n ",
95
- ": inherit;\n "
96
- ]);
97
- _templateObject2 = function _templateObject() {
98
- return data;
99
- };
100
- return data;
101
- }
102
- function _templateObject3() {
103
- var data = _tagged_template_literal([
104
- "\n ",
105
- ": var(--text-accent);\n ",
106
- ": var(--text-negative);\n ",
107
- ": var(--surface-negative);\n\n ",
108
- ": var(--text-primary);\n ",
109
- ": var(--text-primary);\n ",
110
- ": var(--text-tertiary);\n ",
111
- ": var(--text-tertiary);\n ",
112
- ": var(--surface-accent);\n ",
113
- ": var(--surface-accent);\n ",
114
- ": transparent;\n\n ",
115
- ": var(--text-primary);\n ",
116
- ": transparent;\n ",
117
- ": var(--text-primary);\n ",
118
- ": var(--text-primary-hover);\n ",
119
- ": transparent;\n ",
120
- ": var(--text-primary);\n ",
121
- ": var(--surface-transparent-secondary);\n ",
122
- ": transparent;\n\n ",
123
- ": 0.4;\n\n ",
124
- ": inherit;\n ",
125
- ": inherit;\n "
126
- ]);
127
- _templateObject3 = function _templateObject() {
128
- return data;
129
- };
130
- return data;
131
- }
132
- function _templateObject4() {
133
- var data = _tagged_template_literal([
134
- "\n ",
135
- ": 11.75rem;\n ",
136
- ": 3.5rem;\n ",
137
- ": 3.5rem;\n ",
138
- ": 1.5rem;\n ",
139
- ": var(--plasma-typo-body-l-font-family);\n ",
140
- ": var(--plasma-typo-body-l-font-size);\n ",
141
- ": var(--plasma-typo-body-l-font-style);\n ",
142
- ": var(--plasma-typo-body-l-bold-font-weight);\n ",
143
- ": var(--plasma-typo-body-l-letter-spacing);\n ",
144
- ": var(--plasma-typo-body-l-line-height);\n\n ",
145
- ": 0.875rem;\n ",
146
- ": 0.375rem;\n\n ",
147
- ": 0 0.125rem;\n ",
148
- ": 0.875rem;\n ",
149
- ": 3.5rem;\n ",
150
- ": 0.063rem;\n ",
151
- ": 1.063rem 1.125rem;\n\n ",
152
- ": var(--plasma-typo-body-l-font-family);\n ",
153
- ": var(--plasma-typo-body-l-font-size);\n ",
154
- ": var(--plasma-typo-body-l-font-style);\n ",
155
- ": var(--plasma-typo-body-l-font-weight);\n ",
156
- ": var(--plasma-typo-body-l-letter-spacing);\n ",
157
- ": var(--plasma-typo-body-l-line-height);\n\n ",
158
- ": 0.25rem;\n ",
159
- ": 0.25rem;\n\n ",
160
- ": 1.375rem;\n "
161
- ]);
162
- _templateObject4 = function _templateObject() {
163
- return data;
164
- };
165
- return data;
166
- }
167
- function _templateObject5() {
168
- var data = _tagged_template_literal([
169
- "\n ",
170
- ": 10.25rem;\n ",
171
- ": 3rem;\n ",
172
- ": 3rem;\n ",
173
- ": 1.25rem;\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-bold-font-weight);\n ",
178
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
179
- ": var(--plasma-typo-body-m-line-height);\n\n ",
180
- ": 0.75rem;\n ",
181
- ": 0.25rem;\n\n ",
182
- ": 0 0.125rem;\n ",
183
- ": 0.75rem;\n ",
184
- ": 3rem;\n ",
185
- ": 0.063rem;\n ",
186
- ": 0.875rem 1rem;\n\n ",
187
- ": var(--plasma-typo-body-m-font-family);\n ",
188
- ": var(--plasma-typo-body-m-font-size);\n ",
189
- ": var(--plasma-typo-body-m-font-style);\n ",
190
- ": var(--plasma-typo-body-m-font-weight);\n ",
191
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
192
- ": var(--plasma-typo-body-m-line-height);\n\n ",
193
- ": 0.25rem;\n ",
194
- ": 0.25rem;\n\n ",
195
- ": 1.375rem;\n "
196
- ]);
197
- _templateObject5 = function _templateObject() {
198
- return data;
199
- };
200
- return data;
201
- }
202
- function _templateObject6() {
203
- var data = _tagged_template_literal([
204
- "\n ",
205
- ": 8.75rem;\n ",
206
- ": 2.5rem;\n ",
207
- ": 2.5rem;\n ",
208
- ": 1rem;\n ",
209
- ": var(--plasma-typo-body-s-font-family);\n ",
210
- ": var(--plasma-typo-body-s-font-size);\n ",
211
- ": var(--plasma-typo-body-s-font-style);\n ",
212
- ": var(--plasma-typo-body-s-bold-font-weight);\n ",
213
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
214
- ": var(--plasma-typo-body-s-line-height);\n\n ",
215
- ": 0.625rem;\n ",
216
- ": 0.25rem;\n\n ",
217
- ": 0 0.125rem;\n ",
218
- ": 0.625rem;\n ",
219
- ": 2.5rem;\n ",
220
- ": 0.063rem;\n ",
221
- ": 0.688rem 0.875rem;\n\n ",
222
- ": var(--plasma-typo-body-s-font-family);\n ",
223
- ": var(--plasma-typo-body-s-font-size);\n ",
224
- ": var(--plasma-typo-body-s-font-style);\n ",
225
- ": var(--plasma-typo-body-s-font-weight);\n ",
226
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
227
- ": var(--plasma-typo-body-s-line-height);\n\n ",
228
- ": 0.25rem;\n ",
229
- ": 0.25rem;\n\n ",
230
- ": 1.375rem;\n "
231
- ]);
232
- _templateObject6 = function _templateObject() {
233
- return data;
234
- };
235
- return data;
236
- }
237
- function _templateObject7() {
238
- var data = _tagged_template_literal([
239
- "\n ",
240
- ": 6.875rem;\n ",
241
- ": 2rem;\n ",
242
- ": 2rem;\n ",
243
- ": 0.75rem;\n ",
244
- ": var(--plasma-typo-body-xs-font-family);\n ",
245
- ": var(--plasma-typo-body-xs-font-size);\n ",
246
- ": var(--plasma-typo-body-xs-font-style);\n ",
247
- ": var(--plasma-typo-body-xs-bold-font-weight);\n ",
248
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
249
- ": var(--plasma-typo-body-xs-line-height);\n\n ",
250
- ": 0.5rem;\n ",
251
- ": 0.125rem;\n\n ",
252
- ": 0 0.125rem;\n ",
253
- ": 0.5rem;\n ",
254
- ": 2rem;\n ",
255
- ": 0.063rem;\n ",
256
- ": 0.563rem 0.625rem;\n\n ",
257
- ": var(--plasma-typo-body-xs-font-family);\n ",
258
- ": var(--plasma-typo-body-xs-font-size);\n ",
259
- ": var(--plasma-typo-body-xs-font-style);\n ",
260
- ": var(--plasma-typo-body-xs-font-weight);\n ",
261
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
262
- ": var(--plasma-typo-body-xs-line-height);\n\n ",
263
- ": 0.25rem;\n ",
264
- ": 0.25rem;\n\n ",
265
- ": 1rem;\n "
266
- ]);
267
- _templateObject7 = function _templateObject() {
268
- return data;
269
- };
270
- return data;
271
- }
272
- function _templateObject8() {
273
- var data = _tagged_template_literal([
274
- ""
275
- ]);
276
- _templateObject8 = function _templateObject() {
277
- return data;
278
- };
279
- return data;
280
- }
281
- function _templateObject9() {
282
- var data = _tagged_template_literal([
283
- "\n ",
284
- ": 50%;\n "
285
- ]);
286
- _templateObject9 = function _templateObject() {
287
- return data;
288
- };
289
- return data;
290
- }
291
- function _templateObject10() {
292
- var data = _tagged_template_literal([
293
- "\n ",
294
- ": var(--surface-transparent-tertiary);\n ",
295
- ": var(--text-secondary);\n "
296
- ]);
297
- _templateObject10 = function _templateObject() {
298
- return data;
299
- };
300
- return data;
301
- }
302
- function _templateObject11() {
303
- var data = _tagged_template_literal([
304
- "\n ",
305
- ": transparent;\n ",
306
- ": transparent;\n "
307
- ]);
308
- _templateObject11 = function _templateObject() {
309
- return data;
310
- };
311
- return data;
312
- }
313
- function _templateObject12() {
314
- var data = _tagged_template_literal([
315
- ""
316
- ]);
317
- _templateObject12 = function _templateObject() {
318
- return data;
319
- };
320
- return data;
321
- }
322
- function _templateObject13() {
323
- var data = _tagged_template_literal([
324
- ""
325
- ]);
326
- _templateObject13 = function _templateObject() {
327
- return data;
328
- };
329
- return data;
330
- }
331
- function _templateObject14() {
332
- var data = _tagged_template_literal([
333
- "\n ",
334
- ": 0;\n "
335
- ]);
336
- _templateObject14 = function _templateObject() {
337
- return data;
338
- };
339
- return data;
340
- }
341
- function _templateObject15() {
342
- var data = _tagged_template_literal([
343
- "\n ",
344
- ": 0.4;\n "
345
- ]);
346
- _templateObject15 = function _templateObject() {
347
- return data;
348
- };
349
- return data;
350
- }
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
351
3
  import { css, numberInputTokens as tokens } from '@salutejs/plasma-new-hope/styled-components';
352
4
  export var config = {
353
- defaults: {
354
- view: 'default',
355
- size: 'l',
356
- shape: 'cornered',
357
- inputBackgroundType: 'fill'
5
+ defaults: {
6
+ view: 'default',
7
+ size: 'l',
8
+ shape: 'cornered',
9
+ inputBackgroundType: 'fill'
10
+ },
11
+ variations: {
12
+ view: {
13
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-negative);\n\n ", ": var(--text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--inverse-text-tertiary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent);\n ", ": var(--surface-solid-default);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--surface-solid-default-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
14
+ secondary: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent);\n ", ": var(--surface-transparent-secondary);\n\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--text-primary-active);\n ", ": var(--surface-transparent-secondary-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
15
+ accent: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-negative);\n ", ": var(--surface-negative);\n\n ", ": var(--text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--inverse-text-tertiary);\n ", ": var(--surface-accent);\n ", ": var(--light-background-primary);\n ", ": var(--surface-accent);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-hover);\n ", ": var(--surface-accent-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary-active);\n ", ": var(--surface-accent-active);\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.caretColorSolid, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
16
+ clear: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-accent);\n ", ": var(--text-negative);\n ", ": var(--surface-negative);\n\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n ", ": var(--text-tertiary);\n ", ": var(--text-tertiary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent);\n ", ": transparent;\n\n ", ": var(--text-primary);\n ", ": transparent;\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": transparent;\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": transparent;\n\n ", ": 0.4;\n\n ", ": inherit;\n ", ": inherit;\n "])), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.backgroundColorFocus, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid)
17
+ },
18
+ size: {
19
+ l: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 11.75rem;\n ", ": 3.5rem;\n ", ": 3.5rem;\n ", ": 1.5rem;\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-bold-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.875rem;\n ", ": 0.375rem;\n\n ", ": 0 0.125rem;\n ", ": 0.875rem;\n ", ": 3.5rem;\n ", ": 0.063rem;\n ", ": 1.063rem 1.125rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
20
+ m: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 10.25rem;\n ", ": 3rem;\n ", ": 3rem;\n ", ": 1.25rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-bold-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.75rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.75rem;\n ", ": 3rem;\n ", ": 0.063rem;\n ", ": 0.875rem 1rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
21
+ s: /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 8.75rem;\n ", ": 2.5rem;\n ", ": 2.5rem;\n ", ": 1rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-bold-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.625rem;\n ", ": 0.25rem;\n\n ", ": 0 0.125rem;\n ", ": 0.625rem;\n ", ": 2.5rem;\n ", ": 0.063rem;\n ", ": 0.688rem 0.875rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1.375rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
22
+ xs: /*#__PURE__*/css(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 6.875rem;\n ", ": 2rem;\n ", ": 2rem;\n ", ": 0.75rem;\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-bold-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0.5rem;\n ", ": 0.125rem;\n\n ", ": 0 0.125rem;\n ", ": 0.5rem;\n ", ": 2rem;\n ", ": 0.063rem;\n ", ": 0.563rem 0.625rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n\n ", ": 1rem;\n "])), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize)
23
+ },
24
+ shape: {
25
+ cornered: /*#__PURE__*/css(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
26
+ pilled: /*#__PURE__*/css(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 50%;\n "])), tokens.iconButtonRadius)
27
+ },
28
+ inputBackgroundType: {
29
+ fill: /*#__PURE__*/css(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--text-secondary);\n "])), tokens.borderColor, tokens.borderColorHover),
30
+ clear: /*#__PURE__*/css(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": transparent;\n ", ": transparent;\n "])), tokens.borderColor, tokens.borderColorHover)
31
+ },
32
+ segmentation: {
33
+ "default": /*#__PURE__*/css(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
34
+ segmented: /*#__PURE__*/css(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteral([""]))),
35
+ solid: /*#__PURE__*/css(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0;\n "])), tokens.iconButtonSegmentationRadius)
358
36
  },
359
- variations: {
360
- view: {
361
- default: css(_templateObject(), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
362
- secondary: css(_templateObject1(), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
363
- accent: css(_templateObject2(), tokens.caretColor, tokens.caretColorSolid, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.iconButtonColorSolidActive, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid),
364
- clear: css(_templateObject3(), tokens.caretColor, tokens.errorColor, tokens.borderErrorColor, tokens.color, tokens.colorSolid, tokens.additionalTextColor, tokens.additionalTextColorSolid, tokens.borderColorFocus, tokens.borderColorSolidFocus, tokens.backgroundColorSolid, tokens.iconButtonColor, tokens.iconButtonBackgroundColor, tokens.iconButtonColorHover, tokens.iconButtonColorSolidHover, tokens.iconButtonBackgroundColorHover, tokens.iconButtonColorActive, tokens.backgroundColorFocus, tokens.iconButtonBackgroundColorActive, tokens.actionButtonDisabledOpacity, tokens.loaderSpinnerColor, tokens.loaderSpinnerColorSolid)
365
- },
366
- size: {
367
- l: css(_templateObject4(), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
368
- m: css(_templateObject5(), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
369
- s: css(_templateObject6(), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize),
370
- xs: css(_templateObject7(), tokens.rootMinWidth, tokens.iconButtonHeight, tokens.iconButtonWidth, tokens.iconButtonPadding, tokens.iconButtonFontFamily, tokens.iconButtonFontSize, tokens.iconButtonFontStyle, tokens.iconButtonFontWeight, tokens.iconButtonLetterSpacing, tokens.iconButtonLineHeight, tokens.iconButtonRadius, tokens.iconButtonSegmentationRadius, tokens.inputWrapperMargin, tokens.inputWrapperBorderRadius, tokens.textWrapperHeight, tokens.inputWrapperBorderWidth, tokens.textWrapperPadding, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, tokens.textBeforeMarginRight, tokens.textAfterMarginLeft, tokens.loaderSpinnerSize)
371
- },
372
- shape: {
373
- cornered: css(_templateObject8()),
374
- pilled: css(_templateObject9(), tokens.iconButtonRadius)
375
- },
376
- inputBackgroundType: {
377
- fill: css(_templateObject10(), tokens.borderColor, tokens.borderColorHover),
378
- clear: css(_templateObject11(), tokens.borderColor, tokens.borderColorHover)
379
- },
380
- segmentation: {
381
- default: css(_templateObject12()),
382
- segmented: css(_templateObject13()),
383
- solid: css(_templateObject14(), tokens.iconButtonSegmentationRadius)
384
- },
385
- disabled: {
386
- true: css(_templateObject15(), tokens.disabledOpacity)
387
- }
37
+ disabled: {
38
+ "true": /*#__PURE__*/css(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), tokens.disabledOpacity)
388
39
  }
389
- };
40
+ }
41
+ };
@@ -1,4 +1,4 @@
1
1
  import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
2
2
  import { config } from './NumberInput.config';
3
- var mergedConfig = mergeConfig(numberInputConfig, config);
4
- export var NumberInput = component(mergedConfig);
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(numberInputConfig, config);
4
+ export var NumberInput = /*#__PURE__*/component(mergedConfig);
@@ -1,2 +1,2 @@
1
1
  export { NumberInput } from './NumberInput';
2
- export { numberInputTokens, numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
2
+ export { numberInputTokens, numberInputClasses } from '@salutejs/plasma-new-hope/styled-components';
@@ -1 +1 @@
1
- export { Overlay } from '@salutejs/plasma-new-hope/styled-components';
1
+ export { Overlay } from '@salutejs/plasma-new-hope/styled-components';