@salutejs/sdds-serv 0.330.0-canary.2362.19765218937.0 → 0.330.0-canary.2362.19924292775.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 (370) hide show
  1. package/README.mdx +1 -1
  2. package/components/Accordion/Accordion.config.js.map +1 -1
  3. package/components/Accordion/Accordion.js +1 -1
  4. package/components/Accordion/Accordion.js.map +1 -1
  5. package/components/Attach/Attach.config.js.map +1 -1
  6. package/components/Attach/Attach.js.map +1 -1
  7. package/components/Autocomplete/Autocomplete.config.js.map +1 -1
  8. package/components/Autocomplete/Autocomplete.js.map +1 -1
  9. package/components/Avatar/Avatar.config.js.map +1 -1
  10. package/components/Avatar/Avatar.js.map +1 -1
  11. package/components/AvatarGroup/AvatarGroup.js.map +1 -1
  12. package/components/Badge/Badge.config.js.map +1 -1
  13. package/components/Badge/Badge.js.map +1 -1
  14. package/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
  15. package/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  16. package/components/Button/Button.config.js.map +1 -1
  17. package/components/Button/Button.js.map +1 -1
  18. package/components/ButtonGroup/ButtonGroup.config.js.map +1 -1
  19. package/components/ButtonGroup/ButtonGroup.js.map +1 -1
  20. package/components/Calendar/Calendar.js.map +1 -1
  21. package/components/Calendar/CalendarBase.config.js.map +1 -1
  22. package/components/Calendar/CalendarDouble.config.js.map +1 -1
  23. package/components/Card/Card.config.js.map +1 -1
  24. package/components/Card/Card.js +2 -2
  25. package/components/Card/Card.js.map +1 -1
  26. package/components/Carousel/Carousel.config.js.map +1 -1
  27. package/components/Carousel/Carousel.js.map +1 -1
  28. package/components/Cell/Cell.config.js.map +1 -1
  29. package/components/Cell/Cell.js.map +1 -1
  30. package/components/Checkbox/Checkbox.config.js.map +1 -1
  31. package/components/Checkbox/Checkbox.js.map +1 -1
  32. package/components/Chip/Chip.config.js.map +1 -1
  33. package/components/Chip/Chip.js.map +1 -1
  34. package/components/ChipGroup/ChipGroup.config.js.map +1 -1
  35. package/components/ChipGroup/ChipGroup.js.map +1 -1
  36. package/components/CodeField/CodeField.config.js.map +1 -1
  37. package/components/CodeField/CodeField.js.map +1 -1
  38. package/components/CodeInput/CodeInput.config.js.map +1 -1
  39. package/components/CodeInput/CodeInput.js.map +1 -1
  40. package/components/Combobox/Combobox.config.js.map +1 -1
  41. package/components/Combobox/Combobox.d.ts +24 -0
  42. package/components/Combobox/Combobox.js.map +1 -1
  43. package/components/Counter/Counter.config.js.map +1 -1
  44. package/components/Counter/Counter.js.map +1 -1
  45. package/components/DatePicker/DatePicker.config.js.map +1 -1
  46. package/components/DatePicker/DatePicker.js.map +1 -1
  47. package/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  48. package/components/DateTimePicker/DateTimePicker.js.map +1 -1
  49. package/components/Divider/Divider.config.js.map +1 -1
  50. package/components/Divider/Divider.js.map +1 -1
  51. package/components/Drawer/Drawer.config.js.map +1 -1
  52. package/components/Drawer/Drawer.js.map +1 -1
  53. package/components/Dropdown/Dropdown.config.js.map +1 -1
  54. package/components/Dropdown/Dropdown.js.map +1 -1
  55. package/components/Dropzone/Dropzone.config.js.map +1 -1
  56. package/components/Dropzone/Dropzone.js.map +1 -1
  57. package/components/EmbedIconButton/EmbedIconButton.config.js.map +1 -1
  58. package/components/EmbedIconButton/EmbedIconButton.js.map +1 -1
  59. package/components/EmptyState/EmptyState.config.js.map +1 -1
  60. package/components/EmptyState/EmptyState.js.map +1 -1
  61. package/components/Flow/Flow.config.js.map +1 -1
  62. package/components/Flow/Flow.js.map +1 -1
  63. package/components/Grid/Grid.config.js.map +1 -1
  64. package/components/Grid/Grid.js +2 -2
  65. package/components/Grid/Grid.js.map +1 -1
  66. package/components/IconButton/IconButton.config.js.map +1 -1
  67. package/components/IconButton/IconButton.js.map +1 -1
  68. package/components/Image/Image.js.map +1 -1
  69. package/components/Indicator/Indicator.config.js.map +1 -1
  70. package/components/Indicator/Indicator.js.map +1 -1
  71. package/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  72. package/components/InformationWrapper/InformationWrapper.js.map +1 -1
  73. package/components/Link/Link.config.js.map +1 -1
  74. package/components/Link/Link.js.map +1 -1
  75. package/components/LinkButton/LinkButton.config.js.map +1 -1
  76. package/components/LinkButton/LinkButton.js.map +1 -1
  77. package/components/List/List.config.js.map +1 -1
  78. package/components/List/List.js.map +1 -1
  79. package/components/Loader/Loader.config.js.map +1 -1
  80. package/components/Loader/Loader.js.map +1 -1
  81. package/components/Mask/Mask.css +43 -21
  82. package/components/Mask/Mask.d.ts +17 -33
  83. package/components/Modal/Modal.config.js.map +1 -1
  84. package/components/Modal/Modal.js.map +1 -1
  85. package/components/Note/Note.config.js.map +1 -1
  86. package/components/Note/Note.js.map +1 -1
  87. package/components/Notification/Notification.config.js.map +1 -1
  88. package/components/Notification/Notification.js.map +1 -1
  89. package/components/NumberInput/NumberInput.config.js.map +1 -1
  90. package/components/NumberInput/NumberInput.js.map +1 -1
  91. package/components/Pagination/Pagination.config.js.map +1 -1
  92. package/components/Pagination/Pagination.js.map +1 -1
  93. package/components/Popover/Popover.config.js.map +1 -1
  94. package/components/Popover/Popover.js.map +1 -1
  95. package/components/Popup/Popup.js.map +1 -1
  96. package/components/Price/Price.config.js.map +1 -1
  97. package/components/Price/Price.js.map +1 -1
  98. package/components/Progress/Progress.config.js.map +1 -1
  99. package/components/Progress/Progress.js.map +1 -1
  100. package/components/ProgressBarCircular/ProgressBarCircular.config.js.map +1 -1
  101. package/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
  102. package/components/Radiobox/Radiobox.config.js.map +1 -1
  103. package/components/Radiobox/Radiobox.d.ts +2 -2
  104. package/components/Radiobox/Radiobox.js +1 -1
  105. package/components/Radiobox/Radiobox.js.map +1 -1
  106. package/components/Range/Range.config.js.map +1 -1
  107. package/components/Range/Range.js.map +1 -1
  108. package/components/Rating/Rating.config.js.map +1 -1
  109. package/components/Rating/Rating.js.map +1 -1
  110. package/components/Segment/Segment.js +2 -2
  111. package/components/Segment/Segment.js.map +1 -1
  112. package/components/Segment/SegmentGroup.config.js.map +1 -1
  113. package/components/Segment/SegmentItem.config.js.map +1 -1
  114. package/components/Select/Select.config.js.map +1 -1
  115. package/components/Select/Select.js.map +1 -1
  116. package/components/Sheet/Sheet.config.js.map +1 -1
  117. package/components/Sheet/Sheet.js.map +1 -1
  118. package/components/Skeleton/LineSkeleton.config.js.map +1 -1
  119. package/components/Skeleton/Skeleton.js +2 -2
  120. package/components/Skeleton/Skeleton.js.map +1 -1
  121. package/components/Slider/Slider.config.js.map +1 -1
  122. package/components/Slider/Slider.js.map +1 -1
  123. package/components/Spinner/Spinner.config.js.map +1 -1
  124. package/components/Spinner/Spinner.js.map +1 -1
  125. package/components/Steps/Steps.config.js.map +1 -1
  126. package/components/Steps/Steps.js.map +1 -1
  127. package/components/Switch/Switch.config.js.map +1 -1
  128. package/components/Switch/Switch.js.map +1 -1
  129. package/components/Table/Table.config.js.map +1 -1
  130. package/components/Table/Table.js.map +1 -1
  131. package/components/Tabs/TabItem.js.map +1 -1
  132. package/components/Tabs/Tabs.js.map +1 -1
  133. package/components/Tabs/TabsController.js.map +1 -1
  134. package/components/Tabs/horizontal/HorizontalIconTabItem.config.js.map +1 -1
  135. package/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
  136. package/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -1
  137. package/components/Tabs/vertical/VerticalIconTabItem.config.js.map +1 -1
  138. package/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
  139. package/components/Tabs/vertical/VerticalTabs.config.js.map +1 -1
  140. package/components/TextArea/TextArea.config.js.map +1 -1
  141. package/components/TextArea/TextArea.js.map +1 -1
  142. package/components/TextField/TextField.clear.config.d.ts +47 -0
  143. package/components/TextField/TextField.clear.config.js +55 -0
  144. package/components/TextField/TextField.clear.config.js.map +1 -0
  145. package/components/TextField/TextField.clear.config_hts9jh.css +22 -0
  146. package/components/TextField/TextField.config.d.ts +0 -4
  147. package/components/TextField/TextField.config.js +13 -17
  148. package/components/TextField/TextField.config.js.map +1 -1
  149. package/components/TextField/TextField.config_c4zz6m.css +22 -0
  150. package/components/TextField/TextField.d.ts +970 -7
  151. package/components/TextField/TextField.js +14 -6
  152. package/components/TextField/TextField.js.map +1 -1
  153. package/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
  154. package/components/TextFieldGroup/TextFieldGroup.js.map +1 -1
  155. package/components/TimePicker/TimePicker.config.js.map +1 -1
  156. package/components/TimePicker/TimePicker.js.map +1 -1
  157. package/components/Toast/Toast.config.js.map +1 -1
  158. package/components/Toast/Toast.js +1 -1
  159. package/components/Toast/Toast.js.map +1 -1
  160. package/components/Toolbar/Toolbar.config.js.map +1 -1
  161. package/components/Toolbar/Toolbar.js.map +1 -1
  162. package/components/Tooltip/Tooltip.config.js.map +1 -1
  163. package/components/Tooltip/Tooltip.js.map +1 -1
  164. package/components/Tour/Tour.config.js.map +1 -1
  165. package/components/Tour/Tour.js.map +1 -1
  166. package/components/Tree/Tree.config.js +1 -1
  167. package/components/Tree/Tree.config.js.map +1 -1
  168. package/components/Tree/Tree.config_ifudaq.css +5 -0
  169. package/components/Tree/Tree.css +5 -5
  170. package/components/Tree/Tree.js.map +1 -1
  171. package/components/Typography/Body.config.js.map +1 -1
  172. package/components/Typography/Dspl.config.js.map +1 -1
  173. package/components/Typography/Heading.config.js.map +1 -1
  174. package/components/Typography/Text.config.js.map +1 -1
  175. package/components/Typography/Typography.js.map +1 -1
  176. package/components/ViewContainer/ViewContainer.config.js.map +1 -1
  177. package/components/ViewContainer/ViewContainer.js.map +1 -1
  178. package/emotion/cjs/components/TextField/TextField.clear.config.js +831 -0
  179. package/emotion/cjs/components/TextField/TextField.config.js +56 -102
  180. package/emotion/cjs/components/TextField/TextField.js +28 -5
  181. package/emotion/cjs/components/Tree/Tree.config.js +34 -10
  182. package/emotion/es/components/TextField/TextField.clear.config.js +821 -0
  183. package/emotion/es/components/TextField/TextField.config.js +56 -102
  184. package/emotion/es/components/TextField/TextField.js +15 -5
  185. package/emotion/es/components/Tree/Tree.config.js +34 -10
  186. package/es/components/Accordion/Accordion.config.js.map +1 -1
  187. package/es/components/Accordion/Accordion.js.map +1 -1
  188. package/es/components/Attach/Attach.config.js.map +1 -1
  189. package/es/components/Attach/Attach.js.map +1 -1
  190. package/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
  191. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  192. package/es/components/Avatar/Avatar.config.js.map +1 -1
  193. package/es/components/Avatar/Avatar.js.map +1 -1
  194. package/es/components/AvatarGroup/AvatarGroup.js.map +1 -1
  195. package/es/components/Badge/Badge.config.js.map +1 -1
  196. package/es/components/Badge/Badge.js.map +1 -1
  197. package/es/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
  198. package/es/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
  199. package/es/components/Button/Button.config.js.map +1 -1
  200. package/es/components/Button/Button.js.map +1 -1
  201. package/es/components/ButtonGroup/ButtonGroup.config.js.map +1 -1
  202. package/es/components/ButtonGroup/ButtonGroup.js.map +1 -1
  203. package/es/components/Calendar/Calendar.js +1 -1
  204. package/es/components/Calendar/Calendar.js.map +1 -1
  205. package/es/components/Calendar/CalendarBase.config.js.map +1 -1
  206. package/es/components/Calendar/CalendarDouble.config.js.map +1 -1
  207. package/es/components/Card/Card.config.js.map +1 -1
  208. package/es/components/Card/Card.js.map +1 -1
  209. package/es/components/Carousel/Carousel.config.js.map +1 -1
  210. package/es/components/Carousel/Carousel.js.map +1 -1
  211. package/es/components/Cell/Cell.config.js.map +1 -1
  212. package/es/components/Cell/Cell.js.map +1 -1
  213. package/es/components/Checkbox/Checkbox.config.js.map +1 -1
  214. package/es/components/Checkbox/Checkbox.js.map +1 -1
  215. package/es/components/Chip/Chip.config.js.map +1 -1
  216. package/es/components/Chip/Chip.js.map +1 -1
  217. package/es/components/ChipGroup/ChipGroup.config.js.map +1 -1
  218. package/es/components/ChipGroup/ChipGroup.js.map +1 -1
  219. package/es/components/CodeField/CodeField.config.js.map +1 -1
  220. package/es/components/CodeField/CodeField.js.map +1 -1
  221. package/es/components/CodeInput/CodeInput.config.js.map +1 -1
  222. package/es/components/CodeInput/CodeInput.js.map +1 -1
  223. package/es/components/Combobox/Combobox.config.js.map +1 -1
  224. package/es/components/Combobox/Combobox.js.map +1 -1
  225. package/es/components/Counter/Counter.config.js.map +1 -1
  226. package/es/components/Counter/Counter.js.map +1 -1
  227. package/es/components/DatePicker/DatePicker.config.js.map +1 -1
  228. package/es/components/DatePicker/DatePicker.js.map +1 -1
  229. package/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
  230. package/es/components/DateTimePicker/DateTimePicker.js.map +1 -1
  231. package/es/components/Divider/Divider.config.js.map +1 -1
  232. package/es/components/Divider/Divider.js.map +1 -1
  233. package/es/components/Drawer/Drawer.config.js.map +1 -1
  234. package/es/components/Drawer/Drawer.js +1 -1
  235. package/es/components/Drawer/Drawer.js.map +1 -1
  236. package/es/components/Dropdown/Dropdown.config.js.map +1 -1
  237. package/es/components/Dropdown/Dropdown.js.map +1 -1
  238. package/es/components/Dropzone/Dropzone.config.js.map +1 -1
  239. package/es/components/Dropzone/Dropzone.js.map +1 -1
  240. package/es/components/EmbedIconButton/EmbedIconButton.config.js.map +1 -1
  241. package/es/components/EmbedIconButton/EmbedIconButton.js.map +1 -1
  242. package/es/components/EmptyState/EmptyState.config.js.map +1 -1
  243. package/es/components/EmptyState/EmptyState.js.map +1 -1
  244. package/es/components/Flow/Flow.config.js.map +1 -1
  245. package/es/components/Flow/Flow.js.map +1 -1
  246. package/es/components/Grid/Grid.config.js.map +1 -1
  247. package/es/components/Grid/Grid.js.map +1 -1
  248. package/es/components/IconButton/IconButton.config.js.map +1 -1
  249. package/es/components/IconButton/IconButton.js.map +1 -1
  250. package/es/components/Image/Image.js.map +1 -1
  251. package/es/components/Indicator/Indicator.config.js.map +1 -1
  252. package/es/components/Indicator/Indicator.js.map +1 -1
  253. package/es/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
  254. package/es/components/InformationWrapper/InformationWrapper.js.map +1 -1
  255. package/es/components/Link/Link.config.js.map +1 -1
  256. package/es/components/Link/Link.js.map +1 -1
  257. package/es/components/LinkButton/LinkButton.config.js.map +1 -1
  258. package/es/components/LinkButton/LinkButton.js.map +1 -1
  259. package/es/components/List/List.config.js.map +1 -1
  260. package/es/components/List/List.js.map +1 -1
  261. package/es/components/Loader/Loader.config.js.map +1 -1
  262. package/es/components/Loader/Loader.js.map +1 -1
  263. package/es/components/Mask/Mask.css +43 -21
  264. package/es/components/Modal/Modal.config.js.map +1 -1
  265. package/es/components/Modal/Modal.js.map +1 -1
  266. package/es/components/Note/Note.config.js.map +1 -1
  267. package/es/components/Note/Note.js.map +1 -1
  268. package/es/components/Notification/Notification.config.js.map +1 -1
  269. package/es/components/Notification/Notification.js +1 -1
  270. package/es/components/Notification/Notification.js.map +1 -1
  271. package/es/components/NumberInput/NumberInput.config.js.map +1 -1
  272. package/es/components/NumberInput/NumberInput.js.map +1 -1
  273. package/es/components/Pagination/Pagination.config.js.map +1 -1
  274. package/es/components/Pagination/Pagination.js.map +1 -1
  275. package/es/components/Popover/Popover.config.js.map +1 -1
  276. package/es/components/Popover/Popover.js.map +1 -1
  277. package/es/components/Popup/Popup.js.map +1 -1
  278. package/es/components/Price/Price.config.js.map +1 -1
  279. package/es/components/Price/Price.js.map +1 -1
  280. package/es/components/Progress/Progress.config.js.map +1 -1
  281. package/es/components/Progress/Progress.js.map +1 -1
  282. package/es/components/ProgressBarCircular/ProgressBarCircular.config.js.map +1 -1
  283. package/es/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
  284. package/es/components/Radiobox/Radiobox.config.js.map +1 -1
  285. package/es/components/Radiobox/Radiobox.js.map +1 -1
  286. package/es/components/Range/Range.config.js.map +1 -1
  287. package/es/components/Range/Range.js.map +1 -1
  288. package/es/components/Rating/Rating.config.js.map +1 -1
  289. package/es/components/Rating/Rating.js.map +1 -1
  290. package/es/components/Segment/Segment.js.map +1 -1
  291. package/es/components/Segment/SegmentGroup.config.js.map +1 -1
  292. package/es/components/Segment/SegmentItem.config.js.map +1 -1
  293. package/es/components/Select/Select.config.js.map +1 -1
  294. package/es/components/Select/Select.js.map +1 -1
  295. package/es/components/Sheet/Sheet.config.js.map +1 -1
  296. package/es/components/Sheet/Sheet.js.map +1 -1
  297. package/es/components/Skeleton/LineSkeleton.config.js.map +1 -1
  298. package/es/components/Skeleton/Skeleton.js.map +1 -1
  299. package/es/components/Slider/Slider.config.js.map +1 -1
  300. package/es/components/Slider/Slider.js.map +1 -1
  301. package/es/components/Spinner/Spinner.config.js.map +1 -1
  302. package/es/components/Spinner/Spinner.js.map +1 -1
  303. package/es/components/Steps/Steps.config.js.map +1 -1
  304. package/es/components/Steps/Steps.js.map +1 -1
  305. package/es/components/Switch/Switch.config.js.map +1 -1
  306. package/es/components/Switch/Switch.js.map +1 -1
  307. package/es/components/Table/Table.config.js.map +1 -1
  308. package/es/components/Table/Table.js.map +1 -1
  309. package/es/components/Tabs/TabItem.js +9 -9
  310. package/es/components/Tabs/TabItem.js.map +1 -1
  311. package/es/components/Tabs/Tabs.js +5 -5
  312. package/es/components/Tabs/Tabs.js.map +1 -1
  313. package/es/components/Tabs/TabsController.js.map +1 -1
  314. package/es/components/Tabs/horizontal/HorizontalIconTabItem.config.js.map +1 -1
  315. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
  316. package/es/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -1
  317. package/es/components/Tabs/vertical/VerticalIconTabItem.config.js.map +1 -1
  318. package/es/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
  319. package/es/components/Tabs/vertical/VerticalTabs.config.js.map +1 -1
  320. package/es/components/TextArea/TextArea.config.js.map +1 -1
  321. package/es/components/TextArea/TextArea.js.map +1 -1
  322. package/es/components/TextField/TextField.clear.config.js +51 -0
  323. package/es/components/TextField/TextField.clear.config.js.map +1 -0
  324. package/es/components/TextField/TextField.clear.config_hts9jh.css +22 -0
  325. package/es/components/TextField/TextField.config.js +13 -17
  326. package/es/components/TextField/TextField.config.js.map +1 -1
  327. package/es/components/TextField/TextField.config_c4zz6m.css +22 -0
  328. package/es/components/TextField/TextField.js +14 -8
  329. package/es/components/TextField/TextField.js.map +1 -1
  330. package/es/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
  331. package/es/components/TextFieldGroup/TextFieldGroup.js.map +1 -1
  332. package/es/components/TimePicker/TimePicker.config.js.map +1 -1
  333. package/es/components/TimePicker/TimePicker.js.map +1 -1
  334. package/es/components/Toast/Toast.config.js.map +1 -1
  335. package/es/components/Toast/Toast.js +1 -1
  336. package/es/components/Toast/Toast.js.map +1 -1
  337. package/es/components/Toolbar/Toolbar.config.js.map +1 -1
  338. package/es/components/Toolbar/Toolbar.js.map +1 -1
  339. package/es/components/Tooltip/Tooltip.config.js.map +1 -1
  340. package/es/components/Tooltip/Tooltip.js.map +1 -1
  341. package/es/components/Tour/Tour.config.js.map +1 -1
  342. package/es/components/Tour/Tour.js.map +1 -1
  343. package/es/components/Tree/Tree.config.js +1 -1
  344. package/es/components/Tree/Tree.config.js.map +1 -1
  345. package/es/components/Tree/Tree.config_ifudaq.css +5 -0
  346. package/es/components/Tree/Tree.css +5 -5
  347. package/es/components/Tree/Tree.js.map +1 -1
  348. package/es/components/Typography/Body.config.js.map +1 -1
  349. package/es/components/Typography/Dspl.config.js.map +1 -1
  350. package/es/components/Typography/Heading.config.js.map +1 -1
  351. package/es/components/Typography/Text.config.js.map +1 -1
  352. package/es/components/Typography/Typography.js +3 -3
  353. package/es/components/Typography/Typography.js.map +1 -1
  354. package/es/components/ViewContainer/ViewContainer.config.js.map +1 -1
  355. package/es/components/ViewContainer/ViewContainer.js.map +1 -1
  356. package/es/index.css +50 -28
  357. package/index.js +58 -58
  358. package/package.json +8 -17
  359. package/styled-components/cjs/components/TextField/TextField.clear.config.js +831 -0
  360. package/styled-components/cjs/components/TextField/TextField.config.js +56 -102
  361. package/styled-components/cjs/components/TextField/TextField.js +28 -5
  362. package/styled-components/cjs/components/Tree/Tree.config.js +34 -10
  363. package/styled-components/es/components/TextField/TextField.clear.config.js +821 -0
  364. package/styled-components/es/components/TextField/TextField.config.js +56 -102
  365. package/styled-components/es/components/TextField/TextField.js +15 -5
  366. package/styled-components/es/components/Tree/Tree.config.js +34 -10
  367. package/components/TextField/TextField.config_15il1op.css +0 -23
  368. package/components/Tree/Tree.config_19lfyoo.css +0 -5
  369. package/es/components/TextField/TextField.config_15il1op.css +0 -23
  370. package/es/components/Tree/Tree.config_19lfyoo.css +0 -5
