@fluentui/react-text 9.0.0-alpha.9 → 9.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/CHANGELOG.json +744 -1
  2. package/CHANGELOG.md +254 -2
  3. package/dist/react-text.d.ts +61 -49
  4. package/lib/Body.js.map +1 -1
  5. package/lib/Caption.js.map +1 -1
  6. package/lib/Display.js.map +1 -1
  7. package/lib/Headline.js.map +1 -1
  8. package/lib/LargeTitle.js.map +1 -1
  9. package/lib/Subheadline.js.map +1 -1
  10. package/lib/Text.js.map +1 -1
  11. package/lib/Title1.js.map +1 -1
  12. package/lib/Title2.js.map +1 -1
  13. package/lib/Title3.js.map +1 -1
  14. package/lib/components/Body/Body.d.ts +4 -1
  15. package/lib/components/Body/Body.js +10 -8
  16. package/lib/components/Body/Body.js.map +1 -1
  17. package/lib/components/Body/index.js.map +1 -1
  18. package/lib/components/Caption/Caption.d.ts +4 -1
  19. package/lib/components/Caption/Caption.js +10 -8
  20. package/lib/components/Caption/Caption.js.map +1 -1
  21. package/lib/components/Caption/index.js.map +1 -1
  22. package/lib/components/Display/Display.d.ts +4 -1
  23. package/lib/components/Display/Display.js +10 -8
  24. package/lib/components/Display/Display.js.map +1 -1
  25. package/lib/components/Display/index.js.map +1 -1
  26. package/lib/components/Headline/Headline.d.ts +4 -1
  27. package/lib/components/Headline/Headline.js +10 -8
  28. package/lib/components/Headline/Headline.js.map +1 -1
  29. package/lib/components/Headline/index.js.map +1 -1
  30. package/lib/components/LargeTitle/LargeTitle.d.ts +4 -1
  31. package/lib/components/LargeTitle/LargeTitle.js +10 -8
  32. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  33. package/lib/components/LargeTitle/index.js.map +1 -1
  34. package/lib/components/Subheadline/Subheadline.d.ts +4 -1
  35. package/lib/components/Subheadline/Subheadline.js +10 -8
  36. package/lib/components/Subheadline/Subheadline.js.map +1 -1
  37. package/lib/components/Subheadline/index.js.map +1 -1
  38. package/lib/components/Text/Text.d.ts +2 -2
  39. package/lib/components/Text/Text.js +3 -3
  40. package/lib/components/Text/Text.js.map +1 -1
  41. package/lib/components/Text/Text.types.d.ts +20 -29
  42. package/lib/components/Text/Text.types.js.map +1 -1
  43. package/lib/components/Text/index.js.map +1 -1
  44. package/lib/components/Text/renderText.js +7 -8
  45. package/lib/components/Text/renderText.js.map +1 -1
  46. package/lib/components/Text/useText.d.ts +1 -2
  47. package/lib/components/Text/useText.js +37 -8
  48. package/lib/components/Text/useText.js.map +1 -1
  49. package/lib/components/Text/useTextStyles.d.ts +1 -0
  50. package/lib/components/Text/useTextStyles.js +32 -31
  51. package/lib/components/Text/useTextStyles.js.map +1 -1
  52. package/lib/components/Title1/Title1.d.ts +4 -1
  53. package/lib/components/Title1/Title1.js +10 -8
  54. package/lib/components/Title1/Title1.js.map +1 -1
  55. package/lib/components/Title1/index.js.map +1 -1
  56. package/lib/components/Title2/Title2.d.ts +4 -1
  57. package/lib/components/Title2/Title2.js +10 -8
  58. package/lib/components/Title2/Title2.js.map +1 -1
  59. package/lib/components/Title2/index.js.map +1 -1
  60. package/lib/components/Title3/Title3.d.ts +4 -1
  61. package/lib/components/Title3/Title3.js +10 -8
  62. package/lib/components/Title3/Title3.js.map +1 -1
  63. package/lib/components/Title3/index.js.map +1 -1
  64. package/lib/components/wrapper.d.ts +3 -3
  65. package/lib/components/wrapper.js +9 -6
  66. package/lib/components/wrapper.js.map +1 -1
  67. package/lib/index.js.map +1 -1
  68. package/lib/typographyStyles/index.js.map +1 -1
  69. package/lib/typographyStyles/typographyStyles.js +54 -72
  70. package/lib/typographyStyles/typographyStyles.js.map +1 -1
  71. package/lib-commonjs/Body.js +1 -1
  72. package/lib-commonjs/Body.js.map +1 -1
  73. package/lib-commonjs/Caption.js +1 -1
  74. package/lib-commonjs/Caption.js.map +1 -1
  75. package/lib-commonjs/Display.js +1 -1
  76. package/lib-commonjs/Display.js.map +1 -1
  77. package/lib-commonjs/Headline.js +1 -1
  78. package/lib-commonjs/Headline.js.map +1 -1
  79. package/lib-commonjs/LargeTitle.js +1 -1
  80. package/lib-commonjs/LargeTitle.js.map +1 -1
  81. package/lib-commonjs/Subheadline.js +1 -1
  82. package/lib-commonjs/Subheadline.js.map +1 -1
  83. package/lib-commonjs/Text.js +1 -1
  84. package/lib-commonjs/Text.js.map +1 -1
  85. package/lib-commonjs/Title1.js +1 -1
  86. package/lib-commonjs/Title1.js.map +1 -1
  87. package/lib-commonjs/Title2.js +1 -1
  88. package/lib-commonjs/Title2.js.map +1 -1
  89. package/lib-commonjs/Title3.js +1 -1
  90. package/lib-commonjs/Title3.js.map +1 -1
  91. package/lib-commonjs/components/Body/Body.d.ts +4 -1
  92. package/lib-commonjs/components/Body/Body.js +9 -7
  93. package/lib-commonjs/components/Body/Body.js.map +1 -1
  94. package/lib-commonjs/components/Body/index.js +1 -1
  95. package/lib-commonjs/components/Body/index.js.map +1 -1
  96. package/lib-commonjs/components/Caption/Caption.d.ts +4 -1
  97. package/lib-commonjs/components/Caption/Caption.js +9 -7
  98. package/lib-commonjs/components/Caption/Caption.js.map +1 -1
  99. package/lib-commonjs/components/Caption/index.js +1 -1
  100. package/lib-commonjs/components/Caption/index.js.map +1 -1
  101. package/lib-commonjs/components/Display/Display.d.ts +4 -1
  102. package/lib-commonjs/components/Display/Display.js +9 -7
  103. package/lib-commonjs/components/Display/Display.js.map +1 -1
  104. package/lib-commonjs/components/Display/index.js +1 -1
  105. package/lib-commonjs/components/Display/index.js.map +1 -1
  106. package/lib-commonjs/components/Headline/Headline.d.ts +4 -1
  107. package/lib-commonjs/components/Headline/Headline.js +9 -7
  108. package/lib-commonjs/components/Headline/Headline.js.map +1 -1
  109. package/lib-commonjs/components/Headline/index.js +1 -1
  110. package/lib-commonjs/components/Headline/index.js.map +1 -1
  111. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +4 -1
  112. package/lib-commonjs/components/LargeTitle/LargeTitle.js +9 -7
  113. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  114. package/lib-commonjs/components/LargeTitle/index.js +1 -1
  115. package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
  116. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +4 -1
  117. package/lib-commonjs/components/Subheadline/Subheadline.js +9 -7
  118. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
  119. package/lib-commonjs/components/Subheadline/index.js +1 -1
  120. package/lib-commonjs/components/Subheadline/index.js.map +1 -1
  121. package/lib-commonjs/components/Text/Text.d.ts +2 -2
  122. package/lib-commonjs/components/Text/Text.js +7 -7
  123. package/lib-commonjs/components/Text/Text.js.map +1 -1
  124. package/lib-commonjs/components/Text/Text.types.d.ts +20 -29
  125. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  126. package/lib-commonjs/components/Text/index.js +1 -1
  127. package/lib-commonjs/components/Text/index.js.map +1 -1
  128. package/lib-commonjs/components/Text/renderText.js +8 -10
  129. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  130. package/lib-commonjs/components/Text/useText.d.ts +1 -2
  131. package/lib-commonjs/components/Text/useText.js +38 -9
  132. package/lib-commonjs/components/Text/useText.js.map +1 -1
  133. package/lib-commonjs/components/Text/useTextStyles.d.ts +1 -0
  134. package/lib-commonjs/components/Text/useTextStyles.js +35 -34
  135. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  136. package/lib-commonjs/components/Title1/Title1.d.ts +4 -1
  137. package/lib-commonjs/components/Title1/Title1.js +9 -7
  138. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  139. package/lib-commonjs/components/Title1/index.js +1 -1
  140. package/lib-commonjs/components/Title1/index.js.map +1 -1
  141. package/lib-commonjs/components/Title2/Title2.d.ts +4 -1
  142. package/lib-commonjs/components/Title2/Title2.js +9 -7
  143. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  144. package/lib-commonjs/components/Title2/index.js +1 -1
  145. package/lib-commonjs/components/Title2/index.js.map +1 -1
  146. package/lib-commonjs/components/Title3/Title3.d.ts +4 -1
  147. package/lib-commonjs/components/Title3/Title3.js +9 -7
  148. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  149. package/lib-commonjs/components/Title3/index.js +1 -1
  150. package/lib-commonjs/components/Title3/index.js.map +1 -1
  151. package/lib-commonjs/components/wrapper.d.ts +3 -3
  152. package/lib-commonjs/components/wrapper.js +12 -9
  153. package/lib-commonjs/components/wrapper.js.map +1 -1
  154. package/lib-commonjs/index.js +1 -1
  155. package/lib-commonjs/index.js.map +1 -1
  156. package/lib-commonjs/typographyStyles/index.js +1 -1
  157. package/lib-commonjs/typographyStyles/index.js.map +1 -1
  158. package/lib-commonjs/typographyStyles/typographyStyles.js +54 -72
  159. package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -1
  160. package/package.json +11 -10
  161. package/lib/common/isConformant.d.ts +0 -4
  162. package/lib/common/isConformant.js +0 -9
  163. package/lib/common/isConformant.js.map +0 -1
  164. package/lib-amd/Body.d.ts +0 -1
  165. package/lib-amd/Body.js +0 -6
  166. package/lib-amd/Body.js.map +0 -1
  167. package/lib-amd/Caption.d.ts +0 -1
  168. package/lib-amd/Caption.js +0 -6
  169. package/lib-amd/Caption.js.map +0 -1
  170. package/lib-amd/Display.d.ts +0 -1
  171. package/lib-amd/Display.js +0 -6
  172. package/lib-amd/Display.js.map +0 -1
  173. package/lib-amd/Headline.d.ts +0 -1
  174. package/lib-amd/Headline.js +0 -6
  175. package/lib-amd/Headline.js.map +0 -1
  176. package/lib-amd/LargeTitle.d.ts +0 -1
  177. package/lib-amd/LargeTitle.js +0 -6
  178. package/lib-amd/LargeTitle.js.map +0 -1
  179. package/lib-amd/Subheadline.d.ts +0 -1
  180. package/lib-amd/Subheadline.js +0 -6
  181. package/lib-amd/Subheadline.js.map +0 -1
  182. package/lib-amd/Text.d.ts +0 -1
  183. package/lib-amd/Text.js +0 -6
  184. package/lib-amd/Text.js.map +0 -1
  185. package/lib-amd/Title1.d.ts +0 -1
  186. package/lib-amd/Title1.js +0 -6
  187. package/lib-amd/Title1.js.map +0 -1
  188. package/lib-amd/Title2.d.ts +0 -1
  189. package/lib-amd/Title2.js +0 -6
  190. package/lib-amd/Title2.js.map +0 -1
  191. package/lib-amd/Title3.d.ts +0 -1
  192. package/lib-amd/Title3.js +0 -6
  193. package/lib-amd/Title3.js.map +0 -1
  194. package/lib-amd/common/isConformant.d.ts +0 -4
  195. package/lib-amd/common/isConformant.js +0 -14
  196. package/lib-amd/common/isConformant.js.map +0 -1
  197. package/lib-amd/components/Body/Body.d.ts +0 -4
  198. package/lib-amd/components/Body/Body.js +0 -16
  199. package/lib-amd/components/Body/Body.js.map +0 -1
  200. package/lib-amd/components/Body/index.d.ts +0 -1
  201. package/lib-amd/components/Body/index.js +0 -6
  202. package/lib-amd/components/Body/index.js.map +0 -1
  203. package/lib-amd/components/Caption/Caption.d.ts +0 -4
  204. package/lib-amd/components/Caption/Caption.js +0 -16
  205. package/lib-amd/components/Caption/Caption.js.map +0 -1
  206. package/lib-amd/components/Caption/index.d.ts +0 -1
  207. package/lib-amd/components/Caption/index.js +0 -6
  208. package/lib-amd/components/Caption/index.js.map +0 -1
  209. package/lib-amd/components/Display/Display.d.ts +0 -4
  210. package/lib-amd/components/Display/Display.js +0 -16
  211. package/lib-amd/components/Display/Display.js.map +0 -1
  212. package/lib-amd/components/Display/index.d.ts +0 -1
  213. package/lib-amd/components/Display/index.js +0 -6
  214. package/lib-amd/components/Display/index.js.map +0 -1
  215. package/lib-amd/components/Headline/Headline.d.ts +0 -4
  216. package/lib-amd/components/Headline/Headline.js +0 -16
  217. package/lib-amd/components/Headline/Headline.js.map +0 -1
  218. package/lib-amd/components/Headline/index.d.ts +0 -1
  219. package/lib-amd/components/Headline/index.js +0 -6
  220. package/lib-amd/components/Headline/index.js.map +0 -1
  221. package/lib-amd/components/LargeTitle/LargeTitle.d.ts +0 -4
  222. package/lib-amd/components/LargeTitle/LargeTitle.js +0 -16
  223. package/lib-amd/components/LargeTitle/LargeTitle.js.map +0 -1
  224. package/lib-amd/components/LargeTitle/index.d.ts +0 -1
  225. package/lib-amd/components/LargeTitle/index.js +0 -6
  226. package/lib-amd/components/LargeTitle/index.js.map +0 -1
  227. package/lib-amd/components/Subheadline/Subheadline.d.ts +0 -4
  228. package/lib-amd/components/Subheadline/Subheadline.js +0 -16
  229. package/lib-amd/components/Subheadline/Subheadline.js.map +0 -1
  230. package/lib-amd/components/Subheadline/index.d.ts +0 -1
  231. package/lib-amd/components/Subheadline/index.js +0 -6
  232. package/lib-amd/components/Subheadline/index.js.map +0 -1
  233. package/lib-amd/components/Text/Text.d.ts +0 -6
  234. package/lib-amd/components/Text/Text.js +0 -15
  235. package/lib-amd/components/Text/Text.js.map +0 -1
  236. package/lib-amd/components/Text/Text.types.d.ts +0 -86
  237. package/lib-amd/components/Text/Text.types.js +0 -5
  238. package/lib-amd/components/Text/Text.types.js.map +0 -1
  239. package/lib-amd/components/Text/index.d.ts +0 -5
  240. package/lib-amd/components/Text/index.js +0 -10
  241. package/lib-amd/components/Text/index.js.map +0 -1
  242. package/lib-amd/components/Text/renderText.d.ts +0 -5
  243. package/lib-amd/components/Text/renderText.js +0 -14
  244. package/lib-amd/components/Text/renderText.js.map +0 -1
  245. package/lib-amd/components/Text/useText.d.ts +0 -13
  246. package/lib-amd/components/Text/useText.js +0 -25
  247. package/lib-amd/components/Text/useText.js.map +0 -1
  248. package/lib-amd/components/Text/useTextStyles.d.ts +0 -5
  249. package/lib-amd/components/Text/useTextStyles.js +0 -110
  250. package/lib-amd/components/Text/useTextStyles.js.map +0 -1
  251. package/lib-amd/components/Title1/Title1.d.ts +0 -4
  252. package/lib-amd/components/Title1/Title1.js +0 -16
  253. package/lib-amd/components/Title1/Title1.js.map +0 -1
  254. package/lib-amd/components/Title1/index.d.ts +0 -1
  255. package/lib-amd/components/Title1/index.js +0 -6
  256. package/lib-amd/components/Title1/index.js.map +0 -1
  257. package/lib-amd/components/Title2/Title2.d.ts +0 -4
  258. package/lib-amd/components/Title2/Title2.js +0 -16
  259. package/lib-amd/components/Title2/Title2.js.map +0 -1
  260. package/lib-amd/components/Title2/index.d.ts +0 -1
  261. package/lib-amd/components/Title2/index.js +0 -6
  262. package/lib-amd/components/Title2/index.js.map +0 -1
  263. package/lib-amd/components/Title3/Title3.d.ts +0 -4
  264. package/lib-amd/components/Title3/Title3.js +0 -16
  265. package/lib-amd/components/Title3/Title3.js.map +0 -1
  266. package/lib-amd/components/Title3/index.d.ts +0 -1
  267. package/lib-amd/components/Title3/index.js +0 -6
  268. package/lib-amd/components/Title3/index.js.map +0 -1
  269. package/lib-amd/components/wrapper.d.ts +0 -8
  270. package/lib-amd/components/wrapper.js +0 -19
  271. package/lib-amd/components/wrapper.js.map +0 -1
  272. package/lib-amd/index.d.ts +0 -10
  273. package/lib-amd/index.js +0 -15
  274. package/lib-amd/index.js.map +0 -1
  275. package/lib-amd/typographyStyles/index.d.ts +0 -2
  276. package/lib-amd/typographyStyles/index.js +0 -7
  277. package/lib-amd/typographyStyles/index.js.map +0 -1
  278. package/lib-amd/typographyStyles/typographyStyles.d.ts +0 -14
  279. package/lib-amd/typographyStyles/typographyStyles.js +0 -72
  280. package/lib-amd/typographyStyles/typographyStyles.js.map +0 -1
  281. package/lib-commonjs/common/isConformant.d.ts +0 -4
  282. package/lib-commonjs/common/isConformant.js +0 -19
  283. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,12 +1,264 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Wed, 01 Sep 2021 07:37:53 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 25 Nov 2021 08:31:34 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.4)
