@fluentui/react-text 9.3.0 → 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 +61 -1
  3. package/CHANGELOG.md +25 -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 +1 @@
1
- {"version":3,"names":["react_1","require","react_theme_1","exports","textClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","useTextStyles_unstable","state","styles","className","mergeClasses","wrap","size","font","weight","align"],"sources":["../src/packages/react-components/react-text/src/components/Text/useTextStyles.ts"],"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"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../lib/components/Text/useTextStyles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const textClassNames = {\n root: 'fui-Text'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bg96gwp: \"f1i3iumi\",\n Bhrd7zp: \"figsok6\",\n fsow6f: \"fpgzoln\",\n mc9l5x: \"f1w7gpdv\",\n Huce71: \"f6juhto\",\n B68tc82: \"f1mtd64y\",\n Bmxbyg5: \"f1y7q3j9\",\n ygn44y: \"f2jf649\"\n },\n nowrap: {\n Huce71: \"fz5stix\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\"\n },\n truncate: {\n ygn44y: \"f1cmbuwj\"\n },\n block: {\n mc9l5x: \"ftgm304\"\n },\n italic: {\n B80ckks: \"f1j4dglz\"\n },\n underline: {\n w71qe1: \"f13mvf36\"\n },\n strikethrough: {\n w71qe1: \"fv5q2k7\"\n },\n strikethroughUnderline: {\n w71qe1: \"f1drk4o6\"\n },\n base100: {\n Be2twd7: \"f13mqy1h\",\n Bg96gwp: \"fcpl73t\"\n },\n base200: {\n Be2twd7: \"fy9rknc\",\n Bg96gwp: \"fwrc4pm\"\n },\n base400: {\n Be2twd7: \"fod5ikn\",\n Bg96gwp: \"faaz57k\"\n },\n base500: {\n Be2twd7: \"f1pp30po\",\n Bg96gwp: \"f106mvju\"\n },\n base600: {\n Be2twd7: \"f1x0m3f5\",\n Bg96gwp: \"fb86gi6\"\n },\n hero700: {\n Be2twd7: \"fojgt09\",\n Bg96gwp: \"fcen8rp\"\n },\n hero800: {\n Be2twd7: \"fccw675\",\n Bg96gwp: \"f1ebx5kk\"\n },\n hero900: {\n Be2twd7: \"f15afnhw\",\n Bg96gwp: \"fr3w3wp\"\n },\n hero1000: {\n Be2twd7: \"fpyltcb\",\n Bg96gwp: \"f1ivgwrt\"\n },\n monospace: {\n Bahqtrf: \"f1fedwem\"\n },\n numeric: {\n Bahqtrf: \"f1uq0ln5\"\n },\n weightMedium: {\n Bhrd7zp: \"fdj6btp\"\n },\n weightSemibold: {\n Bhrd7zp: \"fl43uef\"\n },\n weightBold: {\n Bhrd7zp: \"flh3ekv\"\n },\n alignCenter: {\n fsow6f: \"f17mccla\"\n },\n alignEnd: {\n fsow6f: \"f12ymhq5\"\n },\n alignJustify: {\n fsow6f: \"f1j59e10\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fpgzoln{text-align:start;}\", \".f1w7gpdv{display:inline;}\", \".f6juhto{white-space:normal;}\", \".f1mtd64y{overflow-x:visible;}\", \".f1y7q3j9{overflow-y:visible;}\", \".f2jf649{text-overflow:clip;}\", \".fz5stix{white-space:nowrap;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1cmbuwj{text-overflow:ellipsis;}\", \".ftgm304{display:block;}\", \".f1j4dglz{font-style:italic;}\", \".f13mvf36{text-decoration-line:underline;}\", \".fv5q2k7{text-decoration-line:line-through;}\", \".f1drk4o6{text-decoration-line:line-through underline;}\", \".f13mqy1h{font-size:var(--fontSizeBase100);}\", \".fcpl73t{line-height:var(--lineHeightBase100);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".fwrc4pm{line-height:var(--lineHeightBase200);}\", \".fod5ikn{font-size:var(--fontSizeBase400);}\", \".faaz57k{line-height:var(--lineHeightBase400);}\", \".f1pp30po{font-size:var(--fontSizeBase500);}\", \".f106mvju{line-height:var(--lineHeightBase500);}\", \".f1x0m3f5{font-size:var(--fontSizeBase600);}\", \".fb86gi6{line-height:var(--lineHeightBase600);}\", \".fojgt09{font-size:var(--fontSizeHero700);}\", \".fcen8rp{line-height:var(--lineHeightHero700);}\", \".fccw675{font-size:var(--fontSizeHero800);}\", \".f1ebx5kk{line-height:var(--lineHeightHero800);}\", \".f15afnhw{font-size:var(--fontSizeHero900);}\", \".fr3w3wp{line-height:var(--lineHeightHero900);}\", \".fpyltcb{font-size:var(--fontSizeHero1000);}\", \".f1ivgwrt{line-height:var(--lineHeightHero1000);}\", \".f1fedwem{font-family:var(--fontFamilyMonospace);}\", \".f1uq0ln5{font-family:var(--fontFamilyNumeric);}\", \".fdj6btp{font-weight:var(--fontWeightMedium);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".flh3ekv{font-weight:var(--fontWeightBold);}\", \".f17mccla{text-align:center;}\", \".f12ymhq5{text-align:end;}\", \".f1j59e10{text-align:justify;}\"]\n});\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = state => {\n const styles = useStyles();\n state.root.className = 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);\n return state;\n};\n//# sourceMappingURL=useTextStyles.js.map"],"names":["textClassNames","useTextStyles_unstable","root","useStyles","__styles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","state","styles","className","mergeClasses","wrap","size","font","weight","align"],"mappings":"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"}
@@ -1,34 +1,43 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1ClassNames: ()=>body1ClassNames,
13
+ Body1: ()=>Body1
5
14
  });
