@salutejs/plasma-new-hope 0.74.0-canary.1171.8646985900.0 → 0.74.0-canary.1176.8645254725.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. package/cjs/components/Checkbox/Checkbox.css +13 -0
  2. package/cjs/components/Checkbox/Checkbox.js +20 -57
  3. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  4. package/cjs/components/Checkbox/Checkbox.styles.js +47 -0
  5. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -0
  6. package/cjs/components/Checkbox/Checkbox.styles_t8rp9c.css +7 -0
  7. package/cjs/components/Checkbox/Checkbox.tokens.js +39 -0
  8. package/cjs/components/Checkbox/Checkbox.tokens.js.map +1 -0
  9. package/cjs/components/Checkbox/IconsSvg.js +9 -9
  10. package/cjs/components/Checkbox/IconsSvg.js.map +1 -1
  11. package/cjs/components/Checkbox/{_view → variations/_disabled}/base.js +2 -2
  12. package/cjs/components/Checkbox/variations/_disabled/base.js.map +1 -0
  13. package/cjs/components/Checkbox/variations/_disabled/base_1krdtt6.css +1 -0
  14. package/cjs/components/Checkbox/variations/_focused/base.js +14 -0
  15. package/cjs/components/Checkbox/variations/_focused/base.js.map +1 -0
  16. package/cjs/components/Checkbox/variations/_focused/base_1rx10n8.css +1 -0
  17. package/cjs/components/{Radiobox → Checkbox/variations}/_size/base.js +1 -1
  18. package/cjs/components/Checkbox/variations/_size/base.js.map +1 -0
  19. package/cjs/components/Checkbox/variations/_view/base.js +9 -0
  20. package/cjs/components/Checkbox/variations/_view/base.js.map +1 -0
  21. package/cjs/components/Checkbox/variations/_view/base_x252cy.css +1 -0
  22. package/cjs/components/Combobox/Combobox.css +4 -4
  23. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  24. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  25. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  26. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  27. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  28. package/cjs/components/Dropdown/Dropdown.css +4 -4
  29. package/cjs/components/Pagination/Pagination.css +4 -4
  30. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  31. package/cjs/components/Popover/Popover.css +4 -4
  32. package/cjs/components/Popover/Popover.styles.js +1 -1
  33. package/cjs/components/Popover/Popover.styles.js.map +1 -1
  34. package/cjs/components/Popover/{Popover.styles_rmr9za.css → Popover.styles_1ggb66y.css} +1 -1
  35. package/cjs/components/Radiobox/Radiobox.css +16 -0
  36. package/cjs/components/Radiobox/Radiobox.js +21 -30
  37. package/cjs/components/Radiobox/Radiobox.js.map +1 -1
  38. package/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  39. package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -0
  40. package/cjs/components/Radiobox/Radiobox.styles_8m0hra.css +2 -0
  41. package/cjs/components/Radiobox/Radiobox.tokens.js +40 -0
  42. package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -0
  43. package/cjs/components/{Checkbox/_focused → Radiobox/variations/_disabled}/base.js +2 -2
  44. package/cjs/components/Radiobox/variations/_disabled/base.js.map +1 -0
  45. package/cjs/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  46. package/cjs/components/{Checkbox/_disabled → Radiobox/variations/_focused}/base.js +2 -2
  47. package/cjs/components/Radiobox/variations/_focused/base.js.map +1 -0
  48. package/cjs/components/Radiobox/{_focused/base_1nruwxa.css → variations/_focused/base_25xwn7.css} +1 -1
  49. package/cjs/components/{Checkbox → Radiobox/variations}/_size/base.js +1 -1
  50. package/cjs/components/Radiobox/variations/_size/base.js.map +1 -0
  51. package/cjs/components/Radiobox/variations/_view/base.js +9 -0
  52. package/cjs/components/Radiobox/variations/_view/base.js.map +1 -0
  53. package/cjs/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  54. package/cjs/components/Select/Select.css +4 -4
  55. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +4 -4
  56. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +4 -4
  57. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +4 -4
  58. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +4 -4
  59. package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
  60. package/cjs/components/Tooltip/Tooltip.styles.js +1 -1
  61. package/cjs/components/Tooltip/Tooltip.styles.js.map +1 -1
  62. package/cjs/components/Tooltip/{Tooltip.styles_1jz4u92.css → Tooltip.styles_1op45q9.css} +1 -1
  63. package/cjs/index.css +21 -21
  64. package/cjs/index.js +4 -0
  65. package/cjs/index.js.map +1 -1
  66. package/es/components/Checkbox/Checkbox.css +13 -0
  67. package/es/components/Checkbox/Checkbox.js +10 -41
  68. package/es/components/Checkbox/Checkbox.js.map +1 -1
  69. package/es/components/Checkbox/Checkbox.styles.js +37 -0
  70. package/es/components/Checkbox/Checkbox.styles.js.map +1 -0
  71. package/es/components/Checkbox/Checkbox.styles_t8rp9c.css +7 -0
  72. package/es/components/Checkbox/Checkbox.tokens.js +34 -0
  73. package/es/components/Checkbox/Checkbox.tokens.js.map +1 -0
  74. package/es/components/Checkbox/IconsSvg.js +9 -9
  75. package/es/components/Checkbox/IconsSvg.js.map +1 -1
  76. package/es/components/Checkbox/{_view → variations/_disabled}/base.js +2 -2
  77. package/es/components/Checkbox/variations/_disabled/base.js.map +1 -0
  78. package/es/components/Checkbox/variations/_disabled/base_1krdtt6.css +1 -0
  79. package/es/components/Checkbox/variations/_focused/base.js +10 -0
  80. package/es/components/Checkbox/variations/_focused/base.js.map +1 -0
  81. package/es/components/Checkbox/variations/_focused/base_1rx10n8.css +1 -0
  82. package/es/components/Checkbox/{_size → variations/_size}/base.js +1 -1
  83. package/es/components/Checkbox/variations/_size/base.js.map +1 -0
  84. package/es/components/Checkbox/variations/_view/base.js +5 -0
  85. package/es/components/Checkbox/variations/_view/base.js.map +1 -0
  86. package/es/components/Checkbox/variations/_view/base_x252cy.css +1 -0
  87. package/es/components/Combobox/Combobox.css +4 -4
  88. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  89. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  90. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  91. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  92. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  93. package/es/components/Dropdown/Dropdown.css +4 -4
  94. package/es/components/Pagination/Pagination.css +4 -4
  95. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  96. package/es/components/Popover/Popover.css +4 -4
  97. package/es/components/Popover/Popover.styles.js +1 -1
  98. package/es/components/Popover/Popover.styles.js.map +1 -1
  99. package/es/components/Popover/{Popover.styles_rmr9za.css → Popover.styles_1ggb66y.css} +1 -1
  100. package/es/components/Radiobox/Radiobox.css +16 -0
  101. package/es/components/Radiobox/Radiobox.js +10 -19
  102. package/es/components/Radiobox/Radiobox.js.map +1 -1
  103. package/es/components/Radiobox/Radiobox.styles.js +14 -0
  104. package/es/components/Radiobox/Radiobox.styles.js.map +1 -0
  105. package/es/components/Radiobox/Radiobox.styles_8m0hra.css +2 -0
  106. package/es/components/Radiobox/Radiobox.tokens.js +35 -0
  107. package/es/components/Radiobox/Radiobox.tokens.js.map +1 -0
  108. package/es/components/{Checkbox/_focused → Radiobox/variations/_disabled}/base.js +2 -2
  109. package/es/components/Radiobox/variations/_disabled/base.js.map +1 -0
  110. package/es/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  111. package/es/components/{Checkbox/_disabled → Radiobox/variations/_focused}/base.js +2 -2
  112. package/es/components/Radiobox/variations/_focused/base.js.map +1 -0
  113. package/es/components/Radiobox/{_focused/base_1nruwxa.css → variations/_focused/base_25xwn7.css} +1 -1
  114. package/es/components/Radiobox/{_size → variations/_size}/base.js +1 -1
  115. package/es/components/Radiobox/variations/_size/base.js.map +1 -0
  116. package/es/components/Radiobox/variations/_view/base.js +5 -0
  117. package/es/components/Radiobox/variations/_view/base.js.map +1 -0
  118. package/es/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  119. package/es/components/Select/Select.css +4 -4
  120. package/es/components/Select/ui/SelectDivider/SelectDivider.css +4 -4
  121. package/es/components/Select/ui/SelectFooter/SelectFooter.css +4 -4
  122. package/es/components/Select/ui/SelectGroup/SelectGroup.css +4 -4
  123. package/es/components/Select/ui/SelectHeader/SelectHeader.css +4 -4
  124. package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
  125. package/es/components/Tooltip/Tooltip.styles.js +1 -1
  126. package/es/components/Tooltip/Tooltip.styles.js.map +1 -1
  127. package/es/components/Tooltip/{Tooltip.styles_1jz4u92.css → Tooltip.styles_1op45q9.css} +1 -1
  128. package/es/index.css +21 -21
  129. package/es/index.js +2 -0
  130. package/es/index.js.map +1 -1
  131. package/package.json +2 -2
  132. package/styled-components/cjs/components/Checkbox/Checkbox.js +18 -38
  133. package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +33 -0
  134. package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +37 -0
  135. package/styled-components/cjs/components/Checkbox/Checkbox.types.js +5 -0
  136. package/styled-components/cjs/components/Checkbox/IconsSvg.js +9 -9
  137. package/styled-components/cjs/components/Checkbox/index.js +8 -1
  138. package/styled-components/cjs/components/Checkbox/variations/_disabled/base.js +10 -0
  139. package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +32 -0
  140. package/styled-components/cjs/components/Checkbox/variations/_view/base.js +10 -0
  141. package/styled-components/cjs/components/Checkbox/variations/_view/tokens.json +1 -0
  142. package/styled-components/cjs/components/Popover/Popover.styles.js +2 -2
  143. package/styled-components/cjs/components/Radiobox/Radiobox.js +13 -20
  144. package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  145. package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +38 -0
  146. package/styled-components/cjs/components/Radiobox/index.js +8 -1
  147. package/styled-components/cjs/components/{Checkbox → Radiobox/variations}/_disabled/base.js +2 -1
  148. package/styled-components/cjs/components/Radiobox/variations/_focused/base.js +27 -0
  149. package/styled-components/cjs/components/Radiobox/{_view → variations/_view}/base.js +2 -1
  150. package/styled-components/cjs/components/Tooltip/Tooltip.styles.js +1 -1
  151. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  152. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  153. package/styled-components/cjs/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +0 -3
  154. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  155. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  156. package/styled-components/cjs/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +0 -3
  157. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  158. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  159. package/styled-components/cjs/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +0 -3
  160. package/styled-components/es/components/Checkbox/Checkbox.js +10 -31
  161. package/styled-components/es/components/Checkbox/Checkbox.styles.js +25 -0
  162. package/styled-components/es/components/Checkbox/Checkbox.tokens.js +31 -0
  163. package/styled-components/es/components/Checkbox/Checkbox.types.js +1 -0
  164. package/styled-components/es/components/Checkbox/IconsSvg.js +9 -9
  165. package/styled-components/es/components/Checkbox/index.js +2 -1
  166. package/styled-components/es/components/Checkbox/variations/_disabled/base.js +4 -0
  167. package/styled-components/es/components/Checkbox/variations/_focused/base.js +27 -0
  168. package/styled-components/es/components/Checkbox/variations/_view/base.js +4 -0
  169. package/styled-components/es/components/Checkbox/variations/_view/tokens.json +1 -0
  170. package/styled-components/es/components/Popover/Popover.styles.js +2 -2
  171. package/styled-components/es/components/Radiobox/Radiobox.js +11 -20
  172. package/styled-components/es/components/Radiobox/Radiobox.styles.js +12 -0
  173. package/styled-components/es/components/Radiobox/Radiobox.tokens.js +32 -0
  174. package/styled-components/es/components/Radiobox/index.js +2 -1
  175. package/styled-components/es/components/Radiobox/variations/_disabled/base.js +3 -0
  176. package/styled-components/es/components/Radiobox/variations/_focused/base.js +21 -0
  177. package/styled-components/es/components/Radiobox/variations/_view/base.js +3 -0
  178. package/styled-components/es/components/Tooltip/Tooltip.styles.js +1 -1
  179. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  180. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  181. package/styled-components/es/examples/plasma_b2c/components/Tooltip/Tooltip.stories.tsx +0 -3
  182. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  183. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  184. package/styled-components/es/examples/plasma_web/components/Tooltip/Tooltip.stories.tsx +0 -3
  185. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  186. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  187. package/styled-components/es/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +0 -3
  188. package/types/components/Checkbox/Checkbox.d.ts +4 -37
  189. package/types/components/Checkbox/Checkbox.d.ts.map +1 -1
  190. package/types/components/Checkbox/Checkbox.styles.d.ts +9 -0
  191. package/types/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  192. package/types/components/Checkbox/Checkbox.tokens.d.ts +32 -0
  193. package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -0
  194. package/types/components/Checkbox/Checkbox.types.d.ts +29 -0
  195. package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -0
  196. package/types/components/Checkbox/IconsSvg.d.ts.map +1 -1
  197. package/types/components/Checkbox/index.d.ts +2 -1
  198. package/types/components/Checkbox/index.d.ts.map +1 -1
  199. package/types/components/Checkbox/variations/_disabled/base.d.ts.map +1 -0
  200. package/types/components/Checkbox/variations/_focused/base.d.ts +6 -0
  201. package/types/components/Checkbox/variations/_focused/base.d.ts.map +1 -0
  202. package/types/components/Checkbox/variations/_size/base.d.ts.map +1 -0
  203. package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -0
  204. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  205. package/types/components/Radiobox/Radiobox.d.ts +1 -1
  206. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  207. package/types/components/Radiobox/Radiobox.styles.d.ts +4 -0
  208. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -0
  209. package/types/components/Radiobox/Radiobox.tokens.d.ts +33 -0
  210. package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -0
  211. package/types/components/Radiobox/index.d.ts +1 -0
  212. package/types/components/Radiobox/index.d.ts.map +1 -1
  213. package/types/components/Radiobox/variations/_disabled/base.d.ts.map +1 -0
  214. package/types/components/Radiobox/variations/_focused/base.d.ts.map +1 -0
  215. package/types/components/Radiobox/variations/_size/base.d.ts.map +1 -0
  216. package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -0
  217. package/types/components/Tooltip/Tooltip.styles.d.ts.map +1 -1
  218. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +0 -1
  219. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  220. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
  221. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts.map +1 -1
  222. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  223. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +0 -1
  224. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  225. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
  226. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts.map +1 -1
  227. package/types/examples/plasma_web/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  228. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts +0 -1
  229. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  230. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts +1 -1
  231. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts.map +1 -1
  232. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  233. package/cjs/components/Checkbox/Checkbox_1q4l832.css +0 -7
  234. package/cjs/components/Checkbox/_disabled/base.js.map +0 -1
  235. package/cjs/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  236. package/cjs/components/Checkbox/_focused/base.js.map +0 -1
  237. package/cjs/components/Checkbox/_focused/base_po5iiu.css +0 -1
  238. package/cjs/components/Checkbox/_size/base.js.map +0 -1
  239. package/cjs/components/Checkbox/_view/base.js.map +0 -1
  240. package/cjs/components/Checkbox/_view/base_1vqr3f.css +0 -1
  241. package/cjs/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  242. package/cjs/components/Radiobox/_disabled/base.js +0 -9
  243. package/cjs/components/Radiobox/_disabled/base.js.map +0 -1
  244. package/cjs/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  245. package/cjs/components/Radiobox/_focused/base.js +0 -9
  246. package/cjs/components/Radiobox/_focused/base.js.map +0 -1
  247. package/cjs/components/Radiobox/_size/base.js.map +0 -1
  248. package/cjs/components/Radiobox/_view/base.js +0 -9
  249. package/cjs/components/Radiobox/_view/base.js.map +0 -1
  250. package/es/components/Checkbox/Checkbox_1q4l832.css +0 -7
  251. package/es/components/Checkbox/_disabled/base.js.map +0 -1
  252. package/es/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  253. package/es/components/Checkbox/_focused/base.js.map +0 -1
  254. package/es/components/Checkbox/_focused/base_po5iiu.css +0 -1
  255. package/es/components/Checkbox/_size/base.js.map +0 -1
  256. package/es/components/Checkbox/_view/base.js.map +0 -1
  257. package/es/components/Checkbox/_view/base_1vqr3f.css +0 -1
  258. package/es/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  259. package/es/components/Radiobox/_disabled/base.js +0 -5
  260. package/es/components/Radiobox/_disabled/base.js.map +0 -1
  261. package/es/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  262. package/es/components/Radiobox/_focused/base.js +0 -5
  263. package/es/components/Radiobox/_focused/base.js.map +0 -1
  264. package/es/components/Radiobox/_size/base.js.map +0 -1
  265. package/es/components/Radiobox/_view/base.js +0 -5
  266. package/es/components/Radiobox/_view/base.js.map +0 -1
  267. package/styled-components/cjs/components/Checkbox/_focused/base.js +0 -26
  268. package/styled-components/cjs/components/Checkbox/_view/base.js +0 -8
  269. package/styled-components/cjs/components/Checkbox/_view/tokens.json +0 -1
  270. package/styled-components/cjs/components/Radiobox/_disabled/base.js +0 -8
  271. package/styled-components/cjs/components/Radiobox/_focused/base.js +0 -26
  272. package/styled-components/es/components/Checkbox/_disabled/base.js +0 -2
  273. package/styled-components/es/components/Checkbox/_focused/base.js +0 -20
  274. package/styled-components/es/components/Checkbox/_view/base.js +0 -2
  275. package/styled-components/es/components/Checkbox/_view/tokens.json +0 -1
  276. package/styled-components/es/components/Radiobox/_disabled/base.js +0 -2
  277. package/styled-components/es/components/Radiobox/_focused/base.js +0 -20
  278. package/styled-components/es/components/Radiobox/_view/base.js +0 -2
  279. package/types/components/Checkbox/_disabled/base.d.ts.map +0 -1
  280. package/types/components/Checkbox/_focused/base.d.ts.map +0 -1
  281. package/types/components/Checkbox/_size/base.d.ts.map +0 -1
  282. package/types/components/Checkbox/_view/base.d.ts.map +0 -1
  283. package/types/components/Radiobox/_disabled/base.d.ts.map +0 -1
  284. package/types/components/Radiobox/_focused/base.d.ts.map +0 -1
  285. package/types/components/Radiobox/_size/base.d.ts.map +0 -1
  286. package/types/components/Radiobox/_view/base.d.ts +0 -2
  287. package/types/components/Radiobox/_view/base.d.ts.map +0 -1
  288. /package/cjs/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  289. /package/cjs/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  290. /package/es/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  291. /package/es/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  292. /package/styled-components/cjs/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  293. /package/styled-components/cjs/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  294. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  295. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  296. /package/styled-components/cjs/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  297. /package/styled-components/cjs/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  298. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  299. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  300. /package/styled-components/cjs/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  301. /package/styled-components/es/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  302. /package/styled-components/es/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  303. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  304. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  305. /package/styled-components/es/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  306. /package/styled-components/es/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  307. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  308. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  309. /package/styled-components/es/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  310. /package/types/components/Checkbox/{_disabled → variations/_disabled}/base.d.ts +0 -0
  311. /package/types/components/Checkbox/{_focused → variations/_size}/base.d.ts +0 -0
  312. /package/types/components/Checkbox/{_size → variations/_view}/base.d.ts +0 -0
  313. /package/types/components/{Checkbox/_view → Radiobox/variations/_disabled}/base.d.ts +0 -0
  314. /package/types/components/Radiobox/{_disabled → variations/_focused}/base.d.ts +0 -0
  315. /package/types/components/Radiobox/{_focused → variations/_size}/base.d.ts +0 -0
  316. /package/types/components/Radiobox/{_size → variations/_view}/base.d.ts +0 -0
