@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
@@ -87,7 +87,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
87
87
  hintOffset?: [number, number];
88
88
  hintWidth?: string;
89
89
  hintContentLeft?: React.ReactNode;
90
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
90
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
91
91
  items: ComboboxItemOption[];
92
92
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
93
93
  placeholder?: string;
@@ -141,7 +141,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
141
141
  hintOffset?: never;
142
142
  hintWidth?: never;
143
143
  hintContentLeft?: never;
144
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
144
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
145
145
  items: ComboboxItemOption[];
146
146
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
147
147
  placeholder?: string;
@@ -195,7 +195,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
195
195
  hintOffset?: [number, number];
196
196
  hintWidth?: string;
197
197
  hintContentLeft?: React.ReactNode;
198
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
198
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
199
199
  items: ComboboxItemOption[];
200
200
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
201
201
  placeholder?: string;
@@ -249,7 +249,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
249
249
  hintOffset?: never;
250
250
  hintWidth?: never;
251
251
  hintContentLeft?: never;
252
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
252
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
253
253
  items: ComboboxItemOption[];
254
254
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
255
255
  placeholder?: string;
@@ -303,7 +303,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
303
303
  hintOffset?: [number, number];
304
304
  hintWidth?: string;
305
305
  hintContentLeft?: React.ReactNode;
306
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
306
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
307
307
  items: ComboboxItemOption[];
308
308
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
309
309
  placeholder?: string;
@@ -357,7 +357,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
357
357
  hintOffset?: never;
358
358
  hintWidth?: never;
359
359
  hintContentLeft?: never;
360
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
360
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
361
361
  items: ComboboxItemOption[];
362
362
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
363
363
  placeholder?: string;
@@ -411,7 +411,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
411
411
  hintOffset?: [number, number];
412
412
  hintWidth?: string;
413
413
  hintContentLeft?: React.ReactNode;
414
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
414
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
415
415
  items: ComboboxItemOption[];
416
416
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
417
417
  placeholder?: string;
@@ -465,7 +465,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
465
465
  hintOffset?: never;
466
466
  hintWidth?: never;
467
467
  hintContentLeft?: never;
468
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
468
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
469
469
  items: ComboboxItemOption[];
470
470
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
471
471
  placeholder?: string;
@@ -519,7 +519,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
519
519
  hintOffset?: [number, number];
520
520
  hintWidth?: string;
521
521
  hintContentLeft?: React.ReactNode;
522
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
522
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
523
523
  items: ComboboxItemOption[];
524
524
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
525
525
  placeholder?: string;
@@ -573,7 +573,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
573
573
  hintOffset?: never;
574
574
  hintWidth?: never;
575
575
  hintContentLeft?: never;
576
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
576
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
577
577
  items: ComboboxItemOption[];
578
578
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
579
579
  placeholder?: string;
@@ -627,7 +627,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
627
627
  hintOffset?: [number, number];
628
628
  hintWidth?: string;
629
629
  hintContentLeft?: React.ReactNode;
630
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
630
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
631
631
  items: ComboboxItemOption[];
632
632
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
633
633
  placeholder?: string;
@@ -681,7 +681,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
681
681
  hintOffset?: never;
682
682
  hintWidth?: never;
683
683
  hintContentLeft?: never;
684
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
684
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
685
685
  items: ComboboxItemOption[];
686
686
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
687
687
  placeholder?: string;
@@ -735,7 +735,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
735
735
  hintOffset?: [number, number];
736
736
  hintWidth?: string;
737
737
  hintContentLeft?: React.ReactNode;
738
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
738
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
739
739
  items: ComboboxItemOption[];
740
740
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
741
741
  placeholder?: string;
@@ -789,7 +789,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
789
789
  hintOffset?: never;
790
790
  hintWidth?: never;
791
791
  hintContentLeft?: never;
792
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
792
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
793
793
  items: ComboboxItemOption[];
794
794
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
795
795
  placeholder?: string;
@@ -843,7 +843,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
843
843
  hintOffset?: [number, number];
844
844
  hintWidth?: string;
845
845
  hintContentLeft?: React.ReactNode;
846
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
846
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
847
847
  items: ComboboxItemOption[];
848
848
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
849
849
  placeholder?: string;
@@ -897,7 +897,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
897
897
  hintOffset?: never;
898
898
  hintWidth?: never;
899
899
  hintContentLeft?: never;
900
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
900
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
901
901
  items: ComboboxItemOption[];
902
902
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
903
903
  placeholder?: string;
@@ -951,7 +951,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
951
951
  hintOffset?: [number, number];
952
952
  hintWidth?: string;
953
953
  hintContentLeft?: React.ReactNode;
954
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
954
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
955
955
  items: ComboboxItemOption[];
956
956
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
957
957
  placeholder?: string;
@@ -1005,7 +1005,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1005
1005
  hintOffset?: never;
1006
1006
  hintWidth?: never;
1007
1007
  hintContentLeft?: never;
1008
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1008
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1009
1009
  items: ComboboxItemOption[];
