@salutejs/plasma-web 1.585.0-canary.2020.15831403447.0 → 1.585.0-canary.2021.15776478579.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 (545) 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 -57
  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.js +20 -55
  60. package/components/Combobox/Legacy/Combobox.config.js +21 -354
  61. package/components/Combobox/Legacy/Combobox.js +17 -41
  62. package/components/Combobox/Legacy/index.js +38 -27
  63. package/components/Combobox/index.js +39 -28
  64. package/components/Counter/Counter.config.js +33 -222
  65. package/components/Counter/Counter.js +11 -11
  66. package/components/Counter/index.js +15 -16
  67. package/components/DatePicker/DatePicker.config.js +27 -586
  68. package/components/DatePicker/DatePicker.js +9 -21
  69. package/components/DatePicker/index.js +27 -22
  70. package/components/Divider/Divider.config.js +27 -109
  71. package/components/Divider/Divider.js +11 -11
  72. package/components/Divider/index.js +15 -16
  73. package/components/Drawer/Drawer.config.js +22 -78
  74. package/components/Drawer/Drawer.js +29 -31
  75. package/components/Drawer/index.js +26 -21
  76. package/components/Dropdown/Dropdown.config.js +22 -245
  77. package/components/Dropdown/Dropdown.js +15 -50
  78. package/components/Dropdown/components/DropdownItem.js +73 -200
  79. package/components/Dropdown/components/DropdownList.js +8 -19
  80. package/components/Dropdown/components/DropdownOld.config.js +23 -142
  81. package/components/Dropdown/components/DropdownPopup.js +37 -158
  82. package/components/Dropdown/index.js +36 -28
  83. package/components/Dropzone/Dropzone.config.js +21 -86
  84. package/components/Dropzone/Dropzone.js +7 -11
  85. package/components/Dropzone/index.js +21 -19
  86. package/components/Editable/Editable.config.js +18 -56
  87. package/components/Editable/Editable.js +13 -63
  88. package/components/Editable/index.js +7 -6
  89. package/components/ElasticGrid/ElasticGrid.perftest.js +28 -49
  90. package/components/ElasticGrid/index.js +7 -6
  91. package/components/EmptyState/EmptyState.config.js +18 -114
  92. package/components/EmptyState/EmptyState.js +7 -19
  93. package/components/EmptyState/index.js +7 -6
  94. package/components/Flow/Flow.js +6 -10
  95. package/components/Flow/index.js +7 -6
  96. package/components/Grid/Grid.config.js +22 -102
  97. package/components/Grid/Grid.js +18 -21
  98. package/components/Grid/index.js +20 -18
  99. package/components/IconButton/IconButton.config.js +43 -425
  100. package/components/IconButton/IconButton.js +12 -12
  101. package/components/IconButton/index.js +7 -6
  102. package/components/Image/Image.js +11 -11
  103. package/components/Image/index.js +7 -6
  104. package/components/Indicator/Indicator.config.js +27 -149
  105. package/components/Indicator/Indicator.js +7 -19
  106. package/components/Indicator/index.js +7 -6
  107. package/components/Link/Link.config.js +34 -235
  108. package/components/Link/Link.js +12 -12
  109. package/components/Link/index.js +7 -6
  110. package/components/LinkButton/LinkButton.config.js +31 -274
  111. package/components/LinkButton/LinkButton.js +7 -11
  112. package/components/LinkButton/index.js +7 -6
  113. package/components/List/List.config.js +25 -177
  114. package/components/List/List.js +12 -12
  115. package/components/List/index.js +15 -16
  116. package/components/Mask/Mask.js +6 -10
  117. package/components/Mask/index.js +7 -6
  118. package/components/Modal/Modal.perftest.js +20 -25
  119. package/components/Modal/index.js +20 -18
  120. package/components/ModalBase/Modal.config.js +15 -47
  121. package/components/ModalBase/ModalBase.js +12 -12
  122. package/components/ModalBase/index.js +15 -16
  123. package/components/Note/Note.config.js +25 -245
  124. package/components/Note/Note.js +7 -11
  125. package/components/Note/index.js +21 -19
  126. package/components/Notification/Notification.config.js +30 -361
  127. package/components/Notification/Notification.js +23 -38
  128. package/components/Notification/index.js +27 -22
  129. package/components/NumberFormat/NumberFormat.js +13 -10
  130. package/components/NumberFormat/index.js +7 -6
  131. package/components/NumberInput/NumberInput.config.js +42 -394
  132. package/components/NumberInput/NumberInput.js +7 -11
  133. package/components/NumberInput/index.js +21 -19
  134. package/components/Overlay/index.js +7 -6
  135. package/components/Pagination/Pagination.config.js +43 -399
  136. package/components/Pagination/Pagination.js +12 -12
  137. package/components/Pagination/index.js +7 -6
  138. package/components/PaginationDots/index.js +20 -18
  139. package/components/Popover/Popover.config.js +15 -43
  140. package/components/Popover/Popover.js +7 -11
  141. package/components/Popover/index.js +7 -6
  142. package/components/Popup/index.js +7 -6
  143. package/components/PopupBase/PopupBase.js +10 -10
  144. package/components/PopupBase/index.js +27 -22
  145. package/components/Portal/index.js +7 -6
  146. package/components/PreviewGallery/PreviewGallery.perftest.js +74 -104
  147. package/components/PreviewGallery/index.js +32 -24
  148. package/components/Price/Price.config.js +11 -15
  149. package/components/Price/Price.js +12 -12
  150. package/components/Price/index.js +15 -16
  151. package/components/Progress/Progress.config.js +25 -147
  152. package/components/Progress/Progress.js +8 -12
  153. package/components/Progress/index.js +7 -6
  154. package/components/Radiobox/Radiobox.config.js +49 -304
  155. package/components/Radiobox/Radiobox.js +16 -19
  156. package/components/Radiobox/Radiobox.perftest.js +31 -35
  157. package/components/Radiobox/index.js +14 -15
  158. package/components/Range/Range.config.js +27 -319
  159. package/components/Range/Range.js +11 -11
  160. package/components/Range/index.js +15 -16
  161. package/components/Rating/Rating.config.js +31 -469
  162. package/components/Rating/Rating.js +7 -11
  163. package/components/Rating/index.js +21 -19
  164. package/components/SSRProvider/index.js +7 -6
  165. package/components/Segment/Segment.js +32 -27
  166. package/components/Segment/SegmentGroup.config.js +38 -196
  167. package/components/Segment/SegmentItem.config.js +31 -266
  168. package/components/Segment/index.js +26 -21
  169. package/components/Select/Select.config.js +54 -1017
  170. package/components/Select/Select.js +15 -50
  171. package/components/Select/Select.perftest.js +33 -46
  172. package/components/Select/index.js +15 -16
  173. package/components/Sheet/Sheet.config.js +18 -63
  174. package/components/Sheet/Sheet.js +12 -12
  175. package/components/Sheet/index.js +15 -16
  176. package/components/Skeleton/LineSkeleton.config.js +49 -446
  177. package/components/Skeleton/Skeleton.js +28 -23
  178. package/components/Skeleton/index.js +20 -18
  179. package/components/Slider/Slider.config.js +25 -273
  180. package/components/Slider/Slider.js +13 -12
  181. package/components/Slider/index.js +7 -6
  182. package/components/Spinner/Spinner.config.js +32 -151
  183. package/components/Spinner/Spinner.js +16 -23
  184. package/components/Spinner/index.js +7 -6
  185. package/components/Steps/Steps.config.js +47 -366
  186. package/components/Steps/Steps.js +8 -12
  187. package/components/Steps/index.js +7 -6
  188. package/components/Switch/Switch.config.js +33 -193
  189. package/components/Switch/Switch.js +8 -12
  190. package/components/Switch/Switch.perftest.js +23 -61
  191. package/components/Switch/index.js +7 -6
  192. package/components/Table/Table.config.js +21 -257
  193. package/components/Table/Table.js +12 -12
  194. package/components/Table/index.js +7 -6
  195. package/components/Tabs/TabItem.js +24 -26
  196. package/components/Tabs/Tabs.js +24 -26
  197. package/components/Tabs/Tabs.perftest.js +53 -72
  198. package/components/Tabs/TabsController.js +16 -15
  199. package/components/Tabs/horizontal/HorizontalTabItem.config.js +38 -398
  200. package/components/Tabs/horizontal/HorizontalTabs.config.js +37 -256
  201. package/components/Tabs/index.js +35 -27
  202. package/components/Tabs/vertical/VerticalTabItem.config.js +27 -186
  203. package/components/Tabs/vertical/VerticalTabs.config.js +27 -133
  204. package/components/TextArea/TextArea.config.js +43 -695
  205. package/components/TextArea/TextArea.js +12 -12
  206. package/components/TextArea/TextArea.perftest.js +28 -62
  207. package/components/TextArea/index.js +7 -6
  208. package/components/TextField/TextField.config.js +54 -856
  209. package/components/TextField/TextField.js +88 -206
  210. package/components/TextField/TextField.perftest.js +37 -103
  211. package/components/TextField/index.js +15 -16
  212. package/components/TextFieldGroup/TextFieldGroup.config.js +34 -356
  213. package/components/TextFieldGroup/TextFieldGroup.js +11 -11
  214. package/components/TextFieldGroup/index.js +7 -6
  215. package/components/Toast/Toast.config.js +42 -174
  216. package/components/Toast/Toast.js +14 -26
  217. package/components/Toast/index.js +20 -18
  218. package/components/Tokens/Colors/Colors.styles.js +51 -147
  219. package/components/Tokens/NumberTokens/NumberTokens.styles.js +23 -70
  220. package/components/Tokens/Typography/Typography.styles.js +77 -205
  221. package/components/Toolbar/Toolbar.config.js +21 -105
  222. package/components/Toolbar/Toolbar.js +13 -21
  223. package/components/Toolbar/index.js +21 -19
  224. package/components/Tooltip/Tooltip.config.js +20 -100
  225. package/components/Tooltip/Tooltip.js +7 -11
  226. package/components/Tooltip/Tooltip.perftest.js +78 -87
  227. package/components/Tooltip/index.js +7 -6
  228. package/components/Tree/Tree.config.js +21 -176
  229. package/components/Tree/Tree.js +7 -11
  230. package/components/Tree/index.js +7 -6
  231. package/components/Typography/Body.config.js +47 -161
  232. package/components/Typography/Dspl.config.js +31 -105
  233. package/components/Typography/Heading.config.js +47 -161
  234. package/components/Typography/Old/Body.config.js +31 -99
  235. package/components/Typography/Old/Button.config.js +23 -73
  236. package/components/Typography/Old/Caption.config.js +15 -42
  237. package/components/Typography/Old/Display.config.js +31 -99
  238. package/components/Typography/Old/Footnote.config.js +23 -73
  239. package/components/Typography/Old/Headline.config.js +47 -151
  240. package/components/Typography/Old/Paragraph.config.js +23 -73
  241. package/components/Typography/Old/ParagraphText.config.js +23 -73
  242. package/components/Typography/Old/Subtitle.config.js +15 -42
  243. package/components/Typography/Old/Underline.config.js +15 -42
  244. package/components/Typography/Old/index.js +80 -152
  245. package/components/Typography/Text.config.js +39 -133
  246. package/components/Typography/Typography.js +59 -116
  247. package/components/Typography/index.js +215 -117
  248. package/components/Upload/Upload.perftest.js +30 -65
  249. package/components/Upload/index.js +20 -18
  250. package/components/UploadAudio/index.js +7 -6
  251. package/components/UploadVisual/index.js +7 -6
  252. package/css/cjs/components/Carousel/Carousel.config.js +1 -1
  253. package/css/cjs/components/Carousel/Carousel.config.js.map +1 -1
  254. package/css/cjs/components/Carousel/Carousel.config_1r461vi.css +2 -0
  255. package/css/cjs/components/Carousel/Carousel.css +2 -2
  256. package/css/cjs/components/Carousel/Carousel.js +1 -1
  257. package/css/cjs/components/Carousel/Carousel.js.map +1 -1
  258. package/css/cjs/index.css +2 -2
  259. package/css/es/components/Carousel/Carousel.config.js +1 -1
  260. package/css/es/components/Carousel/Carousel.config.js.map +1 -1
  261. package/css/es/components/Carousel/Carousel.config_1r461vi.css +2 -0
  262. package/css/es/components/Carousel/Carousel.css +2 -2
  263. package/css/es/components/Carousel/Carousel.js +1 -1
  264. package/css/es/components/Carousel/Carousel.js.map +1 -1
  265. package/css/es/index.css +2 -2
  266. package/es/components/Accordion/Accordion.config.js +27 -350
  267. package/es/components/Accordion/Accordion.js +5 -3
  268. package/es/components/Accordion/index.js +1 -1
  269. package/es/components/Attach/Attach.config.js +31 -809
  270. package/es/components/Attach/Attach.js +4 -2
  271. package/es/components/Attach/index.js +1 -1
  272. package/es/components/AudioPlayer/index.js +1 -1
  273. package/es/components/Autocomplete/Autocomplete.config.js +37 -627
  274. package/es/components/Autocomplete/Autocomplete.js +2 -2
  275. package/es/components/Autocomplete/index.js +1 -1
  276. package/es/components/Avatar/Avatar.config.js +39 -410
  277. package/es/components/Avatar/Avatar.js +3 -3
  278. package/es/components/Avatar/index.js +1 -1
  279. package/es/components/AvatarGroup/AvatarGroup.js +2 -2
  280. package/es/components/AvatarGroup/index.js +1 -1
  281. package/es/components/Badge/Badge.config.js +36 -276
  282. package/es/components/Badge/Badge.js +4 -2
  283. package/es/components/Badge/Badge.perftest.js +13 -39
  284. package/es/components/Badge/index.js +1 -1
  285. package/es/components/Breadcrumbs/Breadcrumbs.config.js +16 -102
  286. package/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
  287. package/es/components/Breadcrumbs/index.js +1 -1
  288. package/es/components/Button/Button.config.js +49 -533
  289. package/es/components/Button/Button.js +5 -3
  290. package/es/components/Button/Button.perftest.js +27 -53
  291. package/es/components/Button/index.js +1 -1
  292. package/es/components/ButtonBase/index.js +1 -1
  293. package/es/components/ButtonGroup/ButtonGroup.config.js +54 -561
  294. package/es/components/ButtonGroup/ButtonGroup.js +4 -2
  295. package/es/components/ButtonGroup/index.js +1 -1
  296. package/es/components/Calendar/Calendar.js +12 -12
  297. package/es/components/Calendar/Calendar.perftest.js +76 -97
  298. package/es/components/Calendar/CalendarBase.config.js +16 -309
  299. package/es/components/Calendar/CalendarDouble.config.js +16 -311
  300. package/es/components/Calendar/index.js +1 -1
  301. package/es/components/Card/index.js +1 -1
  302. package/es/components/Carousel/Carousel.config.js +13 -48
  303. package/es/components/Carousel/Carousel.js +13 -40
  304. package/es/components/Carousel/Legacy/Carousel.examples.js +28 -57
  305. package/es/components/Carousel/Legacy/Carousel.js +3 -3
  306. package/es/components/Carousel/index.js +1 -1
  307. package/es/components/Cell/Cell.config.js +13 -171
  308. package/es/components/Cell/Cell.js +5 -3
  309. package/es/components/Cell/index.js +1 -1
  310. package/es/components/Checkbox/Checkbox.config.js +37 -288
  311. package/es/components/Checkbox/Checkbox.js +4 -3
  312. package/es/components/Checkbox/Checkbox.perftest.js +16 -43
  313. package/es/components/Checkbox/index.js +1 -1
  314. package/es/components/Chip/Chip.config.js +36 -313
  315. package/es/components/Chip/Chip.js +5 -3
  316. package/es/components/Chip/index.js +1 -1
  317. package/es/components/ChipGroup/ChipGroup.config.js +22 -199
  318. package/es/components/ChipGroup/ChipGroup.js +2 -2
  319. package/es/components/ChipGroup/index.js +1 -1
  320. package/es/components/CodeField/CodeField.config.js +22 -136
  321. package/es/components/CodeField/CodeField.js +2 -2
  322. package/es/components/CodeField/index.js +1 -1
  323. package/es/components/Combobox/Combobox.config.js +37 -810
  324. package/es/components/Combobox/Combobox.js +13 -40
  325. package/es/components/Combobox/Legacy/Combobox.config.js +16 -345
  326. package/es/components/Combobox/Legacy/Combobox.js +12 -12
  327. package/es/components/Combobox/Legacy/index.js +1 -1
  328. package/es/components/Combobox/index.js +1 -1
  329. package/es/components/Counter/Counter.config.js +28 -213
  330. package/es/components/Counter/Counter.js +4 -2
  331. package/es/components/Counter/index.js +1 -1
  332. package/es/components/DatePicker/DatePicker.config.js +22 -577
  333. package/es/components/DatePicker/DatePicker.js +4 -4
  334. package/es/components/DatePicker/index.js +1 -1
  335. package/es/components/Divider/Divider.config.js +22 -100
  336. package/es/components/Divider/Divider.js +4 -2
  337. package/es/components/Divider/index.js +1 -1
  338. package/es/components/Drawer/Drawer.config.js +17 -69
  339. package/es/components/Drawer/Drawer.js +16 -8
  340. package/es/components/Drawer/index.js +1 -1
  341. package/es/components/Dropdown/Dropdown.config.js +17 -236
  342. package/es/components/Dropdown/Dropdown.js +9 -36
  343. package/es/components/Dropdown/components/DropdownItem.js +63 -135
  344. package/es/components/Dropdown/components/DropdownList.js +3 -6
  345. package/es/components/Dropdown/components/DropdownOld.config.js +18 -133
  346. package/es/components/Dropdown/components/DropdownPopup.js +28 -107
  347. package/es/components/Dropdown/index.js +1 -1
  348. package/es/components/Dropzone/Dropzone.config.js +16 -77
  349. package/es/components/Dropzone/Dropzone.js +2 -2
  350. package/es/components/Dropzone/index.js +1 -1
  351. package/es/components/Editable/Editable.config.js +13 -47
  352. package/es/components/Editable/Editable.js +3 -3
  353. package/es/components/Editable/index.js +1 -1
  354. package/es/components/ElasticGrid/ElasticGrid.perftest.js +21 -34
  355. package/es/components/ElasticGrid/index.js +1 -1
  356. package/es/components/EmptyState/EmptyState.config.js +13 -105
  357. package/es/components/EmptyState/EmptyState.js +2 -2
  358. package/es/components/EmptyState/index.js +1 -1
  359. package/es/components/Flow/Flow.js +2 -2
  360. package/es/components/Flow/index.js +1 -1
  361. package/es/components/Grid/Grid.config.js +17 -93
  362. package/es/components/Grid/Grid.js +2 -2
  363. package/es/components/Grid/index.js +1 -1
  364. package/es/components/IconButton/IconButton.config.js +38 -416
  365. package/es/components/IconButton/IconButton.js +5 -3
  366. package/es/components/IconButton/index.js +1 -1
  367. package/es/components/Image/Image.js +5 -3
  368. package/es/components/Image/index.js +1 -1
  369. package/es/components/Indicator/Indicator.config.js +22 -140
  370. package/es/components/Indicator/Indicator.js +3 -3
  371. package/es/components/Indicator/index.js +1 -1
  372. package/es/components/Link/Link.config.js +29 -226
  373. package/es/components/Link/Link.js +5 -3
  374. package/es/components/Link/index.js +1 -1
  375. package/es/components/LinkButton/LinkButton.config.js +26 -265
  376. package/es/components/LinkButton/LinkButton.js +2 -2
  377. package/es/components/LinkButton/index.js +1 -1
  378. package/es/components/List/List.config.js +20 -168
  379. package/es/components/List/List.js +5 -3
  380. package/es/components/List/index.js +1 -1
  381. package/es/components/Mask/Mask.js +1 -1
  382. package/es/components/Mask/index.js +1 -1
  383. package/es/components/Modal/Modal.perftest.js +12 -10
  384. package/es/components/Modal/index.js +1 -1
  385. package/es/components/ModalBase/Modal.config.js +10 -38
  386. package/es/components/ModalBase/ModalBase.js +5 -3
  387. package/es/components/ModalBase/index.js +1 -1
  388. package/es/components/Note/Note.config.js +20 -236
  389. package/es/components/Note/Note.js +2 -2
  390. package/es/components/Note/index.js +1 -1
  391. package/es/components/Notification/Notification.config.js +25 -352
  392. package/es/components/Notification/Notification.js +15 -11
  393. package/es/components/Notification/index.js +1 -1
  394. package/es/components/NumberFormat/NumberFormat.js +9 -1
  395. package/es/components/NumberFormat/index.js +1 -1
  396. package/es/components/NumberInput/NumberInput.config.js +37 -385
  397. package/es/components/NumberInput/NumberInput.js +2 -2
  398. package/es/components/NumberInput/index.js +1 -1
  399. package/es/components/Overlay/index.js +1 -1
  400. package/es/components/Pagination/Pagination.config.js +38 -390
  401. package/es/components/Pagination/Pagination.js +5 -3
  402. package/es/components/Pagination/index.js +1 -1
  403. package/es/components/PaginationDots/index.js +1 -1
  404. package/es/components/Popover/Popover.config.js +10 -34
  405. package/es/components/Popover/Popover.js +2 -2
  406. package/es/components/Popover/index.js +1 -1
  407. package/es/components/Popup/index.js +1 -1
  408. package/es/components/PopupBase/PopupBase.js +4 -2
  409. package/es/components/PopupBase/index.js +1 -1
  410. package/es/components/Portal/index.js +1 -1
  411. package/es/components/PreviewGallery/PreviewGallery.perftest.js +65 -76
  412. package/es/components/PreviewGallery/index.js +1 -1
  413. package/es/components/Price/Price.config.js +7 -7
  414. package/es/components/Price/Price.js +5 -3
  415. package/es/components/Price/index.js +1 -1
  416. package/es/components/Progress/Progress.config.js +20 -138
  417. package/es/components/Progress/Progress.js +3 -3
  418. package/es/components/Progress/index.js +1 -1
  419. package/es/components/Radiobox/Radiobox.config.js +44 -295
  420. package/es/components/Radiobox/Radiobox.js +5 -4
  421. package/es/components/Radiobox/Radiobox.perftest.js +25 -21
  422. package/es/components/Radiobox/index.js +1 -1
  423. package/es/components/Range/Range.config.js +22 -310
  424. package/es/components/Range/Range.js +4 -2
  425. package/es/components/Range/index.js +1 -1
  426. package/es/components/Rating/Rating.config.js +26 -460
  427. package/es/components/Rating/Rating.js +2 -2
  428. package/es/components/Rating/index.js +1 -1
  429. package/es/components/SSRProvider/index.js +1 -1
  430. package/es/components/Segment/Segment.js +10 -5
  431. package/es/components/Segment/SegmentGroup.config.js +33 -187
  432. package/es/components/Segment/SegmentItem.config.js +26 -257
  433. package/es/components/Segment/index.js +1 -1
  434. package/es/components/Select/Select.config.js +49 -1008
  435. package/es/components/Select/Select.js +9 -36
  436. package/es/components/Select/Select.perftest.js +27 -32
  437. package/es/components/Select/index.js +1 -1
  438. package/es/components/Sheet/Sheet.config.js +13 -54
  439. package/es/components/Sheet/Sheet.js +5 -3
  440. package/es/components/Sheet/index.js +1 -1
  441. package/es/components/Skeleton/LineSkeleton.config.js +44 -437
  442. package/es/components/Skeleton/Skeleton.js +11 -5
  443. package/es/components/Skeleton/index.js +1 -1
  444. package/es/components/Slider/Slider.config.js +20 -264
  445. package/es/components/Slider/Slider.js +5 -3
  446. package/es/components/Slider/index.js +1 -1
  447. package/es/components/Spinner/Spinner.config.js +27 -142
  448. package/es/components/Spinner/Spinner.js +7 -8
  449. package/es/components/Spinner/index.js +1 -1
  450. package/es/components/Steps/Steps.config.js +42 -357
  451. package/es/components/Steps/Steps.js +3 -3
  452. package/es/components/Steps/index.js +1 -1
  453. package/es/components/Switch/Switch.config.js +28 -184
  454. package/es/components/Switch/Switch.js +3 -3
  455. package/es/components/Switch/Switch.perftest.js +16 -46
  456. package/es/components/Switch/index.js +1 -1
  457. package/es/components/Table/Table.config.js +16 -248
  458. package/es/components/Table/Table.js +5 -3
  459. package/es/components/Table/index.js +1 -1
  460. package/es/components/Tabs/TabItem.js +14 -10
  461. package/es/components/Tabs/Tabs.js +14 -10
  462. package/es/components/Tabs/Tabs.perftest.js +46 -49
  463. package/es/components/Tabs/TabsController.js +7 -5
  464. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +33 -389
  465. package/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -247
  466. package/es/components/Tabs/index.js +1 -1
  467. package/es/components/Tabs/vertical/VerticalTabItem.config.js +22 -177
  468. package/es/components/Tabs/vertical/VerticalTabs.config.js +22 -124
  469. package/es/components/TextArea/TextArea.config.js +38 -686
  470. package/es/components/TextArea/TextArea.js +5 -3
  471. package/es/components/TextArea/TextArea.perftest.js +21 -47
  472. package/es/components/TextArea/index.js +1 -1
  473. package/es/components/TextField/TextField.config.js +49 -847
  474. package/es/components/TextField/TextField.js +77 -147
  475. package/es/components/TextField/TextField.perftest.js +30 -80
  476. package/es/components/TextField/index.js +1 -1
  477. package/es/components/TextFieldGroup/TextFieldGroup.config.js +29 -347
  478. package/es/components/TextFieldGroup/TextFieldGroup.js +4 -2
  479. package/es/components/TextFieldGroup/index.js +1 -1
  480. package/es/components/Toast/Toast.config.js +37 -165
  481. package/es/components/Toast/Toast.js +4 -4
  482. package/es/components/Toast/index.js +1 -1
  483. package/es/components/Tokens/Colors/Colors.styles.js +43 -90
  484. package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +18 -37
  485. package/es/components/Tokens/Typography/Typography.styles.js +68 -135
  486. package/es/components/Toolbar/Toolbar.config.js +16 -96
  487. package/es/components/Toolbar/Toolbar.js +6 -4
  488. package/es/components/Toolbar/index.js +1 -1
  489. package/es/components/Tooltip/Tooltip.config.js +15 -91
  490. package/es/components/Tooltip/Tooltip.js +2 -2
  491. package/es/components/Tooltip/Tooltip.perftest.js +69 -70
  492. package/es/components/Tooltip/index.js +1 -1
  493. package/es/components/Tree/Tree.config.js +16 -167
  494. package/es/components/Tree/Tree.js +2 -2
  495. package/es/components/Tree/index.js +1 -1
  496. package/es/components/Typography/Body.config.js +38 -131
  497. package/es/components/Typography/Dspl.config.js +24 -83
  498. package/es/components/Typography/Heading.config.js +38 -131
  499. package/es/components/Typography/Old/Body.config.js +24 -77
  500. package/es/components/Typography/Old/Button.config.js +17 -55
  501. package/es/components/Typography/Old/Caption.config.js +10 -33
  502. package/es/components/Typography/Old/Display.config.js +24 -77
  503. package/es/components/Typography/Old/Footnote.config.js +17 -55
  504. package/es/components/Typography/Old/Headline.config.js +38 -121
  505. package/es/components/Typography/Old/Paragraph.config.js +17 -55
  506. package/es/components/Typography/Old/ParagraphText.config.js +17 -55
  507. package/es/components/Typography/Old/Subtitle.config.js +10 -33
  508. package/es/components/Typography/Old/Underline.config.js +10 -33
  509. package/es/components/Typography/Old/index.js +45 -45
  510. package/es/components/Typography/Text.config.js +31 -107
  511. package/es/components/Typography/Typography.js +35 -35
  512. package/es/components/Typography/index.js +1 -1
  513. package/es/components/Upload/Upload.perftest.js +24 -51
  514. package/es/components/Upload/index.js +1 -1
  515. package/es/components/UploadAudio/index.js +1 -1
  516. package/es/components/UploadVisual/index.js +1 -1
  517. package/es/hocs/index.js +1 -1
  518. package/es/hooks/index.js +1 -1
  519. package/es/hooks/useFocusTrap.component-test.js +165 -0
  520. package/es/index.js +1 -1
  521. package/es/mixins/index.js +1 -1
  522. package/es/tokens/colors.js +1 -1
  523. package/es/tokens/index.js +1 -1
  524. package/es/tokens/sizes.js +1 -1
  525. package/es/tokens/typography.js +37 -37
  526. package/es/types/index.js +1 -1
  527. package/es/utils/index.js +1 -1
  528. package/hocs/index.js +15 -16
  529. package/hooks/index.js +27 -22
  530. package/hooks/useFocusTrap.component-test.js +171 -0
  531. package/index.js +927 -99
  532. package/mixins/index.js +119 -112
  533. package/package.json +10 -10
  534. package/tokens/colors.js +48 -189
  535. package/tokens/index.js +35 -17
  536. package/tokens/sizes.js +9 -33
  537. package/tokens/typography.js +362 -228
  538. package/types/index.js +3 -2
  539. package/utils/index.js +125 -72
  540. package/.swc/plugins/v7_linux_x86_64_14.0.0/358fecaab1701de64a7bceee21e5f3a204d1107aa33eb372d1dab77a43118622 +0 -0
  541. package/.swc/plugins/v7_linux_x86_64_14.0.0/cce279a62b5dde357ee7b421711ef357c3f0a29cd3cb6e86336f7345fd604d8e +0 -0
  542. package/css/cjs/components/Carousel/Carousel.config_uusoxc.css +0 -2
  543. package/css/es/components/Carousel/Carousel.config_uusoxc.css +0 -2
  544. package/es/helpers/index.js +0 -1
  545. package/helpers/index.js +0 -31