6
- exports.Body1 = exports.body1ClassNames = void 0;
7
- const react_1 = /*#__PURE__*/require("@griffel/react");
8
- const createPreset_1 = /*#__PURE__*/require("../createPreset");
9
- const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
10
- exports.body1ClassNames = {
11
- root: 'fui-Body1'
15
+ const _react = require("@griffel/react");
16
+ const _createPreset = require("../createPreset");
17
+ const body1ClassNames = {
18
+ root: 'fui-Body1'
12
19
  };
13
20
  /**
14
21
  * Styles for the root slot
15
- */
16
- const useStyles = /*#__PURE__*/react_1.__styles({
17
- root: {
18
- Bahqtrf: "fk6fouc",
19
- Be2twd7: "fkhj508",
20
- Bhrd7zp: "figsok6",
21
- Bg96gwp: "f1i3iumi"
22
- }
22
+ */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
+ root: {
24
+ Bahqtrf: "fk6fouc",
25
+ Be2twd7: "fkhj508",
26
+ Bhrd7zp: "figsok6",
27
+ Bg96gwp: "f1i3iumi"
28
+ }
23
29
  }, {
24
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
25
- });
26
- /**
27
- * Text preset component for the Body1 typography variant
28
- */
29
- exports.Body1 = /*#__PURE__*/createPreset_1.createPreset({
30
- useStyles,
31
- className: exports.body1ClassNames.root,
32
- displayName: 'Body1'
30
+ d: [
31
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
+ ".fkhj508{font-size:var(--fontSizeBase300);}",
33
+ ".figsok6{font-weight:var(--fontWeightRegular);}",
34
+ ".f1i3iumi{line-height:var(--lineHeightBase300);}"
35
+ ]
33
36
  });
37
+ const Body1 = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
+ useStyles,
39
+ className: body1ClassNames.root,
40
+ displayName: 'Body1'
41
+ }); //# sourceMappingURL=Body1.js.map
42
+
34
43
  //# sourceMappingURL=Body1.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","body1ClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1","createPreset","className","displayName"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,KAAK,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACpER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,eAAe,CAACC,IAAI;EAC/BW,WAAW,EAAE;CACd,CAAC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1/Body1.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"figsok6\",\n Bg96gwp: \"f1i3iumi\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\"]\n});\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1 = /*#__PURE__*/createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1'\n});\n//# sourceMappingURL=Body1.js.map"],"names":["body1ClassNames","Body1","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,eAAe,MAAfA;IAmBAC,KAAK,MAALA;;uBAtBY;8BACI;AAEtB,MAAMD,kBAAkB;IAC7BE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAmD;KAAmD;AAC3M;AAIO,MAAMR,QAAQ,WAAW,GAAES,IAAAA,0BAAY,EAAC;IAC7CP;IACAQ,WAAWX,gBAAgBE,IAAI;IAC/BU,aAAa;AACf,IACA,iCAAiC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./Body1"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./Body1"), exports);
