@fluentui/react-text 9.1.14 → 9.2.1

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 (383) hide show
  1. package/CHANGELOG.json +37 -1
  2. package/CHANGELOG.md +21 -2
  3. package/dist/index.d.ts +75 -23
  4. package/lib/Body1.js +1 -1
  5. package/lib/Body1.js.map +1 -1
  6. package/lib/Body1Strong.js +2 -0
  7. package/lib/Body1Strong.js.map +1 -0
  8. package/lib/Body1Stronger.js +2 -0
  9. package/lib/Body1Stronger.js.map +1 -0
  10. package/lib/Body2.js +2 -0
  11. package/lib/Body2.js.map +1 -0
  12. package/lib/Caption1.js +1 -1
  13. package/lib/Caption1.js.map +1 -1
  14. package/lib/Caption1Strong.js +2 -0
  15. package/lib/Caption1Strong.js.map +1 -0
  16. package/lib/Caption1Stronger.js +2 -0
  17. package/lib/Caption1Stronger.js.map +1 -0
  18. package/lib/Caption2.js +1 -1
  19. package/lib/Caption2.js.map +1 -1
  20. package/lib/Caption2Strong.js +2 -0
  21. package/lib/Caption2Strong.js.map +1 -0
  22. package/lib/Display.js +1 -1
  23. package/lib/Display.js.map +1 -1
  24. package/lib/LargeTitle.js +1 -1
  25. package/lib/LargeTitle.js.map +1 -1
  26. package/lib/Subtitle1.js +1 -1
  27. package/lib/Subtitle1.js.map +1 -1
  28. package/lib/Subtitle2.js +1 -1
  29. package/lib/Subtitle2.js.map +1 -1
  30. package/lib/Subtitle2Stronger.js +2 -0
  31. package/lib/Subtitle2Stronger.js.map +1 -0
  32. package/lib/Title1.js +1 -1
  33. package/lib/Title1.js.map +1 -1
  34. package/lib/Title2.js +1 -1
  35. package/lib/Title2.js.map +1 -1
  36. package/lib/Title3.js +1 -1
  37. package/lib/Title3.js.map +1 -1
  38. package/lib/components/Text/Text.types.js.map +1 -1
  39. package/lib/components/{Body1 → presets/Body1}/Body1.js +3 -3
  40. package/lib/components/presets/Body1/Body1.js.map +1 -0
  41. package/lib/components/{Body1 → presets/Body1}/index.js +0 -0
  42. package/lib/components/presets/Body1/index.js.map +1 -0
  43. package/lib/components/presets/Body1Strong/Body1Strong.js +28 -0
  44. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -0
  45. package/lib/components/presets/Body1Strong/index.js +2 -0
  46. package/lib/components/presets/Body1Strong/index.js.map +1 -0
  47. package/lib/components/presets/Body1Stronger/Body1Stronger.js +28 -0
  48. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
  49. package/lib/components/presets/Body1Stronger/index.js +2 -0
  50. package/lib/components/presets/Body1Stronger/index.js.map +1 -0
  51. package/lib/components/presets/Body2/Body2.js +28 -0
  52. package/lib/components/presets/Body2/Body2.js.map +1 -0
  53. package/lib/components/presets/Body2/index.js +2 -0
  54. package/lib/components/presets/Body2/index.js.map +1 -0
  55. package/lib/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
  56. package/lib/components/presets/Caption1/Caption1.js.map +1 -0
  57. package/lib/components/{Caption1 → presets/Caption1}/index.js +0 -0
  58. package/lib/components/presets/Caption1/index.js.map +1 -0
  59. package/lib/components/presets/Caption1Strong/Caption1Strong.js +28 -0
  60. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
  61. package/lib/components/presets/Caption1Strong/index.js +2 -0
  62. package/lib/components/presets/Caption1Strong/index.js.map +1 -0
  63. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +28 -0
  64. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
  65. package/lib/components/presets/Caption1Stronger/index.js +2 -0
  66. package/lib/components/presets/Caption1Stronger/index.js.map +1 -0
  67. package/lib/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
  68. package/lib/components/presets/Caption2/Caption2.js.map +1 -0
  69. package/lib/components/{Caption2 → presets/Caption2}/index.js +0 -0
  70. package/lib/components/presets/Caption2/index.js.map +1 -0
  71. package/lib/components/presets/Caption2Strong/Caption2Strong.js +28 -0
  72. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
  73. package/lib/components/presets/Caption2Strong/index.js +2 -0
  74. package/lib/components/presets/Caption2Strong/index.js.map +1 -0
  75. package/lib/components/{Display → presets/Display}/Display.js +3 -3
  76. package/lib/components/presets/Display/Display.js.map +1 -0
  77. package/lib/components/{Display → presets/Display}/index.js +0 -0
  78. package/lib/components/presets/Display/index.js.map +1 -0
  79. package/lib/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
  80. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -0
  81. package/lib/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
  82. package/lib/components/presets/LargeTitle/index.js.map +1 -0
  83. package/lib/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
  84. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -0
  85. package/lib/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
  86. package/lib/components/presets/Subtitle1/index.js.map +1 -0
  87. package/lib/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
  88. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -0
  89. package/lib/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
  90. package/lib/components/presets/Subtitle2/index.js.map +1 -0
  91. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +28 -0
  92. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
  93. package/lib/components/presets/Subtitle2Stronger/index.js +2 -0
  94. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -0
  95. package/lib/components/{Title1 → presets/Title1}/Title1.js +3 -3
  96. package/lib/components/presets/Title1/Title1.js.map +1 -0
  97. package/lib/components/{Title1 → presets/Title1}/index.js +0 -0
  98. package/lib/components/presets/Title1/index.js.map +1 -0
  99. package/lib/components/{Title2 → presets/Title2}/Title2.js +3 -3
  100. package/lib/components/presets/Title2/Title2.js.map +1 -0
  101. package/lib/components/{Title2 → presets/Title2}/index.js +0 -0
  102. package/lib/components/presets/Title2/index.js.map +1 -0
  103. package/lib/components/{Title3 → presets/Title3}/Title3.js +3 -3
  104. package/lib/components/presets/Title3/Title3.js.map +1 -0
  105. package/lib/components/{Title3 → presets/Title3}/index.js +0 -0
  106. package/lib/components/presets/Title3/index.js.map +1 -0
  107. package/lib/components/{wrapper.js → presets/createPreset.js} +2 -2
  108. package/lib/components/presets/createPreset.js.map +1 -0
  109. package/lib/index.js +12 -5
  110. package/lib/index.js.map +1 -1
  111. package/lib-amd/Body1.js +1 -1
  112. package/lib-amd/Body1.js.map +1 -1
  113. package/lib-amd/Body1Strong.js +6 -0
  114. package/lib-amd/Body1Strong.js.map +1 -0
  115. package/lib-amd/Body1Stronger.js +6 -0
  116. package/lib-amd/Body1Stronger.js.map +1 -0
  117. package/lib-amd/Body2.js +6 -0
  118. package/lib-amd/Body2.js.map +1 -0
  119. package/lib-amd/Caption1.js +1 -1
  120. package/lib-amd/Caption1.js.map +1 -1
  121. package/lib-amd/Caption1Strong.js +6 -0
  122. package/lib-amd/Caption1Strong.js.map +1 -0
  123. package/lib-amd/Caption1Stronger.js +6 -0
  124. package/lib-amd/Caption1Stronger.js.map +1 -0
  125. package/lib-amd/Caption2.js +1 -1
  126. package/lib-amd/Caption2.js.map +1 -1
  127. package/lib-amd/Caption2Strong.js +6 -0
  128. package/lib-amd/Caption2Strong.js.map +1 -0
  129. package/lib-amd/Display.js +1 -1
  130. package/lib-amd/Display.js.map +1 -1
  131. package/lib-amd/LargeTitle.js +1 -1
  132. package/lib-amd/LargeTitle.js.map +1 -1
  133. package/lib-amd/Subtitle1.js +1 -1
  134. package/lib-amd/Subtitle1.js.map +1 -1
  135. package/lib-amd/Subtitle2.js +1 -1
  136. package/lib-amd/Subtitle2.js.map +1 -1
  137. package/lib-amd/Subtitle2Stronger.js +6 -0
  138. package/lib-amd/Subtitle2Stronger.js.map +1 -0
  139. package/lib-amd/Title1.js +1 -1
  140. package/lib-amd/Title1.js.map +1 -1
  141. package/lib-amd/Title2.js +1 -1
  142. package/lib-amd/Title2.js.map +1 -1
  143. package/lib-amd/Title3.js +1 -1
  144. package/lib-amd/Title3.js.map +1 -1
  145. package/lib-amd/components/Text/Text.types.js.map +1 -1
  146. package/lib-amd/components/{Body1 → presets/Body1}/Body1.js +3 -3
  147. package/lib-amd/components/presets/Body1/Body1.js.map +1 -0
  148. package/lib-amd/components/{Body1 → presets/Body1}/index.js +0 -0
  149. package/lib-amd/components/presets/Body1/index.js.map +1 -0
  150. package/lib-amd/components/presets/Body1Strong/Body1Strong.js +23 -0
  151. package/lib-amd/components/presets/Body1Strong/Body1Strong.js.map +1 -0
  152. package/lib-amd/components/presets/Body1Strong/index.js +6 -0
  153. package/lib-amd/components/presets/Body1Strong/index.js.map +1 -0
  154. package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js +23 -0
  155. package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
  156. package/lib-amd/components/presets/Body1Stronger/index.js +6 -0
  157. package/lib-amd/components/presets/Body1Stronger/index.js.map +1 -0
  158. package/lib-amd/components/presets/Body2/Body2.js +23 -0
  159. package/lib-amd/components/presets/Body2/Body2.js.map +1 -0
  160. package/lib-amd/components/presets/Body2/index.js +6 -0
  161. package/lib-amd/components/presets/Body2/index.js.map +1 -0
  162. package/lib-amd/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
  163. package/lib-amd/components/presets/Caption1/Caption1.js.map +1 -0
  164. package/lib-amd/components/{Caption1 → presets/Caption1}/index.js +0 -0
  165. package/lib-amd/components/presets/Caption1/index.js.map +1 -0
  166. package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js +23 -0
  167. package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
  168. package/lib-amd/components/presets/Caption1Strong/index.js +6 -0
  169. package/lib-amd/components/presets/Caption1Strong/index.js.map +1 -0
  170. package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js +23 -0
  171. package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
  172. package/lib-amd/components/presets/Caption1Stronger/index.js +6 -0
  173. package/lib-amd/components/presets/Caption1Stronger/index.js.map +1 -0
  174. package/lib-amd/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
  175. package/lib-amd/components/presets/Caption2/Caption2.js.map +1 -0
  176. package/lib-amd/components/{Caption2 → presets/Caption2}/index.js +0 -0
  177. package/lib-amd/components/presets/Caption2/index.js.map +1 -0
  178. package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js +23 -0
  179. package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
  180. package/lib-amd/components/presets/Caption2Strong/index.js +6 -0
  181. package/lib-amd/components/presets/Caption2Strong/index.js.map +1 -0
  182. package/lib-amd/components/{Display → presets/Display}/Display.js +3 -3
  183. package/lib-amd/components/presets/Display/Display.js.map +1 -0
  184. package/lib-amd/components/{Display → presets/Display}/index.js +0 -0
  185. package/lib-amd/components/presets/Display/index.js.map +1 -0
  186. package/lib-amd/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
  187. package/lib-amd/components/presets/LargeTitle/LargeTitle.js.map +1 -0
  188. package/lib-amd/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
  189. package/lib-amd/components/presets/LargeTitle/index.js.map +1 -0
  190. package/lib-amd/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
  191. package/lib-amd/components/presets/Subtitle1/Subtitle1.js.map +1 -0
  192. package/lib-amd/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
  193. package/lib-amd/components/presets/Subtitle1/index.js.map +1 -0
  194. package/lib-amd/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
  195. package/lib-amd/components/presets/Subtitle2/Subtitle2.js.map +1 -0
  196. package/lib-amd/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
  197. package/lib-amd/components/presets/Subtitle2/index.js.map +1 -0
  198. package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +23 -0
  199. package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
  200. package/lib-amd/components/presets/Subtitle2Stronger/index.js +6 -0
  201. package/lib-amd/components/presets/Subtitle2Stronger/index.js.map +1 -0
  202. package/lib-amd/components/{Title1 → presets/Title1}/Title1.js +3 -3
  203. package/lib-amd/components/presets/Title1/Title1.js.map +1 -0
  204. package/lib-amd/components/{Title1 → presets/Title1}/index.js +0 -0
  205. package/lib-amd/components/presets/Title1/index.js.map +1 -0
  206. package/lib-amd/components/{Title2 → presets/Title2}/Title2.js +3 -3
  207. package/lib-amd/components/presets/Title2/Title2.js.map +1 -0
  208. package/lib-amd/components/{Title2 → presets/Title2}/index.js +0 -0
  209. package/lib-amd/components/presets/Title2/index.js.map +1 -0
  210. package/lib-amd/components/{Title3 → presets/Title3}/Title3.js +3 -3
  211. package/lib-amd/components/presets/Title3/Title3.js.map +1 -0
  212. package/lib-amd/components/{Title3 → presets/Title3}/index.js +0 -0
  213. package/lib-amd/components/presets/Title3/index.js.map +1 -0
  214. package/lib-amd/components/{wrapper.js → presets/createPreset.js} +4 -4
  215. package/lib-amd/components/presets/createPreset.js.map +1 -0
  216. package/lib-amd/index.js +26 -12
  217. package/lib-amd/index.js.map +1 -1
  218. package/lib-commonjs/Body1.js +1 -1
  219. package/lib-commonjs/Body1.js.map +1 -1
  220. package/lib-commonjs/Body1Strong.js +8 -0
  221. package/lib-commonjs/Body1Strong.js.map +1 -0
  222. package/lib-commonjs/Body1Stronger.js +8 -0
  223. package/lib-commonjs/Body1Stronger.js.map +1 -0
  224. package/lib-commonjs/Body2.js +8 -0
  225. package/lib-commonjs/{components/Caption2/index.js.map → Body2.js.map} +1 -1
  226. package/lib-commonjs/Caption1.js +1 -1
  227. package/lib-commonjs/Caption1.js.map +1 -1
  228. package/lib-commonjs/Caption1Strong.js +8 -0
  229. package/lib-commonjs/Caption1Strong.js.map +1 -0
  230. package/lib-commonjs/Caption1Stronger.js +8 -0
  231. package/lib-commonjs/Caption1Stronger.js.map +1 -0
  232. package/lib-commonjs/Caption2.js +1 -1
  233. package/lib-commonjs/Caption2.js.map +1 -1
  234. package/lib-commonjs/Caption2Strong.js +8 -0
  235. package/lib-commonjs/Caption2Strong.js.map +1 -0
  236. package/lib-commonjs/Display.js +1 -1
  237. package/lib-commonjs/Display.js.map +1 -1
  238. package/lib-commonjs/LargeTitle.js +1 -1
  239. package/lib-commonjs/LargeTitle.js.map +1 -1
  240. package/lib-commonjs/Subtitle1.js +1 -1
  241. package/lib-commonjs/Subtitle1.js.map +1 -1
  242. package/lib-commonjs/Subtitle2.js +1 -1
  243. package/lib-commonjs/Subtitle2.js.map +1 -1
  244. package/lib-commonjs/Subtitle2Stronger.js +8 -0
  245. package/lib-commonjs/Subtitle2Stronger.js.map +1 -0
  246. package/lib-commonjs/Title1.js +1 -1
  247. package/lib-commonjs/Title1.js.map +1 -1
  248. package/lib-commonjs/Title2.js +1 -1
  249. package/lib-commonjs/Title2.js.map +1 -1
  250. package/lib-commonjs/Title3.js +1 -1
  251. package/lib-commonjs/Title3.js.map +1 -1
  252. package/lib-commonjs/components/{Body1 → presets/Body1}/Body1.js +3 -3
  253. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -0
  254. package/lib-commonjs/components/{Body1 → presets/Body1}/index.js +0 -0
  255. package/lib-commonjs/components/{Body1 → presets/Body1}/index.js.map +1 -1
  256. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -0
  257. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -0
  258. package/lib-commonjs/components/presets/Body1Strong/index.js +8 -0
  259. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -0
  260. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -0
  261. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
  262. package/lib-commonjs/components/presets/Body1Stronger/index.js +8 -0
  263. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -0
  264. package/lib-commonjs/components/presets/Body2/Body2.js +34 -0
  265. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -0
  266. package/lib-commonjs/components/presets/Body2/index.js +8 -0
  267. package/lib-commonjs/components/{Caption1 → presets/Body2}/index.js.map +1 -1
  268. package/lib-commonjs/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
  269. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -0
  270. package/lib-commonjs/components/{Caption1 → presets/Caption1}/index.js +0 -0
  271. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -0
  272. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -0
  273. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
  274. package/lib-commonjs/components/presets/Caption1Strong/index.js +8 -0
  275. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -0
  276. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -0
  277. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
  278. package/lib-commonjs/components/presets/Caption1Stronger/index.js +8 -0
  279. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -0
  280. package/lib-commonjs/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
  281. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -0
  282. package/lib-commonjs/components/{Caption2 → presets/Caption2}/index.js +0 -0
  283. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -0
  284. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -0
  285. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
  286. package/lib-commonjs/components/presets/Caption2Strong/index.js +8 -0
  287. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -0
  288. package/lib-commonjs/components/{Display → presets/Display}/Display.js +3 -3
  289. package/lib-commonjs/components/presets/Display/Display.js.map +1 -0
  290. package/lib-commonjs/components/{Display → presets/Display}/index.js +0 -0
  291. package/lib-commonjs/components/presets/Display/index.js.map +1 -0
  292. package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
  293. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -0
  294. package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
  295. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -0
  296. package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
  297. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -0
  298. package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
  299. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -0
  300. package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
  301. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -0
  302. package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
  303. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -0
  304. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -0
  305. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
  306. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +8 -0
  307. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -0
  308. package/lib-commonjs/components/{Title1 → presets/Title1}/Title1.js +3 -3
  309. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -0
  310. package/lib-commonjs/components/{Title1 → presets/Title1}/index.js +0 -0
  311. package/lib-commonjs/components/{Display → presets/Title1}/index.js.map +1 -1
  312. package/lib-commonjs/components/{Title2 → presets/Title2}/Title2.js +3 -3
  313. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -0
  314. package/lib-commonjs/components/{Title2 → presets/Title2}/index.js +0 -0
  315. package/lib-commonjs/components/presets/Title2/index.js.map +1 -0
  316. package/lib-commonjs/components/{Title3 → presets/Title3}/Title3.js +3 -3
  317. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -0
  318. package/lib-commonjs/components/{Title3 → presets/Title3}/index.js +0 -0
  319. package/lib-commonjs/components/presets/Title3/index.js.map +1 -0
  320. package/lib-commonjs/components/{wrapper.js → presets/createPreset.js} +4 -4
  321. package/lib-commonjs/components/presets/createPreset.js.map +1 -0
  322. package/lib-commonjs/index.js +132 -41
  323. package/lib-commonjs/index.js.map +1 -1
  324. package/package.json +2 -2
  325. package/lib/components/Body1/Body1.js.map +0 -1
  326. package/lib/components/Body1/index.js.map +0 -1
  327. package/lib/components/Caption1/Caption1.js.map +0 -1
  328. package/lib/components/Caption1/index.js.map +0 -1
  329. package/lib/components/Caption2/Caption2.js.map +0 -1
  330. package/lib/components/Caption2/index.js.map +0 -1
  331. package/lib/components/Display/Display.js.map +0 -1
  332. package/lib/components/Display/index.js.map +0 -1
  333. package/lib/components/LargeTitle/LargeTitle.js.map +0 -1
  334. package/lib/components/LargeTitle/index.js.map +0 -1
  335. package/lib/components/Subtitle1/Subtitle1.js.map +0 -1
  336. package/lib/components/Subtitle1/index.js.map +0 -1
  337. package/lib/components/Subtitle2/Subtitle2.js.map +0 -1
  338. package/lib/components/Subtitle2/index.js.map +0 -1
  339. package/lib/components/Title1/Title1.js.map +0 -1
  340. package/lib/components/Title1/index.js.map +0 -1
  341. package/lib/components/Title2/Title2.js.map +0 -1
  342. package/lib/components/Title2/index.js.map +0 -1
  343. package/lib/components/Title3/Title3.js.map +0 -1
  344. package/lib/components/Title3/index.js.map +0 -1
  345. package/lib/components/wrapper.js.map +0 -1
  346. package/lib-amd/components/Body1/Body1.js.map +0 -1
  347. package/lib-amd/components/Body1/index.js.map +0 -1
  348. package/lib-amd/components/Caption1/Caption1.js.map +0 -1
  349. package/lib-amd/components/Caption1/index.js.map +0 -1
  350. package/lib-amd/components/Caption2/Caption2.js.map +0 -1
  351. package/lib-amd/components/Caption2/index.js.map +0 -1
  352. package/lib-amd/components/Display/Display.js.map +0 -1
  353. package/lib-amd/components/Display/index.js.map +0 -1
  354. package/lib-amd/components/LargeTitle/LargeTitle.js.map +0 -1
  355. package/lib-amd/components/LargeTitle/index.js.map +0 -1
  356. package/lib-amd/components/Subtitle1/Subtitle1.js.map +0 -1
  357. package/lib-amd/components/Subtitle1/index.js.map +0 -1
  358. package/lib-amd/components/Subtitle2/Subtitle2.js.map +0 -1
  359. package/lib-amd/components/Subtitle2/index.js.map +0 -1
  360. package/lib-amd/components/Title1/Title1.js.map +0 -1
  361. package/lib-amd/components/Title1/index.js.map +0 -1
  362. package/lib-amd/components/Title2/Title2.js.map +0 -1
  363. package/lib-amd/components/Title2/index.js.map +0 -1
  364. package/lib-amd/components/Title3/Title3.js.map +0 -1
  365. package/lib-amd/components/Title3/index.js.map +0 -1
  366. package/lib-amd/components/wrapper.js.map +0 -1
  367. package/lib-commonjs/components/Body1/Body1.js.map +0 -1
  368. package/lib-commonjs/components/Caption1/Caption1.js.map +0 -1
  369. package/lib-commonjs/components/Caption2/Caption2.js.map +0 -1
  370. package/lib-commonjs/components/Display/Display.js.map +0 -1
  371. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +0 -1
  372. package/lib-commonjs/components/LargeTitle/index.js.map +0 -1
  373. package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +0 -1
  374. package/lib-commonjs/components/Subtitle1/index.js.map +0 -1
  375. package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +0 -1
  376. package/lib-commonjs/components/Subtitle2/index.js.map +0 -1
  377. package/lib-commonjs/components/Title1/Title1.js.map +0 -1
  378. package/lib-commonjs/components/Title1/index.js.map +0 -1
  379. package/lib-commonjs/components/Title2/Title2.js.map +0 -1
  380. package/lib-commonjs/components/Title2/index.js.map +0 -1
  381. package/lib-commonjs/components/Title3/Title3.js.map +0 -1
  382. package/lib-commonjs/components/Title3/index.js.map +0 -1
  383. package/lib-commonjs/components/wrapper.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,43 @@