@@ -0,0 +1,32 @@
1
+ export var classes = {
2
+ resetMargins: 'reset-margins',
3
+ singleLine: 'single-line',
4
+ radioboxTrigger: 'radiobox-trigger'
5
+ };
6
+ export var tokens = {
7
+ labelFontFamily: '--plasma-radiobox-label-font-family',
8
+ labelFontSize: '--plasma-radiobox-label-font-size',
9
+ labelFontStyle: '--plasma-radiobox-label-font-style',
10
+ labelFontWeight: '--plasma-radiobox-label-font-weight',
11
+ labelLetterSpacing: '--plasma-radiobox-label-letter-spacing',
12
+ labelLineHeight: '--plasma-radiobox-label-line-height',
13
+ descriptionFontFamily: '--plasma-radiobox-description-font-family',
14
+ descriptionFontSize: '--plasma-radiobox-description-font-size',
15
+ descriptionFontStyle: '--plasma-radiobox-description-font-style',
16
+ descriptionFontWeight: '--plasma-radiobox-description-font-weight',
17
+ descriptionLetterSpacing: '--plasma-radiobox-description-letter-spacing',
18
+ descriptionLineHeight: '--plasma-radiobox-description-line-height',
19
+ fillColor: '--plasma-radiobox-fill-color',
20
+ descriptionColor: '--plasma-radiobox-description-color',
21
+ triggerBorderColor: '--plasma-radiobox-trigger-border-color',
22
+ contentTopOffset: '--plasma-radiobox-content-top-offset',
23
+ contentLeftOffset: '--plasma-radiobox-content-left-offset',
24
+ triggerSize: '--plasma-radiobox-trigger-size',
25
+ triggerBorderRadius: '--plasma-radiobox-trigger-border-radius',
26
+ triggerMargin: '--plasma-radiobox-trigger-margin',
27
+ margin: '--plasma-radiobox-margin',
28
+ ellipseSize: '--plasma-radiobox-ellipse-size',
29
+ ellipseColor: '--plasma-radiobox-ellipse-color',
30
+ disabledOpacity: '--plasma-radiobox-disabled-opacity',
31
+ focusColor: '--plasma-radiobox-focus-color'
32
+ };
@@ -1,2 +1,3 @@
1
1
  export { radioboxRoot, radioboxConfig } from './Radiobox';
