@salutejs/plasma-new-hope 0.85.0-canary.1213.9224571157.0 → 0.85.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. package/cjs/components/Button/Button.css +6 -9
  2. package/cjs/components/Button/Button.js +2 -16
  3. package/cjs/components/Button/Button.js.map +1 -1
  4. package/cjs/components/Button/Button.styles.js +10 -31
  5. package/cjs/components/Button/Button.styles.js.map +1 -1
  6. package/cjs/components/Button/Button.styles_uqvh6u.css +5 -0
  7. package/cjs/components/Button/Button.tokens.js +0 -5
  8. package/cjs/components/Button/Button.tokens.js.map +1 -1
  9. package/cjs/components/Button/variations/_stretching/base.js +1 -1
  10. package/cjs/components/Button/variations/_stretching/base.js.map +1 -1
  11. package/{es/components/Button/variations/_stretching/base_hy8dc.css → cjs/components/Button/variations/_stretching/base_1lx0ute.css} +1 -1
  12. package/cjs/components/ButtonGroup/ButtonGroup.css +2 -2
  13. package/cjs/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  14. package/cjs/components/ButtonGroup/ButtonGroup.tokens.js.map +1 -1
  15. package/cjs/components/ButtonGroup/variations/_orientation/base.js +1 -1
  16. package/cjs/components/ButtonGroup/variations/_orientation/base.js.map +1 -1
  17. package/{es/components/ButtonGroup/variations/_orientation/base_y7z7cs.css → cjs/components/ButtonGroup/variations/_orientation/base_p85v51.css} +1 -1
  18. package/cjs/components/ButtonGroup/variations/_view/base.js +1 -1
  19. package/cjs/components/ButtonGroup/variations/_view/base.js.map +1 -1
  20. package/cjs/components/ButtonGroup/variations/_view/base_6k3uip.css +1 -0
  21. package/cjs/components/Drawer/Drawer.css +6 -9
  22. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +6 -9
  23. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.css +6 -9
  24. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  25. package/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js.map +1 -1
  26. package/cjs/components/IconButton/IconButton.css +7 -10
  27. package/cjs/components/IconButton/IconButton.styles.js +1 -1
  28. package/cjs/components/IconButton/{IconButton.styles_7v8g0e.css → IconButton.styles_1hknr37.css} +1 -1
  29. package/cjs/components/Notification/Notification.css +6 -9
  30. package/cjs/components/Notification/NotificationsProvider.css +6 -9
  31. package/cjs/components/Pagination/Pagination.css +8 -11
  32. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -9
  33. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +6 -9
  34. package/cjs/components/Range/Range.css +63 -0
  35. package/cjs/components/Range/Range.js +146 -0
  36. package/cjs/components/Range/Range.js.map +1 -0
  37. package/cjs/components/Range/Range.styles.js +63 -0
  38. package/cjs/components/Range/Range.styles.js.map +1 -0
  39. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  40. package/cjs/components/Range/Range.tokens.js +106 -0
  41. package/cjs/components/Range/Range.tokens.js.map +1 -0
  42. package/cjs/components/Range/utils/index.js +24 -0
  43. package/cjs/components/Range/utils/index.js.map +1 -0
  44. package/cjs/components/Range/variations/_disabled/base.js +9 -0
  45. package/cjs/components/Range/variations/_disabled/base.js.map +1 -0
  46. package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  47. package/cjs/components/Range/variations/_readonly/base.js +9 -0
  48. package/cjs/components/Range/variations/_readonly/base.js.map +1 -0
  49. package/cjs/components/Range/variations/_readonly/base_tzdxy8.css +1 -0
  50. package/cjs/components/Range/variations/_size/base.js +9 -0
  51. package/cjs/components/Range/variations/_size/base.js.map +1 -0
  52. package/cjs/components/Range/variations/_size/base_16xiubi.css +1 -0
  53. package/cjs/components/Range/variations/_view/base.js +9 -0
  54. package/cjs/components/Range/variations/_view/base.js.map +1 -0
  55. package/cjs/components/Range/variations/_view/base_5iz3nr.css +1 -0
  56. package/cjs/components/Select/Select.css +6 -9
  57. package/cjs/components/Select/ui/SelectTarget/SelectTarget.css +6 -9
  58. package/cjs/components/Slider/Slider.css +11 -9
  59. package/cjs/components/Slider/components/Double/Double.css +11 -9
  60. package/cjs/components/TextField/TextField.js +10 -10
  61. package/cjs/components/TextField/TextField.js.map +1 -1
  62. package/cjs/components/TextField/TextField.styles.js +13 -1
  63. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  64. package/cjs/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  65. package/cjs/components/TextField/TextField.tokens.js +5 -0
  66. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  67. package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  68. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
  69. package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  70. package/cjs/components/TextField/variations/_size/base.js +1 -1
  71. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  72. package/cjs/components/TextField/variations/_size/{base_1khzr9t.css → base_ntoddv.css} +1 -1
  73. package/cjs/components/TextField/variations/_view/base.js +1 -1
  74. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  75. package/cjs/components/TextField/variations/_view/{base_1qd77x6.css → base_19gxyva.css} +1 -1
  76. package/cjs/components/Toast/Toast.css +6 -9
  77. package/cjs/components/Toast/ToastController.css +6 -9
  78. package/cjs/index.css +37 -21
  79. package/cjs/index.js +5 -0
  80. package/cjs/index.js.map +1 -1
  81. package/es/components/Button/Button.css +6 -9
  82. package/es/components/Button/Button.js +3 -17
  83. package/es/components/Button/Button.js.map +1 -1
  84. package/es/components/Button/Button.styles.js +11 -29
  85. package/es/components/Button/Button.styles.js.map +1 -1
  86. package/es/components/Button/Button.styles_uqvh6u.css +5 -0
  87. package/es/components/Button/Button.tokens.js +0 -5
  88. package/es/components/Button/Button.tokens.js.map +1 -1
  89. package/es/components/Button/variations/_stretching/base.js +1 -1
  90. package/es/components/Button/variations/_stretching/base.js.map +1 -1
  91. package/{cjs/components/Button/variations/_stretching/base_hy8dc.css → es/components/Button/variations/_stretching/base_1lx0ute.css} +1 -1
  92. package/es/components/ButtonGroup/ButtonGroup.css +2 -2
  93. package/es/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  94. package/es/components/ButtonGroup/ButtonGroup.tokens.js.map +1 -1
  95. package/es/components/ButtonGroup/variations/_orientation/base.js +1 -1
  96. package/es/components/ButtonGroup/variations/_orientation/base.js.map +1 -1
  97. package/{cjs/components/ButtonGroup/variations/_orientation/base_y7z7cs.css → es/components/ButtonGroup/variations/_orientation/base_p85v51.css} +1 -1
  98. package/es/components/ButtonGroup/variations/_view/base.js +1 -1
  99. package/es/components/ButtonGroup/variations/_view/base.js.map +1 -1
  100. package/es/components/ButtonGroup/variations/_view/base_6k3uip.css +1 -0
  101. package/es/components/Drawer/Drawer.css +6 -9
  102. package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +6 -9
  103. package/es/components/Header/ui/HeaderArrow/HeaderArrow.css +6 -9
  104. package/es/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  105. package/es/components/Header/ui/HeaderArrow/HeaderArrow.js.map +1 -1
  106. package/es/components/IconButton/IconButton.css +7 -10
  107. package/es/components/IconButton/IconButton.styles.js +1 -1
  108. package/es/components/IconButton/{IconButton.styles_7v8g0e.css → IconButton.styles_1hknr37.css} +1 -1
  109. package/es/components/Notification/Notification.css +6 -9
  110. package/es/components/Notification/NotificationsProvider.css +6 -9
  111. package/es/components/Pagination/Pagination.css +8 -11
  112. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +6 -9
  113. package/es/components/Panel/ui/PanelHeader/PanelHeader.css +6 -9
  114. package/es/components/Range/Range.css +63 -0
  115. package/es/components/Range/Range.js +141 -0
  116. package/es/components/Range/Range.js.map +1 -0
  117. package/es/components/Range/Range.styles.js +52 -0
  118. package/es/components/Range/Range.styles.js.map +1 -0
  119. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  120. package/es/components/Range/Range.tokens.js +101 -0
  121. package/es/components/Range/Range.tokens.js.map +1 -0
  122. package/es/components/Range/utils/index.js +19 -0
  123. package/es/components/Range/utils/index.js.map +1 -0
  124. package/es/components/Range/variations/_disabled/base.js +5 -0
  125. package/es/components/Range/variations/_disabled/base.js.map +1 -0
  126. package/es/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  127. package/es/components/Range/variations/_readonly/base.js +5 -0
  128. package/es/components/Range/variations/_readonly/base.js.map +1 -0
  129. package/es/components/Range/variations/_readonly/base_tzdxy8.css +1 -0
  130. package/es/components/Range/variations/_size/base.js +5 -0
  131. package/es/components/Range/variations/_size/base.js.map +1 -0
  132. package/es/components/Range/variations/_size/base_16xiubi.css +1 -0
  133. package/es/components/Range/variations/_view/base.js +5 -0
  134. package/es/components/Range/variations/_view/base.js.map +1 -0
  135. package/es/components/Range/variations/_view/base_5iz3nr.css +1 -0
  136. package/es/components/Select/Select.css +6 -9
  137. package/es/components/Select/ui/SelectTarget/SelectTarget.css +6 -9
  138. package/es/components/Slider/Slider.css +11 -9
  139. package/es/components/Slider/components/Double/Double.css +11 -9
  140. package/es/components/TextField/TextField.js +11 -11
  141. package/es/components/TextField/TextField.js.map +1 -1
  142. package/es/components/TextField/TextField.styles.js +12 -2
  143. package/es/components/TextField/TextField.styles.js.map +1 -1
  144. package/es/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  145. package/es/components/TextField/TextField.tokens.js +5 -0
  146. package/es/components/TextField/TextField.tokens.js.map +1 -1
  147. package/es/components/TextField/variations/_label-placement/inner.js +1 -1
  148. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
  149. package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  150. package/es/components/TextField/variations/_size/base.js +1 -1
  151. package/es/components/TextField/variations/_size/base.js.map +1 -1
  152. package/es/components/TextField/variations/_size/{base_1khzr9t.css → base_ntoddv.css} +1 -1
  153. package/es/components/TextField/variations/_view/base.js +1 -1
  154. package/es/components/TextField/variations/_view/base.js.map +1 -1
  155. package/es/components/TextField/variations/_view/{base_1qd77x6.css → base_19gxyva.css} +1 -1
  156. package/es/components/Toast/Toast.css +6 -9
  157. package/es/components/Toast/ToastController.css +6 -9
  158. package/es/index.css +37 -21
  159. package/es/index.js +2 -0
  160. package/es/index.js.map +1 -1
  161. package/package.json +2 -2
  162. package/styled-components/cjs/components/Button/Button.js +2 -16
  163. package/styled-components/cjs/components/Button/Button.styles.js +12 -20
  164. package/styled-components/cjs/components/Button/Button.template-doc.mdx +0 -47
  165. package/styled-components/cjs/components/Button/Button.tokens.js +0 -5
  166. package/styled-components/cjs/components/Button/variations/_stretching/base.js +1 -1
  167. package/styled-components/cjs/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  168. package/styled-components/cjs/components/ButtonGroup/variations/_orientation/base.js +1 -2
  169. package/styled-components/cjs/components/ButtonGroup/variations/_view/base.js +1 -1
  170. package/styled-components/cjs/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  171. package/styled-components/cjs/components/Range/Range.js +148 -0
  172. package/styled-components/cjs/components/Range/Range.styles.js +39 -0
  173. package/styled-components/cjs/components/Range/Range.template-doc.mdx +323 -0
  174. package/styled-components/cjs/components/Range/Range.tokens.js +104 -0
  175. package/styled-components/cjs/components/Range/Range.types.js +5 -0
  176. package/styled-components/cjs/components/Range/index.js +25 -0
  177. package/styled-components/cjs/components/Range/utils/index.js +22 -0
  178. package/styled-components/cjs/components/Range/variations/_disabled/base.js +9 -0
  179. package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +4 -0
  180. package/styled-components/cjs/components/Range/variations/_readonly/base.js +10 -0
  181. package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +4 -0
  182. package/styled-components/cjs/components/Range/variations/_size/base.js +10 -0
  183. package/styled-components/cjs/components/Range/variations/_size/tokens.json +26 -0
  184. package/styled-components/cjs/components/Range/variations/_view/base.js +10 -0
  185. package/styled-components/cjs/components/Range/variations/_view/tokens.json +6 -0
  186. package/styled-components/cjs/components/TextField/TextField.js +10 -10
  187. package/styled-components/cjs/components/TextField/TextField.styles.js +7 -1
  188. package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -0
  189. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  190. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  191. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  192. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.config.js +19 -19
  193. package/styled-components/cjs/examples/plasma_b2c/components/Button/Button.stories.tsx +21 -67
  194. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +10 -10
  195. package/styled-components/cjs/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  196. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +31 -0
  197. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +11 -0
  198. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  199. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  200. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  201. package/styled-components/cjs/examples/plasma_web/components/Button/Button.config.js +19 -19
  202. package/styled-components/cjs/examples/plasma_web/components/Button/Button.stories.tsx +28 -90
  203. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +10 -10
  204. package/styled-components/cjs/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  205. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +31 -0
  206. package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +11 -0
  207. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  208. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.config.js +19 -19
  209. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.stories.tsx +28 -90
  210. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +10 -10
  211. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  212. package/styled-components/cjs/index.js +11 -0
  213. package/styled-components/es/components/Button/Button.js +3 -17
  214. package/styled-components/es/components/Button/Button.styles.js +11 -19
  215. package/styled-components/es/components/Button/Button.template-doc.mdx +0 -47
  216. package/styled-components/es/components/Button/Button.tokens.js +0 -5
  217. package/styled-components/es/components/Button/variations/_stretching/base.js +1 -1
  218. package/styled-components/es/components/ButtonGroup/ButtonGroup.tokens.js +0 -1
  219. package/styled-components/es/components/ButtonGroup/variations/_orientation/base.js +2 -3
  220. package/styled-components/es/components/ButtonGroup/variations/_view/base.js +1 -1
  221. package/styled-components/es/components/Header/ui/HeaderArrow/HeaderArrow.js +2 -4
  222. package/styled-components/es/components/Range/Range.js +139 -0
  223. package/styled-components/es/components/Range/Range.styles.js +31 -0
  224. package/styled-components/es/components/Range/Range.template-doc.mdx +323 -0
  225. package/styled-components/es/components/Range/Range.tokens.js +98 -0
  226. package/styled-components/es/components/Range/Range.types.js +1 -0
  227. package/styled-components/es/components/Range/index.js +2 -0
  228. package/styled-components/es/components/Range/utils/index.js +16 -0
  229. package/styled-components/es/components/Range/variations/_disabled/base.js +3 -0
  230. package/styled-components/es/components/Range/variations/_disabled/tokens.json +4 -0
  231. package/styled-components/es/components/Range/variations/_readonly/base.js +4 -0
  232. package/styled-components/es/components/Range/variations/_readonly/tokens.json +4 -0
  233. package/styled-components/es/components/Range/variations/_size/base.js +4 -0
  234. package/styled-components/es/components/Range/variations/_size/tokens.json +26 -0
  235. package/styled-components/es/components/Range/variations/_view/base.js +4 -0
  236. package/styled-components/es/components/Range/variations/_view/tokens.json +6 -0
  237. package/styled-components/es/components/TextField/TextField.js +11 -11
  238. package/styled-components/es/components/TextField/TextField.styles.js +6 -0
  239. package/styled-components/es/components/TextField/TextField.tokens.js +5 -0
  240. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
  241. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  242. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  243. package/styled-components/es/examples/plasma_b2c/components/Button/Button.config.js +19 -19
  244. package/styled-components/es/examples/plasma_b2c/components/Button/Button.stories.tsx +21 -67
  245. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.js +10 -10
  246. package/styled-components/es/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  247. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +25 -0
  248. package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +5 -0
  249. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  250. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  251. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  252. package/styled-components/es/examples/plasma_web/components/Button/Button.config.js +19 -19
  253. package/styled-components/es/examples/plasma_web/components/Button/Button.stories.tsx +28 -90
  254. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.js +10 -10
  255. package/styled-components/es/examples/plasma_web/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  256. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +25 -0
  257. package/styled-components/es/examples/plasma_web/components/Range/Range.js +5 -0
  258. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  259. package/styled-components/es/examples/sds_engineer/components/Button/Button.config.js +19 -19
  260. package/styled-components/es/examples/sds_engineer/components/Button/Button.stories.tsx +28 -90
  261. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +10 -10
  262. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +1 -1
  263. package/styled-components/es/index.js +2 -1
  264. package/types/components/Button/Button.d.ts.map +1 -1
  265. package/types/components/Button/Button.styles.d.ts +1 -5
  266. package/types/components/Button/Button.styles.d.ts.map +1 -1
  267. package/types/components/Button/Button.tokens.d.ts +0 -5
  268. package/types/components/Button/Button.tokens.d.ts.map +1 -1
  269. package/types/components/Button/Button.types.d.ts +4 -28
  270. package/types/components/Button/Button.types.d.ts.map +1 -1
  271. package/types/components/ButtonGroup/ButtonGroup.tokens.d.ts +0 -1
  272. package/types/components/ButtonGroup/ButtonGroup.tokens.d.ts.map +1 -1
  273. package/types/components/ButtonGroup/variations/_orientation/base.d.ts.map +1 -1
  274. package/types/components/ButtonGroup/variations/_view/base.d.ts.map +1 -1
  275. package/types/components/Header/ui/HeaderArrow/HeaderArrow.d.ts.map +1 -1
  276. package/types/components/Notification/Notification.styles.d.ts +1 -43
  277. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  278. package/types/components/Pagination/Pagination.styles.d.ts +2 -86
  279. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  280. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +1 -43
  281. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts.map +1 -1
  282. package/types/components/Range/Range.d.ts +31 -0
  283. package/types/components/Range/Range.d.ts.map +1 -0
  284. package/types/components/Range/Range.styles.d.ts +48 -0
  285. package/types/components/Range/Range.styles.d.ts.map +1 -0
  286. package/types/components/Range/Range.tokens.d.ts +99 -0
  287. package/types/components/Range/Range.tokens.d.ts.map +1 -0
  288. package/types/components/Range/Range.types.d.ts +143 -0
  289. package/types/components/Range/Range.types.d.ts.map +1 -0
  290. package/types/components/Range/index.d.ts +4 -0
  291. package/types/components/Range/index.d.ts.map +1 -0
  292. package/types/components/Range/utils/index.d.ts +5 -0
  293. package/types/components/Range/utils/index.d.ts.map +1 -0
  294. package/types/components/Range/variations/_disabled/base.d.ts +2 -0
  295. package/types/components/Range/variations/_disabled/base.d.ts.map +1 -0
  296. package/types/components/Range/variations/_readonly/base.d.ts +2 -0
  297. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -0
  298. package/types/components/Range/variations/_size/base.d.ts +2 -0
  299. package/types/components/Range/variations/_size/base.d.ts.map +1 -0
  300. package/types/components/Range/variations/_view/base.d.ts +2 -0
  301. package/types/components/Range/variations/_view/base.d.ts.map +1 -0
  302. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts +1 -43
  303. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +1 -1
  304. package/types/components/Slider/components/Double/Double.styles.d.ts +4 -0
  305. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  306. package/types/components/TextField/TextField.d.ts.map +1 -1
  307. package/types/components/TextField/TextField.styles.d.ts +2 -0
  308. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  309. package/types/components/TextField/TextField.tokens.d.ts +5 -0
  310. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  311. package/types/components/TextField/TextField.types.d.ts +8 -0
  312. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  313. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
  314. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  315. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  316. package/types/components/Toast/Toast.styles.d.ts +1 -43
  317. package/types/components/Toast/Toast.styles.d.ts.map +1 -1
  318. package/types/components/Toast/utils.d.ts +1 -43
  319. package/types/components/Toast/utils.d.ts.map +1 -1
  320. package/types/examples/plasma_b2c/components/Button/Button.config.d.ts.map +1 -1
  321. package/types/examples/plasma_b2c/components/Button/Button.d.ts +1 -43
  322. package/types/examples/plasma_b2c/components/Button/Button.d.ts.map +1 -1
  323. package/types/examples/plasma_b2c/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  324. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +1 -43
  325. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts.map +1 -1
  326. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts +24 -0
  327. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -0
  328. package/types/examples/plasma_b2c/components/Range/Range.d.ts +127 -0
  329. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -0
  330. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  331. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  332. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  333. package/types/examples/plasma_web/components/Button/Button.config.d.ts.map +1 -1
  334. package/types/examples/plasma_web/components/Button/Button.d.ts +1 -43
  335. package/types/examples/plasma_web/components/Button/Button.d.ts.map +1 -1
  336. package/types/examples/plasma_web/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  337. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +1 -43
  338. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts.map +1 -1
  339. package/types/examples/plasma_web/components/Range/Range.config.d.ts +24 -0
  340. package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -0
  341. package/types/examples/plasma_web/components/Range/Range.d.ts +127 -0
  342. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -0
  343. package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -0
  344. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  345. package/types/examples/sds_engineer/components/Button/Button.config.d.ts.map +1 -1
  346. package/types/examples/sds_engineer/components/Button/Button.d.ts +1 -43
  347. package/types/examples/sds_engineer/components/Button/Button.d.ts.map +1 -1
  348. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -1
  349. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  350. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  351. package/types/index.d.ts +1 -0
  352. package/types/index.d.ts.map +1 -1
  353. package/cjs/components/Button/Button.styles_1oz1dew.css +0 -8
  354. package/cjs/components/ButtonGroup/variations/_view/base_1n9gznw.css +0 -1
  355. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  356. package/es/components/Button/Button.styles_1oz1dew.css +0 -8
  357. package/es/components/ButtonGroup/variations/_view/base_1n9gznw.css +0 -1
  358. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
