@salutejs/plasma-new-hope 0.197.0-canary.1588.11972699441.0 → 0.197.1-canary.1569.11973386056.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  2. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  3. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  4. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  5. package/cjs/components/Calendar/store/reducer.js +2 -2
  6. package/cjs/components/Calendar/store/reducer.js.map +1 -1
  7. package/cjs/components/Switch/Switch.css +2 -2
  8. package/cjs/components/Switch/Switch.tokens.js +9 -7
  9. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  10. package/cjs/components/Switch/_toggleSize/base.js +1 -1
  11. package/cjs/components/Switch/_toggleSize/base.js.map +1 -1
  12. package/cjs/components/Switch/_toggleSize/base_1e2ou53.css +1 -0
  13. package/cjs/components/Switch/_view/base.js +1 -1
  14. package/{es/components/Switch/_view/base_15atbyp.css → cjs/components/Switch/_view/base_qbpw2g.css} +1 -1
  15. package/cjs/components/Typography/Body/Body.css +1 -1
  16. package/cjs/components/Typography/Old/Button/Button.css +1 -1
  17. package/cjs/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  18. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  19. package/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  20. package/{es/components/Typography/Old/Paragraph/Paragraph.styles_f6q9s8.css → cjs/components/Typography/Old/Paragraph/Paragraph.styles_179bahu.css} +1 -1
  21. package/cjs/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  22. package/cjs/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  23. package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  24. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  25. package/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  26. package/{es/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css → cjs/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css} +1 -1
  27. package/cjs/components/Typography/Old/TypographyOld.js +2 -4
  28. package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
  29. package/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  30. package/cjs/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  31. package/cjs/components/Typography/Old/{TypographyOld.styles_168abbx.css → TypographyOld.styles_17w0rtq.css} +1 -1
  32. package/cjs/components/Typography/Old/Underline/Underline.css +1 -1
  33. package/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  34. package/cjs/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  35. package/cjs/components/Typography/Old/Underline/{Underline.styles_1x2vb5e.css → Underline.styles_vsz834.css} +1 -1
  36. package/cjs/components/Typography/Typography.js +2 -4
  37. package/cjs/components/Typography/Typography.js.map +1 -1
  38. package/cjs/components/Typography/Typography.styles.js +1 -1
  39. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  40. package/cjs/components/Typography/{Typography.styles_fa07dt.css → Typography.styles_6mr47g.css} +1 -1
  41. package/cjs/components/Typography/tokens.js +0 -1
  42. package/cjs/components/Typography/tokens.js.map +1 -1
  43. package/cjs/index.css +7 -7
  44. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  45. package/emotion/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  46. package/emotion/cjs/components/Calendar/store/reducer.js +2 -2
  47. package/emotion/cjs/components/Switch/Switch.tokens.js +9 -7
  48. package/emotion/cjs/components/Switch/_toggleSize/base.js +1 -1
  49. package/emotion/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  50. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  51. package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  52. package/emotion/cjs/components/Typography/Old/TypographyOld.js +2 -4
  53. package/emotion/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  54. package/emotion/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  55. package/emotion/cjs/components/Typography/Typography.js +2 -4
  56. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  57. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +0 -4
  58. package/emotion/cjs/components/Typography/tokens.js +0 -1
  59. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  60. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +8 -8
  61. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  62. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +8 -8
  63. package/emotion/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -9
  64. package/emotion/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -9
  65. package/emotion/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -9
  66. package/emotion/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -9
  67. package/emotion/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -9
  68. package/emotion/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -9
  69. package/emotion/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -9
  70. package/emotion/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -9
  71. package/emotion/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -9
  72. package/emotion/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -9
  73. package/emotion/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -11
  74. package/emotion/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -9
  75. package/emotion/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -9
  76. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  77. package/emotion/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  78. package/emotion/es/components/Calendar/store/reducer.js +2 -2
  79. package/emotion/es/components/Switch/Switch.tokens.js +9 -7
  80. package/emotion/es/components/Switch/_toggleSize/base.js +2 -2
  81. package/emotion/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  82. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  83. package/emotion/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  84. package/emotion/es/components/Typography/Old/TypographyOld.js +2 -4
  85. package/emotion/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  86. package/emotion/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  87. package/emotion/es/components/Typography/Typography.js +2 -4
  88. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  89. package/emotion/es/components/Typography/Typography.template-doc.mdx +0 -4
  90. package/emotion/es/components/Typography/tokens.js +0 -1
  91. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +8 -8
  92. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +8 -8
  93. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +8 -8
  94. package/emotion/es/examples/plasma_web/components/Switch/Switch.outline.config.js +8 -8
  95. package/emotion/es/examples/typograpy/components/Body/Body.stories.tsx +1 -9
  96. package/emotion/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -9
  97. package/emotion/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -9
  98. package/emotion/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -9
  99. package/emotion/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -9
  100. package/emotion/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -9
  101. package/emotion/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -9
  102. package/emotion/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -9
  103. package/emotion/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -9
  104. package/emotion/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -9
  105. package/emotion/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -11
  106. package/emotion/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -9
  107. package/emotion/es/examples/typograpy/components/Text/Text.stories.tsx +1 -9
  108. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  109. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  110. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  111. package/es/components/Calendar/CalendarDouble/CalendarDouble.js.map +1 -1
  112. package/es/components/Calendar/store/reducer.js +2 -2
  113. package/es/components/Calendar/store/reducer.js.map +1 -1
  114. package/es/components/Switch/Switch.css +2 -2
  115. package/es/components/Switch/Switch.tokens.js +9 -7
  116. package/es/components/Switch/Switch.tokens.js.map +1 -1
  117. package/es/components/Switch/_toggleSize/base.js +1 -1
  118. package/es/components/Switch/_toggleSize/base.js.map +1 -1
  119. package/es/components/Switch/_toggleSize/base_1e2ou53.css +1 -0
  120. package/es/components/Switch/_view/base.js +1 -1
  121. package/{cjs/components/Switch/_view/base_15atbyp.css → es/components/Switch/_view/base_qbpw2g.css} +1 -1
  122. package/es/components/Typography/Body/Body.css +1 -1
  123. package/es/components/Typography/Old/Button/Button.css +1 -1
  124. package/es/components/Typography/Old/Paragraph/Paragraph.css +1 -1
  125. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  126. package/es/components/Typography/Old/Paragraph/Paragraph.styles.js.map +1 -1
  127. package/{cjs/components/Typography/Old/Paragraph/Paragraph.styles_f6q9s8.css → es/components/Typography/Old/Paragraph/Paragraph.styles_179bahu.css} +1 -1
  128. package/es/components/Typography/Old/Subtitle/Subtitle.css +1 -1
  129. package/es/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  130. package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
  131. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  132. package/es/components/Typography/Old/Subtitle/Subtitle.styles.js.map +1 -1
  133. package/{cjs/components/Typography/Old/Subtitle/Subtitle.styles_g6d0r2.css → es/components/Typography/Old/Subtitle/Subtitle.styles_1plleej.css} +1 -1
  134. package/es/components/Typography/Old/TypographyOld.js +2 -4
  135. package/es/components/Typography/Old/TypographyOld.js.map +1 -1
  136. package/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  137. package/es/components/Typography/Old/TypographyOld.styles.js.map +1 -1
  138. package/es/components/Typography/Old/{TypographyOld.styles_168abbx.css → TypographyOld.styles_17w0rtq.css} +1 -1
  139. package/es/components/Typography/Old/Underline/Underline.css +1 -1
  140. package/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  141. package/es/components/Typography/Old/Underline/Underline.styles.js.map +1 -1
  142. package/es/components/Typography/Old/Underline/{Underline.styles_1x2vb5e.css → Underline.styles_vsz834.css} +1 -1
  143. package/es/components/Typography/Typography.js +2 -4
  144. package/es/components/Typography/Typography.js.map +1 -1
  145. package/es/components/Typography/Typography.styles.js +1 -1
  146. package/es/components/Typography/Typography.styles.js.map +1 -1
  147. package/es/components/Typography/{Typography.styles_fa07dt.css → Typography.styles_6mr47g.css} +1 -1
  148. package/es/components/Typography/tokens.js +0 -1
  149. package/es/components/Typography/tokens.js.map +1 -1
  150. package/es/index.css +7 -7
  151. package/package.json +2 -2
  152. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  153. package/styled-components/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  154. package/styled-components/cjs/components/Calendar/store/reducer.js +2 -2
  155. package/styled-components/cjs/components/Switch/Switch.tokens.js +9 -7
  156. package/styled-components/cjs/components/Switch/_toggleSize/base.js +1 -1
  157. package/styled-components/cjs/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  158. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  159. package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.styles.js +1 -1
  160. package/styled-components/cjs/components/Typography/Old/TypographyOld.js +2 -4
  161. package/styled-components/cjs/components/Typography/Old/TypographyOld.styles.js +1 -1
  162. package/styled-components/cjs/components/Typography/Old/Underline/Underline.styles.js +1 -1
  163. package/styled-components/cjs/components/Typography/Typography.js +2 -4
  164. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  165. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +0 -4
  166. package/styled-components/cjs/components/Typography/tokens.js +0 -1
  167. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +3 -3
  168. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.outline.config.js +3 -3
  169. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +3 -3
  170. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.outline.config.js +3 -3
  171. package/styled-components/cjs/examples/typograpy/components/Body/Body.stories.tsx +1 -9
  172. package/styled-components/cjs/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -9
  173. package/styled-components/cjs/examples/typograpy/components/Heading/Heading.stories.tsx +1 -9
  174. package/styled-components/cjs/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -9
  175. package/styled-components/cjs/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -9
  176. package/styled-components/cjs/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -9
  177. package/styled-components/cjs/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -9
  178. package/styled-components/cjs/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -9
  179. package/styled-components/cjs/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -9
  180. package/styled-components/cjs/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -9
  181. package/styled-components/cjs/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -11
  182. package/styled-components/cjs/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -9
  183. package/styled-components/cjs/examples/typograpy/components/Text/Text.stories.tsx +1 -9
  184. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -1
  185. package/styled-components/es/components/Calendar/CalendarDouble/CalendarDouble.js +1 -1
  186. package/styled-components/es/components/Calendar/store/reducer.js +2 -2
  187. package/styled-components/es/components/Switch/Switch.tokens.js +9 -7
  188. package/styled-components/es/components/Switch/_toggleSize/base.js +2 -2
  189. package/styled-components/es/components/Typography/Old/Paragraph/Paragraph.styles.js +1 -1
  190. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +1 -7
  191. package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.styles.js +2 -2
  192. package/styled-components/es/components/Typography/Old/TypographyOld.js +2 -4
  193. package/styled-components/es/components/Typography/Old/TypographyOld.styles.js +1 -1
  194. package/styled-components/es/components/Typography/Old/Underline/Underline.styles.js +1 -1
  195. package/styled-components/es/components/Typography/Typography.js +2 -4
  196. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  197. package/styled-components/es/components/Typography/Typography.template-doc.mdx +0 -4
  198. package/styled-components/es/components/Typography/tokens.js +0 -1
  199. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +3 -3
  200. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.outline.config.js +3 -3
  201. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +3 -3
  202. package/styled-components/es/examples/plasma_web/components/Switch/Switch.outline.config.js +3 -3
  203. package/styled-components/es/examples/typograpy/components/Body/Body.stories.tsx +1 -9
  204. package/styled-components/es/examples/typograpy/components/Dspl/Dspl.stories.tsx +1 -9
  205. package/styled-components/es/examples/typograpy/components/Heading/Heading.stories.tsx +1 -9
  206. package/styled-components/es/examples/typograpy/components/Old/Body/Body.stories.tsx +1 -9
  207. package/styled-components/es/examples/typograpy/components/Old/Button/Button.stories.tsx +1 -9
  208. package/styled-components/es/examples/typograpy/components/Old/Caption/Caption.stories.tsx +1 -9
  209. package/styled-components/es/examples/typograpy/components/Old/Display/Display.stories.tsx +1 -9
  210. package/styled-components/es/examples/typograpy/components/Old/Footnote/Footnote.stories.tsx +1 -9
  211. package/styled-components/es/examples/typograpy/components/Old/Headline/Headline.stories.tsx +1 -9
  212. package/styled-components/es/examples/typograpy/components/Old/Paragraph/Paragraph.stories.tsx +1 -9
  213. package/styled-components/es/examples/typograpy/components/Old/Subtitle/Subtitle.stories.tsx +1 -11
  214. package/styled-components/es/examples/typograpy/components/Old/Underline/Underline.stories.tsx +1 -9
  215. package/styled-components/es/examples/typograpy/components/Text/Text.stories.tsx +1 -9
  216. package/types/components/Calendar/store/reducer.d.ts +1 -1
  217. package/types/components/Calendar/store/reducer.d.ts.map +1 -1
  218. package/types/components/Switch/Switch.tokens.d.ts +4 -2
  219. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  220. package/types/components/Switch/_toggleSize/base.d.ts.map +1 -1
  221. package/types/components/Typography/Body/Body.d.ts +0 -2
  222. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  223. package/types/components/Typography/Dspl/Dspl.d.ts +0 -2
  224. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  225. package/types/components/Typography/Heading/Heading.d.ts +0 -2
  226. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  227. package/types/components/Typography/Old/Paragraph/Paragraph.styles.d.ts.map +1 -1
  228. package/types/components/Typography/Old/Subtitle/Subtitle.d.ts.map +1 -1
  229. package/types/components/Typography/Old/Subtitle/Subtitle.styles.d.ts.map +1 -1
  230. package/types/components/Typography/Old/TypographyOld.d.ts.map +1 -1
  231. package/types/components/Typography/Old/TypographyOld.styles.d.ts.map +1 -1
  232. package/types/components/Typography/Old/Underline/Underline.styles.d.ts.map +1 -1
  233. package/types/components/Typography/Text/Text.d.ts +0 -2
  234. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  235. package/types/components/Typography/Typography.d.ts +0 -1
  236. package/types/components/Typography/Typography.d.ts.map +1 -1
  237. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  238. package/types/components/Typography/Typography.types.d.ts +0 -1
  239. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  240. package/types/components/Typography/tokens.d.ts +0 -1
  241. package/types/components/Typography/tokens.d.ts.map +1 -1
  242. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts +0 -4
  243. package/types/examples/plasma_b2c/components/Editable/Editable.d.ts.map +1 -1
  244. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  245. package/types/examples/plasma_b2c/components/Switch/Switch.outline.config.d.ts.map +1 -1
  246. package/types/examples/plasma_web/components/Editable/Editable.d.ts +0 -4
  247. package/types/examples/plasma_web/components/Editable/Editable.d.ts.map +1 -1
  248. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  249. package/types/examples/plasma_web/components/Switch/Switch.outline.config.d.ts.map +1 -1
  250. package/types/examples/typograpy/components/Body/Body.d.ts +0 -1
  251. package/types/examples/typograpy/components/Body/Body.d.ts.map +1 -1
  252. package/types/examples/typograpy/components/Dspl/Dspl.d.ts +0 -1
  253. package/types/examples/typograpy/components/Dspl/Dspl.d.ts.map +1 -1
  254. package/types/examples/typograpy/components/Heading/Heading.d.ts +0 -1
  255. package/types/examples/typograpy/components/Heading/Heading.d.ts.map +1 -1
  256. package/types/examples/typograpy/components/Text/Text.d.ts +0 -1
  257. package/types/examples/typograpy/components/Text/Text.d.ts.map +1 -1
  258. package/cjs/components/Switch/_toggleSize/base_1d0b3t4.css +0 -1
  259. package/es/components/Switch/_toggleSize/base_1d0b3t4.css +0 -1