2
- export { RadioGroup } from './RadioGroup';
2
+ export { RadioGroup } from './RadioGroup';
3
+ export { tokens as radioboxTokens } from './Radiobox.tokens';
@@ -0,0 +1,3 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../Radiobox.tokens';
3
+ export var base = /*#__PURE__*/css(["input:disabled + label{opacity:var(", ");}input:disabled + label{cursor:not-allowed;}"], tokens.disabledOpacity);
@@ -0,0 +1,21 @@
1
+ import { css } from 'styled-components';
2
+ import { addFocus } from '../../../../mixins';
3
+ import { tokens } from '../../Radiobox.tokens';
4
+ export var base = /*#__PURE__*/css([".radiobox-trigger{", "}input[data-focus-visible-added] + label .radiobox-trigger{border-color:transparent;", "}input[data-focus-visible-added]:checked + label .radiobox-trigger{", "}"], /*#__PURE__*/addFocus({
5
+ outlineOffset: '0',
6
+ outlineSize: '0.125rem',
7
+ outlineRadius: /*#__PURE__*/"var(".concat(tokens.triggerBorderRadius, ")"),
8
+ outlineColor: 'transparent'
9
+ }), /*#__PURE__*/addFocus({
10
+ outlineOffset: '-0.188rem',
11
+ outlineSize: '0.125rem',
12
+ outlineRadius: /*#__PURE__*/"var(".concat(tokens.triggerBorderRadius, ")"),
13
+ outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")"),
14
+ customFocusRules: /*#__PURE__*/"\n &::before {\n box-shadow: 0 0 0 0.125rem var(".concat(tokens.focusColor, ");\n }\n ")
15
+ }), /*#__PURE__*/addFocus({
16
+ outlineOffset: '-0.125rem',
17
+ outlineSize: '0.063rem',
18
+ outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.triggerBorderRadius, ") + 0.125rem)"),
19
+ outlineColor: /*#__PURE__*/"var(".concat(tokens.focusColor, ")"),
20
+ customFocusRules: /*#__PURE__*/"\n &::before {\n box-shadow: 0 0 0 0.063rem var(".concat(tokens.focusColor, ");\n }\n ")
21
+ }));
@@ -0,0 +1,3 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../Radiobox.tokens';
3
+ export var base = /*#__PURE__*/css(["input:checked + label .radiobox-trigger{border:none;background:var(", ");border-color:var(", ");}"], tokens.fillColor, tokens.fillColor);
@@ -11,4 +11,4 @@ export var TooltipRoot = /*#__PURE__*/styled.div.withConfig({
11
11
  }, classes.hasContentLeft);