@@ -6,7 +6,7 @@
6
6
 
7
7
  .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
8
8
 
9
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
9
+ .base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFixed__16e78f09{width:var(--plasma-button-width);}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFilled__16e78f09{width:100%;}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingAuto__16e78f09{width:auto;}
10
10
 
11
11
  .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
12
12
 
@@ -15,11 +15,8 @@
15
15
  .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
16
16
  .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
17
17
 
18
- .Button_styles_1oz1dew_bzw1898__a16b28b2{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1oz1dew_bzw1898__a16b28b2.Button_styles_1oz1dew_buttonContentRelaxed__a16b28b2{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
19
- .Button_styles_1oz1dew_bdfuqwe__a16b28b2{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
20
- .Button_styles_1oz1dew_l9ypozh__a16b28b2{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
21
- .Button_styles_1oz1dew_l4dfhbg__a16b28b2{position:absolute;}
22
- .Button_styles_1oz1dew_srdlazt__a16b28b2{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
23
- .Button_styles_1oz1dew_s7rggv0__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);}
24
- .Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
25
- .Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
18
+ .Button_styles_uqvh6u_bzw1898__b7cda4d5{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_uqvh6u_bzw1898__b7cda4d5{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_buttonSquare__b7cda4d5{width:var(--plasma-button-height);padding:0;}
19
+ .Button_styles_uqvh6u_bdfuqwe__b7cda4d5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:last-child){margin-right:0.375rem;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:first-child){margin-left:0.375rem;}
20
+ .Button_styles_uqvh6u_l9ypozh__b7cda4d5{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
21
+ .Button_styles_uqvh6u_l4dfhbg__b7cda4d5{position:absolute;}
22
+ .Button_styles_uqvh6u_srdlazt__b7cda4d5{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
@@ -16,18 +16,15 @@ var Button_styles = require('./Button.styles.js');
16
16
  var Button_tokens = require('./Button.tokens.js');
17
17
 
18
18
  var _StyledSpinner;
19
- var _excluded = ["children", "view", "size", "text", "value", "contentLeft", "contentRight", "contentPlacing", "isLoading", "loader", "stretch", "square", "pin", "disabled", "focused", "outlined", "className", "blur", "style", "stretching"];
19
+ var _excluded = ["children", "view", "size", "text", "contentLeft", "contentRight", "isLoading", "loader", "stretch", "square", "pin", "disabled", "focused", "outlined", "className", "blur", "style", "stretching"];
20
20
  var buttonRoot = function buttonRoot(Root) {
21
21
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
22
22
  var children = props.children,
23
23
  view = props.view,
24
24
  size = props.size,
25
25
  text = props.text,
26
- value = props.value,
27
26
  contentLeft = props.contentLeft,
28
27
  contentRight = props.contentRight,
29
- _props$contentPlacing = props.contentPlacing,
30
- contentPlacing = _props$contentPlacing === void 0 ? 'default' : _props$contentPlacing,
31
28
  isLoading = props.isLoading,
32
29
  loader = props.loader,
33
30
  stretch = props.stretch,
@@ -44,34 +41,23 @@ var buttonRoot = function buttonRoot(Root) {
44
41
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
45
42
  var txt = typeof children === 'string' ? children : text;
46
43
  var stretchingClass = stretch ? Button_tokens.classes.filledStretching : Button_tokens.classes["".concat(stretching, "Stretching")];
47
- var contentRelaxedClass = contentPlacing === 'relaxed' ? Button_tokens.classes.contentRelaxed : undefined;
48
44
  var squareClass = square ? Button_tokens.classes.buttonSquare : undefined;
49
45
  var buttonBorderRadius = pin ? roundness.convertRoundnessMatrix(pin, "var(".concat(Button_tokens.tokens.buttonRadius, ")"), "var(".concat(Button_tokens.tokens.buttonHeight, ")")) : "var(".concat(Button_tokens.tokens.buttonRadius, ", calc(var(").concat(Button_tokens.tokens.buttonHeight, ") / 4))");
50
- var contentPlacingMapper = {
51
- "default": 'center',
52
- relaxed: 'space-between'
53
- };
54
- var contentPlacementValue = contentPlacing ? contentPlacingMapper[contentPlacing] : 'center';
55
46
  return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
56
47
  type: "button",
57
48
  ref: ref,
58
49
  view: view,
59
50
  size: size,
60
- value: value,
61
51
  disabled: disabled,
62
52
  focused: focused || outlined,
63
- contentPlacing: contentPlacing,
64
53
  className: index.cx(squareClass, stretchingClass, Button_tokens.classes.buttonItem, className),
65
54
  style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, style), {}, {
66
55
  '--plasma_computed-btn-br': buttonBorderRadius,
67
56
  '--plasma_private-blur': blur
68
57
  })
69
58
  }, rest), /*#__PURE__*/React.createElement(Button_styles.LoadWrap, {
70
- contentPlacing: contentPlacementValue,
71
59
  isLoading: isLoading
72
- }, contentLeft && /*#__PURE__*/React.createElement(Button_styles.StyledContentLeft, null, contentLeft), txt ? /*#__PURE__*/React.createElement(Button_styles.ButtonText, {
73
- className: contentRelaxedClass
74
- }, txt) : children, value && /*#__PURE__*/React.createElement(Button_styles.ButtonValue, null, value), contentRight && /*#__PURE__*/React.createElement(Button_styles.StyledContentRight, null, contentRight)), isLoading && /*#__PURE__*/React.createElement(Button_styles.Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/React.createElement(Button_styles.StyledSpinner, null))));
60
+ }, contentLeft, txt ? /*#__PURE__*/React.createElement(Button_styles.ButtonText, null, txt) : children, contentRight), isLoading && /*#__PURE__*/React.createElement(Button_styles.Loader, null, loader || _StyledSpinner || (_StyledSpinner = /*#__PURE__*/React.createElement(Button_styles.StyledSpinner, null))));
75
61
  });