@@ -1,161 +1,40 @@
1
1
  "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
4
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- Object.defineProperty(exports, "DropdownPopup", {
6
- enumerable: true,
7
- get: function() {
8
- return DropdownPopup;
9
- }
10
- });
11
- var _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
12
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
13
- var _DropdownOldconfig = require("./DropdownOld.config");
14
- function _define_property(obj, key, value) {
15
- if (key in obj) {
16
- Object.defineProperty(obj, key, {
17
- value: value,
18
- enumerable: true,
19
- configurable: true,
20
- writable: true
21
- });
22
- } else {
23
- obj[key] = value;
24
- }
25
- return obj;
26
- }
27
- function _getRequireWildcardCache(nodeInterop) {
28
- if (typeof WeakMap !== "function") return null;
29
- var cacheBabelInterop = new WeakMap();
30
- var cacheNodeInterop = new WeakMap();
31
- return (_getRequireWildcardCache = function(nodeInterop) {
32
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
33
- })(nodeInterop);
34
- }
35
- function _interop_require_wildcard(obj, nodeInterop) {
36
- if (!nodeInterop && obj && obj.__esModule) {
37
- return obj;
38
- }
39
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
40
- return {
41
- default: obj
42
- };
43
- }
44
- var cache = _getRequireWildcardCache(nodeInterop);
45
- if (cache && cache.has(obj)) {
46
- return cache.get(obj);
47
- }
48
- var newObj = {
49
- __proto__: null
50
- };
51
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
52
- for(var key in obj){
53
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
54
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
55
- if (desc && (desc.get || desc.set)) {
56
- Object.defineProperty(newObj, key, desc);
57
- } else {
58
- newObj[key] = obj[key];
59
- }
60
- }
61
- }
62
- newObj.default = obj;
63
- if (cache) {
64
- cache.set(obj, newObj);
65
- }
66
- return newObj;
67
- }
68
- function _object_spread(target) {
69
- for(var i = 1; i < arguments.length; i++){
70
- var source = arguments[i] != null ? arguments[i] : {};
71
- var ownKeys = Object.keys(source);
72
- if (typeof Object.getOwnPropertySymbols === "function") {
73
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
74
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
75
- }));
76
- }
77
- ownKeys.forEach(function(key) {
78
- _define_property(target, key, source[key]);
79
- });
80
- }
81
- return target;
82
- }
83
- function ownKeys(object, enumerableOnly) {
84
- var keys = Object.keys(object);
85
- if (Object.getOwnPropertySymbols) {
86
- var symbols = Object.getOwnPropertySymbols(object);
87
- if (enumerableOnly) {
88
- symbols = symbols.filter(function(sym) {
89
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
90
- });
91
- }
92
- keys.push.apply(keys, symbols);
93
- }
94
- return keys;
95
- }
96
- function _object_spread_props(target, source) {
97
- source = source != null ? source : {};
98
- if (Object.getOwnPropertyDescriptors) {
99
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
100
- } else {
101
- ownKeys(Object(source)).forEach(function(key) {
102
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
103
- });
104
- }
105
- return target;
106
- }
107
- function _object_without_properties(source, excluded) {
108
- if (source == null) return {};
109
- var target = _object_without_properties_loose(source, excluded);
110
- var key, i;
111
- if (Object.getOwnPropertySymbols) {
112
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
113
- for(i = 0; i < sourceSymbolKeys.length; i++){
114
- key = sourceSymbolKeys[i];
115
- if (excluded.indexOf(key) >= 0) continue;
116
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
117
- target[key] = source[key];
118
- }
119
- }
120
- return target;
121
- }
122
- function _object_without_properties_loose(source, excluded) {
123
- if (source == null) return {};
124
- var target = {};
125
- var sourceKeys = Object.keys(source);
126
- var key, i;
127
- for(i = 0; i < sourceKeys.length; i++){
128
- key = sourceKeys[i];
129
- if (excluded.indexOf(key) >= 0) continue;
130
- target[key] = source[key];
131
- }
132
- return target;
133
- }
134
- var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.dropdownOldConfig, _DropdownOldconfig.config);
135
- var DropdownNewHope = (0, _styledcomponents.component)(mergedConfig);
136
- var DropdownPopup = /*#__PURE__*/ (0, _react.forwardRef)(function(props, ref) {
137
- var trigger = props.trigger, children = props.children, opened = props.opened, isOpen = props.isOpen, disclosure = props.disclosure, onToggle = props.onToggle, placement = props.placement, offsetTop = props.offsetTop, rest = _object_without_properties(props, [
138
- "trigger",
139
- "children",
140
- "opened",
141
- "isOpen",
142
- "disclosure",
143
- "onToggle",
144
- "placement",
145
- "offsetTop"
146
- ]);
147
- var offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;
148
- return /*#__PURE__*/ _react.default.createElement(DropdownNewHope, _object_spread_props(_object_spread({}, rest), {
149
- ref: ref,
150
- onToggle: onToggle,
151
- target: disclosure,
152
- opened: opened,
153
- isOpen: isOpen,
154
- trigger: trigger,
155
- placement: placement,
156
- offset: [
157
- offsetAtTop,
158
- 0
159
- ]
160
- }), children);
5
+ value: true
161
6
  });
