@salutejs/plasma-new-hope 0.197.1-canary.1569.11973386056.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
@@ -12,8 +12,16 @@ const meta: Meta<typeof OldBody> = {
12
12
  title: 'typography/Old/Body',
13
13
  decorators: [WithTheme],
14
14
  component: OldBody,
15
- argTypes: argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(oldBodyConfig, 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
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Button> = {
12
12
  title: 'typography/Old/Button',
13
13
  decorators: [WithTheme],
14
14
  component: Button,
15
- argTypes: argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(buttonTypographyConfig, 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
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Caption> = {
12
12
  title: 'typography/Old/Caption',
13
13
  decorators: [WithTheme],
14
14
  component: Caption,
15
- argTypes: argTypesFromConfig(mergeConfig(captionConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(captionConfig, 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
  };
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -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,
@@ -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;
@@ -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
  };
@@ -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
  },
@@ -15,7 +15,7 @@ import { classes } from './Editable.tokens';
15
15
  import { base, EditButton, StyledInput, StyledPlacehpolder } from './Editable.styles';
16
16
  import { base as viewCSS } from './variations/_view/base';
17
17
  import { base as sizeCSS } from './variations/_size/base';
18
- export var editableRoot = function editableRoot(typograpyVariants) {
18
+ export var editableRoot = function editableRoot(typographyVariants) {
19
19
  return function (Root) {
20
20
  return /*#__PURE__*/forwardRef(function (_ref, outerRef) {
21
21
  var _prevValueRef$current;
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, /*#__PURE__*/String(applyHyphensNormal), /*#__PURE__*/String(classes.typoWithBreakWord), /*#__PURE__*/String(applyHyphens));
4
+ export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "color", "style"];
2
+ var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -11,17 +11,23 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
11
11
  import React, { forwardRef } from 'react';
12
12
  import { applySpacing } from '../../../../mixins/applySpacing';
13
13
  import { base as sizeCSS } from '../../variations/_size/base';
14
+ import { classes } from '../../tokens';
15
+ import { cx } from '../../../../utils';
14
16
  import { base } from './Subtitle.styles';
15
17
  export var subtitleRoot = function subtitleRoot(Root) {
16
18
  return /*#__PURE__*/forwardRef(function (props, ref) {
17
19
  var size = props.size,
18
20
  children = props.children,
19
21
  color = props.color,
22
+ noWrap = props.noWrap,
23
+ className = props.className,
20
24
  style = props.style,
21
25
  rest = _objectWithoutProperties(props, _excluded);
26
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
22
27
  return /*#__PURE__*/React.createElement(Root, _extends({
23
28
  size: size,
24
29
  ref: ref,
30
+ className: cx(withNoWrap, className),
25
31
  style: _objectSpread(_objectSpread({
26
32
  color: color
27
33
  }, style), applySpacing(rest))
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
- import { tokens } from '../../tokens';
2
+ import { classes, tokens } from '../../tokens';
3
3
  import { applyHyphens } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, /*#__PURE__*/String(applyHyphens));
4
+ export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphens);
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
2
+ var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -17,15 +17,17 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
17
17
  var size = props.size,
18
18
  children = props.children,
19
19
  breakWord = props.breakWord,
20
+ noWrap = props.noWrap,
20
21
  color = props.color,
21
22
  className = props.className,
22
23
  style = props.style,
23
24
  rest = _objectWithoutProperties(props, _excluded);
25
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
24
26
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
25
27
  return /*#__PURE__*/React.createElement(Root, _extends({
26
28
  size: size,
27
29
  ref: ref,
28
- className: cx(withBreakWord, className),
30
+ className: cx(withNoWrap, withBreakWord, className),
29
31
  style: _objectSpread(_objectSpread({
30
32
  color: color
31
33
  }, style), applySpacing(rest))
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../mixins';
4
- export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, /*#__PURE__*/String(applyHyphensNormal), /*#__PURE__*/String(classes.typoWithBreakWord), /*#__PURE__*/String(applyHyphens));
4
+ export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, /*#__PURE__*/String(applyHyphensNormal), /*#__PURE__*/String(classes.typoWithBreakWord), /*#__PURE__*/String(applyHyphens));
4
+ export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
2
+ var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -18,18 +18,20 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
18
18
  var size = props.size,
19
19
  children = props.children,
20
20
  breakWord = props.breakWord,
21
+ noWrap = props.noWrap,
21
22
  _props$bold = props.bold,
22
23
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
23
24
  color = props.color,
24
25
  className = props.className,
25
26
  style = props.style,
26
27
  rest = _objectWithoutProperties(props, _excluded);
28
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
27
29
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
28
30
  var typographyBold = bold ? classes.typoBold : undefined;
29
31
  return /*#__PURE__*/React.createElement(Root, _extends({
30
32
  size: size,
31
33
  ref: ref,
32
- className: cx(withBreakWord, typographyBold, className),
34
+ className: cx(withNoWrap, withBreakWord, typographyBold, className),
33
35
  style: _objectSpread(_objectSpread({
34
36
  color: color
35
37
  }, style), applySpacing(rest)),
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { applyHyphens, applyHyphensNormal } from '../../mixins';
3
3
  import { classes, tokens } from './tokens';
4
- export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, /*#__PURE__*/String(classes.typoBold), tokens.typoFontWeightBold, /*#__PURE__*/String(applyHyphensNormal), /*#__PURE__*/String(classes.typoWithBreakWord), /*#__PURE__*/String(applyHyphens));
4
+ export var base = /*#__PURE__*/css(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}&.", "{white-space:nowrap;}", ";&.", "{", ";}"], tokens.typoFontFamily, tokens.typoFontSize, tokens.typoFontStyle, tokens.typoFontLetterSpacing, tokens.typoFontLineHeight, tokens.typoFontWeight, classes.typoBold, tokens.typoFontWeightBold, classes.typoWithNoWrap, applyHyphensNormal, classes.typoWithBreakWord, applyHyphens);
@@ -19,6 +19,10 @@ title: Typography
19
19
  По умолчанию в типографике слова переносятся по слогам.
20
20
  Чтобы отключить данный функционал, необходимо установить свойство `breakWord` в значении `false`.
21
21
 
22
+ ## Пробелы
23
+ По умолчанию в типографике если текст превышает ширину элемента, то слова будут переноситься по пробелам.
24
+ Чтобы запретить перенос по пробелам, необходимо установить свойство `noWrap` в значении `true`.
25
+
22
26
  ## Состав
23
27
 
24
28
  ### Hero unit
@@ -1,4 +1,5 @@
1
1
  export var classes = {
2
+ typoWithNoWrap: 'with-no-wrap',
2
3
  typoWithBreakWord: 'with-break-word',
3
4
  typoBold: 'typography-bold'
4
5
  };
@@ -3,7 +3,7 @@ import type { ComponentProps } from 'react';
3
3
  import type { StoryObj, Meta } from '@storybook/react';
4
4
  import { action } from '@storybook/addon-actions';
5
5
 
6
- import { Heading } from '../../../typograpy/components/Heading/Heading';
6
+ import { Heading } from '../../../typography/components/Heading/Heading';
7
7
  import { WithTheme } from '../../../_helpers';
8
8
  import { Tabs } from '../Tabs/Tabs';
9
9
  import { TabItem } from '../Tabs/TabItem';
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Heading } from '../../../typograpy/components/Heading/Heading';
8
+ import { Heading } from '../../../typography/components/Heading/Heading';
9
9
  import { IconDone } from '../../../../components/_Icon';
10
10
  import { SSRProvider } from '../../../../components/SSRProvider';
11
11
  import { PopupProvider } from '../Popup/Popup';
@@ -1,9 +1,9 @@
1
1
  import { editableConfig } from '../../../../components/Editable';
2
2
  import { component, mergeConfig } from '../../../../engines';
3
- import { Body } from '../../../typograpy/components/Body/Body';
4
- import { Dspl } from '../../../typograpy/components/Dspl/Dspl';
5
- import { Heading } from '../../../typograpy/components/Heading/Heading';
6
- import { Text } from '../../../typograpy/components/Text/Text';
3
+ import { Body } from '../../../typography/components/Body/Body';
4
+ import { Dspl } from '../../../typography/components/Dspl/Dspl';
5
+ import { Heading } from '../../../typography/components/Heading/Heading';
6
+ import { Text } from '../../../typography/components/Text/Text';
7
7
  import { config } from './Editable.config';
8
8
  export var typographyVariants = {
9
9
  Body: Body,
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Heading } from '../../../typograpy/components/Heading/Heading';
8
+ import { Heading } from '../../../typography/components/Heading/Heading';
9
9
  import { IconDone } from '../../../../components/_Icon';
10
10
  import { ClosePlacementType } from '../../../../components/Panel';
11
11
  import { SSRProvider } from '../../../../components/SSRProvider';
@@ -5,7 +5,7 @@ import styled from 'styled-components';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Body } from '../../../typograpy/components/Body/Body';
8
+ import { Body } from '../../../typography/components/Body/Body';
9
9
  import { Portal } from '../../../../components/Portal';
10
10
 
11
11
  const meta: Meta<typeof Portal> = {
@@ -5,7 +5,7 @@ import styled from 'styled-components';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Body } from '../../../typograpy/components/Body/Body';
8
+ import { Body } from '../../../typography/components/Body/Body';
9
9
 
10
10
  import { Sheet } from './Sheet';
11
11
 
@@ -3,7 +3,7 @@ import type { ComponentProps } from 'react';
3
3
  import type { StoryObj, Meta } from '@storybook/react';
4
4
  import { action } from '@storybook/addon-actions';
5
5
 
6
- import { Heading } from '../../../typograpy/components/Heading/Heading';
6
+ import { Heading } from '../../../typography/components/Heading/Heading';
7
7
  import { WithTheme } from '../../../_helpers';
8
8
  import { Tabs } from '../Tabs/Tabs';
9
9
  import { TabItem } from '../Tabs/TabItem';
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Heading } from '../../../typograpy/components/Heading/Heading';
8
+ import { Heading } from '../../../typography/components/Heading/Heading';
9
9
  import { IconDone } from '../../../../components/_Icon';
10
10
  import { SSRProvider } from '../../../../components/SSRProvider';
11
11
  import { PopupProvider } from '../Popup/Popup';
@@ -1,9 +1,9 @@
1
1
  import { editableConfig } from '../../../../components/Editable';
2
2
  import { component, mergeConfig } from '../../../../engines';
3
- import { Body } from '../../../typograpy/components/Body/Body';
4
- import { Dspl } from '../../../typograpy/components/Dspl/Dspl';
5
- import { Heading } from '../../../typograpy/components/Heading/Heading';
6
- import { Text } from '../../../typograpy/components/Text/Text';
3
+ import { Body } from '../../../typography/components/Body/Body';
4
+ import { Dspl } from '../../../typography/components/Dspl/Dspl';
5
+ import { Heading } from '../../../typography/components/Heading/Heading';
6
+ import { Text } from '../../../typography/components/Text/Text';
7
7
  import { config } from './Editable.config';
8
8
  export var typographyVariants = {
9
9
  Body: Body,
@@ -5,7 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Heading } from '../../../typograpy/components/Heading/Heading';
8
+ import { Heading } from '../../../typography/components/Heading/Heading';
9
9
  import { IconDone } from '../../../../components/_Icon';
10
10
  import { ClosePlacementType } from '../../../../components/Panel';
11
11
  import { SSRProvider } from '../../../../components/SSRProvider';
@@ -5,7 +5,7 @@ import styled from 'styled-components';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Body } from '../../../typograpy/components/Body/Body';
8
+ import { Body } from '../../../typography/components/Body/Body';
9
9
  import { Portal } from '../../../../components/Portal';
10
10
 
11
11
  const meta: Meta<typeof Portal> = {
@@ -5,7 +5,7 @@ import styled from 'styled-components';
5
5
 
6
6
  import { Button } from '../Button/Button';
7
7
  import { WithTheme } from '../../../_helpers';
8
- import { Body } from '../../../typograpy/components/Body/Body';
8
+ import { Body } from '../../../typography/components/Body/Body';
9
9
 
10
10
  import { Sheet } from './Sheet';
11
11
 
@@ -12,8 +12,16 @@ const meta: Meta<typeof Body> = {
12
12
  title: 'typography/Body',
13
13
  decorators: [WithTheme],
14
14
  component: Body,
15
- argTypes: argTypesFromConfig(mergeConfig(bodyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(bodyConfig, 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
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof Dspl> = {
12
12
  title: 'typography/Dspl',
13
13
  decorators: [WithTheme],
14
14
  component: Dspl,
15
- argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(dsplConfig, 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
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof Heading> = {
12
12
  title: 'typography/Heading',
13
13
  decorators: [WithTheme],
14
14
  component: Heading,
15
- argTypes: argTypesFromConfig(mergeConfig(dsplConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(dsplConfig, 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
  },
@@ -12,8 +12,16 @@ const meta: Meta<typeof OldBody> = {
12
12
  title: 'typography/Old/Body',
13
13
  decorators: [WithTheme],
14
14
  component: OldBody,
15
- argTypes: argTypesFromConfig(mergeConfig(oldBodyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(oldBodyConfig, 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
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Button> = {
12
12
  title: 'typography/Old/Button',
13
13
  decorators: [WithTheme],
14
14
  component: Button,
15
- argTypes: argTypesFromConfig(mergeConfig(buttonTypographyConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(buttonTypographyConfig, 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
  };
@@ -12,8 +12,16 @@ const meta: Meta<typeof Caption> = {
12
12
  title: 'typography/Old/Caption',
13
13
  decorators: [WithTheme],
14
14
  component: Caption,
15
- argTypes: argTypesFromConfig(mergeConfig(captionConfig, config)),
15
+ argTypes: {
16
+ ...argTypesFromConfig(mergeConfig(captionConfig, 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
  };
@@ -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
  };