8
+
9
+ Thu, 25 Nov 2021 08:31:34 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.3..@fluentui/react-text_v9.0.0-beta.4)
11
+
12
+ ### Changes
13
+
14
+ - Migrate Text ([PR #20653](https://github.com/microsoft/fluentui/pull/20653) by andredias@microsoft.com)
15
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
17
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
18
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
19
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
20
+
21
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.3)
22
+
23
+ Fri, 12 Nov 2021 13:25:08 GMT
24
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.2..@fluentui/react-text_v9.0.0-beta.3)
25
+
26
+ ### Changes
27
+
28
+ - Updated with codesandbox comments ([PR #20371](https://github.com/microsoft/fluentui/pull/20371) by gcox@microsoft.com)
29
+ - export static classes for components ([PR #20449](https://github.com/microsoft/fluentui/pull/20449) by olfedias@microsoft.com)
30
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
31
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
32
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
33
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
34
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
35
+
36
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.2)
37
+
38
+ Wed, 27 Oct 2021 12:14:23 GMT
39
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.1..@fluentui/react-text_v9.0.0-beta.2)
40
+
41
+ ### Changes
42
+
43
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
44
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
45
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
46
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
47
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
48
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
49
+
50
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.1)
51
+
52
+ Wed, 06 Oct 2021 10:37:22 GMT
53
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.27..@fluentui/react-text_v9.0.0-beta.1)
54
+
55
+ ### Changes
56
+
57
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
58
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
59
+ - Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
60
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
61
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
62
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
63
+
64
+ ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.27)
65
+
66
+ Tue, 05 Oct 2021 12:47:58 GMT
67
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.26..@fluentui/react-text_v9.0.0-alpha.27)
68
+
69
+ ### Changes
70
+
71
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.78 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
72
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.60 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
73
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.53 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
74
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.22 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
75
+
76
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.26)
77
+
78
+ Tue, 05 Oct 2021 09:28:07 GMT
79
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.25..@fluentui/react-text_v9.0.0-alpha.26)
80
+
81
+ ### Changes
82
+
83
+ - Add and use ForwardRefComponent helper type ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by elcraig@microsoft.com)
84
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.77 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
85
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.56 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
86
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.59 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
87
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.52 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
88
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.21 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
89
+
90
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.25)
91
+
92
+ Fri, 01 Oct 2021 14:13:08 GMT
93
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.23..@fluentui/react-text_v9.0.0-alpha.25)
94
+
95
+ ### Changes
96
+
97
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
98
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.76 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
99
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.55 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
100
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.58 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
101
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.51 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
102
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.20 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
103
+
104
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.23)
105
+
106
+ Wed, 29 Sep 2021 08:06:11 GMT
107
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.22..@fluentui/react-text_v9.0.0-alpha.23)
108
+
109
+ ### Changes
110
+
111
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.74 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
112
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.56 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
113
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.49 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
114
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.18 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
115
+
116
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.22)
117
+
118
+ Mon, 27 Sep 2021 08:06:00 GMT
119
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.21..@fluentui/react-text_v9.0.0-alpha.22)
120
+
121
+ ### Changes
122
+
123
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
124
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
125
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.55 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
126
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
127
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
128
+
129
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.21)
130
+
131
+ Fri, 24 Sep 2021 09:17:17 GMT
132
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.20..@fluentui/react-text_v9.0.0-alpha.21)
133
+
134
+ ### Changes
135
+
136
+ - Remove workaround for as prop with getNativeElementProps ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by andredias@microsoft.com)
137
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
138
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
139
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.54 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
140
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
141
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
142
+
143
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.20)
144
+
145
+ Thu, 23 Sep 2021 08:21:34 GMT
146
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.19..@fluentui/react-text_v9.0.0-alpha.20)
147
+
148
+ ### Changes
149
+
150
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
151
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
152
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.53 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
153
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
154
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
155
+
156
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.19)
157
+
158
+ Wed, 22 Sep 2021 10:10:07 GMT
159
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.18..@fluentui/react-text_v9.0.0-alpha.19)
160
+
161
+ ### Changes
162
+
163
+ - Migrate to simplified prop merging ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by andredias@microsoft.com)
164
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
165
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
166
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.52 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
167
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
168
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
169
+
170
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.18)
171
+
172
+ Tue, 21 Sep 2021 07:42:34 GMT
173
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.17..@fluentui/react-text_v9.0.0-alpha.18)
174
+
175
+ ### Changes
176
+
177
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
178
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.51 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
179
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
180
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
181
+
182
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.17)
183
+
184
+ Mon, 20 Sep 2021 07:36:26 GMT
185
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.16..@fluentui/react-text_v9.0.0-alpha.17)
186
+
187
+ ### Changes
188
+
189
+ - Bump @fluentui/react-text to v9.0.0-alpha.17 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
190
+
191
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.16)
192
+
193
+ Fri, 17 Sep 2021 07:35:26 GMT
194
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.15..@fluentui/react-text_v9.0.0-alpha.16)
195
+
196
+ ### Changes
197
+
198
+ - Bump @fluentui/react-text to v9.0.0-alpha.16 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
199
+
200
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.15)
201
+
202
+ Thu, 16 Sep 2021 07:38:39 GMT
203
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.14..@fluentui/react-text_v9.0.0-alpha.15)
204
+
205
+ ### Changes
206
+
207
+ - Bump @fluentui/react-text to v9.0.0-alpha.15 ([PR #19815](https://github.com/microsoft/fluentui/pull/19815) by behowell@microsoft.com)
208
+
209
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.14)
210
+
211
+ Tue, 14 Sep 2021 20:09:02 GMT
212
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.13..@fluentui/react-text_v9.0.0-alpha.14)
213
+
214
+ ### Changes
215
+
216
+ - Bump @fluentui/react-text to v9.0.0-alpha.14 ([PR #19155](https://github.com/microsoft/fluentui/pull/19155) by bsunderhus@microsoft.com)
217
+
218
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.13)
219
+
220
+ Fri, 10 Sep 2021 16:31:53 GMT
221
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.12..@fluentui/react-text_v9.0.0-alpha.13)
222
+
223
+ ### Changes
224
+
225
+ - chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
226
+ - Bump @fluentui/react-text to v9.0.0-alpha.13 ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
227
+
228
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.12)
229
+
230
+ Fri, 10 Sep 2021 07:39:51 GMT
231
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.11..@fluentui/react-text_v9.0.0-alpha.12)
232
+
233
+ ### Changes
234
+
235
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.45 ([PR #19642](https://github.com/microsoft/fluentui/pull/19642) by behowell@microsoft.com)
236
+
237
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.11)
238
+
239
+ Mon, 06 Sep 2021 07:34:53 GMT
240
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.10..@fluentui/react-text_v9.0.0-alpha.11)
241
+
242
+ ### Changes
243
+
244
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.44 ([PR #19640](https://github.com/microsoft/fluentui/pull/19640) by lingfangao@hotmail.com)
245
+
246
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.10)
247
+
248
+ Thu, 02 Sep 2021 07:36:46 GMT
249
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.9..@fluentui/react-text_v9.0.0-alpha.10)
250
+
251
+ ### Patches
252
+
253
+ - Bump @fluentui/react-conformance to v0.4.5 ([PR #19590](https://github.com/microsoft/fluentui/pull/19590) by olfedias@microsoft.com)
254
+
255
+ ### Changes
256
+
257
+ - Bump @fluentui/babel-make-styles to v9.0.0-alpha.43 ([PR #19065](https://github.com/microsoft/fluentui/pull/19065) by olfedias@microsoft.com)
258
+
7
259
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.9)
8
260
 
9
- Wed, 01 Sep 2021 07:37:53 GMT
261
+ Wed, 01 Sep 2021 07:39:56 GMT
10
262
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.8..@fluentui/react-text_v9.0.0-alpha.9)
11
263
 
12
264
  ### Changes
@@ -1,37 +1,45 @@
1
- import type { ComponentPropsCompat } from '@fluentui/react-utilities';
2
- import type { ComponentStateCompat } from '@fluentui/react-utilities';
3
- import { ForwardRefExoticComponent } from 'react';
1
+ import type { ComponentProps } from '@fluentui/react-utilities';
2
+ import type { ComponentState } from '@fluentui/react-utilities';
3
+ import type { ForwardRefComponent } from '@fluentui/react-utilities';
4
+ import type { FunctionComponent } from 'react';
5
+ import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
4
6
  import * as React_2 from 'react';
5
- import { RefAttributes } from 'react';
6
7
 
7
8
  /**
8
9
  * Text wrapper component for the Body typography variant
9
10
  */
10
- declare const Body_2: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
11
+ declare const Body_2: FunctionComponent<TextWrapperProps>;
11
12
  export { Body_2 as Body }
12
13
 
14
+ export declare const bodyClassName = "fui-Body";
15
+
13
16
  /**
14
17
  * Text wrapper component for the Caption typography variant
15
18
  */
16
- export declare const Caption: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
19
+ export declare const Caption: FunctionComponent<TextWrapperProps>;
20
+
21
+ export declare const captionClassName = "fui-Caption";
17
22
 
18
23
  /**
19
24
  * Text wrapper component for the Display typography variant
20
25
  */
21
- export declare const Display: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
26
+ export declare const Display: FunctionComponent<TextWrapperProps>;
27
+
28
+ export declare const displayClassName = "fui-Display";
22
29
 
23
30
  /**
24
31
  * Text wrapper component for the Headline typography variant
25
32
  */
26
- export declare const Headline: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
33
+ export declare const Headline: FunctionComponent<TextWrapperProps>;
34
+
35
+ export declare const headlineClassName = "fui-Headline";
27
36
 
28
37
  /**
29
38
  * Text wrapper component for the Large Title typography variant
30
39
  */
31
- export declare const LargeTitle: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
40
+ export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
32
41
 
33
- declare interface Props extends Omit<TextProps, 'font' | 'size'> {
34
- }
42
+ export declare const largeTitleClassName = "fui-LargeTitle";
35
43
 
36
44
  /**
37
45
  * Render the final JSX of Text
@@ -41,115 +49,120 @@ export declare const renderText: (state: TextState) => JSX.Element;
41
49
  /**
42
50
  * Text wrapper component for the Subheadline typography variant
43
51
  */
44
- export declare const Subheadline: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
52
+ export declare const Subheadline: FunctionComponent<TextWrapperProps>;
53
+
54
+ export declare const subheadlineClassName = "fui-Subheadline";
45
55
 
46
56
  /**
47
57
  * Typography and styling abstraction component used to ensure consistency of text.
48
58
  */
49
- declare const Text_2: React_2.ForwardRefExoticComponent<TextProps & React_2.RefAttributes<HTMLElement>>;
59
+ declare const Text_2: ForwardRefComponent<TextProps>;
50
60
  export { Text_2 as Text }
51
61
 
52
- /**
53
- * Names of TextProps that have a default value in useText
54
- */
55
- export declare type TextDefaultedProps = never;
62
+ export declare const textClassName = "fui-Text";
56
63
 
57
- /**
58
- * Text Props
59
- */
60
- export declare interface TextProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
64
+ export declare type TextCommons = {
61
65
  /**
62
66
  * Wraps the text content on white spaces.
63
67
  *
64
68
  * @defaultValue true
65
69
  */
66
- wrap?: boolean;
70
+ wrap: boolean;
67
71
  /**
68
72
  * Truncate overflowing text for block displays.
69
73
  *
70
74
  * @defaultValue false
71
75
  */
72
- truncate?: boolean;
76
+ truncate: boolean;
73
77
  /**
74
78
  * Applies a block display for the content.
75
79
  *
76
80
  * @defaultValue false
77
81
  */
78
- block?: boolean;
82
+ block: boolean;
79
83
  /**
80
84
  * Applies the italic font style to the content.
81
85
  *
82
86
  * @defaultValue false
83
87
  */
84
- italic?: boolean;
88
+ italic: boolean;
85
89
  /**
86
90
  * Applies the underline text decoration to the content.
87
91
  *
88
92
  * @defaultValue false
89
93
  */
90
- underline?: boolean;
94
+ underline: boolean;
91
95
  /**
92
96
  * Applies the strikethrough text decoration to the content.
93
97
  *
94
98
  * @defaultValue false
95
99
  */
96
- strikethrough?: boolean;
100
+ strikethrough: boolean;
97
101
  /**
98
102
  * Applies font size and line height based on the theme tokens.
99
103
  *
100
104
  * @defaultValue 300
101
105
  */
102
- size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
106
+ size: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
103
107
  /**
104
108
  * Applies the font family to the content.
105
109
  *
106
110
  * @defaultValue base
107
111
  */
108
- font?: 'base' | 'monospace' | 'numeric';
112
+ font: 'base' | 'monospace' | 'numeric';
109
113
  /**
110
114
  * Applies font weight to the content.
111
115
  *
112
116
  * @defaultValue regular
113
117
  */
114
- weight?: 'regular' | 'medium' | 'semibold';
118
+ weight: 'regular' | 'medium' | 'semibold';
115
119
  /**
116
120
  * Aligns text based on the parent container.
117
121
  *
118
122
  * @defaultValue start
119
123
  */
120
- align?: 'start' | 'center' | 'end' | 'justify';
121
- /**
122
- * Component to be rendered as.
123
- *
124
- * @defaultValue span
125
- */
126
- as?: 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'pre';
127
- }
124
+ align: 'start' | 'center' | 'end' | 'justify';
125
+ };
126
+
127
+ /**
128
+ * Text Props
129
+ */
130
+ export declare type TextProps = ComponentProps<TextSlots> & Partial<TextCommons>;
131
+
132
+ /**
133
+ * Text slots
134
+ */
135
+ export declare type TextSlots = {
136
+ root: IntrinsicShorthandProps<'span', 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'pre'>;
137
+ };
128
138
 
129
139
  /**
130
140
  * State used in rendering Text
131
141
  */
132
- export declare interface TextState extends ComponentStateCompat<TextProps, TextDefaultedProps> {
133
- /**
134
- * Ref to the root element
135
- */
136
- ref: React_2.Ref<HTMLElement>;
137
- }
142
+ export declare type TextState = ComponentState<TextSlots> & TextCommons;
143
+
144
+ declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
138
145
 
139
146
  /**
140
147
  * Text wrapper component for the Title 1 typography variant
141
148
  */
142
- export declare const Title1: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
149
+ export declare const Title1: FunctionComponent<TextWrapperProps>;
150
+
151
+ export declare const title1ClassName = "fui-Title1";
143
152
 
144
153
  /**
145
154
  * Text wrapper component for the Title 2 typography variant
146
155
  */
147
- export declare const Title2: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
156
+ export declare const Title2: FunctionComponent<TextWrapperProps>;
157
+
158
+ export declare const title2ClassName = "fui-Title2";
148
159
 
149
160
  /**
150
161
  * Text wrapper component for the Title 3 typography variant
151
162
  */
152
- export declare const Title3: ForwardRefExoticComponent<Props & RefAttributes<HTMLElement>>;
163
+ export declare const Title3: FunctionComponent<TextWrapperProps>;
164
+
165
+ export declare const title3ClassName = "fui-Title3";
153
166
 
154
167
  /**
155
168
  * Create the state required to render Text.
@@ -159,9 +172,8 @@ export declare const Title3: ForwardRefExoticComponent<Props & RefAttributes<HTM
159
172
  *
160
173
  * @param props - props from this instance of Text
161
174
  * @param ref - reference to root HTMLElement of Text
162
- * @param defaultProps - (optional) default prop values provided by the implementing type
163
175
  */
164
- export declare const useText: (props: TextProps, ref: React_2.Ref<HTMLElement>, defaultProps?: TextProps | undefined) => TextState;
176
+ export declare const useText: (props: TextProps, ref: React_2.Ref<HTMLElement>) => TextState;
165
177
 
166
178
  /**
167
179
  * Apply styling to the Text slots based on the state
package/lib/Body.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Body.js","sourceRoot":"../src/","sources":["Body.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Body/index';\n"]}
1
+ {"version":3,"file":"Body.js","sourceRoot":"","sources":["../src/Body.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Caption.js","sourceRoot":"../src/","sources":["Caption.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Caption/index';\n"]}
1
+ {"version":3,"file":"Caption.js","sourceRoot":"","sources":["../src/Caption.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Display.js","sourceRoot":"../src/","sources":["Display.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Display/index';\n"]}
1
+ {"version":3,"file":"Display.js","sourceRoot":"","sources":["../src/Display.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Headline.js","sourceRoot":"../src/","sources":["Headline.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Headline/index';\n"]}
1
+ {"version":3,"file":"Headline.js","sourceRoot":"","sources":["../src/Headline.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LargeTitle.js","sourceRoot":"../src/","sources":["LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/LargeTitle/index';\n"]}
1
+ {"version":3,"file":"LargeTitle.js","sourceRoot":"","sources":["../src/LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Subheadline.js","sourceRoot":"../src/","sources":["Subheadline.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/Subheadline/index';\n"]}
1
+ {"version":3,"file":"Subheadline.js","sourceRoot":"","sources":["../src/Subheadline.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
package/lib/Text.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"../src/","sources":["Text.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Text/index';\n"]}
1
+ {"version":3,"file":"Text.js","sourceRoot":"","sources":["../src/Text.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
package/lib/Title1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title1.js","sourceRoot":"../src/","sources":["Title1.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title1/index';\n"]}
1
+ {"version":3,"file":"Title1.js","sourceRoot":"","sources":["../src/Title1.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
package/lib/Title2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title2.js","sourceRoot":"../src/","sources":["Title2.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title2/index';\n"]}
1
+ {"version":3,"file":"Title2.js","sourceRoot":"","sources":["../src/Title2.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
package/lib/Title3.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title3.js","sourceRoot":"../src/","sources":["Title3.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title3/index';\n"]}
1
+ {"version":3,"file":"Title3.js","sourceRoot":"","sources":["../src/Title3.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
@@ -1,4 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const bodyClassName = "fui-Body";
1
4
  /**
2
5
  * Text wrapper component for the Body typography variant
3
6
  */
4
- export declare const Body: import("react").ForwardRefExoticComponent<import("../wrapper").Props & import("react").RefAttributes<HTMLElement>>;
7
+ export declare const Body: FunctionComponent<TextWrapperProps>;
@@ -1,27 +1,29 @@
1
1
  import { __styles } from '@fluentui/react-make-styles';
2
2
  import { typographyStyles } from '../../typographyStyles/index';
3
3
  import { createWrapper } from '../wrapper';
4
+ export const bodyClassName = 'fui-Body';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
7
8
 
8
- var useStyles = /*#__PURE__*/__styles({
9
+ const useStyles = /*#__PURE__*/__styles({
9
10
  "root": {
10
- "Bahqtrf": "f1kx028l",
11
- "Be2twd7": "flcnb0",
12
- "Bg96gwp": "f1syuwty",
13
- "Bhrd7zp": "f1du0uop"
11
+ "Bahqtrf": "fk6fouc",
12
+ "Be2twd7": "fkhj508",
13
+ "Bg96gwp": "f1i3iumi",
14
+ "Bhrd7zp": "figsok6"
14
15
  }
15
16
  }, {
16
- "d": [".f1kx028l{font-family:var(--global-type-fontFamilies-base);}", ".flcnb0{font-size:var(--global-type-fontSizes-base-300);}", ".f1syuwty{line-height:var(--global-type-lineHeights-base-300);}", ".f1du0uop{font-weight:var(--global-type-fontWeights-regular);}"]
17
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
17
18
  });
18
19
  /**
19
20
  * Text wrapper component for the Body typography variant
20
21
  */
21
22
 
22
23
 
23
- export var Body = /*#__PURE__*/createWrapper({
24
- useStyles: useStyles,
24
+ export const Body = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: bodyClassName,
25
27
  displayName: 'Body'
26
28
  });
27
29
  //# sourceMappingURL=Body.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Body/Body.tsx"],"names":[],"mappings":"AAAA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAA8B,YAA9B;AAEA;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,IAAI,gBAAG,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAA1B","sourcesContent":["import { makeStyles } from '@fluentui/react-make-styles';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper } from '../wrapper';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body,\n});\n\n/**\n * Text wrapper component for the Body typography variant\n */\nexport const Body = createWrapper({ useStyles, displayName: 'Body' });\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["../../../src/components/Body/Body.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,aAAa,GAAG,UAAtB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,IAAI,gBAAwC,aAAa,CAAC;AACrE,EAAA,SADqE;AAErE,EAAA,SAAS,EAAE,aAF0D;AAGrE,EAAA,WAAW,EAAE;AAHwD,CAAD,CAA/D","sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Body/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC","sourcesContent":["export * from './Body';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Body/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -1,4 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const captionClassName = "fui-Caption";
1
4
  /**
2
5
  * Text wrapper component for the Caption typography variant
3
6
  */
4
- export declare const Caption: import("react").ForwardRefExoticComponent<import("../wrapper").Props & import("react").RefAttributes<HTMLElement>>;
7
+ export declare const Caption: FunctionComponent<TextWrapperProps>;