@fluentui/react-text 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.0

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 (362) hide show
  1. package/CHANGELOG.md +29 -9
  2. package/README.md +8 -0
  3. package/lib/components/Text/Text.js.map +1 -1
  4. package/lib/components/Text/Text.module.css +119 -0
  5. package/lib/components/Text/Text.types.js.map +1 -1
  6. package/lib/components/Text/index.js.map +1 -1
  7. package/lib/components/Text/renderText.js +2 -2
  8. package/lib/components/Text/renderText.js.map +1 -1
  9. package/lib/components/Text/useText.js.map +1 -1
  10. package/lib/components/Text/useTextStyles.styles.css.js +9 -0
  11. package/lib/components/Text/useTextStyles.styles.css.js.map +1 -0
  12. package/lib/components/Text/useTextStyles.styles.raw.css.js +9 -0
  13. package/lib/components/Text/useTextStyles.styles.raw.css.js.map +1 -0
  14. package/lib/components/Text/useTextStyles.styles.raw.js.map +1 -1
  15. package/lib/components/presets/Body1/Body1.js.map +1 -1
  16. package/lib/components/presets/Body1/index.js.map +1 -1
  17. package/lib/components/presets/Body1/useBody1Styles.styles.css.js +7 -0
  18. package/lib/components/presets/Body1/useBody1Styles.styles.css.js.map +1 -0
  19. package/lib/components/presets/Body1/useBody1Styles.styles.raw.css.js +7 -0
  20. package/lib/components/presets/Body1/useBody1Styles.styles.raw.css.js.map +1 -0
  21. package/lib/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -1
  22. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  23. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  24. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.css.js +7 -0
  25. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.css.js.map +1 -0
  26. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.js +7 -0
  27. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.js.map +1 -0
  28. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -1
  29. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  30. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  31. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.js +7 -0
  32. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.js.map +1 -0
  33. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.js +7 -0
  34. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.js.map +1 -0
  35. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -1
  36. package/lib/components/presets/Body2/Body2.js.map +1 -1
  37. package/lib/components/presets/Body2/index.js.map +1 -1
  38. package/lib/components/presets/Body2/useBody2Styles.styles.css.js +7 -0
  39. package/lib/components/presets/Body2/useBody2Styles.styles.css.js.map +1 -0
  40. package/lib/components/presets/Body2/useBody2Styles.styles.raw.css.js +7 -0
  41. package/lib/components/presets/Body2/useBody2Styles.styles.raw.css.js.map +1 -0
  42. package/lib/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -1
  43. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  44. package/lib/components/presets/Caption1/index.js.map +1 -1
  45. package/lib/components/presets/Caption1/useCaption1Styles.styles.css.js +7 -0
  46. package/lib/components/presets/Caption1/useCaption1Styles.styles.css.js.map +1 -0
  47. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.css.js +7 -0
  48. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.css.js.map +1 -0
  49. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -1
  50. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  51. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  52. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.js +7 -0
  53. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.js.map +1 -0
  54. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.js +7 -0
  55. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.js.map +1 -0
  56. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -1
  57. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  58. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  59. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.js +7 -0
  60. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.js.map +1 -0
  61. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.js +7 -0
  62. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.js.map +1 -0
  63. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -1
  64. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  65. package/lib/components/presets/Caption2/index.js.map +1 -1
  66. package/lib/components/presets/Caption2/useCaption2Styles.styles.css.js +7 -0
  67. package/lib/components/presets/Caption2/useCaption2Styles.styles.css.js.map +1 -0
  68. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.css.js +7 -0
  69. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.css.js.map +1 -0
  70. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -1
  71. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  72. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  73. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.js +7 -0
  74. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.js.map +1 -0
  75. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.js +7 -0
  76. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.js.map +1 -0
  77. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -1
  78. package/lib/components/presets/Display/Display.js.map +1 -1
  79. package/lib/components/presets/Display/index.js.map +1 -1
  80. package/lib/components/presets/Display/useDisplayStyles.styles.css.js +7 -0
  81. package/lib/components/presets/Display/useDisplayStyles.styles.css.js.map +1 -0
  82. package/lib/components/presets/Display/useDisplayStyles.styles.raw.css.js +7 -0
  83. package/lib/components/presets/Display/useDisplayStyles.styles.raw.css.js.map +1 -0
  84. package/lib/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -1
  85. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  86. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  87. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.css.js +7 -0
  88. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.css.js.map +1 -0
  89. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.js +7 -0
  90. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.js.map +1 -0
  91. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -1
  92. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  93. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  94. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.css.js +7 -0
  95. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.css.js.map +1 -0
  96. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.js +7 -0
  97. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.js.map +1 -0
  98. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -1
  99. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  100. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  101. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.css.js +7 -0
  102. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.css.js.map +1 -0
  103. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.js +7 -0
  104. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.js.map +1 -0
  105. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -1
  106. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  107. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  108. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.js +7 -0
  109. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.js.map +1 -0
  110. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.js +7 -0
  111. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.js.map +1 -0
  112. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -1
  113. package/lib/components/presets/TextPresets.module.css +96 -0
  114. package/lib/components/presets/Title1/Title1.js.map +1 -1
  115. package/lib/components/presets/Title1/index.js.map +1 -1
  116. package/lib/components/presets/Title1/useTitle1Styles.styles.css.js +7 -0
  117. package/lib/components/presets/Title1/useTitle1Styles.styles.css.js.map +1 -0
  118. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.css.js +7 -0
  119. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.css.js.map +1 -0
  120. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -1
  121. package/lib/components/presets/Title2/Title2.js.map +1 -1
  122. package/lib/components/presets/Title2/index.js.map +1 -1
  123. package/lib/components/presets/Title2/useTitle2Styles.styles.css.js +7 -0
  124. package/lib/components/presets/Title2/useTitle2Styles.styles.css.js.map +1 -0
  125. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.css.js +7 -0
  126. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.css.js.map +1 -0
  127. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -1
  128. package/lib/components/presets/Title3/Title3.js.map +1 -1
  129. package/lib/components/presets/Title3/index.js.map +1 -1
  130. package/lib/components/presets/Title3/useTitle3Styles.styles.css.js +7 -0
  131. package/lib/components/presets/Title3/useTitle3Styles.styles.css.js.map +1 -0
  132. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.css.js +7 -0
  133. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.css.js.map +1 -0
  134. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -1
  135. package/lib/components/presets/createPreset.js.map +1 -1
  136. package/lib-commonjs/Body1.cjs +3 -3
  137. package/lib-commonjs/Body1Strong.cjs +3 -3
  138. package/lib-commonjs/Body1Stronger.cjs +3 -3
  139. package/lib-commonjs/Body2.cjs +3 -3
  140. package/lib-commonjs/Caption1.cjs +3 -3
  141. package/lib-commonjs/Caption1Strong.cjs +3 -3
  142. package/lib-commonjs/Caption1Stronger.cjs +3 -3
  143. package/lib-commonjs/Caption2.cjs +3 -3
  144. package/lib-commonjs/Caption2Strong.cjs +3 -3
  145. package/lib-commonjs/Display.cjs +3 -3
  146. package/lib-commonjs/LargeTitle.cjs +3 -3
  147. package/lib-commonjs/Subtitle1.cjs +3 -3
  148. package/lib-commonjs/Subtitle2.cjs +3 -3
  149. package/lib-commonjs/Subtitle2Stronger.cjs +3 -3
  150. package/lib-commonjs/Text.cjs +6 -6
  151. package/lib-commonjs/Title1.cjs +3 -3
  152. package/lib-commonjs/Title2.cjs +3 -3
  153. package/lib-commonjs/Title3.cjs +3 -3
  154. package/lib-commonjs/components/Text/Text.cjs.map +1 -1
  155. package/lib-commonjs/components/Text/Text.module.css +119 -0
  156. package/lib-commonjs/components/Text/Text.types.cjs.map +1 -1
  157. package/lib-commonjs/components/Text/index.cjs +6 -6
  158. package/lib-commonjs/components/Text/index.cjs.map +1 -1
  159. package/lib-commonjs/components/Text/renderText.cjs.map +1 -1
  160. package/lib-commonjs/components/Text/useText.cjs.map +1 -1
  161. package/lib-commonjs/components/Text/useTextStyles.styles.cjs +3 -3
  162. package/lib-commonjs/components/Text/useTextStyles.styles.cjs.map +1 -1
  163. package/lib-commonjs/components/Text/useTextStyles.styles.css.cjs +28 -0
  164. package/lib-commonjs/components/Text/useTextStyles.styles.css.cjs.map +1 -0
  165. package/lib-commonjs/components/Text/useTextStyles.styles.raw.cjs +3 -3
  166. package/lib-commonjs/components/Text/useTextStyles.styles.raw.cjs.map +1 -1
  167. package/lib-commonjs/components/Text/useTextStyles.styles.raw.css.cjs +28 -0
  168. package/lib-commonjs/components/Text/useTextStyles.styles.raw.css.cjs.map +1 -0
  169. package/lib-commonjs/components/presets/Body1/Body1.cjs.map +1 -1
  170. package/lib-commonjs/components/presets/Body1/index.cjs +3 -3
  171. package/lib-commonjs/components/presets/Body1/index.cjs.map +1 -1
  172. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.cjs +3 -3
  173. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.cjs.map +1 -1
  174. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.css.cjs +26 -0
  175. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.css.cjs.map +1 -0
  176. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.cjs +3 -3
  177. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.cjs.map +1 -1
  178. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.css.cjs +26 -0
  179. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.css.cjs.map +1 -0
  180. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.cjs.map +1 -1
  181. package/lib-commonjs/components/presets/Body1Strong/index.cjs +3 -3
  182. package/lib-commonjs/components/presets/Body1Strong/index.cjs.map +1 -1
  183. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.cjs +3 -3
  184. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.cjs.map +1 -1
  185. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.css.cjs +26 -0
  186. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.css.cjs.map +1 -0
  187. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.cjs +3 -3
  188. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.cjs.map +1 -1
  189. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.cjs +26 -0
  190. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.css.cjs.map +1 -0
  191. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.cjs.map +1 -1
  192. package/lib-commonjs/components/presets/Body1Stronger/index.cjs +3 -3
  193. package/lib-commonjs/components/presets/Body1Stronger/index.cjs.map +1 -1
  194. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.cjs +3 -3
  195. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.cjs.map +1 -1
  196. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.cjs +26 -0
  197. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.cjs.map +1 -0
  198. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.cjs +3 -3
  199. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.cjs.map +1 -1
  200. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.cjs +26 -0
  201. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.css.cjs.map +1 -0
  202. package/lib-commonjs/components/presets/Body2/Body2.cjs.map +1 -1
  203. package/lib-commonjs/components/presets/Body2/index.cjs +3 -3
  204. package/lib-commonjs/components/presets/Body2/index.cjs.map +1 -1
  205. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.cjs +3 -3
  206. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.cjs.map +1 -1
  207. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.css.cjs +26 -0
  208. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.css.cjs.map +1 -0
  209. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.cjs +3 -3
  210. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.cjs.map +1 -1
  211. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.css.cjs +26 -0
  212. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.css.cjs.map +1 -0
  213. package/lib-commonjs/components/presets/Caption1/Caption1.cjs.map +1 -1
  214. package/lib-commonjs/components/presets/Caption1/index.cjs +3 -3
  215. package/lib-commonjs/components/presets/Caption1/index.cjs.map +1 -1
  216. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.cjs +3 -3
  217. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.cjs.map +1 -1
  218. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.css.cjs +26 -0
  219. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.css.cjs.map +1 -0
  220. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.cjs +3 -3
  221. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.cjs.map +1 -1
  222. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.css.cjs +26 -0
  223. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.css.cjs.map +1 -0
  224. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.cjs.map +1 -1
  225. package/lib-commonjs/components/presets/Caption1Strong/index.cjs +3 -3
  226. package/lib-commonjs/components/presets/Caption1Strong/index.cjs.map +1 -1
  227. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.cjs +3 -3
  228. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.cjs.map +1 -1
  229. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.cjs +26 -0
  230. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.css.cjs.map +1 -0
  231. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.cjs +3 -3
  232. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.cjs.map +1 -1
  233. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.cjs +26 -0
  234. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.css.cjs.map +1 -0
  235. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.cjs.map +1 -1
  236. package/lib-commonjs/components/presets/Caption1Stronger/index.cjs +3 -3
  237. package/lib-commonjs/components/presets/Caption1Stronger/index.cjs.map +1 -1
  238. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.cjs +3 -3
  239. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.cjs.map +1 -1
  240. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.cjs +26 -0
  241. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.css.cjs.map +1 -0
  242. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.cjs +3 -3
  243. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.cjs.map +1 -1
  244. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.cjs +26 -0
  245. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.css.cjs.map +1 -0
  246. package/lib-commonjs/components/presets/Caption2/Caption2.cjs.map +1 -1
  247. package/lib-commonjs/components/presets/Caption2/index.cjs +3 -3
  248. package/lib-commonjs/components/presets/Caption2/index.cjs.map +1 -1
  249. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.cjs +3 -3
  250. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.cjs.map +1 -1
  251. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.css.cjs +26 -0
  252. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.css.cjs.map +1 -0
  253. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.cjs +3 -3
  254. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.cjs.map +1 -1
  255. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.css.cjs +26 -0
  256. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.css.cjs.map +1 -0
  257. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.cjs.map +1 -1
  258. package/lib-commonjs/components/presets/Caption2Strong/index.cjs +3 -3
  259. package/lib-commonjs/components/presets/Caption2Strong/index.cjs.map +1 -1
  260. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.cjs +3 -3
  261. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.cjs.map +1 -1
  262. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.cjs +26 -0
  263. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.css.cjs.map +1 -0
  264. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.cjs +3 -3
  265. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.cjs.map +1 -1
  266. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.cjs +26 -0
  267. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.css.cjs.map +1 -0
  268. package/lib-commonjs/components/presets/Display/Display.cjs.map +1 -1
  269. package/lib-commonjs/components/presets/Display/index.cjs +3 -3
  270. package/lib-commonjs/components/presets/Display/index.cjs.map +1 -1
  271. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.cjs +3 -3
  272. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.cjs.map +1 -1
  273. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.css.cjs +26 -0
  274. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.css.cjs.map +1 -0
  275. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.cjs +3 -3
  276. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.cjs.map +1 -1
  277. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.css.cjs +26 -0
  278. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.css.cjs.map +1 -0
  279. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.cjs.map +1 -1
  280. package/lib-commonjs/components/presets/LargeTitle/index.cjs +3 -3
  281. package/lib-commonjs/components/presets/LargeTitle/index.cjs.map +1 -1
  282. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.cjs +3 -3
  283. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.cjs.map +1 -1
  284. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.css.cjs +26 -0
  285. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.css.cjs.map +1 -0
  286. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.cjs +3 -3
  287. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.cjs.map +1 -1
  288. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.cjs +26 -0
  289. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.css.cjs.map +1 -0
  290. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.cjs.map +1 -1
  291. package/lib-commonjs/components/presets/Subtitle1/index.cjs +3 -3
  292. package/lib-commonjs/components/presets/Subtitle1/index.cjs.map +1 -1
  293. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.cjs +3 -3
  294. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.cjs.map +1 -1
  295. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.css.cjs +26 -0
  296. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.css.cjs.map +1 -0
  297. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.cjs +3 -3
  298. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.cjs.map +1 -1
  299. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.cjs +26 -0
  300. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.css.cjs.map +1 -0
  301. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.cjs.map +1 -1
  302. package/lib-commonjs/components/presets/Subtitle2/index.cjs +3 -3
  303. package/lib-commonjs/components/presets/Subtitle2/index.cjs.map +1 -1
  304. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.cjs +3 -3
  305. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.cjs.map +1 -1
  306. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.css.cjs +26 -0
  307. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.css.cjs.map +1 -0
  308. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.cjs +3 -3
  309. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.cjs.map +1 -1
  310. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.cjs +26 -0
  311. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.css.cjs.map +1 -0
  312. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.cjs.map +1 -1
  313. package/lib-commonjs/components/presets/Subtitle2Stronger/index.cjs +3 -3
  314. package/lib-commonjs/components/presets/Subtitle2Stronger/index.cjs.map +1 -1
  315. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.cjs +3 -3
  316. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.cjs.map +1 -1
  317. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.cjs +26 -0
  318. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.css.cjs.map +1 -0
  319. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.cjs +3 -3
  320. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.cjs.map +1 -1
  321. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.cjs +26 -0
  322. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.css.cjs.map +1 -0
  323. package/lib-commonjs/components/presets/TextPresets.module.css +96 -0
  324. package/lib-commonjs/components/presets/Title1/Title1.cjs.map +1 -1
  325. package/lib-commonjs/components/presets/Title1/index.cjs +3 -3
  326. package/lib-commonjs/components/presets/Title1/index.cjs.map +1 -1
  327. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.cjs +3 -3
  328. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.cjs.map +1 -1
  329. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.css.cjs +26 -0
  330. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.css.cjs.map +1 -0
  331. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.cjs +3 -3
  332. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.cjs.map +1 -1
  333. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.css.cjs +26 -0
  334. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.css.cjs.map +1 -0
  335. package/lib-commonjs/components/presets/Title2/Title2.cjs.map +1 -1
  336. package/lib-commonjs/components/presets/Title2/index.cjs +3 -3
  337. package/lib-commonjs/components/presets/Title2/index.cjs.map +1 -1
  338. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.cjs +3 -3
  339. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.cjs.map +1 -1
  340. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.css.cjs +26 -0
  341. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.css.cjs.map +1 -0
  342. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.cjs +3 -3
  343. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.cjs.map +1 -1
  344. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.css.cjs +26 -0
  345. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.css.cjs.map +1 -0
  346. package/lib-commonjs/components/presets/Title3/Title3.cjs.map +1 -1
  347. package/lib-commonjs/components/presets/Title3/index.cjs +3 -3
  348. package/lib-commonjs/components/presets/Title3/index.cjs.map +1 -1
  349. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.cjs +3 -3
  350. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.cjs.map +1 -1
  351. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.css.cjs +26 -0
  352. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.css.cjs.map +1 -0
  353. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.cjs +3 -3
  354. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.cjs.map +1 -1
  355. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.css.cjs +26 -0
  356. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.css.cjs.map +1 -0
  357. package/lib-commonjs/components/presets/createPreset.cjs.map +1 -1
  358. package/lib-commonjs/index.cjs +40 -40
  359. package/lib-commonjs/index.cjs.map +1 -1
  360. package/package.json +12 -12
  361. package/dist/metadata/api/api-root.json +0 -1
  362. package/dist/metadata/index.json +0 -1