12
12
  export var StyledContentLeft = /*#__PURE__*/styled.div.withConfig({
13
13
  componentId: "plasma-new-hope__sc-1xahrz2-1"
14
- })(["align-self:center;margin-right:var(", ");height:var(", ");"], tokens.contentLeftMargin, tokens.textFontLineHeight);
14
+ })(["margin-right:var(", ");height:var(", ");"], tokens.contentLeftMargin, tokens.textFontLineHeight);
@@ -1,35 +1,35 @@
1
1
  import { css } from 'styled-components';
2
+ import { checkboxTokens } from '../../../../components/Checkbox';
2
3
  export var config = {
3
4
  defaults: {
4
- view: 'accent',
5
- focused: 'true'
5
+ view: 'accent'
6
6
  },
7
7
  variations: {
8
8
  /**
9
9
  * Размер контрола.
10
10
  */
11
11
  size: {
12
- s: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:0.875rem;--plasma-checkbox-trigger-border-radius:0.25rem;--plasma-checkbox-content-top-offset:0.0625rem;--plasma-checkbox-content-left-offset:0.5rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:1.25rem;--plasma-checkbox-trigger-border-radius:0.375rem;--plasma-checkbox-content-top-offset:0.1875rem;--plasma-checkbox-content-left-offset:0.75rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-s-line-height);"])
12
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight),
13
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.25rem;", ":0.375rem;", ":0.1875rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight)
14
14
  },