7
+ exports.DropdownPopup = void 0;
8
+ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
10
+ var _DropdownOld = /*#__PURE__*/require("./DropdownOld.config");
11
+ var _excluded = ["trigger", "children", "opened", "isOpen", "disclosure", "onToggle", "placement", "offsetTop"];
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ 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); }
15
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
16
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
17
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.dropdownOldConfig, _DropdownOld.config);
18
+ var DropdownNewHope = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
19
+ var DropdownPopup = exports.DropdownPopup = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
20
+ var trigger = props.trigger,
21
+ children = props.children,
22
+ opened = props.opened,
23
+ isOpen = props.isOpen,
24
+ disclosure = props.disclosure,
25
+ onToggle = props.onToggle,
26
+ placement = props.placement,
27
+ offsetTop = props.offsetTop,
28
+ rest = _objectWithoutProperties(props, _excluded);
29
+ var offsetAtTop = typeof offsetTop === 'number' ? offsetTop : 0;
30
+ return /*#__PURE__*/_react["default"].createElement(DropdownNewHope, _extends({}, rest, {
31
+ ref: ref,
32
+ onToggle: onToggle,
33
+ target: disclosure,
34
+ opened: opened,
35
+ isOpen: isOpen,
36
+ trigger: trigger,
37
+ placement: placement,
38
+ offset: [offsetAtTop, 0]
39
+ }), children);
40
+ });
@@ -1,32 +1,40 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get Dropdown () {
13
- return _Dropdown.Dropdown;
14
- },
15
- get DropdownItem () {
16
- return _DropdownItem.DropdownItem;
17
- },
18
- get DropdownList () {
19
- return _DropdownList.DropdownList;
20
- },
21
- get DropdownPopup () {
22
- return _DropdownPopup.DropdownPopup;
23
- },
24
- get withAssistiveDropdown () {
25
- return _plasmahope.withAssistiveDropdown;
26
- }
6
+ Object.defineProperty(exports, "Dropdown", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Dropdown.Dropdown;
10
+ }
27
11
  });
