@fluentui/react-text 9.3.1 → 9.3.2

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 (306) hide show
  1. package/.swcrc +30 -0
  2. package/CHANGELOG.json +46 -1
  3. package/CHANGELOG.md +16 -2
  4. package/lib/Body1.js.map +1 -1
  5. package/lib/Body1Strong.js.map +1 -1
  6. package/lib/Body1Stronger.js.map +1 -1
  7. package/lib/Body2.js.map +1 -1
  8. package/lib/Caption1.js.map +1 -1
  9. package/lib/Caption1Strong.js.map +1 -1
  10. package/lib/Caption1Stronger.js.map +1 -1
  11. package/lib/Caption2.js.map +1 -1
  12. package/lib/Caption2Strong.js.map +1 -1
  13. package/lib/Display.js.map +1 -1
  14. package/lib/LargeTitle.js.map +1 -1
  15. package/lib/Subtitle1.js.map +1 -1
  16. package/lib/Subtitle2.js.map +1 -1
  17. package/lib/Subtitle2Stronger.js.map +1 -1
  18. package/lib/Text.js.map +1 -1
  19. package/lib/Title1.js.map +1 -1
  20. package/lib/Title2.js.map +1 -1
  21. package/lib/Title3.js.map +1 -1
  22. package/lib/components/Text/Text.js.map +1 -1
  23. package/lib/components/Text/Text.types.js.map +1 -1
  24. package/lib/components/Text/index.js.map +1 -1
  25. package/lib/components/Text/renderText.js +1 -3
  26. package/lib/components/Text/renderText.js.map +1 -1
  27. package/lib/components/Text/useText.js +3 -2
  28. package/lib/components/Text/useText.js.map +1 -1
  29. package/lib/components/Text/useTextStyles.js.map +1 -1
  30. package/lib/components/presets/Body1/Body1.js.map +1 -1
  31. package/lib/components/presets/Body1/index.js.map +1 -1
  32. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  33. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  34. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  35. package/lib/components/presets/Body1Stronger/index.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/Caption1/Caption1.js.map +1 -1
  39. package/lib/components/presets/Caption1/index.js.map +1 -1
  40. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  41. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  42. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  43. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  44. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  45. package/lib/components/presets/Caption2/index.js.map +1 -1
  46. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  47. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  48. package/lib/components/presets/Display/Display.js.map +1 -1
  49. package/lib/components/presets/Display/index.js.map +1 -1
  50. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  51. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  52. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  53. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  54. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  55. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  56. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  57. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  58. package/lib/components/presets/Title1/Title1.js.map +1 -1
  59. package/lib/components/presets/Title1/index.js.map +1 -1
  60. package/lib/components/presets/Title2/Title2.js.map +1 -1
  61. package/lib/components/presets/Title2/index.js.map +1 -1
  62. package/lib/components/presets/Title3/Title3.js.map +1 -1
  63. package/lib/components/presets/Title3/index.js.map +1 -1
  64. package/lib/components/presets/createPreset.js.map +1 -1
  65. package/lib/index.js.map +1 -1
  66. package/lib-commonjs/Body1.js +5 -4
  67. package/lib-commonjs/Body1.js.map +1 -1
  68. package/lib-commonjs/Body1Strong.js +5 -4
  69. package/lib-commonjs/Body1Strong.js.map +1 -1
  70. package/lib-commonjs/Body1Stronger.js +5 -4
  71. package/lib-commonjs/Body1Stronger.js.map +1 -1
  72. package/lib-commonjs/Body2.js +5 -4
  73. package/lib-commonjs/Body2.js.map +1 -1
  74. package/lib-commonjs/Caption1.js +5 -4
  75. package/lib-commonjs/Caption1.js.map +1 -1
  76. package/lib-commonjs/Caption1Strong.js +5 -4
  77. package/lib-commonjs/Caption1Strong.js.map +1 -1
  78. package/lib-commonjs/Caption1Stronger.js +5 -4
  79. package/lib-commonjs/Caption1Stronger.js.map +1 -1
  80. package/lib-commonjs/Caption2.js +5 -4
  81. package/lib-commonjs/Caption2.js.map +1 -1
  82. package/lib-commonjs/Caption2Strong.js +5 -4
  83. package/lib-commonjs/Caption2Strong.js.map +1 -1
  84. package/lib-commonjs/Display.js +5 -4
  85. package/lib-commonjs/Display.js.map +1 -1
  86. package/lib-commonjs/LargeTitle.js +5 -4
  87. package/lib-commonjs/LargeTitle.js.map +1 -1
  88. package/lib-commonjs/Subtitle1.js +5 -4
  89. package/lib-commonjs/Subtitle1.js.map +1 -1
  90. package/lib-commonjs/Subtitle2.js +5 -4
  91. package/lib-commonjs/Subtitle2.js.map +1 -1
  92. package/lib-commonjs/Subtitle2Stronger.js +5 -4
  93. package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
  94. package/lib-commonjs/Text.js +5 -4
  95. package/lib-commonjs/Text.js.map +1 -1
  96. package/lib-commonjs/Title1.js +5 -4
  97. package/lib-commonjs/Title1.js.map +1 -1
  98. package/lib-commonjs/Title2.js +5 -4
  99. package/lib-commonjs/Title2.js.map +1 -1
  100. package/lib-commonjs/Title3.js +5 -4
  101. package/lib-commonjs/Title3.js.map +1 -1
  102. package/lib-commonjs/components/Text/Text.js +19 -21
  103. package/lib-commonjs/components/Text/Text.js.map +1 -1
  104. package/lib-commonjs/components/Text/Text.types.js +3 -2
  105. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  106. package/lib-commonjs/components/Text/index.js +9 -8
  107. package/lib-commonjs/components/Text/index.js.map +1 -1
  108. package/lib-commonjs/components/Text/renderText.js +13 -18
  109. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  110. package/lib-commonjs/components/Text/useText.js +35 -51
  111. package/lib-commonjs/components/Text/useText.js.map +1 -1
  112. package/lib-commonjs/components/Text/useTextStyles.js +163 -114
  113. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  114. package/lib-commonjs/components/presets/Body1/Body1.js +34 -25
  115. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  116. package/lib-commonjs/components/presets/Body1/index.js +5 -4
  117. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  118. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -25
  119. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  120. package/lib-commonjs/components/presets/Body1Strong/index.js +5 -4
  121. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  122. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -25
  123. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  124. package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -4
  125. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  126. package/lib-commonjs/components/presets/Body2/Body2.js +34 -25
  127. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  128. package/lib-commonjs/components/presets/Body2/index.js +5 -4
  129. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  130. package/lib-commonjs/components/presets/Caption1/Caption1.js +34 -25
  131. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  132. package/lib-commonjs/components/presets/Caption1/index.js +5 -4
  133. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  134. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -25
  135. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  136. package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -4
  137. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  138. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -25
  139. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  140. package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -4
  141. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  142. package/lib-commonjs/components/presets/Caption2/Caption2.js +34 -25
  143. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  144. package/lib-commonjs/components/presets/Caption2/index.js +5 -4
  145. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  146. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -25
  147. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  148. package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -4
  149. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  150. package/lib-commonjs/components/presets/Display/Display.js +34 -25
  151. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  152. package/lib-commonjs/components/presets/Display/index.js +5 -4
  153. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  154. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +34 -25
  155. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  156. package/lib-commonjs/components/presets/LargeTitle/index.js +5 -4
  157. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  158. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +34 -25
  159. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  160. package/lib-commonjs/components/presets/Subtitle1/index.js +5 -4
  161. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  162. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +34 -25
  163. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  164. package/lib-commonjs/components/presets/Subtitle2/index.js +5 -4
  165. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  166. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -25
  167. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  168. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -4
  169. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  170. package/lib-commonjs/components/presets/Title1/Title1.js +34 -25
  171. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  172. package/lib-commonjs/components/presets/Title1/index.js +5 -4
  173. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  174. package/lib-commonjs/components/presets/Title2/Title2.js +34 -25
  175. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  176. package/lib-commonjs/components/presets/Title2/index.js +5 -4
  177. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  178. package/lib-commonjs/components/presets/Title3/Title3.js +34 -25
  179. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  180. package/lib-commonjs/components/presets/Title3/index.js +5 -4
  181. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  182. package/lib-commonjs/components/presets/createPreset.js +21 -22
  183. package/lib-commonjs/components/presets/createPreset.js.map +1 -1
  184. package/lib-commonjs/index.js +69 -256
  185. package/lib-commonjs/index.js.map +1 -1
  186. package/package.json +8 -7
  187. package/lib-amd/Body1.js +0 -6
  188. package/lib-amd/Body1.js.map +0 -1
  189. package/lib-amd/Body1Strong.js +0 -6
  190. package/lib-amd/Body1Strong.js.map +0 -1
  191. package/lib-amd/Body1Stronger.js +0 -6
  192. package/lib-amd/Body1Stronger.js.map +0 -1
  193. package/lib-amd/Body2.js +0 -6
  194. package/lib-amd/Body2.js.map +0 -1
  195. package/lib-amd/Caption1.js +0 -6
  196. package/lib-amd/Caption1.js.map +0 -1
  197. package/lib-amd/Caption1Strong.js +0 -6
  198. package/lib-amd/Caption1Strong.js.map +0 -1
  199. package/lib-amd/Caption1Stronger.js +0 -6
  200. package/lib-amd/Caption1Stronger.js.map +0 -1
  201. package/lib-amd/Caption2.js +0 -6
  202. package/lib-amd/Caption2.js.map +0 -1
  203. package/lib-amd/Caption2Strong.js +0 -6
  204. package/lib-amd/Caption2Strong.js.map +0 -1
  205. package/lib-amd/Display.js +0 -6
  206. package/lib-amd/Display.js.map +0 -1
  207. package/lib-amd/LargeTitle.js +0 -6
  208. package/lib-amd/LargeTitle.js.map +0 -1
  209. package/lib-amd/Subtitle1.js +0 -6
  210. package/lib-amd/Subtitle1.js.map +0 -1
  211. package/lib-amd/Subtitle2.js +0 -6
  212. package/lib-amd/Subtitle2.js.map +0 -1
  213. package/lib-amd/Subtitle2Stronger.js +0 -6
  214. package/lib-amd/Subtitle2Stronger.js.map +0 -1
  215. package/lib-amd/Text.js +0 -6
  216. package/lib-amd/Text.js.map +0 -1
  217. package/lib-amd/Title1.js +0 -6
  218. package/lib-amd/Title1.js.map +0 -1
  219. package/lib-amd/Title2.js +0 -6
  220. package/lib-amd/Title2.js.map +0 -1
  221. package/lib-amd/Title3.js +0 -6
  222. package/lib-amd/Title3.js.map +0 -1
  223. package/lib-amd/components/Text/Text.js +0 -18
  224. package/lib-amd/components/Text/Text.js.map +0 -1
  225. package/lib-amd/components/Text/Text.types.js +0 -5
  226. package/lib-amd/components/Text/Text.types.js.map +0 -1
  227. package/lib-amd/components/Text/index.js +0 -10
  228. package/lib-amd/components/Text/index.js.map +0 -1
  229. package/lib-amd/components/Text/renderText.js +0 -14
  230. package/lib-amd/components/Text/renderText.js.map +0 -1
  231. package/lib-amd/components/Text/useText.js +0 -36
  232. package/lib-amd/components/Text/useText.js.map +0 -1
  233. package/lib-amd/components/Text/useTextStyles.js +0 -103
  234. package/lib-amd/components/Text/useTextStyles.js.map +0 -1
  235. package/lib-amd/components/presets/Body1/Body1.js +0 -23
  236. package/lib-amd/components/presets/Body1/Body1.js.map +0 -1
  237. package/lib-amd/components/presets/Body1/index.js +0 -6
  238. package/lib-amd/components/presets/Body1/index.js.map +0 -1
  239. package/lib-amd/components/presets/Body1Strong/Body1Strong.js +0 -23
  240. package/lib-amd/components/presets/Body1Strong/Body1Strong.js.map +0 -1
  241. package/lib-amd/components/presets/Body1Strong/index.js +0 -6
  242. package/lib-amd/components/presets/Body1Strong/index.js.map +0 -1
  243. package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js +0 -23
  244. package/lib-amd/components/presets/Body1Stronger/Body1Stronger.js.map +0 -1
  245. package/lib-amd/components/presets/Body1Stronger/index.js +0 -6
  246. package/lib-amd/components/presets/Body1Stronger/index.js.map +0 -1
  247. package/lib-amd/components/presets/Body2/Body2.js +0 -23
  248. package/lib-amd/components/presets/Body2/Body2.js.map +0 -1
  249. package/lib-amd/components/presets/Body2/index.js +0 -6
  250. package/lib-amd/components/presets/Body2/index.js.map +0 -1
  251. package/lib-amd/components/presets/Caption1/Caption1.js +0 -23
  252. package/lib-amd/components/presets/Caption1/Caption1.js.map +0 -1
  253. package/lib-amd/components/presets/Caption1/index.js +0 -6
  254. package/lib-amd/components/presets/Caption1/index.js.map +0 -1
  255. package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js +0 -23
  256. package/lib-amd/components/presets/Caption1Strong/Caption1Strong.js.map +0 -1
  257. package/lib-amd/components/presets/Caption1Strong/index.js +0 -6
  258. package/lib-amd/components/presets/Caption1Strong/index.js.map +0 -1
  259. package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js +0 -23
  260. package/lib-amd/components/presets/Caption1Stronger/Caption1Stronger.js.map +0 -1
  261. package/lib-amd/components/presets/Caption1Stronger/index.js +0 -6
  262. package/lib-amd/components/presets/Caption1Stronger/index.js.map +0 -1
  263. package/lib-amd/components/presets/Caption2/Caption2.js +0 -23
  264. package/lib-amd/components/presets/Caption2/Caption2.js.map +0 -1
  265. package/lib-amd/components/presets/Caption2/index.js +0 -6
  266. package/lib-amd/components/presets/Caption2/index.js.map +0 -1
  267. package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js +0 -23
  268. package/lib-amd/components/presets/Caption2Strong/Caption2Strong.js.map +0 -1
  269. package/lib-amd/components/presets/Caption2Strong/index.js +0 -6
  270. package/lib-amd/components/presets/Caption2Strong/index.js.map +0 -1
  271. package/lib-amd/components/presets/Display/Display.js +0 -23
  272. package/lib-amd/components/presets/Display/Display.js.map +0 -1
  273. package/lib-amd/components/presets/Display/index.js +0 -6
  274. package/lib-amd/components/presets/Display/index.js.map +0 -1
  275. package/lib-amd/components/presets/LargeTitle/LargeTitle.js +0 -23
  276. package/lib-amd/components/presets/LargeTitle/LargeTitle.js.map +0 -1
  277. package/lib-amd/components/presets/LargeTitle/index.js +0 -6
  278. package/lib-amd/components/presets/LargeTitle/index.js.map +0 -1
  279. package/lib-amd/components/presets/Subtitle1/Subtitle1.js +0 -23
  280. package/lib-amd/components/presets/Subtitle1/Subtitle1.js.map +0 -1
  281. package/lib-amd/components/presets/Subtitle1/index.js +0 -6
  282. package/lib-amd/components/presets/Subtitle1/index.js.map +0 -1
  283. package/lib-amd/components/presets/Subtitle2/Subtitle2.js +0 -23
  284. package/lib-amd/components/presets/Subtitle2/Subtitle2.js.map +0 -1
  285. package/lib-amd/components/presets/Subtitle2/index.js +0 -6
  286. package/lib-amd/components/presets/Subtitle2/index.js.map +0 -1
  287. package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +0 -23
  288. package/lib-amd/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +0 -1
  289. package/lib-amd/components/presets/Subtitle2Stronger/index.js +0 -6
  290. package/lib-amd/components/presets/Subtitle2Stronger/index.js.map +0 -1
  291. package/lib-amd/components/presets/Title1/Title1.js +0 -23
  292. package/lib-amd/components/presets/Title1/Title1.js.map +0 -1
  293. package/lib-amd/components/presets/Title1/index.js +0 -6
  294. package/lib-amd/components/presets/Title1/index.js.map +0 -1
  295. package/lib-amd/components/presets/Title2/Title2.js +0 -23
  296. package/lib-amd/components/presets/Title2/Title2.js.map +0 -1
  297. package/lib-amd/components/presets/Title2/index.js +0 -6
  298. package/lib-amd/components/presets/Title2/index.js.map +0 -1
  299. package/lib-amd/components/presets/Title3/Title3.js +0 -23
  300. package/lib-amd/components/presets/Title3/Title3.js.map +0 -1
  301. package/lib-amd/components/presets/Title3/index.js +0 -6
  302. package/lib-amd/components/presets/Title3/index.js.map +0 -1
  303. package/lib-amd/components/presets/createPreset.js +0 -19
  304. package/lib-amd/components/presets/createPreset.js.map +0 -1
  305. package/lib-amd/index.js +0 -45
  306. package/lib-amd/index.js.map +0 -1
