@salutejs/plasma-web 1.585.0-canary.2031.15774276345.0 → 1.585.0-canary.2040.15828624275.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 (551) hide show
  1. package/.swc/plugins/v7_linux_x86_64_14.0.0/358fecaab1701de64a7bceee21e5f3a204d1107aa33eb372d1dab77a43118622 +0 -0
  2. package/.swc/plugins/v7_linux_x86_64_14.0.0/cce279a62b5dde357ee7b421711ef357c3f0a29cd3cb6e86336f7345fd604d8e +0 -0
  3. package/components/Accordion/Accordion.config.js +359 -32
  4. package/components/Accordion/Accordion.js +12 -12
  5. package/components/Accordion/index.js +16 -15
  6. package/components/Attach/Attach.config.js +818 -36
  7. package/components/Attach/Attach.js +11 -11
  8. package/components/Attach/index.js +6 -7
  9. package/components/AudioPlayer/index.js +6 -7
  10. package/components/Autocomplete/Autocomplete.config.js +636 -42
  11. package/components/Autocomplete/Autocomplete.js +11 -7
  12. package/components/Autocomplete/index.js +6 -7
  13. package/components/Avatar/Avatar.config.js +419 -44
  14. package/components/Avatar/Avatar.js +19 -7
  15. package/components/Avatar/index.js +6 -7
  16. package/components/AvatarGroup/AvatarGroup.js +10 -6
  17. package/components/AvatarGroup/index.js +6 -7
  18. package/components/Badge/Badge.config.js +285 -41
  19. package/components/Badge/Badge.js +11 -11
  20. package/components/Badge/Badge.perftest.js +54 -20
  21. package/components/Badge/index.js +6 -7
  22. package/components/Breadcrumbs/Breadcrumbs.config.js +111 -21
  23. package/components/Breadcrumbs/Breadcrumbs.js +12 -12
  24. package/components/Breadcrumbs/index.js +6 -7
  25. package/components/Button/Button.config.js +542 -54
  26. package/components/Button/Button.js +12 -12
  27. package/components/Button/Button.perftest.js +76 -34
  28. package/components/Button/index.js +6 -7
  29. package/components/ButtonBase/index.js +6 -7
  30. package/components/ButtonGroup/ButtonGroup.config.js +570 -59
  31. package/components/ButtonGroup/ButtonGroup.js +11 -11
  32. package/components/ButtonGroup/index.js +6 -7
  33. package/components/Calendar/Calendar.js +39 -18
  34. package/components/Calendar/Calendar.perftest.js +122 -82
  35. package/components/Calendar/CalendarBase.config.js +318 -21
  36. package/components/Calendar/CalendarDouble.config.js +320 -21
  37. package/components/Calendar/index.js +24 -32
  38. package/components/Card/index.js +27 -38
  39. package/components/Carousel/Carousel.config.js +57 -18
  40. package/components/Carousel/Carousel.js +55 -20
  41. package/components/Carousel/Legacy/Carousel.examples.js +74 -40
  42. package/components/Carousel/Legacy/Carousel.js +11 -7
  43. package/components/Carousel/index.js +19 -21
  44. package/components/Cell/Cell.config.js +180 -18
  45. package/components/Cell/Cell.js +12 -12
  46. package/components/Cell/index.js +25 -33
  47. package/components/Checkbox/Checkbox.config.js +297 -42
  48. package/components/Checkbox/Checkbox.js +12 -11
  49. package/components/Checkbox/Checkbox.perftest.js +57 -22
  50. package/components/Checkbox/index.js +6 -7
  51. package/components/Chip/Chip.config.js +322 -41
  52. package/components/Chip/Chip.js +12 -12
  53. package/components/Chip/index.js +6 -7
  54. package/components/ChipGroup/ChipGroup.config.js +208 -27
  55. package/components/ChipGroup/ChipGroup.js +11 -7
  56. package/components/ChipGroup/index.js +6 -7
  57. package/components/CodeField/CodeField.config.js +145 -27
  58. package/components/CodeField/CodeField.js +11 -7
  59. package/components/CodeField/index.js +28 -39
  60. package/components/Combobox/Combobox.config.js +819 -42
  61. package/components/Combobox/Combobox.d.ts +24 -24
  62. package/components/Combobox/Combobox.js +55 -20
  63. package/components/Combobox/Legacy/Combobox.config.js +354 -21
  64. package/components/Combobox/Legacy/Combobox.d.ts +2 -2
  65. package/components/Combobox/Legacy/Combobox.js +41 -17
  66. package/components/Combobox/Legacy/index.js +27 -38
  67. package/components/Combobox/index.js +28 -39
  68. package/components/Counter/Counter.config.js +222 -33
  69. package/components/Counter/Counter.js +11 -11
  70. package/components/Counter/index.js +16 -15
  71. package/components/DatePicker/DatePicker.config.js +586 -27
  72. package/components/DatePicker/DatePicker.js +21 -9
  73. package/components/DatePicker/index.js +22 -27
  74. package/components/Divider/Divider.config.js +109 -27
  75. package/components/Divider/Divider.js +11 -11
  76. package/components/Divider/index.js +16 -15
  77. package/components/Drawer/Drawer.config.js +78 -22
  78. package/components/Drawer/Drawer.js +31 -29
  79. package/components/Drawer/index.js +21 -26
  80. package/components/Dropdown/Dropdown.config.js +245 -22
  81. package/components/Dropdown/Dropdown.js +50 -15
  82. package/components/Dropdown/components/DropdownItem.js +200 -73
  83. package/components/Dropdown/components/DropdownList.js +19 -8
  84. package/components/Dropdown/components/DropdownOld.config.js +142 -23
  85. package/components/Dropdown/components/DropdownPopup.js +158 -37
  86. package/components/Dropdown/index.js +28 -36
  87. package/components/Dropzone/Dropzone.config.js +86 -21
  88. package/components/Dropzone/Dropzone.js +11 -7
  89. package/components/Dropzone/index.js +19 -21
  90. package/components/Editable/Editable.config.js +56 -18
  91. package/components/Editable/Editable.js +63 -13
  92. package/components/Editable/index.js +6 -7
  93. package/components/ElasticGrid/ElasticGrid.perftest.js +49 -28
  94. package/components/ElasticGrid/index.js +6 -7
  95. package/components/EmptyState/EmptyState.config.js +114 -18
  96. package/components/EmptyState/EmptyState.js +19 -7
  97. package/components/EmptyState/index.js +6 -7
  98. package/components/Flow/Flow.js +10 -6
  99. package/components/Flow/index.js +6 -7
  100. package/components/Grid/Grid.config.js +102 -22
  101. package/components/Grid/Grid.js +21 -18
  102. package/components/Grid/index.js +18 -20
  103. package/components/IconButton/IconButton.config.js +425 -43
  104. package/components/IconButton/IconButton.js +12 -12
  105. package/components/IconButton/index.js +6 -7
  106. package/components/Image/Image.js +11 -11
  107. package/components/Image/index.js +6 -7
  108. package/components/Indicator/Indicator.config.js +149 -27
  109. package/components/Indicator/Indicator.js +19 -7
  110. package/components/Indicator/index.js +6 -7
  111. package/components/Link/Link.config.js +235 -34
  112. package/components/Link/Link.js +12 -12
  113. package/components/Link/index.js +6 -7
  114. package/components/LinkButton/LinkButton.config.js +274 -31
  115. package/components/LinkButton/LinkButton.js +11 -7
  116. package/components/LinkButton/index.js +6 -7
  117. package/components/List/List.config.js +177 -25
  118. package/components/List/List.js +12 -12
  119. package/components/List/index.js +16 -15
  120. package/components/Mask/Mask.js +10 -6
  121. package/components/Mask/index.js +6 -7
  122. package/components/Modal/Modal.perftest.js +25 -20
  123. package/components/Modal/index.js +18 -20
  124. package/components/ModalBase/Modal.config.js +47 -15
  125. package/components/ModalBase/ModalBase.js +12 -12
  126. package/components/ModalBase/index.js +16 -15
  127. package/components/Note/Note.config.js +245 -25
  128. package/components/Note/Note.js +11 -7
  129. package/components/Note/index.js +19 -21
  130. package/components/Notification/Notification.config.js +361 -30
  131. package/components/Notification/Notification.js +38 -23
  132. package/components/Notification/index.js +22 -27
  133. package/components/NumberFormat/NumberFormat.js +10 -13
  134. package/components/NumberFormat/index.js +6 -7
  135. package/components/NumberInput/NumberInput.config.js +394 -42
  136. package/components/NumberInput/NumberInput.js +11 -7
  137. package/components/NumberInput/index.js +19 -21
  138. package/components/Overlay/index.js +6 -7
  139. package/components/Pagination/Pagination.config.js +399 -43
  140. package/components/Pagination/Pagination.js +12 -12
  141. package/components/Pagination/index.js +6 -7
  142. package/components/PaginationDots/index.js +18 -20
  143. package/components/Popover/Popover.config.js +43 -15
  144. package/components/Popover/Popover.js +11 -7
  145. package/components/Popover/index.js +6 -7
  146. package/components/Popup/index.js +6 -7
  147. package/components/PopupBase/PopupBase.js +10 -10
  148. package/components/PopupBase/index.js +22 -27
  149. package/components/Portal/index.js +6 -7
  150. package/components/PreviewGallery/PreviewGallery.perftest.js +104 -74
  151. package/components/PreviewGallery/index.js +24 -32
  152. package/components/Price/Price.config.js +15 -11
  153. package/components/Price/Price.js +12 -12
  154. package/components/Price/index.js +16 -15
  155. package/components/Progress/Progress.config.js +147 -25
  156. package/components/Progress/Progress.js +12 -8
  157. package/components/Progress/index.js +6 -7
  158. package/components/Radiobox/Radiobox.config.js +304 -49
  159. package/components/Radiobox/Radiobox.d.ts +2 -48
  160. package/components/Radiobox/Radiobox.js +19 -16
  161. package/components/Radiobox/Radiobox.perftest.js +35 -31
  162. package/components/Radiobox/index.js +15 -14
  163. package/components/Range/Range.config.js +319 -27
  164. package/components/Range/Range.js +11 -11
  165. package/components/Range/index.js +16 -15
  166. package/components/Rating/Rating.config.js +469 -31
  167. package/components/Rating/Rating.js +11 -7
  168. package/components/Rating/index.js +19 -21
  169. package/components/SSRProvider/index.js +6 -7
  170. package/components/Segment/Segment.js +27 -32
  171. package/components/Segment/SegmentGroup.config.js +196 -38
  172. package/components/Segment/SegmentItem.config.js +266 -31
  173. package/components/Segment/index.js +21 -26
  174. package/components/Select/Select.config.js +1017 -54
  175. package/components/Select/Select.d.ts +6 -6
  176. package/components/Select/Select.js +50 -15
  177. package/components/Select/Select.perftest.js +46 -33
  178. package/components/Select/index.js +16 -15
  179. package/components/Sheet/Sheet.config.js +63 -18
  180. package/components/Sheet/Sheet.js +12 -12
  181. package/components/Sheet/index.js +16 -15
  182. package/components/Skeleton/LineSkeleton.config.js +446 -49
  183. package/components/Skeleton/Skeleton.js +23 -28
  184. package/components/Skeleton/index.js +18 -20
  185. package/components/Slider/Slider.config.js +273 -25
  186. package/components/Slider/Slider.js +12 -13
  187. package/components/Slider/index.js +6 -7
  188. package/components/Spinner/Spinner.config.js +151 -32
  189. package/components/Spinner/Spinner.js +23 -16
  190. package/components/Spinner/index.js +6 -7
  191. package/components/Steps/Steps.config.js +366 -47
  192. package/components/Steps/Steps.js +12 -8
  193. package/components/Steps/index.js +6 -7
  194. package/components/Switch/Switch.config.js +193 -33
  195. package/components/Switch/Switch.js +12 -8
  196. package/components/Switch/Switch.perftest.js +61 -23
  197. package/components/Switch/index.js +6 -7
  198. package/components/Table/Table.config.js +257 -21
  199. package/components/Table/Table.js +12 -12
  200. package/components/Table/index.js +6 -7
  201. package/components/Tabs/TabItem.js +26 -24
  202. package/components/Tabs/Tabs.js +26 -24
  203. package/components/Tabs/Tabs.perftest.js +72 -53
  204. package/components/Tabs/TabsController.js +15 -16
  205. package/components/Tabs/horizontal/HorizontalTabItem.config.js +398 -38
  206. package/components/Tabs/horizontal/HorizontalTabs.config.js +256 -37
  207. package/components/Tabs/index.js +27 -35
  208. package/components/Tabs/vertical/VerticalTabItem.config.js +186 -27
  209. package/components/Tabs/vertical/VerticalTabs.config.js +133 -27
  210. package/components/TextArea/TextArea.config.js +695 -43
  211. package/components/TextArea/TextArea.js +12 -12
  212. package/components/TextArea/TextArea.perftest.js +62 -28
  213. package/components/TextArea/index.js +6 -7
  214. package/components/TextField/TextField.config.js +856 -54
  215. package/components/TextField/TextField.js +206 -88
  216. package/components/TextField/TextField.perftest.js +103 -37
  217. package/components/TextField/index.js +16 -15
  218. package/components/TextFieldGroup/TextFieldGroup.config.js +356 -34
  219. package/components/TextFieldGroup/TextFieldGroup.js +11 -11
  220. package/components/TextFieldGroup/index.js +6 -7
  221. package/components/Toast/Toast.config.js +174 -42
  222. package/components/Toast/Toast.js +26 -14
  223. package/components/Toast/index.js +18 -20
  224. package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
  225. package/components/Tokens/Colors/Colors.styles.js +147 -51
  226. package/components/Tokens/NumberTokens/NumberTokens.styles.js +70 -23
  227. package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
  228. package/components/Tokens/Typography/Typography.styles.js +205 -77
  229. package/components/Toolbar/Toolbar.config.js +105 -21
  230. package/components/Toolbar/Toolbar.js +21 -13
  231. package/components/Toolbar/index.js +19 -21
  232. package/components/Tooltip/Tooltip.config.js +100 -20
  233. package/components/Tooltip/Tooltip.js +11 -7
  234. package/components/Tooltip/Tooltip.perftest.js +87 -78
  235. package/components/Tooltip/index.js +6 -7
  236. package/components/Tree/Tree.config.js +176 -21
  237. package/components/Tree/Tree.js +11 -7
  238. package/components/Tree/index.js +6 -7
  239. package/components/Typography/Body.config.js +161 -47
  240. package/components/Typography/Dspl.config.js +105 -31
  241. package/components/Typography/Heading.config.js +161 -47
  242. package/components/Typography/Old/Body.config.js +99 -31
  243. package/components/Typography/Old/Button.config.js +73 -23
  244. package/components/Typography/Old/Caption.config.js +42 -15
  245. package/components/Typography/Old/Display.config.js +99 -31
  246. package/components/Typography/Old/Footnote.config.js +73 -23
  247. package/components/Typography/Old/Headline.config.js +151 -47
  248. package/components/Typography/Old/Paragraph.config.js +73 -23
  249. package/components/Typography/Old/ParagraphText.config.js +73 -23
  250. package/components/Typography/Old/Subtitle.config.js +42 -15
  251. package/components/Typography/Old/Underline.config.js +42 -15
  252. package/components/Typography/Old/index.js +152 -80
  253. package/components/Typography/Text.config.js +133 -39
  254. package/components/Typography/Typography.js +116 -59
  255. package/components/Typography/index.js +117 -215
  256. package/components/Upload/Upload.perftest.js +65 -30
  257. package/components/Upload/index.js +18 -20
  258. package/components/UploadAudio/index.js +6 -7
  259. package/components/UploadVisual/index.js +6 -7
  260. package/css/cjs/components/Carousel/Carousel.config.js +1 -1
  261. package/css/cjs/components/Carousel/Carousel.config.js.map +1 -1
  262. package/css/cjs/components/Carousel/Carousel.config_uusoxc.css +2 -0
  263. package/css/cjs/components/Carousel/Carousel.css +2 -2
  264. package/css/cjs/components/Carousel/Carousel.js +1 -1
  265. package/css/cjs/components/Carousel/Carousel.js.map +1 -1
  266. package/css/cjs/index.css +2 -2
  267. package/css/es/components/Carousel/Carousel.config.js +1 -1
  268. package/css/es/components/Carousel/Carousel.config.js.map +1 -1
  269. package/css/es/components/Carousel/Carousel.config_uusoxc.css +2 -0
  270. package/css/es/components/Carousel/Carousel.css +2 -2
  271. package/css/es/components/Carousel/Carousel.js +1 -1
  272. package/css/es/components/Carousel/Carousel.js.map +1 -1
  273. package/css/es/index.css +2 -2
  274. package/es/components/Accordion/Accordion.config.js +350 -27
  275. package/es/components/Accordion/Accordion.js +3 -5
  276. package/es/components/Accordion/index.js +1 -1
  277. package/es/components/Attach/Attach.config.js +809 -31
  278. package/es/components/Attach/Attach.js +2 -4
  279. package/es/components/Attach/index.js +1 -1
  280. package/es/components/AudioPlayer/index.js +1 -1
  281. package/es/components/Autocomplete/Autocomplete.config.js +627 -37
  282. package/es/components/Autocomplete/Autocomplete.js +2 -2
  283. package/es/components/Autocomplete/index.js +1 -1
  284. package/es/components/Avatar/Avatar.config.js +410 -39
  285. package/es/components/Avatar/Avatar.js +3 -3
  286. package/es/components/Avatar/index.js +1 -1
  287. package/es/components/AvatarGroup/AvatarGroup.js +2 -2
  288. package/es/components/AvatarGroup/index.js +1 -1
  289. package/es/components/Badge/Badge.config.js +276 -36
  290. package/es/components/Badge/Badge.js +2 -4
  291. package/es/components/Badge/Badge.perftest.js +39 -13
  292. package/es/components/Badge/index.js +1 -1
  293. package/es/components/Breadcrumbs/Breadcrumbs.config.js +102 -16
  294. package/es/components/Breadcrumbs/Breadcrumbs.js +3 -5
  295. package/es/components/Breadcrumbs/index.js +1 -1
  296. package/es/components/Button/Button.config.js +533 -49
  297. package/es/components/Button/Button.js +3 -5
  298. package/es/components/Button/Button.perftest.js +53 -27
  299. package/es/components/Button/index.js +1 -1
  300. package/es/components/ButtonBase/index.js +1 -1
  301. package/es/components/ButtonGroup/ButtonGroup.config.js +561 -54
  302. package/es/components/ButtonGroup/ButtonGroup.js +2 -4
  303. package/es/components/ButtonGroup/index.js +1 -1
  304. package/es/components/Calendar/Calendar.js +12 -12
  305. package/es/components/Calendar/Calendar.perftest.js +97 -76
  306. package/es/components/Calendar/CalendarBase.config.js +309 -16
  307. package/es/components/Calendar/CalendarDouble.config.js +311 -16
  308. package/es/components/Calendar/index.js +1 -1
  309. package/es/components/Card/index.js +1 -1
  310. package/es/components/Carousel/Carousel.config.js +48 -13
  311. package/es/components/Carousel/Carousel.js +40 -13
  312. package/es/components/Carousel/Legacy/Carousel.examples.js +57 -28
  313. package/es/components/Carousel/Legacy/Carousel.js +3 -3
  314. package/es/components/Carousel/index.js +1 -1
  315. package/es/components/Cell/Cell.config.js +171 -13
  316. package/es/components/Cell/Cell.js +3 -5
  317. package/es/components/Cell/index.js +1 -1
  318. package/es/components/Checkbox/Checkbox.config.js +288 -37
  319. package/es/components/Checkbox/Checkbox.js +3 -4
  320. package/es/components/Checkbox/Checkbox.perftest.js +43 -16
  321. package/es/components/Checkbox/index.js +1 -1
  322. package/es/components/Chip/Chip.config.js +313 -36
  323. package/es/components/Chip/Chip.js +3 -5
  324. package/es/components/Chip/index.js +1 -1
  325. package/es/components/ChipGroup/ChipGroup.config.js +199 -22
  326. package/es/components/ChipGroup/ChipGroup.js +2 -2
  327. package/es/components/ChipGroup/index.js +1 -1
  328. package/es/components/CodeField/CodeField.config.js +136 -22
  329. package/es/components/CodeField/CodeField.js +2 -2
  330. package/es/components/CodeField/index.js +1 -1
  331. package/es/components/Combobox/Combobox.config.js +810 -37
  332. package/es/components/Combobox/Combobox.js +40 -13
  333. package/es/components/Combobox/Legacy/Combobox.config.js +345 -16
  334. package/es/components/Combobox/Legacy/Combobox.js +12 -12
  335. package/es/components/Combobox/Legacy/index.js +1 -1
  336. package/es/components/Combobox/index.js +1 -1
  337. package/es/components/Counter/Counter.config.js +213 -28
  338. package/es/components/Counter/Counter.js +2 -4
  339. package/es/components/Counter/index.js +1 -1
  340. package/es/components/DatePicker/DatePicker.config.js +577 -22
  341. package/es/components/DatePicker/DatePicker.js +4 -4
  342. package/es/components/DatePicker/index.js +1 -1
  343. package/es/components/Divider/Divider.config.js +100 -22
  344. package/es/components/Divider/Divider.js +2 -4
  345. package/es/components/Divider/index.js +1 -1
  346. package/es/components/Drawer/Drawer.config.js +69 -17
  347. package/es/components/Drawer/Drawer.js +8 -16
  348. package/es/components/Drawer/index.js +1 -1
  349. package/es/components/Dropdown/Dropdown.config.js +236 -17
  350. package/es/components/Dropdown/Dropdown.js +36 -9
  351. package/es/components/Dropdown/components/DropdownItem.js +135 -63
  352. package/es/components/Dropdown/components/DropdownList.js +6 -3
  353. package/es/components/Dropdown/components/DropdownOld.config.js +133 -18
  354. package/es/components/Dropdown/components/DropdownPopup.js +107 -28
  355. package/es/components/Dropdown/index.js +1 -1
  356. package/es/components/Dropzone/Dropzone.config.js +77 -16
  357. package/es/components/Dropzone/Dropzone.js +2 -2
  358. package/es/components/Dropzone/index.js +1 -1
  359. package/es/components/Editable/Editable.config.js +47 -13
  360. package/es/components/Editable/Editable.js +3 -3
  361. package/es/components/Editable/index.js +1 -1
  362. package/es/components/ElasticGrid/ElasticGrid.perftest.js +34 -21
  363. package/es/components/ElasticGrid/index.js +1 -1
  364. package/es/components/EmptyState/EmptyState.config.js +105 -13
  365. package/es/components/EmptyState/EmptyState.js +2 -2
  366. package/es/components/EmptyState/index.js +1 -1
  367. package/es/components/Flow/Flow.js +2 -2
  368. package/es/components/Flow/index.js +1 -1
  369. package/es/components/Grid/Grid.config.js +93 -17
  370. package/es/components/Grid/Grid.js +2 -2
  371. package/es/components/Grid/index.js +1 -1
  372. package/es/components/IconButton/IconButton.config.js +416 -38
  373. package/es/components/IconButton/IconButton.js +3 -5
  374. package/es/components/IconButton/index.js +1 -1
  375. package/es/components/Image/Image.js +3 -5
  376. package/es/components/Image/index.js +1 -1
  377. package/es/components/Indicator/Indicator.config.js +140 -22
  378. package/es/components/Indicator/Indicator.js +3 -3
  379. package/es/components/Indicator/index.js +1 -1
  380. package/es/components/Link/Link.config.js +226 -29
  381. package/es/components/Link/Link.js +3 -5
  382. package/es/components/Link/index.js +1 -1
  383. package/es/components/LinkButton/LinkButton.config.js +265 -26
  384. package/es/components/LinkButton/LinkButton.js +2 -2
  385. package/es/components/LinkButton/index.js +1 -1
  386. package/es/components/List/List.config.js +168 -20
  387. package/es/components/List/List.js +3 -5
  388. package/es/components/List/index.js +1 -1
  389. package/es/components/Mask/Mask.js +1 -1
  390. package/es/components/Mask/index.js +1 -1
  391. package/es/components/Modal/Modal.perftest.js +10 -12
  392. package/es/components/Modal/index.js +1 -1
  393. package/es/components/ModalBase/Modal.config.js +38 -10
  394. package/es/components/ModalBase/ModalBase.js +3 -5
  395. package/es/components/ModalBase/index.js +1 -1
  396. package/es/components/Note/Note.config.js +236 -20
  397. package/es/components/Note/Note.js +2 -2
  398. package/es/components/Note/index.js +1 -1
  399. package/es/components/Notification/Notification.config.js +352 -25
  400. package/es/components/Notification/Notification.js +11 -15
  401. package/es/components/Notification/index.js +1 -1
  402. package/es/components/NumberFormat/NumberFormat.js +1 -9
  403. package/es/components/NumberFormat/index.js +1 -1
  404. package/es/components/NumberInput/NumberInput.config.js +385 -37
  405. package/es/components/NumberInput/NumberInput.js +2 -2
  406. package/es/components/NumberInput/index.js +1 -1
  407. package/es/components/Overlay/index.js +1 -1
  408. package/es/components/Pagination/Pagination.config.js +390 -38
  409. package/es/components/Pagination/Pagination.js +3 -5
  410. package/es/components/Pagination/index.js +1 -1
  411. package/es/components/PaginationDots/index.js +1 -1
  412. package/es/components/Popover/Popover.config.js +34 -10
  413. package/es/components/Popover/Popover.js +2 -2
  414. package/es/components/Popover/index.js +1 -1
  415. package/es/components/Popup/index.js +1 -1
  416. package/es/components/PopupBase/PopupBase.js +2 -4
  417. package/es/components/PopupBase/index.js +1 -1
  418. package/es/components/Portal/index.js +1 -1
  419. package/es/components/PreviewGallery/PreviewGallery.perftest.js +76 -65
  420. package/es/components/PreviewGallery/index.js +1 -1
  421. package/es/components/Price/Price.config.js +7 -7
  422. package/es/components/Price/Price.js +3 -5
  423. package/es/components/Price/index.js +1 -1
  424. package/es/components/Progress/Progress.config.js +138 -20
  425. package/es/components/Progress/Progress.js +3 -3
  426. package/es/components/Progress/index.js +1 -1
  427. package/es/components/Radiobox/Radiobox.config.js +295 -44
  428. package/es/components/Radiobox/Radiobox.js +4 -5
  429. package/es/components/Radiobox/Radiobox.perftest.js +21 -25
  430. package/es/components/Radiobox/index.js +1 -1
  431. package/es/components/Range/Range.config.js +310 -22
  432. package/es/components/Range/Range.js +2 -4
  433. package/es/components/Range/index.js +1 -1
  434. package/es/components/Rating/Rating.config.js +460 -26
  435. package/es/components/Rating/Rating.js +2 -2
  436. package/es/components/Rating/index.js +1 -1
  437. package/es/components/SSRProvider/index.js +1 -1
  438. package/es/components/Segment/Segment.js +5 -10
  439. package/es/components/Segment/SegmentGroup.config.js +187 -33
  440. package/es/components/Segment/SegmentItem.config.js +257 -26
  441. package/es/components/Segment/index.js +1 -1
  442. package/es/components/Select/Select.config.js +1008 -49
  443. package/es/components/Select/Select.js +36 -9
  444. package/es/components/Select/Select.perftest.js +32 -27
  445. package/es/components/Select/index.js +1 -1
  446. package/es/components/Sheet/Sheet.config.js +54 -13
  447. package/es/components/Sheet/Sheet.js +3 -5
  448. package/es/components/Sheet/index.js +1 -1
  449. package/es/components/Skeleton/LineSkeleton.config.js +437 -44
  450. package/es/components/Skeleton/Skeleton.js +5 -11
  451. package/es/components/Skeleton/index.js +1 -1
  452. package/es/components/Slider/Slider.config.js +264 -20
  453. package/es/components/Slider/Slider.js +3 -5
  454. package/es/components/Slider/index.js +1 -1
  455. package/es/components/Spinner/Spinner.config.js +142 -27
  456. package/es/components/Spinner/Spinner.js +8 -7
  457. package/es/components/Spinner/index.js +1 -1
  458. package/es/components/Steps/Steps.config.js +357 -42
  459. package/es/components/Steps/Steps.js +3 -3
  460. package/es/components/Steps/index.js +1 -1
  461. package/es/components/Switch/Switch.config.js +184 -28
  462. package/es/components/Switch/Switch.js +3 -3
  463. package/es/components/Switch/Switch.perftest.js +46 -16
  464. package/es/components/Switch/index.js +1 -1
  465. package/es/components/Table/Table.config.js +248 -16
  466. package/es/components/Table/Table.js +3 -5
  467. package/es/components/Table/index.js +1 -1
  468. package/es/components/Tabs/TabItem.js +10 -14
  469. package/es/components/Tabs/Tabs.js +10 -14
  470. package/es/components/Tabs/Tabs.perftest.js +49 -46
  471. package/es/components/Tabs/TabsController.js +5 -7
  472. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +389 -33
  473. package/es/components/Tabs/horizontal/HorizontalTabs.config.js +247 -32
  474. package/es/components/Tabs/index.js +1 -1
  475. package/es/components/Tabs/vertical/VerticalTabItem.config.js +177 -22
  476. package/es/components/Tabs/vertical/VerticalTabs.config.js +124 -22
  477. package/es/components/TextArea/TextArea.config.js +686 -38
  478. package/es/components/TextArea/TextArea.js +3 -5
  479. package/es/components/TextArea/TextArea.perftest.js +47 -21
  480. package/es/components/TextArea/index.js +1 -1
  481. package/es/components/TextField/TextField.config.js +847 -49
  482. package/es/components/TextField/TextField.js +147 -77
  483. package/es/components/TextField/TextField.perftest.js +80 -30
  484. package/es/components/TextField/index.js +1 -1
  485. package/es/components/TextFieldGroup/TextFieldGroup.config.js +347 -29
  486. package/es/components/TextFieldGroup/TextFieldGroup.js +2 -4
  487. package/es/components/TextFieldGroup/index.js +1 -1
  488. package/es/components/Toast/Toast.config.js +165 -37
  489. package/es/components/Toast/Toast.js +4 -4
  490. package/es/components/Toast/index.js +1 -1
  491. package/es/components/Tokens/Colors/Colors.styles.js +90 -43
  492. package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +37 -18
  493. package/es/components/Tokens/Typography/Typography.styles.js +135 -68
  494. package/es/components/Toolbar/Toolbar.config.js +96 -16
  495. package/es/components/Toolbar/Toolbar.js +4 -6
  496. package/es/components/Toolbar/index.js +1 -1
  497. package/es/components/Tooltip/Tooltip.config.js +91 -15
  498. package/es/components/Tooltip/Tooltip.js +2 -2
  499. package/es/components/Tooltip/Tooltip.perftest.js +70 -69
  500. package/es/components/Tooltip/index.js +1 -1
  501. package/es/components/Tree/Tree.config.js +167 -16
  502. package/es/components/Tree/Tree.js +2 -2
  503. package/es/components/Tree/index.js +1 -1
  504. package/es/components/Typography/Body.config.js +131 -38
  505. package/es/components/Typography/Dspl.config.js +83 -24
  506. package/es/components/Typography/Heading.config.js +131 -38
  507. package/es/components/Typography/Old/Body.config.js +77 -24
  508. package/es/components/Typography/Old/Button.config.js +55 -17
  509. package/es/components/Typography/Old/Caption.config.js +33 -10
  510. package/es/components/Typography/Old/Display.config.js +77 -24
  511. package/es/components/Typography/Old/Footnote.config.js +55 -17
  512. package/es/components/Typography/Old/Headline.config.js +121 -38
  513. package/es/components/Typography/Old/Paragraph.config.js +55 -17
  514. package/es/components/Typography/Old/ParagraphText.config.js +55 -17
  515. package/es/components/Typography/Old/Subtitle.config.js +33 -10
  516. package/es/components/Typography/Old/Underline.config.js +33 -10
  517. package/es/components/Typography/Old/index.js +45 -45
  518. package/es/components/Typography/Text.config.js +107 -31
  519. package/es/components/Typography/Typography.js +35 -35
  520. package/es/components/Typography/index.js +1 -1
  521. package/es/components/Upload/Upload.perftest.js +51 -24
  522. package/es/components/Upload/index.js +1 -1
  523. package/es/components/UploadAudio/index.js +1 -1
  524. package/es/components/UploadVisual/index.js +1 -1
  525. package/es/helpers/index.js +1 -0
  526. package/es/hocs/index.js +1 -1
  527. package/es/hooks/index.js +1 -1
  528. package/es/index.js +1 -1
  529. package/es/mixins/index.js +1 -1
  530. package/es/tokens/colors.js +1 -1
  531. package/es/tokens/index.js +1 -1
  532. package/es/tokens/sizes.js +1 -1
  533. package/es/tokens/typography.js +37 -37
  534. package/es/types/index.js +1 -1
  535. package/es/utils/index.js +1 -1
  536. package/helpers/index.js +31 -0
  537. package/hocs/index.js +16 -15
  538. package/hooks/index.js +22 -27
  539. package/index.js +99 -927
  540. package/mixins/index.js +112 -119
  541. package/package.json +10 -10
  542. package/tokens/colors.js +189 -48
  543. package/tokens/index.js +17 -35
  544. package/tokens/sizes.js +33 -9
  545. package/tokens/typography.js +228 -362
  546. package/types/index.js +2 -3
  547. package/utils/index.js +72 -125
  548. package/css/cjs/components/Carousel/Carousel.config_1r461vi.css +0 -2
  549. package/css/es/components/Carousel/Carousel.config_1r461vi.css +0 -2
  550. package/es/hooks/useFocusTrap.component-test.js +0 -165
  551. package/hooks/useFocusTrap.component-test.js +0 -171
