@salutejs/plasma-new-hope 0.74.0-canary.1175.8628216732.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 (260) 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/Radiobox/Radiobox.css +16 -0
  23. package/cjs/components/Radiobox/Radiobox.js +21 -30
  24. package/cjs/components/Radiobox/Radiobox.js.map +1 -1
  25. package/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  26. package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -0
  27. package/cjs/components/Radiobox/Radiobox.styles_8m0hra.css +2 -0
  28. package/cjs/components/Radiobox/Radiobox.tokens.js +40 -0
  29. package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -0
  30. package/cjs/components/{Checkbox/_focused → Radiobox/variations/_disabled}/base.js +2 -2
  31. package/cjs/components/Radiobox/variations/_disabled/base.js.map +1 -0
  32. package/cjs/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  33. package/cjs/components/{Checkbox/_disabled → Radiobox/variations/_focused}/base.js +2 -2
  34. package/cjs/components/Radiobox/variations/_focused/base.js.map +1 -0
  35. package/cjs/components/Radiobox/{_focused/base_1nruwxa.css → variations/_focused/base_25xwn7.css} +1 -1
  36. package/cjs/components/{Checkbox → Radiobox/variations}/_size/base.js +1 -1
  37. package/cjs/components/Radiobox/variations/_size/base.js.map +1 -0
  38. package/cjs/components/Radiobox/variations/_view/base.js +9 -0
  39. package/cjs/components/Radiobox/variations/_view/base.js.map +1 -0
  40. package/cjs/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  41. package/cjs/index.css +15 -15
  42. package/cjs/index.js +4 -0
  43. package/cjs/index.js.map +1 -1
  44. package/es/components/Checkbox/Checkbox.css +13 -0
  45. package/es/components/Checkbox/Checkbox.js +10 -41
  46. package/es/components/Checkbox/Checkbox.js.map +1 -1
  47. package/es/components/Checkbox/Checkbox.styles.js +37 -0
  48. package/es/components/Checkbox/Checkbox.styles.js.map +1 -0
  49. package/es/components/Checkbox/Checkbox.styles_t8rp9c.css +7 -0
  50. package/es/components/Checkbox/Checkbox.tokens.js +34 -0
  51. package/es/components/Checkbox/Checkbox.tokens.js.map +1 -0
  52. package/es/components/Checkbox/IconsSvg.js +9 -9
  53. package/es/components/Checkbox/IconsSvg.js.map +1 -1
  54. package/es/components/Checkbox/{_view → variations/_disabled}/base.js +2 -2
  55. package/es/components/Checkbox/variations/_disabled/base.js.map +1 -0
  56. package/es/components/Checkbox/variations/_disabled/base_1krdtt6.css +1 -0
  57. package/es/components/Checkbox/variations/_focused/base.js +10 -0
  58. package/es/components/Checkbox/variations/_focused/base.js.map +1 -0
  59. package/es/components/Checkbox/variations/_focused/base_1rx10n8.css +1 -0
  60. package/es/components/Checkbox/{_size → variations/_size}/base.js +1 -1
  61. package/es/components/Checkbox/variations/_size/base.js.map +1 -0
  62. package/es/components/Checkbox/variations/_view/base.js +5 -0
  63. package/es/components/Checkbox/variations/_view/base.js.map +1 -0
  64. package/es/components/Checkbox/variations/_view/base_x252cy.css +1 -0
  65. package/es/components/Radiobox/Radiobox.css +16 -0
  66. package/es/components/Radiobox/Radiobox.js +10 -19
  67. package/es/components/Radiobox/Radiobox.js.map +1 -1
  68. package/es/components/Radiobox/Radiobox.styles.js +14 -0
  69. package/es/components/Radiobox/Radiobox.styles.js.map +1 -0
  70. package/es/components/Radiobox/Radiobox.styles_8m0hra.css +2 -0
  71. package/es/components/Radiobox/Radiobox.tokens.js +35 -0
  72. package/es/components/Radiobox/Radiobox.tokens.js.map +1 -0
  73. package/es/components/{Checkbox/_focused → Radiobox/variations/_disabled}/base.js +2 -2
  74. package/es/components/Radiobox/variations/_disabled/base.js.map +1 -0
  75. package/es/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  76. package/es/components/{Checkbox/_disabled → Radiobox/variations/_focused}/base.js +2 -2
  77. package/es/components/Radiobox/variations/_focused/base.js.map +1 -0
  78. package/es/components/Radiobox/{_focused/base_1nruwxa.css → variations/_focused/base_25xwn7.css} +1 -1
  79. package/es/components/Radiobox/{_size → variations/_size}/base.js +1 -1
  80. package/es/components/Radiobox/variations/_size/base.js.map +1 -0
  81. package/es/components/Radiobox/variations/_view/base.js +5 -0
  82. package/es/components/Radiobox/variations/_view/base.js.map +1 -0
  83. package/es/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  84. package/es/index.css +15 -15
  85. package/es/index.js +2 -0
  86. package/es/index.js.map +1 -1
  87. package/package.json +4 -4
  88. package/styled-components/cjs/components/Checkbox/Checkbox.js +18 -38
  89. package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +33 -0
  90. package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +37 -0
  91. package/styled-components/cjs/components/Checkbox/Checkbox.types.js +5 -0
  92. package/styled-components/cjs/components/Checkbox/IconsSvg.js +9 -9
  93. package/styled-components/cjs/components/Checkbox/index.js +8 -1
  94. package/styled-components/cjs/components/Checkbox/variations/_disabled/base.js +10 -0
  95. package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +32 -0
  96. package/styled-components/cjs/components/Checkbox/variations/_view/base.js +10 -0
  97. package/styled-components/cjs/components/Checkbox/variations/_view/tokens.json +1 -0
  98. package/styled-components/cjs/components/Radiobox/Radiobox.js +13 -20
  99. package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  100. package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +38 -0
  101. package/styled-components/cjs/components/Radiobox/index.js +8 -1
  102. package/styled-components/cjs/components/{Checkbox → Radiobox/variations}/_disabled/base.js +2 -1
  103. package/styled-components/cjs/components/Radiobox/variations/_focused/base.js +27 -0
  104. package/styled-components/cjs/components/Radiobox/{_view → variations/_view}/base.js +2 -1
  105. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  106. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  107. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  108. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  109. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  110. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  111. package/styled-components/es/components/Checkbox/Checkbox.js +10 -31
  112. package/styled-components/es/components/Checkbox/Checkbox.styles.js +25 -0
  113. package/styled-components/es/components/Checkbox/Checkbox.tokens.js +31 -0
  114. package/styled-components/es/components/Checkbox/Checkbox.types.js +1 -0
  115. package/styled-components/es/components/Checkbox/IconsSvg.js +9 -9
  116. package/styled-components/es/components/Checkbox/index.js +2 -1
  117. package/styled-components/es/components/Checkbox/variations/_disabled/base.js +4 -0
  118. package/styled-components/es/components/Checkbox/variations/_focused/base.js +27 -0
  119. package/styled-components/es/components/Checkbox/variations/_view/base.js +4 -0
  120. package/styled-components/es/components/Checkbox/variations/_view/tokens.json +1 -0
  121. package/styled-components/es/components/Radiobox/Radiobox.js +11 -20
  122. package/styled-components/es/components/Radiobox/Radiobox.styles.js +12 -0
  123. package/styled-components/es/components/Radiobox/Radiobox.tokens.js +32 -0
  124. package/styled-components/es/components/Radiobox/index.js +2 -1
  125. package/styled-components/es/components/Radiobox/variations/_disabled/base.js +3 -0
  126. package/styled-components/es/components/Radiobox/variations/_focused/base.js +21 -0
  127. package/styled-components/es/components/Radiobox/variations/_view/base.js +3 -0
  128. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  129. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  130. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  131. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  132. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  133. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  134. package/types/components/Checkbox/Checkbox.d.ts +4 -37
  135. package/types/components/Checkbox/Checkbox.d.ts.map +1 -1
  136. package/types/components/Checkbox/Checkbox.styles.d.ts +9 -0
  137. package/types/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  138. package/types/components/Checkbox/Checkbox.tokens.d.ts +32 -0
  139. package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -0
  140. package/types/components/Checkbox/Checkbox.types.d.ts +29 -0
  141. package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -0
  142. package/types/components/Checkbox/IconsSvg.d.ts.map +1 -1
  143. package/types/components/Checkbox/index.d.ts +2 -1
  144. package/types/components/Checkbox/index.d.ts.map +1 -1
  145. package/types/components/Checkbox/variations/_disabled/base.d.ts.map +1 -0
  146. package/types/components/Checkbox/variations/_focused/base.d.ts +6 -0
  147. package/types/components/Checkbox/variations/_focused/base.d.ts.map +1 -0
  148. package/types/components/Checkbox/variations/_size/base.d.ts.map +1 -0
  149. package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -0
  150. package/types/components/Radiobox/Radiobox.d.ts +1 -1
  151. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  152. package/types/components/Radiobox/Radiobox.styles.d.ts +4 -0
  153. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -0
  154. package/types/components/Radiobox/Radiobox.tokens.d.ts +33 -0
  155. package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -0
  156. package/types/components/Radiobox/index.d.ts +1 -0
  157. package/types/components/Radiobox/index.d.ts.map +1 -1
  158. package/types/components/Radiobox/variations/_disabled/base.d.ts.map +1 -0
  159. package/types/components/Radiobox/variations/_focused/base.d.ts.map +1 -0
  160. package/types/components/Radiobox/variations/_size/base.d.ts.map +1 -0
  161. package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -0
  162. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +0 -1
  163. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  164. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
  165. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts.map +1 -1
  166. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  167. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +0 -1
  168. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  169. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
  170. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts.map +1 -1
  171. package/types/examples/plasma_web/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  172. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts +0 -1
  173. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  174. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts +1 -1
  175. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts.map +1 -1
  176. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  177. package/cjs/components/Checkbox/Checkbox_1q4l832.css +0 -7
  178. package/cjs/components/Checkbox/_disabled/base.js.map +0 -1
  179. package/cjs/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  180. package/cjs/components/Checkbox/_focused/base.js.map +0 -1
  181. package/cjs/components/Checkbox/_focused/base_po5iiu.css +0 -1
  182. package/cjs/components/Checkbox/_size/base.js.map +0 -1
  183. package/cjs/components/Checkbox/_view/base.js.map +0 -1
  184. package/cjs/components/Checkbox/_view/base_1vqr3f.css +0 -1
  185. package/cjs/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  186. package/cjs/components/Radiobox/_disabled/base.js +0 -9
  187. package/cjs/components/Radiobox/_disabled/base.js.map +0 -1
  188. package/cjs/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  189. package/cjs/components/Radiobox/_focused/base.js +0 -9
  190. package/cjs/components/Radiobox/_focused/base.js.map +0 -1
  191. package/cjs/components/Radiobox/_size/base.js.map +0 -1
  192. package/cjs/components/Radiobox/_view/base.js +0 -9
  193. package/cjs/components/Radiobox/_view/base.js.map +0 -1
  194. package/es/components/Checkbox/Checkbox_1q4l832.css +0 -7
  195. package/es/components/Checkbox/_disabled/base.js.map +0 -1
  196. package/es/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  197. package/es/components/Checkbox/_focused/base.js.map +0 -1
  198. package/es/components/Checkbox/_focused/base_po5iiu.css +0 -1
  199. package/es/components/Checkbox/_size/base.js.map +0 -1
  200. package/es/components/Checkbox/_view/base.js.map +0 -1
  201. package/es/components/Checkbox/_view/base_1vqr3f.css +0 -1
  202. package/es/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  203. package/es/components/Radiobox/_disabled/base.js +0 -5
  204. package/es/components/Radiobox/_disabled/base.js.map +0 -1
  205. package/es/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  206. package/es/components/Radiobox/_focused/base.js +0 -5
  207. package/es/components/Radiobox/_focused/base.js.map +0 -1
  208. package/es/components/Radiobox/_size/base.js.map +0 -1
  209. package/es/components/Radiobox/_view/base.js +0 -5
  210. package/es/components/Radiobox/_view/base.js.map +0 -1
  211. package/styled-components/cjs/components/Checkbox/_focused/base.js +0 -26
  212. package/styled-components/cjs/components/Checkbox/_view/base.js +0 -8
  213. package/styled-components/cjs/components/Checkbox/_view/tokens.json +0 -1
  214. package/styled-components/cjs/components/Radiobox/_disabled/base.js +0 -8
  215. package/styled-components/cjs/components/Radiobox/_focused/base.js +0 -26
  216. package/styled-components/es/components/Checkbox/_disabled/base.js +0 -2
  217. package/styled-components/es/components/Checkbox/_focused/base.js +0 -20
  218. package/styled-components/es/components/Checkbox/_view/base.js +0 -2
  219. package/styled-components/es/components/Checkbox/_view/tokens.json +0 -1
  220. package/styled-components/es/components/Radiobox/_disabled/base.js +0 -2
  221. package/styled-components/es/components/Radiobox/_focused/base.js +0 -20
  222. package/styled-components/es/components/Radiobox/_view/base.js +0 -2
  223. package/types/components/Checkbox/_disabled/base.d.ts.map +0 -1
  224. package/types/components/Checkbox/_focused/base.d.ts.map +0 -1
  225. package/types/components/Checkbox/_size/base.d.ts.map +0 -1
  226. package/types/components/Checkbox/_view/base.d.ts.map +0 -1
  227. package/types/components/Radiobox/_disabled/base.d.ts.map +0 -1
  228. package/types/components/Radiobox/_focused/base.d.ts.map +0 -1
  229. package/types/components/Radiobox/_size/base.d.ts.map +0 -1
  230. package/types/components/Radiobox/_view/base.d.ts +0 -2
  231. package/types/components/Radiobox/_view/base.d.ts.map +0 -1
  232. /package/cjs/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  233. /package/cjs/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  234. /package/es/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  235. /package/es/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  236. /package/styled-components/cjs/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  237. /package/styled-components/cjs/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  238. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  239. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  240. /package/styled-components/cjs/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  241. /package/styled-components/cjs/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  242. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  243. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  244. /package/styled-components/cjs/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  245. /package/styled-components/es/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  246. /package/styled-components/es/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  247. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  248. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  249. /package/styled-components/es/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  250. /package/styled-components/es/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  251. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  252. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  253. /package/styled-components/es/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  254. /package/types/components/Checkbox/{_disabled → variations/_disabled}/base.d.ts +0 -0
  255. /package/types/components/Checkbox/{_focused → variations/_size}/base.d.ts +0 -0
  256. /package/types/components/Checkbox/{_size → variations/_view}/base.d.ts +0 -0
  257. /package/types/components/{Checkbox/_view → Radiobox/variations/_disabled}/base.d.ts +0 -0
  258. /package/types/components/Radiobox/{_disabled → variations/_focused}/base.d.ts +0 -0
  259. /package/types/components/Radiobox/{_focused → variations/_size}/base.d.ts +0 -0
  260. /package/types/components/Radiobox/{_size → variations/_view}/base.d.ts +0 -0
