@fluentui/react-text 9.3.10 → 9.3.12

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 (293) hide show
  1. package/CHANGELOG.json +55 -1
  2. package/CHANGELOG.md +24 -2
  3. package/lib/Body1.js +0 -1
  4. package/lib/Body1.js.map +1 -1
  5. package/lib/Body1Strong.js +0 -1
  6. package/lib/Body1Strong.js.map +1 -1
  7. package/lib/Body1Stronger.js +0 -1
  8. package/lib/Body1Stronger.js.map +1 -1
  9. package/lib/Body2.js +0 -1
  10. package/lib/Body2.js.map +1 -1
  11. package/lib/Caption1.js +0 -1
  12. package/lib/Caption1.js.map +1 -1
  13. package/lib/Caption1Strong.js +0 -1
  14. package/lib/Caption1Strong.js.map +1 -1
  15. package/lib/Caption1Stronger.js +0 -1
  16. package/lib/Caption1Stronger.js.map +1 -1
  17. package/lib/Caption2.js +0 -1
  18. package/lib/Caption2.js.map +1 -1
  19. package/lib/Caption2Strong.js +0 -1
  20. package/lib/Caption2Strong.js.map +1 -1
  21. package/lib/Display.js +0 -1
  22. package/lib/Display.js.map +1 -1
  23. package/lib/LargeTitle.js +0 -1
  24. package/lib/LargeTitle.js.map +1 -1
  25. package/lib/Subtitle1.js +0 -1
  26. package/lib/Subtitle1.js.map +1 -1
  27. package/lib/Subtitle2.js +0 -1
  28. package/lib/Subtitle2.js.map +1 -1
  29. package/lib/Subtitle2Stronger.js +0 -1
  30. package/lib/Subtitle2Stronger.js.map +1 -1
  31. package/lib/Text.js +0 -1
  32. package/lib/Text.js.map +1 -1
  33. package/lib/Title1.js +0 -1
  34. package/lib/Title1.js.map +1 -1
  35. package/lib/Title2.js +0 -1
  36. package/lib/Title2.js.map +1 -1
  37. package/lib/Title3.js +0 -1
  38. package/lib/Title3.js.map +1 -1
  39. package/lib/components/Text/Text.js +6 -9
  40. package/lib/components/Text/Text.js.map +1 -1
  41. package/lib/components/Text/Text.types.js +1 -2
  42. package/lib/components/Text/Text.types.js.map +1 -1
  43. package/lib/components/Text/index.js +0 -1
  44. package/lib/components/Text/index.js.map +1 -1
  45. package/lib/components/Text/renderText.js +4 -9
  46. package/lib/components/Text/renderText.js.map +1 -1
  47. package/lib/components/Text/useText.js +25 -38
  48. package/lib/components/Text/useText.js.map +1 -1
  49. package/lib/components/Text/useTextStyles.styles.js.map +1 -1
  50. package/lib/components/presets/Body1/Body1.js +4 -6
  51. package/lib/components/presets/Body1/Body1.js.map +1 -1
  52. package/lib/components/presets/Body1/index.js +0 -1
  53. package/lib/components/presets/Body1/index.js.map +1 -1
  54. package/lib/components/presets/Body1/useBody1Styles.styles.js.map +1 -1
  55. package/lib/components/presets/Body1Strong/Body1Strong.js +4 -6
  56. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  57. package/lib/components/presets/Body1Strong/index.js +0 -1
  58. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  59. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -1
  60. package/lib/components/presets/Body1Stronger/Body1Stronger.js +4 -6
  61. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  62. package/lib/components/presets/Body1Stronger/index.js +0 -1
  63. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  64. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -1
  65. package/lib/components/presets/Body2/Body2.js +4 -6
  66. package/lib/components/presets/Body2/Body2.js.map +1 -1
  67. package/lib/components/presets/Body2/index.js +0 -1
  68. package/lib/components/presets/Body2/index.js.map +1 -1
  69. package/lib/components/presets/Body2/useBody2Styles.styles.js.map +1 -1
  70. package/lib/components/presets/Caption1/Caption1.js +4 -6
  71. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  72. package/lib/components/presets/Caption1/index.js +0 -1
  73. package/lib/components/presets/Caption1/index.js.map +1 -1
  74. package/lib/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -1
  75. package/lib/components/presets/Caption1Strong/Caption1Strong.js +4 -6
  76. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  77. package/lib/components/presets/Caption1Strong/index.js +0 -1
  78. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  79. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -1
  80. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +4 -6
  81. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  82. package/lib/components/presets/Caption1Stronger/index.js +0 -1
  83. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  84. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -1
  85. package/lib/components/presets/Caption2/Caption2.js +4 -6
  86. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  87. package/lib/components/presets/Caption2/index.js +0 -1
  88. package/lib/components/presets/Caption2/index.js.map +1 -1
  89. package/lib/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -1
  90. package/lib/components/presets/Caption2Strong/Caption2Strong.js +4 -6
  91. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  92. package/lib/components/presets/Caption2Strong/index.js +0 -1
  93. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  94. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -1
  95. package/lib/components/presets/Display/Display.js +4 -6
  96. package/lib/components/presets/Display/Display.js.map +1 -1
  97. package/lib/components/presets/Display/index.js +0 -1
  98. package/lib/components/presets/Display/index.js.map +1 -1
  99. package/lib/components/presets/Display/useDisplayStyles.styles.js.map +1 -1
  100. package/lib/components/presets/LargeTitle/LargeTitle.js +4 -6
  101. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  102. package/lib/components/presets/LargeTitle/index.js +0 -1
  103. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  104. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -1
  105. package/lib/components/presets/Subtitle1/Subtitle1.js +4 -6
  106. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  107. package/lib/components/presets/Subtitle1/index.js +0 -1
  108. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  109. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -1
  110. package/lib/components/presets/Subtitle2/Subtitle2.js +4 -6
  111. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  112. package/lib/components/presets/Subtitle2/index.js +0 -1
  113. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  114. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -1
  115. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +4 -6
  116. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  117. package/lib/components/presets/Subtitle2Stronger/index.js +0 -1
  118. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  119. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -1
  120. package/lib/components/presets/Title1/Title1.js +4 -6
  121. package/lib/components/presets/Title1/Title1.js.map +1 -1
  122. package/lib/components/presets/Title1/index.js +0 -1
  123. package/lib/components/presets/Title1/index.js.map +1 -1
  124. package/lib/components/presets/Title1/useTitle1Styles.styles.js.map +1 -1
  125. package/lib/components/presets/Title2/Title2.js +4 -6
  126. package/lib/components/presets/Title2/Title2.js.map +1 -1
  127. package/lib/components/presets/Title2/index.js +0 -1
  128. package/lib/components/presets/Title2/index.js.map +1 -1
  129. package/lib/components/presets/Title2/useTitle2Styles.styles.js.map +1 -1
  130. package/lib/components/presets/Title3/Title3.js +4 -6
  131. package/lib/components/presets/Title3/Title3.js.map +1 -1
  132. package/lib/components/presets/Title3/index.js +0 -1
  133. package/lib/components/presets/Title3/index.js.map +1 -1
  134. package/lib/components/presets/Title3/useTitle3Styles.styles.js.map +1 -1
  135. package/lib/components/presets/createPreset.js +10 -15
  136. package/lib/components/presets/createPreset.js.map +1 -1
  137. package/lib/index.js +0 -1
  138. package/lib/index.js.map +1 -1
  139. package/lib-commonjs/Body1.js +0 -3
  140. package/lib-commonjs/Body1.js.map +1 -1
  141. package/lib-commonjs/Body1Strong.js +0 -3
  142. package/lib-commonjs/Body1Strong.js.map +1 -1
  143. package/lib-commonjs/Body1Stronger.js +0 -3
  144. package/lib-commonjs/Body1Stronger.js.map +1 -1
  145. package/lib-commonjs/Body2.js +0 -3
  146. package/lib-commonjs/Body2.js.map +1 -1
  147. package/lib-commonjs/Caption1.js +0 -3
  148. package/lib-commonjs/Caption1.js.map +1 -1
  149. package/lib-commonjs/Caption1Strong.js +0 -3
  150. package/lib-commonjs/Caption1Strong.js.map +1 -1
  151. package/lib-commonjs/Caption1Stronger.js +0 -3
  152. package/lib-commonjs/Caption1Stronger.js.map +1 -1
  153. package/lib-commonjs/Caption2.js +0 -3
  154. package/lib-commonjs/Caption2.js.map +1 -1
  155. package/lib-commonjs/Caption2Strong.js +0 -3
  156. package/lib-commonjs/Caption2Strong.js.map +1 -1
  157. package/lib-commonjs/Display.js +0 -3
  158. package/lib-commonjs/Display.js.map +1 -1
  159. package/lib-commonjs/LargeTitle.js +0 -3
  160. package/lib-commonjs/LargeTitle.js.map +1 -1
  161. package/lib-commonjs/Subtitle1.js +0 -3
  162. package/lib-commonjs/Subtitle1.js.map +1 -1
  163. package/lib-commonjs/Subtitle2.js +0 -3
  164. package/lib-commonjs/Subtitle2.js.map +1 -1
  165. package/lib-commonjs/Subtitle2Stronger.js +0 -3
  166. package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
  167. package/lib-commonjs/Text.js +0 -3
  168. package/lib-commonjs/Text.js.map +1 -1
  169. package/lib-commonjs/Title1.js +0 -3
  170. package/lib-commonjs/Title1.js.map +1 -1
  171. package/lib-commonjs/Title2.js +0 -3
  172. package/lib-commonjs/Title2.js.map +1 -1
  173. package/lib-commonjs/Title3.js +0 -3
  174. package/lib-commonjs/Title3.js.map +1 -1
  175. package/lib-commonjs/components/Text/Text.js +1 -3
  176. package/lib-commonjs/components/Text/Text.js.map +1 -1
  177. package/lib-commonjs/components/Text/Text.types.js +0 -3
  178. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  179. package/lib-commonjs/components/Text/index.js +0 -3
  180. package/lib-commonjs/components/Text/index.js.map +1 -1
  181. package/lib-commonjs/components/Text/renderText.js +1 -3
  182. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  183. package/lib-commonjs/components/Text/useText.js +1 -3
  184. package/lib-commonjs/components/Text/useText.js.map +1 -1
  185. package/lib-commonjs/components/Text/useTextStyles.styles.js +0 -2
  186. package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -1
  187. package/lib-commonjs/components/presets/Body1/Body1.js +2 -4
  188. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  189. package/lib-commonjs/components/presets/Body1/index.js +0 -3
  190. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  191. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +0 -2
  192. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -1
  193. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +2 -4
  194. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  195. package/lib-commonjs/components/presets/Body1Strong/index.js +0 -3
  196. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  197. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +0 -2
  198. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -1
  199. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +2 -4
  200. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  201. package/lib-commonjs/components/presets/Body1Stronger/index.js +0 -3
  202. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  203. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +0 -2
  204. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -1
  205. package/lib-commonjs/components/presets/Body2/Body2.js +2 -4
  206. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  207. package/lib-commonjs/components/presets/Body2/index.js +0 -3
  208. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  209. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +0 -2
  210. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -1
  211. package/lib-commonjs/components/presets/Caption1/Caption1.js +2 -4
  212. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  213. package/lib-commonjs/components/presets/Caption1/index.js +0 -3
  214. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  215. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +0 -2
  216. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -1
  217. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +2 -4
  218. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  219. package/lib-commonjs/components/presets/Caption1Strong/index.js +0 -3
  220. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  221. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +0 -2
  222. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -1
  223. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +2 -4
  224. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  225. package/lib-commonjs/components/presets/Caption1Stronger/index.js +0 -3
  226. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  227. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +0 -2
  228. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -1
  229. package/lib-commonjs/components/presets/Caption2/Caption2.js +2 -4
  230. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  231. package/lib-commonjs/components/presets/Caption2/index.js +0 -3
  232. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  233. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +0 -2
  234. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -1
  235. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +2 -4
  236. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  237. package/lib-commonjs/components/presets/Caption2Strong/index.js +0 -3
  238. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  239. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +0 -2
  240. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -1
  241. package/lib-commonjs/components/presets/Display/Display.js +2 -4
  242. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  243. package/lib-commonjs/components/presets/Display/index.js +0 -3
  244. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  245. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +0 -2
  246. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -1
  247. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +2 -4
  248. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  249. package/lib-commonjs/components/presets/LargeTitle/index.js +0 -3
  250. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  251. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +0 -2
  252. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -1
  253. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +2 -4
  254. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  255. package/lib-commonjs/components/presets/Subtitle1/index.js +0 -3
  256. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  257. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +0 -2
  258. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -1
  259. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +2 -4
  260. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  261. package/lib-commonjs/components/presets/Subtitle2/index.js +0 -3
  262. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  263. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +0 -2
  264. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -1
  265. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -4
  266. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  267. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +0 -3
  268. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  269. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +0 -2
  270. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -1
  271. package/lib-commonjs/components/presets/Title1/Title1.js +2 -4
  272. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  273. package/lib-commonjs/components/presets/Title1/index.js +0 -3
  274. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  275. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +0 -2
  276. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -1
  277. package/lib-commonjs/components/presets/Title2/Title2.js +2 -4
  278. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  279. package/lib-commonjs/components/presets/Title2/index.js +0 -3
  280. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  281. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +0 -2
  282. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -1
  283. package/lib-commonjs/components/presets/Title3/Title3.js +2 -4
  284. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  285. package/lib-commonjs/components/presets/Title3/index.js +0 -3
  286. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  287. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +0 -2
  288. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -1
  289. package/lib-commonjs/components/presets/createPreset.js +1 -3
  290. package/lib-commonjs/components/presets/createPreset.js.map +1 -1
  291. package/lib-commonjs/index.js +0 -3
  292. package/lib-commonjs/index.js.map +1 -1
  293. package/package.json +5 -5