2
2
  "name": "@fluentui/react-text",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 26 Jan 2023 13:27:53 GMT",
5
+ "date": "Fri, 10 Feb 2023 08:46:47 GMT",
6
+ "tag": "@fluentui/react-text_v9.2.1",
7
+ "version": "9.2.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-text",
13
+ "comment": "Bump @fluentui/react-utilities to v9.5.2",
14
+ "commit": "cc62f050f8231e8f21a2cf7dddf33003e0ba3931"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 31 Jan 2023 19:53:57 GMT",
21
+ "tag": "@fluentui/react-text_v9.2.0",
22
+ "version": "9.2.0",
23
+ "comments": {
24
+ "minor": [
25
+ {
26
+ "author": "marcosvmmoura@gmail.com",
27
+ "package": "@fluentui/react-text",
28
+ "commit": "7e7f876324b0a1512c3163939180b875d69bd3bb",
29
+ "comment": "feat: expose all typography tokens as components"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui/react-text",
34
+ "comment": "Bump @fluentui/react-utilities to v9.5.1",
35
+ "commit": "794d9e845cb952f597ba786e70cd8d248be62746"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Thu, 26 Jan 2023 13:31:03 GMT",
6
42
  "tag": "@fluentui/react-text_v9.1.14",
7
43
  "version": "9.1.14",
8
44
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Thu, 26 Jan 2023 13:27:53 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 10 Feb 2023 08:46:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.2.1)
8
+
9
+ Fri, 10 Feb 2023 08:46:47 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.2.0..@fluentui/react-text_v9.2.1)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-utilities to v9.5.2 ([commit](https://github.com/microsoft/fluentui/commit/cc62f050f8231e8f21a2cf7dddf33003e0ba3931) by beachball)
15
+
16
+ ## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.2.0)
17
+
18
+ Tue, 31 Jan 2023 19:53:57 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.1.14..@fluentui/react-text_v9.2.0)
20
+
21
+ ### Minor changes
22
+
23
+ - feat: expose all typography tokens as components ([PR #26403](https://github.com/microsoft/fluentui/pull/26403) by marcosvmmoura@gmail.com)
24
+ - Bump @fluentui/react-utilities to v9.5.1 ([PR #26557](https://github.com/microsoft/fluentui/pull/26557) by beachball)
25
+
7
26
  ## [9.1.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.1.14)
8
27
 
9
- Thu, 26 Jan 2023 13:27:53 GMT
28
+ Thu, 26 Jan 2023 13:31:03 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.1.13..@fluentui/react-text_v9.1.14)
11
30
 
12
31
  ### Patches
package/dist/index.d.ts CHANGED
@@ -7,37 +7,79 @@ import type { Slot } from '@fluentui/react-utilities';
7
7
  import { SlotClassNames } from '@fluentui/react-utilities';
8
8
 
9
9
  /**
10
- * Text wrapper component for the Body1 typography variant
10
+ * Text preset component for the Body1 typography variant
11
11
  */
12
- export declare const Body1: FunctionComponent<TextWrapperProps>;
12
+ export declare const Body1: FunctionComponent<TextPresetProps>;
13
13
 
14
14
  export declare const body1ClassNames: SlotClassNames<TextSlots>;
15
15
 
16
16
  /**
17
- * Text wrapper component for the Caption1 typography variant
17
+ * Text preset component for the Body1Strong typography variant
18
18
  */
19
- export declare const Caption1: FunctionComponent<TextWrapperProps>;
19
+ export declare const Body1Strong: FunctionComponent<TextPresetProps>;
20
+
21
+ export declare const body1StrongClassNames: SlotClassNames<TextSlots>;
22
+
23
+ /**
24
+ * Text preset component for the Body1Stronger typography variant
25
+ */
26
+ export declare const Body1Stronger: FunctionComponent<TextPresetProps>;
27
+
28
+ export declare const body1StrongerClassNames: SlotClassNames<TextSlots>;
29
+
30
+ /**
31
+ * Text preset component for the Body2 typography variant
32
+ */
33
+ export declare const Body2: FunctionComponent<TextPresetProps>;
34
+
35
+ export declare const body2ClassNames: SlotClassNames<TextSlots>;
36
+
37
+ /**
38
+ * Text preset component for the Caption1 typography variant
39
+ */
40
+ export declare const Caption1: FunctionComponent<TextPresetProps>;
20
41
 
21
42
  export declare const caption1ClassNames: SlotClassNames<TextSlots>;
22
43
 
23
44
  /**
24
- * Text wrapper component for the Caption2 typography variant
45
+ * Text preset component for the Caption1Strong typography variant
46
+ */
47
+ export declare const Caption1Strong: FunctionComponent<TextPresetProps>;
48
+
49
+ export declare const caption1StrongClassNames: SlotClassNames<TextSlots>;
50
+
51
+ /**
52
+ * Text preset component for the Caption1Stronger typography variant
25
53
  */
26
- export declare const Caption2: FunctionComponent<TextWrapperProps>;
54
+ export declare const Caption1Stronger: FunctionComponent<TextPresetProps>;
55
+
56
+ export declare const caption1StrongerClassNames: SlotClassNames<TextSlots>;
57
+
58
+ /**
59
+ * Text preset component for the Caption2 typography variant
60
+ */
61
+ export declare const Caption2: FunctionComponent<TextPresetProps>;
27
62
 
28
63
  export declare const caption2ClassNames: SlotClassNames<TextSlots>;
29
64
 
30
65
  /**
31
- * Text wrapper component for the Display typography variant
66
+ * Text preset component for the Caption2Strong typography variant
67
+ */
68
+ export declare const Caption2Strong: FunctionComponent<TextPresetProps>;
69
+
70
+ export declare const caption2StrongClassNames: SlotClassNames<TextSlots>;
71
+
72
+ /**
73
+ * Text preset component for the Display typography variant
32
74
  */
33
- export declare const Display: FunctionComponent<TextWrapperProps>;
75
+ export declare const Display: FunctionComponent<TextPresetProps>;
34
76
 
35
77
  export declare const displayClassNames: SlotClassNames<TextSlots>;
36
78
 
37
79
  /**
38
- * Text wrapper component for the Large Title typography variant
80
+ * Text preset component for the Large Title typography variant
39
81
  */
40
- export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
82
+ export declare const LargeTitle: FunctionComponent<TextPresetProps>;
41
83
 
42
84
  export declare const largeTitleClassNames: SlotClassNames<TextSlots>;
43
85
 
@@ -47,19 +89,26 @@ export declare const largeTitleClassNames: SlotClassNames<TextSlots>;
47
89
  export declare const renderText_unstable: (state: TextState) => JSX.Element;
48
90
 
49
91
  /**
50
- * Text wrapper component for the Subtitle1 typography variant
92
+ * Text preset component for the Subtitle1 typography variant
51
93
  */
52
- export declare const Subtitle1: FunctionComponent<TextWrapperProps>;
94
+ export declare const Subtitle1: FunctionComponent<TextPresetProps>;
53
95
 
54
96
  export declare const subtitle1ClassNames: SlotClassNames<TextSlots>;
55
97
 
56
98
  /**
57
- * Text wrapper component for the Subtitle2 typography variant
99
+ * Text preset component for the Subtitle2 typography variant
58
100
  */
59
- export declare const Subtitle2: FunctionComponent<TextWrapperProps>;
101
+ export declare const Subtitle2: FunctionComponent<TextPresetProps>;
60
102
 
61
103
  export declare const subtitle2ClassNames: SlotClassNames<TextSlots>;
62
104
 
105
+ /**
106
+ * Text preset component for the Subtitle2Stronger typography variant
107
+ */
108
+ export declare const Subtitle2Stronger: FunctionComponent<TextPresetProps>;
109
+
110
+ export declare const subtitle2StrongerClassNames: SlotClassNames<TextSlots>;
111
+
63
112
  /**
64
113
  * Typography and styling abstraction component used to ensure consistency of text.
65
114
  */
@@ -68,6 +117,11 @@ export { Text_2 as Text }
68
117
 
69
118
  export declare const textClassNames: SlotClassNames<TextSlots>;
70
119
 
120
+ /**
121
+ * TextPreset Props
122
+ */
123
+ export declare type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;
124
+
71
125
  /**
72
126
  * Text Props
73
127
  */
@@ -97,7 +151,7 @@ export declare type TextProps = ComponentProps<TextSlots> & {
97
151
  */
98
152
  italic?: boolean;
99
153
  /**
100
- * Applies font size and line height based on the theme tokens.
154
+ * Applies font size and line height based on the theme typography tokens.
101
155
  *
102
156
  * @default 300
103
157
  */
@@ -146,26 +200,24 @@ export declare type TextSlots = {
146
200
  */
147
201
  export declare type TextState = ComponentState<TextSlots> & Required<Pick<TextProps, 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'>>;
148
202
 
149
- declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
150
-
151
203
  /**
152
- * Text wrapper component for the Title 1 typography variant
204
+ * Text preset component for the Title 1 typography variant
153
205
  */
154
- export declare const Title1: FunctionComponent<TextWrapperProps>;
206
+ export declare const Title1: FunctionComponent<TextPresetProps>;
155
207
 
156
208
  export declare const title1ClassNames: SlotClassNames<TextSlots>;
157
209
 
158
210
  /**
159
- * Text wrapper component for the Title 2 typography variant
211
+ * Text preset component for the Title 2 typography variant
160
212
  */
161
- export declare const Title2: FunctionComponent<TextWrapperProps>;
213
+ export declare const Title2: FunctionComponent<TextPresetProps>;
162
214
 
163
215
  export declare const title2ClassNames: SlotClassNames<TextSlots>;
164
216
 
165
217
  /**
166
- * Text wrapper component for the Title 3 typography variant
218
+ * Text preset component for the Title 3 typography variant
167
219
  */
168
- export declare const Title3: FunctionComponent<TextWrapperProps>;
220
+ export declare const Title3: FunctionComponent<TextPresetProps>;
169
221
 
170
222
  export declare const title3ClassNames: SlotClassNames<TextSlots>;
171
223
 
package/lib/Body1.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Body1/index';
1
+ export * from './components/presets/Body1/index';
2
2
  //# sourceMappingURL=Body1.js.map
package/lib/Body1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Body1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Body1.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC","sourcesContent":["export * from './components/Body1/index';\n"]}
1
+ {"version":3,"file":"Body1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Body1.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/presets/Body1/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Body1Strong/index';
2
+ //# sourceMappingURL=Body1Strong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Body1Strong.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Body1Strong.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC","sourcesContent":["export * from './components/presets/Body1Strong/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Body1Stronger/index';
2
+ //# sourceMappingURL=Body1Stronger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Body1Stronger.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Body1Stronger.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC","sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"]}
package/lib/Body2.js ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Body2/index';
2
+ //# sourceMappingURL=Body2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Body2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Body2.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './components/presets/Body2/index';\n"]}
package/lib/Caption1.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Caption1/index';
1
+ export * from './components/presets/Caption1/index';
2
2
  //# sourceMappingURL=Caption1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Caption1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption1.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Caption1/index';\n"]}
1
+ {"version":3,"file":"Caption1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption1.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC","sourcesContent":["export * from './components/presets/Caption1/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Caption1Strong/index';
2
+ //# sourceMappingURL=Caption1Strong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Caption1Strong.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption1Strong.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Caption1Stronger/index';
2
+ //# sourceMappingURL=Caption1Stronger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Caption1Stronger.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption1Stronger.ts"],"names":[],"mappings":"AAAA,cAAc,6CAA6C,CAAC","sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"]}
package/lib/Caption2.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Caption2/index';
1
+ export * from './components/presets/Caption2/index';
2
2
  //# sourceMappingURL=Caption2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Caption2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption2.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Caption2/index';\n"]}
1
+ {"version":3,"file":"Caption2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption2.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC","sourcesContent":["export * from './components/presets/Caption2/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Caption2Strong/index';
2
+ //# sourceMappingURL=Caption2Strong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Caption2Strong.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Caption2Strong.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"]}
package/lib/Display.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Display/index';
1
+ export * from './components/presets/Display/index';
2
2
  //# sourceMappingURL=Display.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Display.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Display.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Display/index';\n"]}
1
+ {"version":3,"file":"Display.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Display.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC","sourcesContent":["export * from './components/presets/Display/index';\n"]}
package/lib/LargeTitle.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/LargeTitle/index';
1
+ export * from './components/presets/LargeTitle/index';
2
2
  //# sourceMappingURL=LargeTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LargeTitle.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/LargeTitle/index';\n"]}
1
+ {"version":3,"file":"LargeTitle.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC","sourcesContent":["export * from './components/presets/LargeTitle/index';\n"]}
package/lib/Subtitle1.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Subtitle1/index';
1
+ export * from './components/presets/Subtitle1/index';
2
2
  //# sourceMappingURL=Subtitle1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Subtitle1.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './components/Subtitle1/index';\n"]}
1
+ {"version":3,"file":"Subtitle1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Subtitle1.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC","sourcesContent":["export * from './components/presets/Subtitle1/index';\n"]}
package/lib/Subtitle2.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Subtitle2/index';
1
+ export * from './components/presets/Subtitle2/index';
2
2
  //# sourceMappingURL=Subtitle2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Subtitle2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Subtitle2.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './components/Subtitle2/index';\n"]}
1
+ {"version":3,"file":"Subtitle2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Subtitle2.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC","sourcesContent":["export * from './components/presets/Subtitle2/index';\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './components/presets/Subtitle2Stronger/index';
2
+ //# sourceMappingURL=Subtitle2Stronger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Subtitle2Stronger.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Subtitle2Stronger.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC","sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"]}
package/lib/Title1.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Title1/index';
1
+ export * from './components/presets/Title1/index';
2
2
  //# sourceMappingURL=Title1.js.map
package/lib/Title1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title1.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title1/index';\n"]}
1
+ {"version":3,"file":"Title1.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title1.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/presets/Title1/index';\n"]}
package/lib/Title2.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Title2/index';
1
+ export * from './components/presets/Title2/index';
2
2
  //# sourceMappingURL=Title2.js.map
package/lib/Title2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title2.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title2/index';\n"]}
1
+ {"version":3,"file":"Title2.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title2.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/presets/Title2/index';\n"]}
package/lib/Title3.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from './components/Title3/index';
1
+ export * from './components/presets/Title3/index';
2
2
  //# sourceMappingURL=Title3.js.map
package/lib/Title3.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Title3.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title3.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title3/index';\n"]}
1
+ {"version":3,"file":"Title3.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/Title3.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/presets/Title3/index';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Text.types.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"]}
1
+ {"version":3,"file":"Text.types.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"]}
@@ -1,5 +1,5 @@
1
1
  import { __styles } from '@griffel/react';
2
- import { createWrapper } from '../wrapper';
2
+ import { createPreset } from '../createPreset';
3
3
  import { typographyStyles } from '@fluentui/react-theme';
4
4
  export const body1ClassNames = {
5
5
  root: 'fui-Body1'
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
18
18
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
19
  });
20
20
  /**
21
- * Text wrapper component for the Body1 typography variant
21
+ * Text preset component for the Body1 typography variant
22
22
  */
23
- export const Body1 = /*#__PURE__*/createWrapper({
23
+ export const Body1 = /*#__PURE__*/createPreset({
24
24
  useStyles,
25
25
  className: body1ClassNames.root,
26
26
  displayName: 'Body1'
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,KAAK,gBAAuCL,YAAY,CAAC;EACpEI,SAAS;EACTE,SAAS,EAAEJ,eAAe,CAACC,IAAI;EAC/BI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","body1ClassNames","root","useStyles","Body1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './Body1';\n"]}
@@ -0,0 +1,28 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { createPreset } from '../createPreset';
3
+ import { typographyStyles } from '@fluentui/react-theme';
4
+ export const body1StrongClassNames = {
5
+ root: 'fui-Body1Strong'
6
+ };
7
+ /**
8
+ * Styles for the root slot
9
+ */
10
+ const useStyles = /*#__PURE__*/__styles({
11
+ root: {
12
+ Bahqtrf: "fk6fouc",
13
+ Be2twd7: "fkhj508",
14
+ Bhrd7zp: "fl43uef",
15
+ Bg96gwp: "f1i3iumi"
16
+ }
17
+ }, {
18
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
+ });
20
+ /**
21
+ * Text preset component for the Body1Strong typography variant
22
+ */
23
+ export const Body1Strong = /*#__PURE__*/createPreset({
24
+ useStyles,
25
+ className: body1StrongClassNames.root,
26
+ displayName: 'Body1Strong'
27
+ });
28
+ //# sourceMappingURL=Body1Strong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,qBAAqB,GAA8B;EAC9DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,WAAW,gBAAuCL,YAAY,CAAC;EAC1EI,SAAS;EACTE,SAAS,EAAEJ,qBAAqB,CAACC,IAAI;EACrCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","body1StrongClassNames","root","useStyles","Body1Strong","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './Body1Strong';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1Strong/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './Body1Strong';\n"]}
@@ -0,0 +1,28 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { createPreset } from '../createPreset';
3
+ import { typographyStyles } from '@fluentui/react-theme';
4
+ export const body1StrongerClassNames = {
5
+ root: 'fui-Body1Stronger'
6
+ };
7
+ /**
8
+ * Styles for the root slot
9
+ */
10
+ const useStyles = /*#__PURE__*/__styles({
11
+ root: {
12
+ Bahqtrf: "fk6fouc",
13
+ Be2twd7: "fkhj508",
14
+ Bhrd7zp: "flh3ekv",
15
+ Bg96gwp: "f1i3iumi"
16
+ }
17
+ }, {
18
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
+ });
20
+ /**
21
+ * Text preset component for the Body1Stronger typography variant
22
+ */
23
+ export const Body1Stronger = /*#__PURE__*/createPreset({
24
+ useStyles,
25
+ className: body1StrongerClassNames.root,
26
+ displayName: 'Body1Stronger'
27
+ });
28
+ //# sourceMappingURL=Body1Stronger.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,uBAAuB,GAA8B;EAChEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,aAAa,gBAAuCL,YAAY,CAAC;EAC5EI,SAAS;EACTE,SAAS,EAAEJ,uBAAuB,CAACC,IAAI;EACvCI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","body1StrongerClassNames","root","useStyles","Body1Stronger","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './Body1Stronger';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body1Stronger/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './Body1Stronger';\n"]}
@@ -0,0 +1,28 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { createPreset } from '../createPreset';
3
+ import { typographyStyles } from '@fluentui/react-theme';
4
+ export const body2ClassNames = {
5
+ root: 'fui-Body2'
6
+ };
7
+ /**
8
+ * Styles for the root slot
9
+ */
10
+ const useStyles = /*#__PURE__*/__styles({
11
+ root: {
12
+ Bahqtrf: "fk6fouc",
13
+ Be2twd7: "fod5ikn",
14
+ Bhrd7zp: "figsok6",
15
+ Bg96gwp: "faaz57k"
16
+ }
17
+ }, {
18
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
19
+ });
20
+ /**
21
+ * Text preset component for the Body2 typography variant
22
+ */
23
+ export const Body2 = /*#__PURE__*/createPreset({
24
+ useStyles,
25
+ className: body2ClassNames.root,
26
+ displayName: 'Body2'
27
+ });
28
+ //# sourceMappingURL=Body2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,YAAY,QAAQ,iBAAiB;AAG9C,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,KAAK,gBAAuCL,YAAY,CAAC;EACpEI,SAAS;EACTE,SAAS,EAAEJ,eAAe,CAACC,IAAI;EAC/BI,WAAW,EAAE;CACd,CAAC","names":["createPreset","typographyStyles","body2ClassNames","root","useStyles","Body2","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body2,\n});\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"]}
@@ -0,0 +1,2 @@
1
+ export * from './Body2';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/presets/Body2/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './Body2';\n"]}
@@ -1,5 +1,5 @@
1
1
  import { __styles } from '@griffel/react';
2
- import { createWrapper } from '../wrapper';
2
+ import { createPreset } from '../createPreset';
3
3
  import { typographyStyles } from '@fluentui/react-theme';
4
4
  export const caption1ClassNames = {
5
5
  root: 'fui-Caption1'
@@ -18,9 +18,9 @@ const useStyles = /*#__PURE__*/__styles({
18
18
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
19
19
  });
20
20
  /**
21
- * Text wrapper component for the Caption1 typography variant
21
+ * Text preset component for the Caption1 typography variant
22
22
  */
23
- export const Caption1 = /*#__PURE__*/createWrapper({
23
+ export const Caption1 = /*#__PURE__*/createPreset({
24
24
  useStyles,
25
25
  className: caption1ClassNames.root,
26
26
  displayName: 'Caption1'