@@ -1,4 +1,4 @@
1
- export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
1
+ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
2
  view: {
3
3
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
4
4
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -16,9 +16,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
16
16
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
17
17
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
18
  };
19
- clear: {
20
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
21
- };
22
19
  chipView: {
23
20
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
21
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -41,6 +38,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
41
38
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
42
39
  };
43
40
  }> & {
41
+ appearance?: "default" | "clear";
44
42
  size?: string;
45
43
  view?: string;
46
44
  readOnly?: boolean;
@@ -76,7 +74,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
76
74
  chipType?: never;
77
75
  chipView?: never;
78
76
  chipValidator?: never;
79
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
77
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
80
78
  view: {
81
79
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
82
80
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -94,9 +92,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
94
92
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
95
93
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
96
94
  };
97
- clear: {
98
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
99
- };
100
95
  chipView: {
101
96
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
102
97
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -119,6 +114,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
119
114
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
120
115
  };
121
116
  }> & {
117
+ appearance?: "default" | "clear";
122
118
  size?: string;
123
119
  view?: string;
124
120
  readOnly?: boolean;
@@ -156,7 +152,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
156
152
  chipValidator?: (value: string) => {
157
153
  view?: string;
158
154
  };
159
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
155
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
160
156
  view: {
161
157
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
162
158
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -174,9 +170,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
174
170
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
175
171
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
176
172
  };
177
- clear: {
178
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
179
- };
180
173
  chipView: {
181
174
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
182
175
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -199,6 +192,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
199
192
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
200
193
  };
201
194
  }> & {
195
+ appearance?: "default" | "clear";
202
196
  size?: string;
203
197
  view?: string;
204
198
  readOnly?: boolean;
@@ -234,7 +228,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
234
228
  chipType?: never;
235
229
  chipView?: never;
236
230
  chipValidator?: never;
237
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
231
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
238
232
  view: {
239
233
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
240
234
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -252,9 +246,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
252
246
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
253
247
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
254
248
  };
255
- clear: {
256
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
257
- };
258
249
  chipView: {
259
250
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
260
251
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -277,6 +268,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
277
268
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
278
269
  };
279
270
  }> & {
271
+ appearance?: "default" | "clear";
280
272
  size?: string;
281
273
  view?: string;
282
274
  readOnly?: boolean;
@@ -314,7 +306,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
314
306
  chipValidator?: (value: string) => {
315
307
  view?: string;
316
308
  };
317
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
309
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
318
310
  view: {
319
311
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
320
312
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -332,9 +324,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
332
324
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
333
325
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
334
326
  };
335
- clear: {
336
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
337
- };
338
327
  chipView: {
339
328
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
340
329
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -357,6 +346,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
357
346
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
358
347
  };
359
348
  }> & {
349
+ appearance?: "default" | "clear";
360
350
  size?: string;
361
351
  view?: string;
362
352
  readOnly?: boolean;
@@ -392,7 +382,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
392
382
  chipType?: never;
393
383
  chipView?: never;
394
384
  chipValidator?: never;
395
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
385
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
396
386
  view: {
397
387
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
398
388
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -410,9 +400,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
410
400
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
411
401
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
412
402
  };
413
- clear: {
414
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
415
- };
416
403
  chipView: {
417
404
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
418
405
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -435,6 +422,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
435
422
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
436
423
  };
437
424
  }> & {
425
+ appearance?: "default" | "clear";
438
426
  size?: string;
439
427
  view?: string;
440
428
  readOnly?: boolean;
@@ -472,7 +460,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
472
460
  chipValidator?: (value: string) => {
473
461
  view?: string;
474
462
  };
475
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
463
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
476
464
  view: {
477
465
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
478
466
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -490,9 +478,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
490
478
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
491
479
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
492
480
  };
493
- clear: {
494
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
495
- };
496
481
  chipView: {
497
482
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
498
483
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -515,6 +500,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
515
500
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
516
501
  };
517
502
  }> & {
503
+ appearance?: "default" | "clear";
518
504
  size?: string;
519
505
  view?: string;
520
506
  readOnly?: boolean;
@@ -550,7 +536,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
550
536
  chipType?: never;
551
537
  chipView?: never;
552
538
  chipValidator?: never;
553
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
539
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
554
540
  view: {
555
541
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
556
542
  positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -568,9 +554,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
568
554
  inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
569
555
  outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
570
556
  };
571
- clear: {
572
- true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
573
- };
574
557
  chipView: {
575
558
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
576
559
  secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -593,6 +576,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
593
576
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
594
577
  };
595
578
  }> & {
579
+ appearance?: "default" | "clear";
596
580
  size?: string;
597
581
  view?: string;
598
582
  readOnly?: boolean;
@@ -630,4 +614,4 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
630
614
  chipValidator?: (value: string) => {
631
615
  view?: string;
632
616
  };
633
- } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
617
+ } & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.config.js","sources":["../../src-css/components/Modal/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n ${modalTokens.modalBodyBackground}: var(--surface-solid-card);\n ${modalTokens.modalBodyBorderRadius}: 1.25rem;\n ${modalTokens.modalBodyPadding}: 2rem;\n ${modalTokens.modalContentPadding}: 0.625rem;\n ${modalTokens.modalCloseButtonRadius}: 0.375rem;\n ${modalTokens.modalCloseButtonColor}: var(--text-secondary);\n ${modalTokens.modalCloseButtonHoverColor}: var(--text-secondary-hover);\n ${modalTokens.modalCloseButtonActiveColor}: var(--text-secondary-active);\n ${modalTokens.modalOutlineFocusColor}: var(--surface-accent);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAO,EAAA,UAAA;AAaX,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Modal.config.js","sources":["../../src-css/components/Modal/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n ${modalTokens.modalBodyBackground}: var(--surface-solid-card);\n ${modalTokens.modalBodyBorderRadius}: 1.25rem;\n ${modalTokens.modalBodyPadding}: 2rem;\n ${modalTokens.modalContentPadding}: 0.625rem;\n ${modalTokens.modalCloseButtonRadius}: 0.375rem;\n ${modalTokens.modalCloseButtonColor}: var(--text-secondary);\n ${modalTokens.modalCloseButtonHoverColor}: var(--text-secondary-hover);\n ${modalTokens.modalCloseButtonActiveColor}: var(--text-secondary-active);\n ${modalTokens.modalOutlineFocusColor}: var(--surface-accent);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAAA,EAAO;AAaX;AACJ;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.js","sources":["../../src-css/components/Modal/Modal.tsx"],"sourcesContent":["import { modalConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { config } from './Modal.config';\n\nimport { ModalProps } from '.';\n\nconst mergedConfig = mergeConfig(modalConfig, config);\nconst ModalComponent = component(mergedConfig) as ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;\n\n/**\n * Модальное окно.\n */\nexport const Modal = ModalComponent;\n"],"names":["mergedConfig","mergeConfig","modalConfig","config","ModalComponent","component","Modal"],"mappings":";;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,yBAAW,EAAEC,mBAAM,CAAC,CAAA;AACrD,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,YAAY,CAA0E,CAAA;;AAEvH;AACA;AACA;AACO,IAAMM,KAAK,GAAGF;;;;"}
1
+ {"version":3,"file":"Modal.js","sources":["../../src-css/components/Modal/Modal.tsx"],"sourcesContent":["import { modalConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { config } from './Modal.config';\n\nimport { ModalProps } from '.';\n\nconst mergedConfig = mergeConfig(modalConfig, config);\nconst ModalComponent = component(mergedConfig) as ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;\n\n/**\n * Модальное окно.\n */\nexport const Modal = ModalComponent;\n"],"names":["mergedConfig","mergeConfig","modalConfig","config","ModalComponent","component","Modal"],"mappings":";;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,yBAAW,EAAEC,mBAAM,CAAC;AACrD,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,YAAY,CAA0E;;AAEvH;AACA;AACA;AACO,IAAMM,KAAK,GAAGF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Note.config.js","sources":["../../src-css/components/Note/Note.config.ts"],"sourcesContent":["import { css, noteTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.background}: var(--surface-transparent-secondary);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-primary);\n `,\n positive: css`\n ${tokens.background}: var(--surface-transparent-positive);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-positive);\n `,\n warning: css`\n ${tokens.background}: var(--surface-transparent-warning);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-warning);\n `,\n negative: css`\n ${tokens.background}: var(--surface-transparent-negative);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-negative);\n `,\n info: css`\n ${tokens.background}: var(--surface-transparent-info);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-info);\n `,\n },\n size: {\n l: css`\n ${tokens.padding}: 1.5rem 1.875rem;\n ${tokens.paddingScalable}: 1.5rem 1.75rem;\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.gap}: 0.75rem;\n ${tokens.gapScalable}: 1rem;\n ${tokens.contentGap}: 0.25rem;\n\n ${tokens.closeIconTop}: 1rem;\n ${tokens.closeIconRight}: 1rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 2rem;\n ${tokens.fixedContentBeforePadding}: 0.25rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-l-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-l-line-height);\n ${tokens.titlePaddingRight}: 1.875rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-l-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-l-line-height);\n `,\n m: css`\n ${tokens.padding}: 1.25rem 1.5rem;\n ${tokens.paddingScalable}: 1.25rem;\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.gap}: 0.625rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.75rem;\n ${tokens.closeIconRight}: 0.75rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 1.5rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-m-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-m-line-height);\n ${tokens.titlePaddingRight}: 1.75rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-m-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-m-line-height);\n `,\n s: css`\n ${tokens.padding}: 1rem 1.25rem;\n ${tokens.paddingScalable}: 1rem;\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.gap}: 0.5rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1.125rem;\n ${tokens.fixedContentBeforePadding}: 0.063rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-s-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-s-line-height);\n ${tokens.titlePaddingRight}: 1.625rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-s-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-s-line-height);\n `,\n xs: css`\n ${tokens.padding}: 0.75rem 1rem;\n ${tokens.paddingScalable}: 0.75rem;\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.gap}: 0.375rem;\n ${tokens.gapScalable}: 0.5rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1rem;\n ${tokens.closeIconButtonSize}: 1rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-xs-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-xs-line-height);\n ${tokens.titlePaddingRight}: 1.5rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-xs-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-xs-line-height);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","positive","warning","negative","info","l","m","s","xs"],"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;AACFG,MAAAA,SAAAA,EAIC,SAAA;AACDC,MAAAA,QAAQ,EAIP,SAAA;AACDC,MAAAA,OAAO,EAIN,SAAA;AACDC,MAAAA,QAAQ,EAIP,UAAA;AACDC,MAAAA,IAAI,EAAA,SAAA;KAKP;AACDN,IAAAA,IAAI,EAAE;AACFO,MAAAA,CAAC,EAiCA,SAAA;AACDC,MAAAA,CAAC,EAiCA,UAAA;AACDC,MAAAA,CAAC,EAiCA,UAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;AAkCN,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Note.config.js","sources":["../../src-css/components/Note/Note.config.ts"],"sourcesContent":["import { css, noteTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.background}: var(--surface-transparent-secondary);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-primary);\n `,\n positive: css`\n ${tokens.background}: var(--surface-transparent-positive);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-positive);\n `,\n warning: css`\n ${tokens.background}: var(--surface-transparent-warning);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-warning);\n `,\n negative: css`\n ${tokens.background}: var(--surface-transparent-negative);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-negative);\n `,\n info: css`\n ${tokens.background}: var(--surface-transparent-info);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-info);\n `,\n },\n size: {\n l: css`\n ${tokens.padding}: 1.5rem 1.875rem;\n ${tokens.paddingScalable}: 1.5rem 1.75rem;\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.gap}: 0.75rem;\n ${tokens.gapScalable}: 1rem;\n ${tokens.contentGap}: 0.25rem;\n\n ${tokens.closeIconTop}: 1rem;\n ${tokens.closeIconRight}: 1rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 2rem;\n ${tokens.fixedContentBeforePadding}: 0.25rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-l-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-l-line-height);\n ${tokens.titlePaddingRight}: 1.875rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-l-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-l-line-height);\n `,\n m: css`\n ${tokens.padding}: 1.25rem 1.5rem;\n ${tokens.paddingScalable}: 1.25rem;\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.gap}: 0.625rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.75rem;\n ${tokens.closeIconRight}: 0.75rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 1.5rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-m-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-m-line-height);\n ${tokens.titlePaddingRight}: 1.75rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-m-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-m-line-height);\n `,\n s: css`\n ${tokens.padding}: 1rem 1.25rem;\n ${tokens.paddingScalable}: 1rem;\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.gap}: 0.5rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1.125rem;\n ${tokens.fixedContentBeforePadding}: 0.063rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-s-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-s-line-height);\n ${tokens.titlePaddingRight}: 1.625rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-s-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-s-line-height);\n `,\n xs: css`\n ${tokens.padding}: 0.75rem 1rem;\n ${tokens.paddingScalable}: 0.75rem;\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.gap}: 0.375rem;\n ${tokens.gapScalable}: 0.5rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1rem;\n ${tokens.closeIconButtonSize}: 1rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-xs-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-xs-line-height);\n ${tokens.titlePaddingRight}: 1.5rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-xs-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-xs-line-height);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","positive","warning","negative","info","l","m","s","xs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAAO,SAIN;AACDC,MAAAA,QAAQ,EAAA,SAIP;AACDC,MAAAA,OAAO,EAAA,SAIN;AACDC,MAAAA,QAAQ,EAAA,UAIP;AACDC,MAAAA,IAAI,EAAA;KAKP;AACDN,IAAAA,IAAI,EAAE;AACFO,MAAAA,CAAC,EAAA,SAiCA;AACDC,MAAAA,CAAC,EAAA,UAiCA;AACDC,MAAAA,CAAC,EAAA,UAiCA;AACDC,MAAAA,EAAE,EAAA;AAkCN;AACJ;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Note.js","sources":["../../src-css/components/Note/Note.ts"],"sourcesContent":["import { noteConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Note.config';\n\nconst mergedConfig = mergeConfig(noteConfig, config);\n\nexport const Note = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","noteConfig","config","Note","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC,CAAA;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
1
+ {"version":3,"file":"Note.js","sources":["../../src-css/components/Note/Note.ts"],"sourcesContent":["import { noteConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Note.config';\n\nconst mergedConfig = mergeConfig(noteConfig, config);\n\nexport const Note = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","noteConfig","config","Note","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.config.js","sources":["../../src-css/components/Notification/Notification.config.ts"],"sourcesContent":["import { css, notificationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n closeIconType: 'default',\n },\n variations: {\n view: {\n default: css`\n ${notificationTokens.titleColor}: var(--text-primary);\n ${notificationTokens.contentLeftIconColor}: var(--text-primary);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n negative: css`\n ${notificationTokens.titleColor}: var(--text-negative);\n ${notificationTokens.contentLeftIconColor}: var(--text-negative);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n positive: css`\n ${notificationTokens.titleColor}: var(--text-positive);\n ${notificationTokens.contentLeftIconColor}: var(--text-positive);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n warning: css`\n ${notificationTokens.titleColor}: var(--text-warning);\n ${notificationTokens.contentLeftIconColor}: var(--text-warning);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n info: css`\n ${notificationTokens.titleColor}: var(--text-info);\n ${notificationTokens.contentLeftIconColor}: var(--text-info);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n },\n layout: {\n horizontal: css`\n ${notificationTokens.width}: 25rem;\n ${notificationTokens.horizontalLayoutPadding}: 1rem 0.5rem 1rem 0.875rem;\n `,\n vertical: css`\n ${notificationTokens.width}: 15rem;\n ${notificationTokens.padding}: 0.375rem;\n `,\n },\n closeIconType: {\n default: css`\n ${notificationTokens.closeIconButtonSize}: 1.5rem;\n ${notificationTokens.closeIconSize}: 1.5rem;\n `,\n },\n size: {\n xs: css`\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.padding}: 0.375rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.buttonsMarginLeft}: 0rem;\n `,\n xxs: css`\n ${notificationTokens.closeIconTop}: 0.8125rem;\n ${notificationTokens.closeIconRight}: 1rem;\n\n ${notificationTokens.padding}: 0.5625rem 1rem 1rem 1rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;\n\n ${notificationTokens.contentPaddingTop}: 0.25rem;\n ${notificationTokens.contentPaddingRight}: 0rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0rem;\n\n ${notificationTokens.buttonsMarginLeft}: 2rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","closeIconType","variations","default","negative","positive","warning","info","layout","horizontal","vertical","size","xs","xxs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,aAAa,EAAE,SAAA;GAClB;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAqDC,SAAA;AACDC,MAAAA,QAAQ,EAqDP,SAAA;AACDC,MAAAA,QAAQ,EAqDP,UAAA;AACDC,MAAAA,OAAO,EAqDN,SAAA;AACDC,MAAAA,IAAI,EAAA,SAAA;KAsDP;AACDC,IAAAA,MAAM,EAAE;AACJC,MAAAA,UAAU,EAGT,SAAA;AACDC,MAAAA,QAAQ,EAAA,SAAA;KAIX;AACDT,IAAAA,aAAa,EAAE;MACXE,SAAO,EAAA,SAAA;KAIV;AACDQ,IAAAA,IAAI,EAAE;AACFC,MAAAA,EAAE,EAaD,SAAA;AACDC,MAAAA,GAAG,EAAA,UAAA;AAcP,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Notification.config.js","sources":["../../src-css/components/Notification/Notification.config.ts"],"sourcesContent":["import { css, notificationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n closeIconType: 'default',\n },\n variations: {\n view: {\n default: css`\n ${notificationTokens.titleColor}: var(--text-primary);\n ${notificationTokens.contentLeftIconColor}: var(--text-primary);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n negative: css`\n ${notificationTokens.titleColor}: var(--text-negative);\n ${notificationTokens.contentLeftIconColor}: var(--text-negative);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n positive: css`\n ${notificationTokens.titleColor}: var(--text-positive);\n ${notificationTokens.contentLeftIconColor}: var(--text-positive);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n warning: css`\n ${notificationTokens.titleColor}: var(--text-warning);\n ${notificationTokens.contentLeftIconColor}: var(--text-warning);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n info: css`\n ${notificationTokens.titleColor}: var(--text-info);\n ${notificationTokens.contentLeftIconColor}: var(--text-info);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n },\n layout: {\n horizontal: css`\n ${notificationTokens.width}: 25rem;\n ${notificationTokens.horizontalLayoutPadding}: 1rem 0.5rem 1rem 0.875rem;\n `,\n vertical: css`\n ${notificationTokens.width}: 15rem;\n ${notificationTokens.padding}: 0.375rem;\n `,\n },\n closeIconType: {\n default: css`\n ${notificationTokens.closeIconButtonSize}: 1.5rem;\n ${notificationTokens.closeIconSize}: 1.5rem;\n `,\n },\n size: {\n xs: css`\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.padding}: 0.375rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.buttonsMarginLeft}: 0rem;\n `,\n xxs: css`\n ${notificationTokens.closeIconTop}: 0.8125rem;\n ${notificationTokens.closeIconRight}: 1rem;\n\n ${notificationTokens.padding}: 0.5625rem 1rem 1rem 1rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;\n\n ${notificationTokens.contentPaddingTop}: 0.25rem;\n ${notificationTokens.contentPaddingRight}: 0rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0rem;\n\n ${notificationTokens.buttonsMarginLeft}: 2rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","closeIconType","variations","default","negative","positive","warning","info","layout","horizontal","vertical","size","xs","xxs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,aAAa,EAAE;GAClB;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAAO,SAqDN;AACDC,MAAAA,QAAQ,EAAA,SAqDP;AACDC,MAAAA,QAAQ,EAAA,UAqDP;AACDC,MAAAA,OAAO,EAAA,SAqDN;AACDC,MAAAA,IAAI,EAAA;KAsDP;AACDC,IAAAA,MAAM,EAAE;AACJC,MAAAA,UAAU,EAAA,SAGT;AACDC,MAAAA,QAAQ,EAAA;KAIX;AACDT,IAAAA,aAAa,EAAE;MACXE,SAAAA,EAAO;KAIV;AACDQ,IAAAA,IAAI,EAAE;AACFC,MAAAA,EAAE,EAAA,SAaD;AACDC,MAAAA,GAAG,EAAA;AAcP;AACJ;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';\nimport {\n NotificationProps as NotificationPropsNewHope,\n NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const NotificationNewHope = component(mergedConfig);\n\ntype ConfigProps = 'size' | 'view' | 'layout' | 'closeIconType';\ntype NotificationProps = Pick<ComponentProps<typeof NotificationNewHope>, ConfigProps> &\n Omit<NotificationPropsNewHope, ConfigProps>;\n\nexport const Notification = NotificationNewHope as ForwardRefExoticComponent<NotificationProps>;\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","NotificationNewHope","component","Notification","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAcA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC,CAAA;IAE/CC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY,EAAC;AAMnD,IAAMM,YAAY,GAAGF,oBAAmE;IAElFG,qBAKX,GAAG,SALQA,qBAKXA,CAAAC,IAAA,EAAwE;AAAA,EAAA,IAAlEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAG,KAAA,CAAA,GAAA,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAEC,kBAAkB,GAAAL,IAAA,CAAlBK,kBAAkB,CAAA;AAC/D,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACb,IAAAA,MAAM,EAAEH,YAAa;AAACW,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAU;AAACC,IAAAA,kBAAkB,EAAEA,kBAAAA;AAAmB,GAAA,EACtGJ,QACK,CAAC,CAAA;AAEnB;;;;;;"}
1
+ {"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';\nimport {\n NotificationProps as NotificationPropsNewHope,\n NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const NotificationNewHope = component(mergedConfig);\n\ntype ConfigProps = 'size' | 'view' | 'layout' | 'closeIconType';\ntype NotificationProps = Pick<ComponentProps<typeof NotificationNewHope>, ConfigProps> &\n Omit<NotificationPropsNewHope, ConfigProps>;\n\nexport const Notification = NotificationNewHope as ForwardRefExoticComponent<NotificationProps>;\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","NotificationNewHope","component","Notification","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAcA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC;IAE/CC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY;AAMlD,IAAMM,YAAY,GAAGF;IAEfG,qBAKX,GAAG,SALQA,qBAKXA,CAAAC,IAAA,EAAwE;AAAA,EAAA,IAAlEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAA,MAAA,GAAG,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAEC,kBAAkB,GAAAL,IAAA,CAAlBK,kBAAkB;AAC/D,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACb,IAAAA,MAAM,EAAEH,YAAa;AAACW,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAU;AAACC,IAAAA,kBAAkB,EAAEA;AAAmB,GAAA,EACtGJ,QACK,CAAC;AAEnB;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.config.js","sources":["../../src-css/components/NumberInput/NumberInput.config.ts"],"sourcesContent":["import { css, numberInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n inputBackgroundType: 'fill',\n },\n variations: {\n view: {\n default: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--inverse-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--inverse-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--inverse-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-solid-default);\n\n ${tokens.iconButtonColor}: var(--inverse-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-solid-default);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--inverse-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--inverse-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-solid-default-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n secondary: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-transparent-secondary);\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.iconButtonColorHover}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.iconButtonColorActive}: var(--text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n accent: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--inverse-text-primary);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--on-dark-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--on-dark-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--on-dark-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-accent);\n\n ${tokens.iconButtonColor}: var(--on-dark-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-accent);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--on-dark-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-accent-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--on-dark-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-accent-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n clear: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: transparent;\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: transparent;\n ${tokens.iconButtonColorHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: transparent;\n ${tokens.iconButtonColorActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: transparent;\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n },\n size: {\n l: css`\n ${tokens.rootMinWidth}: 11.75rem;\n ${tokens.iconButtonHeight}: 3.5rem;\n ${tokens.iconButtonWidth}: 3.5rem;\n ${tokens.iconButtonPadding}: 1.5rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.iconButtonRadius}: 0.875rem;\n ${tokens.iconButtonSegmentationRadius}: 0.375rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.875rem;\n ${tokens.textWrapperHeight}: 3.5rem;\n ${tokens.textWrapperPadding}: 1.063rem 1.125rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n m: css`\n ${tokens.rootMinWidth}: 10.25rem;\n ${tokens.iconButtonHeight}: 3rem;\n ${tokens.iconButtonWidth}: 3rem;\n ${tokens.iconButtonPadding}: 1.25rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.iconButtonRadius}: 0.75rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.75rem;\n ${tokens.textWrapperHeight}: 3rem;\n ${tokens.textWrapperPadding}: 0.875rem 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n s: css`\n ${tokens.rootMinWidth}: 8.75rem;\n ${tokens.iconButtonHeight}: 2.5rem;\n ${tokens.iconButtonWidth}: 2.5rem;\n ${tokens.iconButtonPadding}: 1rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.iconButtonRadius}: 0.625rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.625rem;\n ${tokens.textWrapperHeight}: 2.5rem;\n ${tokens.textWrapperPadding}: 0.688rem 0.875rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n xs: css`\n ${tokens.rootMinWidth}: 6.875rem;\n ${tokens.iconButtonHeight}: 2rem;\n ${tokens.iconButtonWidth}: 2rem;\n ${tokens.iconButtonPadding}: 0.75rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.iconButtonRadius}: 0.5rem;\n ${tokens.iconButtonSegmentationRadius}: 0.125rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.5rem;\n ${tokens.textWrapperHeight}: 2rem;\n ${tokens.textWrapperPadding}: 0.563rem 0.625rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1rem;\n `,\n },\n shape: {\n cornered: css``,\n pilled: css`\n ${tokens.iconButtonRadius}: 50%;\n `,\n },\n inputBackgroundType: {\n fill: css`\n ${tokens.backgroundColor}: var(--surface-transparent-primary);\n ${tokens.backgroundColorHover}: var(--surface-transparent-primary);\n `,\n clear: css`\n ${tokens.backgroundColor}: transparent;\n ${tokens.backgroundColorHover}: transparent;\n `,\n },\n segmentation: {\n default: css``,\n segmented: css``,\n solid: css`\n ${tokens.iconButtonSegmentationRadius}: 0;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","shape","inputBackgroundType","variations","default","secondary","accent","clear","l","m","s","xs","cornered","pilled","fill","segmentation","segmented","solid","disabled","true"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,KAAK,EAAE,UAAU;AACjBC,IAAAA,mBAAmB,EAAE,MAAA;GACxB;AACDC,EAAAA,UAAU,EAAE;AACRJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,SAAAA,EA0BC,SAAA;AACDC,MAAAA,SAAS,EA0BR,SAAA;AACDC,MAAAA,MAAM,EA2BL,UAAA;AACDC,MAAAA,KAAK,EAAA,SAAA;KA2BR;AACDP,IAAAA,IAAI,EAAE;AACFQ,MAAAA,CAAC,EA+BA,SAAA;AACDC,MAAAA,CAAC,EA+BA,UAAA;AACDC,MAAAA,CAAC,EA+BA,UAAA;AACDC,MAAAA,EAAE,EAAA,UAAA;KAgCL;AACDV,IAAAA,KAAK,EAAE;AACHW,MAAAA,QAAQ,EAAO,UAAA;AACfC,MAAAA,MAAM,EAAA,SAAA;KAGT;AACDX,IAAAA,mBAAmB,EAAE;AACjBY,MAAAA,IAAI,EAGH,SAAA;AACDP,MAAAA,KAAK,EAAA,SAAA;KAIR;AACDQ,IAAAA,YAAY,EAAE;AACVX,MAAAA,SAAAA,EAAc,UAAA;AACdY,MAAAA,SAAS,EAAO,SAAA;AAChBC,MAAAA,KAAK,EAAA,SAAA;KAGR;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"NumberInput.config.js","sources":["../../src-css/components/NumberInput/NumberInput.config.ts"],"sourcesContent":["import { css, numberInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n inputBackgroundType: 'fill',\n },\n variations: {\n view: {\n default: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--inverse-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--inverse-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--inverse-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-solid-default);\n\n ${tokens.iconButtonColor}: var(--inverse-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-solid-default);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--inverse-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--inverse-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-solid-default-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n secondary: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-transparent-secondary);\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.iconButtonColorHover}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.iconButtonColorActive}: var(--text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n accent: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--inverse-text-primary);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--on-dark-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--on-dark-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--on-dark-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-accent);\n\n ${tokens.iconButtonColor}: var(--on-dark-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-accent);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--on-dark-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-accent-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--on-dark-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-accent-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n clear: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: transparent;\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: transparent;\n ${tokens.iconButtonColorHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: transparent;\n ${tokens.iconButtonColorActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: transparent;\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n },\n size: {\n l: css`\n ${tokens.rootMinWidth}: 11.75rem;\n ${tokens.iconButtonHeight}: 3.5rem;\n ${tokens.iconButtonWidth}: 3.5rem;\n ${tokens.iconButtonPadding}: 1.5rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.iconButtonRadius}: 0.875rem;\n ${tokens.iconButtonSegmentationRadius}: 0.375rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.875rem;\n ${tokens.textWrapperHeight}: 3.5rem;\n ${tokens.textWrapperPadding}: 1.063rem 1.125rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n m: css`\n ${tokens.rootMinWidth}: 10.25rem;\n ${tokens.iconButtonHeight}: 3rem;\n ${tokens.iconButtonWidth}: 3rem;\n ${tokens.iconButtonPadding}: 1.25rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.iconButtonRadius}: 0.75rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.75rem;\n ${tokens.textWrapperHeight}: 3rem;\n ${tokens.textWrapperPadding}: 0.875rem 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n s: css`\n ${tokens.rootMinWidth}: 8.75rem;\n ${tokens.iconButtonHeight}: 2.5rem;\n ${tokens.iconButtonWidth}: 2.5rem;\n ${tokens.iconButtonPadding}: 1rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.iconButtonRadius}: 0.625rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.625rem;\n ${tokens.textWrapperHeight}: 2.5rem;\n ${tokens.textWrapperPadding}: 0.688rem 0.875rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n xs: css`\n ${tokens.rootMinWidth}: 6.875rem;\n ${tokens.iconButtonHeight}: 2rem;\n ${tokens.iconButtonWidth}: 2rem;\n ${tokens.iconButtonPadding}: 0.75rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.iconButtonRadius}: 0.5rem;\n ${tokens.iconButtonSegmentationRadius}: 0.125rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.5rem;\n ${tokens.textWrapperHeight}: 2rem;\n ${tokens.textWrapperPadding}: 0.563rem 0.625rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1rem;\n `,\n },\n shape: {\n cornered: css``,\n pilled: css`\n ${tokens.iconButtonRadius}: 50%;\n `,\n },\n inputBackgroundType: {\n fill: css`\n ${tokens.backgroundColor}: var(--surface-transparent-primary);\n ${tokens.backgroundColorHover}: var(--surface-transparent-primary);\n `,\n clear: css`\n ${tokens.backgroundColor}: transparent;\n ${tokens.backgroundColorHover}: transparent;\n `,\n },\n segmentation: {\n default: css``,\n segmented: css``,\n solid: css`\n ${tokens.iconButtonSegmentationRadius}: 0;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","shape","inputBackgroundType","variations","default","secondary","accent","clear","l","m","s","xs","cornered","pilled","fill","segmentation","segmented","solid","disabled","true"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,KAAK,EAAE,UAAU;AACjBC,IAAAA,mBAAmB,EAAE;GACxB;AACDC,EAAAA,UAAU,EAAE;AACRJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,SAAAA,EAAO,SA0BN;AACDC,MAAAA,SAAS,EAAA,SA0BR;AACDC,MAAAA,MAAM,EAAA,UA2BL;AACDC,MAAAA,KAAK,EAAA;KA2BR;AACDP,IAAAA,IAAI,EAAE;AACFQ,MAAAA,CAAC,EAAA,SA+BA;AACDC,MAAAA,CAAC,EAAA,UA+BA;AACDC,MAAAA,CAAC,EAAA,UA+BA;AACDC,MAAAA,EAAE,EAAA;KAgCL;AACDV,IAAAA,KAAK,EAAE;AACHW,MAAAA,QAAQ,EAAA,UAAO;AACfC,MAAAA,MAAM,EAAA;KAGT;AACDX,IAAAA,mBAAmB,EAAE;AACjBY,MAAAA,IAAI,EAAA,SAGH;AACDP,MAAAA,KAAK,EAAA;KAIR;AACDQ,IAAAA,YAAY,EAAE;AACVX,MAAAA,SAAAA,EAAO,UAAO;AACdY,MAAAA,SAAS,EAAA,SAAO;AAChBC,MAAAA,KAAK,EAAA;KAGR;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAAA,EAAI;AAGR;AACJ;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.js","sources":["../../src-css/components/NumberInput/NumberInput.ts"],"sourcesContent":["import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './NumberInput.config';\n\nconst mergedConfig = mergeConfig(numberInputConfig, config);\n\nexport const NumberInput = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","numberInputConfig","config","NumberInput","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,yBAAM,CAAC,CAAA;IAE9CC,WAAW,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
1
+ {"version":3,"file":"NumberInput.js","sources":["../../src-css/components/NumberInput/NumberInput.ts"],"sourcesContent":["import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './NumberInput.config';\n\nconst mergedConfig = mergeConfig(numberInputConfig, config);\n\nexport const NumberInput = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","numberInputConfig","config","NumberInput","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,yBAAM,CAAC;IAE9CC,WAAW,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.config.js","sources":["../../src-css/components/Pagination/Pagination.config.ts"],"sourcesContent":["import { css, paginationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'clear',\n viewCurrentPage: 'secondary',\n size: 'xs',\n },\n variations: {\n view: {\n default: css`\n ${paginationTokens.buttonColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonColorHover}: var(--inverse-text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--inverse-text-primary-active);\n ${paginationTokens.buttonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);\n ${paginationTokens.buttonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonArrowColor}: var(--inverse-text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.inputBorderColor}:transparent;\n ${paginationTokens.selectBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n secondary: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-secondary);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n clear: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-card);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n },\n viewCurrentPage: {\n default: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 80%\n );\n `,\n secondary: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 80%\n );\n `,\n clear: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 95%);\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 90%);\n `,\n },\n size: {\n l: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-l-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-l-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-l-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${paginationTokens.buttonHeight}: 3.5rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2.25rem;\n ${paginationTokens.paginationInputWidth}: 4rem;\n ${paginationTokens.buttonRadius}: 0.875rem;\n ${paginationTokens.paginationIconSize}: 1.2rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.45rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.875rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 1rem;\n ${paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.875rem;\n ${paginationTokens.inputWidth}: 4rem;\n ${paginationTokens.inputHeight}: 3.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n m: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${paginationTokens.buttonHeight}: 3rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2rem;\n ${paginationTokens.paginationInputWidth}: 3.5rem;\n ${paginationTokens.buttonRadius}: 0.75rem;\n ${paginationTokens.paginationIconSize}: 1.05rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.3rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.875rem;\n ${paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.75rem;\n ${paginationTokens.inputWidth}: 3.5rem;\n ${paginationTokens.inputHeight}: 3rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n s: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-s-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-s-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-s-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${paginationTokens.buttonHeight}: 2.5rem;\n ${paginationTokens.buttonWidth}: 2.5rem;\n ${paginationTokens.buttonWidthShorter}: 1.75rem;\n ${paginationTokens.paginationInputWidth}: 3rem;\n ${paginationTokens.buttonRadius}: 0.625rem;\n ${paginationTokens.paginationIconSize}: 0.9rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.15rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.75rem;\n ${paginationTokens.selectTargetPadding}: 1rem 0 1rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.625rem;\n ${paginationTokens.inputWidth}: 3rem;\n ${paginationTokens.inputHeight}: 2.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n xs: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-xs-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${paginationTokens.buttonHeight}: 2rem;\n ${paginationTokens.paginationInputWidth}: 2.5rem;\n ${paginationTokens.buttonRadius}: 0.5rem;\n ${paginationTokens.buttonWidth}: 2rem;\n ${paginationTokens.buttonWidthShorter}: 1.5rem;\n ${paginationTokens.paginationIconSize}: 0.75rem;\n ${paginationTokens.paginationIconDoubleSize}: 1rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.25rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.5rem;\n ${paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.5rem;\n ${paginationTokens.inputWidth}: 2.5rem;\n ${paginationTokens.inputHeight}: 2rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n },\n type: {\n compact: css``,\n default: css``,\n },\n },\n};\n"],"names":["config","defaults","view","viewCurrentPage","size","variations","default","secondary","clear","l","m","s","xs","type","compact"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,eAAe,EAAE,WAAW;AAC5BC,IAAAA,IAAI,EAAE,IAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EA0BC,UAAA;AACDC,MAAAA,SAAS,EAsBR,SAAA;AACDC,MAAAA,KAAK,EAAA,UAAA;KAuBR;AACDL,IAAAA,eAAe,EAAE;AACbG,MAAAA,SAAAA,EAeC,UAAA;AACDC,MAAAA,SAAS,EAeR,SAAA;AACDC,MAAAA,KAAK,EAAA,SAAA;KAQR;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,CAAC,EAwCA,UAAA;AACDC,MAAAA,CAAC,EAwCA,UAAA;AACDC,MAAAA,CAAC,EAwCA,SAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAyCL;AACDC,IAAAA,IAAI,EAAE;AACFC,MAAAA,OAAO,EAAO,UAAA;MACdR,SAAO,EAAA,SAAA;AACX,KAAA;AACJ,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Pagination.config.js","sources":["../../src-css/components/Pagination/Pagination.config.ts"],"sourcesContent":["import { css, paginationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'clear',\n viewCurrentPage: 'secondary',\n size: 'xs',\n },\n variations: {\n view: {\n default: css`\n ${paginationTokens.buttonColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonColorHover}: var(--inverse-text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--inverse-text-primary-active);\n ${paginationTokens.buttonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);\n ${paginationTokens.buttonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonArrowColor}: var(--inverse-text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.inputBorderColor}:transparent;\n ${paginationTokens.selectBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n secondary: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-secondary);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n clear: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-card);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n },\n viewCurrentPage: {\n default: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 80%\n );\n `,\n secondary: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 80%\n );\n `,\n clear: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 95%);\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 90%);\n `,\n },\n size: {\n l: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-l-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-l-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-l-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${paginationTokens.buttonHeight}: 3.5rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2.25rem;\n ${paginationTokens.paginationInputWidth}: 4rem;\n ${paginationTokens.buttonRadius}: 0.875rem;\n ${paginationTokens.paginationIconSize}: 1.2rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.45rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.875rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 1rem;\n ${paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.875rem;\n ${paginationTokens.inputWidth}: 4rem;\n ${paginationTokens.inputHeight}: 3.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n m: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${paginationTokens.buttonHeight}: 3rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2rem;\n ${paginationTokens.paginationInputWidth}: 3.5rem;\n ${paginationTokens.buttonRadius}: 0.75rem;\n ${paginationTokens.paginationIconSize}: 1.05rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.3rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.875rem;\n ${paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.75rem;\n ${paginationTokens.inputWidth}: 3.5rem;\n ${paginationTokens.inputHeight}: 3rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n s: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-s-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-s-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-s-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${paginationTokens.buttonHeight}: 2.5rem;\n ${paginationTokens.buttonWidth}: 2.5rem;\n ${paginationTokens.buttonWidthShorter}: 1.75rem;\n ${paginationTokens.paginationInputWidth}: 3rem;\n ${paginationTokens.buttonRadius}: 0.625rem;\n ${paginationTokens.paginationIconSize}: 0.9rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.15rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.75rem;\n ${paginationTokens.selectTargetPadding}: 1rem 0 1rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.625rem;\n ${paginationTokens.inputWidth}: 3rem;\n ${paginationTokens.inputHeight}: 2.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n xs: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-xs-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${paginationTokens.buttonHeight}: 2rem;\n ${paginationTokens.paginationInputWidth}: 2.5rem;\n ${paginationTokens.buttonRadius}: 0.5rem;\n ${paginationTokens.buttonWidth}: 2rem;\n ${paginationTokens.buttonWidthShorter}: 1.5rem;\n ${paginationTokens.paginationIconSize}: 0.75rem;\n ${paginationTokens.paginationIconDoubleSize}: 1rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.25rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.5rem;\n ${paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.5rem;\n ${paginationTokens.inputWidth}: 2.5rem;\n ${paginationTokens.inputHeight}: 2rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n },\n type: {\n compact: css``,\n default: css``,\n },\n },\n};\n"],"names":["config","defaults","view","viewCurrentPage","size","variations","default","secondary","clear","l","m","s","xs","type","compact"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,eAAe,EAAE,WAAW;AAC5BC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EAAO,UA0BN;AACDC,MAAAA,SAAS,EAAA,SAsBR;AACDC,MAAAA,KAAK,EAAA;KAuBR;AACDL,IAAAA,eAAe,EAAE;AACbG,MAAAA,SAAAA,EAAO,UAeN;AACDC,MAAAA,SAAS,EAAA,SAeR;AACDC,MAAAA,KAAK,EAAA;KAQR;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,CAAC,EAAA,UAwCA;AACDC,MAAAA,CAAC,EAAA,UAwCA;AACDC,MAAAA,CAAC,EAAA,SAwCA;AACDC,MAAAA,EAAE,EAAA;KAyCL;AACDC,IAAAA,IAAI,EAAE;AACFC,MAAAA,OAAO,EAAA,UAAO;MACdR,SAAAA,EAAO;AACX;AACJ;AACJ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","sources":["../../src-css/components/Pagination/Pagination.tsx"],"sourcesContent":["import { paginationConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Pagination.config';\n\nconst mergedConfig = mergeConfig(paginationConfig, config);\nconst PaginationComponent = component(mergedConfig);\n\n/**\n * Пагинация\n */\nexport const Pagination = PaginationComponent;\n"],"names":["mergedConfig","mergeConfig","paginationConfig","config","PaginationComponent","component","Pagination"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,8BAAgB,EAAEC,wBAAM,CAAC,CAAA;AAC1D,IAAMC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY,CAAC,CAAA;;AAEnD;AACA;AACA;AACO,IAAMM,UAAU,GAAGF;;;;"}
1
+ {"version":3,"file":"Pagination.js","sources":["../../src-css/components/Pagination/Pagination.tsx"],"sourcesContent":["import { paginationConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Pagination.config';\n\nconst mergedConfig = mergeConfig(paginationConfig, config);\nconst PaginationComponent = component(mergedConfig);\n\n/**\n * Пагинация\n */\nexport const Pagination = PaginationComponent;\n"],"names":["mergedConfig","mergeConfig","paginationConfig","config","PaginationComponent","component","Pagination"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,8BAAgB,EAAEC,wBAAM,CAAC;AAC1D,IAAMC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY,CAAC;;AAEnD;AACA;AACA;AACO,IAAMM,UAAU,GAAGF;;;;"}