28
- var _plasmahope = require("@salutejs/plasma-hope");
29
- var _Dropdown = require("./Dropdown");
30
- var _DropdownItem = require("./components/DropdownItem");
31
- var _DropdownPopup = require("./components/DropdownPopup");
32
- var _DropdownList = require("./components/DropdownList");
12
+ Object.defineProperty(exports, "DropdownItem", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _DropdownItem.DropdownItem;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "DropdownList", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _DropdownList.DropdownList;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "DropdownPopup", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _DropdownPopup.DropdownPopup;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "withAssistiveDropdown", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _plasmaHope.withAssistiveDropdown;
34
+ }
35
+ });
36
+ var _plasmaHope = /*#__PURE__*/require("@salutejs/plasma-hope");
37
+ var _Dropdown = /*#__PURE__*/require("./Dropdown");
38
+ var _DropdownItem = /*#__PURE__*/require("./components/DropdownItem");
39
+ var _DropdownPopup = /*#__PURE__*/require("./components/DropdownPopup");
40
+ var _DropdownList = /*#__PURE__*/require("./components/DropdownList");
@@ -1,91 +1,26 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- Object.defineProperty(exports, "config", {
6
- enumerable: true,
7
- get: function() {
8
- return config;
9
- }
10
- });
11
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
- function _tagged_template_literal(strings, raw) {
13
- if (!raw) {
14
- raw = strings.slice(0);
15
- }
16
- return Object.freeze(Object.defineProperties(strings, {
17
- raw: {
18
- value: Object.freeze(raw)
19
- }
20
- }));
21
- }
22
- function _templateObject() {
23
- var data = _tagged_template_literal([
24
- "\n ",
25
- ": var(--surface-solid-card);\n ",
26
- ": var(--surface-solid-card-hover);\n ",
27
- ": var(--overlay-soft);\n ",
28
- ": var(--outline-solid-secondary);\n ",
29
- ": var(--outline-solid-secondary-hover);\n ",
30
- ": var(--outline-accent);\n ",
31
- ": var(--text-primary);\n ",
32
- ": var(--text-secondary);\n "
33
- ]);
34
- _templateObject = function _templateObject() {
35
- return data;
36
- };
37
- return data;
38
- }
39
- function _templateObject1() {
40
- var data = _tagged_template_literal([
41
- "\n ",
42
- ": 1.5rem;\n ",
43
- ": 1.25rem;\n ",
44
- ": 0.75rem;\n ",
45
- ": 0.375rem;\n ",
46
- ": 0.5rem;\n\n ",
47
- ": var(--plasma-typo-h4-font-family);\n ",
48
- ": var(--plasma-typo-h4-font-size);\n ",
49
- ": var(--plasma-typo-h4-font-style);\n ",
50
- ": var(--plasma-typo-h4-bold-font-weight);\n ",
51
- ": var(--plasma-typo-h4-letter-spacing);\n ",
52
- ": var(--plasma-typo-h4-line-height);\n\n ",
53
- ": var(--plasma-typo-body-s-font-family);\n ",
54
- ": var(--plasma-typo-body-s-font-size);\n ",
55
- ": var(--plasma-typo-body-s-font-style);\n ",
56
- ": var(--plasma-typo-body-s-font-weight);\n ",
57
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
58
- ": var(--plasma-typo-body-s-line-height);\n "
59
- ]);
60
- _templateObject1 = function _templateObject() {
61
- return data;
62
- };
63
- return data;
64
- }
65
- function _templateObject2() {
66
- var data = _tagged_template_literal([
67
- "\n ",
68
- ": 0.4;\n "
69
- ]);
70
- _templateObject2 = function _templateObject() {
71
- return data;
72
- };
73
- return data;
74
- }
75
- var config = {
76
- defaults: {
77
- view: 'default',
78
- size: 'm'
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2, _templateObject3;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 'm'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-solid-card);\n ", ": var(--surface-solid-card-hover);\n ", ": var(--overlay-soft);\n ", ": var(--outline-solid-secondary);\n ", ": var(--outline-solid-secondary-hover);\n ", ": var(--outline-accent);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n "])), _styledComponents.dropzoneTokens.background, _styledComponents.dropzoneTokens.backgroundHover, _styledComponents.dropzoneTokens.overlayColorActive, _styledComponents.dropzoneTokens.borderColor, _styledComponents.dropzoneTokens.borderColorHover, _styledComponents.dropzoneTokens.borderColorActive, _styledComponents.dropzoneTokens.titleColor, _styledComponents.dropzoneTokens.descriptionColor)
18
+ },
19
+ size: {
20
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 1.25rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-bold-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\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 "])), _styledComponents.dropzoneTokens.padding, _styledComponents.dropzoneTokens.borderRadius, _styledComponents.dropzoneTokens.contentWrapperGap, _styledComponents.dropzoneTokens.contentGap, _styledComponents.dropzoneTokens.contentColumnGap, _styledComponents.dropzoneTokens.titleFontFamily, _styledComponents.dropzoneTokens.titleFontSize, _styledComponents.dropzoneTokens.titleFontStyle, _styledComponents.dropzoneTokens.titleFontWeight, _styledComponents.dropzoneTokens.titleLetterSpacing, _styledComponents.dropzoneTokens.titleLineHeight, _styledComponents.dropzoneTokens.descriptionFontFamily, _styledComponents.dropzoneTokens.descriptionFontSize, _styledComponents.dropzoneTokens.descriptionFontStyle, _styledComponents.dropzoneTokens.descriptionFontWeight, _styledComponents.dropzoneTokens.descriptionLetterSpacing, _styledComponents.dropzoneTokens.descriptionLineHeight)
79
21
  },
