@salutejs/plasma-new-hope 0.197.1-dev.0 → 0.198.0-canary.1588.11975454374.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (442) hide show
  1. package/cjs/components/Editable/Editable.js +1 -1
  2. package/cjs/components/Editable/Editable.js.map +1 -1
  3. package/cjs/components/Typography/Body/Body.css +1 -1
  4. package/cjs/components/Typography/Old/Button/Button.css +1 -1
  5. package/cjs/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  6. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  7. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  8. package/cjs/components/Typography/Old/Paragraph/{Paragraph.styles_179bahu.css → Paragraph.styles_f6q9s8.css} +1 -1
  9. package/cjs/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  10. package/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  11. package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  12. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  13. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  14. package/{es/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → cjs/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
  15. package/cjs/components/Typography/Old/TypographyOld.js +4 -2
  16. package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
  17. package/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  18. package/cjs/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  19. package/{es/components/Typography/Old/TypographyOld.styles_17w0rtq.css → cjs/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
  20. package/cjs/components/Typography/Old/Underline/Underline.css +1 -1
  21. package/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  22. package/cjs/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  23. package/{es/components/Typography/Old/Underline/Underline.styles_vsz834.css → cjs/components/Typography/Old/Underline/Underline.styles_1x2vb5e.css} +1 -1
  24. package/cjs/components/Typography/Typography.js +4 -2
  25. package/cjs/components/Typography/Typography.js.map +1 -1
  26. package/cjs/components/Typography/Typography.styles.js +1 -1
  27. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  28. package/cjs/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
  29. package/cjs/components/Typography/tokens.js +1 -0
  30. package/cjs/components/Typography/tokens.js.map +1 -1
  31. package/cjs/index.css +5 -5
  32. package/emotion/cjs/components/Editable/Editable.js +1 -1
  33. package/emotion/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  34. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  35. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  36. package/emotion/cjs/components/Typography/Old/TypographyOld.js +4 -2
  37. package/emotion/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  38. package/emotion/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  39. package/emotion/cjs/components/Typography/Typography.js +4 -2
  40. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  41. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +4 -0
  42. package/emotion/cjs/components/Typography/tokens.js +1 -0
  43. package/emotion/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  44. package/emotion/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  45. package/emotion/cjs/examples/plasma_b2c/components/Editable/Editable.js +4 -4
  46. package/emotion/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  47. package/emotion/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  48. package/emotion/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  49. package/emotion/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  50. package/emotion/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  51. package/emotion/cjs/examples/plasma_web/components/Editable/Editable.js +4 -4
  52. package/emotion/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  53. package/emotion/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  54. package/emotion/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  55. package/emotion/cjs/examples/typography/components/Body/Body.config.js +22 -0
  56. package/emotion/cjs/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
  57. package/emotion/cjs/examples/typography/components/Dspl/Dspl.config.js +20 -0
  58. package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Dspl/Dspl.stories.tsx +9 -1
  59. package/emotion/cjs/examples/typography/components/Heading/Heading.config.js +22 -0
  60. package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
  61. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +20 -0
  62. package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
  63. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +19 -0
  64. package/emotion/cjs/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
  65. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +18 -0
  66. package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Caption/Caption.stories.tsx +9 -1
  67. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +20 -0
  68. package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
  69. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +19 -0
  70. package/emotion/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
  71. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +21 -0
  72. package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
  73. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +19 -0
  74. package/emotion/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  75. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +18 -0
  76. package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  77. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +18 -0
  78. package/{styled-components/cjs/examples/typograpy → emotion/cjs/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
  79. package/emotion/cjs/examples/typography/components/Text/Text.config.js +21 -0
  80. package/emotion/{es/examples/typograpy → cjs/examples/typography}/components/Text/Text.stories.tsx +9 -1
  81. package/emotion/es/components/Editable/Editable.js +1 -1
  82. package/emotion/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  83. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  84. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  85. package/emotion/es/components/Typography/Old/TypographyOld.js +4 -2
  86. package/emotion/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  87. package/emotion/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  88. package/emotion/es/components/Typography/Typography.js +4 -2
  89. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  90. package/emotion/es/components/Typography/Typography.template-doc.mdx +4 -0
  91. package/emotion/es/components/Typography/tokens.js +1 -0
  92. package/emotion/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  93. package/emotion/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  94. package/emotion/es/examples/plasma_b2c/components/Editable/Editable.js +4 -4
  95. package/emotion/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  96. package/emotion/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  97. package/emotion/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  98. package/emotion/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  99. package/emotion/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  100. package/emotion/es/examples/plasma_web/components/Editable/Editable.js +4 -4
  101. package/emotion/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  102. package/emotion/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  103. package/emotion/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  104. package/emotion/es/examples/typography/components/Body/Body.config.js +16 -0
  105. package/emotion/es/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
  106. package/emotion/es/examples/typography/components/Dspl/Dspl.config.js +14 -0
  107. package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Dspl/Dspl.stories.tsx +9 -1
  108. package/emotion/es/examples/typography/components/Heading/Heading.config.js +16 -0
  109. package/{styled-components/es/examples/typograpy → emotion/es/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
  110. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +14 -0
  111. package/emotion/es/examples/{typograpy → typography}/components/Old/Body/Body.stories.tsx +9 -1
  112. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +13 -0
  113. package/emotion/es/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
  114. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +12 -0
  115. package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Caption/Caption.stories.tsx +9 -1
  116. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +14 -0
  117. package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
  118. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +13 -0
  119. package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
  120. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +15 -0
  121. package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
  122. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +13 -0
  123. package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  124. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +12 -0
  125. package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  126. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +12 -0
  127. package/emotion/{cjs/examples/typograpy → es/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
  128. package/emotion/es/examples/typography/components/Text/Text.config.js +15 -0
  129. package/{styled-components/cjs/examples/typograpy → emotion/es/examples/typography}/components/Text/Text.stories.tsx +9 -1
  130. package/es/components/Editable/Editable.js +1 -1
  131. package/es/components/Editable/Editable.js.map +1 -1
  132. package/es/components/Typography/Body/Body.css +1 -1
  133. package/es/components/Typography/Old/Button/Button.css +1 -1
  134. package/es/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  135. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  136. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  137. package/es/components/Typography/Old/Paragraph/{Paragraph.styles_179bahu.css → Paragraph.styles_f6q9s8.css} +1 -1
  138. package/es/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  139. package/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  140. package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  141. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  142. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  143. package/{cjs/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css → es/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css} +1 -1
  144. package/es/components/Typography/Old/TypographyOld.js +4 -2
  145. package/es/components/Typography/Old/TypographyOld.js.map +1 -1
  146. package/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  147. package/es/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  148. package/{cjs/components/Typography/Old/TypographyOld.styles_17w0rtq.css → es/components/Typography/Old/TypographyOld.styles_168abbx.css} +1 -1
  149. package/es/components/Typography/Old/Underline/Underline.css +1 -1
  150. package/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  151. package/es/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  152. package/{cjs/components/Typography/Old/Underline/Underline.styles_vsz834.css → es/components/Typography/Old/Underline/Underline.styles_1x2vb5e.css} +1 -1
  153. package/es/components/Typography/Typography.js +4 -2
  154. package/es/components/Typography/Typography.js.map +1 -1
  155. package/es/components/Typography/Typography.styles.js +1 -1
  156. package/es/components/Typography/Typography.styles.js.map +1 -1
  157. package/es/components/Typography/{Typography.styles_6mr47g.css → Typography.styles_fa07dt.css} +1 -1
  158. package/es/components/Typography/tokens.js +1 -0
  159. package/es/components/Typography/tokens.js.map +1 -1
  160. package/es/index.css +5 -5
  161. package/package.json +2 -2
  162. package/styled-components/cjs/components/Editable/Editable.js +1 -1
  163. package/styled-components/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  164. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  165. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  166. package/styled-components/cjs/components/Typography/Old/TypographyOld.js +4 -2
  167. package/styled-components/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  168. package/styled-components/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  169. package/styled-components/cjs/components/Typography/Typography.js +4 -2
  170. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  171. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +4 -0
  172. package/styled-components/cjs/components/Typography/tokens.js +1 -0
  173. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  174. package/styled-components/cjs/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  175. package/styled-components/cjs/examples/plasma_b2c/components/Editable/Editable.js +4 -4
  176. package/styled-components/cjs/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  177. package/styled-components/cjs/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  178. package/styled-components/cjs/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  179. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  180. package/styled-components/cjs/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  181. package/styled-components/cjs/examples/plasma_web/components/Editable/Editable.js +4 -4
  182. package/styled-components/cjs/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  183. package/styled-components/cjs/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  184. package/styled-components/cjs/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  185. package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
  186. package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.stories.tsx +9 -1
  187. package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
  188. package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
  189. package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
  190. package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.stories.tsx +9 -1
  191. package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Display/Display.stories.tsx +9 -1
  192. package/{emotion/es/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
  193. package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
  194. package/{emotion/es/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  195. package/{emotion/cjs/examples/typograpy → styled-components/cjs/examples/typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  196. package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
  197. package/styled-components/{es/examples/typograpy → cjs/examples/typography}/components/Text/Text.stories.tsx +9 -1
  198. package/styled-components/es/components/Editable/Editable.js +1 -1
  199. package/styled-components/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  200. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +7 -1
  201. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  202. package/styled-components/es/components/Typography/Old/TypographyOld.js +4 -2
  203. package/styled-components/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  204. package/styled-components/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  205. package/styled-components/es/components/Typography/Typography.js +4 -2
  206. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  207. package/styled-components/es/components/Typography/Typography.template-doc.mdx +4 -0
  208. package/styled-components/es/components/Typography/tokens.js +1 -0
  209. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +1 -1
  210. package/styled-components/es/examples/plasma_b2c/components/Drawer/Drawer.stories.tsx +1 -1
  211. package/styled-components/es/examples/plasma_b2c/components/Editable/Editable.js +4 -4
  212. package/styled-components/es/examples/plasma_b2c/components/Panel/Panel.stories.tsx +1 -1
  213. package/styled-components/es/examples/plasma_b2c/components/Portal/Portal.stories.tsx +1 -1
  214. package/styled-components/es/examples/plasma_b2c/components/Sheet/Sheet.stories.tsx +1 -1
  215. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +1 -1
  216. package/styled-components/es/examples/plasma_web/components/Drawer/Drawer.stories.tsx +1 -1
  217. package/styled-components/es/examples/plasma_web/components/Editable/Editable.js +4 -4
  218. package/styled-components/es/examples/plasma_web/components/Panel/Panel.stories.tsx +1 -1
  219. package/styled-components/es/examples/plasma_web/components/Portal/Portal.stories.tsx +1 -1
  220. package/styled-components/es/examples/plasma_web/components/Sheet/Sheet.stories.tsx +1 -1
  221. package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.stories.tsx +9 -1
  222. package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.stories.tsx +9 -1
  223. package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Heading/Heading.stories.tsx +9 -1
  224. package/{emotion/cjs/examples/typograpy → styled-components/es/examples/typography}/components/Old/Body/Body.stories.tsx +9 -1
  225. package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.stories.tsx +9 -1
  226. package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.stories.tsx +9 -1
  227. package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.stories.tsx +9 -1
  228. package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.stories.tsx +9 -1
  229. package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Old/Headline/Headline.stories.tsx +9 -1
  230. package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.stories.tsx +9 -1
  231. package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.stories.tsx +11 -1
  232. package/{emotion/es/examples/typograpy → styled-components/es/examples/typography}/components/Old/Underline/Underline.stories.tsx +9 -1
  233. package/{emotion/cjs/examples/typograpy → styled-components/es/examples/typography}/components/Text/Text.stories.tsx +9 -1
  234. package/types/components/Editable/Editable.d.ts +1 -1
  235. package/types/components/Editable/Editable.d.ts.map +1 -1
  236. package/types/components/Typography/Body/Body.d.ts +2 -0
  237. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  238. package/types/components/Typography/Dspl/Dspl.d.ts +2 -0
  239. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  240. package/types/components/Typography/Heading/Heading.d.ts +2 -0
  241. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  242. package/types/components/Typography/Old/Paragraph/Paragraph.styles.d.ts.map +1 -1
  243. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
  244. package/types/components/Typography/Old/Subtitle/Subtitle.styles.d.ts.map +1 -1
  245. package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
  246. package/types/components/Typography/Old/TypographyOld.styles.d.ts.map +1 -1
  247. package/types/components/Typography/Old/Underline/Underline.styles.d.ts.map +1 -1
  248. package/types/components/Typography/Text/Text.d.ts +2 -0
  249. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  250. package/types/components/Typography/Typography.d.ts +1 -0
  251. package/types/components/Typography/Typography.d.ts.map +1 -1
  252. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  253. package/types/components/Typography/Typography.types.d.ts +1 -0
  254. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  255. package/types/components/Typography/tokens.d.ts +1 -0
  256. package/types/components/Typography/tokens.d.ts.map +1 -1
  257. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +4 -0
  258. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +1 -1
  259. package/types/examples/plasma_web/components/Editable/Editable.d.ts +4 -0
  260. package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +1 -1
  261. package/types/examples/typography/components/Body/Body.config.d.ts.map +1 -0
  262. package/types/examples/{typograpy → typography}/components/Body/Body.d.ts +1 -0
  263. package/types/examples/typography/components/Body/Body.d.ts.map +1 -0
  264. package/types/examples/typography/components/Dspl/Dspl.config.d.ts.map +1 -0
  265. package/types/examples/{typograpy → typography}/components/Dspl/Dspl.d.ts +1 -0
  266. package/types/examples/typography/components/Dspl/Dspl.d.ts.map +1 -0
  267. package/types/examples/typography/components/Heading/Heading.config.d.ts.map +1 -0
  268. package/types/examples/{typograpy → typography}/components/Heading/Heading.d.ts +1 -0
  269. package/types/examples/typography/components/Heading/Heading.d.ts.map +1 -0
  270. package/types/examples/typography/components/Old/Body/Body.config.d.ts.map +1 -0
  271. package/types/examples/typography/components/Old/Body/Body.d.ts.map +1 -0
  272. package/types/examples/typography/components/Old/Button/Button.config.d.ts.map +1 -0
  273. package/types/examples/typography/components/Old/Button/Button.d.ts.map +1 -0
  274. package/types/examples/typography/components/Old/Caption/Caption.config.d.ts.map +1 -0
  275. package/types/examples/typography/components/Old/Caption/Caption.d.ts.map +1 -0
  276. package/types/examples/typography/components/Old/Display/Display.config.d.ts.map +1 -0
  277. package/types/examples/typography/components/Old/Display/Display.d.ts.map +1 -0
  278. package/types/examples/typography/components/Old/Footnote/Footnote.config.d.ts.map +1 -0
  279. package/types/examples/typography/components/Old/Footnote/Footnote.d.ts.map +1 -0
  280. package/types/examples/typography/components/Old/Headline/Headline.config.d.ts.map +1 -0
  281. package/types/examples/typography/components/Old/Headline/Headline.d.ts.map +1 -0
  282. package/types/examples/typography/components/Old/Paragraph/Paragraph.config.d.ts.map +1 -0
  283. package/types/examples/typography/components/Old/Paragraph/Paragraph.d.ts.map +1 -0
  284. package/types/examples/typography/components/Old/Subtitle/Subtitle.config.d.ts.map +1 -0
  285. package/types/examples/typography/components/Old/Subtitle/Subtitle.d.ts.map +1 -0
  286. package/types/examples/typography/components/Old/Underline/Underline.config.d.ts.map +1 -0
  287. package/types/examples/typography/components/Old/Underline/Underline.d.ts.map +1 -0
  288. package/types/examples/typography/components/Text/Text.config.d.ts.map +1 -0
  289. package/types/examples/{typograpy → typography}/components/Text/Text.d.ts +1 -0
  290. package/types/examples/typography/components/Text/Text.d.ts.map +1 -0
  291. package/emotion/cjs/examples/typograpy/components/Body/Body.config.js +0 -22
  292. package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.config.js +0 -20
  293. package/emotion/cjs/examples/typograpy/components/Heading/Heading.config.js +0 -22
  294. package/emotion/cjs/examples/typograpy/components/Old/Body/Body.config.js +0 -20
  295. package/emotion/cjs/examples/typograpy/components/Old/Button/Button.config.js +0 -19
  296. package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.config.js +0 -18
  297. package/emotion/cjs/examples/typograpy/components/Old/Display/Display.config.js +0 -20
  298. package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.config.js +0 -19
  299. package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.config.js +0 -21
  300. package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.config.js +0 -19
  301. package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.config.js +0 -18
  302. package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.config.js +0 -18
  303. package/emotion/cjs/examples/typograpy/components/Text/Text.config.js +0 -21
  304. package/emotion/es/examples/typograpy/components/Body/Body.config.js +0 -16
  305. package/emotion/es/examples/typograpy/components/Dspl/Dspl.config.js +0 -14
  306. package/emotion/es/examples/typograpy/components/Heading/Heading.config.js +0 -16
  307. package/emotion/es/examples/typograpy/components/Old/Body/Body.config.js +0 -14
  308. package/emotion/es/examples/typograpy/components/Old/Button/Button.config.js +0 -13
  309. package/emotion/es/examples/typograpy/components/Old/Caption/Caption.config.js +0 -12
  310. package/emotion/es/examples/typograpy/components/Old/Display/Display.config.js +0 -14
  311. package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.config.js +0 -13
  312. package/emotion/es/examples/typograpy/components/Old/Headline/Headline.config.js +0 -15
  313. package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.config.js +0 -13
  314. package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.config.js +0 -12
  315. package/emotion/es/examples/typograpy/components/Old/Underline/Underline.config.js +0 -12
  316. package/emotion/es/examples/typograpy/components/Text/Text.config.js +0 -15
  317. package/types/examples/typograpy/components/Body/Body.config.d.ts.map +0 -1
  318. package/types/examples/typograpy/components/Body/Body.d.ts.map +0 -1
  319. package/types/examples/typograpy/components/Dspl/Dspl.config.d.ts.map +0 -1
  320. package/types/examples/typograpy/components/Dspl/Dspl.d.ts.map +0 -1
  321. package/types/examples/typograpy/components/Heading/Heading.config.d.ts.map +0 -1
  322. package/types/examples/typograpy/components/Heading/Heading.d.ts.map +0 -1
  323. package/types/examples/typograpy/components/Old/Body/Body.config.d.ts.map +0 -1
  324. package/types/examples/typograpy/components/Old/Body/Body.d.ts.map +0 -1
  325. package/types/examples/typograpy/components/Old/Button/Button.config.d.ts.map +0 -1
  326. package/types/examples/typograpy/components/Old/Button/Button.d.ts.map +0 -1
  327. package/types/examples/typograpy/components/Old/Caption/Caption.config.d.ts.map +0 -1
  328. package/types/examples/typograpy/components/Old/Caption/Caption.d.ts.map +0 -1
  329. package/types/examples/typograpy/components/Old/Display/Display.config.d.ts.map +0 -1
  330. package/types/examples/typograpy/components/Old/Display/Display.d.ts.map +0 -1
  331. package/types/examples/typograpy/components/Old/Footnote/Footnote.config.d.ts.map +0 -1
  332. package/types/examples/typograpy/components/Old/Footnote/Footnote.d.ts.map +0 -1
  333. package/types/examples/typograpy/components/Old/Headline/Headline.config.d.ts.map +0 -1
  334. package/types/examples/typograpy/components/Old/Headline/Headline.d.ts.map +0 -1
  335. package/types/examples/typograpy/components/Old/Paragraph/Paragraph.config.d.ts.map +0 -1
  336. package/types/examples/typograpy/components/Old/Paragraph/Paragraph.d.ts.map +0 -1
  337. package/types/examples/typograpy/components/Old/Subtitle/Subtitle.config.d.ts.map +0 -1
  338. package/types/examples/typograpy/components/Old/Subtitle/Subtitle.d.ts.map +0 -1
  339. package/types/examples/typograpy/components/Old/Underline/Underline.config.d.ts.map +0 -1
  340. package/types/examples/typograpy/components/Old/Underline/Underline.d.ts.map +0 -1
  341. package/types/examples/typograpy/components/Text/Text.config.d.ts.map +0 -1
  342. package/types/examples/typograpy/components/Text/Text.d.ts.map +0 -1
  343. /package/emotion/cjs/examples/{typograpy → typography}/components/Body/Body.js +0 -0
  344. /package/emotion/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
  345. /package/emotion/cjs/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
  346. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
  347. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
  348. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
  349. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
  350. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
  351. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
  352. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
  353. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
  354. /package/emotion/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
  355. /package/emotion/cjs/examples/{typograpy → typography}/components/Text/Text.js +0 -0
  356. /package/emotion/es/examples/{typograpy → typography}/components/Body/Body.js +0 -0
  357. /package/emotion/es/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
  358. /package/emotion/es/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
  359. /package/emotion/es/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
  360. /package/emotion/es/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
  361. /package/emotion/es/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
  362. /package/emotion/es/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
  363. /package/emotion/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
  364. /package/emotion/es/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
  365. /package/emotion/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
  366. /package/emotion/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
  367. /package/emotion/es/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
  368. /package/emotion/es/examples/{typograpy → typography}/components/Text/Text.js +0 -0
  369. /package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.config.js +0 -0
  370. /package/styled-components/cjs/examples/{typograpy → typography}/components/Body/Body.js +0 -0
  371. /package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.config.js +0 -0
  372. /package/styled-components/cjs/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
  373. /package/styled-components/cjs/examples/{typograpy → typography}/components/Heading/Heading.config.js +0 -0
  374. /package/styled-components/cjs/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
  375. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Body/Body.config.js +0 -0
  376. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
  377. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.config.js +0 -0
  378. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
  379. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.config.js +0 -0
  380. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
  381. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Display/Display.config.js +0 -0
  382. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
  383. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.js +0 -0
  384. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
  385. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.config.js +0 -0
  386. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
  387. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.js +0 -0
  388. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
  389. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.js +0 -0
  390. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
  391. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.config.js +0 -0
  392. /package/styled-components/cjs/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
  393. /package/styled-components/cjs/examples/{typograpy → typography}/components/Text/Text.config.js +0 -0
  394. /package/styled-components/cjs/examples/{typograpy → typography}/components/Text/Text.js +0 -0
  395. /package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.config.js +0 -0
  396. /package/styled-components/es/examples/{typograpy → typography}/components/Body/Body.js +0 -0
  397. /package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.config.js +0 -0
  398. /package/styled-components/es/examples/{typograpy → typography}/components/Dspl/Dspl.js +0 -0
  399. /package/styled-components/es/examples/{typograpy → typography}/components/Heading/Heading.config.js +0 -0
  400. /package/styled-components/es/examples/{typograpy → typography}/components/Heading/Heading.js +0 -0
  401. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Body/Body.config.js +0 -0
  402. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Body/Body.js +0 -0
  403. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.config.js +0 -0
  404. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Button/Button.js +0 -0
  405. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.config.js +0 -0
  406. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Caption/Caption.js +0 -0
  407. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.config.js +0 -0
  408. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Display/Display.js +0 -0
  409. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.js +0 -0
  410. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Footnote/Footnote.js +0 -0
  411. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Headline/Headline.config.js +0 -0
  412. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Headline/Headline.js +0 -0
  413. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.js +0 -0
  414. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.js +0 -0
  415. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.js +0 -0
  416. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.js +0 -0
  417. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Underline/Underline.config.js +0 -0
  418. /package/styled-components/es/examples/{typograpy → typography}/components/Old/Underline/Underline.js +0 -0
  419. /package/styled-components/es/examples/{typograpy → typography}/components/Text/Text.config.js +0 -0
  420. /package/styled-components/es/examples/{typograpy → typography}/components/Text/Text.js +0 -0
  421. /package/types/examples/{typograpy → typography}/components/Body/Body.config.d.ts +0 -0
  422. /package/types/examples/{typograpy → typography}/components/Dspl/Dspl.config.d.ts +0 -0
  423. /package/types/examples/{typograpy → typography}/components/Heading/Heading.config.d.ts +0 -0
  424. /package/types/examples/{typograpy → typography}/components/Old/Body/Body.config.d.ts +0 -0
  425. /package/types/examples/{typograpy → typography}/components/Old/Body/Body.d.ts +0 -0
  426. /package/types/examples/{typograpy → typography}/components/Old/Button/Button.config.d.ts +0 -0
  427. /package/types/examples/{typograpy → typography}/components/Old/Button/Button.d.ts +0 -0
  428. /package/types/examples/{typograpy → typography}/components/Old/Caption/Caption.config.d.ts +0 -0
  429. /package/types/examples/{typograpy → typography}/components/Old/Caption/Caption.d.ts +0 -0
  430. /package/types/examples/{typograpy → typography}/components/Old/Display/Display.config.d.ts +0 -0
  431. /package/types/examples/{typograpy → typography}/components/Old/Display/Display.d.ts +0 -0
  432. /package/types/examples/{typograpy → typography}/components/Old/Footnote/Footnote.config.d.ts +0 -0
  433. /package/types/examples/{typograpy → typography}/components/Old/Footnote/Footnote.d.ts +0 -0
  434. /package/types/examples/{typograpy → typography}/components/Old/Headline/Headline.config.d.ts +0 -0
  435. /package/types/examples/{typograpy → typography}/components/Old/Headline/Headline.d.ts +0 -0
  436. /package/types/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.config.d.ts +0 -0
  437. /package/types/examples/{typograpy → typography}/components/Old/Paragraph/Paragraph.d.ts +0 -0
  438. /package/types/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.config.d.ts +0 -0
  439. /package/types/examples/{typograpy → typography}/components/Old/Subtitle/Subtitle.d.ts +0 -0
  440. /package/types/examples/{typograpy → typography}/components/Old/Underline/Underline.config.d.ts +0 -0
  441. /package/types/examples/{typograpy → typography}/components/Old/Underline/Underline.d.ts +0 -0
  442. /package/types/examples/{typograpy → typography}/components/Text/Text.config.d.ts +0 -0
@@ -0,0 +1,14 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-display1-font-family);", tokens.typoFontSize, ":var(--plasma-typo-display1-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-display1-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-display1-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-display1-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-display1-line-height);;label:plasma-new-hope__display1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvRGlzcGxheS9EaXNwbGF5LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHB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rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5MS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgZGlzcGxheTI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkyLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5Mi1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5Mi1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkyLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5Mi1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTItbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGRpc3BsYXkzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5My1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5My1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkzLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */")),
10
+ display2: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-display2-font-family);", tokens.typoFontSize, ":var(--plasma-typo-display2-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-display2-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-display2-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-display2-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-display2-line-height);;label:plasma-new-hope__display2;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvRGlzcGxheS9EaXNwbGF5LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFrQnlCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkv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ICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5My1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
11
+ display3: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-display3-font-family);", tokens.typoFontSize, ":var(--plasma-typo-display3-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-display3-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-display3-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-display3-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-display3-line-height);;label:plasma-new-hope__display3;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvRGlzcGxheS9EaXNwbGF5LmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQnlCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvRGlzcGxheS9EaXNwbGF5LmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ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GFzbWEtdHlwby1kaXNwbGF5Mi1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTItZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5Mi1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTItbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkyLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBkaXNwbGF5MzogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkzLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkzLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tZGlzcGxheTMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWRpc3BsYXkzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1kaXNwbGF5My1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
12
+ }
13
+ }
14
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Display> = {
12
12
  title: 'typography/Old/Display',
13
13
  decorators: [WithTheme],
14
14
  component: Display,
15
- argTypes: argTypesFromConfig(mergeConfig(displayConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(displayConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -0,0 +1,13 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-footnote1-font-family);", tokens.typoFontSize, ":var(--plasma-typo-footnote1-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-footnote1-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-footnote1-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-footnote1-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-footnote1-line-height);;label:plasma-new-hope__footnote1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90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ICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTEtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgZm9vdG5vdGUyOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTItZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMi1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTItZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTItZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMi1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUyLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */")),
10
+ footnote2: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-footnote2-font-family);", tokens.typoFontSize, ":var(--plasma-typo-footnote2-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-footnote2-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-footnote2-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-footnote2-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-footnote2-line-height);;label:plasma-new-hope__footnote2;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvRm9vdG5vdGUvRm9vdG5vdGUuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCMEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL09sZC9Gb290bm90ZS9Gb290bm90ZS5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdmb290bm90ZTEnLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBmb290bm90ZTE6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGZvb3Rub3RlMjogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUyLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUyLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tZm9vdG5vdGUyLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1mb290bm90ZTItbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWZvb3Rub3RlMi1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
11
+ }
12
+ }
13
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Footnote> = {
12
12
  title: 'typography/Old/Footnote',
13
13
  decorators: [WithTheme],
14
14
  component: Footnote,
15
- argTypes: argTypesFromConfig(mergeConfig(footnoteConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(footnoteConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -0,0 +1,15 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-headline1-font-family);", tokens.typoFontSize, ":var(--plasma-typo-headline1-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-headline1-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-headline1-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-headline1-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-headline1-line-height);;label:plasma-new-hope__headline1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvSGVhZGxpbmUvSGVh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WFkbGluZTEtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgaGVhZGxpbmUyOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMi1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMi1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBoZWFkbGluZTM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMy1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUzLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTMtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGhlYWRsaW5lNDogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTQtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTQtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
10
+ headline2: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-headline2-font-family);", tokens.typoFontSize, ":var(--plasma-typo-headline2-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-headline2-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-headline2-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-headline2-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-headline2-line-height);;label:plasma-new-hope__headline2;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvSGVhZGxpbmUvSGVhZGxpbmUuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCMEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL09sZC9IZWFkbGluZS9IZWFkbGluZS5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdoZWFkbGluZTEnLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBoZWFkbGluZTE6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGhlYWRsaW5lMjogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN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Gxhc21hLXR5cG8taGVhZGxpbmUzLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBoZWFkbGluZTQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTQtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
11
+ headline3: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-headline3-font-family);", tokens.typoFontSize, ":var(--plasma-typo-headline3-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-headline3-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-headline3-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-headline3-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-headline3-line-height);;label:plasma-new-hope__headline3;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvSGVhZGxpbmUvSGVhZGxpbmUuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBCMEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL09sZC9IZWFkbGluZS9IZWFkbGluZS5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdoZWFkbGluZTEnLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBoZWFkbGluZTE6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGhlYWRsaW5lMjogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMi1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgaGVhZG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va2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTQtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
12
+ headline4: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-headline4-font-family);", tokens.typoFontSize, ":var(--plasma-typo-headline4-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-headline4-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-headline4-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-headline4-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-headline4-line-height);;label:plasma-new-hope__headline4;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvSGVhZGxpbmUvSGVhZGxpbmUuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtDMEIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL09sZC9IZWFkbGluZS9IZWFkbGluZS5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdoZWFkbGluZTEnLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBoZWFkbGluZTE6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUxLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGhlYWRsaW5lMjogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUyLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTItbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMi1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgaGVhZGxpbmUzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMy1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lMy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmUzLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBoZWFkbGluZTQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWhlYWRsaW5lNC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8taGVhZGxpbmU0LWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1oZWFkbGluZTQtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
13
+ }
14
+ }
15
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Headline> = {
12
12
  title: 'typography/Old/Headline',
13
13
  decorators: [WithTheme],
14
14
  component: Headline,
15
- argTypes: argTypesFromConfig(mergeConfig(headlineConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(headlineConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -0,0 +1,13 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-paragraph1-font-family);", tokens.typoFontSize, ":var(--plasma-typo-paragraph1-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-paragraph1-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-paragraph1-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-paragraph1-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-paragraph1-line-height);;label:plasma-new-hope__paragraph1;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVTJCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBm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5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1wYXJhZ3JhcGgyLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
10
+ paragraph2: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-paragraph2-font-family);", tokens.typoFontSize, ":var(--plasma-typo-paragraph2-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-paragraph2-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-paragraph2-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-paragraph2-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-paragraph2-line-height);;label:plasma-new-hope__paragraph2;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy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naHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDEtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDEtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHBhcmFncmFwaDI6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDItZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDItZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tcGFyYWdyYXBoMi1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDItZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDItbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXBhcmFncmFwaDItbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
11
+ }
12
+ }
13
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Paragraph> = {
12
12
  title: 'typography/Old/Paragraph',
13
13
  decorators: [WithTheme],
14
14
  component: Paragraph,
15
- argTypes: argTypesFromConfig(mergeConfig(paragraphConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(paragraphConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  resetMargin: false,
19
27
  m: 2,
@@ -0,0 +1,12 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-subtitle-font-family);", tokens.typoFontSize, ":var(--plasma-typo-subtitle-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-subtitle-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-subtitle-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-subtitle-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-subtitle-line-height);;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvU3VidGl0bGUvU3VidGl0bGUuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy90eXBvZ3JhcGh5L2NvbXBvbmVudHMvT2xkL1N1YnRpdGxlL1N1YnRpdGxlLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UeXBvZ3JhcGh5L3Rva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBjb25maWcgPSB7XG4gICAgZGVmYXVsdHM6IHtcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1zdWJ0aXRsZS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tc3VidGl0bGUtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tc3VidGl0bGUtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1zdWJ0aXRsZS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tc3VidGl0bGUtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXN1YnRpdGxlLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
10
+ }
11
+ }
12
+ };
@@ -12,7 +12,17 @@ const meta: Meta<typeof Subtitle> = {
12
12
  title: 'typography/Old/Subtitle',
13
13
  decorators: [WithTheme],
14
14
  component: Subtitle,
15
- argTypes: argTypesFromConfig(mergeConfig(subtitleConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(subtitleConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
23
+ args: {
24
+ noWrap: false,
25
+ },
16
26
  };
17
27
 
18
28
  export default meta;
@@ -0,0 +1,12 @@
1
+ import { css } from '@emotion/react';
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(tokens.typoFontFamily, ":var(--plasma-typo-underline-font-family);", tokens.typoFontSize, ":var(--plasma-typo-underline-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-underline-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-underline-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-underline-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-underline-line-height);;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVWtCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgbTogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdW5kZXJsaW5lLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby11bmRlcmxpbmUtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdW5kZXJsaW5lLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdW5kZXJsaW5lLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby11bmRlcmxpbmUtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXVuZGVybGluZS1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
10
+ }
11
+ }
12
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Underline> = {
12
12
  title: 'typography/Old/Underline',
13
13
  decorators: [WithTheme],
14
14
  component: Underline,
15
- argTypes: argTypesFromConfig(mergeConfig(underlineConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(underlineConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  },
19
27
  };
@@ -0,0 +1,15 @@
1
+ import { css } from '@emotion/react';
2
+ import { tokens } from '../../../../components/Typography/tokens';
3
+ export var config = {
4
+ defaults: {
5
+ size: 'm'
6
+ },
7
+ variations: {
8
+ size: {
9
+ l: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-text-l-font-family);", tokens.typoFontSize, ":var(--plasma-typo-text-l-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-text-l-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-text-l-font-weight);", tokens.typoFontWeightBold, ":var(--plasma-typo-text-l-bold-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-text-l-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-text-l-line-height);;label:plasma-new-hope__l;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9UZXh0L1RleHQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy90eXBvZ3JhcGh5L2NvbXBvbmVudHMvVGV4dC9UZXh0LmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9UeXBvZ3JhcGh5L3Rva2Vucyc7XG5cbmV4cG9ydCBjb25zdCBjb25maWcgPSB7XG4gICAgZGVmYXVsdHM6IHtcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgIH0sXG4gICAgdmFyaWF0aW9uczoge1xuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbC1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0Qm9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbC1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbC1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgbTogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LW0tZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LW0tYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LW0tbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1zLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHRCb2xkfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1zLWJvbGQtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1zLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXhzLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHRCb2xkfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXhzLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXhzLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */")),
10
+ m: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-text-m-font-family);", tokens.typoFontSize, ":var(--plasma-typo-text-m-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-text-m-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-text-m-font-weight);", tokens.typoFontWeightBold, ":var(--plasma-typo-text-m-bold-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-text-m-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-text-m-line-height);;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9UZXh0L1RleHQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1Ca0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL1RleHQvVGV4dC5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgbDogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tL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m9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgeHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0Qm9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
11
+ s: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-text-s-font-family);", tokens.typoFontSize, ":var(--plasma-typo-text-s-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-text-s-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-text-s-font-weight);", tokens.typoFontWeightBold, ":var(--plasma-typo-text-s-bold-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-text-s-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-text-s-line-height);;label:plasma-new-hope__s;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9UZXh0L1RleHQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTRCa0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL1RleHQvVGV4dC5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgbDogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHRCb2xkfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWJvbGQtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWxpbmUtaGVpZ2h0KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgICAgICBzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0Qm9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgeHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0Qm9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
12
+ xs: /*#__PURE__*/css(tokens.typoFontFamily, ":var(--plasma-typo-text-xs-font-family);", tokens.typoFontSize, ":var(--plasma-typo-text-xs-font-size);", tokens.typoFontStyle, ":var(--plasma-typo-text-xs-font-style);", tokens.typoFontWeight, ":var(--plasma-typo-text-xs-font-weight);", tokens.typoFontWeightBold, ":var(--plasma-typo-text-xs-bold-font-weight);", tokens.typoFontLetterSpacing, ":var(--plasma-typo-text-xs-letter-spacing);", tokens.typoFontLineHeight, ":var(--plasma-typo-text-xs-line-height);;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3R5cG9ncmFwaHkvY29tcG9uZW50cy9UZXh0L1RleHQuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFDbUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvdHlwb2dyYXBoeS9jb21wb25lbnRzL1RleHQvVGV4dC5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS90b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHNpemU6ICdtJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgbDogY3NzYFxuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1sLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby10ZXh0LWwtbGluZS1oZWlnaHQpO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTaXplfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC1tLWZvbnQtc2l6ZSk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQtbS1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b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hcigtLXBsYXNtYS10eXBvLXRleHQtcy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgeHM6IGNzc2BcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke3Rva2Vucy50eXBvRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0Qm9sZH06IHZhcigtLXBsYXNtYS10eXBvLXRleHQteHMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHt0b2tlbnMudHlwb0ZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tdGV4dC14cy1saW5lLWhlaWdodCk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
13
+ }
14
+ }
15
+ };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Text> = {
12
12
  title: 'typography/Text',
13
13
  decorators: [WithTheme],
14
14
  component: Text,
15
- argTypes: argTypesFromConfig(mergeConfig(textConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(textConfig, config)),
17
+ color: {
18
+ control: {
19
+ type: 'color',
20
+ },
21
+ },
22
+ },
16
23
  args: {
24
+ noWrap: false,
17
25
  breakWord: true,
18
26
  bold: false,
19
27
  },
@@ -10,7 +10,7 @@ import { selectText } from './utils/selectText.js';
10
10
  import { keyCodes } from '../../utils/constants.js';
11
11
 
12
12
  var _excluded = ["textComponent", "value", "icon", "maxLength", "spellCheck", "placeholder", "name", "onChange", "onBlur", "onPaste"];
13
- var editableRoot = function editableRoot(typograpyVariants) {
13
+ var editableRoot = function editableRoot(typographyVariants) {
14
14
  return function (Root) {
15
15
  return /*#__PURE__*/forwardRef(function (_ref, outerRef) {
16
16
  var _prevValueRef$current;
@@ -1 +1 @@
1
- {"version":3,"file":"Editable.js","sources":["../../../src/components/Editable/Editable.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type {\n ChangeEvent,\n ClipboardEvent,\n FocusEvent,\n ClipboardEventHandler,\n FocusEventHandler,\n FormEventHandler,\n KeyboardEventHandler,\n} from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../engines';\nimport { constants } from '../../utils';\n\nimport type { EditableProps, TypographyVariants } from './Editable.types';\nimport { clearSelection, selectText } from './utils';\nimport { classes } from './Editable.tokens';\nimport { base, EditButton, StyledInput, StyledPlacehpolder } from './Editable.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\n\nexport const editableRoot = (typograpyVariants: TypographyVariants) => (\n Root: RootProps<HTMLSpanElement, Omit<EditableProps<typeof typograpyVariants>, 'textComponent'>>,\n) =>\n forwardRef<HTMLInputElement, EditableProps<typeof typograpyVariants>>(\n (\n {\n textComponent,\n value,\n icon,\n maxLength,\n spellCheck = 'false',\n placeholder,\n name,\n onChange,\n onBlur,\n onPaste,\n ...props\n },\n outerRef,\n ) => {\n const Component = textComponent;\n\n const [isEditing, setIsEditing] = useState(false);\n\n const inputRef = useRef<HTMLDivElement>(null);\n const innerRef = useForkRef(inputRef, outerRef);\n\n const prevValueRef = useRef(value || '');\n\n const handlePaste: ClipboardEventHandler<HTMLDivElement> = (e) => {\n if (!inputRef.current) {\n return;\n }\n\n e.preventDefault();\n\n const text = e.clipboardData.getData('text/plain').replace(/[\\n\\r]/gi, '');\n\n if (document.queryCommandSupported('insertText')) {\n document.execCommand('insertText', false, text);\n } else {\n try {\n navigator.clipboard.writeText(text);\n } catch {\n inputRef.current.textContent = text;\n }\n }\n\n if (onPaste) {\n onPaste(e as ClipboardEvent<HTMLInputElement>);\n }\n };\n\n const handleBlur: FocusEventHandler<HTMLDivElement> = (e) => {\n setIsEditing(false);\n\n clearSelection();\n\n // NOTE: Remove <br> tag inserted by Safari\n const editableElement = inputRef.current;\n if (editableElement && editableElement.innerHTML === '<br>') {\n editableElement.innerHTML = '';\n }\n\n if (onBlur) {\n onBlur(e as FocusEvent<HTMLInputElement>);\n }\n };\n\n const handleFocus: FocusEventHandler = () => {\n setIsEditing(true);\n\n inputRef.current && selectText(inputRef.current);\n };\n\n const handleEditClick = () => {\n inputRef.current?.focus();\n };\n\n const handleKeyDown: KeyboardEventHandler = (e) => {\n if ([constants.keyCodes.Enter, constants.keyCodes.Escape].includes(e.keyCode)) {\n inputRef.current?.blur();\n }\n };\n\n const handleChange: FormEventHandler = (e) => {\n if (!inputRef.current) {\n return;\n }\n\n const contentLength = inputRef.current.textContent?.length || 0;\n\n if (!maxLength || contentLength <= maxLength) {\n prevValueRef.current = inputRef.current.textContent || '';\n\n onChange && onChange(e as ChangeEvent<HTMLInputElement>);\n } else {\n inputRef.current.textContent = prevValueRef.current;\n }\n };\n\n useEffect(() => {\n if (!inputRef.current || typeof value === 'undefined' || value === inputRef.current.textContent) {\n return;\n }\n\n inputRef.current.textContent = value;\n }, [value, textComponent]);\n\n return (\n <Root {...props}>\n <Component\n ref={innerRef}\n className={classes.editableTextBox}\n role=\"textbox\"\n spellCheck={spellCheck}\n contentEditable\n onPaste={handlePaste}\n onInput={handleChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onKeyDown={handleKeyDown}\n aria-label={placeholder}\n />\n {prevValueRef.current?.length === 0 && !isEditing && (\n <Component>\n <StyledPlacehpolder onClick={handleEditClick}>{placeholder}</StyledPlacehpolder>\n </Component>\n )}\n <StyledInput type=\"hidden\" value={prevValueRef.current} name={name} />\n <EditButton onClick={handleEditClick} isHidden={isEditing}>\n {icon}\n </EditButton>\n </Root>\n );\n },\n );\n\nexport const editableConfig = (typographyVariants: TypographyVariants) => ({\n name: 'Editable',\n tag: 'span',\n layout: editableRoot(typographyVariants),\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n});\n"],"names":["editableRoot","typograpyVariants","Root","forwardRef","_ref","outerRef","_prevValueRef$current","textComponent","value","icon","maxLength","_ref$spellCheck","spellCheck","placeholder","name","onChange","onBlur","onPaste","props","_objectWithoutProperties","_excluded","Component","_useState","useState","_useState2","_slicedToArray","isEditing","setIsEditing","inputRef","useRef","innerRef","useForkRef","prevValueRef","handlePaste","e","current","preventDefault","text","clipboardData","getData","replace","document","queryCommandSupported","execCommand","navigator","clipboard","writeText","_unused","textContent","handleBlur","clearSelection","editableElement","innerHTML","handleFocus","selectText","handleEditClick","_inputRef$current","focus","handleKeyDown","constants","Enter","Escape","includes","keyCode","_inputRef$current2","blur","handleChange","_inputRef$current$tex","contentLength","length","useEffect","React","createElement","ref","className","classes","editableTextBox","role","contentEditable","onInput","onFocus","onKeyDown","StyledPlacehpolder","onClick","StyledInput","type","EditButton","isHidden","editableConfig","typographyVariants","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;IAsBaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,iBAAqC,EAAA;AAAA,EAAA,OAAK,UACnEC,IAAgG,EAAA;AAAA,IAAA,oBAEhGC,UAAU,CACN,UAAAC,IAAA,EAcIC,QAAQ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BAAkB,EAAA;AAACC,QAAAA,OAAO,EAAE5B,eAAAA;OAAkB1C,EAAAA,WAAgC,CACxE,CACd,eACD0D,KAAA,CAAAC,aAAA,CAACY,WAAW,EAAA;AAACC,QAAAA,IAAI,EAAC,QAAQ;QAAC7E,KAAK,EAAEwB,YAAY,CAACG,OAAQ;AAACrB,QAAAA,IAAI,EAAEA,IAAAA;AAAK,OAAE,CAAC,eACtEyD,KAAA,CAAAC,aAAA,CAACc,UAAU,EAAA;AAACH,QAAAA,OAAO,EAAE5B,eAAgB;AAACgC,QAAAA,QAAQ,EAAE7D,SAAAA;OAC3CjB,EAAAA,IACO,CACV,CAAC,CAAA;AAEf,KACJ,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA,EAAA;IAEQ+E,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,kBAAsC,EAAA;EAAA,OAAM;AACvE3E,IAAAA,IAAI,EAAE,UAAU;AAChB4E,IAAAA,GAAG,EAAE,MAAM;AACXC,IAAAA,MAAM,EAAE3F,YAAY,CAAmB,CAAC;AACxC4F,IAAAA,IAAI,EAAJA,IAAI;AACJC,IAAAA,UAAU,EAAE;AACRC,MAAAA,IAAI,EAAE;AACFC,QAAAA,GAAG,EAAEC,MAAAA;OACR;AACDC,MAAAA,IAAI,EAAE;AACFF,QAAAA,GAAG,EAAEG,MAAAA;AACT,OAAA;KACH;AACDC,IAAAA,QAAQ,EAAE;AACNL,MAAAA,IAAI,EAAE,SAAS;AACfG,MAAAA,IAAI,EAAE,GAAA;AACV,KAAA;GACH,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"Editable.js","sources":["../../../src/components/Editable/Editable.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type {\n ChangeEvent,\n ClipboardEvent,\n FocusEvent,\n ClipboardEventHandler,\n FocusEventHandler,\n FormEventHandler,\n KeyboardEventHandler,\n} from 'react';\nimport { useForkRef } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../engines';\nimport { constants } from '../../utils';\n\nimport type { EditableProps, TypographyVariants } from './Editable.types';\nimport { clearSelection, selectText } from './utils';\nimport { classes } from './Editable.tokens';\nimport { base, EditButton, StyledInput, StyledPlacehpolder } from './Editable.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\n\nexport const editableRoot = (typographyVariants: TypographyVariants) => (\n Root: RootProps<HTMLSpanElement, Omit<EditableProps<typeof typographyVariants>, 'textComponent'>>,\n) =>\n forwardRef<HTMLInputElement, EditableProps<typeof typographyVariants>>(\n (\n {\n textComponent,\n value,\n icon,\n maxLength,\n spellCheck = 'false',\n placeholder,\n name,\n onChange,\n onBlur,\n onPaste,\n ...props\n },\n outerRef,\n ) => {\n const Component = textComponent;\n\n const [isEditing, setIsEditing] = useState(false);\n\n const inputRef = useRef<HTMLDivElement>(null);\n const innerRef = useForkRef(inputRef, outerRef);\n\n const prevValueRef = useRef(value || '');\n\n const handlePaste: ClipboardEventHandler<HTMLDivElement> = (e) => {\n if (!inputRef.current) {\n return;\n }\n\n e.preventDefault();\n\n const text = e.clipboardData.getData('text/plain').replace(/[\\n\\r]/gi, '');\n\n if (document.queryCommandSupported('insertText')) {\n document.execCommand('insertText', false, text);\n } else {\n try {\n navigator.clipboard.writeText(text);\n } catch {\n inputRef.current.textContent = text;\n }\n }\n\n if (onPaste) {\n onPaste(e as ClipboardEvent<HTMLInputElement>);\n }\n };\n\n const handleBlur: FocusEventHandler<HTMLDivElement> = (e) => {\n setIsEditing(false);\n\n clearSelection();\n\n // NOTE: Remove <br> tag inserted by Safari\n const editableElement = inputRef.current;\n if (editableElement && editableElement.innerHTML === '<br>') {\n editableElement.innerHTML = '';\n }\n\n if (onBlur) {\n onBlur(e as FocusEvent<HTMLInputElement>);\n }\n };\n\n const handleFocus: FocusEventHandler = () => {\n setIsEditing(true);\n\n inputRef.current && selectText(inputRef.current);\n };\n\n const handleEditClick = () => {\n inputRef.current?.focus();\n };\n\n const handleKeyDown: KeyboardEventHandler = (e) => {\n if ([constants.keyCodes.Enter, constants.keyCodes.Escape].includes(e.keyCode)) {\n inputRef.current?.blur();\n }\n };\n\n const handleChange: FormEventHandler = (e) => {\n if (!inputRef.current) {\n return;\n }\n\n const contentLength = inputRef.current.textContent?.length || 0;\n\n if (!maxLength || contentLength <= maxLength) {\n prevValueRef.current = inputRef.current.textContent || '';\n\n onChange && onChange(e as ChangeEvent<HTMLInputElement>);\n } else {\n inputRef.current.textContent = prevValueRef.current;\n }\n };\n\n useEffect(() => {\n if (!inputRef.current || typeof value === 'undefined' || value === inputRef.current.textContent) {\n return;\n }\n\n inputRef.current.textContent = value;\n }, [value, textComponent]);\n\n return (\n <Root {...props}>\n <Component\n ref={innerRef}\n className={classes.editableTextBox}\n role=\"textbox\"\n spellCheck={spellCheck}\n contentEditable\n onPaste={handlePaste}\n onInput={handleChange}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onKeyDown={handleKeyDown}\n aria-label={placeholder}\n />\n {prevValueRef.current?.length === 0 && !isEditing && (\n <Component>\n <StyledPlacehpolder onClick={handleEditClick}>{placeholder}</StyledPlacehpolder>\n </Component>\n )}\n <StyledInput type=\"hidden\" value={prevValueRef.current} name={name} />\n <EditButton onClick={handleEditClick} isHidden={isEditing}>\n {icon}\n </EditButton>\n </Root>\n );\n },\n );\n\nexport const editableConfig = (typographyVariants: TypographyVariants) => ({\n name: 'Editable',\n tag: 'span',\n layout: editableRoot(typographyVariants),\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n});\n"],"names":["editableRoot","typographyVariants","Root","forwardRef","_ref","outerRef","_prevValueRef$current","textComponent","value","icon","maxLength","_ref$spellCheck","spellCheck","placeholder","name","onChange","onBlur","onPaste","props","_objectWithoutProperties","_excluded","Component","_useState","useState","_useState2","_slicedToArray","isEditing","setIsEditing","inputRef","useRef","innerRef","useForkRef","prevValueRef","handlePaste","e","current","preventDefault","text","clipboardData","getData","replace","document","queryCommandSupported","execCommand","navigator","clipboard","writeText","_unused","textContent","handleBlur","clearSelection","editableElement","innerHTML","handleFocus","selectText","handleEditClick","_inputRef$current","focus","handleKeyDown","constants","Enter","Escape","includes","keyCode","_inputRef$current2","blur","handleChange","_inputRef$current$tex","contentLength","length","useEffect","React","createElement","ref","className","classes","editableTextBox","role","contentEditable","onInput","onFocus","onKeyDown","StyledPlacehpolder","onClick","StyledInput","type","EditButton","isHidden","editableConfig","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;IAsBaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,kBAAsC,EAAA;AAAA,EAAA,OAAK,UACpEC,IAAiG,EAAA;AAAA,IAAA,oBAEjGC,UAAU,CACN,UAAAC,IAAA,EAcIC,QAAQ,EACP;AAAA,MAAA,IAAAC,qBAAA,CAAA;AAAA,MAAA,IAbGC,aAAa,GAAAH,IAAA,CAAbG,aAAa;QACbC,KAAK,GAAAJ,IAAA,CAALI,KAAK;QACLC,IAAI,GAAAL,IAAA,CAAJK,IAAI;QACJC,SAAS,GAAAN,IAAA,CAATM,SAAS;QAAAC,eAAA,GAAAP,IAAA,CACTQ,UAAU;AAAVA,QAAAA,UAAU,GAAAD,eAAA,KAAG,KAAA,CAAA,GAAA,OAAO,GAAAA,eAAA;QACpBE,WAAW,GAAAT,IAAA,CAAXS,WAAW;QACXC,IAAI,GAAAV,IAAA,CAAJU,IAAI;QACJC,QAAQ,GAAAX,IAAA,CAARW,QAAQ;QACRC,MAAM,GAAAZ,IAAA,CAANY,MAAM;QACNC,OAAO,GAAAb,IAAA,CAAPa,OAAO;AACJC,QAAAA,KAAK,GAAAC,wBAAA,CAAAf,IAAA,EAAAgB,SAAA,CAAA,CAAA;MAIZ,IAAMC,SAAS,GAAGd,aAAa,CAAA;AAE/B,MAAA,IAAAe,SAAA,GAAkCC,QAAQ,CAAC,KAAK,CAAC;QAAAC,UAAA,GA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EAAE;AACRC,MAAAA,IAAI,EAAE;AACFC,QAAAA,GAAG,EAAEC,MAAAA;OACR;AACDC,MAAAA,IAAI,EAAE;AACFF,QAAAA,GAAG,EAAEG,MAAAA;AACT,OAAA;KACH;AACDC,IAAAA,QAAQ,EAAE;AACNL,MAAAA,IAAI,EAAE,SAAS;AACfG,MAAAA,IAAI,EAAE,GAAA;AACV,KAAA;GACH,CAAA;AAAA;;;;"}
@@ -1 +1 @@
1
- .Typography_styles_6mr47g_b1ru04lg__ff3be7fe{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Typography_styles_6mr47g_b1ru04lg__ff3be7fe.Typography_styles_6mr47g_typographyBold__ff3be7fe{font-weight:var(--typo-font-weight-bold);}.Typography_styles_6mr47g_b1ru04lg__ff3be7fe.Typography_styles_6mr47g_withBreakWord__ff3be7fe{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .Typography_styles_fa07dt_b1ru04lg__867729cb{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_typographyBold__867729cb{font-weight:var(--typo-font-weight-bold);}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_withNoWrap__867729cb{white-space:nowrap;}.Typography_styles_fa07dt_b1ru04lg__867729cb.Typography_styles_fa07dt_withBreakWord__867729cb{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1 +1 @@
1
- .TypographyOld_styles_17w0rtq_b9p5ato__18359621{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.TypographyOld_styles_17w0rtq_b9p5ato__18359621.TypographyOld_styles_17w0rtq_withBreakWord__18359621{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .TypographyOld_styles_168abbx_b9p5ato__094dcd73{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.TypographyOld_styles_168abbx_b9p5ato__094dcd73.TypographyOld_styles_168abbx_withNoWrap__094dcd73{white-space:nowrap;}.TypographyOld_styles_168abbx_b9p5ato__094dcd73.TypographyOld_styles_168abbx_withBreakWord__094dcd73{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1 +1 @@
1
- .Paragraph_styles_179bahu_bgybk92__d9a8cadb{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);margin:0;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Paragraph_styles_179bahu_bgybk92__d9a8cadb.Paragraph_styles_179bahu_withBreakWord__d9a8cadb{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .Paragraph_styles_f6q9s8_bgybk92__e9eeb09f{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);margin:0;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Paragraph_styles_f6q9s8_bgybk92__e9eeb09f.Paragraph_styles_f6q9s8_withNoWrap__e9eeb09f{white-space:nowrap;}.Paragraph_styles_f6q9s8_bgybk92__e9eeb09f.Paragraph_styles_f6q9s8_withBreakWord__e9eeb09f{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1,4 +1,4 @@
1
- import './Paragraph.styles_179bahu.css';
1
+ import './Paragraph.styles_f6q9s8.css';
2
2
  var base = "bgybk92";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.styles.js","sources":["../../../../../src/components/Typography/Old/Paragraph/Paragraph.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n margin: 0;\n\n ${String(applyHyphensNormal)};\n\n &.${String(classes.typoWithBreakWord)} {\n ${String(applyHyphens)};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAchB;;;;"}
1
+ {"version":3,"file":"Paragraph.styles.js","sources":["../../../../../src/components/Typography/Old/Paragraph/Paragraph.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens, applyHyphensNormal } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n margin: 0;\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphensNormal};\n\n &.${classes.typoWithBreakWord} {\n ${applyHyphens};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAkBhB;;;;"}
@@ -1 +1 @@
1
- .bgybk92{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);margin:0;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.bgybk92.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .bgybk92{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);margin:0;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.bgybk92.with-no-wrap{white-space:nowrap;}.bgybk92.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1 +1 @@
1
- .Subtitle_styles_1plleej_b810c19__d9c54bce{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .Subtitle_styles_g6d0r2_b810c19__dce1fd86{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}.Subtitle_styles_g6d0r2_b810c19__dce1fd86.Subtitle_styles_g6d0r2_withNoWrap__dce1fd86{white-space:nowrap;}
@@ -2,19 +2,25 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
2
2
  import React, { forwardRef } from 'react';
3
3
  import { applySpacing } from '../../../../mixins/applySpacing.js';
4
4
  import { base as base$1 } from '../../variations/_size/base.js';
5
+ import { classes } from '../../tokens.js';
6
+ import { cx } from '../../../../utils/index.js';
5
7
  import { base } from './Subtitle.styles.js';
6
8
 
7
- var _excluded = ["size", "children", "color", "style"];
9
+ var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
8
10
  var subtitleRoot = function subtitleRoot(Root) {
9
11
  return /*#__PURE__*/forwardRef(function (props, ref) {
10
12
  var size = props.size,
11
13
  children = props.children,
12
14
  color = props.color,
15
+ noWrap = props.noWrap,
16
+ className = props.className,
13
17
  style = props.style,
14
18
  rest = _objectWithoutProperties(props, _excluded);
19
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
15
20
  return /*#__PURE__*/React.createElement(Root, _extends({
16
21
  size: size,
17
22
  ref: ref,
23
+ className: cx(withNoWrap, className),
18
24
  style: _objectSpread2(_objectSpread2({
19
25
  color: color
20
26
  }, style), applySpacing(rest))
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ color, ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAsCF,KAAK,CAA/CE,IAAI;MAAEC,QAAQ,GAA4BH,KAAK,CAAzCG,QAAQ;MAAEC,KAAK,GAAqBJ,KAAK,CAA/BI,KAAK;MAAEC,KAAK,GAAcL,KAAK,CAAxBK,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKP,KAAK,EAAAQ,SAAA,CAAA,CAAA;AAEvD,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACZ,IAAI,EAAAa,QAAA,CAAA;AAACT,MAAAA,IAAI,EAAEA,IAAK;AAACD,MAAAA,GAAG,EAAEA,GAAI;MAACI,KAAK,EAAAO,cAAA,CAAAA,cAAA,CAAA;AAAIR,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKC,KAAK,CAAA,EAAKQ,YAAY,CAACP,IAAI,CAAC,CAAA;KAAQA,EAAAA,IAAI,CAClFH,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMW,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpB,YAAY;AACpBqB,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRjB,IAAAA,IAAI,EAAE;AACFkB,MAAAA,GAAG,EAAEC,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\nimport { classes } from '../../tokens';\nimport { cx } from '../../../../utils';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, noWrap, className, style, ...rest } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","noWrap","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;;;IAaaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAyDF,KAAK,CAAlEE,IAAI;MAAEC,QAAQ,GAA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 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle.styles.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../tokens';\nimport { applyHyphens } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n ${String(applyHyphens)};\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAShB;;;;"}
1
+ {"version":3,"file":"Subtitle.styles.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphens};\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAahB;;;;"}
@@ -1 +1 @@
1
- .b810c19{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .b810c19{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}.b810c19.with-no-wrap{white-space:nowrap;}
@@ -4,21 +4,23 @@ import { applySpacing } from '../../../mixins/applySpacing.js';
4
4
  import { classes } from '../tokens.js';
5
5
  import { cx } from '../../../utils/index.js';
6
6
 
7
- var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
7
+ var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
8
8
  var typographyOldRoot = function typographyOldRoot(Root) {
9
9
  return /*#__PURE__*/forwardRef(function (props, ref) {
10
10
  var size = props.size,
11
11
  children = props.children,
12
12
  breakWord = props.breakWord,
13
+ noWrap = props.noWrap,
13
14
  color = props.color,
14
15
  className = props.className,
15
16
  style = props.style,
16
17
  rest = _objectWithoutProperties(props, _excluded);
18
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
17
19
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
18
20
  return /*#__PURE__*/React.createElement(Root, _extends({
19
21
  size: size,
20
22
  ref: ref,
21
- className: cx(withBreakWord, className),
23
+ className: cx(withNoWrap, withBreakWord, className),
22
24
  style: _objectSpread2(_objectSpread2({
23
25
  color: color
24
26
  }, style), applySpacing(rest))