76
62
  };
77
63
  var buttonConfig = {
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport type { CSSProperties } from 'react';\n\nimport type { RootProps } from '../../engines';\nimport { convertRoundnessMatrix } from '../../utils/roundness';\nimport { cx } from '../../utils';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as focusedCSS } from './variations/_focused/base';\nimport { base as stretchingCSS } from './variations/_stretching/base';\nimport { base as blurredCSS } from './variations/_blurred/base';\nimport type { ButtonProps, ContentPlacementMapper } from './Button.types';\nimport {\n base,\n ButtonText,\n ButtonValue,\n Loader,\n LoadWrap,\n StyledContentLeft,\n StyledContentRight,\n StyledSpinner,\n} from './Button.styles';\nimport { classes, tokens } from './Button.tokens';\n\nexport const buttonRoot = (Root: RootProps<HTMLButtonElement, ButtonProps>) =>\n forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n const {\n children,\n view,\n size,\n text,\n value,\n contentLeft,\n contentRight,\n contentPlacing = 'default',\n isLoading,\n loader,\n stretch,\n square,\n pin,\n disabled,\n focused,\n outlined,\n className,\n blur,\n style,\n stretching = 'auto',\n ...rest\n } = props;\n\n const txt = typeof children === 'string' ? children : text;\n\n const stretchingClass = stretch\n ? classes.filledStretching\n : classes[`${stretching}Stretching` as keyof typeof classes];\n const contentRelaxedClass = contentPlacing === 'relaxed' ? classes.contentRelaxed : undefined;\n const squareClass = square ? classes.buttonSquare : undefined;\n const buttonBorderRadius = pin\n ? convertRoundnessMatrix(pin, `var(${tokens.buttonRadius})`, `var(${tokens.buttonHeight})`)\n : `var(${tokens.buttonRadius}, calc(var(${tokens.buttonHeight}) / 4))`;\n\n const contentPlacingMapper: ContentPlacementMapper = {\n default: 'center',\n relaxed: 'space-between',\n };\n\n const contentPlacementValue = contentPlacing ? contentPlacingMapper[contentPlacing] : 'center';\n\n return (\n <Root\n type=\"button\"\n ref={ref}\n view={view}\n size={size}\n value={value}\n disabled={disabled}\n focused={focused || outlined}\n contentPlacing={contentPlacing}\n className={cx(squareClass, stretchingClass, classes.buttonItem, className)}\n style={\n {\n ...style,\n '--plasma_computed-btn-br': buttonBorderRadius,\n '--plasma_private-blur': blur,\n } as CSSProperties\n }\n {...rest}\n >\n <LoadWrap contentPlacing={contentPlacementValue} isLoading={isLoading}>\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n {txt ? <ButtonText className={contentRelaxedClass}>{txt}</ButtonText> : children}\n {value && <ButtonValue>{value}</ButtonValue>}\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </LoadWrap>\n {isLoading && <Loader>{loader || <StyledSpinner />}</Loader>}\n </Root>\n );\n });\n\nexport const buttonConfig = {\n name: 'Button',\n tag: 'button',\n layout: buttonRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n focused: {\n css: focusedCSS,\n // TODO: isLoading => disabled\n },\n blurred: {\n css: blurredCSS,\n },\n stretching: {\n css: stretchingCSS,\n },\n },\n defaults: {\n view: 'secondary',\n size: 'm',\n stretching: 'auto',\n },\n};\n"],"names":["buttonRoot","Root","forwardRef","props","ref","children","view","size","text","value","contentLeft","contentRight","_props$contentPlacing","contentPlacing","isLoading","loader","stretch","square","pin","disabled","focused","outlined","className","blur","style","_props$stretching","stretching","rest","_objectWithoutProperties","_excluded","txt","stretchingClass","classes","filledStretching","concat","contentRelaxedClass","contentRelaxed","undefined","squareClass","buttonSquare","buttonBorderRadius","convertRoundnessMatrix","tokens","buttonRadius","buttonHeight","contentPlacingMapper","relaxed","contentPlacementValue","React","createElement","_extends","type","cx","buttonItem","_objectSpread","LoadWrap","StyledContentLeft","ButtonText","ButtonValue","StyledContentRight","Loader","_StyledSpinner","StyledSpinner","buttonConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","focusedCSS","blurred","blurredCSS","stretchingCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;IA0BaA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAA+C,EAAA;AAAA,EAAA,oBACtEC,gBAAU,CAAiC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACvD,IAAA,IACIC,QAAQ,GAqBRF,KAAK,CArBLE,QAAQ;MACRC,IAAI,GAoBJH,KAAK,CApBLG,IAAI;MACJC,IAAI,GAmBJJ,KAAK,CAnBLI,IAAI;MACJC,IAAI,GAkBJL,KAAK,CAlBLK,IAAI;MACJC,KAAK,GAiBLN,KAAK,CAjBLM,KAAK;MACLC,WAAW,GAgBXP,KAAK,CAhBLO,WAAW;MACXC,YAAY,GAeZR,KAAK,CAfLQ,YAAY;MAAAC,qBAAA,GAeZT,KAAK,CAdLU,cAAc;AAAdA,MAAAA,cAAc,GAAAD,qBAAA,KAAG,KAAA,CAAA,GAAA,SAAS,GAAAA,qBAAA;MAC1BE,SAAS,GAaTX,KAAK,CAbLW,SAAS;MACTC,MAAM,GAYNZ,KAAK,CAZLY,M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AAE,MAAA;AAChB,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport type { CSSProperties } from 'react';\n\nimport type { RootProps } from '../../engines';\nimport { convertRoundnessMatrix } from '../../utils/roundness';\nimport { cx } from '../../utils';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as focusedCSS } from './variations/_focused/base';\nimport { base as stretchingCSS } from './variations/_stretching/base';\nimport { base as blurredCSS } from './variations/_blurred/base';\nimport type { ButtonProps } from './Button.types';\nimport { base, ButtonText, Loader, LoadWrap, StyledSpinner } from './Button.styles';\nimport { classes, tokens } from './Button.tokens';\n\nexport const buttonRoot = (Root: RootProps<HTMLButtonElement, ButtonProps>) =>\n forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {\n const {\n children,\n view,\n size,\n text,\n contentLeft,\n contentRight,\n isLoading,\n loader,\n stretch,\n square,\n pin,\n disabled,\n focused,\n outlined,\n className,\n blur,\n style,\n stretching = 'auto',\n ...rest\n } = props;\n\n const txt = typeof children === 'string' ? children : text;\n\n const stretchingClass = stretch\n ? classes.filledStretching\n : classes[`${stretching}Stretching` as keyof typeof classes];\n const squareClass = square ? classes.buttonSquare : undefined;\n const buttonBorderRadius = pin\n ? convertRoundnessMatrix(pin, `var(${tokens.buttonRadius})`, `var(${tokens.buttonHeight})`)\n : `var(${tokens.buttonRadius}, calc(var(${tokens.buttonHeight}) / 4))`;\n\n return (\n <Root\n type=\"button\"\n ref={ref}\n view={view}\n size={size}\n disabled={disabled}\n focused={focused || outlined}\n className={cx(squareClass, stretchingClass, classes.buttonItem, className)}\n style={\n {\n ...style,\n '--plasma_computed-btn-br': buttonBorderRadius,\n '--plasma_private-blur': blur,\n } as CSSProperties\n }\n {...rest}\n >\n <LoadWrap isLoading={isLoading}>\n {contentLeft}\n {txt ? <ButtonText>{txt}</ButtonText> : children}\n {contentRight}\n </LoadWrap>\n {isLoading && <Loader>{loader || <StyledSpinner />}</Loader>}\n </Root>\n );\n });\n\nexport const buttonConfig = {\n name: 'Button',\n tag: 'button',\n layout: buttonRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n focused: {\n css: focusedCSS,\n // TODO: isLoading => disabled\n },\n blurred: {\n css: blurredCSS,\n },\n stretching: {\n css: stretchingCSS,\n },\n },\n defaults: {\n view: 'secondary',\n size: 'm',\n stretching: 'auto',\n },\n};\n"],"names":["buttonRoot","Root","forwardRef","props","ref","children","view","size","text","contentLeft","contentRight","isLoading","loader","stretch","square","pin","disabled","focused","outlined","className","blur","style","_props$stretching","stretching","rest","_objectWithoutProperties","_excluded","txt","stretchingClass","classes","filledStretching","concat","squareClass","buttonSquare","undefined","buttonBorderRadius","convertRoundnessMatrix","tokens","buttonRadius","buttonHeight","React","createElement","_extends","type","cx","buttonItem","_objectSpread","LoadWrap","ButtonText","Loader","_StyledSpinner","StyledSpinner","buttonConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","focusedCSS","blurred","blurredCSS","stretchingCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;IAiBaA,UAAU,GAAG,SAAbA,UAAUA,CAAIC,IAA+C,EAAA;AAAA,EAAA,oBACtEC,gBAAU,CAAiC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACvD,IAAA,IACIC,QAAQ,GAmBRF,KAAK,CAnBLE,QAAQ;MACRC,IAAI,GAkBJH,KAAK,CAlBLG,IAAI;MACJC,IAAI,GAiBJJ,KAAK,CAjBLI,IAAI;MACJC,IAAI,GAgBJL,KAAK,CAhBLK,IAAI;MACJC,WAAW,GAeXN,KAAK,CAfLM,WAAW;MACXC,YAAY,GAcZP,KAAK,CAdLO,YAAY;MACZC,SAAS,GAaTR,KAAK,CAbLQ,SA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A,IAAI,EAAE;AACFoD,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDpD,IAAAA,IAAI,EAAE;AACFmD,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACD5C,IAAAA,QAAQ,EAAE;AACN0C,MAAAA,GAAG,EAAEG,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACD7C,IAAAA,OAAO,EAAE;AACLyC,MAAAA,GAAG,EAAEK,WAAAA;AACL;KACH;AACDC,IAAAA,OAAO,EAAE;AACLN,MAAAA,GAAG,EAAEO,WAAAA;KACR;AACD1C,IAAAA,UAAU,EAAE;AACRmC,MAAAA,GAAG,EAAEQ,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN7D,IAAAA,IAAI,EAAE,WAAW;AACjBC,IAAAA,IAAI,EAAE,GAAG;AACTgB,IAAAA,UAAU,EAAE,MAAA;AAChB,GAAA;AACJ;;;;;"}
@@ -1,4 +1,4 @@
1
- import './Button.styles_1oz1dew.css';
1
+ import './Button.styles_uqvh6u.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -12,37 +12,30 @@ var Spinner$1 = require('../Spinner/Spinner.js');
12
12
  // issue #823