7
+ //# sourceMappingURL=index.js.map
8
+
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,aAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1/index.js"],"sourcesContent":["export * from './Body1';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
@@ -1,34 +1,43 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1StrongClassNames: ()=>body1StrongClassNames,
13
+ Body1Strong: ()=>Body1Strong
5
14
  });
6
- exports.Body1Strong = exports.body1StrongClassNames = void 0;
7
- const react_1 = /*#__PURE__*/require("@griffel/react");
8
- const createPreset_1 = /*#__PURE__*/require("../createPreset");
9
- const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
10
- exports.body1StrongClassNames = {
11
- root: 'fui-Body1Strong'
15
+ const _react = require("@griffel/react");
16
+ const _createPreset = require("../createPreset");
17
+ const body1StrongClassNames = {
18
+ root: 'fui-Body1Strong'
12
19
  };
13
20
  /**
14
21
  * Styles for the root slot
15
- */
16
- const useStyles = /*#__PURE__*/react_1.__styles({
17
- root: {
18
- Bahqtrf: "fk6fouc",
19
- Be2twd7: "fkhj508",
20
- Bhrd7zp: "fl43uef",
21
- Bg96gwp: "f1i3iumi"
22
- }
22
+ */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
+ root: {
24
+ Bahqtrf: "fk6fouc",
25
+ Be2twd7: "fkhj508",
26
+ Bhrd7zp: "fl43uef",
27
+ Bg96gwp: "f1i3iumi"
28
+ }
23
29
  }, {
24
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
25
- });
26
- /**
27
- * Text preset component for the Body1Strong typography variant
28
- */
29
- exports.Body1Strong = /*#__PURE__*/createPreset_1.createPreset({
30
- useStyles,
31
- className: exports.body1StrongClassNames.root,
32
- displayName: 'Body1Strong'
30
+ d: [
31
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
+ ".fkhj508{font-size:var(--fontSizeBase300);}",
33
+ ".fl43uef{font-weight:var(--fontWeightSemibold);}",
34
+ ".f1i3iumi{line-height:var(--lineHeightBase300);}"
35
+ ]
33
36
  });
37
+ const Body1Strong = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
+ useStyles,
39
+ className: body1StrongClassNames.root,
40
+ displayName: 'Body1Strong'
41
+ }); //# sourceMappingURL=Body1Strong.js.map
42
+
34
43
  //# sourceMappingURL=Body1Strong.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","body1StrongClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1Strong","createPreset","className","displayName"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,qBAAqB,GAA8B;EAC9DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,WAAW,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EAC1ER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,qBAAqB,CAACC,IAAI;EACrCW,WAAW,EAAE;CACd,CAAC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1Strong/Body1Strong.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1StrongClassNames = {\n root: 'fui-Body1Strong'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"fl43uef\",\n Bg96gwp: \"f1i3iumi\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\"]\n});\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong = /*#__PURE__*/createPreset({\n useStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong'\n});\n//# sourceMappingURL=Body1Strong.js.map"],"names":["body1StrongClassNames","Body1Strong","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,qBAAqB,MAArBA;IAmBAC,WAAW,MAAXA;;uBAtBY;8BACI;AAEtB,MAAMD,wBAAwB;IACnCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAoD;KAAmD;AAC5M;AAIO,MAAMR,cAAc,WAAW,GAAES,IAAAA,0BAAY,EAAC;IACnDP;IACAQ,WAAWX,sBAAsBE,IAAI;IACrCU,aAAa;AACf,IACA,uCAAuC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./Body1Strong"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./Body1Strong"), exports);