@@ -1,217 +1,119 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "Body1", {
7
- enumerable: true,
8
- get: function get() {
9
- return _Old.Body1;
10
- }
11
- });
12
- Object.defineProperty(exports, "Body2", {
13
- enumerable: true,
14
- get: function get() {
15
- return _Old.Body2;
16
- }
17
- });
18
- Object.defineProperty(exports, "BodyL", {
19
- enumerable: true,
20
- get: function get() {
21
- return _Typography.BodyL;
22
- }
23
- });
24
- Object.defineProperty(exports, "BodyM", {
25
- enumerable: true,
26
- get: function get() {
27
- return _Typography.BodyM;
28
- }
29
- });
30
- Object.defineProperty(exports, "BodyS", {
31
- enumerable: true,
32
- get: function get() {
33
- return _Typography.BodyS;
34
- }
35
- });
36
- Object.defineProperty(exports, "BodyXS", {
37
- enumerable: true,
38
- get: function get() {
39
- return _Typography.BodyXS;
40
- }
41
- });
42
- Object.defineProperty(exports, "BodyXXS", {
43
- enumerable: true,
44
- get: function get() {
45
- return _Typography.BodyXXS;
46
- }
47
- });
48
- Object.defineProperty(exports, "Button1", {
49
- enumerable: true,
50
- get: function get() {
51
- return _Old.Button1;
52
- }
53
- });
54
- Object.defineProperty(exports, "Button2", {
55
- enumerable: true,
56
- get: function get() {
57
- return _Old.Button2;
58
- }
59
- });
60
- Object.defineProperty(exports, "Caption", {
61
- enumerable: true,
62
- get: function get() {
63
- return _Old.Caption;
64
- }
65
- });
66
- Object.defineProperty(exports, "DsplL", {
67
- enumerable: true,
68
- get: function get() {
69
- return _Typography.DsplL;
70
- }
71
- });
72
- Object.defineProperty(exports, "DsplM", {
73
- enumerable: true,
74
- get: function get() {
75
- return _Typography.DsplM;
76
- }
77
- });
78
- Object.defineProperty(exports, "DsplS", {
79
- enumerable: true,
80
- get: function get() {
81
- return _Typography.DsplS;
82
- }
83
- });
84
- Object.defineProperty(exports, "Footnote1", {
85
- enumerable: true,
86
- get: function get() {
87
- return _Old.Footnote1;
88
- }
89
- });
90
- Object.defineProperty(exports, "Footnote2", {
91
- enumerable: true,
92
- get: function get() {
93
- return _Old.Footnote2;
94
- }
95
- });
96
- Object.defineProperty(exports, "H1", {
97
- enumerable: true,
98
- get: function get() {
99
- return _Typography.H1;
100
- }
101
- });
102
- Object.defineProperty(exports, "H2", {
103
- enumerable: true,
104
- get: function get() {
105
- return _Typography.H2;
106
- }
107
- });
108
- Object.defineProperty(exports, "H3", {
109
- enumerable: true,
110
- get: function get() {
111
- return _Typography.H3;
112
- }
113
- });
114
- Object.defineProperty(exports, "H4", {
115
- enumerable: true,
116
- get: function get() {
117
- return _Typography.H4;
118
- }
119
- });
120
- Object.defineProperty(exports, "H5", {
121
- enumerable: true,
122
- get: function get() {
123
- return _Typography.H5;
124
- }
125
- });
126
- Object.defineProperty(exports, "Headline1", {
127
- enumerable: true,
128
- get: function get() {
129
- return _Old.Headline1;
130
- }
131
- });
132
- Object.defineProperty(exports, "Headline2", {
133
- enumerable: true,
134
- get: function get() {
135
- return _Old.Headline2;
136
- }
137
- });
138
- Object.defineProperty(exports, "Headline3", {
139
- enumerable: true,
140
- get: function get() {
141
- return _Old.Headline3;
142
- }
143
- });
144
- Object.defineProperty(exports, "Headline4", {
145
- enumerable: true,
146
- get: function get() {
147
- return _Old.Headline4;
148
- }
149
- });
150
- Object.defineProperty(exports, "Headline5", {
151
- enumerable: true,
152
- get: function get() {
153
- return _Old.Headline5;
154
- }
155
- });
156
- Object.defineProperty(exports, "P1", {
157
- enumerable: true,
158
- get: function get() {
159
- return _Old.P1;
160
- }
161
- });
162
- Object.defineProperty(exports, "P2", {
163
- enumerable: true,
164
- get: function get() {
165
- return _Old.P2;
166
- }
167
- });
168
- Object.defineProperty(exports, "ParagraphText1", {
169
- enumerable: true,
170
- get: function get() {
171
- return _Old.ParagraphText1;
172
- }
173
- });
174
- Object.defineProperty(exports, "ParagraphText2", {
175
- enumerable: true,
176
- get: function get() {
177
- return _Old.ParagraphText2;
178
- }
179
- });
180
- Object.defineProperty(exports, "Subtitle", {
181
- enumerable: true,
182
- get: function get() {
183
- return _Old.Subtitle;
184
- }
185
- });
186
- Object.defineProperty(exports, "TextL", {
187
- enumerable: true,
188
- get: function get() {
189
- return _Typography.TextL;
190
- }
191
- });
192
- Object.defineProperty(exports, "TextM", {
193
- enumerable: true,
194
- get: function get() {
195
- return _Typography.TextM;
196
- }
197
- });
198
- Object.defineProperty(exports, "TextS", {
199
- enumerable: true,
200
- get: function get() {
201
- return _Typography.TextS;
202
- }
203
- });
204
- Object.defineProperty(exports, "TextXS", {
205
- enumerable: true,
206
- get: function get() {
207
- return _Typography.TextXS;
208
- }
209
- });
210
- Object.defineProperty(exports, "Underline", {
211
- enumerable: true,
212
- get: function get() {
213
- return _Old.Underline;
214
- }
215
- });
216
- var _Typography = /*#__PURE__*/require("./Typography");
217
- var _Old = /*#__PURE__*/require("./Old");
3
+ value: true
4
+ });
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 Body1 () {
13
+ return _Old.Body1;
14
+ },
15
+ get Body2 () {
16
+ return _Old.Body2;
17
+ },
18
+ get BodyL () {
19
+ return _Typography.BodyL;
20
+ },
21
+ get BodyM () {
22
+ return _Typography.BodyM;
23
+ },
24
+ get BodyS () {
25
+ return _Typography.BodyS;
26
+ },
27
+ get BodyXS () {
28
+ return _Typography.BodyXS;
29
+ },
30
+ get BodyXXS () {
31
+ return _Typography.BodyXXS;
32
+ },
33
+ get Button1 () {
34
+ return _Old.Button1;
35
+ },
36
+ get Button2 () {
37
+ return _Old.Button2;
38
+ },
39
+ get Caption () {
40
+ return _Old.Caption;
41
+ },
42
+ get DsplL () {
43
+ return _Typography.DsplL;
44
+ },
45
+ get DsplM () {
46
+ return _Typography.DsplM;
47
+ },
48
+ get DsplS () {
49
+ return _Typography.DsplS;
50
+ },
51
+ get Footnote1 () {
52
+ return _Old.Footnote1;
53
+ },
54
+ get Footnote2 () {
55
+ return _Old.Footnote2;
56
+ },
57
+ get H1 () {
58
+ return _Typography.H1;
59
+ },
60
+ get H2 () {
61
+ return _Typography.H2;
62
+ },
63
+ get H3 () {
64
+ return _Typography.H3;
65
+ },
66
+ get H4 () {
67
+ return _Typography.H4;
68
+ },
69
+ get H5 () {
70
+ return _Typography.H5;
71
+ },
72
+ get Headline1 () {
73
+ return _Old.Headline1;
74
+ },
75
+ get Headline2 () {
76
+ return _Old.Headline2;
77
+ },
78
+ get Headline3 () {
79
+ return _Old.Headline3;
80
+ },
81
+ get Headline4 () {
82
+ return _Old.Headline4;
83
+ },
84
+ get Headline5 () {
85
+ return _Old.Headline5;
86
+ },
87
+ get P1 () {
88
+ return _Old.P1;
89
+ },
90
+ get P2 () {
91
+ return _Old.P2;
92
+ },
93
+ get ParagraphText1 () {
94
+ return _Old.ParagraphText1;
95
+ },
96
+ get ParagraphText2 () {
97
+ return _Old.ParagraphText2;
98
+ },
99
+ get Subtitle () {
100
+ return _Old.Subtitle;
101
+ },
102
+ get TextL () {
103
+ return _Typography.TextL;
104
+ },
105
+ get TextM () {
106
+ return _Typography.TextM;
107
+ },
108
+ get TextS () {
109
+ return _Typography.TextS;
110
+ },
111
+ get TextXS () {
112
+ return _Typography.TextXS;
113
+ },
114
+ get Underline () {
115
+ return _Old.Underline;
116
+ }
117
+ });
118
+ var _Typography = require("./Typography");
119
+ var _Old = require("./Old");
@@ -1,38 +1,73 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- exports.Default = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- var _ = /*#__PURE__*/require(".");
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
- 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); }
5
+ Object.defineProperty(exports, "Default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return Default;
9
+ }
10
+ });
11
+ var _react = /*#__PURE__*/ _interop_require_default(require("react"));
12
+ var _ = require(".");
13
+ function _define_property(obj, key, value) {
14
+ if (key in obj) {
15
+ Object.defineProperty(obj, key, {
16
+ value: value,
17
+ enumerable: true,
18
+ configurable: true,
19
+ writable: true
20
+ });
21
+ } else {
22
+ obj[key] = value;
23
+ }
24
+ return obj;
25
+ }
26
+ function _interop_require_default(obj) {
27
+ return obj && obj.__esModule ? obj : {
28
+ default: obj
29
+ };
30
+ }
31
+ function _object_spread(target) {
32
+ for(var i = 1; i < arguments.length; i++){
33
+ var source = arguments[i] != null ? arguments[i] : {};
34
+ var ownKeys = Object.keys(source);
35
+ if (typeof Object.getOwnPropertySymbols === "function") {
36
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
37
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
38
+ }));
39
+ }
40
+ ownKeys.forEach(function(key) {
41
+ _define_property(target, key, source[key]);
42
+ });
43
+ }
44
+ return target;
45
+ }
11
46
  var defaultProps = {
12
- disabled: false,
13
- content: 'Загрузите файл формата любого'
47
+ disabled: false,
48
+ content: 'Загрузите файл формата любого'
14
49
  };