@@ -12,16 +12,8 @@ const meta: Meta<typeof Text> = {
12
12
  title: 'typography/Text',
13
13
  decorators: [WithTheme],
14
14
  component: Text,
15
- argTypes: {
16
- ...argTypesFromConfig(mergeConfig(textConfig, config)),
17
- color: {
18
- control: {
19
- type: 'color',
20
- },
21
- },
22
- },
15
+ argTypes: argTypesFromConfig(mergeConfig(textConfig, config)),
23
16
  args: {
24
- noWrap: false,
25
17
  breakWord: true,
26
18
  bold: false,
27
19
  },
@@ -63,7 +63,7 @@ export var calendarBaseRoot = function calendarBaseRoot(Root) {
63
63
  _useState8 = _slicedToArray(_useState7, 2),
64
64
  outOfRangeKey = _useState8[0],
65
65
  setOutOfRangeKey = _useState8[1];
66
- var _useReducer = useReducer(reducer, getInitialState(value, type)),
66
+ var _useReducer = useReducer(reducer, getInitialState(value, min, type)),
67
67
  _useReducer2 = _slicedToArray(_useReducer, 2),
68
68
  state = _useReducer2[0],
69
69
  dispatch = _useReducer2[1];
@@ -64,7 +64,7 @@ export var calendarDoubleRoot = function calendarDoubleRoot(Root) {
64
64
  _useState8 = _slicedToArray(_useState7, 2),
65
65
  outOfRangeKey = _useState8[0],
66
66
  setOutOfRangeKey = _useState8[1];
67
- var _useReducer = useReducer(reducer, getInitialState(value, type, true)),
67
+ var _useReducer = useReducer(reducer, getInitialState(value, min, type, true)),
68
68
  _useReducer2 = _slicedToArray(_useReducer, 2),
69
69
  state = _useReducer2[0],
70
70
  dispatch = _useReducer2[1];
@@ -30,8 +30,8 @@ export var sizeMap = {
30
30
  "double": [3, 1]
31
31
  }
32
32
  };
33
- export var getInitialState = function getInitialState(value, calendarState, isDouble) {
34
- var initDate = value || new Date();
33
+ export var getInitialState = function getInitialState(value, min, calendarState, isDouble) {
34
+ var initDate = value || min || new Date();
35
35
  var date = getDateFromValue(initDate);
36
36
  var resSize = isDouble ? sizeMap[calendarState]["double"] : sizeMap[calendarState].single;
37
37
  return {
@@ -23,11 +23,12 @@ export var tokens = {
23
23
  verticalGap: '--plasma-switch-vertical-gap',
24
24
  trackWidth: '--plasma-switch__track-width',
25
25
  trackHeight: '--plasma-switch__track-height',
26
- trackBorderWidth: '--plasma-switch__track-border',
27
- trackBorderColorOn: '--plasma-switch__track-checked_true-border-color',
28
- trackBorderColorOnHover: '--plasma-switch__track-checked_true_hovered_true-border-color',
29
- trackBorderColorOff: '--plasma-switch__track-checked_false-border-color',
30
- trackBorderColorOffHover: '--plasma-switch__track-checked_false_hovered_true-border-color',
26
+ trackBorderWidthOn: '--plasma-switch__track_checked_true-border-width',
27
+ trackBorderWidthOff: '--plasma-switch__track_checked_false-border-width',
28
+ trackBorderColorOn: '--plasma-switch__track_checked_true-border-color',
29
+ trackBorderColorOnHover: '--plasma-switch__track_checked_true_hovered_true-border-color',
30
+ trackBorderColorOff: '--plasma-switch__track_checked_false-border-color',
31
+ trackBorderColorOffHover: '--plasma-switch__track_checked_false_hovered_true-border-color',
31
32
  trackBorderRadius: '--plasma-switch__track-border-radius',
32
33
  // NOTE: could be intersection with checked
33
34
  trackBackgroundColorOn: '--plasma-switch__track_checked_true-bg-color',
@@ -36,11 +37,12 @@ export var tokens = {
36
37
  trackBackgroundColorOffHover: '--plasma-switch__track_checked_false_hovered_true-bg-color',
37
38
  trackFocusColor: '--plasma-switch__track-focus-color',
38
39
  thumbSize: '--plasma-switch__thumb-size',
39
- thumbOffset: '--plasma-switch__thumb-offset',
40
+ thumbOffsetOn: '--plasma-switch__thumb_checked_true-offset',
41
+ thumbOffsetOff: '--plasma-switch__thumb_checked_false-offset',
40
42
  thumbBorderRadius: '--plasma-switch__thumb-border-radius',
41
43
  thumbPressScale: '--plasma-switch__thumb-scale',
42
44
  thumbBackgroundColorOn: '--plasma-switch__thumb_checked_true-bg-color',
43
- thumbBackgroundColorOff: '--plasma-switch__thumb-checked_false-bg-color',
45
+ thumbBackgroundColorOff: '--plasma-switch__thumb_checked_false-bg-color',
44
46
  thumbBoxShadow: '--plasma-switch__thumb-box-shadow',
45
47
  thumbBoxShadowOn: '--plasma-switch__thumb-box-shadow_checked_true',
46
48
  labelOffsetPrivate: '--plasma_private-switch__label-offset'
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { tokens } from '../Switch.tokens';
3
- import { StyledTrigger } from '../Switch.styles';
4
- export var base = /*#__PURE__*/css(StyledTrigger, "{box-sizing:border-box;flex:0 0 var(", tokens.trackWidth, ");border-style:solid;border-width:var(", tokens.trackBorderWidth, ");border-radius:var(", tokens.trackBorderRadius, ");width:var(", tokens.trackWidth, ");height:var(", tokens.trackHeight, ");&::after{width:var(", tokens.thumbSize, ");height:var(", tokens.thumbSize, ");border-radius:var(", tokens.thumbBorderRadius, ");margin:auto var(", tokens.thumbOffset, ");}}:active:not([disabled]) ", StyledTrigger, "::after{width:calc(var(", tokens.thumbSize, ") * var(", tokens.thumbPressScale, ", 1));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL1N3aXRjaC50b2tlbnMnO1xuaW1wb3J0IHsgU3R5bGVkVHJpZ2dlciB9IGZyb20gJy4uL1N3aXRjaC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke1N0eWxlZFRyaWdnZXJ9IHtcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcbiAgICAgICAgZmxleDogMCAwIHZhcigke3Rva2Vucy50cmFja1dpZHRofSk7XG5cbiAgICAgICAgYm9yZGVyLXN0eWxlOiBzb2xpZDtcbiAgICAgICAgYm9yZGVyLXdpZHRoOiB2YXIoJHt0b2tlbnMudHJhY2tCb3JkZXJXaWR0aH0pO1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9KTtcblxuICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnRyYWNrV2lkdGh9KTtcbiAgICAgICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMudHJhY2tIZWlnaHR9KTtcblxuICAgICAgICAmOjphZnRlciB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pO1xuICAgICAgICAgICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMudGh1bWJTaXplfSk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudGh1bWJCb3JkZXJSYWRpdXN9KTtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0byB2YXIoJHt0b2tlbnMudGh1bWJPZmZzZXR9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIDphY3RpdmU6bm90KFtkaXNhYmxlZF0pICR7U3R5bGVkVHJpZ2dlcn06OmFmdGVyIHtcbiAgICAgICAgd2lkdGg6IGNhbGModmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pICogdmFyKCR7dG9rZW5zLnRodW1iUHJlc3NTY2FsZX0sIDEpKTtcbiAgICB9XG5gO1xuIl19 */"));
3
+ import { StyledInput, StyledTrigger } from '../Switch.styles';
4
+ export var base = /*#__PURE__*/css(StyledTrigger, "{box-sizing:border-box;flex:0 0 var(", tokens.trackWidth, ");border-style:solid;border-width:var(", tokens.trackBorderWidthOff, ");border-radius:var(", tokens.trackBorderRadius, ");width:var(", tokens.trackWidth, ");height:var(", tokens.trackHeight, ");&::after{width:var(", tokens.thumbSize, ");height:var(", tokens.thumbSize, ");border-radius:var(", tokens.thumbBorderRadius, ");margin:auto var(", tokens.thumbOffsetOff, ");}}", StyledInput, ":checked~", StyledTrigger, "{border-width:var(", tokens.trackBorderWidthOn, ", var(", tokens.trackBorderWidthOff, "));&::after{margin:auto var(", tokens.thumbOffsetOn, ");}}:active:not([disabled]) ", StyledTrigger, "::after{width:calc(var(", tokens.thumbSize, ") * var(", tokens.thumbPressScale, ", 1));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL1N3aXRjaC50b2tlbnMnO1xuaW1wb3J0IHsgU3R5bGVkSW5wdXQsIFN0eWxlZFRyaWdnZXIgfSBmcm9tICcuLi9Td2l0Y2guc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtTdHlsZWRUcmlnZ2VyfSB7XG4gICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgICAgIGZsZXg6IDAgMCB2YXIoJHt0b2tlbnMudHJhY2tXaWR0aH0pO1xuXG4gICAgICAgIGJvcmRlci1zdHlsZTogc29saWQ7XG4gICAgICAgIGJvcmRlci13aWR0aDogdmFyKCR7dG9rZW5zLnRyYWNrQm9yZGVyV2lkdGhPZmZ9KTtcbiAgICAgICAgYm9yZGVyLXJhZGl1czogdmFyKCR7dG9rZW5zLnRyYWNrQm9yZGVyUmFkaXVzfSk7XG5cbiAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy50cmFja1dpZHRofSk7XG4gICAgICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnRyYWNrSGVpZ2h0fSk7XG5cbiAgICAgICAgJjo6YWZ0ZXIge1xuICAgICAgICAgICAgd2lkdGg6IHZhcigke3Rva2Vucy50aHVtYlNpemV9KTtcbiAgICAgICAgICAgIGhlaWdodDogdmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pO1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogdmFyKCR7dG9rZW5zLnRodW1iQm9yZGVyUmFkaXVzfSk7XG4gICAgICAgICAgICBtYXJnaW46IGF1dG8gdmFyKCR7dG9rZW5zLnRodW1iT2Zmc2V0T2ZmfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAke1N0eWxlZElucHV0fTpjaGVja2VkIH4gJHtTdHlsZWRUcmlnZ2VyfSB7XG4gICAgICAgIGJvcmRlci13aWR0aDogdmFyKCR7dG9rZW5zLnRyYWNrQm9yZGVyV2lkdGhPbn0sIHZhcigke3Rva2Vucy50cmFja0JvcmRlcldpZHRoT2ZmfSkpO1xuXG4gICAgICAgICY6OmFmdGVyIHtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0byB2YXIoJHt0b2tlbnMudGh1bWJPZmZzZXRPbn0pO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgOmFjdGl2ZTpub3QoW2Rpc2FibGVkXSkgJHtTdHlsZWRUcmlnZ2VyfTo6YWZ0ZXIge1xuICAgICAgICB3aWR0aDogY2FsYyh2YXIoJHt0b2tlbnMudGh1bWJTaXplfSkgKiB2YXIoJHt0b2tlbnMudGh1bWJQcmVzc1NjYWxlfSwgMSkpO1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { classes, tokens } from '../../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");margin:0;&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG4gICAgbWFyZ2luOiAwO1xuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");margin:0;", /*#__PURE__*/String(applyHyphensNormal), ";&.", /*#__PURE__*/String(classes.typoWithBreakWord), "{", /*#__PURE__*/String(applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvUGFyYWdyYXBoL1BhcmFncmFwaC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG4gICAgbWFyZ2luOiAwO1xuXG4gICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zTm9ybWFsKX07XG5cbiAgICAmLiR7U3RyaW5nKGNsYXNzZXMudHlwb1dpdGhCcmVha1dvcmQpfSB7XG4gICAgICAgICR7U3RyaW5nKGFwcGx5SHlwaGVucyl9O1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
2
+ var _excluded = ["size", "children", "color", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -11,23 +11,17 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
11
11
  import React, { forwardRef } from 'react';
12
12
  import { applySpacing } from '../../../../mixins/applySpacing';
13
13
  import { base as sizeCSS } from '../../variations/_size/base';
14
- import { classes } from '../../tokens';
15
- import { cx } from '../../../../utils';
16
14
  import { base } from './Subtitle.styles';
17
15
  export var subtitleRoot = function subtitleRoot(Root) {
18
16
  return /*#__PURE__*/forwardRef(function (props, ref) {
19
17
  var size = props.size,
20
18
  children = props.children,
21
19
  color = props.color,
22
- noWrap = props.noWrap,
23
- className = props.className,
24
20
  style = props.style,
25
21
  rest = _objectWithoutProperties(props, _excluded);
26
- var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
27
22
  return /*#__PURE__*/React.createElement(Root, _extends({
28
23
  size: size,
29
24
  ref: ref,
30
- className: cx(withNoWrap, className),
31
25
  style: _objectSpread(_objectSpread({
32
26
  color: color
33
27
  }, style), applySpacing(rest))
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
- import { classes, tokens } from '../../tokens';
2
+ import { tokens } from '../../tokens';
3
3
  import { applyHyphens } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphens, ";;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvU3VidGl0bGUvU3VidGl0bGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1R5cG9ncmFwaHkvT2xkL1N1YnRpdGxlL1N1YnRpdGxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY2xhc3NlcywgdG9rZW5zIH0gZnJvbSAnLi4vLi4vdG9rZW5zJztcbmltcG9ydCB7IGFwcGx5SHlwaGVucyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aE5vV3JhcH0ge1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIH1cblxuICAgICR7YXBwbHlIeXBoZW5zfTtcbmA7XG4iXX0= */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");", /*#__PURE__*/String(applyHyphens), ";;label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvU3VidGl0bGUvU3VidGl0bGUuc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1R5cG9ncmFwaHkvT2xkL1N1YnRpdGxlL1N1YnRpdGxlLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vdG9rZW5zJztcbmltcG9ydCB7IGFwcGx5SHlwaGVucyB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnMpfTtcbmA7XG4iXX0= */"));
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
2
+ var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -17,17 +17,15 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
17
17
  var size = props.size,
18
18
  children = props.children,
19
19
  breakWord = props.breakWord,
20
- noWrap = props.noWrap,
21
20
  color = props.color,
22
21
  className = props.className,
23
22
  style = props.style,
24
23
  rest = _objectWithoutProperties(props, _excluded);
25
- var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
26
24
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
27
25
  return /*#__PURE__*/React.createElement(Root, _extends({
28
26
  size: size,
29
27
  ref: ref,
30
- className: cx(withNoWrap, withBreakWord, className),
28
+ className: cx(withBreakWord, className),
31
29
  style: _objectSpread(_objectSpread({
32
30
  color: color
33
31
  }, style), applySpacing(rest))
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { classes, tokens } from '../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../mixins';
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aE5vV3JhcH0ge1xuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgIH1cblxuICAgICR7YXBwbHlIeXBoZW5zTm9ybWFsfTtcblxuICAgICYuJHtjbGFzc2VzLnR5cG9XaXRoQnJlYWtXb3JkfSB7XG4gICAgICAgICR7YXBwbHlIeXBoZW5zfTtcbiAgICB9XG5gO1xuIl19 */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");", /*#__PURE__*/String(applyHyphensNormal), ";&.", /*#__PURE__*/String(classes.typoWithBreakWord), "{", /*#__PURE__*/String(applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVHlwb2dyYXBoeU9sZC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnNOb3JtYWwpfTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZCl9IHtcbiAgICAgICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zKX07XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { classes, tokens } from '../../tokens';
3
3
  import { applyHyphens, applyHyphensNormal } from '../../../../mixins';
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");text-transform:uppercase;&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");text-transform:uppercase;", /*#__PURE__*/String(applyHyphensNormal), ";&.", /*#__PURE__*/String(classes.typoWithBreakWord), "{", /*#__PURE__*/String(applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9PbGQvVW5kZXJsaW5lL1VuZGVybGluZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL3Rva2Vucyc7XG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uLy4uLy4uL21peGlucyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRGYW1pbHl9KTtcbiAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy50eXBvRm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRTdHlsZX0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRMZXR0ZXJTcGFjaW5nfSk7XG4gICAgbGluZS1oZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udExpbmVIZWlnaHR9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0fSk7XG5cbiAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuXG4gICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zTm9ybWFsKX07XG5cbiAgICAmLiR7U3RyaW5nKGNsYXNzZXMudHlwb1dpdGhCcmVha1dvcmQpfSB7XG4gICAgICAgICR7U3RyaW5nKGFwcGx5SHlwaGVucyl9O1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "color", "className", "style"];
2
+ var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -18,20 +18,18 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
18
18
  var size = props.size,
19
19
  children = props.children,
20
20
  breakWord = props.breakWord,
21
- noWrap = props.noWrap,
22
21
  _props$bold = props.bold,
23
22
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
24
23
  color = props.color,
25
24
  className = props.className,
26
25
  style = props.style,
27
26
  rest = _objectWithoutProperties(props, _excluded);
28
- var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
29
27
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
30
28
  var typographyBold = bold ? classes.typoBold : undefined;
31
29
  return /*#__PURE__*/React.createElement(Root, _extends({
32
30
  size: size,
33
31
  ref: ref,
34
- className: cx(withNoWrap, withBreakWord, typographyBold, className),
32
+ className: cx(withBreakWord, typographyBold, className),
35
33
  style: _objectSpread(_objectSpread({
36
34
  color: color
37
35
  }, style), applySpacing(rest)),
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { applyHyphens, applyHyphensNormal } from '../../mixins';
3
3
  import { classes, tokens } from './tokens';
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", classes.typoBold, "{font-weight:var(", tokens.typoFontWeightBold, ");}&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UeXBvZ3JhcGh5L1R5cG9ncmFwaHkuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy50eXBvRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnR5cG9Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy50eXBvRm9udFN0eWxlfSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9KTtcblxuICAgICYuJHtjbGFzc2VzLnR5cG9Cb2xkfSB7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHRCb2xkfSk7XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", /*#__PURE__*/String(classes.typoBold), "{font-weight:var(", tokens.typoFontWeightBold, ");}", /*#__PURE__*/String(applyHyphensNormal), ";&.", /*#__PURE__*/String(classes.typoWithBreakWord), "{", /*#__PURE__*/String(applyHyphens), ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UeXBvZ3JhcGh5L1R5cG9ncmFwaHkuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBhcHBseUh5cGhlbnMsIGFwcGx5SHlwaGVuc05vcm1hbCB9IGZyb20gJy4uLy4uL21peGlucyc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4vdG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy50eXBvRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnR5cG9Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy50eXBvRm9udFN0eWxlfSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy50eXBvRm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250TGluZUhlaWdodH0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMudHlwb0ZvbnRXZWlnaHR9KTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvQm9sZCl9IHtcbiAgICAgICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy50eXBvRm9udFdlaWdodEJvbGR9KTtcbiAgICB9XG5cbiAgICAke1N0cmluZyhhcHBseUh5cGhlbnNOb3JtYWwpfTtcblxuICAgICYuJHtTdHJpbmcoY2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZCl9IHtcbiAgICAgICAgJHtTdHJpbmcoYXBwbHlIeXBoZW5zKX07XG4gICAgfVxuYDtcbiJdfQ== */"));
@@ -19,10 +19,6 @@ title: Typography
19
19
  По умолчанию в типографике слова переносятся по слогам.
20
20
  Чтобы отключить данный функционал, необходимо установить свойство `breakWord` в значении `false`.
21
21
 
22
- ## Пробелы
23
- По умолчанию в типографике если текст превышает ширину элемента, то слова будут переноситься по пробелам.
24
- Чтобы запретить перенос по пробелам, необходимо установить свойство `noWrap` в значении `true`.
25
-
26
22
  ## Состав
27
23
 
28
24
  ### Hero unit
@@ -1,5 +1,4 @@
1
1
  export var classes = {
2
- typoWithNoWrap: 'with-no-wrap',
3
2
  typoWithBreakWord: 'with-break-word',
4
3
  typoBold: 'typography-bold'
5
4
  };