7
+ //# sourceMappingURL=index.js.map
8
+
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,mBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1Strong/index.js"],"sourcesContent":["export * from './Body1Strong';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
@@ -1,34 +1,43 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1StrongerClassNames: ()=>body1StrongerClassNames,
13
+ Body1Stronger: ()=>Body1Stronger
5
14
  });
6
- exports.Body1Stronger = exports.body1StrongerClassNames = void 0;
7
- const react_1 = /*#__PURE__*/require("@griffel/react");
8
- const createPreset_1 = /*#__PURE__*/require("../createPreset");
9
- const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
10
- exports.body1StrongerClassNames = {
11
- root: 'fui-Body1Stronger'
15
+ const _react = require("@griffel/react");
16
+ const _createPreset = require("../createPreset");
17
+ const body1StrongerClassNames = {
18
+ root: 'fui-Body1Stronger'
12
19
  };
13
20
  /**
14
21
  * Styles for the root slot
15
- */
16
- const useStyles = /*#__PURE__*/react_1.__styles({
17
- root: {
18
- Bahqtrf: "fk6fouc",
19
- Be2twd7: "fkhj508",
20
- Bhrd7zp: "flh3ekv",
21
- Bg96gwp: "f1i3iumi"
22
- }
22
+ */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
+ root: {
24
+ Bahqtrf: "fk6fouc",
25
+ Be2twd7: "fkhj508",
26
+ Bhrd7zp: "flh3ekv",
27
+ Bg96gwp: "f1i3iumi"
28
+ }
23
29
  }, {
24
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
25
- });
26
- /**
27
- * Text preset component for the Body1Stronger typography variant
28
- */
29
- exports.Body1Stronger = /*#__PURE__*/createPreset_1.createPreset({
30
- useStyles,
31
- className: exports.body1StrongerClassNames.root,
32
- displayName: 'Body1Stronger'
30
+ d: [
31
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
+ ".fkhj508{font-size:var(--fontSizeBase300);}",
33
+ ".flh3ekv{font-weight:var(--fontWeightBold);}",
34
+ ".f1i3iumi{line-height:var(--lineHeightBase300);}"
35
+ ]
33
36
  });
37
+ const Body1Stronger = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
+ useStyles,
39
+ className: body1StrongerClassNames.root,
40
+ displayName: 'Body1Stronger'
41
+ }); //# sourceMappingURL=Body1Stronger.js.map
42
+
34
43
  //# sourceMappingURL=Body1Stronger.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","body1StrongerClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1Stronger","createPreset","className","displayName"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,uBAAuB,GAA8B;EAChEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,aAAa,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EAC5ER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,uBAAuB,CAACC,IAAI;EACvCW,WAAW,EAAE;CACd,CAAC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1Stronger/Body1Stronger.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1StrongerClassNames = {\n root: 'fui-Body1Stronger'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"flh3ekv\",\n Bg96gwp: \"f1i3iumi\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".flh3ekv{font-weight:var(--fontWeightBold);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\"]\n});\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger = /*#__PURE__*/createPreset({\n useStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger'\n});\n//# sourceMappingURL=Body1Stronger.js.map"],"names":["body1StrongerClassNames","Body1Stronger","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,uBAAuB,MAAvBA;IAmBAC,aAAa,MAAbA;;uBAtBY;8BACI;AAEtB,MAAMD,0BAA0B;IACrCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAgD;KAAmD;AACxM;AAIO,MAAMR,gBAAgB,WAAW,GAAES,IAAAA,0BAAY,EAAC;IACrDP;IACAQ,WAAWX,wBAAwBE,IAAI;IACvCU,aAAa;AACf,IACA,yCAAyC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./Body1Stronger"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./Body1Stronger"), exports);
