@salutejs/sdds-cs 0.319.0-canary.1741.15776056320.0 → 0.319.0-canary.1973.15677961605.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 (949) hide show
  1. package/components/Accordion/Accordion.config.js +19 -101
  2. package/components/Accordion/Accordion.js +12 -18
  3. package/components/Accordion/index.js +14 -15
  4. package/components/Attach/Attach.config.js +26 -267
  5. package/components/Attach/Attach.js +11 -11
  6. package/components/Attach/index.js +7 -6
  7. package/components/Autocomplete/Autocomplete.config.js +30 -247
  8. package/components/Autocomplete/Autocomplete.js +7 -11
  9. package/components/Autocomplete/index.js +7 -6
  10. package/components/Avatar/Avatar.config.js +31 -197
  11. package/components/Avatar/Avatar.js +7 -19
  12. package/components/Avatar/index.js +7 -6
  13. package/components/AvatarGroup/AvatarGroup.js +6 -10
  14. package/components/AvatarGroup/index.js +7 -6
  15. package/components/Badge/Badge.config.js +30 -145
  16. package/components/Badge/Badge.js +11 -11
  17. package/components/Badge/index.js +7 -6
  18. package/components/Breadcrumbs/Breadcrumbs.config.js +18 -60
  19. package/components/Breadcrumbs/Breadcrumbs.js +12 -12
  20. package/components/Breadcrumbs/index.js +7 -6
  21. package/components/Button/Button.config.js +30 -174
  22. package/components/Button/Button.js +41 -146
  23. package/components/Button/index.js +7 -6
  24. package/components/ButtonBase/index.js +7 -6
  25. package/components/ButtonGroup/ButtonGroup.config.js +38 -228
  26. package/components/ButtonGroup/ButtonGroup.js +11 -11
  27. package/components/ButtonGroup/index.js +7 -6
  28. package/components/Calendar/Calendar.js +18 -39
  29. package/components/Calendar/CalendarBase.config.js +18 -128
  30. package/components/Calendar/CalendarDouble.config.js +18 -128
  31. package/components/Calendar/index.js +32 -24
  32. package/components/Card/Card.config.js +20 -81
  33. package/components/Card/Card.js +23 -22
  34. package/components/Card/index.js +20 -18
  35. package/components/Cell/Cell.config.js +16 -110
  36. package/components/Cell/Cell.js +12 -12
  37. package/components/Cell/index.js +33 -25
  38. package/components/Checkbox/Checkbox.config.js +25 -104
  39. package/components/Checkbox/Checkbox.js +11 -12
  40. package/components/Checkbox/index.js +7 -6
  41. package/components/Chip/Chip.config.js +25 -162
  42. package/components/Chip/Chip.js +12 -12
  43. package/components/Chip/index.js +7 -6
  44. package/components/ChipGroup/ChipGroup.config.js +24 -127
  45. package/components/ChipGroup/ChipGroup.js +7 -11
  46. package/components/ChipGroup/index.js +7 -6
  47. package/components/Combobox/Combobox.config.js +30 -313
  48. package/components/Combobox/Combobox.d.ts +24 -24
  49. package/components/Combobox/Combobox.js +15 -50
  50. package/components/Combobox/index.js +7 -6
  51. package/components/Counter/Counter.config.js +21 -95
  52. package/components/Counter/Counter.js +11 -11
  53. package/components/Counter/index.js +15 -16
  54. package/components/DatePicker/DatePicker.config.js +24 -264
  55. package/components/DatePicker/DatePicker.js +9 -21
  56. package/components/DatePicker/index.js +27 -22
  57. package/components/Divider/Divider.config.js +27 -109
  58. package/components/Divider/Divider.js +11 -11
  59. package/components/Divider/index.js +15 -16
  60. package/components/Drawer/Drawer.config.js +22 -79
  61. package/components/Drawer/Drawer.js +29 -31
  62. package/components/Drawer/index.js +26 -21
  63. package/components/Dropdown/Dropdown.config.js +18 -94
  64. package/components/Dropdown/Dropdown.js +15 -50
  65. package/components/Dropdown/index.js +7 -6
  66. package/components/Dropzone/Dropzone.config.js +21 -86
  67. package/components/Dropzone/Dropzone.js +7 -11
  68. package/components/Dropzone/index.js +21 -19
  69. package/components/EmptyState/EmptyState.config.js +18 -114
  70. package/components/EmptyState/EmptyState.js +7 -19
  71. package/components/EmptyState/index.js +7 -6
  72. package/components/Flow/Flow.config.js +7 -11
  73. package/components/Flow/Flow.js +7 -11
  74. package/components/Flow/index.js +7 -6
  75. package/components/Grid/Grid.config.js +19 -71
  76. package/components/Grid/Grid.js +18 -21
  77. package/components/Grid/index.js +20 -18
  78. package/components/IconButton/IconButton.config.js +28 -146
  79. package/components/IconButton/IconButton.js +12 -12
  80. package/components/IconButton/index.js +7 -6
  81. package/components/Image/Image.component-test.js +92 -0
  82. package/components/Image/Image.js +11 -11
  83. package/components/Image/index.js +7 -6
  84. package/components/Indicator/Indicator.config.js +26 -138
  85. package/components/Indicator/Indicator.js +7 -19
  86. package/components/Indicator/index.js +7 -6
  87. package/components/Link/Link.config.js +29 -214
  88. package/components/Link/Link.js +11 -12
  89. package/components/Link/index.js +7 -6
  90. package/components/Mask/Mask.js +6 -10
  91. package/components/Mask/index.js +7 -6
  92. package/components/Modal/Modal.config.js +15 -47
  93. package/components/Modal/Modal.js +12 -12
  94. package/components/Modal/index.js +15 -16
  95. package/components/Notification/Notification.config.js +26 -163
  96. package/components/Notification/Notification.js +23 -38
  97. package/components/Notification/index.js +27 -22
  98. package/components/NumberFormat/NumberFormat.js +13 -10
  99. package/components/NumberFormat/index.js +7 -6
  100. package/components/NumberInput/NumberInput.config.js +34 -154
  101. package/components/NumberInput/NumberInput.js +7 -11
  102. package/components/NumberInput/index.js +21 -19
  103. package/components/Overlay/index.js +7 -6
  104. package/components/Pagination/Pagination.component-test.js +298 -0
  105. package/components/Pagination/Pagination.config.js +26 -139
  106. package/components/Pagination/Pagination.js +12 -12
  107. package/components/Pagination/index.js +7 -6
  108. package/components/Popover/Popover.config.js +15 -43
  109. package/components/Popover/Popover.js +7 -11
  110. package/components/Popover/index.js +7 -6
  111. package/components/Popup/Popup.js +10 -10
  112. package/components/Popup/index.js +27 -22
  113. package/components/Portal/index.js +7 -6
  114. package/components/Price/Price.config.js +11 -15
  115. package/components/Price/Price.js +12 -12
  116. package/components/Price/index.js +15 -16
  117. package/components/Progress/Progress.config.js +21 -95
  118. package/components/Progress/Progress.js +8 -12
  119. package/components/Progress/index.js +7 -6
  120. package/components/Radiobox/Radiobox.config.js +31 -106
  121. package/components/Radiobox/Radiobox.d.ts +28 -2
  122. package/components/Radiobox/Radiobox.js +16 -19
  123. package/components/Radiobox/index.js +14 -15
  124. package/components/Range/Range.config.js +24 -157
  125. package/components/Range/Range.js +11 -11
  126. package/components/Range/index.js +15 -16
  127. package/components/Rating/Rating.config.js +20 -117
  128. package/components/Rating/Rating.js +7 -11
  129. package/components/Rating/index.js +21 -19
  130. package/components/SSRProvider/index.js +7 -6
  131. package/components/Segment/Segment.js +32 -27
  132. package/components/Segment/SegmentGroup.config.js +34 -130
  133. package/components/Segment/SegmentItem.config.js +25 -124
  134. package/components/Segment/index.js +26 -21
  135. package/components/Select/Select.config.js +35 -305
  136. package/components/Select/Select.d.ts +6 -6
  137. package/components/Select/Select.js +15 -50
  138. package/components/Select/index.js +7 -6
  139. package/components/Sheet/Sheet.config.js +18 -63
  140. package/components/Sheet/Sheet.js +12 -12
  141. package/components/Sheet/index.js +15 -16
  142. package/components/Skeleton/LineSkeleton.config.js +31 -230
  143. package/components/Skeleton/Skeleton.js +20 -25
  144. package/components/Skeleton/index.js +26 -21
  145. package/components/Slider/Slider.component-test.js +223 -0
  146. package/components/Slider/Slider.config.js +22 -147
  147. package/components/Slider/Slider.js +13 -12
  148. package/components/Slider/index.js +7 -6
  149. package/components/Spinner/Spinner.config.js +23 -107
  150. package/components/Spinner/Spinner.js +15 -23
  151. package/components/Spinner/index.js +7 -6
  152. package/components/Steps/Steps.config.js +18 -105
  153. package/components/Steps/Steps.js +8 -12
  154. package/components/Steps/index.js +7 -6
  155. package/components/Switch/Switch.config.js +31 -149
  156. package/components/Switch/Switch.js +8 -12
  157. package/components/Switch/index.js +7 -6
  158. package/components/Table/Table.config.js +21 -257
  159. package/components/Table/Table.js +12 -12
  160. package/components/Table/index.js +7 -6
  161. package/components/Tabs/TabItem.js +21 -26
  162. package/components/Tabs/Tabs.js +21 -26
  163. package/components/Tabs/TabsController.js +16 -15
  164. package/components/Tabs/horizontal/HorizontalTabItem.config.js +30 -230
  165. package/components/Tabs/horizontal/HorizontalTabs.config.js +37 -266
  166. package/components/Tabs/index.js +35 -27
  167. package/components/Tabs/vertical/VerticalTabItem.config.js +24 -125
  168. package/components/Tabs/vertical/VerticalTabs.config.js +24 -98
  169. package/components/TextArea/TextArea.config.js +42 -367
  170. package/components/TextArea/TextArea.js +12 -12
  171. package/components/TextArea/index.js +7 -6
  172. package/components/TextField/TextField.config.js +40 -338
  173. package/components/TextField/TextField.js +11 -11
  174. package/components/TextField/index.js +15 -16
  175. package/components/Toast/Toast.config.js +35 -127
  176. package/components/Toast/Toast.js +14 -26
  177. package/components/Toast/index.js +20 -18
  178. package/components/ToastNew/ToastNew.config.js +21 -80
  179. package/components/ToastNew/ToastNew.js +8 -20
  180. package/components/ToastNew/index.js +14 -15
  181. package/components/Tokens/Colors/Colors.styles.d.ts +1 -1
  182. package/components/Tokens/Colors/Colors.styles.js +51 -147
  183. package/components/Tokens/NumberTokens/NumberTokens.styles.js +23 -70
  184. package/components/Tokens/Typography/Typography.styles.d.ts +1 -1
  185. package/components/Tokens/Typography/Typography.styles.js +76 -204
  186. package/components/Toolbar/Toolbar.config.js +18 -57
  187. package/components/Toolbar/Toolbar.js +13 -21
  188. package/components/Toolbar/index.js +21 -19
  189. package/components/Tooltip/Tooltip.config.js +19 -71
  190. package/components/Tooltip/Tooltip.js +7 -11
  191. package/components/Tooltip/index.js +7 -6
  192. package/components/Tree/Tree.config.js +18 -83
  193. package/components/Tree/Tree.js +7 -11
  194. package/components/Tree/index.js +7 -6
  195. package/components/Typography/Body.config.js +47 -161
  196. package/components/Typography/Dspl.config.js +31 -105
  197. package/components/Typography/Heading.config.js +47 -161
  198. package/components/Typography/Text.config.js +39 -133
  199. package/components/Typography/Typography.js +59 -116
  200. package/components/Typography/index.js +106 -62
  201. package/components/ViewContainer/ViewContainer.config.js +14 -46
  202. package/components/ViewContainer/ViewContainer.js +7 -11
  203. package/components/ViewContainer/index.js +7 -6
  204. package/emotion/cjs/components/Accordion/Accordion.config.js +19 -101
  205. package/emotion/cjs/components/Accordion/Accordion.js +12 -18
  206. package/emotion/cjs/components/Accordion/Accordion.stories.tsx +159 -0
  207. package/emotion/cjs/components/Accordion/index.js +14 -15
  208. package/emotion/cjs/components/Attach/Attach.config.js +26 -267
  209. package/emotion/cjs/components/Attach/Attach.js +11 -11
  210. package/emotion/cjs/components/Attach/Attach.stories.tsx +157 -0
  211. package/emotion/cjs/components/Attach/index.js +7 -6
  212. package/emotion/cjs/components/Autocomplete/Autocomplete.config.js +30 -247
  213. package/emotion/cjs/components/Autocomplete/Autocomplete.js +7 -11
  214. package/emotion/cjs/components/Autocomplete/Autocomplete.stories.tsx +170 -0
  215. package/emotion/cjs/components/Autocomplete/index.js +7 -6
  216. package/emotion/cjs/components/Avatar/Avatar.config.js +31 -197
  217. package/emotion/cjs/components/Avatar/Avatar.js +7 -19
  218. package/emotion/cjs/components/Avatar/Avatar.stories.tsx +74 -0
  219. package/emotion/cjs/components/Avatar/index.js +7 -6
  220. package/emotion/cjs/components/AvatarGroup/AvatarGroup.js +6 -10
  221. package/emotion/cjs/components/AvatarGroup/AvatarGroup.stories.tsx +71 -0
  222. package/emotion/cjs/components/AvatarGroup/index.js +7 -6
  223. package/emotion/cjs/components/Badge/Badge.config.js +30 -145
  224. package/emotion/cjs/components/Badge/Badge.js +11 -11
  225. package/emotion/cjs/components/Badge/Badge.stories.tsx +87 -0
  226. package/emotion/cjs/components/Badge/index.js +7 -6
  227. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +18 -60
  228. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.js +12 -12
  229. package/emotion/cjs/components/Breadcrumbs/Breadcrumbs.stories.tsx +82 -0
  230. package/emotion/cjs/components/Breadcrumbs/index.js +7 -6
  231. package/emotion/cjs/components/Button/Button.config.js +30 -174
  232. package/emotion/cjs/components/Button/Button.js +41 -146
  233. package/emotion/cjs/components/Button/Button.stories.tsx +212 -0
  234. package/emotion/cjs/components/Button/index.js +7 -6
  235. package/emotion/cjs/components/ButtonBase/index.js +7 -6
  236. package/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +38 -228
  237. package/emotion/cjs/components/ButtonGroup/ButtonGroup.js +11 -11
  238. package/emotion/cjs/components/ButtonGroup/ButtonGroup.stories.tsx +109 -0
  239. package/emotion/cjs/components/ButtonGroup/index.js +7 -6
  240. package/emotion/cjs/components/Calendar/Calendar.js +18 -39
  241. package/emotion/cjs/components/Calendar/Calendar.stories.tsx +304 -0
  242. package/emotion/cjs/components/Calendar/CalendarBase.config.js +18 -128
  243. package/emotion/cjs/components/Calendar/CalendarDouble.config.js +18 -128
  244. package/emotion/cjs/components/Calendar/index.js +32 -24
  245. package/emotion/cjs/components/Card/Card.config.js +20 -81
  246. package/emotion/cjs/components/Card/Card.js +23 -22
  247. package/emotion/cjs/components/Card/Card.stories.tsx +281 -0
  248. package/emotion/cjs/components/Card/index.js +20 -18
  249. package/emotion/cjs/components/Cell/Cell.config.js +16 -110
  250. package/emotion/cjs/components/Cell/Cell.js +12 -12
  251. package/emotion/cjs/components/Cell/Cell.stories.tsx +97 -0
  252. package/emotion/cjs/components/Cell/index.js +33 -25
  253. package/emotion/cjs/components/Checkbox/Checkbox.config.js +25 -104
  254. package/emotion/cjs/components/Checkbox/Checkbox.js +11 -12
  255. package/emotion/cjs/components/Checkbox/Checkbox.stories.tsx +232 -0
  256. package/emotion/cjs/components/Checkbox/index.js +7 -6
  257. package/emotion/cjs/components/Chip/Chip.config.js +25 -162
  258. package/emotion/cjs/components/Chip/Chip.js +12 -12
  259. package/emotion/cjs/components/Chip/Chip.stories.tsx +93 -0
  260. package/emotion/cjs/components/Chip/index.js +7 -6
  261. package/emotion/cjs/components/ChipGroup/ChipGroup.config.js +24 -127
  262. package/emotion/cjs/components/ChipGroup/ChipGroup.js +7 -11
  263. package/emotion/cjs/components/ChipGroup/ChipGroup.stories.tsx +79 -0
  264. package/emotion/cjs/components/ChipGroup/index.js +7 -6
  265. package/emotion/cjs/components/Combobox/Combobox.config.js +30 -313
  266. package/emotion/cjs/components/Combobox/Combobox.js +15 -50
  267. package/emotion/cjs/components/Combobox/Combobox.stories.tsx +604 -0
  268. package/emotion/cjs/components/Combobox/index.js +7 -6
  269. package/emotion/cjs/components/Counter/Counter.config.js +21 -95
  270. package/emotion/cjs/components/Counter/Counter.js +11 -11
  271. package/emotion/cjs/components/Counter/Counter.stories.tsx +34 -0
  272. package/emotion/cjs/components/Counter/index.js +15 -16
  273. package/emotion/cjs/components/DatePicker/DatePicker.config.js +24 -264
  274. package/emotion/cjs/components/DatePicker/DatePicker.js +9 -21
  275. package/emotion/cjs/components/DatePicker/DatePicker.stories.tsx +309 -0
  276. package/emotion/cjs/components/DatePicker/index.js +27 -22
  277. package/emotion/cjs/components/Divider/Divider.config.js +27 -109
  278. package/emotion/cjs/components/Divider/Divider.js +11 -11
  279. package/emotion/cjs/components/Divider/Divider.stories.tsx +58 -0
  280. package/emotion/cjs/components/Divider/index.js +15 -16
  281. package/emotion/cjs/components/Drawer/Drawer.config.js +22 -79
  282. package/emotion/cjs/components/Drawer/Drawer.js +29 -31
  283. package/emotion/cjs/components/Drawer/Drawer.stories.tsx +217 -0
  284. package/emotion/cjs/components/Drawer/index.js +26 -21
  285. package/emotion/cjs/components/Dropdown/Dropdown.config.js +18 -94
  286. package/emotion/cjs/components/Dropdown/Dropdown.js +15 -50
  287. package/emotion/cjs/components/Dropdown/Dropdown.stories.tsx +331 -0
  288. package/emotion/cjs/components/Dropdown/index.js +7 -6
  289. package/emotion/cjs/components/Dropzone/Dropzone.config.js +21 -86
  290. package/emotion/cjs/components/Dropzone/Dropzone.js +7 -11
  291. package/emotion/cjs/components/Dropzone/Dropzone.stories.tsx +58 -0
  292. package/emotion/cjs/components/Dropzone/index.js +21 -19
  293. package/emotion/cjs/components/EmptyState/EmptyState.config.js +18 -114
  294. package/emotion/cjs/components/EmptyState/EmptyState.js +7 -19
  295. package/emotion/cjs/components/EmptyState/EmptyState.stories.tsx +43 -0
  296. package/emotion/cjs/components/EmptyState/index.js +7 -6
  297. package/emotion/cjs/components/Flow/Flow.config.js +7 -11
  298. package/emotion/cjs/components/Flow/Flow.js +7 -11
  299. package/emotion/cjs/components/Flow/Flow.stories.tsx +133 -0
  300. package/emotion/cjs/components/Flow/index.js +7 -6
  301. package/emotion/cjs/components/Grid/Grid.config.js +19 -71
  302. package/emotion/cjs/components/Grid/Grid.js +18 -21
  303. package/emotion/cjs/components/Grid/Grid.stories.tsx +119 -0
  304. package/emotion/cjs/components/Grid/index.js +20 -18
  305. package/emotion/cjs/components/IconButton/IconButton.config.js +28 -146
  306. package/emotion/cjs/components/IconButton/IconButton.js +12 -12
  307. package/emotion/cjs/components/IconButton/IconButton.stories.tsx +94 -0
  308. package/emotion/cjs/components/IconButton/index.js +7 -6
  309. package/emotion/cjs/components/Image/Image.component-test.js +91 -0
  310. package/emotion/cjs/components/Image/Image.js +11 -11
  311. package/emotion/cjs/components/Image/Image.stories.tsx +44 -0
  312. package/emotion/cjs/components/Image/index.js +7 -6
  313. package/emotion/cjs/components/Indicator/Indicator.config.js +26 -138
  314. package/emotion/cjs/components/Indicator/Indicator.js +7 -19
  315. package/emotion/cjs/components/Indicator/Indicator.stories.tsx +34 -0
  316. package/emotion/cjs/components/Indicator/index.js +7 -6
  317. package/emotion/cjs/components/Link/Link.config.js +29 -214
  318. package/emotion/cjs/components/Link/Link.js +11 -12
  319. package/emotion/cjs/components/Link/Link.stories.tsx +57 -0
  320. package/emotion/cjs/components/Link/index.js +7 -6
  321. package/emotion/cjs/components/Mask/Mask.js +6 -10
  322. package/emotion/cjs/components/Mask/Mask.stories.tsx +176 -0
  323. package/emotion/cjs/components/Mask/index.js +7 -6
  324. package/emotion/cjs/components/Modal/Modal.config.js +15 -47
  325. package/emotion/cjs/components/Modal/Modal.js +12 -12
  326. package/emotion/cjs/components/Modal/Modal.stories.tsx +426 -0
  327. package/emotion/cjs/components/Modal/index.js +15 -16
  328. package/emotion/cjs/components/Notification/Notification.config.js +26 -163
  329. package/emotion/cjs/components/Notification/Notification.js +23 -38
  330. package/emotion/cjs/components/Notification/Notification.stories.tsx +221 -0
  331. package/emotion/cjs/components/Notification/index.js +27 -22
  332. package/emotion/cjs/components/NumberFormat/NumberFormat.js +13 -10
  333. package/emotion/cjs/components/NumberFormat/NumberFormat.stories.tsx +186 -0
  334. package/emotion/cjs/components/NumberFormat/index.js +7 -6
  335. package/emotion/cjs/components/NumberInput/NumberInput.config.js +34 -154
  336. package/emotion/cjs/components/NumberInput/NumberInput.js +7 -11
  337. package/emotion/cjs/components/NumberInput/NumberInput.stories.tsx +81 -0
  338. package/emotion/cjs/components/NumberInput/index.js +21 -19
  339. package/emotion/cjs/components/Overlay/Overlay.stories.tsx +76 -0
  340. package/emotion/cjs/components/Overlay/index.js +7 -6
  341. package/emotion/cjs/components/Pagination/Pagination.component-test.js +298 -0
  342. package/emotion/cjs/components/Pagination/Pagination.config.js +26 -139
  343. package/emotion/cjs/components/Pagination/Pagination.js +12 -12
  344. package/emotion/cjs/components/Pagination/Pagination.stories.tsx +139 -0
  345. package/emotion/cjs/components/Pagination/index.js +7 -6
  346. package/emotion/cjs/components/Popover/Popover.config.js +15 -43
  347. package/emotion/cjs/components/Popover/Popover.js +7 -11
  348. package/emotion/cjs/components/Popover/Popover.stories.tsx +127 -0
  349. package/emotion/cjs/components/Popover/index.js +7 -6
  350. package/emotion/cjs/components/Popover/style.css +4 -0
  351. package/emotion/cjs/components/Popup/Popup.js +10 -10
  352. package/emotion/cjs/components/Popup/Popup.stories.tsx +171 -0
  353. package/emotion/cjs/components/Popup/index.js +27 -22
  354. package/emotion/cjs/components/Portal/Portal.stories.tsx +57 -0
  355. package/emotion/cjs/components/Portal/index.js +7 -6
  356. package/emotion/cjs/components/Price/Price.config.js +11 -15
  357. package/emotion/cjs/components/Price/Price.js +12 -12
  358. package/emotion/cjs/components/Price/Price.stories.tsx +34 -0
  359. package/emotion/cjs/components/Price/index.js +15 -16
  360. package/emotion/cjs/components/Progress/Progress.config.js +21 -95
  361. package/emotion/cjs/components/Progress/Progress.js +8 -12
  362. package/emotion/cjs/components/Progress/Progress.stories.tsx +32 -0
  363. package/emotion/cjs/components/Progress/index.js +7 -6
  364. package/emotion/cjs/components/Radiobox/Radiobox.config.js +31 -106
  365. package/emotion/cjs/components/Radiobox/Radiobox.js +16 -19
  366. package/emotion/cjs/components/Radiobox/Radiobox.stories.tsx +139 -0
  367. package/emotion/cjs/components/Radiobox/index.js +14 -15
  368. package/emotion/cjs/components/Range/Range.config.js +24 -157
  369. package/emotion/cjs/components/Range/Range.js +11 -11
  370. package/emotion/cjs/components/Range/Range.stories.tsx +343 -0
  371. package/emotion/cjs/components/Range/index.js +15 -16
  372. package/emotion/cjs/components/Rating/Rating.config.js +20 -117
  373. package/emotion/cjs/components/Rating/Rating.js +7 -11
  374. package/emotion/cjs/components/Rating/Rating.stories.tsx +125 -0
  375. package/emotion/cjs/components/Rating/index.js +21 -19
  376. package/emotion/cjs/components/SSRProvider/index.js +7 -6
  377. package/emotion/cjs/components/Segment/Segment.js +32 -27
  378. package/emotion/cjs/components/Segment/Segment.stories.tsx +162 -0
  379. package/emotion/cjs/components/Segment/SegmentGroup.config.js +34 -130
  380. package/emotion/cjs/components/Segment/SegmentItem.config.js +25 -124
  381. package/emotion/cjs/components/Segment/index.js +26 -21
  382. package/emotion/cjs/components/Select/Select.config.js +35 -305
  383. package/emotion/cjs/components/Select/Select.js +15 -50
  384. package/emotion/cjs/components/Select/Select.stories.tsx +642 -0
  385. package/emotion/cjs/components/Select/index.js +7 -6
  386. package/emotion/cjs/components/Select/style.css +37 -0
  387. package/emotion/cjs/components/Sheet/Sheet.config.js +18 -63
  388. package/emotion/cjs/components/Sheet/Sheet.js +12 -12
  389. package/emotion/cjs/components/Sheet/Sheet.stories.tsx +361 -0
  390. package/emotion/cjs/components/Sheet/index.js +15 -16
  391. package/emotion/cjs/components/Skeleton/LineSkeleton.config.js +31 -230
  392. package/emotion/cjs/components/Skeleton/Skeleton.js +20 -25
  393. package/emotion/cjs/components/Skeleton/Skeleton.stories.tsx +116 -0
  394. package/emotion/cjs/components/Skeleton/index.js +26 -21
  395. package/emotion/cjs/components/Slider/Slider.component-test.js +223 -0
  396. package/emotion/cjs/components/Slider/Slider.config.js +22 -147
  397. package/emotion/cjs/components/Slider/Slider.js +13 -12
  398. package/emotion/cjs/components/Slider/Slider.stories.tsx +277 -0
  399. package/emotion/cjs/components/Slider/index.js +7 -6
  400. package/emotion/cjs/components/Spinner/Spinner.config.js +23 -107
  401. package/emotion/cjs/components/Spinner/Spinner.js +15 -23
  402. package/emotion/cjs/components/Spinner/Spinner.stories.tsx +109 -0
  403. package/emotion/cjs/components/Spinner/index.js +7 -6
  404. package/emotion/cjs/components/Steps/Steps.config.js +18 -105
  405. package/emotion/cjs/components/Steps/Steps.js +8 -12
  406. package/emotion/cjs/components/Steps/Steps.stories.tsx +191 -0
  407. package/emotion/cjs/components/Steps/index.js +7 -6
  408. package/emotion/cjs/components/Switch/Switch.config.js +31 -149
  409. package/emotion/cjs/components/Switch/Switch.js +8 -12
  410. package/emotion/cjs/components/Switch/Switch.stories.tsx +100 -0
  411. package/emotion/cjs/components/Switch/index.js +7 -6
  412. package/emotion/cjs/components/Table/Table.config.js +21 -257
  413. package/emotion/cjs/components/Table/Table.js +12 -12
  414. package/emotion/cjs/components/Table/Table.stories.tsx +551 -0
  415. package/emotion/cjs/components/Table/index.js +7 -6
  416. package/emotion/cjs/components/Tabs/TabItem.js +21 -26
  417. package/emotion/cjs/components/Tabs/Tabs.js +21 -26
  418. package/emotion/cjs/components/Tabs/Tabs.stories.tsx +639 -0
  419. package/emotion/cjs/components/Tabs/TabsController.js +16 -15
  420. package/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +30 -230
  421. package/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +37 -266
  422. package/emotion/cjs/components/Tabs/index.js +35 -27
  423. package/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +24 -125
  424. package/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +24 -98
  425. package/emotion/cjs/components/TextArea/TextArea.config.js +42 -367
  426. package/emotion/cjs/components/TextArea/TextArea.js +12 -12
  427. package/emotion/cjs/components/TextArea/TextArea.stories.tsx +228 -0
  428. package/emotion/cjs/components/TextArea/index.js +7 -6
  429. package/emotion/cjs/components/TextField/TextField.config.js +40 -338
  430. package/emotion/cjs/components/TextField/TextField.js +11 -11
  431. package/emotion/cjs/components/TextField/TextField.stories.tsx +260 -0
  432. package/emotion/cjs/components/TextField/index.js +15 -16
  433. package/emotion/cjs/components/Toast/Toast.config.js +35 -127
  434. package/emotion/cjs/components/Toast/Toast.js +14 -26
  435. package/emotion/cjs/components/Toast/Toast.stories.tsx +156 -0
  436. package/emotion/cjs/components/Toast/index.js +20 -18
  437. package/emotion/cjs/components/ToastNew/ToastNew.config.js +21 -80
  438. package/emotion/cjs/components/ToastNew/ToastNew.js +8 -20
  439. package/emotion/cjs/components/ToastNew/ToastNew.stories.tsx +87 -0
  440. package/emotion/cjs/components/ToastNew/index.js +14 -15
  441. package/emotion/cjs/components/Tokens/Colors/Colors.stories.tsx +196 -0
  442. package/emotion/cjs/components/Tokens/Colors/Colors.styles.js +27 -147
  443. package/emotion/cjs/components/Tokens/NumberTokens/CornerRadius.stories.tsx +93 -0
  444. package/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +13 -70
  445. package/emotion/cjs/components/Tokens/NumberTokens/Spacing.stories.tsx +93 -0
  446. package/emotion/cjs/components/Tokens/Typography/Typography.stories.tsx +277 -0
  447. package/emotion/cjs/components/Tokens/Typography/Typography.styles.js +44 -204
  448. package/emotion/cjs/components/Toolbar/Toolbar.config.js +18 -57
  449. package/emotion/cjs/components/Toolbar/Toolbar.js +13 -21
  450. package/emotion/cjs/components/Toolbar/Toolbar.stories.tsx +64 -0
  451. package/emotion/cjs/components/Toolbar/index.js +21 -19
  452. package/emotion/cjs/components/Tooltip/Tooltip.config.js +19 -71
  453. package/emotion/cjs/components/Tooltip/Tooltip.js +7 -11
  454. package/emotion/cjs/components/Tooltip/Tooltip.stories.tsx +152 -0
  455. package/emotion/cjs/components/Tooltip/index.js +7 -6
  456. package/emotion/cjs/components/Tree/Tree.config.js +18 -83
  457. package/emotion/cjs/components/Tree/Tree.js +7 -11
  458. package/emotion/cjs/components/Tree/Tree.stories.tsx +146 -0
  459. package/emotion/cjs/components/Tree/index.js +7 -6
  460. package/emotion/cjs/components/Typography/Body.config.js +47 -161
  461. package/emotion/cjs/components/Typography/Dspl.config.js +31 -105
  462. package/emotion/cjs/components/Typography/Heading.config.js +47 -161
  463. package/emotion/cjs/components/Typography/Text.config.js +39 -133
  464. package/emotion/cjs/components/Typography/Typography.js +59 -116
  465. package/emotion/cjs/components/Typography/Typography.stories.tsx +243 -0
  466. package/emotion/cjs/components/Typography/index.js +106 -62
  467. package/emotion/cjs/components/ViewContainer/ViewContainer.config.js +14 -46
  468. package/emotion/cjs/components/ViewContainer/ViewContainer.js +7 -11
  469. package/emotion/cjs/components/ViewContainer/index.js +7 -6
  470. package/emotion/cjs/index.js +729 -81
  471. package/emotion/cjs/mixins/index.js +20 -61
  472. package/emotion/cjs/tokens/index.js +255 -126
  473. package/emotion/es/components/Accordion/Accordion.config.js +14 -92
  474. package/emotion/es/components/Accordion/Accordion.js +3 -3
  475. package/emotion/es/components/Accordion/Accordion.stories.tsx +159 -0
  476. package/emotion/es/components/Accordion/index.js +1 -1
  477. package/emotion/es/components/Attach/Attach.config.js +21 -258
  478. package/emotion/es/components/Attach/Attach.js +4 -2
  479. package/emotion/es/components/Attach/Attach.stories.tsx +157 -0
  480. package/emotion/es/components/Attach/index.js +1 -1
  481. package/emotion/es/components/Autocomplete/Autocomplete.config.js +25 -238
  482. package/emotion/es/components/Autocomplete/Autocomplete.js +2 -2
  483. package/emotion/es/components/Autocomplete/Autocomplete.stories.tsx +170 -0
  484. package/emotion/es/components/Autocomplete/index.js +1 -1
  485. package/emotion/es/components/Avatar/Avatar.config.js +26 -188
  486. package/emotion/es/components/Avatar/Avatar.js +3 -3
  487. package/emotion/es/components/Avatar/Avatar.stories.tsx +74 -0
  488. package/emotion/es/components/Avatar/index.js +1 -1
  489. package/emotion/es/components/AvatarGroup/AvatarGroup.js +2 -2
  490. package/emotion/es/components/AvatarGroup/AvatarGroup.stories.tsx +71 -0
  491. package/emotion/es/components/AvatarGroup/index.js +1 -1
  492. package/emotion/es/components/Badge/Badge.config.js +25 -136
  493. package/emotion/es/components/Badge/Badge.js +4 -2
  494. package/emotion/es/components/Badge/Badge.stories.tsx +87 -0
  495. package/emotion/es/components/Badge/index.js +1 -1
  496. package/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +13 -51
  497. package/emotion/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
  498. package/emotion/es/components/Breadcrumbs/Breadcrumbs.stories.tsx +82 -0
  499. package/emotion/es/components/Breadcrumbs/index.js +1 -1
  500. package/emotion/es/components/Button/Button.config.js +25 -165
  501. package/emotion/es/components/Button/Button.js +28 -89
  502. package/emotion/es/components/Button/Button.stories.tsx +212 -0
  503. package/emotion/es/components/Button/index.js +1 -1
  504. package/emotion/es/components/ButtonBase/index.js +1 -1
  505. package/emotion/es/components/ButtonGroup/ButtonGroup.config.js +33 -219
  506. package/emotion/es/components/ButtonGroup/ButtonGroup.js +4 -2
  507. package/emotion/es/components/ButtonGroup/ButtonGroup.stories.tsx +109 -0
  508. package/emotion/es/components/ButtonGroup/index.js +1 -1
  509. package/emotion/es/components/Calendar/Calendar.js +12 -12
  510. package/emotion/es/components/Calendar/Calendar.stories.tsx +304 -0
  511. package/emotion/es/components/Calendar/CalendarBase.config.js +13 -119
  512. package/emotion/es/components/Calendar/CalendarDouble.config.js +13 -119
  513. package/emotion/es/components/Calendar/index.js +1 -1
  514. package/emotion/es/components/Card/Card.config.js +15 -72
  515. package/emotion/es/components/Card/Card.js +6 -4
  516. package/emotion/es/components/Card/Card.stories.tsx +281 -0
  517. package/emotion/es/components/Card/index.js +1 -1
  518. package/emotion/es/components/Cell/Cell.config.js +11 -101
  519. package/emotion/es/components/Cell/Cell.js +5 -3
  520. package/emotion/es/components/Cell/Cell.stories.tsx +97 -0
  521. package/emotion/es/components/Cell/index.js +1 -1
  522. package/emotion/es/components/Checkbox/Checkbox.config.js +20 -95
  523. package/emotion/es/components/Checkbox/Checkbox.js +4 -3
  524. package/emotion/es/components/Checkbox/Checkbox.stories.tsx +232 -0
  525. package/emotion/es/components/Checkbox/index.js +1 -1
  526. package/emotion/es/components/Chip/Chip.config.js +20 -153
  527. package/emotion/es/components/Chip/Chip.js +5 -3
  528. package/emotion/es/components/Chip/Chip.stories.tsx +93 -0
  529. package/emotion/es/components/Chip/index.js +1 -1
  530. package/emotion/es/components/ChipGroup/ChipGroup.config.js +19 -118
  531. package/emotion/es/components/ChipGroup/ChipGroup.js +2 -2
  532. package/emotion/es/components/ChipGroup/ChipGroup.stories.tsx +79 -0
  533. package/emotion/es/components/ChipGroup/index.js +1 -1
  534. package/emotion/es/components/Combobox/Combobox.config.js +25 -304
  535. package/emotion/es/components/Combobox/Combobox.js +9 -36
  536. package/emotion/es/components/Combobox/Combobox.stories.tsx +604 -0
  537. package/emotion/es/components/Combobox/index.js +1 -1
  538. package/emotion/es/components/Counter/Counter.config.js +16 -86
  539. package/emotion/es/components/Counter/Counter.js +4 -2
  540. package/emotion/es/components/Counter/Counter.stories.tsx +34 -0
  541. package/emotion/es/components/Counter/index.js +1 -1
  542. package/emotion/es/components/DatePicker/DatePicker.config.js +19 -255
  543. package/emotion/es/components/DatePicker/DatePicker.js +4 -4
  544. package/emotion/es/components/DatePicker/DatePicker.stories.tsx +309 -0
  545. package/emotion/es/components/DatePicker/index.js +1 -1
  546. package/emotion/es/components/Divider/Divider.config.js +22 -100
  547. package/emotion/es/components/Divider/Divider.js +4 -2
  548. package/emotion/es/components/Divider/Divider.stories.tsx +58 -0
  549. package/emotion/es/components/Divider/index.js +1 -1
  550. package/emotion/es/components/Drawer/Drawer.config.js +17 -70
  551. package/emotion/es/components/Drawer/Drawer.js +16 -8
  552. package/emotion/es/components/Drawer/Drawer.stories.tsx +217 -0
  553. package/emotion/es/components/Drawer/index.js +1 -1
  554. package/emotion/es/components/Dropdown/Dropdown.config.js +13 -85
  555. package/emotion/es/components/Dropdown/Dropdown.js +9 -36
  556. package/emotion/es/components/Dropdown/Dropdown.stories.tsx +331 -0
  557. package/emotion/es/components/Dropdown/index.js +1 -1
  558. package/emotion/es/components/Dropzone/Dropzone.config.js +16 -77
  559. package/emotion/es/components/Dropzone/Dropzone.js +2 -2
  560. package/emotion/es/components/Dropzone/Dropzone.stories.tsx +58 -0
  561. package/emotion/es/components/Dropzone/index.js +1 -1
  562. package/emotion/es/components/EmptyState/EmptyState.config.js +13 -105
  563. package/emotion/es/components/EmptyState/EmptyState.js +2 -2
  564. package/emotion/es/components/EmptyState/EmptyState.stories.tsx +43 -0
  565. package/emotion/es/components/EmptyState/index.js +1 -1
  566. package/emotion/es/components/Flow/Flow.config.js +3 -3
  567. package/emotion/es/components/Flow/Flow.js +2 -2
  568. package/emotion/es/components/Flow/Flow.stories.tsx +133 -0
  569. package/emotion/es/components/Flow/index.js +1 -1
  570. package/emotion/es/components/Grid/Grid.config.js +14 -62
  571. package/emotion/es/components/Grid/Grid.js +2 -2
  572. package/emotion/es/components/Grid/Grid.stories.tsx +119 -0
  573. package/emotion/es/components/Grid/index.js +1 -1
  574. package/emotion/es/components/IconButton/IconButton.config.js +23 -137
  575. package/emotion/es/components/IconButton/IconButton.js +5 -3
  576. package/emotion/es/components/IconButton/IconButton.stories.tsx +94 -0
  577. package/emotion/es/components/IconButton/index.js +1 -1
  578. package/emotion/es/components/Image/Image.component-test.js +85 -0
  579. package/emotion/es/components/Image/Image.js +5 -3
  580. package/emotion/es/components/Image/Image.stories.tsx +44 -0
  581. package/emotion/es/components/Image/index.js +1 -1
  582. package/emotion/es/components/Indicator/Indicator.config.js +21 -129
  583. package/emotion/es/components/Indicator/Indicator.js +3 -3
  584. package/emotion/es/components/Indicator/Indicator.stories.tsx +34 -0
  585. package/emotion/es/components/Indicator/index.js +1 -1
  586. package/emotion/es/components/Link/Link.config.js +24 -205
  587. package/emotion/es/components/Link/Link.js +4 -3
  588. package/emotion/es/components/Link/Link.stories.tsx +57 -0
  589. package/emotion/es/components/Link/index.js +1 -1
  590. package/emotion/es/components/Mask/Mask.js +1 -1
  591. package/emotion/es/components/Mask/Mask.stories.tsx +176 -0
  592. package/emotion/es/components/Mask/index.js +1 -1
  593. package/emotion/es/components/Modal/Modal.config.js +10 -38
  594. package/emotion/es/components/Modal/Modal.js +5 -3
  595. package/emotion/es/components/Modal/Modal.stories.tsx +426 -0
  596. package/emotion/es/components/Modal/index.js +1 -1
  597. package/emotion/es/components/Notification/Notification.config.js +21 -154
  598. package/emotion/es/components/Notification/Notification.js +15 -11
  599. package/emotion/es/components/Notification/Notification.stories.tsx +221 -0
  600. package/emotion/es/components/Notification/index.js +1 -1
  601. package/emotion/es/components/NumberFormat/NumberFormat.js +9 -1
  602. package/emotion/es/components/NumberFormat/NumberFormat.stories.tsx +186 -0
  603. package/emotion/es/components/NumberFormat/index.js +1 -1
  604. package/emotion/es/components/NumberInput/NumberInput.config.js +29 -145
  605. package/emotion/es/components/NumberInput/NumberInput.js +2 -2
  606. package/emotion/es/components/NumberInput/NumberInput.stories.tsx +81 -0
  607. package/emotion/es/components/NumberInput/index.js +1 -1
  608. package/emotion/es/components/Overlay/Overlay.stories.tsx +76 -0
  609. package/emotion/es/components/Overlay/index.js +1 -1
  610. package/emotion/es/components/Pagination/Pagination.component-test.js +293 -0
  611. package/emotion/es/components/Pagination/Pagination.config.js +21 -130
  612. package/emotion/es/components/Pagination/Pagination.js +5 -3
  613. package/emotion/es/components/Pagination/Pagination.stories.tsx +139 -0
  614. package/emotion/es/components/Pagination/index.js +1 -1
  615. package/emotion/es/components/Popover/Popover.config.js +10 -34
  616. package/emotion/es/components/Popover/Popover.js +2 -2
  617. package/emotion/es/components/Popover/Popover.stories.tsx +127 -0
  618. package/emotion/es/components/Popover/index.js +1 -1
  619. package/emotion/es/components/Popover/style.css +4 -0
  620. package/emotion/es/components/Popup/Popup.js +4 -2
  621. package/emotion/es/components/Popup/Popup.stories.tsx +171 -0
  622. package/emotion/es/components/Popup/index.js +1 -1
  623. package/emotion/es/components/Portal/Portal.stories.tsx +57 -0
  624. package/emotion/es/components/Portal/index.js +1 -1
  625. package/emotion/es/components/Price/Price.config.js +7 -7
  626. package/emotion/es/components/Price/Price.js +5 -3
  627. package/emotion/es/components/Price/Price.stories.tsx +34 -0
  628. package/emotion/es/components/Price/index.js +1 -1
  629. package/emotion/es/components/Progress/Progress.config.js +16 -86
  630. package/emotion/es/components/Progress/Progress.js +3 -3
  631. package/emotion/es/components/Progress/Progress.stories.tsx +32 -0
  632. package/emotion/es/components/Progress/index.js +1 -1
  633. package/emotion/es/components/Radiobox/Radiobox.config.js +26 -97
  634. package/emotion/es/components/Radiobox/Radiobox.js +5 -4
  635. package/emotion/es/components/Radiobox/Radiobox.stories.tsx +139 -0
  636. package/emotion/es/components/Radiobox/index.js +1 -1
  637. package/emotion/es/components/Range/Range.config.js +19 -148
  638. package/emotion/es/components/Range/Range.js +4 -2
  639. package/emotion/es/components/Range/Range.stories.tsx +343 -0
  640. package/emotion/es/components/Range/index.js +1 -1
  641. package/emotion/es/components/Rating/Rating.config.js +15 -108
  642. package/emotion/es/components/Rating/Rating.js +2 -2
  643. package/emotion/es/components/Rating/Rating.stories.tsx +125 -0
  644. package/emotion/es/components/Rating/index.js +1 -1
  645. package/emotion/es/components/SSRProvider/index.js +1 -1
  646. package/emotion/es/components/Segment/Segment.js +10 -5
  647. package/emotion/es/components/Segment/Segment.stories.tsx +162 -0
  648. package/emotion/es/components/Segment/SegmentGroup.config.js +29 -121
  649. package/emotion/es/components/Segment/SegmentItem.config.js +20 -115
  650. package/emotion/es/components/Segment/index.js +1 -1
  651. package/emotion/es/components/Select/Select.config.js +29 -295
  652. package/emotion/es/components/Select/Select.js +9 -36
  653. package/emotion/es/components/Select/Select.stories.tsx +642 -0
  654. package/emotion/es/components/Select/index.js +1 -1
  655. package/emotion/es/components/Select/style.css +37 -0
  656. package/emotion/es/components/Sheet/Sheet.config.js +13 -54
  657. package/emotion/es/components/Sheet/Sheet.js +5 -3
  658. package/emotion/es/components/Sheet/Sheet.stories.tsx +361 -0
  659. package/emotion/es/components/Sheet/index.js +1 -1
  660. package/emotion/es/components/Skeleton/LineSkeleton.config.js +26 -221
  661. package/emotion/es/components/Skeleton/Skeleton.js +4 -4
  662. package/emotion/es/components/Skeleton/Skeleton.stories.tsx +116 -0
  663. package/emotion/es/components/Skeleton/index.js +1 -1
  664. package/emotion/es/components/Slider/Slider.component-test.js +220 -0
  665. package/emotion/es/components/Slider/Slider.config.js +17 -138
  666. package/emotion/es/components/Slider/Slider.js +5 -3
  667. package/emotion/es/components/Slider/Slider.stories.tsx +277 -0
  668. package/emotion/es/components/Slider/index.js +1 -1
  669. package/emotion/es/components/Spinner/Spinner.config.js +18 -98
  670. package/emotion/es/components/Spinner/Spinner.js +6 -8
  671. package/emotion/es/components/Spinner/Spinner.stories.tsx +109 -0
  672. package/emotion/es/components/Spinner/index.js +1 -1
  673. package/emotion/es/components/Steps/Steps.config.js +13 -96
  674. package/emotion/es/components/Steps/Steps.js +3 -3
  675. package/emotion/es/components/Steps/Steps.stories.tsx +191 -0
  676. package/emotion/es/components/Steps/index.js +1 -1
  677. package/emotion/es/components/Switch/Switch.config.js +26 -140
  678. package/emotion/es/components/Switch/Switch.js +3 -3
  679. package/emotion/es/components/Switch/Switch.stories.tsx +100 -0
  680. package/emotion/es/components/Switch/index.js +1 -1
  681. package/emotion/es/components/Table/Table.config.js +16 -248
  682. package/emotion/es/components/Table/Table.js +5 -3
  683. package/emotion/es/components/Table/Table.stories.tsx +551 -0
  684. package/emotion/es/components/Table/index.js +1 -1
  685. package/emotion/es/components/Tabs/TabItem.js +11 -10
  686. package/emotion/es/components/Tabs/Tabs.js +11 -10
  687. package/emotion/es/components/Tabs/Tabs.stories.tsx +639 -0
  688. package/emotion/es/components/Tabs/TabsController.js +7 -5
  689. package/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +25 -221
  690. package/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -257
  691. package/emotion/es/components/Tabs/index.js +1 -1
  692. package/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +19 -116
  693. package/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +19 -89
  694. package/emotion/es/components/TextArea/TextArea.config.js +37 -358
  695. package/emotion/es/components/TextArea/TextArea.js +5 -3
  696. package/emotion/es/components/TextArea/TextArea.stories.tsx +228 -0
  697. package/emotion/es/components/TextArea/index.js +1 -1
  698. package/emotion/es/components/TextField/TextField.config.js +35 -329
  699. package/emotion/es/components/TextField/TextField.js +4 -2
  700. package/emotion/es/components/TextField/TextField.stories.tsx +260 -0
  701. package/emotion/es/components/TextField/index.js +1 -1
  702. package/emotion/es/components/Toast/Toast.config.js +30 -118
  703. package/emotion/es/components/Toast/Toast.js +4 -4
  704. package/emotion/es/components/Toast/Toast.stories.tsx +156 -0
  705. package/emotion/es/components/Toast/index.js +1 -1
  706. package/emotion/es/components/ToastNew/ToastNew.config.js +16 -71
  707. package/emotion/es/components/ToastNew/ToastNew.js +3 -3
  708. package/emotion/es/components/ToastNew/ToastNew.stories.tsx +87 -0
  709. package/emotion/es/components/ToastNew/index.js +1 -1
  710. package/emotion/es/components/Tokens/Colors/Colors.stories.tsx +196 -0
  711. package/emotion/es/components/Tokens/Colors/Colors.styles.js +19 -90
  712. package/emotion/es/components/Tokens/NumberTokens/CornerRadius.stories.tsx +93 -0
  713. package/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +8 -37
  714. package/emotion/es/components/Tokens/NumberTokens/Spacing.stories.tsx +93 -0
  715. package/emotion/es/components/Tokens/Typography/Typography.stories.tsx +277 -0
  716. package/emotion/es/components/Tokens/Typography/Typography.styles.js +36 -135
  717. package/emotion/es/components/Toolbar/Toolbar.config.js +13 -48
  718. package/emotion/es/components/Toolbar/Toolbar.js +6 -4
  719. package/emotion/es/components/Toolbar/Toolbar.stories.tsx +64 -0
  720. package/emotion/es/components/Toolbar/index.js +1 -1
  721. package/emotion/es/components/Tooltip/Tooltip.config.js +14 -62
  722. package/emotion/es/components/Tooltip/Tooltip.js +2 -2
  723. package/emotion/es/components/Tooltip/Tooltip.stories.tsx +152 -0
  724. package/emotion/es/components/Tooltip/index.js +1 -1
  725. package/emotion/es/components/Tree/Tree.config.js +13 -74
  726. package/emotion/es/components/Tree/Tree.js +2 -2
  727. package/emotion/es/components/Tree/Tree.stories.tsx +146 -0
  728. package/emotion/es/components/Tree/index.js +1 -1
  729. package/emotion/es/components/Typography/Body.config.js +38 -131
  730. package/emotion/es/components/Typography/Dspl.config.js +24 -83
  731. package/emotion/es/components/Typography/Heading.config.js +38 -131
  732. package/emotion/es/components/Typography/Text.config.js +31 -107
  733. package/emotion/es/components/Typography/Typography.js +35 -35
  734. package/emotion/es/components/Typography/Typography.stories.tsx +243 -0
  735. package/emotion/es/components/Typography/index.js +1 -1
  736. package/emotion/es/components/ViewContainer/ViewContainer.config.js +8 -36
  737. package/emotion/es/components/ViewContainer/ViewContainer.js +2 -2
  738. package/emotion/es/components/ViewContainer/index.js +1 -1
  739. package/emotion/es/index.js +1 -1
  740. package/emotion/es/mixins/index.js +1 -1
  741. package/emotion/es/tokens/index.js +1 -1
  742. package/es/components/Accordion/Accordion.config.js +14 -92
  743. package/es/components/Accordion/Accordion.js +3 -3
  744. package/es/components/Accordion/index.js +1 -1
  745. package/es/components/Attach/Attach.config.js +21 -258
  746. package/es/components/Attach/Attach.js +4 -2
  747. package/es/components/Attach/index.js +1 -1
  748. package/es/components/Autocomplete/Autocomplete.config.js +25 -238
  749. package/es/components/Autocomplete/Autocomplete.js +2 -2
  750. package/es/components/Autocomplete/index.js +1 -1
  751. package/es/components/Avatar/Avatar.config.js +26 -188
  752. package/es/components/Avatar/Avatar.js +3 -3
  753. package/es/components/Avatar/index.js +1 -1
  754. package/es/components/AvatarGroup/AvatarGroup.js +2 -2
  755. package/es/components/AvatarGroup/index.js +1 -1
  756. package/es/components/Badge/Badge.config.js +25 -136
  757. package/es/components/Badge/Badge.js +4 -2
  758. package/es/components/Badge/index.js +1 -1
  759. package/es/components/Breadcrumbs/Breadcrumbs.config.js +13 -51
  760. package/es/components/Breadcrumbs/Breadcrumbs.js +5 -3
  761. package/es/components/Breadcrumbs/index.js +1 -1
  762. package/es/components/Button/Button.config.js +25 -165
  763. package/es/components/Button/Button.js +28 -89
  764. package/es/components/Button/index.js +1 -1
  765. package/es/components/ButtonBase/index.js +1 -1
  766. package/es/components/ButtonGroup/ButtonGroup.config.js +33 -219
  767. package/es/components/ButtonGroup/ButtonGroup.js +4 -2
  768. package/es/components/ButtonGroup/index.js +1 -1
  769. package/es/components/Calendar/Calendar.js +12 -12
  770. package/es/components/Calendar/CalendarBase.config.js +13 -119
  771. package/es/components/Calendar/CalendarDouble.config.js +13 -119
  772. package/es/components/Calendar/index.js +1 -1
  773. package/es/components/Card/Card.config.js +15 -72
  774. package/es/components/Card/Card.js +6 -4
  775. package/es/components/Card/index.js +1 -1
  776. package/es/components/Cell/Cell.config.js +11 -101
  777. package/es/components/Cell/Cell.js +5 -3
  778. package/es/components/Cell/index.js +1 -1
  779. package/es/components/Checkbox/Checkbox.config.js +20 -95
  780. package/es/components/Checkbox/Checkbox.js +4 -3
  781. package/es/components/Checkbox/index.js +1 -1
  782. package/es/components/Chip/Chip.config.js +20 -153
  783. package/es/components/Chip/Chip.js +5 -3
  784. package/es/components/Chip/index.js +1 -1
  785. package/es/components/ChipGroup/ChipGroup.config.js +19 -118
  786. package/es/components/ChipGroup/ChipGroup.js +2 -2
  787. package/es/components/ChipGroup/index.js +1 -1
  788. package/es/components/Combobox/Combobox.config.js +25 -304
  789. package/es/components/Combobox/Combobox.js +9 -36
  790. package/es/components/Combobox/index.js +1 -1
  791. package/es/components/Counter/Counter.config.js +16 -86
  792. package/es/components/Counter/Counter.js +4 -2
  793. package/es/components/Counter/index.js +1 -1
  794. package/es/components/DatePicker/DatePicker.config.js +19 -255
  795. package/es/components/DatePicker/DatePicker.js +4 -4
  796. package/es/components/DatePicker/index.js +1 -1
  797. package/es/components/Divider/Divider.config.js +22 -100
  798. package/es/components/Divider/Divider.js +4 -2
  799. package/es/components/Divider/index.js +1 -1
  800. package/es/components/Drawer/Drawer.config.js +17 -70
  801. package/es/components/Drawer/Drawer.js +16 -8
  802. package/es/components/Drawer/index.js +1 -1
  803. package/es/components/Dropdown/Dropdown.config.js +13 -85
  804. package/es/components/Dropdown/Dropdown.js +9 -36
  805. package/es/components/Dropdown/index.js +1 -1
  806. package/es/components/Dropzone/Dropzone.config.js +16 -77
  807. package/es/components/Dropzone/Dropzone.js +2 -2
  808. package/es/components/Dropzone/index.js +1 -1
  809. package/es/components/EmptyState/EmptyState.config.js +13 -105
  810. package/es/components/EmptyState/EmptyState.js +2 -2
  811. package/es/components/EmptyState/index.js +1 -1
  812. package/es/components/Flow/Flow.config.js +3 -3
  813. package/es/components/Flow/Flow.js +2 -2
  814. package/es/components/Flow/index.js +1 -1
  815. package/es/components/Grid/Grid.config.js +14 -62
  816. package/es/components/Grid/Grid.js +2 -2
  817. package/es/components/Grid/index.js +1 -1
  818. package/es/components/IconButton/IconButton.config.js +23 -137
  819. package/es/components/IconButton/IconButton.js +5 -3
  820. package/es/components/IconButton/index.js +1 -1
  821. package/es/components/Image/Image.component-test.js +86 -0
  822. package/es/components/Image/Image.js +5 -3
  823. package/es/components/Image/index.js +1 -1
  824. package/es/components/Indicator/Indicator.config.js +21 -129
  825. package/es/components/Indicator/Indicator.js +3 -3
  826. package/es/components/Indicator/index.js +1 -1
  827. package/es/components/Link/Link.config.js +24 -205
  828. package/es/components/Link/Link.js +4 -3
  829. package/es/components/Link/index.js +1 -1
  830. package/es/components/Mask/Mask.js +1 -1
  831. package/es/components/Mask/index.js +1 -1
  832. package/es/components/Modal/Modal.config.js +10 -38
  833. package/es/components/Modal/Modal.js +5 -3
  834. package/es/components/Modal/index.js +1 -1
  835. package/es/components/Notification/Notification.config.js +21 -154
  836. package/es/components/Notification/Notification.js +15 -11
  837. package/es/components/Notification/index.js +1 -1
  838. package/es/components/NumberFormat/NumberFormat.js +9 -1
  839. package/es/components/NumberFormat/index.js +1 -1
  840. package/es/components/NumberInput/NumberInput.config.js +29 -145
  841. package/es/components/NumberInput/NumberInput.js +2 -2
  842. package/es/components/NumberInput/index.js +1 -1
  843. package/es/components/Overlay/index.js +1 -1
  844. package/es/components/Pagination/Pagination.component-test.js +293 -0
  845. package/es/components/Pagination/Pagination.config.js +21 -130
  846. package/es/components/Pagination/Pagination.js +5 -3
  847. package/es/components/Pagination/index.js +1 -1
  848. package/es/components/Popover/Popover.config.js +10 -34
  849. package/es/components/Popover/Popover.js +2 -2
  850. package/es/components/Popover/index.js +1 -1
  851. package/es/components/Popup/Popup.js +4 -2
  852. package/es/components/Popup/index.js +1 -1
  853. package/es/components/Portal/index.js +1 -1
  854. package/es/components/Price/Price.config.js +7 -7
  855. package/es/components/Price/Price.js +5 -3
  856. package/es/components/Price/index.js +1 -1
  857. package/es/components/Progress/Progress.config.js +16 -86
  858. package/es/components/Progress/Progress.js +3 -3
  859. package/es/components/Progress/index.js +1 -1
  860. package/es/components/Radiobox/Radiobox.config.js +26 -97
  861. package/es/components/Radiobox/Radiobox.js +5 -4
  862. package/es/components/Radiobox/index.js +1 -1
  863. package/es/components/Range/Range.config.js +19 -148
  864. package/es/components/Range/Range.js +4 -2
  865. package/es/components/Range/index.js +1 -1
  866. package/es/components/Rating/Rating.config.js +15 -108
  867. package/es/components/Rating/Rating.js +2 -2
  868. package/es/components/Rating/index.js +1 -1
  869. package/es/components/SSRProvider/index.js +1 -1
  870. package/es/components/Segment/Segment.js +10 -5
  871. package/es/components/Segment/SegmentGroup.config.js +29 -121
  872. package/es/components/Segment/SegmentItem.config.js +20 -115
  873. package/es/components/Segment/index.js +1 -1
  874. package/es/components/Select/Select.config.js +29 -295
  875. package/es/components/Select/Select.js +9 -36
  876. package/es/components/Select/index.js +1 -1
  877. package/es/components/Sheet/Sheet.config.js +13 -54
  878. package/es/components/Sheet/Sheet.js +5 -3
  879. package/es/components/Sheet/index.js +1 -1
  880. package/es/components/Skeleton/LineSkeleton.config.js +26 -221
  881. package/es/components/Skeleton/Skeleton.js +4 -4
  882. package/es/components/Skeleton/index.js +1 -1
  883. package/es/components/Slider/Slider.component-test.js +220 -0
  884. package/es/components/Slider/Slider.config.js +17 -138
  885. package/es/components/Slider/Slider.js +5 -3
  886. package/es/components/Slider/index.js +1 -1
  887. package/es/components/Spinner/Spinner.config.js +18 -98
  888. package/es/components/Spinner/Spinner.js +6 -8
  889. package/es/components/Spinner/index.js +1 -1
  890. package/es/components/Steps/Steps.config.js +13 -96
  891. package/es/components/Steps/Steps.js +3 -3
  892. package/es/components/Steps/index.js +1 -1
  893. package/es/components/Switch/Switch.config.js +26 -140
  894. package/es/components/Switch/Switch.js +3 -3
  895. package/es/components/Switch/index.js +1 -1
  896. package/es/components/Table/Table.config.js +16 -248
  897. package/es/components/Table/Table.js +5 -3
  898. package/es/components/Table/index.js +1 -1
  899. package/es/components/Tabs/TabItem.js +11 -10
  900. package/es/components/Tabs/Tabs.js +11 -10
  901. package/es/components/Tabs/TabsController.js +7 -5
  902. package/es/components/Tabs/horizontal/HorizontalTabItem.config.js +25 -221
  903. package/es/components/Tabs/horizontal/HorizontalTabs.config.js +32 -257
  904. package/es/components/Tabs/index.js +1 -1
  905. package/es/components/Tabs/vertical/VerticalTabItem.config.js +19 -116
  906. package/es/components/Tabs/vertical/VerticalTabs.config.js +19 -89
  907. package/es/components/TextArea/TextArea.config.js +37 -358
  908. package/es/components/TextArea/TextArea.js +5 -3
  909. package/es/components/TextArea/index.js +1 -1
  910. package/es/components/TextField/TextField.config.js +35 -329
  911. package/es/components/TextField/TextField.js +4 -2
  912. package/es/components/TextField/index.js +1 -1
  913. package/es/components/Toast/Toast.config.js +30 -118
  914. package/es/components/Toast/Toast.js +4 -4
  915. package/es/components/Toast/index.js +1 -1
  916. package/es/components/ToastNew/ToastNew.config.js +16 -71
  917. package/es/components/ToastNew/ToastNew.js +3 -3
  918. package/es/components/ToastNew/index.js +1 -1
  919. package/es/components/Tokens/Colors/Colors.styles.js +43 -90
  920. package/es/components/Tokens/NumberTokens/NumberTokens.styles.js +18 -37
  921. package/es/components/Tokens/Typography/Typography.styles.js +68 -135
  922. package/es/components/Toolbar/Toolbar.config.js +13 -48
  923. package/es/components/Toolbar/Toolbar.js +6 -4
  924. package/es/components/Toolbar/index.js +1 -1
  925. package/es/components/Tooltip/Tooltip.config.js +14 -62
  926. package/es/components/Tooltip/Tooltip.js +2 -2
  927. package/es/components/Tooltip/index.js +1 -1
  928. package/es/components/Tree/Tree.config.js +13 -74
  929. package/es/components/Tree/Tree.js +2 -2
  930. package/es/components/Tree/index.js +1 -1
  931. package/es/components/Typography/Body.config.js +38 -131
  932. package/es/components/Typography/Dspl.config.js +24 -83
  933. package/es/components/Typography/Heading.config.js +38 -131
  934. package/es/components/Typography/Text.config.js +31 -107
  935. package/es/components/Typography/Typography.js +35 -35
  936. package/es/components/Typography/index.js +1 -1
  937. package/es/components/ViewContainer/ViewContainer.config.js +8 -36
  938. package/es/components/ViewContainer/ViewContainer.js +2 -2
  939. package/es/components/ViewContainer/index.js +1 -1
  940. package/es/index.js +1 -1
  941. package/es/mixins/index.js +1 -1
  942. package/es/tokens/index.js +1 -1
  943. package/index.js +729 -81
  944. package/mixins/index.js +20 -61
  945. package/package.json +10 -10
  946. package/tokens/index.js +255 -126
  947. package/emotion/cjs/helpers/index.js +0 -25
  948. /package/emotion/{es/helpers/index.js → cjs/helpers/index.ts} +0 -0
  949. /package/{es/helpers/index.js → emotion/es/helpers/index.ts} +0 -0
