@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
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\nimport { classes } from '../../tokens';\nimport { cx } from '../../../../utils';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, noWrap, className, style, ...rest } = props;\n\n const withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withNoWrap, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","noWrap","className","style","rest","_objectWithoutProperties","_excluded","withNoWrap","classes","typoWithNoWrap","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;;;IAaaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAyDF,KAAK,CAAlEE,IAAI;MAAEC,QAAQ,GAA+CH,KAAK,CAA5DG,QAAQ;MAAEC,KAAK,GAAwCJ,KAAK,CAAlDI,KAAK;MAAEC,MAAM,GAAgCL,KAAK,CAA3CK,MAAM;MAAEC,SAAS,GAAqBN,KAAK,CAAnCM,SAAS;MAAEC,KAAK,GAAcP,KAAK,CAAxBO,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKT,KAAK,EAAAU,SAAA,CAAA,CAAA;IAE1E,IAAMC,UAAU,GAAGN,MAAM,GAAGO,OAAO,CAACC,cAAc,GAAGC,SAAS,CAAA;AAE9D,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,UAAU,EAAEL,SAAS,CAAE;MACrCC,KAAK,EAAAY,cAAA,CAAAA,cAAA,CAAA;AAAIf,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKG,KAAK,CAAA,EAAKa,YAAY,CAACZ,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPL,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMkB,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE3B,YAAY;AACpB4B,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRxB,IAAAA,IAAI,EAAE;AACFyB,MAAAA,GAAG,EAAEC,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN3B,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ color, ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAsCF,KAAK,CAA/CE,IAAI;MAAEC,QAAQ,GAA4BH,KAAK,CAAzCG,QAAQ;MAAEC,KAAK,GAAqBJ,KAAK,CAA/BI,KAAK;MAAEC,KAAK,GAAcL,KAAK,CAAxBK,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKP,KAAK,EAAAQ,SAAA,CAAA,CAAA;AAEvD,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACZ,IAAI,EAAAa,QAAA,CAAA;AAACT,MAAAA,IAAI,EAAEA,IAAK;AAACD,MAAAA,GAAG,EAAEA,GAAI;MAACI,KAAK,EAAAO,cAAA,CAAAA,cAAA,CAAA;AAAIR,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKC,KAAK,CAAA,EAAKQ,YAAY,CAACP,IAAI,CAAC,CAAA;KAAQA,EAAAA,IAAI,CAClFH,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMW,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpB,YAAY;AACpBqB,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRjB,IAAAA,IAAI,EAAE;AACFkB,MAAAA,GAAG,EAAEC,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './Subtitle.styles_g6d0r2.css';
1
+ import './Subtitle.styles_1plleej.css';
2
2
  var base = "b810c19";
3
3
 