@@ -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
  };
@@ -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
  };
@@ -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"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export declare const base: import("@linaria/core").LinariaClassName;
3
+ export declare const StyledInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
4
+ export declare const StyledTrigger: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
+ export declare const StyledContentWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
6
+ export declare const StyledContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
+ export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
8
+ export declare const StyledDescription: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
9
+ //# sourceMappingURL=Checkbox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,0CAahB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAYvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKA+BzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,8KAMhC,CAAC;AAEF,eAAO,MAAM,aAAa,qKAMzB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAOvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAU7B,CAAC"}
@@ -0,0 +1,32 @@
1
+ export declare const classes: {
2
+ singleLine: string;
3
+ resetMargins: string;
4
+ checkboxTrigger: string;
5
+ };
6
+ export declare const tokens: {
7
+ margin: string;
8
+ triggerMargin: string;
9
+ triggerSize: string;
10
+ triggerBorderRadius: string;
11
+ contentTopOffset: string;
12
+ contentLeftOffset: string;
13
+ labelFontFamily: string;
14
+ labelFontSize: string;
15
+ labelFontStyle: string;
16
+ labelFontWeight: string;
17
+ labelLetterSpacing: string;
18
+ labelLineHeight: string;
19
+ descriptionFontFamily: string;
20
+ descriptionFontSize: string;
21
+ descriptionFontStyle: string;
22
+ descriptionFontWeight: string;
23
+ descriptionLetterSpacing: string;
24
+ descriptionLineHeight: string;
25
+ fillColor: string;
26
+ iconColor: string;
27
+ descriptionColor: string;
28
+ triggerBorderColor: string;
29
+ focusColor: string;
30
+ disabledOpacity: string;
31
+ };
32
+ //# sourceMappingURL=Checkbox.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;CA2BlB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { InputHTMLAttributes } from 'react';
2
+ export interface BaseboxProps {
3
+ /**
4
+ * Уникальный идентификатор контрола
5
+ */
6
+ id?: string;
7
+ /**
8
+ * Метка-подпись к элементу
9
+ */
10
+ label?: React.ReactNode;
11
+ /**
12
+ * Описание элемента
13
+ */
14
+ description?: React.ReactNode;
15
+ /**
16
+ * Title и description в одну строку или с переносом строк
17
+ */
18
+ singleLine?: boolean;
19
+ /**
20
+ * Неопределенное состояние компонента - когда часть потомков не выбрана.
21
+ */
22
+ indeterminate?: boolean;
23
+ size?: string;
24
+ view?: string;
25
+ focused?: boolean;
26
+ }
27
+ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, BaseboxProps {
28
+ }
29
+ //# sourceMappingURL=Checkbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Checkbox.types.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,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,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"IconsSvg.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/IconsSvg.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,IAAI,mBAShB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAWzB,CAAC"}
1
+ {"version":3,"file":"IconsSvg.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/IconsSvg.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,IAAI,mBAShB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAMzB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { checkboxRoot, checkboxConfig } from './Checkbox';
2
- export type { BaseboxProps } from './Checkbox';
2
+ export type { BaseboxProps } from './Checkbox.types';
3
+ export { tokens as checkboxTokens } from './Checkbox.tokens';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/variations/_disabled/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAQhB,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * INFO: на 34 строке нет возможности использвать .${classes.checkboxTrigger},
3
+ * потому что линтер правит селектор и он применяется некорректно
4
+ */
5
+ export declare const base: import("@linaria/core").LinariaClassName;
6
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/variations/_focused/base.ts"],"names":[],"mappings":"AAKA;;;GAGG;AAEH,eAAO,MAAM,IAAI,0CAuChB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAYhB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { InputHTMLAttributes } from '@salutejs/plasma-core';
3
3
  import type { Filter, RootProps } from '../../engines/types';
4
- import { BaseboxProps } from '../Checkbox/Checkbox';
4
+ import { BaseboxProps } from '../Checkbox/Checkbox.types';
5
5
  declare type RadioboxProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<BaseboxProps, 'indeterminate'>;
6
6
  export declare const radioboxRoot: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export declare const radioboxConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAOH,YAAY,EACf,MAAM,sBAAsB,CAAC;AAmE9B,aAAK,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,yKA0EvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA5EQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CAmG5E,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAU7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAS1D,aAAK,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,yKA0EvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA5EQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CAmG5E,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledEllipse: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const base: import("@linaria/core").LinariaClassName;
4
+ //# sourceMappingURL=Radiobox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radiobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.styles.ts"],"names":[],"mappings":";AAkCA,eAAO,MAAM,aAAa,qKAYzB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAmBhB,CAAC"}
@@ -0,0 +1,33 @@
1
+ export declare const classes: {
2
+ resetMargins: string;
3
+ singleLine: string;
4
+ radioboxTrigger: string;
5
+ };
6
+ export declare const tokens: {
7
+ labelFontFamily: string;
8
+ labelFontSize: string;
9
+ labelFontStyle: string;
10
+ labelFontWeight: string;
11
+ labelLetterSpacing: string;
12
+ labelLineHeight: string;
13
+ descriptionFontFamily: string;
14
+ descriptionFontSize: string;
15
+ descriptionFontStyle: string;
16
+ descriptionFontWeight: string;
17
+ descriptionLetterSpacing: string;
18
+ descriptionLineHeight: string;
19
+ fillColor: string;
20
+ descriptionColor: string;
21
+ triggerBorderColor: string;
22
+ contentTopOffset: string;
23
+ contentLeftOffset: string;
24
+ triggerSize: string;
25
+ triggerBorderRadius: string;
26
+ triggerMargin: string;
27
+ margin: string;
28
+ ellipseSize: string;
29
+ ellipseColor: string;
30
+ disabledOpacity: string;
31
+ focusColor: string;
32
+ };
33
+ //# sourceMappingURL=Radiobox.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radiobox.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { radioboxRoot, radioboxConfig } from './Radiobox';
2
2
  export { RadioGroup } from './RadioGroup';
3
+ export { tokens as radioboxTokens } from './Radiobox.tokens';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAQhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_focused/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAsChB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAMhB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;QAKX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -20,5 +20,5 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Checkbox").BaseboxProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;0OAA0B,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;8HAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;QAKX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -20,5 +20,5 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Checkbox").BaseboxProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;0OAA0B,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;8HAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;QAKX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -20,5 +20,5 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Checkbox").BaseboxProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;0OAA0B,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;8HAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}