7
+ //# sourceMappingURL=index.js.map
8
+
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,qBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1Stronger/index.js"],"sourcesContent":["export * from './Body1Stronger';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
@@ -1,34 +1,43 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body2ClassNames: ()=>body2ClassNames,
13
+ Body2: ()=>Body2
5
14
  });
6
- exports.Body2 = exports.body2ClassNames = void 0;
7
- const react_1 = /*#__PURE__*/require("@griffel/react");
8
- const createPreset_1 = /*#__PURE__*/require("../createPreset");
9
- const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
10
- exports.body2ClassNames = {
11
- root: 'fui-Body2'
15
+ const _react = require("@griffel/react");
16
+ const _createPreset = require("../createPreset");
17
+ const body2ClassNames = {
18
+ root: 'fui-Body2'
12
19
  };
13
20
  /**
14
21
  * Styles for the root slot
15
- */
16
- const useStyles = /*#__PURE__*/react_1.__styles({
17
- root: {
18
- Bahqtrf: "fk6fouc",
19
- Be2twd7: "fod5ikn",
20
- Bhrd7zp: "figsok6",
21
- Bg96gwp: "faaz57k"
22
- }
22
+ */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
+ root: {
24
+ Bahqtrf: "fk6fouc",
25
+ Be2twd7: "fod5ikn",
26
+ Bhrd7zp: "figsok6",
27
+ Bg96gwp: "faaz57k"
28
+ }
23
29
  }, {
24
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
25
- });
26
- /**
27
- * Text preset component for the Body2 typography variant
28
- */
29
- exports.Body2 = /*#__PURE__*/createPreset_1.createPreset({
30
- useStyles,
31
- className: exports.body2ClassNames.root,
32
- displayName: 'Body2'
30
+ d: [
31
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
+ ".fod5ikn{font-size:var(--fontSizeBase400);}",
33
+ ".figsok6{font-weight:var(--fontWeightRegular);}",
34
+ ".faaz57k{line-height:var(--lineHeightBase400);}"
35
+ ]
33
36
  });
37
+ const Body2 = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
+ useStyles,
39
+ className: body2ClassNames.root,
40
+ displayName: 'Body2'
41
+ }); //# sourceMappingURL=Body2.js.map
42
+
34
43
  //# sourceMappingURL=Body2.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","body2ClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body2","createPreset","className","displayName"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body2,\n});\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,KAAK,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACpER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,eAAe,CAACC,IAAI;EAC/BW,WAAW,EAAE;CACd,CAAC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body2/Body2.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body2ClassNames = {\n root: 'fui-Body2'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fod5ikn\",\n Bhrd7zp: \"figsok6\",\n Bg96gwp: \"faaz57k\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fod5ikn{font-size:var(--fontSizeBase400);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".faaz57k{line-height:var(--lineHeightBase400);}\"]\n});\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2 = /*#__PURE__*/createPreset({\n useStyles,\n className: body2ClassNames.root,\n displayName: 'Body2'\n});\n//# sourceMappingURL=Body2.js.map"],"names":["body2ClassNames","Body2","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,eAAe,MAAfA;IAmBAC,KAAK,MAALA;;uBAtBY;8BACI;AAEtB,MAAMD,kBAAkB;IAC7BE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAmD;KAAkD;AAC1M;AAIO,MAAMR,QAAQ,WAAW,GAAES,IAAAA,0BAAY,EAAC;IAC7CP;IACAQ,WAAWX,gBAAgBE,IAAI;IAC/BU,aAAa;AACf,IACA,iCAAiC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./Body2"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./Body2"), exports);