80
- variations: {
81
- view: {
82
- default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.dropzoneTokens.background, _styledcomponents.dropzoneTokens.backgroundHover, _styledcomponents.dropzoneTokens.overlayColorActive, _styledcomponents.dropzoneTokens.borderColor, _styledcomponents.dropzoneTokens.borderColorHover, _styledcomponents.dropzoneTokens.borderColorActive, _styledcomponents.dropzoneTokens.titleColor, _styledcomponents.dropzoneTokens.descriptionColor)
83
- },
84
- size: {
85
- m: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.dropzoneTokens.padding, _styledcomponents.dropzoneTokens.borderRadius, _styledcomponents.dropzoneTokens.contentWrapperGap, _styledcomponents.dropzoneTokens.contentGap, _styledcomponents.dropzoneTokens.contentColumnGap, _styledcomponents.dropzoneTokens.titleFontFamily, _styledcomponents.dropzoneTokens.titleFontSize, _styledcomponents.dropzoneTokens.titleFontStyle, _styledcomponents.dropzoneTokens.titleFontWeight, _styledcomponents.dropzoneTokens.titleLetterSpacing, _styledcomponents.dropzoneTokens.titleLineHeight, _styledcomponents.dropzoneTokens.descriptionFontFamily, _styledcomponents.dropzoneTokens.descriptionFontSize, _styledcomponents.dropzoneTokens.descriptionFontStyle, _styledcomponents.dropzoneTokens.descriptionFontWeight, _styledcomponents.dropzoneTokens.descriptionLetterSpacing, _styledcomponents.dropzoneTokens.descriptionLineHeight)
86
- },
87
- disabled: {
88
- true: (0, _styledcomponents.css)(_templateObject2(), _styledcomponents.dropzoneTokens.disabledOpacity)
89
- }
22
+ disabled: {
23
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.dropzoneTokens.disabledOpacity)
90
24
  }