@@ -1,122 +1,23 @@
1
- function _tagged_template_literal(strings, raw) {
2
- if (!raw) {
3
- raw = strings.slice(0);
4
- }
5
- return Object.freeze(Object.defineProperties(strings, {
6
- raw: {
7
- value: Object.freeze(raw)
8
- }
9
- }));
10
- }
11
- function _templateObject() {
12
- var data = _tagged_template_literal([
13
- "\n ",
14
- ": var(--inverse-text-primary);\n ",
15
- ": var(--surface-solid-default);\n ",
16
- ": var(--inverse-text-primary);\n ",
17
- ": var(--surface-solid-default);\n ",
18
- ": var(--inverse-text-primary);\n ",
19
- ": var(--surface-solid-default);\n "
20
- ]);
21
- _templateObject = function _templateObject() {
22
- return data;
23
- };
24
- return data;
25
- }
26
- function _templateObject1() {
27
- var data = _tagged_template_literal([
28
- "\n ",
29
- ": var(--text-primary);\n ",
30
- ": var(--surface-solid-primary);\n ",
31
- ": var(--text-primary);\n ",
32
- ": var(--surface-solid-primary);\n ",
33
- ": var(--text-primary);\n ",
34
- ": var(--surface-solid-primary);\n "
35
- ]);
36
- _templateObject1 = function _templateObject() {
37
- return data;
38
- };
39
- return data;
40
- }
41
- function _templateObject2() {
42
- var data = _tagged_template_literal([
43
- "\n ",
44
- ": var(--on-dark-text-primary);\n ",
45
- ": var(--surface-accent);\n ",
46
- ": var(--on-dark-text-primary);\n ",
47
- ": var(--surface-accent);\n ",
48
- ": var(--on-dark-text-primary);\n ",
49
- ": var(--surface-accent);\n "
50
- ]);
51
- _templateObject2 = function _templateObject() {
52
- return data;
53
- };
54
- return data;
55
- }
56
- function _templateObject3() {
57
- var data = _tagged_template_literal([
58
- "\n ",
59
- ": 0.5rem;\n ",
60
- ": auto;\n ",
61
- ": 2.5rem;\n ",
62
- ": 0 1rem;\n\n ",
63
- ": var(--plasma-typo-body-m-font-family);\n ",
64
- ": var(--plasma-typo-body-m-font-size);\n ",
65
- ": var(--plasma-typo-body-m-font-style);\n ",
66
- ": var(--plasma-typo-body-m-font-weight);\n ",
67
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
68
- ": var(--plasma-typo-body-m-line-height);\n\n ",
69
- ": -0.25rem;\n ",
70
- ": 0.25rem;\n ",
71
- ": 0.5rem;\n ",
72
- ": -0.25rem;\n\n ",
73
- ": 1.02;\n ",
74
- ": 0.98;\n\n ",
75
- ": 1.5rem;\n "
76
- ]);
77
- _templateObject3 = function _templateObject() {
78
- return data;
79
- };
80
- return data;
81
- }
82
- function _templateObject4() {
83
- var data = _tagged_template_literal([
84
- "\n ",
85
- ": 0.125rem;\n "
86
- ]);
87
- _templateObject4 = function _templateObject() {
88
- return data;
89
- };
90
- return data;
91
- }
92
- function _templateObject5() {
93
- var data = _tagged_template_literal([
94
- "\n ",
95
- ": 0.5rem;\n "
96
- ]);
97
- _templateObject5 = function _templateObject() {
98
- return data;
99
- };
100
- return data;
101
- }
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
102
3
  import { css, chipGroupTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
103
4
  export var config = {
104
- defaults: {
105
- view: 'default',
106
- size: 's'
5
+ defaults: {
6
+ view: 'default',
7
+ size: 's'
8
+ },
9
+ variations: {
10
+ view: {
11
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n "])), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
12
+ secondary: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--text-primary);\n ", ": var(--surface-solid-primary);\n "])), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
13
+ accent: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n "])), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive)
14
+ },
15
+ size: {
16
+ s: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": auto;\n ", ": 2.5rem;\n ", ": 0 1rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": -0.25rem;\n ", ": 0.25rem;\n ", ": 0.5rem;\n ", ": -0.25rem;\n\n ", ": 1.02;\n ", ": 0.98;\n\n ", ": 1.5rem;\n "])), tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipScaleHover, tokens.chipScaleActive, tokens.chipCloseIconSize)
107
17
  },
108
- variations: {
109
- view: {
110
- default: css(_templateObject(), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
111
- secondary: css(_templateObject1(), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive),
112
- accent: css(_templateObject2(), tokens.chipColor, tokens.chipBackground, tokens.chipColorHover, tokens.chipBackgroundHover, tokens.chipColorActive, tokens.chipBackgroundActive)
113
- },
114
- size: {
115
- s: css(_templateObject3(), tokens.chipBorderRadius, tokens.chipWidth, tokens.chipHeight, tokens.chipPadding, tokens.chipFontFamily, tokens.chipFontSize, tokens.chipFontStyle, tokens.chipFontWeight, tokens.chipLetterSpacing, tokens.chipLineHeight, tokens.chipLeftContentMarginLeft, tokens.chipLeftContentMarginRight, tokens.chipClearContentMarginLeft, tokens.chipClearContentMarginRight, tokens.chipScaleHover, tokens.chipScaleActive, tokens.chipCloseIconSize)
116
- },
117
- gap: {
118
- dense: css(_templateObject4(), tokens.chipGroupItemsGap),
119
- wide: css(_templateObject5(), tokens.chipGroupItemsGap)
120
- }
18
+ gap: {
19
+ dense: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n "])), tokens.chipGroupItemsGap),
20
+ wide: /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n "])), tokens.chipGroupItemsGap)
121
21
  }
122
- };
22
+ }
23
+ };
@@ -1,4 +1,4 @@
1
1
  import { chipGroupConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/emotion';
2
2
  import { config } from './ChipGroup.config';
3
- var mergedConfig = mergeConfig(chipGroupConfig, config);
4
- export var ChipGroup = component(mergedConfig);
3
+ var mergedConfig = /*#__PURE__*/mergeConfig(chipGroupConfig, config);
4
+ export var ChipGroup = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,79 @@
1
+ import React from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+ import { InSpacingDecorator, disableProps } from '@salutejs/plasma-sb-utils';
5
+
6
+ import { Chip } from '../Chip/Chip';
7
+
8
+ import { ChipGroup } from './ChipGroup';
9
+
10
+ type StoryProps = ComponentProps<typeof ChipGroup> & { itemsCount?: number };
11
+ type Story = StoryObj<StoryProps>;
12
+
13
+ const views = ['default', 'accent', 'secondary'];
14
+ const gapValues = ['dense', 'wide'];
15
+
16
+ const meta: Meta<typeof ChipGroup> = {
17
+ title: 'Data Display/ChipGroup',
18
+ decorators: [InSpacingDecorator],
19
+ argTypes: {
20
+ view: {
21
+ options: views,
22
+ control: { type: 'select' },
23
+ if: { arg: 'isCommonChipStyles', truthy: true },
24
+ },
25
+ gap: {
26
+ options: gapValues,
27
+ control: {
28
+ type: 'select',
29
+ },
30
+ },
31
+ ...disableProps(['size']),
32
+ },
33
+ };
34
+
35
+ export default meta;
36
+
37
+ export const Default: Story = {
38
+ args: {
39
+ gap: 'dense',
40
+ itemsCount: 5,
41
+ isWrapped: false,
42
+ view: 'default',
43
+ size: 's',
44
+ isCommonChipStyles: true,
45
+ },
46
+ argTypes: {
47
+ ...disableProps(['isCommonChipStyles']),
48
+ },
49
+ render: ({ itemsCount, ...args }: StoryProps) => {
50
+ return (
51
+ <ChipGroup {...args}>
52
+ {Array(itemsCount)
53
+ .fill(true)
54
+ .map((_, i) => (
55
+ <Chip text={`Chip ${i}`} key={`chip_${i}`} hasClear={false} />
56
+ ))}
57
+ </ChipGroup>
58
+ );
59
+ },
60
+ };
61
+
62
+ export const CustomChips: Story = {
63
+ args: {
64
+ ...Default.args,
65
+ isCommonChipStyles: false,
66
+ },
67
+ argTypes: {
68
+ ...disableProps(['itemsCount', 'isWrapped']),
69
+ },
70
+ render: (args: StoryProps) => {
71
+ return (
72
+ <ChipGroup {...args}>
73
+ <Chip text="Primary" view="default" hasClear={false} />
74
+ <Chip text="Secondary" view="secondary" hasClear={false} />
75
+ <Chip text="Accent" view="accent" hasClear={false} />
76
+ </ChipGroup>
77
+ );
78
+ },
79
+ };
@@ -1 +1 @@
1
- export { ChipGroup } from './ChipGroup';
1
+ export { ChipGroup } from './ChipGroup';
@@ -1,308 +1,29 @@
1
- function _tagged_template_literal(strings, raw) {
2
- if (!raw) {
3
- raw = strings.slice(0);
4
- }
5
- return Object.freeze(Object.defineProperties(strings, {
6
- raw: {
7
- value: Object.freeze(raw)
8
- }
9
- }));
10
- }
11
- function _templateObject() {
12
- var data = _tagged_template_literal([
13
- "\n ",
14
- ": var(--text-primary);\n ",
15
- ": var(--text-primary);\n\n ",
16
- ": var(--text-secondary);\n ",
17
- ": var(--text-tertiary);\n ",
18
- ": var(--text-secondary);\n ",
19
- ": var(--text-tertiary);\n\n ",
20
- ": var(--surface-solid-card);\n ",
21
- ": var(--surface-solid-card);\n ",
22
- ": var(--text-accent);\n ",
23
- ": var(--text-secondary);\n ",
24
- ": var(--text-secondary);\n ",
25
- ": var(--text-primary);\n ",
26
- ": var(--text-secondary);\n ",
27
- ": var(--text-accent);\n\n ",
28
- ": var(--outline-solid-primary);\n ",
29
- ": var(--outline-solid-primary-hover);\n ",
30
- ": var(--outline-accent);\n\n ",
31
- ": var(--text-secondary);\n ",
32
- ": var(--text-secondary-hover);\n ",
33
- ": var(--text-secondary-active);\n ",
34
- ": var(--text-accent);\n ",
35
- ": #1A9E32;\n ",
36
- ": var(--text-accent-active);\n\n ",
37
- ": var(--surface-negative);\n ",
38
- ": var(--text-tertiary);\n\n ",
39
- ": var(--text-secondary);\n ",
40
- ": var(--text-primary);\n ",
41
- ": var(--surface-transparent-secondary);\n ",
42
- ": var(--text-primary);\n ",
43
- ": var(--surface-transparent-secondary-hover);\n ",
44
- ": var(--text-primary);\n ",
45
- ": var(--surface-transparent-secondary-active);\n ",
46
- ": var(--surface-transparent-secondary);\n ",
47
- ": var(--text-primary);\n ",
48
- ": var(--surface-transparent-secondary);\n ",
49
- ": var(--text-primary);\n ",
50
- ": 0.72;\n ",
51
- ": var(--surface-solid-primary);\n\n ",
52
- ": var(--text-accent);\n ",
53
- ": #1A9E32;\n ",
54
- ": var(--surface-transparent-accent);\n\n ",
55
- ": var(--surface-solid-primary);\n "
56
- ]);
57
- _templateObject = function _templateObject() {
58
- return data;
59
- };
60
- return data;
61
- }
62
- function _templateObject1() {
63
- var data = _tagged_template_literal([
64
- "\n ",
65
- ": var(--text-primary);\n ",
66
- ": var(--text-primary);\n\n ",
67
- ": var(--text-secondary);\n ",
68
- ": var(--text-tertiary);\n ",
69
- ": var(--text-secondary);\n ",
70
- ": var(--text-tertiary);\n\n ",
71
- ": var(--surface-solid-card);\n ",
72
- ": var(--surface-solid-card);\n ",
73
- ": var(--text-accent);\n ",
74
- ": var(--text-secondary);\n ",
75
- ": var(--text-secondary);\n ",
76
- ": var(--text-primary);\n ",
77
- ": var(--text-negative);\n ",
78
- ": var(--text-accent);\n\n ",
79
- ": var(--outline-negative);\n ",
80
- ": var(--outline-negative-hover);\n ",
81
- ": var(--outline-accent);\n\n ",
82
- ": var(--text-secondary);\n ",
83
- ": var(--text-secondary-hover);\n ",
84
- ": var(--text-secondary-active);\n ",
85
- ": var(--text-accent);\n ",
86
- ": #1A9E32;\n ",
87
- ": var(--text-accent-active);\n\n ",
88
- ": var(--surface-negative);\n ",
89
- ": var(--text-tertiary);\n\n ",
90
- ": var(--text-secondary);\n ",
91
- ": var(--text-primary);\n ",
92
- ": var(--surface-transparent-secondary);\n ",
93
- ": var(--text-primary);\n ",
94
- ": var(--surface-transparent-secondary-hover);\n ",
95
- ": var(--text-primary);\n ",
96
- ": var(--surface-transparent-secondary-active);\n ",
97
- ": var(--surface-transparent-secondary);\n ",
98
- ": var(--text-primary);\n ",
99
- ": var(--surface-transparent-secondary);\n ",
100
- ": var(--text-primary);\n ",
101
- ": 0.72;\n ",
102
- ": var(--surface-solid-primary);\n\n ",
103
- ": var(--text-accent);\n ",
104
- ": #1A9E32;\n ",
105
- ": var(--surface-transparent-accent);\n\n ",
106
- ": var(--surface-solid-primary);\n "
107
- ]);
108
- _templateObject1 = function _templateObject() {
109
- return data;
110
- };
111
- return data;
112
- }
113
- function _templateObject2() {
114
- var data = _tagged_template_literal([
115
- "\n ",
116
- ": 2.5rem;\n ",
117
- ": 0.6875rem 0.75rem 0.6875rem 0.75rem;\n ",
118
- ": 0.375rem;\n ",
119
- ": 0.75rem;\n ",
120
- ": 0.125rem;\n\n ",
121
- ": -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ",
122
- ": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n\n ",
123
- ": 0 0.25rem 0 0;\n ",
124
- ": 0 0 0 0.25rem;\n\n ",
125
- ": var(--plasma-typo-body-m-font-family);\n ",
126
- ": var(--plasma-typo-body-m-font-size);\n ",
127
- ": var(--plasma-typo-body-m-font-style);\n ",
128
- ": var(--plasma-typo-body-m-font-weight);\n ",
129
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
130
- ": var(--plasma-typo-body-m-line-height);\n\n ",
131
- ": 0.5rem;\n ",
132
- ": var(--plasma-typo-body-s-font-family);\n ",
133
- ": var(--plasma-typo-body-s-font-size);\n ",
134
- ": var(--plasma-typo-body-s-font-style);\n ",
135
- ": var(--plasma-typo-body-s-font-weight);\n ",
136
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
137
- ": var(--plasma-typo-body-s-line-height);\n\n ",
138
- ": 0.25rem;\n ",
139
- ": var(--plasma-typo-body-s-font-family);\n ",
140
- ": var(--plasma-typo-body-s-font-size);\n ",
141
- ": var(--plasma-typo-body-s-font-style);\n ",
142
- ": var(--plasma-typo-body-s-font-weight);\n ",
143
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
144
- ": var(--plasma-typo-body-s-line-height);\n\n ",
145
- ": 0.3125rem 0 0 0;\n ",
146
- ": 1.0625rem 0 0.3125rem 0;\n\n ",
147
- ": 0.375rem;\n ",
148
- ": 0.375rem;\n ",
149
- ": 0 0 0 0;\n ",
150
- ": 0.3125rem auto auto -0.6875rem;\n ",
151
- ": 0 0 auto auto;\n ",
152
- ": 0.25rem -0.625rem auto auto;\n ",
153
- ": 1.063rem auto auto -0.75rem;\n ",
154
- ": 1.063rem -0.75rem auto auto;\n ",
155
- ": 1.063rem -2.125rem auto auto;\n\n ",
156
- ": 0.25rem;\n ",
157
- ": 0.25rem;\n ",
158
- ": auto;\n ",
159
- ": 1.75rem;\n ",
160
- ": 0 0.5rem 0 0.75rem;\n ",
161
- ": 0.375rem;\n ",
162
- ": 0rem;\n ",
163
- ": 1rem;\n ",
164
- ": var(--plasma-typo-body-s-font-family);\n ",
165
- ": var(--plasma-typo-body-s-font-size);\n ",
166
- ": var(--plasma-typo-body-s-font-style);\n ",
167
- ": var(--plasma-typo-body-s-font-weight);\n ",
168
- ": var(--plasma-typo-body-s-letter-spacing);\n ",
169
- ": var(--plasma-typo-body-s-line-height);\n\n ",
170
- ": 0.625rem 0.875rem 0.625rem 0.875rem;\n ",
171
- ": 0.125rem;\n ",
172
- ": 0.75rem;\n\n ",
173
- ": 1.5rem;\n ",
174
- ": 0.5rem 0.75rem;\n ",
175
- ": 0.25rem 0.75rem;\n ",
176
- ": 0.5rem;\n ",
177
- ": 1.5rem;\n ",
178
- ": 1rem;\n ",
179
- ": 0 0.375rem 0 0;\n\n ",
180
- ": var(--plasma-typo-body-m-font-family);\n ",
181
- ": var(--plasma-typo-body-m-font-size);\n ",
182
- ": var(--plasma-typo-body-m-font-style);\n ",
183
- ": var(--plasma-typo-body-m-font-weight);\n ",
184
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
185
- ": var(--plasma-typo-body-m-line-height);\n\n ",
186
- ": 0rem;\n ",
187
- ": 0rem;\n ",
188
- ": 0rem;\n ",
189
- ": 0rem;\n ",
190
- ": 0.125rem;\n ",
191
- ": 0.375rem;\n ",
192
- ": var(--plasma-typo-body-m-font-family);\n ",
193
- ": var(--plasma-typo-body-m-font-size);\n ",
194
- ": var(--plasma-typo-body-m-font-style);\n ",
195
- ": var(--plasma-typo-body-m-font-weight);\n ",
196
- ": var(--plasma-typo-body-m-letter-spacing);\n ",
197
- ": var(--plasma-typo-body-m-line-height);\n\n ",
198
- ": 1.25rem;\n ",
199
- ": 0.875rem;\n ",
200
- ": 0.375rem;\n ",
201
- ": 0.25rem;\n ",
202
- ": var(--text-accent);\n ",
203
- ": var(--on-dark-text-primary);\n ",
204
- ": none;\n ",
205
- ": 0.125rem;\n ",
206
- ": var(--outline-accent);\n\n ",
207
- ": 0.375rem;\n ",
208
- ": 0.0625rem;\n\n ",
209
- ": 0.375rem;\n ",
210
- ": 0.75rem;\n ",
211
- ": 0.375rem;\n ",
212
- ": 0.75rem;\n ",
213
- ": 0.25rem;\n ",
214
- ": 0.25rem;\n "
215
- ]);
216
- _templateObject2 = function _templateObject() {
217
- return data;
218
- };
219
- return data;
220
- }
221
- function _templateObject3() {
222
- var data = _tagged_template_literal([
223
- "\n ",
224
- ": var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));\n ",
225
- ": var(--plasma-typo-body-xs-font-family);\n ",
226
- ": var(--plasma-typo-body-xs-font-size);\n ",
227
- ": var(--plasma-typo-body-xs-font-style);\n ",
228
- ": var(--plasma-typo-body-xs-font-weight);\n ",
229
- ": var(--plasma-typo-body-xs-letter-spacing);\n ",
230
- ": var(--plasma-typo-body-xs-line-height);\n "
231
- ]);
232
- _templateObject3 = function _templateObject() {
233
- return data;
234
- };
235
- return data;
236
- }
237
- function _templateObject4() {
238
- var data = _tagged_template_literal([
239
- ""
240
- ]);
241
- _templateObject4 = function _templateObject() {
242
- return data;
243
- };
244
- return data;
245
- }
246
- function _templateObject5() {
247
- var data = _tagged_template_literal([
248
- "\n ",
249
- ": 1;\n ",
250
- ": var(--surface-solid-primary);\n ",
251
- ": var(--surface-solid-primary);\n ",
252
- ": var(--surface-solid-primary);\n ",
253
- ": var(--surface-solid-primary);\n ",
254
- ": var(--surface-solid-primary);\n ",
255
- ": var(--text-secondary);\n "
256
- ]);
257
- _templateObject5 = function _templateObject() {
258
- return data;
259
- };
260
- return data;
261
- }
262
- function _templateObject6() {
263
- var data = _tagged_template_literal([
264
- "\n ",
265
- ": var(--text-primary);\n ",
266
- ": var(--surface-transparent-primary);\n ",
267
- ": var(--text-primary);\n ",
268
- ": var(--text-secondary);\n ",
269
- ": var(--text-secondary);\n ",
270
- ": var(--text-primary);\n ",
271
- ": transparent;\n ",
272
- ": transparent;\n ",
273
- ": 0;\n ",
274
- ": 0.25rem;\n ",
275
- ": 0rem;\n "
276
- ]);
277
- _templateObject6 = function _templateObject() {
278
- return data;
279
- };
280
- return data;
281
- }
1
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
2
+ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
282
3
  import { css, comboboxNewTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
283
4
  export var config = {
284
- defaults: {
285
- view: 'default',
286
- size: 's',
287
- labelPlacement: 'outer'
5
+ defaults: {
6
+ view: 'default',
7
+ size: 's',
8
+ labelPlacement: 'outer'
9
+ },
10
+ variations: {
11
+ view: {
12
+ "default": /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-solid-card);\n ", ": var(--surface-solid-card);\n ", ": var(--text-accent);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-accent);\n\n ", ": var(--outline-solid-primary);\n ", ": var(--outline-solid-primary-hover);\n ", ": var(--outline-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": var(--text-accent);\n ", ": #1A9E32;\n ", ": var(--text-accent-active);\n\n ", ": var(--surface-negative);\n ", ": var(--text-tertiary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-active);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": 0.72;\n ", ": var(--surface-solid-primary);\n\n ", ": var(--text-accent);\n ", ": #1A9E32;\n ", ": var(--surface-transparent-accent);\n\n ", ": var(--surface-solid-primary);\n "])), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor),
13
+ negative: /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n ", ": var(--text-secondary);\n ", ": var(--text-tertiary);\n\n ", ": var(--surface-solid-card);\n ", ": var(--surface-solid-card);\n ", ": var(--text-accent);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--text-negative);\n ", ": var(--text-accent);\n\n ", ": var(--outline-negative);\n ", ": var(--outline-negative-hover);\n ", ": var(--outline-accent);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": var(--text-accent);\n ", ": #1A9E32;\n ", ": var(--text-accent-active);\n\n ", ": var(--surface-negative);\n ", ": var(--text-tertiary);\n\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-active);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": 0.72;\n ", ": var(--surface-solid-primary);\n\n ", ": var(--text-accent);\n ", ": #1A9E32;\n ", ": var(--surface-transparent-accent);\n\n ", ": var(--surface-solid-primary);\n "])), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor)
14
+ },
15
+ size: {
16
+ s: /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.5rem;\n ", ": 0.6875rem 0.75rem 0.6875rem 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.125rem;\n\n ", ": -0.1875rem 0.25rem -0.1875rem -0.125rem;\n ", ": -0.1875rem -0.125rem -0.1875rem 0.75rem;\n\n ", ": 0 0.25rem 0 0;\n ", ": 0 0 0 0.25rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.5rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.25rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.3125rem 0 0 0;\n ", ": 1.0625rem 0 0.3125rem 0;\n\n ", ": 0.375rem;\n ", ": 0.375rem;\n ", ": 0 0 0 0;\n ", ": 0.3125rem auto auto -0.6875rem;\n ", ": 0 0 auto auto;\n ", ": 0.25rem -0.625rem auto auto;\n ", ": 1.063rem auto auto -0.75rem;\n ", ": 1.063rem -0.75rem auto auto;\n ", ": 1.063rem -2.125rem auto auto;\n\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": auto;\n ", ": 1.75rem;\n ", ": 0 0.5rem 0 0.75rem;\n ", ": 0.375rem;\n ", ": 0rem;\n ", ": 1rem;\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": 0.625rem 0.875rem 0.625rem 0.875rem;\n ", ": 0.125rem;\n ", ": 0.75rem;\n\n ", ": 1.5rem;\n ", ": 0.5rem 0.75rem;\n ", ": 0.25rem 0.75rem;\n ", ": 0.5rem;\n ", ": 1.5rem;\n ", ": 1rem;\n ", ": 0 0.375rem 0 0;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0rem;\n ", ": 0.125rem;\n ", ": 0.375rem;\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 1.25rem;\n ", ": 0.875rem;\n ", ": 0.375rem;\n ", ": 0.25rem;\n ", ": var(--text-accent);\n ", ": var(--on-dark-text-primary);\n ", ": none;\n ", ": 0.125rem;\n ", ": var(--outline-accent);\n\n ", ": 0.375rem;\n ", ": 0.0625rem;\n\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 0.75rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n "])), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderWidth, tokens.checkboxTriggerBorderColor, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
17
+ },
18
+ labelPlacement: {
19
+ inner: /*#__PURE__*/css(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n "])), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
20
+ outer: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral([""])))
21
+ },
22
+ disabled: {
23
+ "true": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1;\n ", ": var(--surface-solid-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--surface-solid-primary);\n ", ": var(--text-secondary);\n "])), tokens.textFieldDisabledOpacity, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldColor)
288
24
  },
289
- variations: {
290
- view: {
291
- default: css(_templateObject(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor),
292
- negative: css(_templateObject1(), tokens.textFieldColor, tokens.textFieldClearColor, tokens.textFieldPlaceholderColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldClearPlaceholderColor, tokens.textFieldClearPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldContentSlotColor, tokens.textFieldContentSlotColorHover, tokens.textFieldContentSlotColorActive, tokens.textFieldContentSlotRightColor, tokens.textFieldContentSlotRightColorHover, tokens.textFieldContentSlotRightColorActive, tokens.textFieldIndicatorColor, tokens.textFieldOptionalColor, tokens.textFieldChipCloseIconColor, tokens.textFieldChipColor, tokens.textFieldChipBackground, tokens.textFieldChipColorHover, tokens.textFieldChipBackgroundHover, tokens.textFieldChipColorActive, tokens.textFieldChipBackgroundActive, tokens.textFieldChipBackgroundReadOnly, tokens.textFieldChipColorReadOnly, tokens.textFieldChipBackgroundReadOnlyHover, tokens.textFieldChipColorReadOnlyHover, tokens.textFieldChipOpacityReadonly, tokens.dropdownBorderColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.itemBackgroundHover, tokens.dividerColor)
293
- },
294
- size: {
295
- s: css(_templateObject2(), tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldBorderWidth, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPadding, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderCheckedColor, tokens.checkboxTriggerBorderWidth, tokens.checkboxTriggerBorderColor, tokens.indicatorSize, tokens.dropdownBorderWidth, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight)
296
- },
297
- labelPlacement: {
298
- inner: css(_templateObject3(), tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
299
- outer: css(_templateObject4())
300
- },
301
- disabled: {
302
- true: css(_templateObject5(), tokens.textFieldDisabledOpacity, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldBorderColor, tokens.textFieldBorderColorHover, tokens.textFieldBorderColorFocus, tokens.textFieldColor)
303
- },
304
- readOnly: {
305
- true: css(_templateObject6(), tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, tokens.textFieldLeftHelperColorReadOnly, tokens.textFieldLabelColorReadOnly, tokens.textFieldColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.textFieldPadding, tokens.textFieldLabelOffset, tokens.textFieldLeftHelperOffset)
306
- }
25
+ readOnly: {
26
+ "true": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--text-primary);\n ", ": transparent;\n ", ": transparent;\n ", ": 0;\n ", ": 0.25rem;\n ", ": 0rem;\n "])), tokens.textFieldColorReadOnly, tokens.textFieldBackgroundColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, tokens.textFieldLeftHelperColorReadOnly, tokens.textFieldLabelColorReadOnly, tokens.textFieldColor, tokens.disclosureIconColor, tokens.disclosureIconColorHover, tokens.textFieldPadding, tokens.textFieldLabelOffset, tokens.textFieldLeftHelperOffset)
307
27
  }
308
- };
28
+ }
29
+ };