package/CHANGELOG.md CHANGED
@@ -1,21 +1,41 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- <!-- This log was last generated on Tue, 06 Oct 2026 11:40:14 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Sat, 31 Oct 2026 11:08:38 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.74.7-experimental.cli-api.20261006-ccaa611d58.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
7
+ ## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
8
8
 
9
- Tue, 06 Oct 2026 11:40:14 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.19..@fluentui/react-text_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
9
+ Sat, 31 Oct 2026 11:08:38 GMT
11
10
 
12
11
  ### Changes
13
12
 
14
- - Release 9.74.7-experimental.cli-api.20261006-ccaa611d58 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
15
- - Bump @fluentui/react-jsx-runtime to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
- - Bump @fluentui/react-shared-contexts to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
- - Bump @fluentui/react-theme to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
- - Bump @fluentui/react-utilities to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
13
+ - Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
+ - Bump @fluentui/react-jsx-runtime to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+
19
+ ## [9.6.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.21)
20
+
21
+ Mon, 19 Oct 2026 16:49:01 GMT
22
+
23
+ ### Patches
24
+
25
+ - Bump @fluentui/react-jsx-runtime to v9.4.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
26
+ - Bump @fluentui/react-utilities to v9.27.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
27
+
28
+ ## [9.6.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.20)
29
+
30
+ Tue, 22 Sep 2026 11:25:39 GMT
31
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.19..@fluentui/react-text_v9.6.20)
32
+
33
+ ### Patches
34
+
35
+ - fix: remove unused react-dom and @types/react-dom peer dependencies, mark @types/react as optional ([PR #36559](https://github.com/microsoft/fluentui/pull/36559) by martinhochel@microsoft.com)
36
+ - Bump @fluentui/react-jsx-runtime to v9.4.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
37
+ - Bump @fluentui/react-shared-contexts to v9.26.4 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
38
+ - Bump @fluentui/react-utilities to v9.26.7 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
39
 
20
40
  ## [9.6.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.19)
21
41
 
package/README.md CHANGED
@@ -95,3 +95,11 @@ For more information about the components, please refer to the [API documentatio
95
95
  ## Migration
96
96
 
97
97
  For migration information, have a look at the [migration guide](./MIGRATION.md).
98
+
99
+ ## CSS Modules alternative
100
+
101
+ Layered CSS Modules style hooks (`*.styles.css.ts`) are available as opt-in alternatives.
102
+ Configure the bundler to resolve `.styles` to `.styles.css.ts` before `.styles.ts`, and
103
+ `.styles.js` to `.styles.css.js` before `.styles.js`, and enable CSS Modules loading.
104
+ The default component imports continue to use Griffel. Browser styling parity, SSR,
105
+ and alternate-style VRT coverage must be validated before switching defaults.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,sBAAsB,QAAQ,4BAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
1
+ {"version":3,"sources":["../../../src/components/Text/Text.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,sBAAsB,QAAQ,4BAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
@@ -0,0 +1,119 @@
1
+ @layer fluentui {
2
+ .root {
3
+ font-family: var(--fontFamilyBase);
4
+ font-size: var(--fontSizeBase300);
5
+ line-height: var(--lineHeightBase300);
6
+ font-weight: var(--fontWeightRegular);
7
+ text-align: start;
8
+ display: inline;
9
+ white-space: normal;
10
+ overflow: visible;
11
+ text-overflow: clip;
12
+ }
13
+
14
+ .nowrap {
15
+ white-space: nowrap;
16
+ overflow: hidden;
17
+ }
18
+
19
+ .truncate {
20
+ text-overflow: ellipsis;
21
+ }
22
+
23
+ .block {
24
+ display: block;
25
+ }
26
+
27
+ .italic {
28
+ font-style: italic;
29
+ }
30
+
31
+ .underline {
32
+ text-decoration-line: underline;
33
+ }
34
+
35
+ .strikethrough {
36
+ text-decoration-line: line-through;
37
+ }
38
+
39
+ .underline:where(.strikethrough) {
40
+ text-decoration-line: line-through underline;
41
+ }
42
+
43
+ .size100 {
44
+ font-size: var(--fontSizeBase100);
45
+ line-height: var(--lineHeightBase100);
46
+ }
47
+
48
+ .size200 {
49
+ font-size: var(--fontSizeBase200);
50
+ line-height: var(--lineHeightBase200);
51
+ }
52
+
53
+ .size400 {
54
+ font-size: var(--fontSizeBase400);
55
+ line-height: var(--lineHeightBase400);
56
+ }
57
+
58
+ .size500 {
59
+ font-size: var(--fontSizeBase500);
60
+ line-height: var(--lineHeightBase500);
61
+ }
62
+
63
+ .size600 {
64
+ font-size: var(--fontSizeBase600);
65
+ line-height: var(--lineHeightBase600);
66
+ }
67
+
68
+ .size700 {
69
+ font-size: var(--fontSizeHero700);
70
+ line-height: var(--lineHeightHero700);
71
+ }
72
+
73
+ .size800 {
74
+ font-size: var(--fontSizeHero800);
75
+ line-height: var(--lineHeightHero800);
76
+ }
77
+
78
+ .size900 {
79
+ font-size: var(--fontSizeHero900);
80
+ line-height: var(--lineHeightHero900);
81
+ }
82
+
83
+ .size1000 {
84
+ font-size: var(--fontSizeHero1000);
85
+ line-height: var(--lineHeightHero1000);
86
+ }
87
+
88
+ .monospace {
89
+ font-family: var(--fontFamilyMonospace);
90
+ }
91
+
92
+ .numeric {
93
+ font-family: var(--fontFamilyNumeric);
94
+ }
95
+
96
+ .medium {
97
+ font-weight: var(--fontWeightMedium);
98
+ }
99
+
100
+ .semibold {
101
+ font-weight: var(--fontWeightSemibold);
102
+ }
103
+
104
+ .bold {
105
+ font-weight: var(--fontWeightBold);
106
+ }
107
+
108
+ .center {
109
+ text-align: center;
110
+ }
111
+
112
+ .end {
113
+ text-align: end;
114
+ }
115
+
116
+ .justify {
117
+ text-align: justify;
118
+ }
119
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/Text.types.ts"],"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' | 'strong' | 'b' | 'em' | 'i'>;\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"],"names":[],"mappings":"AA0FA;;CAEC,GACD,WAMI"}
1
+ {"version":3,"sources":["../../../src/components/Text/Text.types.ts"],"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' | 'strong' | 'b' | 'em' | 'i'>;\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"],"names":[],"mappings":"AA0FA;;CAEC,GACD,WAMI"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAS;AAE9B,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,4BAAyB"}
1
+ {"version":3,"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,YAAS;AAE9B,SAASC,mBAAmB,QAAQ,kBAAe;AACnD,SAASC,gBAAgB,QAAQ,eAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,4BAAyB"}
@@ -1,5 +1,5 @@
1
- import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
- import { assertSlots } from "@fluentui/react-utilities";
1
+ import { jsx as _jsx } from "@fluentui/react-jsx-runtime/jsx-runtime";
2
+ import { assertSlots } from "@fluentui/react-utilities";
3
3
  /**
4
4
  * Render the final JSX of Text
5
5
  */ export const renderText_unstable = (state)=>{
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState): JSXElement => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
1
+ {"version":3,"sources":["../../../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState): JSXElement => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"mappings":";AAAA,0BAA0B,GAC1B,iDAAiD,GAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAIxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"mappings":"AACA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
1
+ {"version":3,"sources":["../../../src/components/Text/useText.ts"],"sourcesContent":["import type * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"mappings":"AACA,SAASA,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,KAAK,EAAEA,kBAAAA,mBAAAA,QAAS;QAChBP,KAAK,EAAEA,kBAAAA,mBAAAA,QAAS;QAChBK,IAAI,EAAEA,iBAAAA,kBAAAA,OAAQ;QACdJ,MAAM,EAAEA,mBAAAA,oBAAAA,SAAU;QAClBG,IAAI,EAAEA,iBAAAA,kBAAAA,OAAQ;QACdD,aAAa,EAAEA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,QAAQ,EAAEA,qBAAAA,sBAAAA,WAAY;QACtBG,SAAS,EAAEA,sBAAAA,uBAAAA,YAAa;QACxBI,MAAM,EAAEA,mBAAAA,oBAAAA,SAAU;QAClBR,IAAI,EAAEA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
@@ -0,0 +1,9 @@
1
+ import { clsx } from "clsx";
2
+ import styles from "./Text.module.css";
3
+ export const textClassNames = {
4
+ root: 'fui-Text'
5
+ };
6
+ export const useTextStyles_unstable = (state)=>{
7
+ state.root.className = clsx(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, styles[`size${state.size}`], styles[state.font], styles[state.weight], styles[state.align], state.root.className);
8
+ return state;
9
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\nimport styles from './Text.module.css';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n state.root.className = clsx(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n styles[`size${state.size}`],\n styles[state.font],\n styles[state.weight],\n styles[state.align],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","textClassNames","root","useTextStyles_unstable","state","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","size","font","weight","align"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,oBAAoB;AAEvC,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,eAAeC,IAAI,EACnBF,OAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,OAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,OAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,OAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,OAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,OAAOY,aAAa,EAC3CZ,MAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,MAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,MAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,MAAM,CAACI,MAAMY,KAAK,CAAC,EACnBZ,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
@@ -0,0 +1,9 @@
1
+ import { clsx } from "clsx";
2
+ import styles from "./Text.module.css";
3
+ export const textClassNames = {
4
+ root: 'fui-Text'
5
+ };
6
+ export const useTextStyles_unstable = (state)=>{
7
+ state.root.className = clsx(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, styles[`size${state.size}`], styles[state.font], styles[state.weight], styles[state.align], state.root.className);
8
+ return state;
9
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\nimport styles from './Text.module.css';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n state.root.className = clsx(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n styles[`size${state.size}`],\n styles[state.font],\n styles[state.weight],\n styles[state.align],\n state.root.className,\n );\n return state;\n};\n"],"names":["clsx","styles","textClassNames","root","useTextStyles_unstable","state","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","size","font","weight","align"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,oBAAoB;AAEvC,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF,OAAO,MAAMC,yBAAyB,CAACC;IACrCA,MAAMF,IAAI,CAACG,SAAS,GAAGN,KACrBE,eAAeC,IAAI,EACnBF,OAAOE,IAAI,EACXE,MAAME,IAAI,KAAK,SAASN,OAAOO,MAAM,EACrCH,MAAMI,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCJ,MAAMK,KAAK,IAAIT,OAAOS,KAAK,EAC3BL,MAAMM,MAAM,IAAIV,OAAOU,MAAM,EAC7BN,MAAMO,SAAS,IAAIX,OAAOW,SAAS,EACnCP,MAAMQ,aAAa,IAAIZ,OAAOY,aAAa,EAC3CZ,MAAM,CAAC,CAAC,IAAI,EAAEI,MAAMS,IAAI,EAAE,CAAC,EAC3Bb,MAAM,CAACI,MAAMU,IAAI,CAAC,EAClBd,MAAM,CAACI,MAAMW,MAAM,CAAC,EACpBf,MAAM,CAACI,MAAMY,KAAK,CAAC,EACnBZ,MAAMF,IAAI,CAACG,SAAS;IAEtB,OAAOD;AACT,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/useTextStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n overflow: 'visible',\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tokens","textClassNames","root","useStyles","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","lineHeight","lineHeightBase300","fontWeight","fontWeightRegular","textAlign","display","whiteSpace","overflow","textOverflow","nowrap","truncate","block","italic","fontStyle","underline","textDecorationLine","strikethrough","strikethroughUnderline","base100","fontSizeBase100","lineHeightBase100","base200","fontSizeBase200","lineHeightBase200","base400","fontSizeBase400","lineHeightBase400","base500","fontSizeBase500","lineHeightBase500","base600","fontSizeBase600","lineHeightBase600","hero700","fontSizeHero700","lineHeightHero700","hero800","fontSizeHero800","lineHeightHero800","hero900","fontSizeHero900","lineHeightHero900","hero1000","fontSizeHero1000","lineHeightHero1000","monospace","fontFamilyMonospace","numeric","fontFamilyNumeric","weightMedium","fontWeightMedium","weightSemibold","fontWeightSemibold","weightBold","fontWeightBold","alignCenter","alignEnd","alignJustify","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../src/components/Text/useTextStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles, mergeClasses } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n overflow: 'visible',\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"],"names":["makeStyles","mergeClasses","tokens","textClassNames","root","useStyles","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","lineHeight","lineHeightBase300","fontWeight","fontWeightRegular","textAlign","display","whiteSpace","overflow","textOverflow","nowrap","truncate","block","italic","fontStyle","underline","textDecorationLine","strikethrough","strikethroughUnderline","base100","fontSizeBase100","lineHeightBase100","base200","fontSizeBase200","lineHeightBase200","base400","fontSizeBase400","lineHeightBase400","base500","fontSizeBase500","lineHeightBase500","base600","fontSizeBase600","lineHeightBase600","hero700","fontSizeHero700","lineHeightHero700","hero800","fontSizeHero800","lineHeightHero800","hero900","fontSizeHero900","lineHeightHero900","hero1000","fontSizeHero1000","lineHeightHero1000","monospace","fontFamilyMonospace","numeric","fontFamilyNumeric","weightMedium","fontWeightMedium","weightSemibold","fontWeightSemibold","weightBold","fontWeightBold","alignCenter","alignEnd","alignJustify","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1/index.ts"],"sourcesContent":["export { Body1 } from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export { Body1 } from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1ClassNames = {
3
+ root: 'fui-Body1'
4
+ };
5
+ export const useBody1Styles = ()=>({
6
+ root: styles.body1
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1' };\nexport const useBody1Styles = (): Record<'root', string> => ({ root: styles.body1 });\n"],"names":["styles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1ClassNames = {
3
+ root: 'fui-Body1'
4
+ };
5
+ export const useBody1Styles = ()=>({
6
+ root: styles.body1
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1' };\nexport const useBody1Styles = (): Record<'root', string> => ({ root: styles.body1 });\n"],"names":["styles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"names":["makeStyles","typographyStyles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"names":["makeStyles","typographyStyles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,mCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,mCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export { Body1Strong } from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,QAAQ,mBAAgB;AAC5C,SAASC,qBAAqB,QAAQ,mCAAgC"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export { Body1Strong } from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,QAAQ,mBAAgB;AAC5C,SAASC,qBAAqB,QAAQ,mCAAgC"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1StrongClassNames = {
3
+ root: 'fui-Body1Strong'
4
+ };
5
+ export const useBody1StrongStyles = ()=>({
6
+ root: styles.body1Strong
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Strong' };\nexport const useBody1StrongStyles = (): Record<'root', string> => ({ root: styles.body1Strong });\n"],"names":["styles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AAC5F,OAAO,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,WAAW;IAAC,CAAA,EAAG"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1StrongClassNames = {
3
+ root: 'fui-Body1Strong'
4
+ };
5
+ export const useBody1StrongStyles = ()=>({
6
+ root: styles.body1Strong
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Strong' };\nexport const useBody1StrongStyles = (): Record<'root', string> => ({ root: styles.body1Strong });\n"],"names":["styles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,wBAAmD;IAAEC,MAAM;AAAkB,EAAE;AAC5F,OAAO,MAAMC,uBAAuB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,WAAW;IAAC,CAAA,EAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,wBAAmD;IAC9DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,uBAAuBJ,WAAW;IAC7CG,MAAMF,iBAAiBI,WAAW;AACpC,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,wBAAmD;IAC9DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,uBAAuBJ,WAAW;IAC7CG,MAAMF,iBAAiBI,WAAW;AACpC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,qCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,qCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export { Body1Stronger } from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAkB;AAChD,SAASC,uBAAuB,QAAQ,qCAAkC"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export { Body1Stronger } from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,QAAQ,qBAAkB;AAChD,SAASC,uBAAuB,QAAQ,qCAAkC"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1StrongerClassNames = {
3
+ root: 'fui-Body1Stronger'
4
+ };
5
+ export const useBody1StrongerStyles = ()=>({
6
+ root: styles.body1Stronger
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Stronger' };\nexport const useBody1StrongerStyles = (): Record<'root', string> => ({ root: styles.body1Stronger });\n"],"names":["styles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,0BAAqD;IAAEC,MAAM;AAAoB,EAAE;AAChG,OAAO,MAAMC,yBAAyB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,aAAa;IAAC,CAAA,EAAG"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body1StrongerClassNames = {
3
+ root: 'fui-Body1Stronger'
4
+ };
5
+ export const useBody1StrongerStyles = ()=>({
6
+ root: styles.body1Stronger
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body1Stronger' };\nexport const useBody1StrongerStyles = (): Record<'root', string> => ({ root: styles.body1Stronger });\n"],"names":["styles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,0BAAqD;IAAEC,MAAM;AAAoB,EAAE;AAChG,OAAO,MAAMC,yBAAyB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,aAAa;IAAC,CAAA,EAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,0BAAqD;IAChEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,yBAAyBJ,WAAW;IAC/CG,MAAMF,iBAAiBI,aAAa;AACtC,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,0BAAqD;IAChEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,yBAAyBJ,WAAW;IAC/CG,MAAMF,iBAAiBI,aAAa;AACtC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,6BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body2/index.ts"],"sourcesContent":["export { Body2 } from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export { Body2 } from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,aAAU;AAChC,SAASC,eAAe,QAAQ,6BAA0B"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body2ClassNames = {
3
+ root: 'fui-Body2'
4
+ };
5
+ export const useBody2Styles = ()=>({
6
+ root: styles.body2
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body2' };\nexport const useBody2Styles = (): Record<'root', string> => ({ root: styles.body2 });\n"],"names":["styles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const body2ClassNames = {
3
+ root: 'fui-Body2'
4
+ };
5
+ export const useBody2Styles = ()=>({
6
+ root: styles.body2
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Body2' };\nexport const useBody2Styles = (): Record<'root', string> => ({ root: styles.body2 });\n"],"names":["styles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,kBAA6C;IAAEC,MAAM;AAAY,EAAE;AAChF,OAAO,MAAMC,iBAAiB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,KAAK;IAAC,CAAA,EAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"names":["makeStyles","typographyStyles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } 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 */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"names":["makeStyles","typographyStyles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,gCAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"mappings":"AAAA;AAGA,SAASA,YAAY,QAAQ,qBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,gCAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1/index.ts"],"sourcesContent":["export { Caption1 } from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AACtC,SAASC,kBAAkB,QAAQ,gCAA6B"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export { Caption1 } from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAa;AACtC,SAASC,kBAAkB,QAAQ,gCAA6B"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const caption1ClassNames = {
3
+ root: 'fui-Caption1'
4
+ };
5
+ export const useCaption1Styles = ()=>({
6
+ root: styles.caption1
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Caption1' };\nexport const useCaption1Styles = (): Record<'root', string> => ({ root: styles.caption1 });\n"],"names":["styles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,qBAAgD;IAAEC,MAAM;AAAe,EAAE;AACtF,OAAO,MAAMC,oBAAoB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,QAAQ;IAAC,CAAA,EAAG"}
@@ -0,0 +1,7 @@
1
+ import styles from "../TextPresets.module.css";
2
+ export const caption1ClassNames = {
3
+ root: 'fui-Caption1'
4
+ };
5
+ export const useCaption1Styles = ()=>({
6
+ root: styles.caption1
7
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.css.ts"],"sourcesContent":["import type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport styles from '../TextPresets.module.css';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = { root: 'fui-Caption1' };\nexport const useCaption1Styles = (): Record<'root', string> => ({ root: styles.caption1 });\n"],"names":["styles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAEA,OAAOA,YAAY,4BAA4B;AAE/C,OAAO,MAAMC,qBAAgD;IAAEC,MAAM;AAAe,EAAE;AACtF,OAAO,MAAMC,oBAAoB,IAA+B,CAAA;QAAED,MAAMF,OAAOI,QAAQ;IAAC,CAAA,EAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1/useCaption1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1,\n});\n"],"names":["makeStyles","typographyStyles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,qBAAgD;IAC3DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oBAAoBJ,WAAW;IAC1CG,MAAMF,iBAAiBI,QAAQ;AACjC,GAAG"}
1
+ {"version":3,"sources":["../../../../src/components/presets/Caption1/useCaption1Styles.styles.ts"],"sourcesContent":["'use client';\n\nimport { makeStyles } from '@griffel/react';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1,\n});\n"],"names":["makeStyles","typographyStyles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAAA;AAEA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,qBAAgD;IAC3DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oBAAoBJ,WAAW;IAC1CG,MAAMF,iBAAiBI,QAAQ;AACjC,GAAG"}