@salutejs/plasma-new-hope 0.317.0-canary.1886.14214080050.0 → 0.317.0-canary.1888.14214679698.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 (316) hide show
  1. package/cjs/components/Table/Table.css +24 -22
  2. package/cjs/components/Table/Table.js +11 -16
  3. package/cjs/components/Table/Table.js.map +1 -1
  4. package/cjs/components/Table/Table.styles.js +17 -11
  5. package/cjs/components/Table/Table.styles.js.map +1 -1
  6. package/cjs/components/Table/Table.styles_xngwgy.css +12 -0
  7. package/cjs/components/Table/Table.tokens.js +9 -0
  8. package/cjs/components/Table/Table.tokens.js.map +1 -1
  9. package/cjs/components/Table/ui/Cell/Cell.css +24 -22
  10. package/cjs/components/Table/ui/Cell/Cell.js.map +1 -1
  11. package/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  12. package/cjs/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  13. package/cjs/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
  14. package/cjs/components/Table/ui/EditableCell/EditableCell.css +25 -23
  15. package/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  16. package/cjs/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  17. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  18. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  19. package/{es/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → cjs/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
  20. package/cjs/components/Table/ui/HeadCell/HeadCell.css +24 -22
  21. package/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  22. package/cjs/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  23. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +7 -1
  24. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  25. package/{es/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → cjs/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
  26. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
  27. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  28. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  29. package/cjs/components/Typography/Body/Body.css +1 -1
  30. package/cjs/components/Typography/Typography.js +4 -4
  31. package/cjs/components/Typography/Typography.js.map +1 -1
  32. package/cjs/components/Typography/Typography.styles.js +1 -1
  33. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  34. package/cjs/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
  35. package/cjs/components/Typography/tokens.js +1 -3
  36. package/cjs/components/Typography/tokens.js.map +1 -1
  37. package/cjs/engines/linaria.js +2 -4
  38. package/cjs/engines/linaria.js.map +1 -1
  39. package/cjs/index.css +27 -25
  40. package/emotion/cjs/components/Table/Table.js +14 -16
  41. package/emotion/cjs/components/Table/Table.styles.js +20 -16
  42. package/emotion/cjs/components/Table/Table.tokens.js +9 -1
  43. package/emotion/cjs/components/Table/ui/Cell/Cell.styles.js +2 -2
  44. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  45. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +9 -9
  46. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  47. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +17 -5
  48. package/emotion/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  49. package/emotion/cjs/components/Typography/Typography.js +4 -4
  50. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  51. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +9 -42
  52. package/emotion/cjs/components/Typography/tokens.js +1 -3
  53. package/emotion/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  54. package/emotion/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  55. package/emotion/cjs/examples/typography/components/Body/Body.config.js +5 -5
  56. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
  57. package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
  58. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  59. package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
  60. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  61. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
  62. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +11 -0
  63. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  64. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
  65. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +11 -0
  66. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  67. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
  68. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
  69. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  70. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
  71. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +11 -0
  72. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  73. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
  74. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
  75. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  76. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
  77. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
  78. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  79. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
  80. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
  81. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  82. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
  83. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
  84. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  85. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
  86. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
  87. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  88. package/emotion/cjs/examples/typography/components/Text/Text.config.js +4 -4
  89. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
  90. package/emotion/es/components/Table/Table.js +15 -17
  91. package/emotion/es/components/Table/Table.styles.js +19 -15
  92. package/emotion/es/components/Table/Table.tokens.js +8 -0
  93. package/emotion/es/components/Table/ui/Cell/Cell.styles.js +2 -2
  94. package/emotion/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  95. package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +10 -10
  96. package/emotion/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  97. package/emotion/es/components/Table/ui/HeadCell/HeadCell.styles.js +16 -4
  98. package/emotion/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  99. package/emotion/es/components/Typography/Typography.js +4 -4
  100. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  101. package/emotion/es/components/Typography/Typography.template-doc.mdx +9 -42
  102. package/emotion/es/components/Typography/tokens.js +1 -3
  103. package/emotion/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  104. package/emotion/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  105. package/emotion/es/examples/typography/components/Body/Body.config.js +5 -5
  106. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +1 -17
  107. package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
  108. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  109. package/emotion/es/examples/typography/components/Heading/Heading.config.js +5 -5
  110. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  111. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +14 -0
  112. package/emotion/es/examples/typography/components/Old/Body/Body.js +5 -0
  113. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  114. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +13 -0
  115. package/emotion/es/examples/typography/components/Old/Button/Button.js +5 -0
  116. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  117. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
  118. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +5 -0
  119. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  120. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +14 -0
  121. package/emotion/es/examples/typography/components/Old/Display/Display.js +5 -0
  122. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  123. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
  124. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
  125. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  126. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
  127. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +5 -0
  128. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  129. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
  130. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
  131. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  132. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
  133. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
  134. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  135. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
  136. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +5 -0
  137. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  138. package/emotion/es/examples/typography/components/Text/Text.config.js +4 -4
  139. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +1 -17
  140. package/es/components/Table/Table.css +24 -22
  141. package/es/components/Table/Table.js +13 -18
  142. package/es/components/Table/Table.js.map +1 -1
  143. package/es/components/Table/Table.styles.js +17 -12
  144. package/es/components/Table/Table.styles.js.map +1 -1
  145. package/es/components/Table/Table.styles_xngwgy.css +12 -0
  146. package/es/components/Table/Table.tokens.js +9 -1
  147. package/es/components/Table/Table.tokens.js.map +1 -1
  148. package/es/components/Table/ui/Cell/Cell.css +24 -22
  149. package/es/components/Table/ui/Cell/Cell.js.map +1 -1
  150. package/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  151. package/es/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  152. package/es/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +1 -0
  153. package/es/components/Table/ui/EditableCell/EditableCell.css +25 -23
  154. package/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  155. package/es/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  156. package/es/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  157. package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  158. package/{cjs/components/Table/ui/EditableCell/EditableCell.styles_277bjm.css → es/components/Table/ui/EditableCell/EditableCell.styles_d8duzc.css} +2 -2
  159. package/es/components/Table/ui/HeadCell/HeadCell.css +24 -22
  160. package/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  161. package/es/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  162. package/es/components/Table/ui/HeadCell/HeadCell.styles.js +7 -2
  163. package/es/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  164. package/{cjs/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css → es/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css} +1 -0
  165. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +24 -22
  166. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  167. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  168. package/es/components/Typography/Body/Body.css +1 -1
  169. package/es/components/Typography/Typography.js +4 -4
  170. package/es/components/Typography/Typography.js.map +1 -1
  171. package/es/components/Typography/Typography.styles.js +1 -1
  172. package/es/components/Typography/Typography.styles.js.map +1 -1
  173. package/es/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_fa07dt.css} +1 -1
  174. package/es/components/Typography/tokens.js +1 -3
  175. package/es/components/Typography/tokens.js.map +1 -1
  176. package/es/engines/linaria.js +2 -4
  177. package/es/engines/linaria.js.map +1 -1
  178. package/es/index.css +27 -25
  179. package/package.json +2 -2
  180. package/styled-components/cjs/components/Table/Table.js +14 -16
  181. package/styled-components/cjs/components/Table/Table.styles.js +13 -10
  182. package/styled-components/cjs/components/Table/Table.tokens.js +9 -1
  183. package/styled-components/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  184. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.js +15 -9
  185. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +3 -3
  186. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  187. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +5 -2
  188. package/styled-components/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  189. package/styled-components/cjs/components/Typography/Typography.js +4 -4
  190. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  191. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +9 -42
  192. package/styled-components/cjs/components/Typography/tokens.js +1 -3
  193. package/styled-components/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  194. package/styled-components/cjs/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  195. package/styled-components/cjs/examples/typography/components/Body/Body.config.js +5 -5
  196. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +1 -17
  197. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.config.js +3 -3
  198. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  199. package/styled-components/cjs/examples/typography/components/Heading/Heading.config.js +5 -5
  200. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  201. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
  202. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +11 -0
  203. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  204. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
  205. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +11 -0
  206. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  207. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
  208. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +11 -0
  209. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  210. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
  211. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +11 -0
  212. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  213. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
  214. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +11 -0
  215. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  216. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
  217. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +11 -0
  218. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  219. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
  220. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +11 -0
  221. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  222. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
  223. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +11 -0
  224. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  225. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
  226. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +11 -0
  227. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  228. package/styled-components/cjs/examples/typography/components/Text/Text.config.js +4 -4
  229. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +1 -17
  230. package/styled-components/es/components/Table/Table.js +15 -17
  231. package/styled-components/es/components/Table/Table.styles.js +12 -9
  232. package/styled-components/es/components/Table/Table.tokens.js +8 -0
  233. package/styled-components/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  234. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.js +15 -9
  235. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +4 -4
  236. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  237. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.styles.js +4 -1
  238. package/styled-components/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +3 -1
  239. package/styled-components/es/components/Typography/Typography.js +4 -4
  240. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  241. package/styled-components/es/components/Typography/Typography.template-doc.mdx +9 -42
  242. package/styled-components/es/components/Typography/tokens.js +1 -3
  243. package/styled-components/es/examples/plasma_b2c/components/Table/Table.stories.tsx +7 -6
  244. package/styled-components/es/examples/plasma_web/components/Table/Table.stories.tsx +7 -6
  245. package/styled-components/es/examples/typography/components/Body/Body.config.js +5 -5
  246. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +1 -17
  247. package/styled-components/es/examples/typography/components/Dspl/Dspl.config.js +3 -3
  248. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +1 -17
  249. package/styled-components/es/examples/typography/components/Heading/Heading.config.js +5 -5
  250. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +1 -17
  251. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +14 -0
  252. package/styled-components/es/examples/typography/components/Old/Body/Body.js +5 -0
  253. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +40 -0
  254. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +13 -0
  255. package/styled-components/es/examples/typography/components/Old/Button/Button.js +5 -0
  256. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +40 -0
  257. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
  258. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +5 -0
  259. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +40 -0
  260. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +14 -0
  261. package/styled-components/es/examples/typography/components/Old/Display/Display.js +5 -0
  262. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +40 -0
  263. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
  264. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +5 -0
  265. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +40 -0
  266. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
  267. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +5 -0
  268. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +40 -0
  269. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
  270. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +5 -0
  271. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +42 -0
  272. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
  273. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +5 -0
  274. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +39 -0
  275. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
  276. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +5 -0
  277. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +40 -0
  278. package/styled-components/es/examples/typography/components/Text/Text.config.js +4 -4
  279. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +1 -17
  280. package/types/components/Table/Table.d.ts +2 -15
  281. package/types/components/Table/Table.d.ts.map +1 -1
  282. package/types/components/Table/Table.styles.d.ts +1 -0
  283. package/types/components/Table/Table.styles.d.ts.map +1 -1
  284. package/types/components/Table/Table.tokens.d.ts +8 -0
  285. package/types/components/Table/Table.tokens.d.ts.map +1 -1
  286. package/types/components/Table/Table.types.d.ts +11 -1
  287. package/types/components/Table/Table.types.d.ts.map +1 -1
  288. package/types/components/Table/ui/Cell/Cell.d.ts +3 -2
  289. package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
  290. package/types/components/Table/ui/EditableCell/EditableCell.d.ts +12 -1
  291. package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
  292. package/types/components/Table/ui/HeadCell/HeadCell.d.ts +11 -1
  293. package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
  294. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +1 -0
  295. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
  296. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +10 -1
  297. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
  298. package/types/components/Typography/Body/Body.d.ts +10 -2
  299. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  300. package/types/components/Typography/Dspl/Dspl.d.ts +10 -2
  301. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  302. package/types/components/Typography/Heading/Heading.d.ts +10 -2
  303. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  304. package/types/components/Typography/Text/Text.d.ts +10 -2
  305. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  306. package/types/components/Typography/Typography.d.ts +5 -1
  307. package/types/components/Typography/Typography.d.ts.map +1 -1
  308. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  309. package/types/components/Typography/Typography.types.d.ts +5 -23
  310. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  311. package/types/components/Typography/tokens.d.ts +0 -2
  312. package/types/components/Typography/tokens.d.ts.map +1 -1
  313. package/cjs/components/Table/Table.styles_1eg2zsx.css +0 -11
  314. package/cjs/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
  315. package/es/components/Table/Table.styles_1eg2zsx.css +0 -11
  316. package/es/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +0 -1
@@ -9,7 +9,7 @@ import { Dspl } from './Dspl';
9
9
  import { config } from './Dspl.config';
10
10
 
11
11
  const meta: Meta<typeof Dspl> = {
12
- title: 'typography/Dspl',
12
+ title: 'Data Display/Typography/Dspl',
13
13
  decorators: [WithTheme],
14
14
  component: Dspl,
15
15
  argTypes: {
@@ -19,27 +19,11 @@ const meta: Meta<typeof Dspl> = {
19
19
  type: 'color',
20
20
  },
21
21
  },
22
- as: {
23
- control: 'text',
24
- },
25
- bold: {
26
- control: {
27
- type: 'boolean',
28
- },
29
- if: { arg: 'medium', truthy: false },
30
- },
31
- medium: {
32
- control: {
33
- type: 'boolean',
34
- },
35
- if: { arg: 'bold', truthy: false },
36
- },
37
22
  },
38
23
  args: {
39
24
  noWrap: false,
40
25
  breakWord: true,
41
26
  bold: false,
42
- medium: false,
43
27
  },
44
28
  };