7
+ //# sourceMappingURL=index.js.map
8
+
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-text/src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,aAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body2/index.js"],"sourcesContent":["export * from './Body2';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
@@ -1,34 +1,43 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ caption1ClassNames: ()=>caption1ClassNames,
13
+ Caption1: ()=>Caption1
5
14
  });
6
- exports.Caption1 = exports.caption1ClassNames = void 0;
7
- const react_1 = /*#__PURE__*/require("@griffel/react");
8
- const createPreset_1 = /*#__PURE__*/require("../createPreset");
9
- const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
10
- exports.caption1ClassNames = {
11
- root: 'fui-Caption1'
15
+ const _react = require("@griffel/react");
16
+ const _createPreset = require("../createPreset");
17
+ const caption1ClassNames = {
18
+ root: 'fui-Caption1'
12
19
  };
13
20
  /**
14
21
  * Styles for the root slot
15
- */
16
- const useStyles = /*#__PURE__*/react_1.__styles({
17
- root: {
18
- Bahqtrf: "fk6fouc",
19
- Be2twd7: "fy9rknc",
20
- Bhrd7zp: "figsok6",
21
- Bg96gwp: "fwrc4pm"
22
- }
22
+ */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
+ root: {
24
+ Bahqtrf: "fk6fouc",
25
+ Be2twd7: "fy9rknc",
26
+ Bhrd7zp: "figsok6",
27
+ Bg96gwp: "fwrc4pm"
28
+ }
23
29
  }, {
24
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
25
- });
26
- /**
27
- * Text preset component for the Caption1 typography variant
28
- */
29
- exports.Caption1 = /*#__PURE__*/createPreset_1.createPreset({
30
- useStyles,
31
- className: exports.caption1ClassNames.root,
32
- displayName: 'Caption1'
30
+ d: [
31
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
+ ".fy9rknc{font-size:var(--fontSizeBase200);}",
33
+ ".figsok6{font-weight:var(--fontWeightRegular);}",
34
+ ".fwrc4pm{line-height:var(--lineHeightBase200);}"
35
+ ]
33
36
  });
37
+ const Caption1 = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
+ useStyles,
39
+ className: caption1ClassNames.root,
40
+ displayName: 'Caption1'
41
+ }); //# sourceMappingURL=Caption1.js.map
42
+
34
43
  //# sourceMappingURL=Caption1.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","caption1ClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption1","createPreset","className","displayName"],"sources":["../src/packages/react-components/react-text/src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const 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"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,kBAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,QAAQ,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACvER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,kBAAkB,CAACC,IAAI;EAClCW,WAAW,EAAE;CACd,CAAC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Caption1/Caption1.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const caption1ClassNames = {\n root: 'fui-Caption1'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bg96gwp: \"fwrc4pm\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fwrc4pm{line-height:var(--lineHeightBase200);}\"]\n});\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1 = /*#__PURE__*/createPreset({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1'\n});\n//# sourceMappingURL=Caption1.js.map"],"names":["caption1ClassNames","Caption1","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,kBAAkB,MAAlBA;IAmBAC,QAAQ,MAARA;;uBAtBY;8BACI;AAEtB,MAAMD,qBAAqB;IAChCE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAmD;KAAkD;AAC1M;AAIO,MAAMR,WAAW,WAAW,GAAES,IAAAA,0BAAY,EAAC;IAChDP;IACAQ,WAAWX,mBAAmBE,IAAI;IAClCU,aAAa;AACf,IACA,oCAAoC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
-
3
2
  Object.defineProperty(exports, "__esModule", {
4
- value: true
3
+ value: true
5
4
  });
6
- const tslib_1 = /*#__PURE__*/require("tslib");
7
- tslib_1.__exportStar(require("./Caption1"), exports);
5
+ const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
+ _exportStar(require("./Caption1"), exports);
7
+ //# sourceMappingURL=index.js.map
8
+
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../src/packages/react-components/react-text/src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,gBAAAC,OAAA"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Caption1/index.js"],"sourcesContent":["export * from './Caption1';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}