15
15
  /**
16
16
  * Вид контрола.
17
17
  */
18
18
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-primary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-secondary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-tertiary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-paragraph);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-positive);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-warning);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-negative);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"])
19
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
20
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
21
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
22
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
23
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
24
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
25
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
26
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor)
27
27
  },
28
28
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-checkbox-disabled-opacity:0.4;"])
29
+ "true": /*#__PURE__*/css(["", ":0.4;"], checkboxTokens.disabledOpacity)
30
30
  },
31
31
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-checkbox-focus-color:var(--text-accent);"])
32
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], checkboxTokens.focusColor)
33
33
  }
34
34
  }
35
35
  };
@@ -1,4 +1,5 @@
1
1
  import { css } from 'styled-components';
2
+ import { radioboxTokens } from '../../../../components/Radiobox';
2
3
  export var config = {
3
4
  defaults: {
4
5
  view: 'accent',
@@ -9,27 +10,27 @@ export var config = {
9
10
  * Размер контрола.
10
11
  */
11
12
  size: {
12
- s: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.5rem;--plasma-radiobox-content-top-offset:0.1rem;--plasma-radiobox-content-left-offset 0.5rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1.375rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.625rem;--plasma-radiobox-content-top-offset:0.25rem;--plasma-radiobox-content-left-offset 0.625rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-s-line-height);"])
13
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1rem;", ":1.125rem;", ":0.5rem;", ":0.1rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight),
14
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.375rem;", ":1.125rem;", ":0.625rem;", ":0.25rem;", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight)
14
15
  },
15
16
  /**
16
17
  * Вид контрола.
17
18
  */
18
19
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-primary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-secondary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-tertiary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-paragraph);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-accent);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-positive);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-warning);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-negative);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"])
20
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
21
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
22
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
23
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
24
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
25
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
26
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
27
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor)
27
28
  },