@@ -1,18 +0,0 @@
1
- define(["require", "exports", "react", "./useText", "./renderText", "./useTextStyles", "@fluentui/react-shared-contexts"], function (require, exports, React, useText_1, renderText_1, useTextStyles_1, react_shared_contexts_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Text = void 0;
5
- /**
6
- * Typography and styling abstraction component used to ensure consistency of text.
7
- */
8
- exports.Text = React.forwardRef(function (props, ref) {
9
- var state = useText_1.useText_unstable(props, ref);
10
- useTextStyles_1.useTextStyles_unstable(state);
11
- var useCustomStyles = react_shared_contexts_1.useCustomStyleHooks_unstable().useTextStyles_unstable;
12
- useCustomStyles(state);
13
- return renderText_1.renderText_unstable(state);
14
- // Work around some small mismatches in inferred types which don't matter in practice
15
- });
16
- exports.Text.displayName = 'Text';
17
- });
18
- //# sourceMappingURL=Text.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.tsx"],"names":[],"mappings":";;;;IAQA;;OAEG;IACU,QAAA,IAAI,GAAmC,KAAK,CAAC,UAAU,CAAC,UAAC,KAAK,EAAE,GAAG;QAC9E,IAAM,KAAK,GAAG,0BAAgB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAE3C,sCAAsB,CAAC,KAAK,CAAC,CAAC;QAEtB,IAAwB,eAAe,GAAK,oDAA4B,EAAE,uBAAnC,CAAoC;QACnF,eAAe,CAAC,KAAK,CAAC,CAAC;QAEvB,OAAO,gCAAmB,CAAC,KAAK,CAAC,CAAC;QAClC,qFAAqF;IACvF,CAAC,CAAmC,CAAC;IAErC,YAAI,CAAC,WAAW,GAAG,MAAM,CAAC","sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_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 const { useTextStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(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"]}
@@ -1,5 +0,0 @@
1
- define(["require", "exports"], function (require, exports) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- });
5
- //# sourceMappingURL=Text.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.types.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/Text.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"]}
@@ -1,10 +0,0 @@
1
- define(["require", "exports", "tslib", "./Text", "./Text.types", "./renderText", "./useText", "./useTextStyles"], function (require, exports, tslib_1, Text_1, Text_types_1, renderText_1, useText_1, useTextStyles_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Text_1, exports);
5
- tslib_1.__exportStar(Text_types_1, exports);
6
- tslib_1.__exportStar(renderText_1, exports);
7
- tslib_1.__exportStar(useText_1, exports);
8
- tslib_1.__exportStar(useTextStyles_1, exports);
9
- });
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/index.ts"],"names":[],"mappings":";;;IAAA,sCAAuB;IACvB,4CAA6B;IAC7B,4CAA6B;IAC7B,yCAA0B;IAC1B,+CAAgC","sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n"]}
@@ -1,14 +0,0 @@
1
- define(["require", "exports", "tslib", "react", "@fluentui/react-utilities"], function (require, exports, tslib_1, React, react_utilities_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.renderText_unstable = void 0;
5
- /**
6
- * Render the final JSX of Text
7
- */
8
- var renderText_unstable = function (state) {
9
- var _a = react_utilities_1.getSlots(state), slots = _a.slots, slotProps = _a.slotProps;
10
- return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root));
11
- };
12
- exports.renderText_unstable = renderText_unstable;
13
- });
14
- //# sourceMappingURL=renderText.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderText.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/renderText.tsx"],"names":[],"mappings":";;;;IAIA;;OAEG;IACI,IAAM,mBAAmB,GAAG,UAAC,KAAgB;QAC5C,IAAA,KAAuB,0BAAQ,CAAY,KAAK,CAAC,EAA/C,KAAK,WAAA,EAAE,SAAS,eAA+B,CAAC;QAExD,OAAO,oBAAC,KAAK,CAAC,IAAI,uBAAK,SAAS,CAAC,IAAI,EAAI,CAAC;IAC5C,CAAC,CAAC;IAJW,QAAA,mBAAmB,uBAI9B","sourcesContent":["import * as React from 'react';\nimport { getSlots } 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) => {\n const { slots, slotProps } = getSlots<TextSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"]}
@@ -1,36 +0,0 @@
1
- define(["require", "exports", "tslib", "@fluentui/react-utilities"], function (require, exports, tslib_1, react_utilities_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.useText_unstable = void 0;
5
- /**
6
- * Create the state required to render Text.
7
- *
8
- * The returned state can be modified with hooks such as useTextStyles_unstable,
9
- * before being passed to renderText_unstable.
10
- *
11
- * @param props - props from this instance of Text
12
- * @param ref - reference to root HTMLElement of Text
13
- */
14
- var useText_unstable = function (props, ref) {
15
- var _a;
16
- var wrap = props.wrap, truncate = props.truncate, block = props.block, italic = props.italic, underline = props.underline, strikethrough = props.strikethrough, size = props.size, font = props.font, weight = props.weight, align = props.align;
17
- var as = (_a = props.as) !== null && _a !== void 0 ? _a : 'span';
18
- var state = {
19
- align: align !== null && align !== void 0 ? align : 'start',
20
- block: block !== null && block !== void 0 ? block : false,
21
- font: font !== null && font !== void 0 ? font : 'base',
22
- italic: italic !== null && italic !== void 0 ? italic : false,
23
- size: size !== null && size !== void 0 ? size : 300,
24
- strikethrough: strikethrough !== null && strikethrough !== void 0 ? strikethrough : false,
25
- truncate: truncate !== null && truncate !== void 0 ? truncate : false,
26
- underline: underline !== null && underline !== void 0 ? underline : false,
27
- weight: weight !== null && weight !== void 0 ? weight : 'regular',
28
- wrap: wrap !== null && wrap !== void 0 ? wrap : true,
29
- components: { root: 'span' },
30
- root: react_utilities_1.getNativeElementProps(as, tslib_1.__assign(tslib_1.__assign({ ref: ref }, props), { as: as })),
31
- };
32
- return state;
33
- };
34
- exports.useText_unstable = useText_unstable;
35
- });
36
- //# sourceMappingURL=useText.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useText.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/useText.ts"],"names":[],"mappings":";;;;IAIA;;;;;;;;OAQG;IACI,IAAM,gBAAgB,GAAG,UAAC,KAAgB,EAAE,GAA2B;;QACpE,IAAA,IAAI,GAAmF,KAAK,KAAxF,EAAE,QAAQ,GAAyE,KAAK,SAA9E,EAAE,KAAK,GAAkE,KAAK,MAAvE,EAAE,MAAM,GAA0D,KAAK,OAA/D,EAAE,SAAS,GAA+C,KAAK,UAApD,EAAE,aAAa,GAAgC,KAAK,cAArC,EAAE,IAAI,GAA0B,KAAK,KAA/B,EAAE,IAAI,GAAoB,KAAK,KAAzB,EAAE,MAAM,GAAY,KAAK,OAAjB,EAAE,KAAK,GAAK,KAAK,MAAV,CAAW;QACrG,IAAM,EAAE,GAAG,MAAA,KAAK,CAAC,EAAE,mCAAI,MAAM,CAAC;QAE9B,IAAM,KAAK,GAAc;YACvB,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,OAAO;YACvB,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,KAAK;YACrB,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,MAAM;YACpB,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,KAAK;YACvB,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,GAAG;YACjB,aAAa,EAAE,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,KAAK;YACrC,QAAQ,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,KAAK;YAC3B,SAAS,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,KAAK;YAC7B,MAAM,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,SAAS;YAC3B,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,IAAI;YAElB,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YAE5B,IAAI,EAAE,uCAAqB,CAAC,EAAE,sCAC5B,GAAG,KAAA,IACA,KAAK,KACR,EAAE,IAAA,IACF;SACH,CAAC;QAEF,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IA1BW,QAAA,gBAAgB,oBA0B3B","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps } 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 const as = props.as ?? 'span';\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: getNativeElementProps(as, {\n ref,\n ...props,\n as,\n }),\n };\n\n return state;\n};\n"]}
@@ -1,103 +0,0 @@
1
- define(["require", "exports", "tslib", "@griffel/react", "@fluentui/react-theme"], function (require, exports, tslib_1, react_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.useTextStyles_unstable = exports.textClassNames = void 0;
5
- exports.textClassNames = {
6
- root: 'fui-Text',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: tslib_1.__assign(tslib_1.__assign({ fontFamily: react_theme_1.tokens.fontFamilyBase, fontSize: react_theme_1.tokens.fontSizeBase300, lineHeight: react_theme_1.tokens.lineHeightBase300, fontWeight: react_theme_1.tokens.fontWeightRegular, textAlign: 'start', display: 'inline', whiteSpace: 'normal' }, react_1.shorthands.overflow('visible')), { textOverflow: 'clip' }),
13
- nowrap: tslib_1.__assign({ whiteSpace: 'nowrap' }, react_1.shorthands.overflow('hidden')),
14
- truncate: {
15
- textOverflow: 'ellipsis',
16
- },
17
- block: {
18
- display: 'block',
19
- },
20
- italic: {
21
- fontStyle: 'italic',
22
- },
23
- underline: {
24
- textDecorationLine: 'underline',
25
- },
26
- strikethrough: {
27
- textDecorationLine: 'line-through',
28
- },
29
- strikethroughUnderline: {
30
- textDecorationLine: 'line-through underline',
31
- },
32
- base100: {
33
- fontSize: react_theme_1.tokens.fontSizeBase100,
34
- lineHeight: react_theme_1.tokens.lineHeightBase100,
35
- },
36
- base200: {
37
- fontSize: react_theme_1.tokens.fontSizeBase200,
38
- lineHeight: react_theme_1.tokens.lineHeightBase200,
39
- },
40
- base400: {
41
- fontSize: react_theme_1.tokens.fontSizeBase400,
42
- lineHeight: react_theme_1.tokens.lineHeightBase400,
43
- },
44
- base500: {
45
- fontSize: react_theme_1.tokens.fontSizeBase500,
46
- lineHeight: react_theme_1.tokens.lineHeightBase500,
47
- },
48
- base600: {
49
- fontSize: react_theme_1.tokens.fontSizeBase600,
50
- lineHeight: react_theme_1.tokens.lineHeightBase600,
51
- },
52
- hero700: {
53
- fontSize: react_theme_1.tokens.fontSizeHero700,
54
- lineHeight: react_theme_1.tokens.lineHeightHero700,
55
- },
56
- hero800: {
57
- fontSize: react_theme_1.tokens.fontSizeHero800,
58
- lineHeight: react_theme_1.tokens.lineHeightHero800,
59
- },
60
- hero900: {
61
- fontSize: react_theme_1.tokens.fontSizeHero900,
62
- lineHeight: react_theme_1.tokens.lineHeightHero900,
63
- },
64
- hero1000: {
65
- fontSize: react_theme_1.tokens.fontSizeHero1000,
66
- lineHeight: react_theme_1.tokens.lineHeightHero1000,
67
- },
68
- monospace: {
69
- fontFamily: react_theme_1.tokens.fontFamilyMonospace,
70
- },
71
- numeric: {
72
- fontFamily: react_theme_1.tokens.fontFamilyNumeric,
73
- },
74
- weightMedium: {
75
- fontWeight: react_theme_1.tokens.fontWeightMedium,
76
- },
77
- weightSemibold: {
78
- fontWeight: react_theme_1.tokens.fontWeightSemibold,
79
- },
80
- weightBold: {
81
- fontWeight: react_theme_1.tokens.fontWeightBold,
82
- },
83
- alignCenter: {
84
- textAlign: 'center',
85
- },
86
- alignEnd: {
87
- textAlign: 'end',
88
- },
89
- alignJustify: {
90
- textAlign: 'justify',
91
- },
92
- });
93
- /**
94
- * Apply styling to the Text slots based on the state
95
- */
96
- var useTextStyles_unstable = function (state) {
97
- var styles = useStyles();
98
- state.root.className = react_1.mergeClasses(exports.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);
99
- return state;
100
- };
101
- exports.useTextStyles_unstable = useTextStyles_unstable;
102
- });
103
- //# sourceMappingURL=useTextStyles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTextStyles.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Text/useTextStyles.ts"],"names":[],"mappings":"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","sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { 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 ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.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 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"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Body1 = exports.body1ClassNames = void 0;
5
- exports.body1ClassNames = {
6
- root: 'fui-Body1',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.body1,
13
- });
14
- /**
15
- * Text preset component for the Body1 typography variant
16
- */
17
- exports.Body1 = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.body1ClassNames.root,
20
- displayName: 'Body1',
21
- });
22
- });
23
- //# sourceMappingURL=Body1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body1.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1/Body1.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,eAAe,GAA8B;QACxD,IAAI,EAAE,WAAW;KAClB,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,KAAK;KAC7B,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,KAAK,GAAuC,2BAAY,CAAC;QACpE,SAAS,WAAA;QACT,SAAS,EAAE,uBAAe,CAAC,IAAI;QAC/B,WAAW,EAAE,OAAO;KACrB,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Body1"], function (require, exports, tslib_1, Body1_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Body1_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1/index.ts"],"names":[],"mappings":";;;IAAA,uCAAwB","sourcesContent":["export * from './Body1';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Body1Strong = exports.body1StrongClassNames = void 0;
5
- exports.body1StrongClassNames = {
6
- root: 'fui-Body1Strong',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.body1Strong,
13
- });
14
- /**
15
- * Text preset component for the Body1Strong typography variant
16
- */
17
- exports.Body1Strong = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.body1StrongClassNames.root,
20
- displayName: 'Body1Strong',
21
- });
22
- });
23
- //# sourceMappingURL=Body1Strong.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body1Strong.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1Strong/Body1Strong.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,qBAAqB,GAA8B;QAC9D,IAAI,EAAE,iBAAiB;KACxB,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,WAAW;KACnC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,WAAW,GAAuC,2BAAY,CAAC;QAC1E,SAAS,WAAA;QACT,SAAS,EAAE,6BAAqB,CAAC,IAAI;QACrC,WAAW,EAAE,aAAa;KAC3B,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Body1Strong"], function (require, exports, tslib_1, Body1Strong_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Body1Strong_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1Strong/index.ts"],"names":[],"mappings":";;;IAAA,6CAA8B","sourcesContent":["export * from './Body1Strong';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Body1Stronger = exports.body1StrongerClassNames = void 0;
5
- exports.body1StrongerClassNames = {
6
- root: 'fui-Body1Stronger',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.body1Stronger,
13
- });
14
- /**
15
- * Text preset component for the Body1Stronger typography variant
16
- */
17
- exports.Body1Stronger = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.body1StrongerClassNames.root,
20
- displayName: 'Body1Stronger',
21
- });
22
- });
23
- //# sourceMappingURL=Body1Stronger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body1Stronger.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1Stronger/Body1Stronger.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,uBAAuB,GAA8B;QAChE,IAAI,EAAE,mBAAmB;KAC1B,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,aAAa;KACrC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,aAAa,GAAuC,2BAAY,CAAC;QAC5E,SAAS,WAAA;QACT,SAAS,EAAE,+BAAuB,CAAC,IAAI;QACvC,WAAW,EAAE,eAAe;KAC7B,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Body1Stronger"], function (require, exports, tslib_1, Body1Stronger_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Body1Stronger_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body1Stronger/index.ts"],"names":[],"mappings":";;;IAAA,+CAAgC","sourcesContent":["export * from './Body1Stronger';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Body2 = exports.body2ClassNames = void 0;
5
- exports.body2ClassNames = {
6
- root: 'fui-Body2',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.body2,
13
- });
14
- /**
15
- * Text preset component for the Body2 typography variant
16
- */
17
- exports.Body2 = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.body2ClassNames.root,
20
- displayName: 'Body2',
21
- });
22
- });
23
- //# sourceMappingURL=Body2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body2.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body2/Body2.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,eAAe,GAA8B;QACxD,IAAI,EAAE,WAAW;KAClB,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,KAAK;KAC7B,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,KAAK,GAAuC,2BAAY,CAAC;QACpE,SAAS,WAAA;QACT,SAAS,EAAE,uBAAe,CAAC,IAAI;QAC/B,WAAW,EAAE,OAAO;KACrB,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body2,\n});\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Body2"], function (require, exports, tslib_1, Body2_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Body2_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Body2/index.ts"],"names":[],"mappings":";;;IAAA,uCAAwB","sourcesContent":["export * from './Body2';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Caption1 = exports.caption1ClassNames = void 0;
5
- exports.caption1ClassNames = {
6
- root: 'fui-Caption1',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.caption1,
13
- });
14
- /**
15
- * Text preset component for the Caption1 typography variant
16
- */
17
- exports.Caption1 = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.caption1ClassNames.root,
20
- displayName: 'Caption1',
21
- });
22
- });
23
- //# sourceMappingURL=Caption1.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Caption1.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1/Caption1.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,kBAAkB,GAA8B;QAC3D,IAAI,EAAE,cAAc;KACrB,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,QAAQ;KAChC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,QAAQ,GAAuC,2BAAY,CAAC;QACvE,SAAS,WAAA;QACT,SAAS,EAAE,0BAAkB,CAAC,IAAI;QAClC,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Caption1"], function (require, exports, tslib_1, Caption1_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Caption1_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1/index.ts"],"names":[],"mappings":";;;IAAA,0CAA2B","sourcesContent":["export * from './Caption1';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Caption1Strong = exports.caption1StrongClassNames = void 0;
5
- exports.caption1StrongClassNames = {
6
- root: 'fui-Caption1Strong',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.caption1Strong,
13
- });
14
- /**
15
- * Text preset component for the Caption1Strong typography variant
16
- */
17
- exports.Caption1Strong = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.caption1StrongClassNames.root,
20
- displayName: 'Caption1Strong',
21
- });
22
- });
23
- //# sourceMappingURL=Caption1Strong.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Caption1Strong.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Strong/Caption1Strong.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,wBAAwB,GAA8B;QACjE,IAAI,EAAE,oBAAoB;KAC3B,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,cAAc;KACtC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,cAAc,GAAuC,2BAAY,CAAC;QAC7E,SAAS,WAAA;QACT,SAAS,EAAE,gCAAwB,CAAC,IAAI;QACxC,WAAW,EAAE,gBAAgB;KAC9B,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Caption1Strong"], function (require, exports, tslib_1, Caption1Strong_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Caption1Strong_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Strong/index.ts"],"names":[],"mappings":";;;IAAA,gDAAiC","sourcesContent":["export * from './Caption1Strong';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Caption1Stronger = exports.caption1StrongerClassNames = void 0;
5
- exports.caption1StrongerClassNames = {
6
- root: 'fui-Caption1Stronger',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.caption1Stronger,
13
- });
14
- /**
15
- * Text preset component for the Caption1Stronger typography variant
16
- */
17
- exports.Caption1Stronger = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.caption1StrongerClassNames.root,
20
- displayName: 'Caption1Stronger',
21
- });
22
- });
23
- //# sourceMappingURL=Caption1Stronger.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Caption1Stronger.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,0BAA0B,GAA8B;QACnE,IAAI,EAAE,sBAAsB;KAC7B,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,gBAAgB;KACxC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,gBAAgB,GAAuC,2BAAY,CAAC;QAC/E,SAAS,WAAA;QACT,SAAS,EAAE,kCAA0B,CAAC,IAAI;QAC1C,WAAW,EAAE,kBAAkB;KAChC,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Caption1Stronger"], function (require, exports, tslib_1, Caption1Stronger_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Caption1Stronger_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Stronger/index.ts"],"names":[],"mappings":";;;IAAA,kDAAmC","sourcesContent":["export * from './Caption1Stronger';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Caption2 = exports.caption2ClassNames = void 0;
5
- exports.caption2ClassNames = {
6
- root: 'fui-Caption2',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.caption2,
13
- });
14
- /**
15
- * Text preset component for the Caption2 typography variant
16
- */
17
- exports.Caption2 = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.caption2ClassNames.root,
20
- displayName: 'Caption2',
21
- });
22
- });
23
- //# sourceMappingURL=Caption2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Caption2.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2/Caption2.tsx"],"names":[],"mappings":";;;;IAOa,QAAA,kBAAkB,GAA8B;QAC3D,IAAI,EAAE,cAAc;KACrB,CAAC;IAEF;;OAEG;IACH,IAAM,SAAS,GAAG,kBAAU,CAAC;QAC3B,IAAI,EAAE,8BAAgB,CAAC,QAAQ;KAChC,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,QAAQ,GAAuC,2BAAY,CAAC;QACvE,SAAS,WAAA;QACT,SAAS,EAAE,0BAAkB,CAAC,IAAI;QAClC,WAAW,EAAE,UAAU;KACxB,CAAC,CAAC","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
@@ -1,6 +0,0 @@
1
- define(["require", "exports", "tslib", "./Caption2"], function (require, exports, tslib_1, Caption2_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- tslib_1.__exportStar(Caption2_1, exports);
5
- });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2/index.ts"],"names":[],"mappings":";;;IAAA,0CAA2B","sourcesContent":["export * from './Caption2';\n"]}
@@ -1,23 +0,0 @@
1
- define(["require", "exports", "@griffel/react", "../createPreset", "@fluentui/react-theme"], function (require, exports, react_1, createPreset_1, react_theme_1) {
2
- "use strict";
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Caption2Strong = exports.caption2StrongClassNames = void 0;
5
- exports.caption2StrongClassNames = {
6
- root: 'fui-Caption2Strong',
7
- };
8
- /**
9
- * Styles for the root slot
10
- */
11
- var useStyles = react_1.makeStyles({
12
- root: react_theme_1.typographyStyles.caption2Strong,
13
- });
14
- /**
15
- * Text preset component for the Caption2Strong typography variant
16
- */
17
- exports.Caption2Strong = createPreset_1.createPreset({
18
- useStyles: useStyles,
19
- className: exports.caption2StrongClassNames.root,
20
- displayName: 'Caption2Strong',
21
- });
22
- });
23
- //# sourceMappingURL=Caption2Strong.js.map