4
4
  export { base };
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle.styles.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../tokens';\nimport { applyHyphens } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n &.${classes.typoWithNoWrap} {\n white-space: nowrap;\n }\n\n ${applyHyphens};\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAahB;;;;"}
1
+ {"version":3,"file":"Subtitle.styles.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../tokens';\nimport { applyHyphens } from '../../../../mixins';\n\nexport const base = css`\n font-family: var(${tokens.typoFontFamily});\n font-size: var(${tokens.typoFontSize});\n font-style: var(${tokens.typoFontStyle});\n letter-spacing: var(${tokens.typoFontLetterSpacing});\n line-height: var(${tokens.typoFontLineHeight});\n font-weight: var(${tokens.typoFontWeight});\n\n ${String(applyHyphens)};\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAShB;;;;"}
@@ -1 +1 @@
1
- .b810c19{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}.b810c19.with-no-wrap{white-space:nowrap;}
1
+ .b810c19{font-family:var(--typo-font-family);font-size:var(--typo-font-size);font-style:var(--typo-font-style);-webkit-letter-spacing:var(--typo-font-letter-spacing);-moz-letter-spacing:var(--typo-font-letter-spacing);-ms-letter-spacing:var(--typo-font-letter-spacing);letter-spacing:var(--typo-font-letter-spacing);line-height:var(--typo-font-line-height);font-weight:var(--typo-font-weight);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -4,23 +4,21 @@ import { applySpacing } from '../../../mixins/applySpacing.js';
4
4
  import { classes } from '../tokens.js';
5
5
  import { cx } from '../../../utils/index.js';
6
6
 
7
- var _excluded = ["size", "children", "breakWord", "noWrap", "color", "className", "style"];
7
+ var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
8
8
  var typographyOldRoot = function typographyOldRoot(Root) {
9
9
  return /*#__PURE__*/forwardRef(function (props, ref) {
10
10
  var size = props.size,
11
11
  children = props.children,
12
12
  breakWord = props.breakWord,
13
- noWrap = props.noWrap,
14
13
  color = props.color,
15
14
  className = props.className,
16
15
  style = props.style,
17
16
  rest = _objectWithoutProperties(props, _excluded);
18
- var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
19
17
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
20
18
  return /*#__PURE__*/React.createElement(Root, _extends({
21
19
  size: size,
22
20
  ref: ref,
23
- className: cx(withNoWrap, withBreakWord, className),
21
+ className: cx(withBreakWord, className),
24
22
  style: _objectSpread2(_objectSpread2({
25
23
  color: color
26
24
  }, style), applySpacing(rest))
@@ -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, 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
+ {"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,4 +1,4 @@
1
- import './TypographyOld.styles_168abbx.css';
1
+ import './TypographyOld.styles_17w0rtq.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 &.${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
+ {"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 +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-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
+ .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 +1 @@
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
+ .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,4 +1,4 @@
1
- import './Underline.styles_1x2vb5e.css';
1
+ import './Underline.styles_vsz834.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 &.${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
+ {"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 +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-no-wrap{white-space:nowrap;}.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-break-word{overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
@@ -4,27 +4,25 @@ 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", "noWrap", "bold", "color", "className", "style"];
7
+ var _excluded = ["size", "children", "breakWord", "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,
15
14
  _props$bold = props.bold,
16
15
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
17
16
  color = props.color,
18
17
  className = props.className,
19
18
  style = props.style,
20
19
  rest = _objectWithoutProperties(props, _excluded);
21
- var withNoWrap = noWrap ? classes.typoWithNoWrap : undefined;
22
20
  var withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;
23
21
  var typographyBold = bold ? classes.typoBold : undefined;
24
22
  return /*#__PURE__*/React.createElement(Root, _extends({
25
23
  size: size,
26
24
  ref: ref,
27
- className: cx(withNoWrap, withBreakWord, typographyBold, className),
25
+ className: cx(withBreakWord, typographyBold, className),
28
26
  style: _objectSpread2(_objectSpread2({
29
27
  color: color
30
28
  }, 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 {\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
+ {"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,4 +1,4 @@
1
- import './Typography.styles_fa07dt.css';
1
+ import './Typography.styles_6mr47g.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 &.${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
+ {"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 +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-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
+ .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,5 +1,4 @@
1
1
  var classes = {
2
- typoWithNoWrap: 'with-no-wrap',
3
2
  typoWithBreakWord: 'with-break-word',
4
3
  typoBold: 'typography-bold'
5
4
  };
@@ -1 +1 @@
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;;;;"}
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;;;;"}
package/es/index.css CHANGED
@@ -216,9 +216,9 @@
216
216
 
217
217
  .base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_s10fscgc__e2c572a3{font-family:var(--plasma-switch-font-family);font-style:var(--plasma-switch-font-style);font-weight:var(--plasma-switch-font-weight);-webkit-letter-spacing:var(--plasma-switch-letter-spacing);-moz-letter-spacing:var(--plasma-switch-letter-spacing);-ms-letter-spacing:var(--plasma-switch-letter-spacing);letter-spacing:var(--plasma-switch-letter-spacing);line-height:var(--plasma-switch-line-height);font-size:var(--plasma-switch-font-size);}.base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_sdjnckq__e2c572a3{font-family:var(--plasma-switch-description-font-family);font-style:var(--plasma-switch-description-font-style);font-weight:var(--plasma-switch-description-font-weight);-webkit-letter-spacing:var(--plasma-switch-description-letter-spacing);-moz-letter-spacing:var(--plasma-switch-description-letter-spacing);-ms-letter-spacing:var(--plasma-switch-description-letter-spacing);letter-spacing:var(--plasma-switch-description-letter-spacing);line-height:var(--plasma-switch-description-line-height);font-size:var(--plasma-switch-description-font-size);}.base_1tcl212_bm1v11h__e2c572a3 .base_1tcl212_s1ilr5eq__e2c572a3{margin:var(--plasma_private-switch__label-offset,0);}
218
218
 
219
- .base_1d0b3t4_b1wld3h3__ac2a0bcf .base_1d0b3t4_s2cs3kf__ac2a0bcf{box-sizing:border-box;-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);border-style:solid;border-width:var(--plasma-switch__track-border);border-radius:var(--plasma-switch__track-border-radius);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);}.base_1d0b3t4_b1wld3h3__ac2a0bcf .base_1d0b3t4_s2cs3kf__ac2a0bcf::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.base_1d0b3t4_b1wld3h3__ac2a0bcf:active:not([disabled]) .base_1d0b3t4_s2cs3kf__ac2a0bcf::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
219
+ .base_1e2ou53_b1wld3h3__301e5c69 .base_1e2ou53_s2cs3kf__301e5c69{box-sizing:border-box;-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);border-style:solid;border-width:var(--plasma-switch__track_checked_false-border-width);border-radius:var(--plasma-switch__track-border-radius);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);}.base_1e2ou53_b1wld3h3__301e5c69 .base_1e2ou53_s2cs3kf__301e5c69::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb_checked_false-offset);}.base_1e2ou53_b1wld3h3__301e5c69 .base_1e2ou53_ssthlx1__301e5c69:checked ~ .base_1e2ou53_s2cs3kf__301e5c69{border-width:var(--plasma-switch__track_checked_true-border-width,var(--plasma-switch__track_checked_false-border-width));}.base_1e2ou53_b1wld3h3__301e5c69 .base_1e2ou53_ssthlx1__301e5c69:checked ~ .base_1e2ou53_s2cs3kf__301e5c69::after{margin:auto var(--plasma-switch__thumb_checked_true-offset);}.base_1e2ou53_b1wld3h3__301e5c69:active:not([disabled]) .base_1e2ou53_s2cs3kf__301e5c69::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
220
220
 
221
- .base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s2cs3kf__64acd499{background-color:var(--plasma-switch__track_checked_false-bg-color);border-color:var(--plasma-switch__track-checked_false-border-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:not([disabled]) ~ .base_15atbyp_s2cs3kf__64acd499:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));border-color:var(--plasma-switch__track-checked_false_hovered_true-border-color,var(--plasma-switch__track-checked_false-border-color));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked ~ .base_15atbyp_s2cs3kf__64acd499{background-color:var(--plasma-switch__track_checked_true-bg-color);border-color:var(--plasma-switch__track-checked_true-border-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked:not([disabled]) ~ .base_15atbyp_s2cs3kf__64acd499:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));border-color:var(--plasma-switch__track-checked_true_hovered_true-border-color,var(--plasma-switch__track-checked_true-border-color));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s2cs3kf__64acd499::after{background-color:var(--plasma-switch__thumb-checked_false-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_ssthlx1__64acd499:checked ~ .base_15atbyp_s2cs3kf__64acd499::after{background-color:var(--plasma-switch__thumb_checked_true-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_s1ilr5eq__64acd499{color:var(--plasma-switch__label-color);}.base_15atbyp_b1g0jmh3__64acd499 .base_15atbyp_sdjnckq__64acd499{color:var(--plasma-switch__description-color);}
221
+ .base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_s2cs3kf__f31e8aee{background-color:var(--plasma-switch__track_checked_false-bg-color);border-color:var(--plasma-switch__track_checked_false-border-color);}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_ssthlx1__f31e8aee:not([disabled]) ~ .base_qbpw2g_s2cs3kf__f31e8aee:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));border-color:var(--plasma-switch__track_checked_false_hovered_true-border-color,var(--plasma-switch__track_checked_false-border-color));}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_ssthlx1__f31e8aee:checked ~ .base_qbpw2g_s2cs3kf__f31e8aee{background-color:var(--plasma-switch__track_checked_true-bg-color);border-color:var(--plasma-switch__track_checked_true-border-color);}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_ssthlx1__f31e8aee:checked:not([disabled]) ~ .base_qbpw2g_s2cs3kf__f31e8aee:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));border-color:var(--plasma-switch__track_checked_true_hovered_true-border-color,var(--plasma-switch__track_checked_true-border-color));}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_s2cs3kf__f31e8aee::after{background-color:var(--plasma-switch__thumb_checked_false-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_ssthlx1__f31e8aee:checked ~ .base_qbpw2g_s2cs3kf__f31e8aee::after{background-color:var(--plasma-switch__thumb_checked_true-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_s1ilr5eq__f31e8aee{color:var(--plasma-switch__label-color);}.base_qbpw2g_b1g0jmh3__f31e8aee .base_qbpw2g_sdjnckq__f31e8aee{color:var(--plasma-switch__description-color);}
222
222
 
223
223
  .base_sz3n0x_bvwxj2r__a36bed54 .base_sz3n0x_s2cs3kf__a36bed54::before{content:'';position:absolute;inset:-0.125rem;display:block;box-sizing:content-box;border-radius:calc(0.125rem + var(--plasma-switch__track-border-radius));border:0.125rem solid transparent;pointer-events:none;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;}.base_sz3n0x_bvwxj2r__a36bed54 .base_sz3n0x_ssthlx1__a36bed54.base_sz3n0x_focusVisible__a36bed54 ~ .base_sz3n0x_s2cs3kf__a36bed54::before{box-shadow:0 0 0 0.125rem var(--plasma-switch__track-focus-color);}
224
224
 
@@ -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_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;}
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;}
326
326
 
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;}
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;}
328
328
 
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;}
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;}
330
330
 
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;}
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;}
332
332
 
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;}
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;}
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.0-canary.1588.11972699441.0",
3
+ "version": "0.197.1-canary.1569.11973386056.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": "52a41c4c63e00f5a030bee026767af7c4c5dcff6"
132
+ "gitHead": "b343371b714512c0504fbc242ae1742cf06eee50"
133
133
  }
@@ -72,7 +72,7 @@ var calendarBaseRoot = exports.calendarBaseRoot = function calendarBaseRoot(Root
72
72
  _useState8 = _slicedToArray(_useState7, 2),
73
73
  outOfRangeKey = _useState8[0],
74
74
  setOutOfRangeKey = _useState8[1];
75
- var _useReducer = (0, _react.useReducer)(_reducer.reducer, (0, _reducer.getInitialState)(value, type)),
75
+ var _useReducer = (0, _react.useReducer)(_reducer.reducer, (0, _reducer.getInitialState)(value, min, type)),
76
76
  _useReducer2 = _slicedToArray(_useReducer, 2),
77
77
  state = _useReducer2[0],
78
78
  dispatch = _useReducer2[1];
@@ -73,7 +73,7 @@ var calendarDoubleRoot = exports.calendarDoubleRoot = function calendarDoubleRoo
73
73
  _useState8 = _slicedToArray(_useState7, 2),
74
74
  outOfRangeKey = _useState8[0],
75
75
  setOutOfRangeKey = _useState8[1];
76
- var _useReducer = (0, _react.useReducer)(_reducer.reducer, (0, _reducer.getInitialState)(value, type, true)),
76
+ var _useReducer = (0, _react.useReducer)(_reducer.reducer, (0, _reducer.getInitialState)(value, min, type, true)),
77
77
  _useReducer2 = _slicedToArray(_useReducer, 2),
78
78
  state = _useReducer2[0],
79
79
  dispatch = _useReducer2[1];
@@ -36,8 +36,8 @@ var sizeMap = exports.sizeMap = {
36
36
  "double": [3, 1]
37
37
  }
38
38
  };
39
- var getInitialState = exports.getInitialState = function getInitialState(value, calendarState, isDouble) {
40
- var initDate = value || new Date();
39
+ var getInitialState = exports.getInitialState = function getInitialState(value, min, calendarState, isDouble) {
40
+ var initDate = value || min || new Date();
41
41
  var date = (0, _utils.getDateFromValue)(initDate);
42
42
  var resSize = isDouble ? sizeMap[calendarState]["double"] : sizeMap[calendarState].single;
43
43
  return {
@@ -29,11 +29,12 @@ var tokens = exports.tokens = {
29
29
  verticalGap: '--plasma-switch-vertical-gap',
30
30
  trackWidth: '--plasma-switch__track-width',
31
31
  trackHeight: '--plasma-switch__track-height',
32
- trackBorderWidth: '--plasma-switch__track-border',
33
- trackBorderColorOn: '--plasma-switch__track-checked_true-border-color',
34
- trackBorderColorOnHover: '--plasma-switch__track-checked_true_hovered_true-border-color',
35
- trackBorderColorOff: '--plasma-switch__track-checked_false-border-color',
36
- trackBorderColorOffHover: '--plasma-switch__track-checked_false_hovered_true-border-color',
32
+ trackBorderWidthOn: '--plasma-switch__track_checked_true-border-width',
33
+ trackBorderWidthOff: '--plasma-switch__track_checked_false-border-width',
34
+ trackBorderColorOn: '--plasma-switch__track_checked_true-border-color',
35
+ trackBorderColorOnHover: '--plasma-switch__track_checked_true_hovered_true-border-color',
36
+ trackBorderColorOff: '--plasma-switch__track_checked_false-border-color',
37
+ trackBorderColorOffHover: '--plasma-switch__track_checked_false_hovered_true-border-color',
37
38
  trackBorderRadius: '--plasma-switch__track-border-radius',
38
39
  // NOTE: could be intersection with checked
39
40
  trackBackgroundColorOn: '--plasma-switch__track_checked_true-bg-color',
@@ -42,11 +43,12 @@ var tokens = exports.tokens = {
42
43
  trackBackgroundColorOffHover: '--plasma-switch__track_checked_false_hovered_true-bg-color',
43
44
  trackFocusColor: '--plasma-switch__track-focus-color',
44
45
  thumbSize: '--plasma-switch__thumb-size',
45
- thumbOffset: '--plasma-switch__thumb-offset',
46
+ thumbOffsetOn: '--plasma-switch__thumb_checked_true-offset',
47
+ thumbOffsetOff: '--plasma-switch__thumb_checked_false-offset',
46
48
  thumbBorderRadius: '--plasma-switch__thumb-border-radius',
47
49
  thumbPressScale: '--plasma-switch__thumb-scale',
48
50
  thumbBackgroundColorOn: '--plasma-switch__thumb_checked_true-bg-color',
49
- thumbBackgroundColorOff: '--plasma-switch__thumb-checked_false-bg-color',
51
+ thumbBackgroundColorOff: '--plasma-switch__thumb_checked_false-bg-color',
50
52
  thumbBoxShadow: '--plasma-switch__thumb-box-shadow',
51
53
  thumbBoxShadowOn: '--plasma-switch__thumb-box-shadow_checked_true',
52
54
  labelOffsetPrivate: '--plasma_private-switch__label-offset'
@@ -7,4 +7,4 @@ exports.base = void 0;
7
7
  var _styledComponents = /*#__PURE__*/require("styled-components");
8
8
  var _Switch = /*#__PURE__*/require("../Switch.tokens");
9
9
  var _Switch2 = /*#__PURE__*/require("../Switch.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{box-sizing:border-box;flex:0 0 var(", ");border-style:solid;border-width:var(", ");border-radius:var(", ");width:var(", ");height:var(", ");&::after{width:var(", ");height:var(", ");border-radius:var(", ");margin:auto var(", ");}}:active:not([disabled]) ", "::after{width:calc(var(", ") * var(", ",1));}"], _Switch2.StyledTrigger, _Switch.tokens.trackWidth, _Switch.tokens.trackBorderWidth, _Switch.tokens.trackBorderRadius, _Switch.tokens.trackWidth, _Switch.tokens.trackHeight, _Switch.tokens.thumbSize, _Switch.tokens.thumbSize, _Switch.tokens.thumbBorderRadius, _Switch.tokens.thumbOffset, _Switch2.StyledTrigger, _Switch.tokens.thumbSize, _Switch.tokens.thumbPressScale);
10
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{box-sizing:border-box;flex:0 0 var(", ");border-style:solid;border-width:var(", ");border-radius:var(", ");width:var(", ");height:var(", ");&::after{width:var(", ");height:var(", ");border-radius:var(", ");margin:auto var(", ");}}", ":checked ~ ", "{border-width:var(", ",var(", "));&::after{margin:auto var(", ");}}:active:not([disabled]) ", "::after{width:calc(var(", ") * var(", ",1));}"], _Switch2.StyledTrigger, _Switch.tokens.trackWidth, _Switch.tokens.trackBorderWidthOff, _Switch.tokens.trackBorderRadius, _Switch.tokens.trackWidth, _Switch.tokens.trackHeight, _Switch.tokens.thumbSize, _Switch.tokens.thumbSize, _Switch.tokens.thumbBorderRadius, _Switch.tokens.thumbOffsetOff, _Switch2.StyledInput, _Switch2.StyledTrigger, _Switch.tokens.trackBorderWidthOn, _Switch.tokens.trackBorderWidthOff, _Switch.tokens.thumbOffsetOn, _Switch2.StyledTrigger, _Switch.tokens.thumbSize, _Switch.tokens.thumbPressScale);
@@ -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;&.", "{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);
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));
@@ -8,10 +8,8 @@ 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");
13
11
  var _Subtitle = /*#__PURE__*/require("./Subtitle.styles");
14
- var _excluded = ["size", "children", "color", "noWrap", "className", "style"];
12
+ var _excluded = ["size", "children", "color", "style"];
15
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); }
16
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; }
17
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); }
@@ -27,15 +25,11 @@ var subtitleRoot = exports.subtitleRoot = function subtitleRoot(Root) {
27
25
  var size = props.size,
28
26
  children = props.children,
29
27
  color = props.color,
30
- noWrap = props.noWrap,
31
- className = props.className,
32
28
  style = props.style,
33
29
  rest = _objectWithoutProperties(props, _excluded);
34
- var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
35
30
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
36
31
  size: size,
37
32
  ref: ref,
38
- className: (0, _utils.cx)(withNoWrap, className),
39
33
  style: _objectSpread(_objectSpread({
40
34
  color: color
41
35
  }, 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(", ");&.", "{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);
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));
@@ -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", "noWrap", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "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,17 +25,15 @@ 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,
29
28
  color = props.color,
30
29
  className = props.className,
31
30
  style = props.style,
32
31
  rest = _objectWithoutProperties(props, _excluded);
33
- var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
34
32
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
35
33
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
36
34
  size: size,
37
35
  ref: ref,
38
- className: (0, _utils.cx)(withNoWrap, withBreakWord, className),
36
+ className: (0, _utils.cx)(withBreakWord, className),
39
37
  style: _objectSpread(_objectSpread({
40
38
  color: color
41
39
  }, 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(", ");&.", "{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);
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));
@@ -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;&.", "{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);
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));
@@ -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", "noWrap", "bold", "color", "className", "style"];
12
+ var _excluded = ["size", "children", "breakWord", "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,20 +26,18 @@ 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,
30
29
  _props$bold = props.bold,
31
30
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
32
31
  color = props.color,
33
32
  className = props.className,
34
33
  style = props.style,
35
34
  rest = _objectWithoutProperties(props, _excluded);
36
- var withNoWrap = noWrap ? _tokens.classes.typoWithNoWrap : undefined;
37
35
  var withBreakWord = breakWord ? _tokens.classes.typoWithBreakWord : undefined;
38
36
  var typographyBold = bold ? _tokens.classes.typoBold : undefined;
39
37
  return /*#__PURE__*/_react["default"].createElement(Root, _extends({
40
38
  size: size,
41
39
  ref: ref,
42
- className: (0, _utils.cx)(withNoWrap, withBreakWord, typographyBold, className),
40
+ className: (0, _utils.cx)(withBreakWord, typographyBold, className),
43
41
  style: _objectSpread(_objectSpread({
44
42
  color: color
45
43
  }, 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(", ");}&.", "{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);
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));
@@ -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
@@ -5,7 +5,6 @@ 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',
9
8
  typoWithBreakWord: 'with-break-word',
10
9
  typoBold: 'typography-bold'
11
10
  };
@@ -21,11 +21,11 @@ var config = exports.config = {
21
21
  l: /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-xs-letter-spacing);", ":0.25rem;", ":0.75rem;"], _Switch.switchTokens.fontFamily, _Switch.switchTokens.fontStyle, _Switch.switchTokens.fontWeight, _Switch.switchTokens.lineHeight, _Switch.switchTokens.fontSize, _Switch.switchTokens.letterSpacing, _Switch.switchTokens.descriptionFontFamily, _Switch.switchTokens.descriptionFontStyle, _Switch.switchTokens.descriptionFontWeight, _Switch.switchTokens.descriptionLineHeight, _Switch.switchTokens.descriptionFontSize, _Switch.switchTokens.descriptionLetterSpacing, _Switch.switchTokens.verticalGap, _Switch.switchTokens.labelOffset)
22
22
  },
23
23
  toggleSize: {
24
- l: /*#__PURE__*/(0, _styledComponents.css)(["", ":2.75rem;", ":1.75rem;", ":calc(var(", ") / 2);", ":1.5rem;", ":calc(var(", ") / 2);", ":0.125rem;", ":1.25;"], _Switch.switchTokens.trackWidth, _Switch.switchTokens.trackHeight, _Switch.switchTokens.trackBorderRadius, _Switch.switchTokens.trackHeight, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbBorderRadius, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbOffset, _Switch.switchTokens.thumbPressScale),
25
- s: /*#__PURE__*/(0, _styledComponents.css)(["", ":2rem;", ":1.25rem;", ":calc(var(", ") / 2);", ":1rem;", ":calc(var(", ") / 2);", ":0.125rem;", ":1.25;"], _Switch.switchTokens.trackWidth, _Switch.switchTokens.trackHeight, _Switch.switchTokens.trackBorderRadius, _Switch.switchTokens.trackHeight, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbBorderRadius, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbOffset, _Switch.switchTokens.thumbPressScale)
24
+ l: /*#__PURE__*/(0, _styledComponents.css)(["", ":2.75rem;", ":1.75rem;", ":calc(var(", ") / 2);", ":1.5rem;", ":calc(var(", ") / 2);", ":0.125rem;", ":0.125rem;", ":1.25;"], _Switch.switchTokens.trackWidth, _Switch.switchTokens.trackHeight, _Switch.switchTokens.trackBorderRadius, _Switch.switchTokens.trackHeight, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbBorderRadius, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbOffsetOn, _Switch.switchTokens.thumbOffsetOff, _Switch.switchTokens.thumbPressScale),
25
+ s: /*#__PURE__*/(0, _styledComponents.css)(["", ":2rem;", ":1.25rem;", ":calc(var(", ") / 2);", ":1rem;", ":calc(var(", ") / 2);", ":0.125rem;", ":0.125rem;", ":1.25;"], _Switch.switchTokens.trackWidth, _Switch.switchTokens.trackHeight, _Switch.switchTokens.trackBorderRadius, _Switch.switchTokens.trackHeight, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbBorderRadius, _Switch.switchTokens.thumbSize, _Switch.switchTokens.thumbOffsetOn, _Switch.switchTokens.thumbOffsetOff, _Switch.switchTokens.thumbPressScale)
26
26
  },
27
27
  view: {
28
- "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--surface-accent-hover);", ":var(--surface-transparent-tertiary);", ":var(--surface-transparent-tertiary-hover);", ":0rem;", ":var(--on-dark-surface-solid-default);", ":var(--on-dark-surface-solid-default);", ":0 1px 1px rgba(0,0,0,0.11);"], _Switch.switchTokens.labelColor, _Switch.switchTokens.descriptionColor, _Switch.switchTokens.trackBackgroundColorOn, _Switch.switchTokens.trackBackgroundColorOnHover, _Switch.switchTokens.trackBackgroundColorOff, _Switch.switchTokens.trackBackgroundColorOffHover, _Switch.switchTokens.trackBorderWidth, _Switch.switchTokens.thumbBackgroundColorOff, _Switch.switchTokens.thumbBackgroundColorOn, _Switch.switchTokens.thumbBoxShadow)
28
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-accent);", ":var(--surface-accent-hover);", ":var(--surface-transparent-tertiary);", ":var(--surface-transparent-tertiary-hover);", ":0;", ":0;", ":var(--on-dark-surface-solid-default);", ":var(--on-dark-surface-solid-default);", ":0 1px 1px rgba(0,0,0,0.11);"], _Switch.switchTokens.labelColor, _Switch.switchTokens.descriptionColor, _Switch.switchTokens.trackBackgroundColorOn, _Switch.switchTokens.trackBackgroundColorOnHover, _Switch.switchTokens.trackBackgroundColorOff, _Switch.switchTokens.trackBackgroundColorOffHover, _Switch.switchTokens.trackBorderWidthOn, _Switch.switchTokens.trackBorderWidthOff, _Switch.switchTokens.thumbBackgroundColorOn, _Switch.switchTokens.thumbBackgroundColorOff, _Switch.switchTokens.thumbBoxShadow)
29
29
  },
30
30
  disabled: {
31
31
  "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Switch.switchTokens.disabledOpacity)