@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
@@ -1 +1 @@
1
- {"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,GAA4DF,KAAK,CAArEE,IAAI;MAAEC,QAAQ,GAAkDH,KAAK,CAA/DG,QAAQ;MAAEC,SAAS,GAAuCJ,KAAK,CAArDI,SAAS;MAAEC,KAAK,GAAgCL,KAAK,CAA1CK,KAAK;MAAEC,SAAS,GAAqBN,KAAK,CAAnCM,SAAS;MAAEC,KAAK,GAAcP,KAAK,CAAxBO,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKT,KAAK,EAAAU,SAAA,CAAA,CAAA;IAE7E,IAAMC,aAAa,GAAGP,SAAS,GAAGQ,OAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;AAEvE,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAAClB,IAAI,EAAAmB,QAAA,CAAA;AACDf,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,GAAG,EAAEA,GAAI;AACTK,MAAAA,SAAS,EAAEY,EAAE,CAACP,aAAa,EAAEL,SAAS,CAAE;MACxCC,KAAK,EAAAY,cAAA,CAAAA,cAAA,CAAA;AAAId,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKE,KAAK,CAAA,EAAKa,YAAY,CAACZ,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPL,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, noWrap, color, className, style, ...rest } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","noWrap","color","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","withBreakWord","typoWithBreakWord","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,GAAoEF,KAAK,CAA7EE,IAAI;MAAEC,QAAQ,GAA0DH,KAAK,CAAvEG,QAAQ;MAAEC,SAAS,GAA+CJ,KAAK,CAA7DI,SAAS;MAAEC,MAAM,GAAuCL,KAAK,CAAlDK,MAAM;MAAEC,KAAK,GAAgCN,KAAK,CAA1CM,KAAK;MAAEC,SAAS,GAAqBP,KAAK,CAAnCO,SAAS;MAAEC,KAAK,GAAcR,KAAK,CAAxBQ,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKV,KAAK,EAAAW,SAAA,CAAA,CAAA;IAErF,IAAMC,UAAU,GAAGP,MAAM,GAAGQ,OAAO,CAACC,cAAc,GAAGC,SAAS,CAAA;IAC9D,IAAMC,aAAa,GAAGZ,SAAS,GAAGS,OAAO,CAACI,iBAAiB,GAAGF,SAAS,CAAA;AAEvE,IAAA,oBACIG,KAAA,CAAAC,aAAA,CAACrB,IAAI,EAAAsB,QAAA,CAAA;AACDlB,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,GAAG,EAAEA,GAAI;MACTM,SAAS,EAAEc,EAAE,CAACT,UAAU,EAAEI,aAAa,EAAET,SAAS,CAAE;MACpDC,KAAK,EAAAc,cAAA,CAAAA,cAAA,CAAA;AAAIhB,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKE,KAAK,CAAA,EAAKe,YAAY,CAACd,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPN,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA;;;;"}
@@ -1,4 +1,4 @@
1
- import './TypographyOld.styles_17w0rtq.css';
1
+ import './TypographyOld.styles_168abbx.css';
2
2
  var base = "b9p5ato";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"TypographyOld.styles.js","sources":["../../../../src/components/Typography/Old/TypographyOld.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\n ${String(applyHyphensNormal)};\n\n &.${String(classes.typoWithBreakWord)} {\n ${String(applyHyphens)};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAahB;;;;"}