28
29
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-radiobox-disabled-opacity:0.4;"])
30
+ "true": /*#__PURE__*/css(["", ":0.4;"], radioboxTokens.disabledOpacity)
30
31
  },
31
32
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-radiobox-focus-color:var(--text-accent);"])
33
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], radioboxTokens.focusColor)
33
34
  }
34
35
  }
35
36
  };
@@ -34,9 +34,6 @@ const meta: Meta<TooltipProps> = {
34
34
  title: 'plasma_b2c/Tooltip',
35
35
  decorators: [WithTheme],
36
36
  component: Tooltip,
37
- parameters: {
38
- docs: { story: { inline: false, iframeHeight: '20rem' } },
39
- },
40
37
  };
41
38
 
42
39
  export default meta;
@@ -1,35 +1,35 @@
1
1
  import { css } from 'styled-components';
2
+ import { checkboxTokens } from '../../../../components/Checkbox';
2
3
  export var config = {
3
4
  defaults: {
4
- view: 'accent',
5
- focused: 'true'
5
+ view: 'accent'
6
6
  },
7
7
  variations: {
8
8
  /**
9
9
  * Размер контрола.
10
10
  */
11
11
  size: {
12
- s: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:0.875rem;--plasma-checkbox-trigger-border-radius:0.25rem;--plasma-checkbox-content-top-offset:0.0625rem;--plasma-checkbox-content-left-offset:0.5rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:1.25rem;--plasma-checkbox-trigger-border-radius:0.375rem;--plasma-checkbox-content-top-offset:0.1875rem;--plasma-checkbox-content-left-offset:0.75rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-s-line-height);"])
12
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight),
13
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.25rem;", ":0.375rem;", ":0.1875rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight)
14
14
  },
15
15
  /**
16
16
  * Вид контрола.
17
17
  */
18
18
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-primary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-secondary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-tertiary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-paragraph);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-positive);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-warning);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-negative);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"])
19
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
20
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
21
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
22
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
23
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
24
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
25
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
26
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor)
27
27
  },
28
28
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-checkbox-disabled-opacity:0.4;"])
29
+ "true": /*#__PURE__*/css(["", ":0.4;"], checkboxTokens.disabledOpacity)
30
30
  },
31
31
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-checkbox-focus-color:var(--text-accent);"])
32
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], checkboxTokens.focusColor)
33
33
  }
34
34
  }
35
35
  };
@@ -1,4 +1,5 @@
1
1
  import { css } from 'styled-components';
2
+ import { radioboxTokens } from '../../../../components/Radiobox';
2
3
  export var config = {
3
4
  defaults: {
4
5
  view: 'accent',
@@ -9,27 +10,27 @@ export var config = {
9
10
  * Размер контрола.
10
11
  */
11
12
  size: {
12
- s: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.5rem;--plasma-radiobox-content-top-offset:0.1rem;--plasma-radiobox-content-left-offset 0.5rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1.375rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.625rem;--plasma-radiobox-content-top-offset:0.25rem;--plasma-radiobox-content-left-offset 0.625rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-s-line-height);"])
13
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1rem;", ":1.125rem;", ":0.5rem;", ":0.1rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight),
14
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.375rem;", ":1.125rem;", ":0.625rem;", ":0.25rem;", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight)
14
15
  },
15
16
  /**
16
17
  * Вид контрола.
17
18
  */
18
19
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-primary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-secondary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-tertiary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-paragraph);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-accent);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-positive);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-warning);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-negative);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"])
20
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
21
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
22
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
23
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
24
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
25
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
26
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
27
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor)
27
28
  },