13
13
  var mergedConfig = /*#__PURE__*/common.mergeConfig(Spinner$1.spinnerConfig);
14
14
  var Spinner = /*#__PURE__*/common.component(mergedConfig);
15
+ var base = "bzw1898";
16
+
17
+ // TODO: PLASMA-2164
18
+ // WHY do we need applyEllipsis ??
19
+ // Если внутри кнопки тескт и на нее решили повесить square пропс
15
20
  var ButtonText = /*#__PURE__*/react.styled('span')({
16
21
  name: "ButtonText",
17
- "class": "bzw1898",
18
- propsAsIs: false
19
- });
20
- var ButtonValue = /*#__PURE__*/react.styled('span')({
21
- name: "ButtonValue",
22
22
  "class": "bdfuqwe",
23
23
  propsAsIs: false
24
24
  });
25
25
 
26
26
  // TODO: #720
27
- var _exp6 = function _exp6() {
27
+ var _exp4 = function _exp4() {
28
28
  return function (_ref) {
29
29
  var isLoading = _ref.isLoading;
30
30
  return isLoading ? '0' : '1';
31
31
  };
32
32
  };
33
- var _exp7 = function _exp7() {
34
- return function (_ref2) {
35
- var contentPlacing = _ref2.contentPlacing;
36
- return contentPlacing;
37
- };
38
- };
39
33
  var LoadWrap = /*#__PURE__*/react.styled('div')({
40
34
  name: "LoadWrap",
41
35
  "class": "l9ypozh",
42
36
  propsAsIs: false,
43
37
  vars: {
44
- "l9ypozh-0": [/*#__PURE__*/_exp6()],
45
- "l9ypozh-1": [/*#__PURE__*/_exp7()]
38
+ "l9ypozh-0": [/*#__PURE__*/_exp4()]
46
39
  }
47
40
  });
48
41
  var Loader = /*#__PURE__*/react.styled('div')({
@@ -50,32 +43,18 @@ var Loader = /*#__PURE__*/react.styled('div')({
50
43
  "class": "l4dfhbg",
51
44
  propsAsIs: false
52
45
  });
53
- var _exp8 = function _exp8() {
46
+ var _exp5 = function _exp5() {
54
47
  return Spinner;
55
48
  };
56
- var StyledSpinner = /*#__PURE__*/react.styled(_exp8())({
49
+ var StyledSpinner = /*#__PURE__*/react.styled(_exp5())({
57
50
  name: "StyledSpinner",
58
51
  "class": "srdlazt",
59
52
  propsAsIs: true
60
53
  });
61
- var StyledContentLeft = /*#__PURE__*/react.styled('div')({
62
- name: "StyledContentLeft",
63
- "class": "s7rggv0",
64
- propsAsIs: false
65
- });
66
- var StyledContentRight = /*#__PURE__*/react.styled('div')({
67
- name: "StyledContentRight",
68
- "class": "s1rjh7ra",
69
- propsAsIs: false
70
- });
71
- var base = "b9ga1dj";
72
54
 
73
55
  exports.ButtonText = ButtonText;
74
- exports.ButtonValue = ButtonValue;
75
56
  exports.LoadWrap = LoadWrap;
76
57
  exports.Loader = Loader;
77
- exports.StyledContentLeft = StyledContentLeft;
78
- exports.StyledContentRight = StyledContentRight;
79
58
  exports.StyledSpinner = StyledSpinner;
80
59
  exports.base = base;
81
60
  //# sourceMappingURL=Button.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.styles.js","sources":["../../../src/components/Button/Button.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyEllipsis, addFocus } from '../../mixins';\nimport { component, mergeConfig } from '../../engines';\nimport { spinnerConfig, spinnerTokens } from '../Spinner';\n\nimport { classes, tokens } from './Button.tokens';\n\n// issue #823\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const ButtonText = styled.span`\n min-width: 4ch;\n flex-shrink: 2;\n \n ${applyEllipsis()}\n \n\n &.${String(classes.contentRelaxed)} {\n text-align: start;\n flex-grow: 2;\n }\n`;\n\nexport const ButtonValue = styled.span`\n color: var(${tokens.buttonValueColor});\n\n margin: var(${tokens.buttonValueMargin});\n\n min-width: 4ch;\n\n ${applyEllipsis()}\n`;\n\n// TODO: #720\nexport const LoadWrap = styled.div<{ contentPlacing: string; isLoading?: boolean }>`\n opacity: ${({ isLoading }) => (isLoading ? '0' : '1')};\n display: flex;\n align-items: inherit;\n justify-content: ${({ contentPlacing }) => contentPlacing};\n height: 100%;\n width: 100%;\n`;\n\nexport const Loader = styled.div`\n position: absolute;\n`;\n\nexport const StyledSpinner = styled(Spinner)`\n ${spinnerTokens.size}: var(${tokens.buttonSpinnerSize});\n ${spinnerTokens.color}: var(${tokens.buttonSpinnerColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: flex;\n margin: var(${tokens.buttonLeftContentMargin});\n`;\n\nexport const StyledContentRight = styled.div`\n display: flex;\n margin: var(${tokens.buttonRightContentMargin});\n`;\n\nexport const base = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n\n :hover {\n color: var(${tokens.buttonColorHover}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorHover}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleHover});\n }\n\n :active {\n color: var(${tokens.buttonColorActive}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorActive}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleActive});\n }\n\n height: var(${tokens.buttonHeight});\n width: var(${tokens.buttonWidth});\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(${tokens.buttonPadding}, calc(var(${tokens.buttonHeight}) * 1.618 / 4));\n\n font-family: var(${tokens.buttonFontFamily});\n font-size: var(${tokens.buttonFontSize});\n font-style: var(${tokens.buttonFontStyle});\n font-weight: var(${tokens.buttonFontWeight});\n letter-spacing: var(${tokens.buttonLetterSpacing});\n line-height: var(${tokens.buttonLineHeight});\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: '-0.125rem',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n\n &[disabled] {\n opacity: var(${tokens.buttonDisabledOpacity});\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n }\n }\n\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: fit-content;\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","ButtonText","styled","name","class","propsAsIs","ButtonValue","_exp6","_ref","isLoading","_exp7","_ref2","contentPlacing","LoadWrap","vars","Loader","_exp8","StyledSpinner","StyledContentLeft","StyledContentRight","base"],"mappings":";;;;;;;;;;AASA;AACA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,uBAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAEhC,IAAMK,UAAU,gBAAGC,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAW/B,EAAA;AAEM,IAAMC,WAAW,gBAAGJ,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAQhC,EAAA;;AAED;AAAA,IAAAE,KAAA,GAnCkBA,SAmClBA,KAAAA,GAAA;AAAA,EAAA,OAEe,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA,IAAAA,CAAAA,SAAAA,CAAAA;AAAAA,IAAAA,OAAiBA,SAAS,GAAG,GAAG,GAAG,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AAEM,IAAMc,kBAAkB,gBAAGjB,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGvC,EAAA;AAEM,IAAMe,IAAI,GA0BhB;;;;;;;;;;;"}
1
+ {"version":3,"file":"Button.styles.js","sources":["../../../src/components/Button/Button.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyEllipsis, addFocus } from '../../mixins';\nimport { component, mergeConfig } from '../../engines';\nimport { spinnerConfig, spinnerTokens } from '../Spinner';\n\nimport { classes, tokens } from './Button.tokens';\n\n// issue #823\nconst mergedConfig = mergeConfig(spinnerConfig);\nconst Spinner = component(mergedConfig);\n\nexport const base = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n`;\n\n// TODO: PLASMA-2164\n// WHY do we need applyEllipsis ??\n// Если внутри кнопки тескт и на нее решили повесить square пропс\nexport const ButtonText = styled.span`\n :not(:last-child) {\n margin-right: 0.375rem;\n }\n\n :not(:first-child) {\n margin-left: 0.375rem;\n }\n\n ${applyEllipsis()}\n`;\n\n// TODO: #720\nexport const LoadWrap = styled.div<{ isLoading?: boolean }>`\n opacity: ${({ isLoading }) => (isLoading ? '0' : '1')};\n display: flex;\n width: 100%;\n align-items: inherit;\n justify-content: inherit;\n height: 100%;\n`;\n\nexport const Loader = styled.div`\n position: absolute;\n`;\n\nexport const StyledSpinner = styled(Spinner)`\n ${spinnerTokens.size}: var(${tokens.buttonSpinnerSize});\n ${spinnerTokens.color}: var(${tokens.buttonSpinnerColor});\n`;\n\n// INFO: Для возможности переиспользования стилей в других компонентах\nexport const baseContent = `\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.${String(classes.buttonSquare)} {\n width: var(${tokens.buttonHeight});\n padding: 0;\n }\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n\n :hover {\n color: var(${tokens.buttonColorHover}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorHover}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleHover});\n }\n\n :active {\n color: var(${tokens.buttonColorActive}, var(${tokens.buttonColor}));\n background-color: var(${tokens.buttonBackgroundColorActive}, var(${tokens.buttonBackgroundColor}));\n\n scale: var(${tokens.buttonScaleActive});\n }\n\n height: var(${tokens.buttonHeight});\n width: var(${tokens.buttonWidth});\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(${tokens.buttonPadding}, calc(var(${tokens.buttonHeight}) * 1.618 / 4));\n\n font-family: var(${tokens.buttonFontFamily});\n font-size: var(${tokens.buttonFontSize});\n font-style: var(${tokens.buttonFontStyle});\n font-weight: var(${tokens.buttonFontWeight});\n letter-spacing: var(${tokens.buttonLetterSpacing});\n line-height: var(${tokens.buttonLineHeight});\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: '-0.125rem',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n\n &[disabled] {\n opacity: var(${tokens.buttonDisabledOpacity});\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(${tokens.buttonColor});\n background-color: var(${tokens.buttonBackgroundColor});\n }\n }\n\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: auto;\n }\n`;\n"],"names":["mergedConfig","mergeConfig","spinnerConfig","Spinner","component","base","ButtonText","styled","name","class","propsAsIs","_exp4","_ref","isLoading","LoadWrap","vars","Loader","_exp5","StyledSpinner"],"mappings":";;;;;;;;;;AASA;AACA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,uBAAa,CAAC,CAAA;AAC/C,IAAMC,OAAO,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAEhC,IAAMK,IAAI,GA0BhB,UAAA;;AAED;AACA;AACA;AACO,IAAMC,UAAU,gBAAGC,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAU/B,EAAA;;AAED;AAAA,IAAAC,KAAA,GAvDkBA,SAuDlBA,KAAAA,GAAA;AAAA,EAAA,OAEe,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA,IAAAA,CAAAA,SAAAA,CAAAA;AAAAA,IAAAA,OAAiBA,SAAS,GAAG,GAAG,GAAG,GAAI,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AADlD,IAAMC,QAAQ,gBAAGP,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,UAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAK,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cACfJ,KAA0C,EAAA,CAAA;AAAA,GAAA;AAAA,CAMxD,EAAA;AAEM,IAAMK,MAAM,gBAAGT,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,QAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAE3B,EAAA;AAAC,IAAAO,KAAA,GAnEgBA,SAmEhBA,KAAAA,GAAA;AAAA,EAAA,OAEkCd,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMe,aAAa,gBAAGX,YAAM,CAAAU,KAAA,EAAA,CAAA,CAAA;AAAAT,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGlC;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ .bzw1898{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.bzw1898{-webkit-text-decoration:none;text-decoration:none;}.bzw1898.bzw1898.button-square{width:var(--plasma-button-height);padding:0;}
2
+ .bdfuqwe{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.bdfuqwe:not(:last-child){margin-right:0.375rem;}.bdfuqwe:not(:first-child){margin-left:0.375rem;}
3
+ .l9ypozh{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
4
+ .l4dfhbg{position:absolute;}
5
+ .srdlazt{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
@@ -7,13 +7,11 @@ var classes = {
7
7
  autoStretching: 'button-stretching-auto',
8
8
  filledStretching: 'button-stretching-filled',
9
9
  fixedStretching: 'button-stretching-fixed',
10
- contentRelaxed: 'button-content-relaxed',
11
10
  buttonSquare: 'button-square',
12
11
  buttonItem: 'button-item'
13
12
  };
14
13
  var tokens = {
15
14
  buttonColor: '--plasma-button-color',
16
- buttonValueColor: '--plasma-button-value-color',
17
15
  buttonBackgroundColor: '--plasma-button-background-color',
18
16
  buttonColorHover: '--plasma-button-color-hover',
19
17
  buttonBackgroundColorHover: '--plasma-button-background-color-hover',
@@ -32,9 +30,6 @@ var tokens = {
32
30
  buttonFontWeight: '--plasma-button-font-weight',
33
31
  buttonLetterSpacing: '--plasma-button-letter-spacing',
34
32
  buttonLineHeight: '--plasma-button-line-height',
35
- buttonLeftContentMargin: '--plasma-button-left-content-margin',
36
- buttonRightContentMargin: '--plasma-button-right-content-margin',
37
- buttonValueMargin: '--plasma-button-value-margin',
38
33
  buttonDisabledOpacity: '--plasma-button-disabled-opacity',
39
34
  buttonFocusColor: '--plasma-button-focus-color',
40
35
  buttonSpinnerColor: '--plasma-button-spinner-color',
@@ -1 +1 @@
1
- {"version":3,"file":"Button.tokens.js","sources":["../../../src/components/Button/Button.tokens.ts"],"sourcesContent":["export const classes = {\n buttonStretch: 'button-stretch',\n autoStretching: 'button-stretching-auto',\n filledStretching: 'button-stretching-filled',\n fixedStretching: 'button-stretching-fixed',\n contentRelaxed: 'button-content-relaxed',\n buttonSquare: 'button-square',\n buttonItem: 'button-item',\n};\n\nexport const tokens = {\n buttonColor: '--plasma-button-color',\n buttonValueColor: '--plasma-button-value-color',\n buttonBackgroundColor: '--plasma-button-background-color',\n buttonColorHover: '--plasma-button-color-hover',\n buttonBackgroundColorHover: '--plasma-button-background-color-hover',\n buttonColorActive: '--plasma-button-color-active',\n buttonBackgroundColorActive: '--plasma-button-background-color-active',\n\n buttonScaleHover: '--plasma-button-scale-hover',\n buttonScaleActive: '---plasma-button-scale-active',\n buttonHeight: '--plasma-button-height',\n buttonWidth: '--plasma-button-width',\n buttonPadding: '--plasma-button-padding',\n buttonRadius: '--plasma-button-radius',\n buttonRadiusCircle: '--plasma-button-radius-circle',\n\n buttonFontFamily: '--plasma-button-font-family',\n buttonFontSize: '--plasma-button-font-size',\n buttonFontStyle: '--plasma-button-font-style',\n buttonFontWeight: '--plasma-button-font-weight',\n buttonLetterSpacing: '--plasma-button-letter-spacing',\n buttonLineHeight: '--plasma-button-line-height',\n\n buttonLeftContentMargin: '--plasma-button-left-content-margin',\n buttonRightContentMargin: '--plasma-button-right-content-margin',\n buttonValueMargin: '--plasma-button-value-margin',\n\n buttonDisabledOpacity: '--plasma-button-disabled-opacity',\n buttonFocusColor: '--plasma-button-focus-color',\n\n buttonSpinnerColor: '--plasma-button-spinner-color',\n buttonSpinnerSize: '--plasma-button-spinner-size',\n};\n"],"names":["classes","buttonStretch","autoStretching","filledStretching","fixedStretching","contentRelaxed","buttonSquare","buttonItem","tokens","buttonColor","buttonValueColor","buttonBackgroundColor","buttonColorHover","buttonBackgroundColorHover","buttonColorActive","buttonBackgroundColorActive","buttonScaleHover","buttonScaleActive","buttonHeight","buttonWidth","buttonPadding","buttonRadius","buttonRadiusCircle","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight","buttonLeftContentMargin","buttonRightContentMargin","buttonValueMargin","buttonDisabledOpacity","buttonFocusColor","buttonSpinnerColor","buttonSpinnerSize"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,aAAa,EAAE,gB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AAAA,iBAAiB,EAAE,8BAAA;AACvB;;;;;"}
1
+ {"version":3,"file":"Button.tokens.js","sources":["../../../src/components/Button/Button.tokens.ts"],"sourcesContent":["export const classes = {\n buttonStretch: 'button-stretch',\n autoStretching: 'button-stretching-auto',\n filledStretching: 'button-stretching-filled',\n fixedStretching: 'button-stretching-fixed',\n buttonSquare: 'button-square',\n buttonItem: 'button-item',\n};\n\nexport const tokens = {\n buttonColor: '--plasma-button-color',\n buttonBackgroundColor: '--plasma-button-background-color',\n buttonColorHover: '--plasma-button-color-hover',\n buttonBackgroundColorHover: '--plasma-button-background-color-hover',\n buttonColorActive: '--plasma-button-color-active',\n buttonBackgroundColorActive: '--plasma-button-background-color-active',\n\n buttonScaleHover: '--plasma-button-scale-hover',\n buttonScaleActive: '---plasma-button-scale-active',\n buttonHeight: '--plasma-button-height',\n buttonWidth: '--plasma-button-width',\n buttonPadding: '--plasma-button-padding',\n buttonRadius: '--plasma-button-radius',\n buttonRadiusCircle: '--plasma-button-radius-circle',\n\n buttonFontFamily: '--plasma-button-font-family',\n buttonFontSize: '--plasma-button-font-size',\n buttonFontStyle: '--plasma-button-font-style',\n buttonFontWeight: '--plasma-button-font-weight',\n buttonLetterSpacing: '--plasma-button-letter-spacing',\n buttonLineHeight: '--plasma-button-line-height',\n\n buttonDisabledOpacity: '--plasma-button-disabled-opacity',\n buttonFocusColor: '--plasma-button-focus-color',\n\n buttonSpinnerColor: '--plasma-button-spinner-color',\n buttonSpinnerSize: '--plasma-button-spinner-size',\n};\n"],"names":["classes","buttonStretch","autoStretching","filledStretching","fixedStretching","buttonSquare","buttonItem","tokens","buttonColor","buttonBackgroundColor","buttonColorHover","buttonBackgroundColorHover","buttonColorActive","buttonBackgroundColorActive","buttonScaleHover","buttonScaleActive","buttonHeight","buttonWidth","buttonPadding","buttonRadius","buttonRadiusCircle","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight","buttonDisabledOpacity","buttonFocus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lx0ute.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/Button/variations/_stretching/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../Button.tokens';\n\nexport const base = css`\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: fit-content;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAUhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Button/variations/_stretching/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../Button.tokens';\n\nexport const base = css`\n &.${classes.fixedStretching} {\n width: var(${tokens.buttonWidth});\n }\n &.${classes.filledStretching} {\n width: 100%;\n }\n &.${classes.autoStretching} {\n width: auto;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAUhB;;;;"}
@@ -1 +1 @@
1
- .bdz31nb.button-stretching-fixed{width:var(--plasma-button-width);}.bdz31nb.button-stretching-filled{width:100%;}.bdz31nb.button-stretching-auto{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
1
+ .bdz31nb.button-stretching-fixed{width:var(--plasma-button-width);}.bdz31nb.button-stretching-filled{width:100%;}.bdz31nb.button-stretching-auto{width:auto;}
@@ -1,4 +1,4 @@
1
- .base_1n9gznw_b7jdqtc__26f40349.base_1n9gznw_buttonGroupOverrideStyles__26f40349 .base_1n9gznw_buttonItem__26f40349{--plasma-button-color:var(--plasma-button-group-item-color);--plasma-button-value-color:var(--plasma-button-group-item-value-color);--plasma-button-background-color:var(--plasma-button-group-item-background-color);--plasma-button-color-hover:var(--plasma-button-group-item-color-hover);--plasma-button-background-color-hover:var(--plasma-button-group-item-background-color-hover);--plasma-button-color-active:var(--plasma-button-group-item-color-active);--plasma-button-background-color-active:var(--plasma-button-group-item-background-color-active);}
1
+ .base_6k3uip_b7jdqtc__e6616a37.base_6k3uip_buttonGroupOverrideStyles__e6616a37 .base_6k3uip_buttonItem__e6616a37{--plasma-button-color:var(--plasma-button-group-item-color);--plasma-button-background-color:var(--plasma-button-group-item-background-color);--plasma-button-color-hover:var(--plasma-button-group-item-color-hover);--plasma-button-background-color-hover:var(--plasma-button-group-item-background-color-hover);--plasma-button-color-active:var(--plasma-button-group-item-color-active);--plasma-button-background-color-active:var(--plasma-button-group-item-background-color-active);}
2
2
 
3
3
  .base_xxxewc_bc0nfse__e70323a1.base_xxxewc_buttonGroupOverrideStyles__e70323a1 .base_xxxewc_buttonItem__e70323a1{--plasma-button-height:var(--plasma-button-group-item-height);--plasma-button-padding:var(--plasma-button-group-item-padding);---plasma-button-scale-active:var(--plasma-button-group-item-scale-active);--plasma-button-scale-hover:var(--plasma-button-group-item-scale-hover);--plasma-button-font-family:var(--plasma-button-group-item-font-family);--plasma-button-font-size:var(--plasma-button-group-item-font-size);--plasma-button-font-style:var(--plasma-button-group-item-font-style);--plasma-button-font-weight:var(--plasma-button-group-item-font-weight);--plasma-button-letter-spacing:var(--plasma-button-group-item-letter-spacing);--plasma-button-line-height:var(--plasma-button-group-item-line-height);}
4
4
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  .base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupShapeDefault__b4024cb5{--plasma_private-button-radius-inner:var(--plasma-button-group-item-default-radius);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupShapeSegmented__b4024cb5{--plasma_private-button-radius-inner:var(--plasma-button-group-item-segmented-radius);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupShapeSegmented__b4024cb5.base_1it4v56_buttonGroupGapNone__b4024cb5{--plasma_private-button-radius-inner:0;}.base_1it4v56_b137xshk__b4024cb5 .base_1it4v56_buttonItem__b4024cb5{--plasma-button-radius:var(--plasma_private-button-radius-inner);position:relative;}.base_1it4v56_b137xshk__b4024cb5 .base_1it4v56_buttonItem__b4024cb5::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-button-radius-inner);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5 .base_1it4v56_buttonItem__b4024cb5.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5 .base_1it4v56_buttonItem__b4024cb5[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child{border-radius:var(--plasma-button-group-side-item-radius);position:relative;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma-button-group-side-item-radius);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child[data-focus-visible-added]::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child:last-child[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child{--plasma_private-left-side-radius:var(--plasma-button-group-side-item-radius) var(--plasma_private-button-radius-inner) var(--plasma_private-button-radius-inner) var(--plasma-button-group-side-item-radius);border-radius:var(--plasma_private-left-side-radius);position:relative;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-left-side-radius);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child{--plasma_private-right-side-radius:var(--plasma_private-button-radius-inner) var(--plasma-button-group-side-item-radius) var(--plasma-button-group-side-item-radius) var(--plasma_private-button-radius-inner);border-radius:var(--plasma_private-right-side-radius);position:relative;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-right-side-radius);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationHorizontal__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child{--plasma_private-up-side-radius:var(--plasma-button-group-side-item-radius) var(--plasma-button-group-side-item-radius) var(--plasma_private-button-radius-inner) var(--plasma_private-button-radius-inner);border-radius:var(--plasma_private-up-side-radius);position:relative;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-up-side-radius);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:first-child[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child{--plasma_private-down-side-radius:var(--plasma_private-button-radius-inner) var(--plasma_private-button-radius-inner) var(--plasma-button-group-side-item-radius) var(--plasma-button-group-side-item-radius);border-radius:var(--plasma_private-down-side-radius);position:relative;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-down-side-radius);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child.base_1it4v56_focusVisible__b4024cb5:focus::before,.base_1it4v56_b137xshk__b4024cb5.base_1it4v56_buttonGroupOrienationVertical__b4024cb5 .base_1it4v56_buttonItem__b4024cb5:last-child[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
8
8
 
9
- .base_y7z7cs_b1tbn2l2__ea4e846f{-webkit-flex-direction:var(--plasma-button-group-orientation);-ms-flex-direction:var(--plasma-button-group-orientation);flex-direction:var(--plasma-button-group-orientation);}.base_y7z7cs_b1tbn2l2__ea4e846f.base_y7z7cs_buttonGroupOrienationVertical__ea4e846f .base_y7z7cs_buttonItem__ea4e846f{width:auto;}
9
+ .base_p85v51_b1tbn2l2__dc2107ca{-webkit-flex-direction:var(--plasma-button-group-orientation);-ms-flex-direction:var(--plasma-button-group-orientation);flex-direction:var(--plasma-button-group-orientation);}
10
10
 
11
11
  .base_rzhdtv_b1q0zac7__7ab3ad19.base_rzhdtv_buttonGroupStretchingFilled__7ab3ad19{width:100%;}.base_rzhdtv_b1q0zac7__7ab3ad19.base_rzhdtv_buttonGroupStretchingFilled__7ab3ad19 .base_rzhdtv_buttonItem__7ab3ad19{width:100%;}
12
12
 
@@ -18,7 +18,6 @@ var classes = {
18
18
  var tokens = {
19
19
  buttonGroupOrientation: '--plasma-button-group-orientation',
20
20
  buttonColor: '--plasma-button-group-item-color',
21
- buttonValueColor: '--plasma-button-group-item-value-color',
22
21
  buttonBackgroundColor: '--plasma-button-group-item-background-color',
23
22
  buttonColorHover: '--plasma-button-group-item-color-hover',
24
23
  buttonBackgroundColorHover: '--plasma-button-group-item-background-color-hover',
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.tokens.js","sources":["../../../src/components/ButtonGroup/ButtonGroup.tokens.ts"],"sourcesContent":["export const classes = {\n autoStretching: 'button-group-stretching-auto',\n filledStretching: 'button-group-stretching-filled',\n\n buttonGroupOverrideStyles: 'button-group-override-styles',\n\n horizontal: 'button-group-orienation-horizontal',\n vertical: 'button-group-orienation-vertical',\n\n none: 'button-group-gap-none',\n dense: 'button-group-gap-dense',\n wide: 'button-group-gap-wide',\n\n segmented: 'button-group-shape-segmented',\n default: 'button-group-shape-default',\n pilled: 'button-group-shape-pilled',\n};\n\nexport const tokens = {\n buttonGroupOrientation: '--plasma-button-group-orientation',\n\n buttonColor: '--plasma-button-group-item-color',\n buttonValueColor: '--plasma-button-group-item-value-color',\n buttonBackgroundColor: '--plasma-button-group-item-background-color',\n buttonColorHover: '--plasma-button-group-item-color-hover',\n buttonBackgroundColorHover: '--plasma-button-group-item-background-color-hover',\n buttonColorActive: '--plasma-button-group-item-color-active',\n buttonBackgroundColorActive: '--plasma-button-group-item-background-color-active',\n\n buttonSegmentedRadius: '--plasma-button-group-item-segmented-radius',\n buttonDefaultRadius: '--plasma-button-group-item-default-radius',\n buttonSideRadius: '--plasma-button-group-side-item-radius',\n\n buttonGroupItemsGap: '--plasma-button-group-items-gap',\n buttonScaleHover: '--plasma-button-group-item-scale-hover',\n buttonScaleActive: '--plasma-button-group-item-scale-active',\n buttonHeight: '--plasma-button-group-item-height',\n buttonWidth: '--plasma-button-group-item-width',\n buttonPadding: '--plasma-button-group-item-padding',\n buttonRadiusCircle: '--plasma-button-group-item-radius-circle',\n\n buttonFontFamily: '--plasma-button-group-item-font-family',\n buttonFontSize: '--plasma-button-group-item-font-size',\n buttonFontStyle: '--plasma-button-group-item-font-style',\n buttonFontWeight: '--plasma-button-group-item-font-weight',\n buttonLetterSpacing: '--plasma-button-group-item-letter-spacing',\n buttonLineHeight: '--plasma-button-group-item-line-height',\n};\n"],"names":["classes","autoStretching","filledStretching","buttonGroupOverrideStyles","horizontal","vertical","none","dense","wide","segmented","pilled","tokens","buttonGroupOrientation","buttonColor","buttonValueColor","buttonBackgroundColor","buttonColorHover","buttonBackgroundColorHover","buttonColorActive","buttonBackgroundColorActive","buttonSegmentedRadius","buttonDefaultRadius","buttonSideRadius","buttonGroupItemsGap","buttonScaleHover","buttonScaleActive","buttonHeight","buttonWidth","buttonPadding","buttonRadiusCircle","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,cAAc,EAAE,8BAA8B;AAC9CC,EAAAA,gBAAgB,EAAE,gCAAgC;AAElDC,EAAAA,yBAAyB,EAAE,8BAA8B;AAEzDC,EAAAA,UAAU,EAAE,oCAAoC;AAChDC,EAAAA,QAAQ,EAAE,kCAAkC;AAE5CC,EAAAA,IAAI,EAAE,uBAAuB;AAC7BC,EAAAA,KAAK,EAAE,wBAAwB;AAC/BC,EAAAA,IAAI,EAAE,uBAAuB;AAE7BC,EAAAA,SAAS,EAAE,8BAA8B;AACzC,EAAA,SAAA,EAAS,4BAA4B;AACrCC,EAAAA,MAAM,EAAE,2BAAA;AACZ,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,sBAAsB,EAAE,mCAAmC;AAE3DC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,qBAAqB,EAAE,6CAA6C;AACpEC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,0BAA0B,EAAE,mDAAmD;AAC/EC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,2BAA2B,EAAE,oDAAoD;AAEjFC,EAAAA,qBAAqB,EAAE,6CAA6C;AACpEC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,gBAAgB,EAAE,wCAAwC;AAE1DC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,YAAY,EAAE,mCAAmC;AACjDC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,aAAa,EAAE,oCAAoC;AACnDC,EAAAA,kBAAkB,EAAE,0CAA0C;AAE9DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,cAAc,EAAE,sCAAsC;AACtDC,EAAAA,eAAe,EAAE,uCAAuC;AACxDC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,gBAAgB,EAAE,wCAAA;AACtB;;;;;"}
1
+ {"version":3,"file":"ButtonGroup.tokens.js","sources":["../../../src/components/ButtonGroup/ButtonGroup.tokens.ts"],"sourcesContent":["export const classes = {\n autoStretching: 'button-group-stretching-auto',\n filledStretching: 'button-group-stretching-filled',\n\n buttonGroupOverrideStyles: 'button-group-override-styles',\n\n horizontal: 'button-group-orienation-horizontal',\n vertical: 'button-group-orienation-vertical',\n\n none: 'button-group-gap-none',\n dense: 'button-group-gap-dense',\n wide: 'button-group-gap-wide',\n\n segmented: 'button-group-shape-segmented',\n default: 'button-group-shape-default',\n pilled: 'button-group-shape-pilled',\n};\n\nexport const tokens = {\n buttonGroupOrientation: '--plasma-button-group-orientation',\n\n buttonColor: '--plasma-button-group-item-color',\n buttonBackgroundColor: '--plasma-button-group-item-background-color',\n buttonColorHover: '--plasma-button-group-item-color-hover',\n buttonBackgroundColorHover: '--plasma-button-group-item-background-color-hover',\n buttonColorActive: '--plasma-button-group-item-color-active',\n buttonBackgroundColorActive: '--plasma-button-group-item-background-color-active',\n\n buttonSegmentedRadius: '--plasma-button-group-item-segmented-radius',\n buttonDefaultRadius: '--plasma-button-group-item-default-radius',\n buttonSideRadius: '--plasma-button-group-side-item-radius',\n\n buttonGroupItemsGap: '--plasma-button-group-items-gap',\n buttonScaleHover: '--plasma-button-group-item-scale-hover',\n buttonScaleActive: '--plasma-button-group-item-scale-active',\n buttonHeight: '--plasma-button-group-item-height',\n buttonWidth: '--plasma-button-group-item-width',\n buttonPadding: '--plasma-button-group-item-padding',\n buttonRadiusCircle: '--plasma-button-group-item-radius-circle',\n\n buttonFontFamily: '--plasma-button-group-item-font-family',\n buttonFontSize: '--plasma-button-group-item-font-size',\n buttonFontStyle: '--plasma-button-group-item-font-style',\n buttonFontWeight: '--plasma-button-group-item-font-weight',\n buttonLetterSpacing: '--plasma-button-group-item-letter-spacing',\n buttonLineHeight: '--plasma-button-group-item-line-height',\n};\n"],"names":["classes","autoStretching","filledStretching","buttonGroupOverrideStyles","horizontal","vertical","none","dense","wide","segmented","pilled","tokens","buttonGroupOrientation","buttonColor","buttonBackgroundColor","buttonColorHover","buttonBackgroundColorHover","buttonColorActive","buttonBackgroundColorActive","buttonSegmentedRadius","buttonDefaultRadius","buttonSideRadius","buttonGroupItemsGap","buttonScaleHover","buttonScaleActive","buttonHeight","buttonWidth","buttonPadding","buttonRadiusCircle","buttonFontFamily","buttonFontSize","buttonFontStyle","buttonFontWeight","buttonLetterSpacing","buttonLineHeight"],"mappings":";;;;AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,cAAc,EAAE,8BAA8B;AAC9CC,EAAAA,gBAAgB,EAAE,gCAAgC;AAElDC,EAAAA,yBAAyB,EAAE,8BAA8B;AAEzDC,EAAAA,UAAU,EAAE,oCAAoC;AAChDC,EAAAA,QAAQ,EAAE,kCAAkC;AAE5CC,EAAAA,IAAI,EAAE,uBAAuB;AAC7BC,EAAAA,KAAK,EAAE,wBAAwB;AAC/BC,EAAAA,IAAI,EAAE,uBAAuB;AAE7BC,EAAAA,SAAS,EAAE,8BAA8B;AACzC,EAAA,SAAA,EAAS,4BAA4B;AACrCC,EAAAA,MAAM,EAAE,2BAAA;AACZ,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,sBAAsB,EAAE,mCAAmC;AAE3DC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,qBAAqB,EAAE,6CAA6C;AACpEC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,0BAA0B,EAAE,mDAAmD;AAC/EC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,2BAA2B,EAAE,oDAAoD;AAEjFC,EAAAA,qBAAqB,EAAE,6CAA6C;AACpEC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,gBAAgB,EAAE,wCAAwC;AAE1DC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,YAAY,EAAE,mCAAmC;AACjDC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,aAAa,EAAE,oCAAoC;AACnDC,EAAAA,kBAAkB,EAAE,0CAA0C;AAE9DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,cAAc,EAAE,sCAAsC;AACtDC,EAAAA,eAAe,EAAE,uCAAuC;AACxDC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,gBAAgB,EAAE,wCAAA;AACtB;;;;;"}
@@ -1,4 +1,4 @@
1
- import './base_y7z7cs.css';
1
+ import './base_p85v51.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/ButtonGroup/variations/_orientation/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../ButtonGroup.tokens';\nimport { buttonClasses } from '../../../Button';\n\nexport const base = css`\n flex-direction: var(${tokens.buttonGroupOrientation});\n\n &.${classes.vertical} .${buttonClasses.buttonItem} {\n width: auto;\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAMhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/ButtonGroup/variations/_orientation/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../ButtonGroup.tokens';\n\nexport const base = css`\n flex-direction: var(${tokens.buttonGroupOrientation});\n`;\n"],"names":["base"],"mappings":";;;;AAIO,IAAMA,IAAI,GAEhB;;;;"}
@@ -1 +1 @@
1
- .b1tbn2l2{-webkit-flex-direction:var(--plasma-button-group-orientation);-ms-flex-direction:var(--plasma-button-group-orientation);flex-direction:var(--plasma-button-group-orientation);}.b1tbn2l2.button-group-orienation-vertical .button-item{width:auto;}
1
+ .b1tbn2l2{-webkit-flex-direction:var(--plasma-button-group-orientation);-ms-flex-direction:var(--plasma-button-group-orientation);flex-direction:var(--plasma-button-group-orientation);}
@@ -1,4 +1,4 @@
1
- import './base_1n9gznw.css';
1
+ import './base_6k3uip.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/ButtonGroup/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../ButtonGroup.tokens';\nimport { buttonClasses, buttonTokens } from '../../../Button';\n\nexport const base = css`\n &.${classes.buttonGroupOverrideStyles} .${buttonClasses.buttonItem} {\n ${buttonTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonTokens.buttonValueColor}: var(${tokens.buttonValueColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${buttonTokens.buttonColorHover}: var(${tokens.buttonColorHover});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${buttonTokens.buttonColorActive}: var(${tokens.buttonColorActive});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAUhB;;;;"}
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/ButtonGroup/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../ButtonGroup.tokens';\nimport { buttonClasses, buttonTokens } from '../../../Button';\n\nexport const base = css`\n &.${classes.buttonGroupOverrideStyles} .${buttonClasses.buttonItem} {\n ${buttonTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${buttonTokens.buttonColorHover}: var(${tokens.buttonColorHover});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${buttonTokens.buttonColorActive}: var(${tokens.buttonColorActive});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAShB;;;;"}
@@ -0,0 +1 @@
1
+ .b7jdqtc.button-group-override-styles .button-item{--plasma-button-color:var(--plasma-button-group-item-color);--plasma-button-background-color:var(--plasma-button-group-item-background-color);--plasma-button-color-hover:var(--plasma-button-group-item-color-hover);--plasma-button-background-color-hover:var(--plasma-button-group-item-background-color-hover);--plasma-button-color-active:var(--plasma-button-group-item-color-active);--plasma-button-background-color-active:var(--plasma-button-group-item-background-color-active);}
@@ -26,7 +26,7 @@
26
26
 
27
27
  .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
28
28
 
29
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
29
+ .base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFixed__16e78f09{width:var(--plasma-button-width);}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFilled__16e78f09{width:100%;}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingAuto__16e78f09{width:auto;}
30
30
 
31
31
  .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
32
32
 
@@ -35,14 +35,11 @@
35
35
  .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
36
36
  .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
37
37
 
38
- .Button_styles_1oz1dew_bzw1898__a16b28b2{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1oz1dew_bzw1898__a16b28b2.Button_styles_1oz1dew_buttonContentRelaxed__a16b28b2{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
39
- .Button_styles_1oz1dew_bdfuqwe__a16b28b2{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
40
- .Button_styles_1oz1dew_l9ypozh__a16b28b2{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
41
- .Button_styles_1oz1dew_l4dfhbg__a16b28b2{position:absolute;}
42
- .Button_styles_1oz1dew_srdlazt__a16b28b2{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
43
- .Button_styles_1oz1dew_s7rggv0__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);}
44
- .Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
45
- .Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
38
+ .Button_styles_uqvh6u_bzw1898__b7cda4d5{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_uqvh6u_bzw1898__b7cda4d5{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_buttonSquare__b7cda4d5{width:var(--plasma-button-height);padding:0;}
39
+ .Button_styles_uqvh6u_bdfuqwe__b7cda4d5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:last-child){margin-right:0.375rem;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:first-child){margin-left:0.375rem;}
40
+ .Button_styles_uqvh6u_l9ypozh__b7cda4d5{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
41
+ .Button_styles_uqvh6u_l4dfhbg__b7cda4d5{position:absolute;}
42
+ .Button_styles_uqvh6u_srdlazt__b7cda4d5{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
46
43
 
47
44
  .PanelHeader_styles_1cid6t7_b5xb1jq__739616f6{background:var(--plasma-panel-background);-webkit-order:var(--b5xb1jq-0);-ms-flex-order:var(--b5xb1jq-0);order:var(--b5xb1jq-0);padding-left:var(--b5xb1jq-1);padding-right:var(--b5xb1jq-2);}
48
45
  .PanelHeader_styles_1cid6t7_s1hqmxl1__739616f6{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
@@ -20,7 +20,7 @@
20
20
 
21
21
  .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
22
22
 
23
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
23
+ .base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFixed__16e78f09{width:var(--plasma-button-width);}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFilled__16e78f09{width:100%;}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingAuto__16e78f09{width:auto;}
24
24
 
25
25
  .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
26
26
 
@@ -29,14 +29,11 @@
29
29
  .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
30
30
  .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
31
31
 
32
- .Button_styles_1oz1dew_bzw1898__a16b28b2{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1oz1dew_bzw1898__a16b28b2.Button_styles_1oz1dew_buttonContentRelaxed__a16b28b2{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
33
- .Button_styles_1oz1dew_bdfuqwe__a16b28b2{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
34
- .Button_styles_1oz1dew_l9ypozh__a16b28b2{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
35
- .Button_styles_1oz1dew_l4dfhbg__a16b28b2{position:absolute;}
36
- .Button_styles_1oz1dew_srdlazt__a16b28b2{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
37
- .Button_styles_1oz1dew_s7rggv0__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);}
38
- .Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
39
- .Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
32
+ .Button_styles_uqvh6u_bzw1898__b7cda4d5{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_uqvh6u_bzw1898__b7cda4d5{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_buttonSquare__b7cda4d5{width:var(--plasma-button-height);padding:0;}
33
+ .Button_styles_uqvh6u_bdfuqwe__b7cda4d5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:last-child){margin-right:0.375rem;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:first-child){margin-left:0.375rem;}
34
+ .Button_styles_uqvh6u_l9ypozh__b7cda4d5{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
35
+ .Button_styles_uqvh6u_l4dfhbg__b7cda4d5{position:absolute;}
36
+ .Button_styles_uqvh6u_srdlazt__b7cda4d5{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
40
37
 
41
38
  .PanelHeader_styles_1cid6t7_b5xb1jq__739616f6{background:var(--plasma-panel-background);-webkit-order:var(--b5xb1jq-0);-ms-flex-order:var(--b5xb1jq-0);order:var(--b5xb1jq-0);padding-left:var(--b5xb1jq-1);padding-right:var(--b5xb1jq-2);}
42
39
  .PanelHeader_styles_1cid6t7_s1hqmxl1__739616f6{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
@@ -6,7 +6,7 @@
6
6
 
7
7
  .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + var(--plasma_private-btn-br));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
8
8
 
9
- .base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFixed__bd4ad37e{width:var(--plasma-button-width);}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingFilled__bd4ad37e{width:100%;}.base_hy8dc_bdz31nb__bd4ad37e.base_hy8dc_buttonStretchingAuto__bd4ad37e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
9
+ .base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFixed__16e78f09{width:var(--plasma-button-width);}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFilled__16e78f09{width:100%;}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingAuto__16e78f09{width:auto;}
10
10
 
11
11
  .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
12
12
 
@@ -15,14 +15,11 @@
15
15
  .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
16
16
  .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
17
17
 
18
- .Button_styles_1oz1dew_bzw1898__a16b28b2{min-width:4ch;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_1oz1dew_bzw1898__a16b28b2.Button_styles_1oz1dew_buttonContentRelaxed__a16b28b2{text-align:start;-webkit-box-flex:2;-webkit-flex-grow:2;-ms-flex-positive:2;flex-grow:2;}
19
- .Button_styles_1oz1dew_bdfuqwe__a16b28b2{color:var(--plasma-button-value-color);margin:var(--plasma-button-value-margin);min-width:4ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
20
- .Button_styles_1oz1dew_l9ypozh__a16b28b2{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:var(--l9ypozh-1);-webkit-justify-content:var(--l9ypozh-1);-ms-flex-pack:var(--l9ypozh-1);justify-content:var(--l9ypozh-1);height:100%;width:100%;}
21
- .Button_styles_1oz1dew_l4dfhbg__a16b28b2{position:absolute;}
22
- .Button_styles_1oz1dew_srdlazt__a16b28b2{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
23
- .Button_styles_1oz1dew_s7rggv0__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-left-content-margin);}
24
- .Button_styles_1oz1dew_s1rjh7ra__a16b28b2{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);}
25
- .Button_styles_1oz1dew_b9ga1dj__a16b28b2{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1oz1dew_b9ga1dj__a16b28b2{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_b9ga1dj__a16b28b2.Button_styles_1oz1dew_buttonSquare__a16b28b2{width:var(--plasma-button-height);padding:0;}
18
+ .Button_styles_uqvh6u_bzw1898__b7cda4d5{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_uqvh6u_bzw1898__b7cda4d5{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_buttonSquare__b7cda4d5{width:var(--plasma-button-height);padding:0;}
19
+ .Button_styles_uqvh6u_bdfuqwe__b7cda4d5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:last-child){margin-right:0.375rem;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:first-child){margin-left:0.375rem;}
20
+ .Button_styles_uqvh6u_l9ypozh__b7cda4d5{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
21
+ .Button_styles_uqvh6u_l4dfhbg__b7cda4d5{position:absolute;}
22
+ .Button_styles_uqvh6u_srdlazt__b7cda4d5{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
26
23
 
27
24
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
28
25