@fluentui/react-text 9.5.2 → 9.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/CHANGELOG.md +21 -2
  2. package/lib/Body1.js.map +1 -1
  3. package/lib/Body1Strong.js.map +1 -1
  4. package/lib/Body1Stronger.js.map +1 -1
  5. package/lib/Body2.js.map +1 -1
  6. package/lib/Caption1.js.map +1 -1
  7. package/lib/Caption1Strong.js.map +1 -1
  8. package/lib/Caption1Stronger.js.map +1 -1
  9. package/lib/Caption2.js.map +1 -1
  10. package/lib/Caption2Strong.js.map +1 -1
  11. package/lib/Display.js.map +1 -1
  12. package/lib/LargeTitle.js.map +1 -1
  13. package/lib/Subtitle1.js.map +1 -1
  14. package/lib/Subtitle2.js.map +1 -1
  15. package/lib/Subtitle2Stronger.js.map +1 -1
  16. package/lib/Text.js.map +1 -1
  17. package/lib/Title1.js.map +1 -1
  18. package/lib/Title2.js.map +1 -1
  19. package/lib/Title3.js.map +1 -1
  20. package/lib/components/Text/Text.js.map +1 -1
  21. package/lib/components/Text/Text.types.js.map +1 -1
  22. package/lib/components/Text/index.js.map +1 -1
  23. package/lib/components/Text/renderText.js.map +1 -1
  24. package/lib/components/Text/useText.js.map +1 -1
  25. package/lib/components/Text/useTextStyles.styles.raw.js +110 -0
  26. package/lib/components/Text/useTextStyles.styles.raw.js.map +1 -0
  27. package/lib/components/presets/Body1/Body1.js.map +1 -1
  28. package/lib/components/presets/Body1/index.js.map +1 -1
  29. package/lib/components/presets/Body1/useBody1Styles.styles.raw.js +10 -0
  30. package/lib/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -0
  31. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  32. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  33. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js +10 -0
  34. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -0
  35. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  36. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  37. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js +10 -0
  38. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -0
  39. package/lib/components/presets/Body2/Body2.js.map +1 -1
  40. package/lib/components/presets/Body2/index.js.map +1 -1
  41. package/lib/components/presets/Body2/useBody2Styles.styles.raw.js +10 -0
  42. package/lib/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -0
  43. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  44. package/lib/components/presets/Caption1/index.js.map +1 -1
  45. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js +10 -0
  46. package/lib/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -0
  47. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  48. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  49. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js +10 -0
  50. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -0
  51. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  52. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  53. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js +10 -0
  54. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -0
  55. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  56. package/lib/components/presets/Caption2/index.js.map +1 -1
  57. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js +10 -0
  58. package/lib/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -0
  59. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  60. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  61. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js +10 -0
  62. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -0
  63. package/lib/components/presets/Display/Display.js.map +1 -1
  64. package/lib/components/presets/Display/index.js.map +1 -1
  65. package/lib/components/presets/Display/useDisplayStyles.styles.raw.js +10 -0
  66. package/lib/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -0
  67. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  68. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  69. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js +10 -0
  70. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -0
  71. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  72. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  73. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js +10 -0
  74. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -0
  75. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  76. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  77. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js +10 -0
  78. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -0
  79. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  80. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  81. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js +10 -0
  82. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -0
  83. package/lib/components/presets/Title1/Title1.js.map +1 -1
  84. package/lib/components/presets/Title1/index.js.map +1 -1
  85. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js +10 -0
  86. package/lib/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -0
  87. package/lib/components/presets/Title2/Title2.js.map +1 -1
  88. package/lib/components/presets/Title2/index.js.map +1 -1
  89. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js +10 -0
  90. package/lib/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -0
  91. package/lib/components/presets/Title3/Title3.js.map +1 -1
  92. package/lib/components/presets/Title3/index.js.map +1 -1
  93. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js +10 -0
  94. package/lib/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -0
  95. package/lib/components/presets/createPreset.js.map +1 -1
  96. package/lib/index.js.map +1 -1
  97. package/lib-commonjs/Body1.js.map +1 -1
  98. package/lib-commonjs/Body1Strong.js.map +1 -1
  99. package/lib-commonjs/Body1Stronger.js.map +1 -1
  100. package/lib-commonjs/Body2.js.map +1 -1
  101. package/lib-commonjs/Caption1.js.map +1 -1
  102. package/lib-commonjs/Caption1Strong.js.map +1 -1
  103. package/lib-commonjs/Caption1Stronger.js.map +1 -1
  104. package/lib-commonjs/Caption2.js.map +1 -1
  105. package/lib-commonjs/Caption2Strong.js.map +1 -1
  106. package/lib-commonjs/Display.js.map +1 -1
  107. package/lib-commonjs/LargeTitle.js.map +1 -1
  108. package/lib-commonjs/Subtitle1.js.map +1 -1
  109. package/lib-commonjs/Subtitle2.js.map +1 -1
  110. package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
  111. package/lib-commonjs/Text.js.map +1 -1
  112. package/lib-commonjs/Title1.js.map +1 -1
  113. package/lib-commonjs/Title2.js.map +1 -1
  114. package/lib-commonjs/Title3.js.map +1 -1
  115. package/lib-commonjs/components/Text/Text.js.map +1 -1
  116. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  117. package/lib-commonjs/components/Text/index.js.map +1 -1
  118. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  119. package/lib-commonjs/components/Text/useText.js.map +1 -1
  120. package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -1
  121. package/lib-commonjs/components/Text/useTextStyles.styles.raw.js +126 -0
  122. package/lib-commonjs/components/Text/useTextStyles.styles.raw.js.map +1 -0
  123. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  124. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  125. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -1
  126. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.js +26 -0
  127. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.raw.js.map +1 -0
  128. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  129. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  130. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -1
  131. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js +26 -0
  132. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.raw.js.map +1 -0
  133. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  134. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  135. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -1
  136. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js +26 -0
  137. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.raw.js.map +1 -0
  138. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  139. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  140. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -1
  141. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.js +26 -0
  142. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.raw.js.map +1 -0
  143. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  144. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  145. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -1
  146. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.js +26 -0
  147. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.raw.js.map +1 -0
  148. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  149. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  150. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -1
  151. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js +26 -0
  152. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.raw.js.map +1 -0
  153. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  154. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  155. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -1
  156. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js +26 -0
  157. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.raw.js.map +1 -0
  158. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  159. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  160. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -1
  161. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.js +26 -0
  162. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.raw.js.map +1 -0
  163. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  164. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  165. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -1
  166. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js +26 -0
  167. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.raw.js.map +1 -0
  168. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  169. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  170. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -1
  171. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.js +26 -0
  172. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.raw.js.map +1 -0
  173. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  174. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  175. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -1
  176. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js +26 -0
  177. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.raw.js.map +1 -0
  178. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  179. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  180. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -1
  181. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js +26 -0
  182. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.raw.js.map +1 -0
  183. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  184. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  185. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -1
  186. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js +26 -0
  187. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.raw.js.map +1 -0
  188. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  189. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  190. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -1
  191. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js +26 -0
  192. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.raw.js.map +1 -0
  193. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  194. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  195. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -1
  196. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.js +26 -0
  197. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.raw.js.map +1 -0
  198. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  199. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  200. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -1
  201. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.js +26 -0
  202. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.raw.js.map +1 -0
  203. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  204. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  205. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -1
  206. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.js +26 -0
  207. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.raw.js.map +1 -0
  208. package/lib-commonjs/components/presets/createPreset.js.map +1 -1
  209. package/lib-commonjs/index.js.map +1 -1
  210. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Thu, 26 Jun 2025 14:07:54 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 28 Jul 2025 18:44:12 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.6.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.1)