91
- };
25
+ }
26
+ };
@@ -1,14 +1,10 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- Object.defineProperty(exports, "Dropzone", {
6
- enumerable: true,
7
- get: function() {
8
- return Dropzone;
9
- }
10
- });
11
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
- var _Dropzoneconfig = require("./Dropzone.config");
13
- var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.dropzoneConfig, _Dropzoneconfig.config);
14
- var Dropzone = (0, _styledcomponents.component)(mergedConfig);
6
+ exports.Dropzone = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _Dropzone = /*#__PURE__*/require("./Dropzone.config");
9
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.dropzoneConfig, _Dropzone.config);
10
+ var Dropzone = exports.Dropzone = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -1,23 +1,25 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get Dropzone () {
13
- return _Dropzone.Dropzone;
14
- },
15
- get dropzoneClasses () {
16
- return _styledcomponents.dropzoneClasses;
17
- },
18
- get dropzoneTokens () {
19
- return _styledcomponents.dropzoneTokens;
20
- }
6
+ Object.defineProperty(exports, "Dropzone", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Dropzone.Dropzone;
10
+ }
21
11
  });
22
- var _Dropzone = require("./Dropzone");
23
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
+ Object.defineProperty(exports, "dropzoneClasses", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _styledComponents.dropzoneClasses;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "dropzoneTokens", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _styledComponents.dropzoneTokens;
22
+ }
23
+ });
24
+ var _Dropzone = /*#__PURE__*/require("./Dropzone");
25
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
@@ -1,61 +1,23 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
- Object.defineProperty(exports, "config", {
6
- enumerable: true,
7
- get: function() {
8
- return config;
9
- }
10
- });
11
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
12
- function _tagged_template_literal(strings, raw) {
13
- if (!raw) {
14
- raw = strings.slice(0);
15
- }
16
- return Object.freeze(Object.defineProperties(strings, {
17
- raw: {
18
- value: Object.freeze(raw)
19
- }
20
- }));
21
- }
22
- function _templateObject() {
23
- var data = _tagged_template_literal([
24
- "\n ",
25
- ": var(--background-primary);\n ",
26
- ": var(--text-tertiary);\n ",
27
- ": var(--text-primary);\n ",
28
- ": var(--text-secondary);\n ",
29
- ": var(--text-accent);\n "
30
- ]);
31
- _templateObject = function _templateObject() {
32
- return data;
33
- };
34
- return data;
35
- }
36
- function _templateObject1() {
37
- var data = _tagged_template_literal([
38
- "\n ",
39
- ": 1rem;\n ",
40
- ": 1rem;\n ",
41
- ": -1rem;\n "
42
- ]);
43
- _templateObject1 = function _templateObject() {
44
- return data;
45
- };
46
- return data;
47
- }
48
- var config = {
49
- defaults: {
50
- view: 'default',
51
- size: 'm'
6
+ exports.config = void 0;
7
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
8
+ var _templateObject, _templateObject2;
9
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
10
+ var config = exports.config = {
11
+ defaults: {
12
+ view: 'default',
13
+ size: 'm'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--background-primary);\n ", ": var(--text-tertiary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-accent);\n "])), _styledComponents.editableTokens.editButtonBackground, _styledComponents.editableTokens.editButtonColor, _styledComponents.editableTokens.editButtonColorHover, _styledComponents.editableTokens.placeholderColor, _styledComponents.editableTokens.caretColor)
52
18
  },
53
- variations: {
54
- view: {
55
- default: (0, _styledcomponents.css)(_templateObject(), _styledcomponents.editableTokens.editButtonBackground, _styledcomponents.editableTokens.editButtonColor, _styledcomponents.editableTokens.editButtonColorHover, _styledcomponents.editableTokens.placeholderColor, _styledcomponents.editableTokens.caretColor)
56
- },
57
- size: {
58
- m: (0, _styledcomponents.css)(_templateObject1(), _styledcomponents.editableTokens.editButtonPaddingLeft, _styledcomponents.editableTokens.textBoxPaddingRight, _styledcomponents.editableTokens.textBoxMarginRight)
59
- }
19
+ size: {
20
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1rem;\n ", ": 1rem;\n ", ": -1rem;\n "])), _styledComponents.editableTokens.editButtonPaddingLeft, _styledComponents.editableTokens.textBoxPaddingRight, _styledComponents.editableTokens.textBoxMarginRight)
60
21
  }
61
- };
22
+ }
23
+ };
@@ -1,66 +1,16 @@
1
1
  "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