15
50
  var state = {
16
- status: undefined,
17
- progress: undefined,
18
- message: 'Подсказывающее сообщение'
51
+ status: undefined,
52
+ progress: undefined,
53
+ message: 'Подсказывающее сообщение'
54
+ };
55
+ var valid = function() {
56
+ return {
57
+ message: 'Добавлен файл формата ',
58
+ status: 'success',
59
+ data: null
60
+ };
19
61
  };
20
- var valid = function valid() {
21
- return {
22
- message: 'Добавлен файл формата ',
23
- status: 'success',
24
- data: null
25
- };
62
+ var func = function() {};
63
+ var Default = function() {
64
+ return /*#__PURE__*/ _react.default.createElement(_.Upload, _object_spread({
65
+ status: state.status,
66
+ progress: state.progress,
67
+ message: state.message,
68
+ loader: /*#__PURE__*/ _react.default.createElement("div", null, "Кастомная загрузка ", state.progress, "%"),
69
+ onChange: func,
70
+ onValidation: func,
71
+ validate: valid
72
+ }, defaultProps));
26
73
  };
27
- var func = function func() {};
28
- var Default = exports.Default = function Default() {
29
- return /*#__PURE__*/_react["default"].createElement(_.Upload, _extends({
30
- status: state.status,
31
- progress: state.progress,
32
- message: state.message,
33
- loader: /*#__PURE__*/_react["default"].createElement("div", null, "\u041A\u0430\u0441\u0442\u043E\u043C\u043D\u0430\u044F \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 ", state.progress, "%"),
34
- onChange: func,
35
- onValidation: func,
36
- validate: valid
37
- }, defaultProps));
38
- };
@@ -1,24 +1,22 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- Object.defineProperty(exports, "Upload", {
7
- enumerable: true,
8
- get: function get() {
9
- return _plasmaHope.Upload;
10
- }
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 Upload () {
13
+ return _plasmahope.Upload;
14
+ },
15
+ get UploadProgress () {
16
+ return _plasmahope.UploadProgress;
17
+ },
18
+ get defaultValidate () {
19
+ return _plasmahope.defaultValidate;
20
+ }
11
21
  });
12
- Object.defineProperty(exports, "UploadProgress", {
13
- enumerable: true,
14
- get: function get() {
15
- return _plasmaHope.UploadProgress;
16
- }
17
- });
18
- Object.defineProperty(exports, "defaultValidate", {
19
- enumerable: true,
20
- get: function get() {
21
- return _plasmaHope.defaultValidate;
22
- }
23
- });
24
- var _plasmaHope = /*#__PURE__*/require("@salutejs/plasma-hope");
22
+ var _plasmahope = require("@salutejs/plasma-hope");
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
5
  Object.defineProperty(exports, "UploadAudio", {
7
- enumerable: true,
8
- get: function get() {
9
- return _plasmaHope.UploadAudio;
10
- }
6
+ enumerable: true,
7
+ get: function() {
8
+ return _plasmahope.UploadAudio;
9
+ }
11
10
  });
12
- var _plasmaHope = /*#__PURE__*/require("@salutejs/plasma-hope");
11
+ var _plasmahope = require("@salutejs/plasma-hope");
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
5
  Object.defineProperty(exports, "UploadVisual", {
7
- enumerable: true,
8
- get: function get() {
9
- return _plasmaHope.UploadVisual;
10
- }
6
+ enumerable: true,
7
+ get: function() {
8
+ return _plasmahope.UploadVisual;
9
+ }
11
10
  });
12
- var _plasmaHope = /*#__PURE__*/require("@salutejs/plasma-hope");
11
+ var _plasmahope = require("@salutejs/plasma-hope");
@@ -1,4 +1,4 @@
1
- require('./Carousel.config_1r461vi.css');
1
+ require('./Carousel.config_uusoxc.css');
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n `,\n },\n size: {\n s: css``,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAIV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AACL,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n ${tokens.controlIconButtonColor}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.controlIconButtonColorHover}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.controlIconButtonColorActive}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n `,\n },\n size: {\n s: css`\n ${tokens.controlIconButtonRadius}: 100%;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAUV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAGL,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1,2 @@
1
+ .dv63qpm{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
2
+ .s13btmod{--plasma-carousel-control-icon-button-radius:100%;}
@@ -1,2 +1,2 @@
1
- .Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
2
-
1
+ .Carousel_config_uusoxc_dv63qpm__af6cec3a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
2
+ .Carousel_config_uusoxc_s13btmod__af6cec3a{--plasma-carousel-control-icon-button-radius:100%;}
@@ -15,7 +15,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
15
15
  var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.carouselNewConfig, Carousel_config.config);
16
16
  var CarouselNew = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
17
17
  var CarouselComponent = function CarouselComponent(props, ref) {
18
- if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
18
+ if (typeof props.index === 'number') {
19
19
  return /*#__PURE__*/React__default.default.createElement(Carousel$1.CarouselOld, _rollupPluginBabelHelpers.extends({
20
20
  ref: ref
21
21
  }, props));
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number' && !Number.isNaN(props.index)) {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","Number","isNaN","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;;;;;;;;;AAYA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,IAAI,CAACC,MAAM,CAACC,KAAK,CAACJ,KAAK,CAACE,KAAK,CAAC,EAAE;AAC/D,IAAA,oBAAOG,sBAAA,CAAAC,aAAA,CAACC,sBAAW,EAAAC,iCAAA,CAAA;AAACP,MAAAA,GAAG,EAAEA,GAAAA;KAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,GAAA;AAEA,EAAA,oBAAOK,sBAAA,CAAAC,aAAA,CAACT,WAAW,EAAAW,iCAAA,CAAA;AAACP,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMS,QAAQ,gBAAGC,6BAAe,CAACX,iBAAiB;;;;"}
1
+ {"version":3,"file":"Carousel.js","sources":["../../../../src-css/components/Carousel/Carousel.tsx"],"sourcesContent":["import {\n carouselNewConfig,\n component,\n mergeConfig,\n fixedForwardRef,\n} from '@salutejs/plasma-new-hope';\nimport type { ComponentProps } from 'react';\nimport React from 'react';\n\nimport { CarouselOld } from './Legacy/Carousel';\nimport { config } from './Carousel.config';\n\nconst mergedConfig = mergeConfig(carouselNewConfig, config);\nconst CarouselNew = component(mergedConfig);\n\ntype PropsOld = ComponentProps<typeof CarouselOld>;\n\ntype PropsNew = ComponentProps<typeof CarouselNew> & { index?: never };\n\ntype CarouselProps = PropsOld | PropsNew;\n\nconst CarouselComponent = (props: CarouselProps, ref: React.ForwardedRef<HTMLInputElement>) => {\n if (typeof props.index === 'number') {\n return <CarouselOld ref={ref} {...props} />;\n }\n\n return <CarouselNew ref={ref} {...props} />;\n};\n\nconst Carousel = fixedForwardRef(CarouselComponent);\n\nexport { Carousel };\nexport type { CarouselProps };\n"],"names":["mergedConfig","mergeConfig","carouselNewConfig","config","CarouselNew","component","CarouselComponent","props","ref","index","React","createElement","CarouselOld","_extends","Carousel","fixedForwardRef"],"mappings":";;;;;;;;;;;;;;AAYA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,sBAAM,CAAC,CAAA;AAC3D,IAAMC,WAAW,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;AAQ3C,IAAMM,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,KAAoB,EAAEC,GAAyC,EAAK;AAC3F,EAAA,IAAI,OAAOD,KAAK,CAACE,KAAK,KAAK,QAAQ,EAAE;AACjC,IAAA,oBAAOC,sBAAA,CAAAC,aAAA,CAACC,sBAAW,EAAAC,iCAAA,CAAA;AAACL,MAAAA,GAAG,EAAEA,GAAAA;KAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,GAAA;AAEA,EAAA,oBAAOG,sBAAA,CAAAC,aAAA,CAACP,WAAW,EAAAS,iCAAA,CAAA;AAACL,IAAAA,GAAG,EAAEA,GAAAA;GAASD,EAAAA,KAAK,CAAG,CAAC,CAAA;AAC/C,CAAC,CAAA;AAED,IAAMO,QAAQ,gBAAGC,6BAAe,CAACT,iBAAiB;;;;"}
package/css/cjs/index.css CHANGED
@@ -162,8 +162,8 @@
162
162
  .CalendarDouble_config_ysgolw_sn1q98q__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:17rem;--plasma-calendar-years-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-year-item-border-radius:0.5rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-quarters-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-quarter-item-border-radius:0.5rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-months-padding:0.5rem 0.5rem 0 0.5rem;--plasma-calendar-month-item-border-radius:0.5rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-day-item-border-radius:0.5rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-s-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-s-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-s-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-s-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-s-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0.5rem;--plasma-calendar-days-padding:0.5rem 0 0 0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h4-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h4-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h4-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h4-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h4-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h4-bold-font-weight);--plasma-calendar-icon-button-height:2.5rem;--plasma-calendar-icon-button-width:2.5rem;--plasma-calendar-icon-button-padding:1rem;--plasma-calendar-icon-button-radius:0.625rem;}
163
163
  .CalendarDouble_config_ysgolw_x1nri09h__d157eba5{--plasma-calendar-container-width:37.063rem;--plasma-calendar-container-height:15.5rem;--plasma-calendar-years-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-year-item-border-radius:0.375rem;--plasma-calendar-year-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-year-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-year-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-year-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-year-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-year-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-year-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-quarters-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-quarter-item-border-radius:0.375rem;--plasma-calendar-quarter-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-quarter-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-quarter-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-quarter-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-quarter-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-quarter-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-quarter-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-months-padding:0.375rem 0.25rem 0 0.25rem;--plasma-calendar-month-item-border-radius:0.375rem;--plasma-calendar-month-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-month-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-month-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-month-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-month-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-month-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-month-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-days-padding:0.375rem 0 0 0;--plasma-calendar-day-item-border-radius:0.375rem;--plasma-calendar-day-font-family:var(--plasma-typo-body-xs-font-family);--plasma-calendar-day-font-size:var(--plasma-typo-body-xs-font-size);--plasma-calendar-day-font-style:var(--plasma-typo-body-xs-font-style);--plasma-calendar-day-font-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-calendar-day-line-height:var(--plasma-typo-body-xs-line-height);--plasma-calendar-day-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-calendar-day-selected-font-weight:var(--plasma-typo-body-xs-bold-font-weight);--plasma-calendar-current-item-border-width:0.063rem;--plasma-calendar-arrow-container-gap:0;--plasma-calendar-header-padding:0 0 0 0.5rem;--plasma-calendar-header-date-gap:0.25rem;--plasma-calendar-header-font-family:var(--plasma-typo-h5-font-family);--plasma-calendar-header-font-size:var(--plasma-typo-h5-font-size);--plasma-calendar-header-font-style:var(--plasma-typo-h5-font-style);--plasma-calendar-header-font-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-calendar-header-line-height:var(--plasma-typo-h5-line-height);--plasma-calendar-header-font-weight:var(--plasma-typo-h5-font-weight);--plasma-calendar-header-font-weight-bold:var(--plasma-typo-h5-bold-font-weight);--plasma-calendar-icon-button-height:2rem;--plasma-calendar-icon-button-width:2rem;--plasma-calendar-icon-button-padding:0.75rem;--plasma-calendar-icon-button-radius:0.5rem;}
164
164
 
165
- .Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
166
-
165
+ .Carousel_config_uusoxc_dv63qpm__af6cec3a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
166
+ .Carousel_config_uusoxc_s13btmod__af6cec3a{--plasma-carousel-control-icon-button-radius:100%;}
167
167
 
168
168
  .Cell_config_iu83fc_d1r8c7fn__e648e65f{--plasma-cell-color:var(--text-primary);--plasma-cell-label-color:var(--text-secondary);--plasma-cell-title-color:var(--text-primary);--plasma-cell-subtitle-color:var(--text-secondary);--plasma-cell-background-color:transparent;}
169
169
  .Cell_config_iu83fc_ljpyikk__e648e65f{--plasma-cell-width:15rem;--plasma-cell-padding:0rem;--plasma-cell-padding-left-content:0rem;--plasma-cell-padding-content:0rem;--plasma-cell-padding-right-content:0rem;--plasma-cell-textbox-gap:0.125rem;--plasma-cell-gap:0.375rem;--plasma-cell-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-cell-title-font-family:var(--plasma-typo-body-l-font-family);--plasma-cell-title-font-size:var(--plasma-typo-body-l-font-size);--plasma-cell-title-font-style:var(--plasma-typo-body-l-font-style);--plasma-cell-title-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-cell-title-line-height:var(--plasma-typo-body-l-line-height);--plasma-cell-subtitle-font-family:var(--plasma-typo-body-m-font-family);--plasma-cell-subtitle-font-size:var(--plasma-typo-body-m-font-size);--plasma-cell-subtitle-font-style:var(--plasma-typo-body-m-font-style);--plasma-cell-subtitle-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-cell-subtitle-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-cell-subtitle-line-height:var(--plasma-typo-body-m-line-height);}
@@ -1,4 +1,4 @@
1
- import './Carousel.config_1r461vi.css';
1
+ import './Carousel.config_uusoxc.css';
2
2
  var config = {
3
3
  defaults: {
4
4
  view: 'default',
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n `,\n },\n size: {\n s: css``,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAIV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AACL,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Carousel.config.js","sources":["../../../../src-css/components/Carousel/Carousel.config.ts"],"sourcesContent":["import { css, carouselNewTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 's',\n },\n variations: {\n view: {\n default: css`\n ${tokens.paginationDotBackground}: var(--surface-transparent-tertiary);\n ${tokens.paginationDotActiveBackground}: var(--surface-solid-default);\n ${tokens.controlIconButtonColor}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.controlIconButtonColorHover}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.controlIconButtonColorActive}: var(--text-primary);\n ${tokens.controlIconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n `,\n },\n size: {\n s: css`\n ${tokens.controlIconButtonRadius}: 100%;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","s"],"mappings":"AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;MACFG,SAAO,EAAA,SAAA;KAUV;AACDF,IAAAA,IAAI,EAAE;AACFG,MAAAA,CAAC,EAAA,UAAA;AAGL,KAAA;AACJ,GAAA;AACJ;;;;"}
@@ -0,0 +1,2 @@
1
+ .dv63qpm{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
2
+ .s13btmod{--plasma-carousel-control-icon-button-radius:100%;}
@@ -1,2 +1,2 @@
1
- .Carousel_config_1r461vi_dv63qpm__2a4ae68a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);}
2
-
1
+ .Carousel_config_uusoxc_dv63qpm__af6cec3a{--plasma-carousel-pagination-dot-background:var(--surface-transparent-tertiary);--plasma-carousel-pagination-dot-active-background:var(--surface-solid-default);--plasma-carousel-control-icon-button-color:var(--text-primary);--plasma-carousel-control-icon-button-background-color:var(--surface-transparent-secondary);--plasma-carousel-control-icon-button-color-hover:var(--text-primary);--plasma-carousel-control-icon-button-background-color-hover:var(--surface-transparent-secondary-hover);--plasma-carousel-control-icon-button-color-active:var(--text-primary);--plasma-carousel-control-icon-button-background-color-active:var(--surface-transparent-secondary-active);}
2
+ .Carousel_config_uusoxc_s13btmod__af6cec3a{--plasma-carousel-control-icon-button-radius:100%;}
@@ -7,7 +7,7 @@ import { config } from './Carousel.config.js';
7
7
  var mergedConfig = /*#__PURE__*/mergeConfig(carouselNewConfig, config);
8
8
  var CarouselNew = /*#__PURE__*/component(mergedConfig);
9
9
  var CarouselComponent = function CarouselComponent(props, ref) {
10
- if (typeof props.index === 'number' && !Number.isNaN(props.index)) {
10
+ if (typeof props.index === 'number') {
11
11
  return /*#__PURE__*/React.createElement(CarouselOld, _extends({
12
12
  ref: ref
13
13
  }, props));