1
+ {"version":3,"file":"TypographyOld.styles.js","sources":["../../../../src/components/Typography/Old/TypographyOld.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\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,GAiBhB;;;;"}
@@ -1 +1 @@
1
- .b9p5ato{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;}.b9p5ato.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .b9p5ato{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;}.b9p5ato.with-no-wrap{white-space:nowrap;}.b9p5ato.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1 +1 @@
1
- .Underline_styles_vsz834_b1uxesuf__4f8f4d9b{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_vsz834_b1uxesuf__4f8f4d9b.Underline_styles_vsz834_withBreakWord__4f8f4d9b{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .Underline_styles_1x2vb5e_b1uxesuf__34404c4e{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withNoWrap__34404c4e{white-space:nowrap;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withBreakWord__34404c4e{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1,4 +1,4 @@
1
- import './Underline.styles_vsz834.css';
1
+ import './Underline.styles_1x2vb5e.css';
2
2
  var base = "b1uxesuf";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Underline.styles.js","sources":["../../../../../src/components/Typography/Old/Underline/Underline.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\n text-transform: uppercase;\n\n ${String(applyHyphensNormal)};\n\n &.${String(classes.typoWithBreakWord)} {\n ${String(applyHyphens)};\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAehB;;;;"}
1
+ {"version":3,"file":"Underline.styles.js","sources":["../../../../../src/components/Typography/Old/Underline/Underline.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\n text-transform: uppercase;\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,GAmBhB;;;;"}
@@ -1 +1 @@
1
- .b1uxesuf{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1uxesuf.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .b1uxesuf{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.b1uxesuf.with-no-wrap{white-space:nowrap;}.b1uxesuf.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -4,25 +4,27 @@ import { applySpacing } from '../../mixins/applySpacing.js';
4
4
  import { cx } from '../../utils/index.js';
5
5
  import { classes } from './tokens.js';
6
6
 
7
- var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
7
+ var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
8
8
  var typographyRootCompose = function typographyRootCompose(defaultArgs) {
9
9
  return function (Root) {
10
10
  return /*#__PURE__*/forwardRef(function (props, ref) {
11
11
  var size = props.size,
12
12
  children = props.children,
13
13
  breakWord = props.breakWord,
14
+ noWrap = props.noWrap,
14
15
  _props$bold = props.bold,
15
16
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
16
17
  color = props.color,
17
18
  className = props.className,
18
19
  style = props.style,
19
20
  rest = _objectWithoutProperties(props, _excluded);
21
+ var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
20
22
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
21
23
  var typographyBold = bold ? classes.typoBold : undefined;
22
24
  return /*#__PURE__*/React.createElement(Root, _extends({
23
25
  size: size,
24
26
  ref: ref,
25
- className: cx(withBreakWord, typographyBold, className),
27
+ className: cx(withNoWrap, withBreakWord, typographyBold, className),
26
28
  style: _objectSpread2(_objectSpread2({
27
29
  color: color
28
30
  }, style), applySpacing(rest)),
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const { size, children, breakWord, bold = defaultArgs?.defaultBold, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, typographyBold, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","_props$bold","bold","defaultBold","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,UAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IAAQC,IAAI,GAA6FF,KAAK,CAAtGE,IAAI;QAAEC,QAAQ,GAAmFH,KAAK,CAAhGG,QAAQ;QAAEC,SAAS,GAAwEJ,KAAK,CAAtFI,SAAS;QAAAC,WAAA,GAAwEL,KAAK,CAA3EM,IAAI;QAAJA,IAAI,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGR,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAXA,WAAW,CAAEU,WAAW,GAAAF,WAAA;QAAEG,KAAK,GAAgCR,KAAK,CAA1CQ,KAAK;QAAEC,SAAS,GAAqBT,KAAK,CAAnCS,SAAS;QAAEC,KAAK,GAAcV,KAAK,CAAxBU,KAAK;AAAKC,QAAAA,IAAI,GAAAC,wBAAA,CAAKZ,KAAK,EAAAa,SAAA,CAAA,CAAA;MAE9G,IAAMC,aAAa,GAAGV,SAAS,GAAGW,OAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;MACvE,IAAMC,cAAc,GAAGZ,IAAI,GAAGS,OAAO,CAACI,QAAQ,GAAGF,SAAS,CAAA;AAE1D,MAAA,oBACIG,KAAA,CAAAC,aAAA,CAACvB,IAAI,EAAAwB,QAAA,CAAA;AACDpB,QAAAA,IAAI,EAAEA,IAAK;AACXD,QAAAA,GAAG,EAAEA,GAAI;QACTQ,SAAS,EAAEc,EAAE,CAACT,aAAa,EAAEI,cAAc,EAAET,SAAS,CAAE;QACxDC,KAAK,EAAAc,cAAA,CAAAA,cAAA,CAAA;AAAIhB,UAAAA,KAAK,EAALA,KAAAA;AAAK,SAAA,EAAKE,KAAK,CAAKe,EAAAA,YAAY,CAACd,IAAI,CAAC,CAAG;AAClDL,QAAAA,IAAI,EAAEA,IAAAA;OACFK,EAAAA,IAAI,CAEPR,EAAAA,QACC,CAAC,CAAA;AAEf,KAAC,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA;;;;"}
1
+ {"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const {\n size,\n children,\n breakWord,\n noWrap,\n bold = defaultArgs?.defaultBold,\n color,\n className,\n style,\n ...rest\n } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, withBreakWord, typographyBold, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","noWrap","_props$bold","bold","defaultBold","color","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","withBreakWord","typoWithBreakWord","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,UAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IACIC,IAAI,GASJF,KAAK,CATLE,IAAI;QACJC,QAAQ,GAQRH,KAAK,CARLG,QAAQ;QACRC,SAAS,GAOTJ,KAAK,CAPLI,SAAS;QACTC,MAAM,GAMNL,KAAK,CANLK,MAAM;QAAAC,WAAA,GAMNN,KAAK,CALLO,IAAI;QAAJA,IAAI,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGT,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAXA,WAAW,CAAEW,WAAW,GAAAF,WAAA;QAC/BG,KAAK,GAILT,KAAK,CAJLS,KAAK;QACLC,SAAS,GAGTV,KAAK,CAHLU,SAAS;QACTC,KAAK,GAELX,KAAK,CAFLW,KAAK;AACFC,QAAAA,IAAI,GAAAC,wBAAA,CACPb,KAAK,EAAAc,SAAA,CAAA,CAAA;MAET,IAAMC,UAAU,GAAGV,MAAM,GAAGW,OAAO,CAACC,cAAc,GAAGC,SAAS,CAAA;MAC9D,IAAMC,aAAa,GAAGf,SAAS,GAAGY,OAAO,CAACI,iBAAiB,GAAGF,SAAS,CAAA;MACvE,IAAMG,cAAc,GAAGd,IAAI,GAAGS,OAAO,CAACM,QAAQ,GAAGJ,SAAS,CAAA;AAE1D,MAAA,oBACIK,KAAA,CAAAC,aAAA,CAAC1B,IAAI,EAAA2B,QAAA,CAAA;AACDvB,QAAAA,IAAI,EAAEA,IAAK;AACXD,QAAAA,GAAG,EAAEA,GAAI;QACTS,SAAS,EAAEgB,EAAE,CAACX,UAAU,EAAEI,aAAa,EAAEE,cAAc,EAAEX,SAAS,CAAE;QACpEC,KAAK,EAAAgB,cAAA,CAAAA,cAAA,CAAA;AAAIlB,UAAAA,KAAK,EAALA,KAAAA;AAAK,SAAA,EAAKE,KAAK,CAAKiB,EAAAA,YAAY,CAAChB,IAAI,CAAC,CAAG;AAClDL,QAAAA,IAAI,EAAEA,IAAAA;OACFK,EAAAA,IAAI,CAEPT,EAAAA,QACC,CAAC,CAAA;AAEf,KAAC,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA;;;;"}
@@ -1,4 +1,4 @@
1
- import './Typography.styles_6mr47g.css';
1
+ import './Typography.styles_fa07dt.css';
2
2
  var base = "b1ru04lg";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.styles.js","sources":["../../../src/components/Typography/Typography.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { applyHyphens, applyHyphensNormal } from '../../mixins';\n\nimport { classes, tokens } from './tokens';\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(classes.typoBold)} {\n font-weight: var(${tokens.typoFontWeightBold});\n }\n\n ${String(applyHyphensNormal)};\n\n &.${String(classes.typoWithBreakWord)} {\n ${String(applyHyphens)};\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GAiBhB;;;;"}
1
+ {"version":3,"file":"Typography.styles.js","sources":["../../../src/components/Typography/Typography.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { applyHyphens, applyHyphensNormal } from '../../mixins';\n\nimport { classes, tokens } from './tokens';\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.typoBold} {\n font-weight: var(${tokens.typoFontWeightBold});\n }\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphensNormal};\n\n &.${classes.typoWithBreakWord} {\n ${applyHyphens};\n }\n`;\n"],"names":["base"],"mappings":"AAMO,IAAMA,IAAI,GAqBhB;;;;"}
@@ -1 +1 @@
1
- .b1ru04lg{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;}.b1ru04lg.typography-bold{font-weight:var(--typo-font-weight-bold);}.b1ru04lg.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
1
+ .b1ru04lg{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;}.b1ru04lg.typography-bold{font-weight:var(--typo-font-weight-bold);}.b1ru04lg.with-no-wrap{white-space:nowrap;}.b1ru04lg.with-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -1,4 +1,5 @@
1
1
  var classes = {
2
+ typoWithNoWrap: 'with-no-wrap',
2
3
  typoWithBreakWord: 'with-break-word',
3
4
  typoBold: 'typography-bold'
4
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sources":["../../../src/components/Typography/tokens.ts"],"sourcesContent":["export const classes = {\n typoWithBreakWord: 'with-break-word',\n typoBold: 'typography-bold',\n};\n\nexport const tokens = {\n typoFontFamily: '--typo-font-family',\n typoFontSize: '--typo-font-size',\n typoFontStyle: '--typo-font-style',\n typoFontWeight: '--typo-font-weight',\n typoFontWeightBold: '--typo-font-weight-bold',\n typoFontLetterSpacing: '--typo-font-letter-spacing',\n typoFontLineHeight: '--typo-font-line-height',\n};\n"],"names":["classes","typoWithBreakWord","typoBold","tokens","typoFontFamily","typoFontSize","typoFontStyle","typoFontWeight","typoFontWeightBold","typoFontLetterSpacing","typoFontLineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,iBAAiB,EAAE,iBAAiB;AACpCC,EAAAA,QAAQ,EAAE,iBAAA;AACd,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,YAAY,EAAE,kBAAkB;AAChCC,EAAAA,aAAa,EAAE,mBAAmB;AAClCC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,kBAAkB,EAAE,yBAAyB;AAC7CC,EAAAA,qBAAqB,EAAE,4BAA4B;AACnDC,EAAAA,kBAAkB,EAAE,yBAAA;AACxB;;;;"}
1
+ {"version":3,"file":"tokens.js","sources":["../../../src/components/Typography/tokens.ts"],"sourcesContent":["export const classes = {\n typoWithNoWrap: 'with-no-wrap',\n typoWithBreakWord: 'with-break-word',\n typoBold: 'typography-bold',\n};\n\nexport const tokens = {\n typoFontFamily: '--typo-font-family',\n typoFontSize: '--typo-font-size',\n typoFontStyle: '--typo-font-style',\n typoFontWeight: '--typo-font-weight',\n typoFontWeightBold: '--typo-font-weight-bold',\n typoFontLetterSpacing: '--typo-font-letter-spacing',\n typoFontLineHeight: '--typo-font-line-height',\n};\n"],"names":["classes","typoWithNoWrap","typoWithBreakWord","typoBold","tokens","typoFontFamily","typoFontSize","typoFontStyle","typoFontWeight","typoFontWeightBold","typoFontLetterSpacing","typoFontLineHeight"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,cAAc,EAAE,cAAc;AAC9BC,EAAAA,iBAAiB,EAAE,iBAAiB;AACpCC,EAAAA,QAAQ,EAAE,iBAAA;AACd,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,YAAY,EAAE,kBAAkB;AAChCC,EAAAA,aAAa,EAAE,mBAAmB;AAClCC,EAAAA,cAAc,EAAE,oBAAoB;AACpCC,EAAAA,kBAAkB,EAAE,yBAAyB;AAC7CC,EAAAA,qBAAqB,EAAE,4BAA4B;AACnDC,EAAAA,kBAAkB,EAAE,yBAAA;AACxB;;;;"}
package/es/index.css CHANGED
@@ -322,15 +322,15 @@
322
322
  .CalendarDouble_styles_e9ada0_s1y1gz42__d395f1d3{background-color:var(--plasma-calendar-separator-background);min-width:0.063rem;margin:0.5rem 1rem 0 1rem;}
323
323
  .CalendarDouble_styles_e9ada0_s7fv2hn__d395f1d3{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}
324
324
 
325
- .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;}
325
+ .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;}
326
326
 
327
- .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;}
327
+ .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;}
328
328
 
329
- .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;}
329
+ .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;}
330
330
 
331
- .Underline_styles_vsz834_b1uxesuf__4f8f4d9b{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_vsz834_b1uxesuf__4f8f4d9b.Underline_styles_vsz834_withBreakWord__4f8f4d9b{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
331
+ .Underline_styles_1x2vb5e_b1uxesuf__34404c4e{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);text-transform:uppercase;overflow-wrap:normal;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withNoWrap__34404c4e{white-space:nowrap;}.Underline_styles_1x2vb5e_b1uxesuf__34404c4e.Underline_styles_1x2vb5e_withBreakWord__34404c4e{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
332
332
 
333
- .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;}
333
+ .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;}
334
334
 
335
335
 
336
336
  .Popup_styles_gq4luz_s1cjo3us__bb610b96{width:0;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.197.1-canary.1569.11973386056.0",
3
+ "version": "0.198.0-canary.1588.11975454374.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -129,5 +129,5 @@
129
129
  "sideEffects": [
130
130
  "*.css"
131
131
  ],
132
- "gitHead": "b343371b714512c0504fbc242ae1742cf06eee50"
132
+ "gitHead": "0772da1d6df20a8b9b664db5f9427952bf207188"
133
133
  }
@@ -24,7 +24,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
24
24
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
25
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
26
26
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
27
- var editableRoot = exports.editableRoot = function editableRoot(typograpyVariants) {
27
+ var editableRoot = exports.editableRoot = function editableRoot(typographyVariants) {
28
28
  return function (Root) {
29
29
  return /*#__PURE__*/(0, _react.forwardRef)(function (_ref, outerRef) {
30
30
  var _prevValueRef$current;
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _tokens = /*#__PURE__*/require("../../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");margin:0;", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, /*#__PURE__*/String(_mixins.applyHyphensNormal), /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), /*#__PURE__*/String(_mixins.applyHyphens));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
@@ -8,8 +8,10 @@ exports.subtitleRoot = exports.subtitleConfig = void 0;
8
8
  var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
9
  var _applySpacing = /*#__PURE__*/require("../../../../mixins/applySpacing");
10
10
  var _base = /*#__PURE__*/require("../../variations/_size/base");
11
+ var _tokens = /*#__PURE__*/require("../../tokens");
12
+ var _utils = /*#__PURE__*/require("../../../../utils");
11
13
  var _Subtitle = /*#__PURE__*/require("./Subtitle.styles");
12
- var _excluded = ["size", "children", "color", "style"];
14
+ var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
13
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
17
  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); }
@@ -25,11 +27,15 @@ var subtitleRoot = exports.subtitleRoot = function subtitleRoot(Root) {
25
27
  var size = props.size,
26
28
  children = props.children,
27
29
  color = props.color,
30
+ noWrap = props.noWrap,
31
+ className = props.className,
28
32
  style = props.style,
29
33
  rest = _objectWithoutProperties(props, _excluded);
34
+ var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
30
35
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
31
36
  size: size,
32
37
  ref: ref,
38
+ className: (0, _utils.cx)(withNoWrap, className),
33
39
  style: _objectSpread(_objectSpread({
34
40
  color: color
35
41
  }, style), (0, _applySpacing.applySpacing)(rest))
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _tokens = /*#__PURE__*/require("../../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, /*#__PURE__*/String(_mixins.applyHyphens));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphens);
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _applySpacing = /*#__PURE__*/require("../../../mixins/applySpacing");
10
10
  var _tokens = /*#__PURE__*/require("../tokens");
11
11
  var _utils = /*#__PURE__*/require("../../../utils");
12
- var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
@@ -25,15 +25,17 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
25
25
  var size = props.size,
26
26
  children = props.children,
27
27
  breakWord = props.breakWord,
28
+ noWrap = props.noWrap,
28
29
  color = props.color,
29
30
  className = props.className,
30
31
  style = props.style,
31
32
  rest = _objectWithoutProperties(props, _excluded);
33
+ var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
32
34
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
33
35
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
34
36
  size: size,
35
37
  ref: ref,
36
- className: (0, _utils.cx)(withBreakWord, className),
38
+ className: (0, _utils.cx)(withNoWrap, withBreakWord, className),
37
39
  style: _objectSpread(_objectSpread({
38
40
  color: color
39
41
  }, style), (0, _applySpacing.applySpacing)(rest))
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _tokens = /*#__PURE__*/require("../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, /*#__PURE__*/String(_mixins.applyHyphensNormal), /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), /*#__PURE__*/String(_mixins.applyHyphens));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{white-space:nowrap;}", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _tokens = /*#__PURE__*/require("../../tokens");
9
9
  var _mixins = /*#__PURE__*/require("../../../../mixins");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");text-transform:uppercase;", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, /*#__PURE__*/String(_mixins.applyHyphensNormal), /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), /*#__PURE__*/String(_mixins.applyHyphens));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.applyHyphens);
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _applySpacing = /*#__PURE__*/require("../../mixins/applySpacing");
10
10
  var _utils = /*#__PURE__*/require("../../utils");
11
11
  var _tokens = /*#__PURE__*/require("./tokens");
12
- var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  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); }
@@ -26,18 +26,20 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
26
26
  var size = props.size,
27
27
  children = props.children,
28
28
  breakWord = props.breakWord,
29
+ noWrap = props.noWrap,
29
30
  _props$bold = props.bold,
30
31
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
31
32
  color = props.color,
32
33
  className = props.className,
33
34
  style = props.style,
34
35
  rest = _objectWithoutProperties(props, _excluded);
36
+ var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
35
37
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
36
38
  var typographyBold = bold ? _tokens.classes.typoBold : undefined;
37
39
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
38
40
  size: size,
39
41
  ref: ref,
40
- className: (0, _utils.cx)(withBreakWord, typographyBold, className),
42
+ className: (0, _utils.cx)(withNoWrap, withBreakWord, typographyBold, className),
41
43
  style: _objectSpread(_objectSpread({
42
44
  color: color
43
45
  }, style), (0, _applySpacing.applySpacing)(rest)),
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _mixins = /*#__PURE__*/require("../../mixins");
9
9
  var _tokens = /*#__PURE__*/require("./tokens");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["font-family:var(", ");font-size:var(", ");font-style:var(", ");letter-spacing:var(", ");line-height:var(", ");font-weight:var(", ");&.", "{font-weight:var(", ");}", ";&.", "{", ";}"], _tokens.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, /*#__PURE__*/String(_tokens.classes.typoBold), _tokens.tokens.typoFontWeightBold, /*#__PURE__*/String(_mixins.applyHyphensNormal), /*#__PURE__*/String(_tokens.classes.typoWithBreakWord), /*#__PURE__*/String(_mixins.applyHyphens));
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.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.tokens.typoFontFamily, _tokens.tokens.typoFontSize, _tokens.tokens.typoFontStyle, _tokens.tokens.typoFontLetterSpacing, _tokens.tokens.typoFontLineHeight, _tokens.tokens.typoFontWeight, _tokens.classes.typoBold, _tokens.tokens.typoFontWeightBold, _tokens.classes.typoWithNoWrap, _mixins.applyHyphensNormal, _tokens.classes.typoWithBreakWord, _mixins.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
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tokens = exports.classes = void 0;
7
7
  var classes = exports.classes = {
8
+ typoWithNoWrap: 'with-no-wrap',
8
9
  typoWithBreakWord: 'with-break-word',
9
10
  typoBold: 'typography-bold'
10
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';
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.typographyVariants = exports.Editable = void 0;
7
7
  var _Editable = /*#__PURE__*/require("../../../../components/Editable");
8
8
  var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Body = /*#__PURE__*/require("../../../typograpy/components/Body/Body");
10
- var _Dspl = /*#__PURE__*/require("../../../typograpy/components/Dspl/Dspl");
11
- var _Heading = /*#__PURE__*/require("../../../typograpy/components/Heading/Heading");
12
- var _Text = /*#__PURE__*/require("../../../typograpy/components/Text/Text");
9
+ var _Body = /*#__PURE__*/require("../../../typography/components/Body/Body");
10
+ var _Dspl = /*#__PURE__*/require("../../../typography/components/Dspl/Dspl");
11
+ var _Heading = /*#__PURE__*/require("../../../typography/components/Heading/Heading");
12
+ var _Text = /*#__PURE__*/require("../../../typography/components/Text/Text");
13
13
  var _Editable2 = /*#__PURE__*/require("./Editable.config");
14
14
  var typographyVariants = exports.typographyVariants = {
15
15
  Body: _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';
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.typographyVariants = exports.Editable = void 0;
7
7
  var _Editable = /*#__PURE__*/require("../../../../components/Editable");
8
8
  var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Body = /*#__PURE__*/require("../../../typograpy/components/Body/Body");
10
- var _Dspl = /*#__PURE__*/require("../../../typograpy/components/Dspl/Dspl");
11
- var _Heading = /*#__PURE__*/require("../../../typograpy/components/Heading/Heading");
12
- var _Text = /*#__PURE__*/require("../../../typograpy/components/Text/Text");
9
+ var _Body = /*#__PURE__*/require("../../../typography/components/Body/Body");
10
+ var _Dspl = /*#__PURE__*/require("../../../typography/components/Dspl/Dspl");
11
+ var _Heading = /*#__PURE__*/require("../../../typography/components/Heading/Heading");
12
+ var _Text = /*#__PURE__*/require("../../../typography/components/Text/Text");
13
13
  var _Editable2 = /*#__PURE__*/require("./Editable.config");
14
14
  var typographyVariants = exports.typographyVariants = {
15
15
  Body: _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
  },