4
  Object.defineProperty(exports, "__esModule", {
3
- value: true
5
+ value: true
4
6
  });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get Editable () {
13
- return Editable;
14
- },
15
- get typographyVariants () {
16
- return typographyVariants;
17
- }
18
- });
19
- var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
20
- var _Typography = /*#__PURE__*/ _interop_require_wildcard(require("../Typography"));
21
- var _Editableconfig = require("./Editable.config");
22
- function _getRequireWildcardCache(nodeInterop) {
23
- if (typeof WeakMap !== "function") return null;
24
- var cacheBabelInterop = new WeakMap();
25
- var cacheNodeInterop = new WeakMap();
26
- return (_getRequireWildcardCache = function(nodeInterop) {
27
- return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
28
- })(nodeInterop);
29
- }
30
- function _interop_require_wildcard(obj, nodeInterop) {
31
- if (!nodeInterop && obj && obj.__esModule) {
32
- return obj;
33
- }
34
- if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
35
- return {
36
- default: obj
37
- };
38
- }
39
- var cache = _getRequireWildcardCache(nodeInterop);
40
- if (cache && cache.has(obj)) {
41
- return cache.get(obj);
42
- }
43
- var newObj = {
44
- __proto__: null
45
- };
46
- var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
47
- for(var key in obj){
48
- if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
49
- var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
50
- if (desc && (desc.get || desc.set)) {
51
- Object.defineProperty(newObj, key, desc);
52
- } else {
53
- newObj[key] = obj[key];
54
- }
55
- }
56
- }
57
- newObj.default = obj;
58
- if (cache) {
59
- cache.set(obj, newObj);
60
- }
61
- return newObj;
62
- }
63
- var typographyVariants = _Typography;
64
- var finalConfig = (0, _styledcomponents.editableConfig)(typographyVariants);
65
- var mergedConfig = (0, _styledcomponents.mergeConfig)(finalConfig, _Editableconfig.config);
66
- var Editable = (0, _styledcomponents.component)(mergedConfig);
7
+ exports.typographyVariants = exports.Editable = void 0;
8
+ var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
9
+ var typographyComponents = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("../Typography"));
10
+ var _Editable = /*#__PURE__*/require("./Editable.config");
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
+ var typographyVariants = exports.typographyVariants = typographyComponents;
14
+ var finalConfig = /*#__PURE__*/(0, _styledComponents.editableConfig)(typographyVariants);
15
+ var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(finalConfig, _Editable.config);
16
+ var Editable = exports.Editable = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
+
2
3
  Object.defineProperty(exports, "__esModule", {
3
- value: true
4
+ value: true
4
5
  });
5
6
  Object.defineProperty(exports, "Editable", {
6
- enumerable: true,
7
- get: function() {
8
- return _Editable.Editable;
9
- }
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Editable.Editable;
10
+ }
10
11
  });
11
- var _Editable = require("./Editable");
12
+ var _Editable = /*#__PURE__*/require("./Editable");