45
29
 
@@ -6,11 +6,11 @@ export var config = {
6
6
  },
7
7
  variations: {
8
8
  size: {
9
- h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-medium-font-weight);", ":var(--plasma-typo-h1-letter-spacing);", ":var(--plasma-typo-h1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontWeightMedium, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
- h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-medium-font-weight);", ":var(--plasma-typo-h2-letter-spacing);", ":var(--plasma-typo-h2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontWeightMedium, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
11
- h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-medium-font-weight);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontWeightMedium, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
12
- h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-medium-font-weight);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontWeightMedium, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
13
- h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-medium-font-weight);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontWeightMedium, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
9
+ h1: /*#__PURE__*/css(["", ":var(--plasma-typo-h1-font-family);", ":var(--plasma-typo-h1-font-size);", ":var(--plasma-typo-h1-font-style);", ":var(--plasma-typo-h1-font-weight);", ":var(--plasma-typo-h1-bold-font-weight);", ":var(--plasma-typo-h1-letter-spacing);", ":var(--plasma-typo-h1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
+ h2: /*#__PURE__*/css(["", ":var(--plasma-typo-h2-font-family);", ":var(--plasma-typo-h2-font-size);", ":var(--plasma-typo-h2-font-style);", ":var(--plasma-typo-h2-font-weight);", ":var(--plasma-typo-h2-bold-font-weight);", ":var(--plasma-typo-h2-letter-spacing);", ":var(--plasma-typo-h2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
11
+ h3: /*#__PURE__*/css(["", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-bold-font-weight);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
12
+ h4: /*#__PURE__*/css(["", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
13
+ h5: /*#__PURE__*/css(["", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-bold-font-weight);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontWeightBold, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
14
14
  }
15
15
  }
16
16
  };
@@ -9,7 +9,7 @@ import { Heading } from './Heading';
9
9
  import { config } from './Heading.config';
10
10
 
11
11
  const meta: Meta<typeof Heading> = {
12
- title: 'typography/Heading',
12
+ title: 'Data Display/Typography/Heading',
13
13
  decorators: [WithTheme],
14
14
  component: Heading,
15
15
  argTypes: {
@@ -19,27 +19,11 @@ const meta: Meta<typeof Heading> = {
19
19
  type: 'color',
20
20
  },
21
21
  },
22
- as: {
23
- control: 'text',
24
- },
25
- bold: {
26
- control: {
27
- type: 'boolean',
28
- },
29
- if: { arg: 'medium', truthy: false },
30
- },
31
- medium: {
32
- control: {
33
- type: 'boolean',
34
- },
35
- if: { arg: 'bold', truthy: false },
36
- },
37
22
  },
38
23
  args: {
39
24
  noWrap: false,
40
25
  breakWord: true,
41
26
  bold: false,
42
- medium: false,
43
27
  },
44
28
  };
45
29
 
@@ -0,0 +1,14 @@
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
+ };
@@ -0,0 +1,5 @@
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);
@@ -0,0 +1,40 @@
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
+ };
@@ -0,0 +1,13 @@
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
+ };
@@ -0,0 +1,5 @@
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);
@@ -0,0 +1,40 @@
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 { buttonTypographyConfig } from '../../../../../components/Typography';
7
+
8
+ import { Button } from './Button';
9
+ import { config } from './Button.config';
10
+
11
+ const meta: Meta<typeof Button> = {
12
+ title: 'Data Display/Typography/Old/Button',
13
+ decorators: [WithTheme],
14
+ component: Button,
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(buttonTypographyConfig, 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 Button> = {
32
+ render: (props) => {
33
+ return (
34
+ <Button {...props}>
35
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
+ distinctio modi quo, provident quod.
37
+ </Button>
38
+ );
39
+ },
40
+ };
@@ -0,0 +1,12 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'm'
6
+ },
7
+ variations: {
8
+ size: {
9
+ m: /*#__PURE__*/css(["", ":var(--plasma-typo-caption-font-family);", ":var(--plasma-typo-caption-font-size);", ":var(--plasma-typo-caption-font-style);", ":var(--plasma-typo-caption-font-weight);", ":var(--plasma-typo-caption-letter-spacing);", ":var(--plasma-typo-caption-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
10
+ }
11
+ }
12
+ };
@@ -0,0 +1,5 @@
1
+ import { captionConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Caption.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(captionConfig, config);
5
+ export var Caption = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,40 @@
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 { captionConfig } from '../../../../../components/Typography';
7
+
8
+ import { Caption } from './Caption';
9
+ import { config } from './Caption.config';
10
+
11
+ const meta: Meta<typeof Caption> = {
12
+ title: 'Data Display/Typography/Old/Caption',
13
+ decorators: [WithTheme],
14
+ component: Caption,
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(captionConfig, 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 Caption> = {
32
+ render: (props) => {
33
+ return (
34
+ <Caption {...props}>
35
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
+ distinctio modi quo, provident quod.
37
+ </Caption>
38
+ );
39
+ },
40
+ };
@@ -0,0 +1,14 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'display1'
6
+ },
7
+ variations: {
8
+ size: {
9
+ display1: /*#__PURE__*/css(["", ":var(--plasma-typo-display1-font-family);", ":var(--plasma-typo-display1-font-size);", ":var(--plasma-typo-display1-font-style);", ":var(--plasma-typo-display1-font-weight);", ":var(--plasma-typo-display1-letter-spacing);", ":var(--plasma-typo-display1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
+ display2: /*#__PURE__*/css(["", ":var(--plasma-typo-display2-font-family);", ":var(--plasma-typo-display2-font-size);", ":var(--plasma-typo-display2-font-style);", ":var(--plasma-typo-display2-font-weight);", ":var(--plasma-typo-display2-letter-spacing);", ":var(--plasma-typo-display2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
11
+ display3: /*#__PURE__*/css(["", ":var(--plasma-typo-display3-font-family);", ":var(--plasma-typo-display3-font-size);", ":var(--plasma-typo-display3-font-style);", ":var(--plasma-typo-display3-font-weight);", ":var(--plasma-typo-display3-letter-spacing);", ":var(--plasma-typo-display3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
12
+ }
13
+ }
14
+ };
@@ -0,0 +1,5 @@
1
+ import { displayConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Display.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(displayConfig, config);
5
+ export var Display = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,40 @@
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 { displayConfig } from '../../../../../components/Typography';
7
+
8
+ import { Display } from './Display';
9
+ import { config } from './Display.config';
10
+
11
+ const meta: Meta<typeof Display> = {
12
+ title: 'Data Display/Typography/Old/Display',
13
+ decorators: [WithTheme],
14
+ component: Display,
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(displayConfig, 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 Display> = {
32
+ render: (props) => {
33
+ return (
34
+ <Display {...props}>
35
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
+ distinctio modi quo, provident quod.
37
+ </Display>
38
+ );
39
+ },
40
+ };
@@ -0,0 +1,13 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'footnote1'
6
+ },
7
+ variations: {
8
+ size: {
9
+ footnote1: /*#__PURE__*/css(["", ":var(--plasma-typo-footnote1-font-family);", ":var(--plasma-typo-footnote1-font-size);", ":var(--plasma-typo-footnote1-font-style);", ":var(--plasma-typo-footnote1-font-weight);", ":var(--plasma-typo-footnote1-letter-spacing);", ":var(--plasma-typo-footnote1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
+ footnote2: /*#__PURE__*/css(["", ":var(--plasma-typo-footnote2-font-family);", ":var(--plasma-typo-footnote2-font-size);", ":var(--plasma-typo-footnote2-font-style);", ":var(--plasma-typo-footnote2-font-weight);", ":var(--plasma-typo-footnote2-letter-spacing);", ":var(--plasma-typo-footnote2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
11
+ }
12
+ }
13
+ };
@@ -0,0 +1,5 @@
1
+ import { footnoteConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Footnote.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(footnoteConfig, config);
5
+ export var Footnote = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,40 @@
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 { footnoteConfig } from '../../../../../components/Typography';
7
+
8
+ import { Footnote } from './Footnote';
9
+ import { config } from './Footnote.config';
10
+
11
+ const meta: Meta<typeof Footnote> = {
12
+ title: 'Data Display/Typography/Old/Footnote',
13
+ decorators: [WithTheme],
14
+ component: Footnote,
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(footnoteConfig, 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 Footnote> = {
32
+ render: (props) => {
33
+ return (
34
+ <Footnote {...props}>
35
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
36
+ distinctio modi quo, provident quod.
37
+ </Footnote>
38
+ );
39
+ },
40
+ };
@@ -0,0 +1,15 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'headline1'
6
+ },
7
+ variations: {
8
+ size: {
9
+ headline1: /*#__PURE__*/css(["", ":var(--plasma-typo-headline1-font-family);", ":var(--plasma-typo-headline1-font-size);", ":var(--plasma-typo-headline1-font-style);", ":var(--plasma-typo-headline1-font-weight);", ":var(--plasma-typo-headline1-letter-spacing);", ":var(--plasma-typo-headline1-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
+ headline2: /*#__PURE__*/css(["", ":var(--plasma-typo-headline2-font-family);", ":var(--plasma-typo-headline2-font-size);", ":var(--plasma-typo-headline2-font-style);", ":var(--plasma-typo-headline2-font-weight);", ":var(--plasma-typo-headline2-letter-spacing);", ":var(--plasma-typo-headline2-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
11
+ headline3: /*#__PURE__*/css(["", ":var(--plasma-typo-headline3-font-family);", ":var(--plasma-typo-headline3-font-size);", ":var(--plasma-typo-headline3-font-style);", ":var(--plasma-typo-headline3-font-weight);", ":var(--plasma-typo-headline3-letter-spacing);", ":var(--plasma-typo-headline3-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
12
+ headline4: /*#__PURE__*/css(["", ":var(--plasma-typo-headline4-font-family);", ":var(--plasma-typo-headline4-font-size);", ":var(--plasma-typo-headline4-font-style);", ":var(--plasma-typo-headline4-font-weight);", ":var(--plasma-typo-headline4-letter-spacing);", ":var(--plasma-typo-headline4-line-height);"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
13
+ }
14
+ }
15
+ };
@@ -0,0 +1,5 @@
1
+ import { headlineConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Headline.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(headlineConfig, config);
5
+ export var Headline = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,40 @@
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
+ };
@@ -0,0 +1,13 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'paragraph1'
6
+ },
7
+ variations: {
8
+ size: {
9
+ paragraph1: /*#__PURE__*/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.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight),
10
+ paragraph2: /*#__PURE__*/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.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
11
+ }
12
+ }
13
+ };
@@ -0,0 +1,5 @@
1
+ import { paragraphConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Paragraph.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(paragraphConfig, config);
5
+ export var Paragraph = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,42 @@
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
+ };
@@ -0,0 +1,12 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'm'
6
+ },
7
+ variations: {
8
+ size: {
9
+ m: /*#__PURE__*/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.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
10
+ }
11
+ }
12
+ };
@@ -0,0 +1,5 @@
1
+ import { subtitleConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Subtitle.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(subtitleConfig, config);
5
+ export var Subtitle = /*#__PURE__*/component(mergedConfig);
@@ -0,0 +1,39 @@
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
+ };
@@ -0,0 +1,12 @@
1
+ import { css } from 'styled-components';
2
+ import { tokens } from '../../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'm'
6
+ },
7
+ variations: {
8
+ size: {
9
+ m: /*#__PURE__*/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.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontWeight, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight)
10
+ }
11
+ }
12
+ };
@@ -0,0 +1,5 @@
1
+ import { underlineConfig } from '../../../../../components/Typography';
2
+ import { component, mergeConfig } from '../../../../../engines';
3
+ import { config } from './Underline.config';
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(underlineConfig, config);
5
+ export var Underline = /*#__PURE__*/component(mergedConfig);