@@ -2,10 +2,8 @@ import { createPreset } from '../createPreset';
2
2
  import { title1ClassNames, useTitle1Styles } from './useTitle1Styles.styles';
3
3
  /**
4
4
  * Text preset component for the Title 1 typography variant
5
- */
6
- export const Title1 = /*#__PURE__*/createPreset({
7
- useStyles: useTitle1Styles,
8
- className: title1ClassNames.root,
9
- displayName: 'Title1'
5
+ */ export const Title1 = createPreset({
6
+ useStyles: useTitle1Styles,
7
+ className: title1ClassNames.root,
8
+ displayName: 'Title1'
10
9
  });
11
- //# sourceMappingURL=Title1.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createPreset","title1ClassNames","useTitle1Styles","Title1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title1ClassNames, useTitle1Styles } from './useTitle1Styles.styles';\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle1Styles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
1
+ {"version":3,"sources":["Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title1ClassNames, useTitle1Styles } from './useTitle1Styles.styles';\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle1Styles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"],"names":["createPreset","title1ClassNames","useTitle1Styles","Title1","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
@@ -1,3 +1,2 @@
1
1
  export * from './Title1';
2
2
  export { title1ClassNames } from './useTitle1Styles.styles';
3
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["title1ClassNames"],"sources":["../../../../src/components/presets/Title1/index.ts"],"sourcesContent":["export * from './Title1';\nexport { title1ClassNames } from './useTitle1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title1';\nexport { title1ClassNames } from './useTitle1Styles.styles';\n"],"names":["title1ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","typographyStyles","title1ClassNames","root","useTitle1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title1/useTitle1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle1Styles = makeStyles({\n root: typographyStyles.title1,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
1
+ {"version":3,"names":["__styles","typographyStyles","title1ClassNames","root","useTitle1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["useTitle1Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const title1ClassNames = {\n root: 'fui-Title1'\n};\n/**\n * Styles for the root slot\n */ export const useTitle1Styles = makeStyles({\n root: typographyStyles.title1\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B,gBAAgB;AAC3C,SAASC,gBAAgB,QAAQ,uBAAuB;AACxD,OAAO,MAAMC,gBAAgB,GAAG;EAC5BC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,OAAO,MAAMC,eAAe,gBAAGJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAElC,CAAC"}
@@ -2,10 +2,8 @@ import { createPreset } from '../createPreset';
2
2
  import { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';
3
3
  /**
4
4
  * Text preset component for the Title 2 typography variant
5
- */
6
- export const Title2 = /*#__PURE__*/createPreset({
7
- useStyles: useTitle2Styles,
8
- className: title2ClassNames.root,
9
- displayName: 'Title2'
5
+ */ export const Title2 = createPreset({
6
+ useStyles: useTitle2Styles,
7
+ className: title2ClassNames.root,
8
+ displayName: 'Title2'
10
9
  });
11
- //# sourceMappingURL=Title2.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createPreset","title2ClassNames","useTitle2Styles","Title2","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle2Styles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
1
+ {"version":3,"sources":["Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle2Styles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"names":["createPreset","title2ClassNames","useTitle2Styles","Title2","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
@@ -1,3 +1,2 @@
1
1
  export * from './Title2';
2
2
  export { title2ClassNames } from './useTitle2Styles.styles';
3
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["title2ClassNames"],"sources":["../../../../src/components/presets/Title2/index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"names":["title2ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","typographyStyles","title2ClassNames","root","useTitle2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title2/useTitle2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle2Styles = makeStyles({\n root: typographyStyles.title2,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
1
+ {"version":3,"names":["__styles","typographyStyles","title2ClassNames","root","useTitle2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["useTitle2Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const title2ClassNames = {\n root: 'fui-Title2'\n};\n/**\n * Styles for the root slot\n */ export const useTitle2Styles = makeStyles({\n root: typographyStyles.title2\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B,gBAAgB;AAC3C,SAASC,gBAAgB,QAAQ,uBAAuB;AACxD,OAAO,MAAMC,gBAAgB,GAAG;EAC5BC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,OAAO,MAAMC,eAAe,gBAAGJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAElC,CAAC"}
@@ -2,10 +2,8 @@ import { createPreset } from '../createPreset';
2
2
  import { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';
3
3
  /**
4
4
  * Text preset component for the Title 3 typography variant
5
- */
6
- export const Title3 = /*#__PURE__*/createPreset({
7
- useStyles: useTitle3Styles,
8
- className: title3ClassNames.root,
9
- displayName: 'Title3'
5
+ */ export const Title3 = createPreset({
6
+ useStyles: useTitle3Styles,
7
+ className: title3ClassNames.root,
8
+ displayName: 'Title3'
10
9
  });
11
- //# sourceMappingURL=Title3.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createPreset","title3ClassNames","useTitle3Styles","Title3","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle3Styles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
1
+ {"version":3,"sources":["Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle3Styles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"names":["createPreset","title3ClassNames","useTitle3Styles","Title3","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
@@ -1,3 +1,2 @@
1
1
  export * from './Title3';
2
2
  export { title3ClassNames } from './useTitle3Styles.styles';
3
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["title3ClassNames"],"sources":["../../../../src/components/presets/Title3/index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"names":["title3ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","typographyStyles","title3ClassNames","root","useTitle3Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title3/useTitle3Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle3Styles = makeStyles({\n root: typographyStyles.title3,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
1
+ {"version":3,"names":["__styles","typographyStyles","title3ClassNames","root","useTitle3Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["useTitle3Styles.styles.js"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const title3ClassNames = {\n root: 'fui-Title3'\n};\n/**\n * Styles for the root slot\n */ export const useTitle3Styles = makeStyles({\n root: typographyStyles.title3\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B,gBAAgB;AAC3C,SAASC,gBAAgB,QAAQ,uBAAuB;AACxD,OAAO,MAAMC,gBAAgB,GAAG;EAC5BC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,OAAO,MAAMC,eAAe,gBAAGJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAElC,CAAC"}
@@ -2,19 +2,14 @@ import * as React from 'react';
2
2
  import { mergeClasses } from '@griffel/react';
3
3
  import { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';
4
4
  export function createPreset(options) {
5
- const {
6
- useStyles,
7
- className,
8
- displayName
9
- } = options;
10
- const Wrapper = /*#__PURE__*/React.forwardRef((props, ref) => {
11
- const styles = useStyles();
12
- const state = useText_unstable(props, ref);
13
- useTextStyles_unstable(state);
14
- state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
15
- return renderText_unstable(state);
16
- });
17
- Wrapper.displayName = displayName;
18
- return Wrapper;
5
+ const { useStyles , className , displayName } = options;
6
+ const Wrapper = React.forwardRef((props, ref)=>{
7
+ const styles = useStyles();
8
+ const state = useText_unstable(props, ref);
9
+ useTextStyles_unstable(state);
10
+ state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
11
+ return renderText_unstable(state);
12
+ });
13
+ Wrapper.displayName = displayName;
14
+ return Wrapper;
19
15
  }
20
- //# sourceMappingURL=createPreset.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"sources":["../../../src/components/presets/createPreset.ts"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps, TextPresetProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport function createPreset(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextPresetProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextPresetProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,YAAY,QAAQ;AAC7B,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ;AAI9E,OAAO,SAASC,aAAaC,OAI5B,EAA4C;EAC3C,MAAM;IAAEC,SAAA;IAAWC,SAAA;IAAWC;EAAW,CAAE,GAAGH,OAAA;EAC9C,MAAMI,OAAA,gBAAgDV,KAAA,CAAMW,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;IACrF,MAAMC,MAAA,GAASP,SAAA;IACf,MAAMQ,KAAA,GAAQZ,gBAAA,CAAiBS,KAAA,EAAoBC,GAAA;IAEnDT,sBAAA,CAAuBW,KAAA;IAEvBA,KAAA,CAAMC,IAAI,CAACR,SAAS,GAAGP,YAAA,CAAaO,SAAA,EAAWO,KAAA,CAAMC,IAAI,CAACR,SAAS,EAAEM,MAAA,CAAOE,IAAI,EAAEJ,KAAA,CAAMJ,SAAS;IAEjG,OAAON,mBAAA,CAAoBa,KAAA;EAC7B;EACAL,OAAA,CAAQD,WAAW,GAAGA,WAAA;EAEtB,OAAOC,OAAA;AACT"}
1
+ {"version":3,"sources":["createPreset.ts"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps, TextPresetProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport function createPreset(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextPresetProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextPresetProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"],"names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,UAAU;AAIxF,OAAO,SAASC,aAAaC,OAI5B,EAA4C;IAC3C,MAAM,EAAEC,UAAS,EAAEC,UAAS,EAAEC,YAAW,EAAE,GAAGH;IAC9C,MAAMI,UAAgDV,MAAMW,UAAU,CAAC,CAACC,OAAOC,MAAQ;QACrF,MAAMC,SAASP;QACf,MAAMQ,QAAQZ,iBAAiBS,OAAoBC;QAEnDT,uBAAuBW;QAEvBA,MAAMC,IAAI,CAACR,SAAS,GAAGP,aAAaO,WAAWO,MAAMC,IAAI,CAACR,SAAS,EAAEM,OAAOE,IAAI,EAAEJ,MAAMJ,SAAS;QAEjG,OAAON,oBAAoBa;IAC7B;IACAL,QAAQD,WAAW,GAAGA;IAEtB,OAAOC;AACT,CAAC"}
package/lib/index.js CHANGED
@@ -16,4 +16,3 @@ export { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stron
16
16
  export { Title1, title1ClassNames } from './Title1';
17
17
  export { Title2, title2ClassNames } from './Title2';
18
18
  export { Title3, title3ClassNames } from './Title3';
19
- //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"sources":["../src/index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"mappings":"AAAA,SAASA,IAAI,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ;AAEpG,SAASC,KAAK,EAAEC,eAAe,QAAQ;AACvC,SAASC,WAAW,EAAEC,qBAAqB,QAAQ;AACnD,SAASC,aAAa,EAAEC,uBAAuB,QAAQ;AACvD,SAASC,KAAK,EAAEC,eAAe,QAAQ;AACvC,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ;AAC7C,SAASC,cAAc,EAAEC,wBAAwB,QAAQ;AACzD,SAASC,gBAAgB,EAAEC,0BAA0B,QAAQ;AAC7D,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ;AAC7C,SAASC,cAAc,EAAEC,wBAAwB,QAAQ;AACzD,SAASC,OAAO,EAAEC,iBAAiB,QAAQ;AAC3C,SAASC,UAAU,EAAEC,oBAAoB,QAAQ;AACjD,SAASC,SAAS,EAAEC,mBAAmB,QAAQ;AAC/C,SAASC,SAAS,EAAEC,mBAAmB,QAAQ;AAC/C,SAASC,iBAAiB,EAAEC,2BAA2B,QAAQ;AAC/D,SAASC,MAAM,EAAEC,gBAAgB,QAAQ;AACzC,SAASC,MAAM,EAAEC,gBAAgB,QAAQ;AACzC,SAASC,MAAM,EAAEC,gBAAgB,QAAQ"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"mappings":"AAAA,SAASA,IAAI,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ,SAAS;AAE7G,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,WAAW,EAAEC,qBAAqB,QAAQ,gBAAgB;AACnE,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,kBAAkB;AACzE,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,gBAAgB,EAAEC,0BAA0B,QAAQ,qBAAqB;AAClF,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,YAAY;AACvD,SAASC,UAAU,EAAEC,oBAAoB,QAAQ,eAAe;AAChE,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,iBAAiB,EAAEC,2BAA2B,QAAQ,sBAAsB;AACrF,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Body1/index"), exports);
7
- //# sourceMappingURL=Body1.js.map
8
-
9
- //# sourceMappingURL=Body1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Body1.js"],"sourcesContent":["export * from './components/presets/Body1/index';\n//# sourceMappingURL=Body1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
1
+ {"version":3,"sources":["Body1.js"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Body1Strong/index"), exports);
7
- //# sourceMappingURL=Body1Strong.js.map
8
-
9
- //# sourceMappingURL=Body1Strong.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Body1Strong.js"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n//# sourceMappingURL=Body1Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,uCAAuC"}
1
+ {"version":3,"sources":["Body1Strong.js"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Body1Stronger/index"), exports);
7
- //# sourceMappingURL=Body1Stronger.js.map
8
-
9
- //# sourceMappingURL=Body1Stronger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Body1Stronger.js"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n//# sourceMappingURL=Body1Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,yCAAyC"}
1
+ {"version":3,"sources":["Body1Stronger.js"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Body2/index"), exports);
7
- //# sourceMappingURL=Body2.js.map
8
-
9
- //# sourceMappingURL=Body2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Body2.js"],"sourcesContent":["export * from './components/presets/Body2/index';\n//# sourceMappingURL=Body2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
1
+ {"version":3,"sources":["Body2.js"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Caption1/index"), exports);
7
- //# sourceMappingURL=Caption1.js.map
8
-
9
- //# sourceMappingURL=Caption1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Caption1.js"],"sourcesContent":["export * from './components/presets/Caption1/index';\n//# sourceMappingURL=Caption1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,oCAAoC"}
1
+ {"version":3,"sources":["Caption1.js"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Caption1Strong/index"), exports);
7
- //# sourceMappingURL=Caption1Strong.js.map
8
-
9
- //# sourceMappingURL=Caption1Strong.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Caption1Strong.js"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n//# sourceMappingURL=Caption1Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,0CAA0C"}
1
+ {"version":3,"sources":["Caption1Strong.js"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Caption1Stronger/index"), exports);
7
- //# sourceMappingURL=Caption1Stronger.js.map
8
-
9
- //# sourceMappingURL=Caption1Stronger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Caption1Stronger.js"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n//# sourceMappingURL=Caption1Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,4CAA4C"}
1
+ {"version":3,"sources":["Caption1Stronger.js"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Caption2/index"), exports);
7
- //# sourceMappingURL=Caption2.js.map
8
-
9
- //# sourceMappingURL=Caption2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Caption2.js"],"sourcesContent":["export * from './components/presets/Caption2/index';\n//# sourceMappingURL=Caption2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,oCAAoC"}
1
+ {"version":3,"sources":["Caption2.js"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Caption2Strong/index"), exports);
7
- //# sourceMappingURL=Caption2Strong.js.map
8
-
9
- //# sourceMappingURL=Caption2Strong.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Caption2Strong.js"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n//# sourceMappingURL=Caption2Strong.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,0CAA0C"}
1
+ {"version":3,"sources":["Caption2Strong.js"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Display/index"), exports);
7
- //# sourceMappingURL=Display.js.map
8
-
9
- //# sourceMappingURL=Display.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Display.js"],"sourcesContent":["export * from './components/presets/Display/index';\n//# sourceMappingURL=Display.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,mCAAmC"}
1
+ {"version":3,"sources":["Display.js"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/LargeTitle/index"), exports);
7
- //# sourceMappingURL=LargeTitle.js.map
8
-
9
- //# sourceMappingURL=LargeTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/LargeTitle.js"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n//# sourceMappingURL=LargeTitle.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,sCAAsC"}
1
+ {"version":3,"sources":["LargeTitle.js"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Subtitle1/index"), exports);
7
- //# sourceMappingURL=Subtitle1.js.map
8
-
9
- //# sourceMappingURL=Subtitle1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Subtitle1.js"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n//# sourceMappingURL=Subtitle1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,qCAAqC"}
1
+ {"version":3,"sources":["Subtitle1.js"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Subtitle2/index"), exports);
7
- //# sourceMappingURL=Subtitle2.js.map
8
-
9
- //# sourceMappingURL=Subtitle2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Subtitle2.js"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n//# sourceMappingURL=Subtitle2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,qCAAqC"}
1
+ {"version":3,"sources":["Subtitle2.js"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Subtitle2Stronger/index"), exports);
7
- //# sourceMappingURL=Subtitle2Stronger.js.map
8
-
9
- //# sourceMappingURL=Subtitle2Stronger.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Subtitle2Stronger.js"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n//# sourceMappingURL=Subtitle2Stronger.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,6CAA6C"}
1
+ {"version":3,"sources":["Subtitle2Stronger.js"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/Text/index"), exports);
7
- //# sourceMappingURL=Text.js.map
8
-
9
- //# sourceMappingURL=Text.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Text.js"],"sourcesContent":["export * from './components/Text/index';\n//# sourceMappingURL=Text.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,gCAAgC"}
1
+ {"version":3,"sources":["Text.js"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Title1/index"), exports);
7
- //# sourceMappingURL=Title1.js.map
8
-
9
- //# sourceMappingURL=Title1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Title1.js"],"sourcesContent":["export * from './components/presets/Title1/index';\n//# sourceMappingURL=Title1.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
1
+ {"version":3,"sources":["Title1.js"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Title2/index"), exports);
7
- //# sourceMappingURL=Title2.js.map
8
-
9
- //# sourceMappingURL=Title2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Title2.js"],"sourcesContent":["export * from './components/presets/Title2/index';\n//# sourceMappingURL=Title2.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
1
+ {"version":3,"sources":["Title2.js"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -4,6 +4,3 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
6
  _exportStar(require("./components/presets/Title3/index"), exports);
7
- //# sourceMappingURL=Title3.js.map
8
-
9
- //# sourceMappingURL=Title3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/Title3.js"],"sourcesContent":["export * from './components/presets/Title3/index';\n//# sourceMappingURL=Title3.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,kCAAkC"}
1
+ {"version":3,"sources":["Title3.js"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"mappings":";;;;;oBAAc"}
@@ -19,6 +19,4 @@ const Text = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
19
19
  return (0, _renderText.renderText_unstable)(state);
20
20
  // Work around some small mismatches in inferred types which don't matter in practice
21
21
  });
22
- Text.displayName = 'Text'; //# sourceMappingURL=Text.js.map
23
-
24
- //# sourceMappingURL=Text.js.map
22
+ Text.displayName = 'Text';
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/Text.js"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n useTextStyles_unstable(state);\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n});\n\nText.displayName = 'Text';\n//# sourceMappingURL=Text.js.map"],"names":["Text","React","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","renderText_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;yBACU;4BACG;qCACG;qCACK;AAIrC,MAAMA,OAAO,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IAChE,MAAMC,QAAQC,IAAAA,yBAAgB,EAACH,OAAOC;IACtCG,IAAAA,2CAAsB,EAACF;IACvBG,IAAAA,gDAA2B,EAAC,0BAA0BH;IACtD,OAAOI,IAAAA,+BAAmB,EAACJ;AAC3B,qFAAqF;AACvF;AAEAL,KAAKU,WAAW,GAAG,QACnB,gCAAgC"}
1
+ {"version":3,"sources":["Text.js"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */ export const Text = /*#__PURE__*/ React.forwardRef((props, ref)=>{\n const state = useText_unstable(props, ref);\n useTextStyles_unstable(state);\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n return renderText_unstable(state);\n// Work around some small mismatches in inferred types which don't matter in practice\n});\nText.displayName = 'Text';\n"],"names":["Text","React","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","renderText_unstable","displayName"],"mappings":";;;;+BAOiBA;;aAAAA;;;6DAPM;yBACU;4BACG;qCACG;qCACK;AAGjC,MAAMA,OAAO,WAAW,GAAGC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAM;IACjE,MAAMC,QAAQC,IAAAA,yBAAgB,EAACH,OAAOC;IACtCG,IAAAA,2CAAsB,EAACF;IACvBG,IAAAA,gDAA2B,EAAC,0BAA0BH;IACtD,OAAOI,IAAAA,+BAAmB,EAACJ;AAC/B,qFAAqF;AACrF;AACAL,KAAKU,WAAW,GAAG"}
@@ -2,6 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- //# sourceMappingURL=Text.types.js.map
6
-
7
- //# sourceMappingURL=Text.types.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/Text.types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=Text.types.js.map"],"names":[],"mappings":";;;;CACA,sCAAsC"}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -8,6 +8,3 @@ _exportStar(require("./Text.types"), exports);
8
8
  _exportStar(require("./renderText"), exports);
9
9
  _exportStar(require("./useText"), exports);
10
10
  _exportStar(require("./useTextStyles.styles"), exports);
11
- //# sourceMappingURL=index.js.map
12
-
13
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/index.js"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA"}
@@ -11,6 +11,4 @@ const _reactUtilities = require("@fluentui/react-utilities");
11
11
  const renderText_unstable = (state)=>{
12
12
  const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
13
13
  return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root);
14
- }; //# sourceMappingURL=renderText.js.map
15
-
16
- //# sourceMappingURL=renderText.js.map
14
+ };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/renderText.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root);\n};\n//# sourceMappingURL=renderText.js.map"],"names":["renderText_unstable","state","slots","slotProps","getSlotsNext","createElement","root"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,sBAAsBC,CAAAA,QAAS;IAC1C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI;AAC9D,GACA,sCAAsC"}
1
+ {"version":3,"sources":["renderText.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */ import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Text\n */ export const renderText_unstable = (state)=>{\n const { slots , slotProps } = getSlotsNext(state);\n return /*#__PURE__*/ createElement(slots.root, slotProps.root);\n};\n"],"names":["renderText_unstable","state","slots","slotProps","getSlotsNext","createElement","root"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAIjCA;;aAAAA;;iCAJkE;gCACtD;AAGlB,MAAMA,sBAAsB,CAACC,QAAQ;IAC5C,MAAM,EAAEC,MAAK,EAAGC,UAAS,EAAG,GAAGC,IAAAA,4BAAY,EAACH;IAC5C,OAAO,WAAW,GAAGI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI;AACjE"}
@@ -34,6 +34,4 @@ const useText_unstable = (props, ref)=>{
34
34
  })
35
35
  };
36
36
  return state;
37
- }; //# sourceMappingURL=useText.js.map
38
-
39
- //# sourceMappingURL=useText.js.map
37
+ };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/useText.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\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, ref) => {\n const {\n wrap,\n truncate,\n block,\n italic,\n underline,\n strikethrough,\n size,\n font,\n weight,\n align\n } = props;\n var _props_as;\n const as = (_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : 'span';\n const state = {\n align: align !== null && align !== void 0 ? align : 'start',\n block: block !== null && block !== void 0 ? block : false,\n font: font !== null && font !== void 0 ? font : 'base',\n italic: italic !== null && italic !== void 0 ? italic : false,\n size: size !== null && size !== void 0 ? size : 300,\n strikethrough: strikethrough !== null && strikethrough !== void 0 ? strikethrough : false,\n truncate: truncate !== null && truncate !== void 0 ? truncate : false,\n underline: underline !== null && underline !== void 0 ? underline : false,\n weight: weight !== null && weight !== void 0 ? weight : 'regular',\n wrap: wrap !== null && wrap !== void 0 ? wrap : true,\n components: {\n root: 'span'\n },\n root: getNativeElementProps(as, {\n ref,\n ...props,\n as\n })\n };\n return state;\n};\n//# sourceMappingURL=useText.js.map"],"names":["useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","_props_as","as","state","components","root","getNativeElementProps"],"mappings":";;;;+BAWaA;;aAAAA;;;6DAXU;gCACe;AAU/B,MAAMA,mBAAmB,CAACC,OAAOC,MAAQ;IAC9C,MAAM,EACJC,KAAI,EACJC,SAAQ,EACRC,MAAK,EACLC,OAAM,EACNC,UAAS,EACTC,cAAa,EACbC,KAAI,EACJC,KAAI,EACJC,OAAM,EACNC,MAAK,EACN,GAAGX;IACJ,IAAIY;IACJ,MAAMC,KAAK,AAACD,CAAAA,YAAYZ,MAAMa,EAAE,AAAD,MAAO,IAAI,IAAID,cAAc,KAAK,IAAIA,YAAY,MAAM;IACvF,MAAME,QAAQ;QACZH,OAAOA,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAIA,QAAQ,OAAO;QAC3DP,OAAOA,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAIA,QAAQ,KAAK;QACzDK,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,MAAM;QACtDJ,QAAQA,WAAW,IAAI,IAAIA,WAAW,KAAK,IAAIA,SAAS,KAAK;QAC7DG,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,GAAG;QACnDD,eAAeA,kBAAkB,IAAI,IAAIA,kBAAkB,KAAK,IAAIA,gBAAgB,KAAK;QACzFJ,UAAUA,aAAa,IAAI,IAAIA,aAAa,KAAK,IAAIA,WAAW,KAAK;QACrEG,WAAWA,cAAc,IAAI,IAAIA,cAAc,KAAK,IAAIA,YAAY,KAAK;QACzEI,QAAQA,WAAW,IAAI,IAAIA,WAAW,KAAK,IAAIA,SAAS,SAAS;QACjER,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,IAAI;QACpDa,YAAY;YACVC,MAAM;QACR;QACAA,MAAMC,IAAAA,qCAAqB,EAACJ,IAAI;YAC9BZ;YACA,GAAGD,KAAK;YACRa;QACF;IACF;IACA,OAAOC;AACT,GACA,mCAAmC"}
1
+ {"version":3,"sources":["useText.js"],"sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } from '@fluentui/react-utilities';\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 */ export const useText_unstable = (props, ref)=>{\n const { wrap , truncate , block , italic , underline , strikethrough , size , font , weight , align } = props;\n var _props_as;\n const as = (_props_as = props.as) !== null && _props_as !== void 0 ? _props_as : 'span';\n const state = {\n align: align !== null && align !== void 0 ? align : 'start',\n block: block !== null && block !== void 0 ? block : false,\n font: font !== null && font !== void 0 ? font : 'base',\n italic: italic !== null && italic !== void 0 ? italic : false,\n size: size !== null && size !== void 0 ? size : 300,\n strikethrough: strikethrough !== null && strikethrough !== void 0 ? strikethrough : false,\n truncate: truncate !== null && truncate !== void 0 ? truncate : false,\n underline: underline !== null && underline !== void 0 ? underline : false,\n weight: weight !== null && weight !== void 0 ? weight : 'regular',\n wrap: wrap !== null && wrap !== void 0 ? wrap : true,\n components: {\n root: 'span'\n },\n root: getNativeElementProps(as, {\n ref,\n ...props,\n as\n })\n };\n return state;\n};\n"],"names":["useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","_props_as","as","state","components","root","getNativeElementProps"],"mappings":";;;;+BAUiBA;;aAAAA;;;6DAVM;gCACe;AAS3B,MAAMA,mBAAmB,CAACC,OAAOC,MAAM;IAC9C,MAAM,EAAEC,KAAI,EAAGC,SAAQ,EAAGC,MAAK,EAAGC,OAAM,EAAGC,UAAS,EAAGC,cAAa,EAAGC,KAAI,EAAGC,KAAI,EAAGC,OAAM,EAAGC,MAAK,EAAG,GAAGX;IACzG,IAAIY;IACJ,MAAMC,KAAK,AAACD,CAAAA,YAAYZ,MAAMa,EAAE,AAAD,MAAO,IAAI,IAAID,cAAc,KAAK,IAAIA,YAAY,MAAM;IACvF,MAAME,QAAQ;QACVH,OAAOA,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAIA,QAAQ,OAAO;QAC3DP,OAAOA,UAAU,IAAI,IAAIA,UAAU,KAAK,IAAIA,QAAQ,KAAK;QACzDK,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,MAAM;QACtDJ,QAAQA,WAAW,IAAI,IAAIA,WAAW,KAAK,IAAIA,SAAS,KAAK;QAC7DG,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,GAAG;QACnDD,eAAeA,kBAAkB,IAAI,IAAIA,kBAAkB,KAAK,IAAIA,gBAAgB,KAAK;QACzFJ,UAAUA,aAAa,IAAI,IAAIA,aAAa,KAAK,IAAIA,WAAW,KAAK;QACrEG,WAAWA,cAAc,IAAI,IAAIA,cAAc,KAAK,IAAIA,YAAY,KAAK;QACzEI,QAAQA,WAAW,IAAI,IAAIA,WAAW,KAAK,IAAIA,SAAS,SAAS;QACjER,MAAMA,SAAS,IAAI,IAAIA,SAAS,KAAK,IAAIA,OAAO,IAAI;QACpDa,YAAY;YACRC,MAAM;QACV;QACAA,MAAMC,IAAAA,qCAAqB,EAACJ,IAAI;YAC5BZ;YACA,GAAGD,KAAK;YACRa;QACJ;IACJ;IACA,OAAOC;AACX"}
@@ -168,5 +168,3 @@ const useTextStyles_unstable = (state)=>{
168
168
  state.root.className = (0, _react.mergeClasses)(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, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
169
169
  return state;
170
170
  }; //# sourceMappingURL=useTextStyles.styles.js.map
171
-
172
- //# sourceMappingURL=useTextStyles.styles.js.map