28
29
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-radiobox-disabled-opacity:0.4;"])
30
+ "true": /*#__PURE__*/css(["", ":0.4;"], radioboxTokens.disabledOpacity)
30
31
  },
31
32
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-radiobox-focus-color:var(--text-accent);"])
33
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], radioboxTokens.focusColor)
33
34
  }
34
35
  }
35
36
  };
@@ -34,9 +34,6 @@ const meta: Meta<TooltipProps> = {
34
34
  title: 'plasma_web/Tooltip',
35
35
  decorators: [WithTheme],
36
36
  component: Tooltip,
37
- parameters: {
38
- docs: { story: { inline: false, iframeHeight: '20rem' } },
39
- },
40
37
  };
41
38
 
42
39
  export default meta;
@@ -1,35 +1,35 @@
1
1
  import { css } from 'styled-components';
2
+ import { checkboxTokens } from '../../../../components/Checkbox';
2
3
  export var config = {
3
4
  defaults: {
4
- view: 'accent',
5
- focused: 'true'
5
+ view: 'accent'
6
6
  },
7
7
  variations: {
8
8
  /**
9
9
  * Размер контрола.
10
10
  */
11
11
  size: {
12
- s: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:0.875rem;--plasma-checkbox-trigger-border-radius:0.25rem;--plasma-checkbox-content-top-offset:0.0625rem;--plasma-checkbox-content-left-offset:0.5625rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-checkbox-margin:0 0 0.188rem 0.188rem;--plasma-checkbox-trigger-margin:0.188rem 0;--plasma-checkbox-trigger-size:1.25rem;--plasma-checkbox-trigger-border-radius:0.375rem;--plasma-checkbox-content-top-offset:0.1875rem;--plasma-checkbox-content-left-offset:0.75rem;--plasma-checkbox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-checkbox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-checkbox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-checkbox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-checkbox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-checkbox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-checkbox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-checkbox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-checkbox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-checkbox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-checkbox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-checkbox-description-line-height:var(--plasma-typo-body-s-line-height);"])
12
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight),
13
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.25rem;", ":0.375rem;", ":0.1875rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], checkboxTokens.margin, checkboxTokens.triggerMargin, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight)
14
14
  },
15
15
  /**
16
16
  * Вид контрола.
17
17
  */
18
18
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-primary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-secondary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-tertiary);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-paragraph);--plasma-checkbox-icon-color:var(--inverse-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-accent);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-positive);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-warning);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-checkbox-fill-color:var(--text-negative);--plasma-checkbox-icon-color:var(--on-dark-text-primary);--plasma-checkbox-description-color:var(--text-secondary);--plasma-checkbox-trigger-border-color:var(--text-secondary);"])
19
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
20
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
21
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
22
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
23
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
24
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
25
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor),
26
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBorderColor)
27
27
  },
28
28
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-checkbox-disabled-opacity:0.4;"])
29
+ "true": /*#__PURE__*/css(["", ":0.4;"], checkboxTokens.disabledOpacity)
30
30
  },
31
31
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-checkbox-focus-color:var(--text-accent);"])
32
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], checkboxTokens.focusColor)
33
33
  }
34
34
  }
35
35
  };
@@ -1,4 +1,5 @@
1
1
  import { css } from 'styled-components';