1010
1010
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1011
1011
  placeholder?: string;
@@ -1059,7 +1059,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1059
1059
  hintOffset?: [number, number];
1060
1060
  hintWidth?: string;
1061
1061
  hintContentLeft?: React.ReactNode;
1062
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1062
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1063
1063
  items: ComboboxItemOption[];
1064
1064
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1065
1065
  placeholder?: string;
@@ -1113,7 +1113,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1113
1113
  hintOffset?: never;
1114
1114
  hintWidth?: never;
1115
1115
  hintContentLeft?: never;
1116
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1116
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1117
1117
  items: ComboboxItemOption[];
1118
1118
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1119
1119
  placeholder?: string;
@@ -1167,7 +1167,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1167
1167
  hintOffset?: [number, number];
1168
1168
  hintWidth?: string;
1169
1169
  hintContentLeft?: React.ReactNode;
1170
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1170
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1171
1171
  items: ComboboxItemOption[];
1172
1172
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1173
1173
  placeholder?: string;
@@ -1221,7 +1221,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1221
1221
  hintOffset?: never;
1222
1222
  hintWidth?: never;
1223
1223
  hintContentLeft?: never;
1224
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1224
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1225
1225
  items: ComboboxItemOption[];
1226
1226
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1227
1227
  placeholder?: string;
@@ -1275,7 +1275,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1275
1275
  hintOffset?: [number, number];
1276
1276
  hintWidth?: string;
1277
1277
  hintContentLeft?: React.ReactNode;
1278
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1278
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>) | ({
1279
1279
  items: ComboboxItemOption[];
1280
1280
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types").Placement;
1281
1281
  placeholder?: string;
@@ -1329,7 +1329,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1329
1329
  hintOffset?: never;
1330
1330
  hintWidth?: never;
1331
1331
  hintContentLeft?: never;
1332
- } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "name" | "onChange" | "defaultValue" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1332
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "value" | "name"> & React.RefAttributes<HTMLInputElement>))>;
1333
1333
  type PropsFromConfig = keyof typeof config['variations'];
1334
1334
  type PropsOld = ComponentProps<typeof ComboboxOld> & {
1335
1335
  items?: never;
@@ -1,60 +1,25 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- Object.defineProperty(exports, "Combobox", {
6
- enumerable: true,
7
- get: function() {
8
- return Combobox;
9
- }
10
- });
11
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
- var _react = /*#__PURE__*/ _interop_require_default(require("react"));
13
- var _Comboboxconfig = require("./Combobox.config");
14
- var _Legacy = require("./Legacy");
15
- function _define_property(obj, key, value) {
16
- if (key in obj) {
17
- Object.defineProperty(obj, key, {
18
- value: value,
19
- enumerable: true,
20
- configurable: true,
21
- writable: true
22
- });
23
- } else {
24
- obj[key] = value;
25
- }
26
- return obj;
27
- }
28
- function _interop_require_default(obj) {
29
- return obj && obj.__esModule ? obj : {
30
- default: obj
31
- };
32
- }
33
- function _object_spread(target) {
34
- for(var i = 1; i < arguments.length; i++){
35
- var source = arguments[i] != null ? arguments[i] : {};
36
- var ownKeys = Object.keys(source);
37
- if (typeof Object.getOwnPropertySymbols === "function") {
38
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
39
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
40
- }));
41
- }
42
- ownKeys.forEach(function(key) {
43
- _define_property(target, key, source[key]);
44
- });
45
- }
46
- return target;
47
- }
48
- var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.comboboxNewConfig, _Comboboxconfig.config);
49
- var ComboboxNew = (0, _styledcomponents.component)(mergedConfig);
50
- var ComboboxComponent = function(props, ref) {
51
- if (props.items) {
52
- return /*#__PURE__*/ _react.default.createElement(ComboboxNew, _object_spread({
53
- ref: ref
54
- }, props));
55
- }
56
- return /*#__PURE__*/ _react.default.createElement(_Legacy.Combobox, _object_spread({
57
- ref: ref
6
+ exports.Combobox = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
9
+ var _Combobox = /*#__PURE__*/require("./Combobox.config");
10
+ var _Legacy = /*#__PURE__*/require("./Legacy");
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.comboboxNewConfig, _Combobox.config);
14
+ var ComboboxNew = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
15
+ var ComboboxComponent = function ComboboxComponent(props, ref) {
16
+ if (props.items) {
17
+ return /*#__PURE__*/_react["default"].createElement(ComboboxNew, _extends({
18
+ ref: ref
58
19
  }, props));
20
+ }
21
+ return /*#__PURE__*/_react["default"].createElement(_Legacy.Combobox, _extends({
22
+ ref: ref
23
+ }, props));
59
24
  };
60
- var Combobox = (0, _styledcomponents.fixedForwardRef)(ComboboxComponent);
25
+ var Combobox = exports.Combobox = /*#__PURE__*/(0, _styledComponents.fixedForwardRef)(ComboboxComponent);