8
+
9
+ Mon, 28 Jul 2025 18:44:12 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.6.0..@fluentui/react-text_v9.6.1)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-utilities to v9.23.0 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
15
+ - Bump @fluentui/react-jsx-runtime to v9.1.3 ([PR #34918](https://github.com/microsoft/fluentui/pull/34918) by beachball)
16
+
17
+ ## [9.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.0)
18
+
19
+ Thu, 17 Jul 2025 13:49:49 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.5.2..@fluentui/react-text_v9.6.0)
21
+
22
+ ### Minor changes
23
+
24
+ - feat: enable griffel raw styles ([PR #34853](https://github.com/microsoft/fluentui/pull/34853) by martinhochel@microsoft.com)
25
+
7
26
  ## [9.5.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.5.2)
8
27
 
9
- Thu, 26 Jun 2025 14:07:54 GMT
28
+ Thu, 26 Jun 2025 14:11:55 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.5.1..@fluentui/react-text_v9.5.2)
11
30
 
12
31
  ### Patches
package/lib/Body1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Body1.ts"],"sourcesContent":["export { Body1, body1ClassNames } from './components/presets/Body1/index';\n"],"names":["Body1","body1ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,mCAAmC"}
1
+ {"version":3,"sources":["../src/Body1.ts"],"sourcesContent":["export { Body1, body1ClassNames } from './components/presets/Body1/index';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,mCAAmC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Body1Strong.ts"],"sourcesContent":["export { Body1Strong, body1StrongClassNames } from './components/presets/Body1Strong/index';\n"],"names":["Body1Strong","body1StrongClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,WAAW,EAAEC,qBAAqB,QAAQ,yCAAyC"}
1
+ {"version":3,"sources":["../src/Body1Strong.ts"],"sourcesContent":["export { Body1Strong, body1StrongClassNames } from './components/presets/Body1Strong/index';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,EAAEC,qBAAqB,QAAQ,yCAAyC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export { Body1Stronger, body1StrongerClassNames } from './components/presets/Body1Stronger/index';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,aAAa,EAAEC,uBAAuB,QAAQ,2CAA2C"}
1
+ {"version":3,"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export { Body1Stronger, body1StrongerClassNames } from './components/presets/Body1Stronger/index';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,EAAEC,uBAAuB,QAAQ,2CAA2C"}
package/lib/Body2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Body2.ts"],"sourcesContent":["export { Body2, body2ClassNames } from './components/presets/Body2/index';\n"],"names":["Body2","body2ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,mCAAmC"}
1
+ {"version":3,"sources":["../src/Body2.ts"],"sourcesContent":["export { Body2, body2ClassNames } from './components/presets/Body2/index';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,EAAEC,eAAe,QAAQ,mCAAmC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption1.ts"],"sourcesContent":["export { Caption1, caption1ClassNames } from './components/presets/Caption1/index';\n"],"names":["Caption1","caption1ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,sCAAsC"}
1
+ {"version":3,"sources":["../src/Caption1.ts"],"sourcesContent":["export { Caption1, caption1ClassNames } from './components/presets/Caption1/index';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export { Caption1Strong, caption1StrongClassNames } from './components/presets/Caption1Strong/index';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,4CAA4C"}
1
+ {"version":3,"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export { Caption1Strong, caption1StrongClassNames } from './components/presets/Caption1Strong/index';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export { Caption1Stronger, caption1StrongerClassNames } from './components/presets/Caption1Stronger/index';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,gBAAgB,EAAEC,0BAA0B,QAAQ,8CAA8C"}
1
+ {"version":3,"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export { Caption1Stronger, caption1StrongerClassNames } from './components/presets/Caption1Stronger/index';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"mappings":"AAAA,SAASA,gBAAgB,EAAEC,0BAA0B,QAAQ,8CAA8C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption2.ts"],"sourcesContent":["export { Caption2, caption2ClassNames } from './components/presets/Caption2/index';\n"],"names":["Caption2","caption2ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,sCAAsC"}
1
+ {"version":3,"sources":["../src/Caption2.ts"],"sourcesContent":["export { Caption2, caption2ClassNames } from './components/presets/Caption2/index';\n"],"names":["Caption2","caption2ClassNames"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,kBAAkB,QAAQ,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export { Caption2Strong, caption2StrongClassNames } from './components/presets/Caption2Strong/index';\n"],"names":["Caption2Strong","caption2StrongClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,4CAA4C"}
1
+ {"version":3,"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export { Caption2Strong, caption2StrongClassNames } from './components/presets/Caption2Strong/index';\n"],"names":["Caption2Strong","caption2StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,EAAEC,wBAAwB,QAAQ,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Display.ts"],"sourcesContent":["export { Display, displayClassNames } from './components/presets/Display/index';\n"],"names":["Display","displayClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,qCAAqC"}
1
+ {"version":3,"sources":["../src/Display.ts"],"sourcesContent":["export { Display, displayClassNames } from './components/presets/Display/index';\n"],"names":["Display","displayClassNames"],"mappings":"AAAA,SAASA,OAAO,EAAEC,iBAAiB,QAAQ,qCAAqC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/LargeTitle.ts"],"sourcesContent":["export { LargeTitle, largeTitleClassNames } from './components/presets/LargeTitle/index';\n"],"names":["LargeTitle","largeTitleClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,UAAU,EAAEC,oBAAoB,QAAQ,wCAAwC"}
1
+ {"version":3,"sources":["../src/LargeTitle.ts"],"sourcesContent":["export { LargeTitle, largeTitleClassNames } from './components/presets/LargeTitle/index';\n"],"names":["LargeTitle","largeTitleClassNames"],"mappings":"AAAA,SAASA,UAAU,EAAEC,oBAAoB,QAAQ,wCAAwC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Subtitle1.ts"],"sourcesContent":["export { Subtitle1, subtitle1ClassNames } from './components/presets/Subtitle1/index';\n"],"names":["Subtitle1","subtitle1ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,uCAAuC"}
1
+ {"version":3,"sources":["../src/Subtitle1.ts"],"sourcesContent":["export { Subtitle1, subtitle1ClassNames } from './components/presets/Subtitle1/index';\n"],"names":["Subtitle1","subtitle1ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,uCAAuC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Subtitle2.ts"],"sourcesContent":["export { Subtitle2, subtitle2ClassNames } from './components/presets/Subtitle2/index';\n"],"names":["Subtitle2","subtitle2ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,uCAAuC"}
1
+ {"version":3,"sources":["../src/Subtitle2.ts"],"sourcesContent":["export { Subtitle2, subtitle2ClassNames } from './components/presets/Subtitle2/index';\n"],"names":["Subtitle2","subtitle2ClassNames"],"mappings":"AAAA,SAASA,SAAS,EAAEC,mBAAmB,QAAQ,uCAAuC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export { Subtitle2Stronger, subtitle2StrongerClassNames } from './components/presets/Subtitle2Stronger/index';\n"],"names":["Subtitle2Stronger","subtitle2StrongerClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,iBAAiB,EAAEC,2BAA2B,QAAQ,+CAA+C"}
1
+ {"version":3,"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export { Subtitle2Stronger, subtitle2StrongerClassNames } from './components/presets/Subtitle2Stronger/index';\n"],"names":["Subtitle2Stronger","subtitle2StrongerClassNames"],"mappings":"AAAA,SAASA,iBAAiB,EAAEC,2BAA2B,QAAQ,+CAA+C"}
package/lib/Text.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Text.ts"],"sourcesContent":["export type { TextPresetProps, TextProps, TextSlots, TextState } from './components/Text/index';\nexport {\n Text,\n renderText_unstable,\n textClassNames,\n useTextStyles_unstable,\n useText_unstable,\n} from './components/Text/index';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable"],"rangeMappings":"","mappings":"AACA,SACEA,IAAI,EACJC,mBAAmB,EACnBC,cAAc,EACdC,sBAAsB,EACtBC,gBAAgB,QACX,0BAA0B"}
1
+ {"version":3,"sources":["../src/Text.ts"],"sourcesContent":["export type { TextPresetProps, TextProps, TextSlots, TextState } from './components/Text/index';\nexport {\n Text,\n renderText_unstable,\n textClassNames,\n useTextStyles_unstable,\n useText_unstable,\n} from './components/Text/index';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable"],"mappings":"AACA,SACEA,IAAI,EACJC,mBAAmB,EACnBC,cAAc,EACdC,sBAAsB,EACtBC,gBAAgB,QACX,0BAA0B"}
package/lib/Title1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title1.ts"],"sourcesContent":["export { Title1, title1ClassNames } from './components/presets/Title1/index';\n"],"names":["Title1","title1ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title1.ts"],"sourcesContent":["export { Title1, title1ClassNames } from './components/presets/Title1/index';\n"],"names":["Title1","title1ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
package/lib/Title2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title2.ts"],"sourcesContent":["export { Title2, title2ClassNames } from './components/presets/Title2/index';\n"],"names":["Title2","title2ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title2.ts"],"sourcesContent":["export { Title2, title2ClassNames } from './components/presets/Title2/index';\n"],"names":["Title2","title2ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
package/lib/Title3.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title3.ts"],"sourcesContent":["export { Title3, title3ClassNames } from './components/presets/Title3/index';\n"],"names":["Title3","title3ClassNames"],"rangeMappings":"","mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title3.ts"],"sourcesContent":["export { Title3, title3ClassNames } from './components/presets/Title3/index';\n"],"names":["Title3","title3ClassNames"],"mappings":"AAAA,SAASA,MAAM,EAAEC,gBAAgB,QAAQ,oCAAoC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"rangeMappings":";;","mappings":"AA0FA;;CAEC,GACD,WAMI"}
1
+ {"version":3,"sources":["../src/components/Text/Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"mappings":"AA0FA;;CAEC,GACD,WAMI"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"rangeMappings":";;;","mappings":"AAAA,SAASA,IAAI,QAAQ,SAAS;AAE9B,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,yBAAyB"}
1
+ {"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export { Text } from './Text';\nexport type { TextPresetProps, TextProps, TextSlots, TextState } from './Text.types';\nexport { renderText_unstable } from './renderText';\nexport { useText_unstable } from './useText';\nexport { textClassNames, useTextStyles_unstable } from './useTextStyles.styles';\n"],"names":["Text","renderText_unstable","useText_unstable","textClassNames","useTextStyles_unstable"],"mappings":"AAAA,SAASA,IAAI,QAAQ,SAAS;AAE9B,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,cAAc,EAAEC,sBAAsB,QAAQ,yBAAyB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"rangeMappings":";;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
1
+ {"version":3,"sources":["../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
1
+ {"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
@@ -0,0 +1,110 @@
1
+ import { makeStyles, mergeClasses } from '@griffel/react';
2
+ import { tokens } from '@fluentui/react-theme';
3
+ export const textClassNames = {
4
+ root: 'fui-Text'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ const useStyles = makeStyles({
9
+ root: {
10
+ fontFamily: tokens.fontFamilyBase,
11
+ fontSize: tokens.fontSizeBase300,
12
+ lineHeight: tokens.lineHeightBase300,
13
+ fontWeight: tokens.fontWeightRegular,
14
+ textAlign: 'start',
15
+ display: 'inline',
16
+ whiteSpace: 'normal',
17
+ overflow: 'visible',
18
+ textOverflow: 'clip'
19
+ },
20
+ nowrap: {
21
+ whiteSpace: 'nowrap',
22
+ overflow: 'hidden'
23
+ },
24
+ truncate: {
25
+ textOverflow: 'ellipsis'
26
+ },
27
+ block: {
28
+ display: 'block'
29
+ },
30
+ italic: {
31
+ fontStyle: 'italic'
32
+ },
33
+ underline: {
34
+ textDecorationLine: 'underline'
35
+ },
36
+ strikethrough: {
37
+ textDecorationLine: 'line-through'
38
+ },
39
+ strikethroughUnderline: {
40
+ textDecorationLine: 'line-through underline'
41
+ },
42
+ base100: {
43
+ fontSize: tokens.fontSizeBase100,
44
+ lineHeight: tokens.lineHeightBase100
45
+ },
46
+ base200: {
47
+ fontSize: tokens.fontSizeBase200,
48
+ lineHeight: tokens.lineHeightBase200
49
+ },
50
+ base400: {
51
+ fontSize: tokens.fontSizeBase400,
52
+ lineHeight: tokens.lineHeightBase400
53
+ },
54
+ base500: {
55
+ fontSize: tokens.fontSizeBase500,
56
+ lineHeight: tokens.lineHeightBase500
57
+ },
58
+ base600: {
59
+ fontSize: tokens.fontSizeBase600,
60
+ lineHeight: tokens.lineHeightBase600
61
+ },
62
+ hero700: {
63
+ fontSize: tokens.fontSizeHero700,
64
+ lineHeight: tokens.lineHeightHero700
65
+ },
66
+ hero800: {
67
+ fontSize: tokens.fontSizeHero800,
68
+ lineHeight: tokens.lineHeightHero800
69
+ },
70
+ hero900: {
71
+ fontSize: tokens.fontSizeHero900,
72
+ lineHeight: tokens.lineHeightHero900
73
+ },
74
+ hero1000: {
75
+ fontSize: tokens.fontSizeHero1000,
76
+ lineHeight: tokens.lineHeightHero1000
77
+ },
78
+ monospace: {
79
+ fontFamily: tokens.fontFamilyMonospace
80
+ },
81
+ numeric: {
82
+ fontFamily: tokens.fontFamilyNumeric
83
+ },
84
+ weightMedium: {
85
+ fontWeight: tokens.fontWeightMedium
86
+ },
87
+ weightSemibold: {
88
+ fontWeight: tokens.fontWeightSemibold
89
+ },
90
+ weightBold: {
91
+ fontWeight: tokens.fontWeightBold
92
+ },
93
+ alignCenter: {
94
+ textAlign: 'center'
95
+ },
96
+ alignEnd: {
97
+ textAlign: 'end'
98
+ },
99
+ alignJustify: {
100
+ textAlign: 'justify'
101
+ }
102
+ });
103
+ /**
104
+ * Apply styling to the Text slots based on the state
105
+ */ export const useTextStyles_unstable = (state)=>{
106
+ 'use no memo';
107
+ const styles = useStyles();
108
+ 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);
109
+ return state;
110
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/Text/useTextStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses } 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 overflow: 'visible',\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n 'use no memo';\n\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"],"names":["makeStyles","mergeClasses","tokens","textClassNames","root","useStyles","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","lineHeight","lineHeightBase300","fontWeight","fontWeightRegular","textAlign","display","whiteSpace","overflow","textOverflow","nowrap","truncate","block","italic","fontStyle","underline","textDecorationLine","strikethrough","strikethroughUnderline","base100","fontSizeBase100","lineHeightBase100","base200","fontSizeBase200","lineHeightBase200","base400","fontSizeBase400","lineHeightBase400","base500","fontSizeBase500","lineHeightBase500","base600","fontSizeBase600","lineHeightBase600","hero700","fontSizeHero700","lineHeightHero700","hero800","fontSizeHero800","lineHeightHero800","hero900","fontSizeHero900","lineHeightHero900","hero1000","fontSizeHero1000","lineHeightHero1000","monospace","fontFamilyMonospace","numeric","fontFamilyNumeric","weightMedium","fontWeightMedium","weightSemibold","fontWeightSemibold","weightBold","fontWeightBold","alignCenter","alignEnd","alignJustify","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"mappings":"AAAA,SAASA,UAAU,EAAEC,YAAY,QAAQ,iBAAiB;AAC1D,SAASC,MAAM,QAAQ,wBAAwB;AAI/C,OAAO,MAAMC,iBAA4C;IACvDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,MAAMC,YAAYL,WAAW;IAC3BI,MAAM;QACJE,YAAYJ,OAAOK,cAAc;QACjCC,UAAUN,OAAOO,eAAe;QAChCC,YAAYR,OAAOS,iBAAiB;QACpCC,YAAYV,OAAOW,iBAAiB;QACpCC,WAAW;QACXC,SAAS;QACTC,YAAY;QACZC,UAAU;QACVC,cAAc;IAChB;IACAC,QAAQ;QACNH,YAAY;QACZC,UAAU;IACZ;IACAG,UAAU;QACRF,cAAc;IAChB;IACAG,OAAO;QACLN,SAAS;IACX;IACAO,QAAQ;QACNC,WAAW;IACb;IACAC,WAAW;QACTC,oBAAoB;IACtB;IACAC,eAAe;QACbD,oBAAoB;IACtB;IACAE,wBAAwB;QACtBF,oBAAoB;IACtB;IACAG,SAAS;QACPpB,UAAUN,OAAO2B,eAAe;QAChCnB,YAAYR,OAAO4B,iBAAiB;IACtC;IACAC,SAAS;QACPvB,UAAUN,OAAO8B,eAAe;QAChCtB,YAAYR,OAAO+B,iBAAiB;IACtC;IACAC,SAAS;QACP1B,UAAUN,OAAOiC,eAAe;QAChCzB,YAAYR,OAAOkC,iBAAiB;IACtC;IACAC,SAAS;QACP7B,UAAUN,OAAOoC,eAAe;QAChC5B,YAAYR,OAAOqC,iBAAiB;IACtC;IACAC,SAAS;QACPhC,UAAUN,OAAOuC,eAAe;QAChC/B,YAAYR,OAAOwC,iBAAiB;IACtC;IACAC,SAAS;QACPnC,UAAUN,OAAO0C,eAAe;QAChClC,YAAYR,OAAO2C,iBAAiB;IACtC;IACAC,SAAS;QACPtC,UAAUN,OAAO6C,eAAe;QAChCrC,YAAYR,OAAO8C,iBAAiB;IACtC;IACAC,SAAS;QACPzC,UAAUN,OAAOgD,eAAe;QAChCxC,YAAYR,OAAOiD,iBAAiB;IACtC;IACAC,UAAU;QACR5C,UAAUN,OAAOmD,gBAAgB;QACjC3C,YAAYR,OAAOoD,kBAAkB;IACvC;IACAC,WAAW;QACTjD,YAAYJ,OAAOsD,mBAAmB;IACxC;IACAC,SAAS;QACPnD,YAAYJ,OAAOwD,iBAAiB;IACtC;IACAC,cAAc;QACZ/C,YAAYV,OAAO0D,gBAAgB;IACrC;IACAC,gBAAgB;QACdjD,YAAYV,OAAO4D,kBAAkB;IACvC;IACAC,YAAY;QACVnD,YAAYV,OAAO8D,cAAc;IACnC;IACAC,aAAa;QACXnD,WAAW;IACb;IACAoD,UAAU;QACRpD,WAAW;IACb;IACAqD,cAAc;QACZrD,WAAW;IACb;AACF;AAEA;;CAEC,GACD,OAAO,MAAMsD,yBAAyB,CAACC;IACrC;IAEA,MAAMC,SAASjE;IAEfgE,MAAMjE,IAAI,CAACmE,SAAS,GAAGtE,aACrBE,eAAeC,IAAI,EACnBkE,OAAOlE,IAAI,EACXiE,MAAMG,IAAI,KAAK,SAASF,OAAOnD,MAAM,EACrCkD,MAAMjD,QAAQ,IAAIkD,OAAOlD,QAAQ,EACjCiD,MAAMhD,KAAK,IAAIiD,OAAOjD,KAAK,EAC3BgD,MAAM/C,MAAM,IAAIgD,OAAOhD,MAAM,EAC7B+C,MAAM7C,SAAS,IAAI8C,OAAO9C,SAAS,EACnC6C,MAAM3C,aAAa,IAAI4C,OAAO5C,aAAa,EAC3C2C,MAAM7C,SAAS,IAAI6C,MAAM3C,aAAa,IAAI4C,OAAO3C,sBAAsB,EACvE0C,MAAMI,IAAI,KAAK,OAAOH,OAAO1C,OAAO,EACpCyC,MAAMI,IAAI,KAAK,OAAOH,OAAOvC,OAAO,EACpCsC,MAAMI,IAAI,KAAK,OAAOH,OAAOpC,OAAO,EACpCmC,MAAMI,IAAI,KAAK,OAAOH,OAAOjC,OAAO,EACpCgC,MAAMI,IAAI,KAAK,OAAOH,OAAO9B,OAAO,EACpC6B,MAAMI,IAAI,KAAK,OAAOH,OAAO3B,OAAO,EACpC0B,MAAMI,IAAI,KAAK,OAAOH,OAAOxB,OAAO,EACpCuB,MAAMI,IAAI,KAAK,OAAOH,OAAOrB,OAAO,EACpCoB,MAAMI,IAAI,KAAK,QAAQH,OAAOlB,QAAQ,EACtCiB,MAAMK,IAAI,KAAK,eAAeJ,OAAOf,SAAS,EAC9Cc,MAAMK,IAAI,KAAK,aAAaJ,OAAOb,OAAO,EAC1CY,MAAMM,MAAM,KAAK,YAAYL,OAAOX,YAAY,EAChDU,MAAMM,MAAM,KAAK,cAAcL,OAAOT,cAAc,EACpDQ,MAAMM,MAAM,KAAK,UAAUL,OAAOP,UAAU,EAC5CM,MAAMO,KAAK,KAAK,YAAYN,OAAOL,WAAW,EAC9CI,MAAMO,KAAK,KAAK,SAASN,OAAOJ,QAAQ,EACxCG,MAAMO,KAAK,KAAK,aAAaN,OAAOH,YAAY,EAChDE,MAAMjE,IAAI,CAACmE,SAAS;IAGtB,OAAOF;AACT,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["React","createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["React","createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1/index.ts"],"sourcesContent":["export { Body1 } from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["Body1","body1ClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,KAAK,QAAQ,UAAU;AAChC,SAASC,eAAe,QAAQ,0BAA0B"}
1
+ {"version":3,"sources":["../src/components/presets/Body1/index.ts"],"sourcesContent":["export { Body1 } from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["Body1","body1ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,UAAU;AAChC,SAASC,eAAe,QAAQ,0BAA0B"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const body1ClassNames = {
4
+ root: 'fui-Body1'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useBody1Styles = makeStyles({
9
+ root: typographyStyles.body1
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"names":["makeStyles","typographyStyles","body1ClassNames","root","useBody1Styles","body1"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["React","createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["React","createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export { Body1Strong } from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["Body1Strong","body1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,qBAAqB,QAAQ,gCAAgC"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export { Body1Strong } from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["Body1Strong","body1StrongClassNames"],"mappings":"AAAA,SAASA,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,qBAAqB,QAAQ,gCAAgC"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const body1StrongClassNames = {
4
+ root: 'fui-Body1Strong'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useBody1StrongStyles = makeStyles({
9
+ root: typographyStyles.body1Strong
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","body1Strong"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,wBAAmD;IAC9DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,uBAAuBJ,WAAW;IAC7CG,MAAMF,iBAAiBI,WAAW;AACpC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["React","createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["React","createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export { Body1Stronger } from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAkB;AAChD,SAASC,uBAAuB,QAAQ,kCAAkC"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export { Body1Stronger } from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["Body1Stronger","body1StrongerClassNames"],"mappings":"AAAA,SAASA,aAAa,QAAQ,kBAAkB;AAChD,SAASC,uBAAuB,QAAQ,kCAAkC"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const body1StrongerClassNames = {
4
+ root: 'fui-Body1Stronger'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useBody1StrongerStyles = makeStyles({
9
+ root: typographyStyles.body1Stronger
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"names":["makeStyles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","body1Stronger"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,0BAAqD;IAChEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,yBAAyBJ,WAAW;IAC/CG,MAAMF,iBAAiBI,aAAa;AACtC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["React","createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["React","createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Body2/index.ts"],"sourcesContent":["export { Body2 } from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["Body2","body2ClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,KAAK,QAAQ,UAAU;AAChC,SAASC,eAAe,QAAQ,0BAA0B"}
1
+ {"version":3,"sources":["../src/components/presets/Body2/index.ts"],"sourcesContent":["export { Body2 } from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["Body2","body2ClassNames"],"mappings":"AAAA,SAASA,KAAK,QAAQ,UAAU;AAChC,SAASC,eAAe,QAAQ,0BAA0B"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const body2ClassNames = {
4
+ root: 'fui-Body2'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useBody2Styles = makeStyles({
9
+ root: typographyStyles.body2
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"names":["makeStyles","typographyStyles","body2ClassNames","root","useBody2Styles","body2"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,kBAA6C;IACxDC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,iBAAiBJ,WAAW;IACvCG,MAAMF,iBAAiBI,KAAK;AAC9B,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["React","createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["React","createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1/index.ts"],"sourcesContent":["export { Caption1 } from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["Caption1","caption1ClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,SAASC,kBAAkB,QAAQ,6BAA6B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1/index.ts"],"sourcesContent":["export { Caption1 } from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["Caption1","caption1ClassNames"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,SAASC,kBAAkB,QAAQ,6BAA6B"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const caption1ClassNames = {
4
+ root: 'fui-Caption1'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useCaption1Styles = makeStyles({
9
+ root: typographyStyles.caption1
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1/useCaption1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1Styles = makeStyles({\n root: typographyStyles.caption1,\n});\n"],"names":["makeStyles","typographyStyles","caption1ClassNames","root","useCaption1Styles","caption1"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,qBAAgD;IAC3DC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,oBAAoBJ,WAAW;IAC1CG,MAAMF,iBAAiBI,QAAQ;AACjC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["React","createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAA2DH,aAAa;IACnFI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["React","createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAA2DH,aAAa;IACnFI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1Strong/index.ts"],"sourcesContent":["export { Caption1Strong } from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,cAAc,QAAQ,mBAAmB;AAClD,SAASC,wBAAwB,QAAQ,mCAAmC"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/index.ts"],"sourcesContent":["export { Caption1Strong } from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["Caption1Strong","caption1StrongClassNames"],"mappings":"AAAA,SAASA,cAAc,QAAQ,mBAAmB;AAClD,SAASC,wBAAwB,QAAQ,mCAAmC"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const caption1StrongClassNames = {
4
+ root: 'fui-Caption1Strong'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useCaption1StrongStyles = makeStyles({
9
+ root: typographyStyles.caption1Strong
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/useCaption1StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1StrongStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n"],"names":["makeStyles","typographyStyles","caption1StrongClassNames","root","useCaption1StrongStyles","caption1Strong"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,2BAAsD;IACjEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,0BAA0BJ,WAAW;IAChDG,MAAMF,iBAAiBI,cAAc;AACvC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["React","createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAA6DH,aAAa;IACrFI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["React","createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAA6DH,aAAa;IACrFI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption1Stronger/index.ts"],"sourcesContent":["export { Caption1Stronger } from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,gBAAgB,QAAQ,qBAAqB;AACtD,SAASC,0BAA0B,QAAQ,+BAA+B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/index.ts"],"sourcesContent":["export { Caption1Stronger } from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["Caption1Stronger","caption1StrongerClassNames"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,qBAAqB;AACtD,SAASC,0BAA0B,QAAQ,+BAA+B"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const caption1StrongerClassNames = {
4
+ root: 'fui-Caption1Stronger'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useCaption1StrongerStyles = makeStyles({
9
+ root: typographyStyles.caption1Stronger
10
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/useCaption1Stronger.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useCaption1StrongerStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n"],"names":["makeStyles","typographyStyles","caption1StrongerClassNames","root","useCaption1StrongerStyles","caption1Stronger"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAG5C,SAASC,gBAAgB,QAAQ,wBAAwB;AAEzD,OAAO,MAAMC,6BAAwD;IACnEC,MAAM;AACR,EAAE;AAEF;;CAEC,GACD,OAAO,MAAMC,4BAA4BJ,WAAW;IAClDG,MAAMF,iBAAiBI,gBAAgB;AACzC,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["React","createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["React","createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/presets/Caption2/index.ts"],"sourcesContent":["export { Caption2 } from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["Caption2","caption2ClassNames"],"rangeMappings":";","mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,SAASC,kBAAkB,QAAQ,6BAA6B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption2/index.ts"],"sourcesContent":["export { Caption2 } from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["Caption2","caption2ClassNames"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,SAASC,kBAAkB,QAAQ,6BAA6B"}
@@ -0,0 +1,10 @@
1
+ import { makeStyles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const caption2ClassNames = {
4
+ root: 'fui-Caption2'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */ export const useCaption2Styles = makeStyles({
9
+ root: typographyStyles.caption2
10
+ });