2
+ import { radioboxTokens } from '../../../../components/Radiobox';
2
3
  export var config = {
3
4
  defaults: {
4
5
  view: 'accent',
@@ -9,27 +10,27 @@ export var config = {
9
10
  * Размер контрола.
10
11
  */
11
12
  size: {
12
- s: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.5rem;--plasma-radiobox-content-top-offset:0.1rem;--plasma-radiobox-content-left-offset 0.5rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-s-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-xs-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-xs-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-xs-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-xs-line-height);"]),
13
- m: /*#__PURE__*/css(["--plasma-radiobox-margin:0 0 0.188rem 0.188rem;--plasma-radiobox-trigger-margin:0.188rem 0;--plasma-radiobox-trigger-size:1.375rem;--plasma-radiobox-trigger-border-radius 1.125rem;--plasma-radiobox-ellipse-size 0.625rem;--plasma-radiobox-content-top-offset:0.25rem;--plasma-radiobox-content-left-offset 0.6875rem;--plasma-radiobox-label-font-family:var(--plasma-typo-body-m-font-family);--plasma-radiobox-label-font-size:var(--plasma-typo-body-m-font-size);--plasma-radiobox-label-font-style:var(--plasma-typo-body-m-font-style);--plasma-radiobox-label-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-radiobox-label-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-radiobox-label-line-height:var(--plasma-typo-body-m-line-height);--plasma-radiobox-description-font-family:var(--plasma-typo-body-s-font-family);--plasma-radiobox-description-font-size:var(--plasma-typo-body-s-font-size);--plasma-radiobox-description-font-style:var(--plasma-typo-body-s-font-style);--plasma-radiobox-description-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-radiobox-description-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-radiobox-description-line-height:var(--plasma-typo-body-s-line-height);"])
13
+ s: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1rem;", ":1.125rem;", ":0.5rem;", ":0.1rem;", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight),
14
+ m: /*#__PURE__*/css(["", ":0;", ":0.188rem 0;", ":1.375rem;", ":1.125rem;", ":0.625rem;", ":0.25rem;", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], radioboxTokens.margin, radioboxTokens.triggerMargin, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight)
14
15
  },
15
16
  /**
16
17
  * Вид контрола.
17
18
  */
18
19
  view: {
19
- primary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-primary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
20
- secondary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-secondary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
21
- tertiary: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-tertiary);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
22
- paragraph: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-paragraph);--plasma-radiobox-ellipse-color:var(--inverse-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
23
- accent: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-accent);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
24
- positive: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-positive);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
25
- warning: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-warning);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"]),
26
- negative: /*#__PURE__*/css(["--plasma-radiobox-fill-color:var(--text-negative);--plasma-radiobox-ellipse-color:var(--on-dark-text-primary);--plasma-radiobox-description-color:var(--text-secondary);--plasma-radiobox-trigger-border-color:var(--text-secondary);"])
20
+ primary: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
21
+ secondary: /*#__PURE__*/css(["", ":var(--text-secondary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
22
+ tertiary: /*#__PURE__*/css(["", ":var(--text-tertiary);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
23
+ paragraph: /*#__PURE__*/css(["", ":var(--text-paragraph);", ":var(--inverse-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
24
+ accent: /*#__PURE__*/css(["", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
25
+ positive: /*#__PURE__*/css(["", ":var(--text-positive);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
26
+ warning: /*#__PURE__*/css(["", ":var(--text-warning);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor),
27
+ negative: /*#__PURE__*/css(["", ":var(--text-negative);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBorderColor)
27
28
  },
28
29
  disabled: {
29
- "true": /*#__PURE__*/css(["--plasma-radiobox-disabled-opacity:0.4;"])
30
+ "true": /*#__PURE__*/css(["", ":0.4;"], radioboxTokens.disabledOpacity)
30
31
  },
31
32
  focused: {
32
- "true": /*#__PURE__*/css(["--plasma-radiobox-focus-color:var(--text-accent);"])
33
+ "true": /*#__PURE__*/css(["", ":var(--text-accent);"], radioboxTokens.focusColor)
33
34
  }
34
35
  }
35
36
  };
@@ -34,9 +34,6 @@ const meta: Meta<TooltipProps> = {
34
34
  title: 'sds_engineer/Tooltip',
35
35
  decorators: [WithTheme],
36
36
  component: Tooltip,
37
- parameters: {
38
- docs: { story: { inline: false, iframeHeight: '20rem' } },
39
- },
40
37
  };
41
38
 
42
39
  export default meta;
@@ -1,43 +1,11 @@
1
1
  import React from 'react';
2
- import type { InputHTMLAttributes } from '@salutejs/plasma-core';
3
- import type { Filter, RootProps } from '../../engines/types';
4
- export declare const StyledInput: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLInputElement> & React.InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
5
- export declare const StyledTrigger: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- export declare const StyledContentWrapper: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLLabelElement> & React.LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
7
- export declare const StyledContent: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- export declare const StyledLabel: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
9
- export declare const StyledDescription: import("@linaria/react").StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
10
- export interface BaseboxProps {
11
- /**
12
- * Уникальный идентификатор контрола
13
- */
14
- id?: string;
15
- /**
16
- * Метка-подпись к элементу
17
- */
18
- label?: React.ReactNode;
19
- /**
20
- * Описание элемента
21
- */
22
- description?: React.ReactNode;
23
- /**
24
- * Title и description в одну строку или с переносом строк
25
- */
26
- singleLine?: boolean;
27
- /**
28
- * Неопределенное состояние компонента - когда часть потомков не выбрана.
29
- */
30
- indeterminate?: boolean;
31
- size?: string;
32
- view?: string;
33
- focused?: boolean;
34
- }
35
- declare type CheckboxProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & BaseboxProps;
36
- export declare const checkboxRoot: (Root: RootProps<HTMLInputElement, CheckboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & BaseboxProps & React.RefAttributes<HTMLInputElement>>;
2
+ import type { RootProps } from '../../engines/types';
3
+ import type { CheckboxProps } from './Checkbox.types';
4
+ export declare const checkboxRoot: (Root: RootProps<HTMLInputElement, CheckboxProps>) => React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
37
5
  export declare const checkboxConfig: {
38
6
  name: string;
39
7
  tag: string;
40
- layout: (Root: RootProps<HTMLInputElement, CheckboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & BaseboxProps & React.RefAttributes<HTMLInputElement>>;
8
+ layout: (Root: RootProps<HTMLInputElement, CheckboxProps>) => React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
41
9
  base: import("@linaria/core").LinariaClassName;
42
10
  variations: {
43
11
  size: {
@@ -58,5 +26,4 @@ export declare const checkboxConfig: {
58
26
  view: string;
59
27
  };
60
28
  };
61
- export {};
62
29
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAItE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAS7D,eAAO,MAAM,WAAW,0JAYvB,CAAC;AAEF,eAAO,MAAM,aAAa,iJA2BzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,0JAMhC,CAAC;AAEF,eAAO,MAAM,aAAa,iJAMzB,CAAC;AAEF,eAAO,MAAM,WAAW,mJAOvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iJAU7B,CAAC;AAqBF,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,aAAK,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,YAAY,CAAC;AAE1F,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,kJAoFvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAtFQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CA6G5E,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAGtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAiBrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,2FAoFvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAtFQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CA6G5E,CAAC"}