@salutejs/plasma-new-hope 0.317.0-canary.1877.14213779024.0 → 0.317.0-canary.1880.14216408760.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -52
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/cjs/components/Checkbox/Checkbox.css +10 -10
  4. package/cjs/components/Checkbox/Checkbox.js +2 -2
  5. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  6. package/cjs/components/Checkbox/Checkbox.styles.js +1 -1
  7. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
  8. package/cjs/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
  9. package/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  10. package/cjs/components/Checkbox/Checkbox.tokens.js.map +1 -1
  11. package/cjs/components/Checkbox/variations/_focused/base.js +1 -1
  12. package/cjs/components/Checkbox/variations/_focused/base.js.map +1 -1
  13. package/{es/components/Checkbox/variations/_focused/base_x86p0b.css → cjs/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
  14. package/cjs/components/Checkbox/variations/_view/base.js +1 -1
  15. package/cjs/components/Checkbox/variations/_view/base.js.map +1 -1
  16. package/cjs/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
  17. package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -22
  18. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  19. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  22. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  23. package/{es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
  25. package/cjs/components/Pagination/Pagination.css +19 -19
  26. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
  27. package/cjs/components/Radiobox/Radiobox.css +11 -11
  28. package/cjs/components/Radiobox/Radiobox.styles.js +1 -1
  29. package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -1
  30. package/cjs/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
  31. package/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  32. package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -1
  33. package/cjs/components/Radiobox/variations/_view/base.js +1 -1
  34. package/cjs/components/Radiobox/variations/_view/base.js.map +1 -1
  35. package/cjs/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
  36. package/cjs/components/Select/Select.css +19 -19
  37. package/cjs/components/Select/Select.tokens.js +0 -2
  38. package/cjs/components/Select/Select.tokens.js.map +1 -1
  39. package/cjs/components/Select/ui/Inner/Inner.css +19 -19
  40. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
  41. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  42. package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
  43. package/cjs/components/Select/ui/VirtualList/VirtualList.css +19 -19
  44. package/cjs/components/Table/Table.css +19 -19
  45. package/cjs/components/Table/ui/Cell/Cell.css +19 -19
  46. package/cjs/components/Table/ui/EditableCell/EditableCell.css +19 -19
  47. package/cjs/components/Table/ui/HeadCell/HeadCell.css +19 -19
  48. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
  49. package/cjs/engines/linaria.js +4 -2
  50. package/cjs/engines/linaria.js.map +1 -1
  51. package/cjs/index.css +33 -33
  52. package/cjs/index.js +0 -2
  53. package/cjs/index.js.map +1 -1
  54. package/cjs/utils/index.js.map +1 -1
  55. package/emotion/cjs/components/Checkbox/Checkbox.js +2 -2
  56. package/emotion/cjs/components/Checkbox/Checkbox.styles.js +8 -8
  57. package/emotion/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  58. package/emotion/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  59. package/emotion/cjs/components/Checkbox/variations/_focused/base.js +2 -2
  60. package/emotion/cjs/components/Checkbox/variations/_view/base.js +1 -1
  61. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  62. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
  63. package/emotion/cjs/components/Radiobox/Radiobox.styles.js +3 -3
  64. package/emotion/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  65. package/emotion/cjs/components/Radiobox/variations/_view/base.js +1 -1
  66. package/emotion/cjs/components/Select/Select.tokens.js +0 -2
  67. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  68. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  69. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  70. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
  71. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  72. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  73. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
  74. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
  75. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  76. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  77. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  78. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
  79. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  80. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  81. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
  82. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
  83. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  84. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +24 -24
  85. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  86. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  87. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  88. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  89. package/emotion/cjs/utils/index.js +0 -8
  90. package/emotion/es/components/Checkbox/Checkbox.js +2 -2
  91. package/emotion/es/components/Checkbox/Checkbox.styles.js +8 -8
  92. package/emotion/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  93. package/emotion/es/components/Checkbox/Checkbox.tokens.js +0 -2
  94. package/emotion/es/components/Checkbox/variations/_focused/base.js +2 -2
  95. package/emotion/es/components/Checkbox/variations/_view/base.js +1 -1
  96. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  97. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
  98. package/emotion/es/components/Radiobox/Radiobox.styles.js +3 -3
  99. package/emotion/es/components/Radiobox/Radiobox.tokens.js +0 -2
  100. package/emotion/es/components/Radiobox/variations/_view/base.js +1 -1
  101. package/emotion/es/components/Select/Select.tokens.js +0 -2
  102. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  103. package/emotion/es/components/Typography/Typography.template-doc.mdx +16 -0
  104. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  105. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
  106. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  107. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  108. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
  109. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
  110. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  111. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  112. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  113. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
  114. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  115. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  116. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
  117. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
  118. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  119. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +24 -24
  120. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  121. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  122. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  123. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  124. package/emotion/es/utils/index.js +0 -1
  125. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -52
  126. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  127. package/es/components/Checkbox/Checkbox.css +10 -10
  128. package/es/components/Checkbox/Checkbox.js +2 -2
  129. package/es/components/Checkbox/Checkbox.js.map +1 -1
  130. package/es/components/Checkbox/Checkbox.styles.js +1 -1
  131. package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
  132. package/es/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
  133. package/es/components/Checkbox/Checkbox.tokens.js +0 -2
  134. package/es/components/Checkbox/Checkbox.tokens.js.map +1 -1
  135. package/es/components/Checkbox/variations/_focused/base.js +1 -1
  136. package/es/components/Checkbox/variations/_focused/base.js.map +1 -1
  137. package/{cjs/components/Checkbox/variations/_focused/base_x86p0b.css → es/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
  138. package/es/components/Checkbox/variations/_view/base.js +1 -1
  139. package/es/components/Checkbox/variations/_view/base.js.map +1 -1
  140. package/es/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
  141. package/es/components/Combobox/ComboboxNew/Combobox.css +22 -22
  142. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  143. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  144. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
  145. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  146. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  147. package/{cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
  148. package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
  149. package/es/components/Pagination/Pagination.css +19 -19
  150. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
  151. package/es/components/Radiobox/Radiobox.css +11 -11
  152. package/es/components/Radiobox/Radiobox.styles.js +1 -1
  153. package/es/components/Radiobox/Radiobox.styles.js.map +1 -1
  154. package/es/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
  155. package/es/components/Radiobox/Radiobox.tokens.js +0 -2
  156. package/es/components/Radiobox/Radiobox.tokens.js.map +1 -1
  157. package/es/components/Radiobox/variations/_view/base.js +1 -1
  158. package/es/components/Radiobox/variations/_view/base.js.map +1 -1
  159. package/es/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
  160. package/es/components/Select/Select.css +19 -19
  161. package/es/components/Select/Select.tokens.js +0 -2
  162. package/es/components/Select/Select.tokens.js.map +1 -1
  163. package/es/components/Select/ui/Inner/Inner.css +19 -19
  164. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
  165. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  166. package/es/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
  167. package/es/components/Select/ui/VirtualList/VirtualList.css +19 -19
  168. package/es/components/Table/Table.css +19 -19
  169. package/es/components/Table/ui/Cell/Cell.css +19 -19
  170. package/es/components/Table/ui/EditableCell/EditableCell.css +19 -19
  171. package/es/components/Table/ui/HeadCell/HeadCell.css +19 -19
  172. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
  173. package/es/engines/linaria.js +4 -2
  174. package/es/engines/linaria.js.map +1 -1
  175. package/es/index.css +33 -33
  176. package/es/index.js +0 -1
  177. package/es/index.js.map +1 -1
  178. package/es/utils/index.js.map +1 -1
  179. package/package.json +2 -2
  180. package/styled-components/cjs/components/Checkbox/Checkbox.js +2 -2
  181. package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +1 -1
  182. package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  183. package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  184. package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +1 -1
  185. package/styled-components/cjs/components/Checkbox/variations/_view/base.js +1 -1
  186. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  187. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  188. package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +1 -1
  189. package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  190. package/styled-components/cjs/components/Radiobox/variations/_view/base.js +1 -1
  191. package/styled-components/cjs/components/Select/Select.tokens.js +0 -2
  192. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  193. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  194. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
  195. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
  196. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  197. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  198. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
  199. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
  200. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  201. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +4 -4
  202. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
  203. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
  204. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  205. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  206. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
  207. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
  208. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  209. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +4 -4
  210. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  211. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  212. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  213. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  214. package/styled-components/cjs/utils/index.js +0 -8
  215. package/styled-components/es/components/Checkbox/Checkbox.js +2 -2
  216. package/styled-components/es/components/Checkbox/Checkbox.styles.js +1 -1
  217. package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  218. package/styled-components/es/components/Checkbox/Checkbox.tokens.js +0 -2
  219. package/styled-components/es/components/Checkbox/variations/_focused/base.js +1 -1
  220. package/styled-components/es/components/Checkbox/variations/_view/base.js +1 -1
  221. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  222. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  223. package/styled-components/es/components/Radiobox/Radiobox.styles.js +1 -1
  224. package/styled-components/es/components/Radiobox/Radiobox.tokens.js +0 -2
  225. package/styled-components/es/components/Radiobox/variations/_view/base.js +1 -1
  226. package/styled-components/es/components/Select/Select.tokens.js +0 -2
  227. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  228. package/styled-components/es/components/Typography/Typography.template-doc.mdx +16 -0
  229. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
  230. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
  231. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  232. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  233. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
  234. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
  235. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  236. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +4 -4
  237. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
  238. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
  239. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  240. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  241. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
  242. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
  243. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  244. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +4 -4
  245. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  246. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  247. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  248. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  249. package/styled-components/es/utils/index.js +0 -1
  250. package/types/components/Checkbox/Checkbox.tokens.d.ts +0 -2
  251. package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -1
  252. package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -1
  253. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -2
  254. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  255. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  256. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -1
  257. package/types/components/Radiobox/Radiobox.tokens.d.ts +0 -2
  258. package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -1
  259. package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -1
  260. package/types/components/Select/Select.tokens.d.ts +0 -2
  261. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  262. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  263. package/types/components/Typography/Body/Body.d.ts +2 -2
  264. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  265. package/types/components/Typography/Dspl/Dspl.d.ts +2 -2
  266. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  267. package/types/components/Typography/Heading/Heading.d.ts +2 -2
  268. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  269. package/types/components/Typography/Text/Text.d.ts +2 -2
  270. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  271. package/types/components/Typography/Typography.d.ts +1 -1
  272. package/types/components/Typography/Typography.d.ts.map +1 -1
  273. package/types/components/Typography/Typography.types.d.ts +2 -1
  274. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  275. package/types/utils/index.d.ts +0 -1
  276. package/types/utils/index.d.ts.map +1 -1
  277. package/cjs/components/Checkbox/variations/_view/base_tj850e.css +0 -1
  278. package/cjs/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
  279. package/cjs/utils/createConditionalComponent.js +0 -41
  280. package/cjs/utils/createConditionalComponent.js.map +0 -1
  281. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
  282. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
  283. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
  284. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
  285. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  286. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  287. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  288. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  289. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  290. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  291. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  292. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  293. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  294. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  295. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  296. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  297. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  298. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  299. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  300. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  301. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  302. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  303. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  304. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  305. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  306. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  307. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  308. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  309. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  310. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  311. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  312. package/emotion/cjs/utils/createConditionalComponent.js +0 -38
  313. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
  314. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
  315. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
  316. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
  317. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  318. package/emotion/es/examples/typography/components/Old/Body/Body.js +0 -5
  319. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  320. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  321. package/emotion/es/examples/typography/components/Old/Button/Button.js +0 -5
  322. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  323. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  324. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  325. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  326. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  327. package/emotion/es/examples/typography/components/Old/Display/Display.js +0 -5
  328. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  329. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  330. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  331. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  332. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  333. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  334. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  335. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  336. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  337. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  338. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  339. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  340. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  341. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  342. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  343. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  344. package/emotion/es/utils/createConditionalComponent.js +0 -31
  345. package/es/components/Checkbox/variations/_view/base_tj850e.css +0 -1
  346. package/es/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
  347. package/es/utils/createConditionalComponent.js +0 -33
  348. package/es/utils/createConditionalComponent.js.map +0 -1
  349. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
  350. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
  351. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
  352. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
  353. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  354. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  355. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  356. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  357. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  358. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  359. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  360. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  361. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  362. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  363. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  364. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  365. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  366. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  367. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  368. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  369. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  370. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  371. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  372. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  373. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  374. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  375. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  376. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  377. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  378. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  379. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  380. package/styled-components/cjs/utils/createConditionalComponent.js +0 -38
  381. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
  382. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
  383. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
  384. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
  385. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  386. package/styled-components/es/examples/typography/components/Old/Body/Body.js +0 -5
  387. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  388. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  389. package/styled-components/es/examples/typography/components/Old/Button/Button.js +0 -5
  390. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  391. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  392. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  393. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  394. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  395. package/styled-components/es/examples/typography/components/Old/Display/Display.js +0 -5
  396. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  397. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  398. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  399. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  400. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  401. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  402. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  403. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  404. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  405. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  406. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  407. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  408. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  409. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  410. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  411. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  412. package/styled-components/es/utils/createConditionalComponent.js +0 -31
  413. package/types/utils/createConditionalComponent.d.ts +0 -12
  414. package/types/utils/createConditionalComponent.d.ts.map +0 -1
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
-
4
- import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
5
- import { mergeConfig } from '../../../../../engines';
6
- import { headlineConfig } from '../../../../../components/Typography';
7
-
8
- import { Headline } from './Headline';
9
- import { config } from './Headline.config';
10
-
11
- const meta: Meta<typeof Headline> = {
12
- title: 'Data Display/Typography/Old/Headline',
13
- decorators: [WithTheme],
14
- component: Headline,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(headlineConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
23
- args: {
24
- noWrap: false,
25
- breakWord: true,
26
- },
27
- };
28
-
29
- export default meta;
30
-
31
- export const Default: StoryObj<typeof Headline> = {
32
- render: (props) => {
33
- return (
34
- <Headline {...props}>
35
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
- distinctio modi quo, provident quod.
37
- </Headline>
38
- );
39
- },
40
- };
@@ -1,19 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.config = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
9
- var config = exports.config = {
10
- defaults: {
11
- size: 'paragraph1'
12
- },
13
- variations: {
14
- size: {
15
- paragraph1: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-paragraph1-font-family);", ":var(--plasma-typo-paragraph1-font-size);", ":var(--plasma-typo-paragraph1-font-style);", ":var(--plasma-typo-paragraph1-font-weight);", ":var(--plasma-typo-paragraph1-letter-spacing);", ":var(--plasma-typo-paragraph1-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight),
16
- paragraph2: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-paragraph2-font-family);", ":var(--plasma-typo-paragraph2-font-size);", ":var(--plasma-typo-paragraph2-font-style);", ":var(--plasma-typo-paragraph2-font-weight);", ":var(--plasma-typo-paragraph2-letter-spacing);", ":var(--plasma-typo-paragraph2-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
17
- }
18
- }
19
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Paragraph = void 0;
7
- var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
8
- var _engines = /*#__PURE__*/require("../../../../../engines");
9
- var _Paragraph = /*#__PURE__*/require("./Paragraph.config");
10
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.paragraphConfig, _Paragraph.config);
11
- var Paragraph = exports.Paragraph = /*#__PURE__*/(0, _engines.component)(mergedConfig);
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
-
4
- import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
5
- import { mergeConfig } from '../../../../../engines';
6
- import { paragraphConfig } from '../../../../../components/Typography';
7
-
8
- import { Paragraph } from './Paragraph';
9
- import { config } from './Paragraph.config';
10
-
11
- const meta: Meta<typeof Paragraph> = {
12
- title: 'Data Display/Typography/Old/Paragraph',
13
- decorators: [WithTheme],
14
- component: Paragraph,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(paragraphConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
23
- args: {
24
- noWrap: false,
25
- breakWord: true,
26
- resetMargin: false,
27
- m: 2,
28
- },
29
- };
30
-
31
- export default meta;
32
-
33
- export const Default: StoryObj<typeof Paragraph> = {
34
- render: (props) => {
35
- return (
36
- <Paragraph {...props}>
37
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
38
- distinctio modi quo, provident quod.
39
- </Paragraph>
40
- );
41
- },
42
- };
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.config = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
9
- var config = exports.config = {
10
- defaults: {
11
- size: 'm'
12
- },
13
- variations: {
14
- size: {
15
- m: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-subtitle-font-family);", ":var(--plasma-typo-subtitle-font-size);", ":var(--plasma-typo-subtitle-font-style);", ":var(--plasma-typo-subtitle-font-weight);", ":var(--plasma-typo-subtitle-letter-spacing);", ":var(--plasma-typo-subtitle-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
16
- }
17
- }
18
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Subtitle = void 0;
7
- var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
8
- var _engines = /*#__PURE__*/require("../../../../../engines");
9
- var _Subtitle = /*#__PURE__*/require("./Subtitle.config");
10
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.subtitleConfig, _Subtitle.config);
11
- var Subtitle = exports.Subtitle = /*#__PURE__*/(0, _engines.component)(mergedConfig);
@@ -1,39 +0,0 @@
1
- import React from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
-
4
- import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
5
- import { mergeConfig } from '../../../../../engines';
6
- import { subtitleConfig } from '../../../../../components/Typography';
7
-
8
- import { Subtitle } from './Subtitle';
9
- import { config } from './Subtitle.config';
10
-
11
- const meta: Meta<typeof Subtitle> = {
12
- title: 'Data Display/Typography/Old/Subtitle',
13
- decorators: [WithTheme],
14
- component: Subtitle,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(subtitleConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
23
- args: {
24
- noWrap: false,
25
- },
26
- };
27
-
28
- export default meta;
29
-
30
- export const Default: StoryObj<typeof Subtitle> = {
31
- render: (props) => {
32
- return (
33
- <Subtitle {...props}>
34
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
35
- distinctio modi quo, provident quod.
36
- </Subtitle>
37
- );
38
- },
39
- };
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.config = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _tokens = /*#__PURE__*/require("../../../../../components/Typography/tokens");
9
- var config = exports.config = {
10
- defaults: {
11
- size: 'm'
12
- },
13
- variations: {
14
- size: {
15
- m: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-underline-font-family);", ":var(--plasma-typo-underline-font-size);", ":var(--plasma-typo-underline-font-style);", ":var(--plasma-typo-underline-font-weight);", ":var(--plasma-typo-underline-letter-spacing);", ":var(--plasma-typo-underline-line-height);"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontWeight, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight)
16
- }
17
- }
18
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Underline = void 0;
7
- var _Typography = /*#__PURE__*/require("../../../../../components/Typography");
8
- var _engines = /*#__PURE__*/require("../../../../../engines");
9
- var _Underline = /*#__PURE__*/require("./Underline.config");
10
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Typography.underlineConfig, _Underline.config);
11
- var Underline = exports.Underline = /*#__PURE__*/(0, _engines.component)(mergedConfig);
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
-
4
- import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
5
- import { mergeConfig } from '../../../../../engines';
6
- import { underlineConfig } from '../../../../../components/Typography';
7
-
8
- import { Underline } from './Underline';
9
- import { config } from './Underline.config';
10
-
11
- const meta: Meta<typeof Underline> = {
12
- title: 'Data Display/Typography/Old/Underline',
13
- decorators: [WithTheme],
14
- component: Underline,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(underlineConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
23
- args: {
24
- noWrap: false,
25
- breakWord: true,
26
- },
27
- };
28
-
29
- export default meta;
30
-
31
- export const Default: StoryObj<typeof Underline> = {
32
- render: (props) => {
33
- return (
34
- <Underline {...props}>
35
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
- distinctio modi quo, provident quod.
37
- </Underline>
38
- );
39
- },
40
- };
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createConditionalComponent = createConditionalComponent;
7
- var _react = /*#__PURE__*/_interopRequireDefault(/*#__PURE__*/require("react"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
10
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function createConditionalComponent(defaultComponent, mappings) {
13
- return function (props) {
14
- var _iterator = _createForOfIteratorHelper(mappings),
15
- _step;
16
- try {
17
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
18
- var mapping = _step.value;
19
- var conditions = mapping.conditions,
20
- component = mapping.component;
21
- var conditionsArray = Array.isArray(conditions) ? conditions : [conditions];
22
- var allConditionsMatch = conditionsArray.every(function (condition) {
23
- return props[condition.prop] === condition.value;
24
- });
25
- if (allConditionsMatch) {
26
- var Component = component;
27
- return /*#__PURE__*/_react["default"].createElement(Component, props);
28
- }
29
- }
30
- } catch (err) {
31
- _iterator.e(err);
32
- } finally {
33
- _iterator.f();
34
- }
35
- var DefaultComponent = defaultComponent;
36
- return /*#__PURE__*/_react["default"].createElement(DefaultComponent, props);
37
- };
38
- }
@@ -1,41 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { checkboxTokens } from '../../../../components/Checkbox';
3
- export var config = {
4
- defaults: {
5
- view: 'accent'
6
- },
7
- variations: {
8
- /**
9
- * Размер контрола.
10
- */
11
- size: {
12
- s: /*#__PURE__*/css(["", ":0;", ":0.0625rem;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0;", ":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);", ":0.125rem;", ":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.triggerPadding, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.triggerBorderWidth, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionMarginTop, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight),
13
- m: /*#__PURE__*/css(["", ":0;", ":0.125rem;", ":1.25rem;", ":0.375rem;", ":0.0625rem;", ":0.125rem;", ":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);", ":0.125rem;", ":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.triggerPadding, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.triggerBorderWidth, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionMarginTop, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight)
14
- },
15
- /**
16
- * Вид контрола.
17
- */
18
- view: {
19
- accent: /*#__PURE__*/css(["", ":transparent;", ":var(--text-accent);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
20
- // deprecated
21
- "default": /*#__PURE__*/css(["", ":transparent;", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
22
- // deprecated
23
- secondary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
24
- // deprecated
25
- tertiary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
26
- // deprecated
27
- paragraph: /*#__PURE__*/css(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
28
- // deprecated
29
- positive: /*#__PURE__*/css(["", ":transparent;", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
30
- // deprecated
31
- warning: /*#__PURE__*/css(["", ":transparent;", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
32
- negative: /*#__PURE__*/css(["", ":transparent;", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-negative);", ":var(--text-negative);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor)
33
- },
34
- disabled: {
35
- "true": /*#__PURE__*/css(["", ":0.4;"], checkboxTokens.disabledOpacity)
36
- },
37
- focused: {
38
- "true": /*#__PURE__*/css(["", ":var(--text-accent);"], checkboxTokens.focusColor)
39
- }
40
- }
41
- };
@@ -1,43 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { radioboxTokens } from '../../../../components/Radiobox';
3
- export var config = {
4
- defaults: {
5
- view: 'accent',
6
- focused: 'true'
7
- },
8
- variations: {
9
- /**
10
- * Размер контрола.
11
- */
12
- size: {
13
- s: /*#__PURE__*/css(["", ":0;", ":0.0625rem 0;", ":1rem;", ":1.125rem;", ":0.0625rem;", ":0.5rem;", ":0;", ":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);", ":0.125rem;", ":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.triggerPadding, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.triggerBorderWidth, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionMarginTop, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight),
14
- m: /*#__PURE__*/css(["", ":0;", ":0.0625rem;", ":1.375rem;", ":1.125rem;", ":0.0625rem;", ":0.625rem;", ":0.125rem;", ":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);", ":0.125rem;", ":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.triggerPadding, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.triggerBorderWidth, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionMarginTop, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight)
15
- },
16
- /**
17
- * Вид контрола.
18
- */
19
- view: {
20
- accent: /*#__PURE__*/css(["", ":transparent;", ":var(--text-accent);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
21
- // deprecated
22
- "default": /*#__PURE__*/css(["", ":transparent;", ":var(--text-default);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-default);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
23
- // deprecated
24
- secondary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
25
- // deprecated
26
- tertiary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
27
- // deprecated
28
- paragraph: /*#__PURE__*/css(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
29
- // deprecated
30
- positive: /*#__PURE__*/css(["", ":transparent;", ":var(--text-positive);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
31
- // deprecated
32
- warning: /*#__PURE__*/css(["", ":transparent;", ":var(--text-warning);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
33
- // deprecated
34
- negative: /*#__PURE__*/css(["", ":transparent;", ":var(--text-negative);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-negative);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor)
35
- },
36
- disabled: {
37
- "true": /*#__PURE__*/css(["", ":0.4;"], radioboxTokens.disabledOpacity)
38
- },
39
- focused: {
40
- "true": /*#__PURE__*/css(["", ":var(--text-accent);"], radioboxTokens.focusColor)
41
- }
42
- }
43
- };
@@ -1,41 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { checkboxTokens } from '../../../../components/Checkbox';
3
- export var config = {
4
- defaults: {
5
- view: 'accent'
6
- },
7
- variations: {
8
- /**
9
- * Размер контрола.
10
- */
11
- size: {
12
- s: /*#__PURE__*/css(["", ":0;", ":0.0625rem;", ":0.875rem;", ":0.25rem;", ":0.0625rem;", ":0;", ":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);", ":0.125rem;", ":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.triggerPadding, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.triggerBorderWidth, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionMarginTop, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight),
13
- m: /*#__PURE__*/css(["", ":0;", ":0.125rem;", ":1.25rem;", ":0.375rem;", ":0.0625rem;", ":0.125rem;", ":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);", ":0.125rem;", ":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.triggerPadding, checkboxTokens.triggerSize, checkboxTokens.triggerBorderRadius, checkboxTokens.triggerBorderWidth, checkboxTokens.contentTopOffset, checkboxTokens.contentLeftOffset, checkboxTokens.labelFontFamily, checkboxTokens.labelFontSize, checkboxTokens.labelFontStyle, checkboxTokens.labelFontWeight, checkboxTokens.labelLetterSpacing, checkboxTokens.labelLineHeight, checkboxTokens.descriptionMarginTop, checkboxTokens.descriptionFontFamily, checkboxTokens.descriptionFontSize, checkboxTokens.descriptionFontStyle, checkboxTokens.descriptionFontWeight, checkboxTokens.descriptionLetterSpacing, checkboxTokens.descriptionLineHeight)
14
- },
15
- /**
16
- * Вид контрола.
17
- */
18
- view: {
19
- accent: /*#__PURE__*/css(["", ":transparent;", ":var(--text-accent);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
20
- // deprecated
21
- "default": /*#__PURE__*/css(["", ":transparent;", ":var(--text-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
22
- // deprecated
23
- secondary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
24
- // deprecated
25
- tertiary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
26
- // deprecated
27
- paragraph: /*#__PURE__*/css(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
28
- // deprecated
29
- positive: /*#__PURE__*/css(["", ":transparent;", ":var(--text-positive);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
30
- // deprecated
31
- warning: /*#__PURE__*/css(["", ":transparent;", ":var(--text-warning);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor),
32
- negative: /*#__PURE__*/css(["", ":transparent;", ":var(--text-negative);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-negative);", ":var(--text-negative);"], checkboxTokens.fillColor, checkboxTokens.iconColor, checkboxTokens.labelColor, checkboxTokens.descriptionColor, checkboxTokens.triggerBackgroundColor, checkboxTokens.triggerBorderColor, checkboxTokens.triggerBorderCheckedColor)
33
- },
34
- disabled: {
35
- "true": /*#__PURE__*/css(["", ":0.4;"], checkboxTokens.disabledOpacity)
36
- },
37
- focused: {
38
- "true": /*#__PURE__*/css(["", ":var(--text-accent);"], checkboxTokens.focusColor)
39
- }
40
- }
41
- };
@@ -1,43 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { radioboxTokens } from '../../../../components/Radiobox';
3
- export var config = {
4
- defaults: {
5
- view: 'accent',
6
- focused: 'true'
7
- },
8
- variations: {
9
- /**
10
- * Размер контрола.
11
- */
12
- size: {
13
- s: /*#__PURE__*/css(["", ":0;", ":0.0625rem 0;", ":1rem;", ":1.125rem;", ":0.0625rem;", ":0.5rem;", ":0;", ":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);", ":0.125rem;", ":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.triggerPadding, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.triggerBorderWidth, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionMarginTop, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight),
14
- m: /*#__PURE__*/css(["", ":0;", ":0.0625rem;", ":1.375rem;", ":1.125rem;", ":0.0625rem;", ":0.625rem;", ":0.125rem;", ":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);", ":0.125rem;", ":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.triggerPadding, radioboxTokens.triggerSize, radioboxTokens.triggerBorderRadius, radioboxTokens.triggerBorderWidth, radioboxTokens.ellipseSize, radioboxTokens.contentTopOffset, radioboxTokens.contentLeftOffset, radioboxTokens.labelFontFamily, radioboxTokens.labelFontSize, radioboxTokens.labelFontStyle, radioboxTokens.labelFontWeight, radioboxTokens.labelLetterSpacing, radioboxTokens.labelLineHeight, radioboxTokens.descriptionFontFamily, radioboxTokens.descriptionMarginTop, radioboxTokens.descriptionFontSize, radioboxTokens.descriptionFontStyle, radioboxTokens.descriptionFontWeight, radioboxTokens.descriptionLetterSpacing, radioboxTokens.descriptionLineHeight)
15
- },
16
- /**
17
- * Вид контрола.
18
- */
19
- view: {
20
- accent: /*#__PURE__*/css(["", ":transparent;", ":var(--text-accent);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-accent);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
21
- // deprecated
22
- "default": /*#__PURE__*/css(["", ":transparent;", ":var(--text-default);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-default);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
23
- // deprecated
24
- secondary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-secondary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
25
- // deprecated
26
- tertiary: /*#__PURE__*/css(["", ":transparent;", ":var(--text-tertiary);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-tertiary);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
27
- // deprecated
28
- paragraph: /*#__PURE__*/css(["", ":transparent;", ":var(--text-paragraph);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-paragraph);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
29
- // deprecated
30
- positive: /*#__PURE__*/css(["", ":transparent;", ":var(--text-positive);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-positive);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
31
- // deprecated
32
- warning: /*#__PURE__*/css(["", ":transparent;", ":var(--text-warning);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-warning);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor),
33
- // deprecated
34
- negative: /*#__PURE__*/css(["", ":transparent;", ":var(--text-negative);", ":var(--text-secondary);", ":transparent;", ":var(--text-secondary);", ":var(--text-negative);"], radioboxTokens.fillColor, radioboxTokens.ellipseColor, radioboxTokens.descriptionColor, radioboxTokens.triggerBackgroundColor, radioboxTokens.triggerBorderColor, radioboxTokens.triggerBorderCheckedColor)
35
- },
36
- disabled: {
37
- "true": /*#__PURE__*/css(["", ":0.4;"], radioboxTokens.disabledOpacity)
38
- },
39
- focused: {
40
- "true": /*#__PURE__*/css(["", ":var(--text-accent);"], radioboxTokens.focusColor)
41
- }
42
- }
43
- };
@@ -1,14 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../../../../../components/Typography/tokens';
3
- export var config = {
4
- defaults: {
5
- size: 'body1'
6
- },
7
- variations: {
8
- size: {
9
- body1: /*#__PURE__*/css(["", ":var(--plasma-typo-body1-font-family);", ":var(--plasma-typo-body1-font-size);", ":var(--plasma-typo-body1-font-style);", ":var(--plasma-typo-body1-font-weight);", ":var(--plasma-typo-body1-letter-spacing);", ":var(--plasma-typo-body1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
- body2: /*#__PURE__*/css(["", ":var(--plasma-typo-body2-font-family);", ":var(--plasma-typo-body2-font-size);", ":var(--plasma-typo-body2-font-style);", ":var(--plasma-typo-body2-font-weight);", ":var(--plasma-typo-body2-letter-spacing);", ":var(--plasma-typo-body2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
11
- body3: /*#__PURE__*/css(["", ":var(--plasma-typo-body3-font-family);", ":var(--plasma-typo-body3-font-size);", ":var(--plasma-typo-body3-font-style);", ":var(--plasma-typo-body3-font-weight);", ":var(--plasma-typo-body3-letter-spacing);", ":var(--plasma-typo-body3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
12
- }
13
- }
14
- };
@@ -1,5 +0,0 @@
1
- import { oldBodyConfig } from '../../../../../components/Typography';
2
- import { component, mergeConfig } from '../../../../../engines';
3
- import { config } from './Body.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(oldBodyConfig, config);
5
- export var OldBody = /*#__PURE__*/component(mergedConfig);
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
-
4
- import { WithTheme, argTypesFromConfig } from '../../../../_helpers';
5
- import { mergeConfig } from '../../../../../engines';
6
- import { oldBodyConfig } from '../../../../../components/Typography';
7
-
8
- import { OldBody } from './Body';
9
- import { config } from './Body.config';
10
-
11
- const meta: Meta<typeof OldBody> = {
12
- title: 'Data Display/Typography/Old/Body',
13
- decorators: [WithTheme],
14
- component: OldBody,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
23
- args: {
24
- noWrap: false,
25
- breakWord: true,
26
- },
27
- };
28
-
29
- export default meta;
30
-
31
- export const Default: StoryObj<typeof OldBody> = {
32
- render: (props) => {
33
- return (
34
- <OldBody {...props}>
35
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
- distinctio modi quo, provident quod.
37
- </OldBody>
38
- );
39
- },
40
- };
@@ -1,13 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../../../../../components/Typography/tokens';
3
- export var config = {
4
- defaults: {
5
- size: 'button1'
6
- },
7
- variations: {
8
- size: {
9
- button1: /*#__PURE__*/css(["", ":var(--plasma-typo-button1-font-family);", ":var(--plasma-typo-button1-font-size);", ":var(--plasma-typo-button1-font-style);", ":var(--plasma-typo-button1-font-weight);", ":var(--plasma-typo-button1-letter-spacing);", ":var(--plasma-typo-button1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
- button2: /*#__PURE__*/css(["", ":var(--plasma-typo-button2-font-family);", ":var(--plasma-typo-button2-font-size);", ":var(--plasma-typo-button2-font-style);", ":var(--plasma-typo-button2-font-weight);", ":var(--plasma-typo-button2-letter-spacing);", ":var(--plasma-typo-button2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
11
- }
12
- }
13
- };
@@ -1,5 +0,0 @@
1
- import { buttonTypographyConfig } from '../../../../../components/Typography';
2
- import { component, mergeConfig } from '../../../../../engines';
3
- import { config } from './Button.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(buttonTypographyConfig, config);
5
- export var Button = /*#__PURE__*/component(mergedConfig);