@fluentui/react-text 9.3.7 → 9.3.9

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 (222) hide show
  1. package/CHANGELOG.json +96 -2
  2. package/CHANGELOG.md +29 -3
  3. package/lib/components/Text/Text.js +3 -6
  4. package/lib/components/Text/Text.js.map +1 -1
  5. package/lib/components/Text/index.js +1 -1
  6. package/lib/components/Text/index.js.map +1 -1
  7. package/lib/components/Text/{useTextStyles.js → useTextStyles.styles.js} +1 -1
  8. package/lib/components/Text/useTextStyles.styles.js.map +1 -0
  9. package/lib/components/presets/Body1/Body1.js +2 -19
  10. package/lib/components/presets/Body1/Body1.js.map +1 -1
  11. package/lib/components/presets/Body1/index.js +1 -0
  12. package/lib/components/presets/Body1/index.js.map +1 -1
  13. package/lib/components/presets/Body1/useBody1Styles.styles.js +19 -0
  14. package/lib/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
  15. package/lib/components/presets/Body1Strong/Body1Strong.js +2 -19
  16. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  17. package/lib/components/presets/Body1Strong/index.js +1 -0
  18. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  19. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +19 -0
  20. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
  21. package/lib/components/presets/Body1Stronger/Body1Stronger.js +2 -19
  22. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  23. package/lib/components/presets/Body1Stronger/index.js +1 -0
  24. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  25. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +19 -0
  26. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
  27. package/lib/components/presets/Body2/Body2.js +2 -19
  28. package/lib/components/presets/Body2/Body2.js.map +1 -1
  29. package/lib/components/presets/Body2/index.js +1 -0
  30. package/lib/components/presets/Body2/index.js.map +1 -1
  31. package/lib/components/presets/Body2/useBody2Styles.styles.js +19 -0
  32. package/lib/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
  33. package/lib/components/presets/Caption1/Caption1.js +2 -19
  34. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  35. package/lib/components/presets/Caption1/index.js +1 -0
  36. package/lib/components/presets/Caption1/index.js.map +1 -1
  37. package/lib/components/presets/Caption1/useCaption1Styles.styles.js +19 -0
  38. package/lib/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
  39. package/lib/components/presets/Caption1Strong/Caption1Strong.js +2 -19
  40. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  41. package/lib/components/presets/Caption1Strong/index.js +1 -0
  42. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  43. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +19 -0
  44. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
  45. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +2 -19
  46. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  47. package/lib/components/presets/Caption1Stronger/index.js +1 -0
  48. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  49. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +19 -0
  50. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
  51. package/lib/components/presets/Caption2/Caption2.js +2 -19
  52. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  53. package/lib/components/presets/Caption2/index.js +1 -0
  54. package/lib/components/presets/Caption2/index.js.map +1 -1
  55. package/lib/components/presets/Caption2/useCaption2Styles.styles.js +19 -0
  56. package/lib/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
  57. package/lib/components/presets/Caption2Strong/Caption2Strong.js +2 -19
  58. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  59. package/lib/components/presets/Caption2Strong/index.js +1 -0
  60. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  61. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +19 -0
  62. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
  63. package/lib/components/presets/Display/Display.js +2 -19
  64. package/lib/components/presets/Display/Display.js.map +1 -1
  65. package/lib/components/presets/Display/index.js +1 -0
  66. package/lib/components/presets/Display/index.js.map +1 -1
  67. package/lib/components/presets/Display/useDisplayStyles.styles.js +19 -0
  68. package/lib/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
  69. package/lib/components/presets/LargeTitle/LargeTitle.js +2 -19
  70. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  71. package/lib/components/presets/LargeTitle/index.js +1 -0
  72. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  73. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +19 -0
  74. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
  75. package/lib/components/presets/Subtitle1/Subtitle1.js +2 -19
  76. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  77. package/lib/components/presets/Subtitle1/index.js +1 -0
  78. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  79. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +19 -0
  80. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
  81. package/lib/components/presets/Subtitle2/Subtitle2.js +2 -19
  82. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  83. package/lib/components/presets/Subtitle2/index.js +1 -0
  84. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  85. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +19 -0
  86. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
  87. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -19
  88. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  89. package/lib/components/presets/Subtitle2Stronger/index.js +1 -0
  90. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  91. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +19 -0
  92. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
  93. package/lib/components/presets/Title1/Title1.js +2 -19
  94. package/lib/components/presets/Title1/Title1.js.map +1 -1
  95. package/lib/components/presets/Title1/index.js +1 -0
  96. package/lib/components/presets/Title1/index.js.map +1 -1
  97. package/lib/components/presets/Title1/useTitle1Styles.styles.js +19 -0
  98. package/lib/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
  99. package/lib/components/presets/Title2/Title2.js +2 -19
  100. package/lib/components/presets/Title2/Title2.js.map +1 -1
  101. package/lib/components/presets/Title2/index.js +1 -0
  102. package/lib/components/presets/Title2/index.js.map +1 -1
  103. package/lib/components/presets/Title2/useTitle2Styles.styles.js +19 -0
  104. package/lib/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
  105. package/lib/components/presets/Title3/Title3.js +2 -19
  106. package/lib/components/presets/Title3/Title3.js.map +1 -1
  107. package/lib/components/presets/Title3/index.js +1 -0
  108. package/lib/components/presets/Title3/index.js.map +1 -1
  109. package/lib/components/presets/Title3/useTitle3Styles.styles.js +19 -0
  110. package/lib/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
  111. package/lib-commonjs/components/Text/Text.js +3 -4
  112. package/lib-commonjs/components/Text/Text.js.map +1 -1
  113. package/lib-commonjs/components/Text/index.js +1 -1
  114. package/lib-commonjs/components/Text/index.js.map +1 -1
  115. package/lib-commonjs/components/Text/{useTextStyles.js → useTextStyles.styles.js} +2 -2
  116. package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -0
  117. package/lib-commonjs/components/presets/Body1/Body1.js +6 -32
  118. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  119. package/lib-commonjs/components/presets/Body1/index.js +5 -0
  120. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  121. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +35 -0
  122. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
  123. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +6 -32
  124. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  125. package/lib-commonjs/components/presets/Body1Strong/index.js +5 -0
  126. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  127. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +35 -0
  128. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
  129. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +6 -32
  130. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  131. package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -0
  132. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  133. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +35 -0
  134. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
  135. package/lib-commonjs/components/presets/Body2/Body2.js +6 -32
  136. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  137. package/lib-commonjs/components/presets/Body2/index.js +5 -0
  138. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  139. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +35 -0
  140. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
  141. package/lib-commonjs/components/presets/Caption1/Caption1.js +6 -32
  142. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  143. package/lib-commonjs/components/presets/Caption1/index.js +5 -0
  144. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  145. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +35 -0
  146. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
  147. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +6 -32
  148. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  149. package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -0
  150. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  151. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +35 -0
  152. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
  153. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +6 -32
  154. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  155. package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -0
  156. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  157. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +35 -0
  158. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
  159. package/lib-commonjs/components/presets/Caption2/Caption2.js +6 -32
  160. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  161. package/lib-commonjs/components/presets/Caption2/index.js +5 -0
  162. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  163. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +35 -0
  164. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
  165. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +6 -32
  166. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  167. package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -0
  168. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  169. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +35 -0
  170. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
  171. package/lib-commonjs/components/presets/Display/Display.js +6 -32
  172. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  173. package/lib-commonjs/components/presets/Display/index.js +5 -0
  174. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  175. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +35 -0
  176. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
  177. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +6 -32
  178. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  179. package/lib-commonjs/components/presets/LargeTitle/index.js +5 -0
  180. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  181. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +35 -0
  182. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
  183. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +6 -32
  184. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  185. package/lib-commonjs/components/presets/Subtitle1/index.js +5 -0
  186. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  187. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +35 -0
  188. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
  189. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +6 -32
  190. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  191. package/lib-commonjs/components/presets/Subtitle2/index.js +5 -0
  192. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  193. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +35 -0
  194. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
  195. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +6 -32
  196. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  197. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -0
  198. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  199. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +35 -0
  200. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
  201. package/lib-commonjs/components/presets/Title1/Title1.js +6 -32
  202. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  203. package/lib-commonjs/components/presets/Title1/index.js +5 -0
  204. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  205. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +35 -0
  206. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
  207. package/lib-commonjs/components/presets/Title2/Title2.js +6 -32
  208. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  209. package/lib-commonjs/components/presets/Title2/index.js +5 -0
  210. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  211. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +35 -0
  212. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
  213. package/lib-commonjs/components/presets/Title3/Title3.js +6 -32
  214. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  215. package/lib-commonjs/components/presets/Title3/index.js +5 -0
  216. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  217. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +35 -0
  218. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
  219. package/package.json +8 -7
  220. package/.swcrc +0 -30
  221. package/lib/components/Text/useTextStyles.js.map +0 -1
  222. package/lib-commonjs/components/Text/useTextStyles.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,7 +2,101 @@
2
2
  "name": "@fluentui/react-text",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 24 Apr 2023 08:09:18 GMT",
5
+ "date": "Thu, 18 May 2023 00:35:47 GMT",
6
+ "tag": "@fluentui/react-text_v9.3.9",
7
+ "version": "9.3.9",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "olfedias@microsoft.com",
12
+ "package": "@fluentui/react-text",
13
+ "commit": "06cd515eda59a3078bfe32f9cc7c1f281cd20208",
14
+ "comment": "chore: add test-ssr script to v9 packages"
15
+ }
16
+ ],
17
+ "patch": [
18
+ {
19
+ "author": "beachball",
20
+ "package": "@fluentui/react-text",
21
+ "comment": "Bump @fluentui/react-utilities to v9.9.0",
22
+ "commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
23
+ },
24
+ {
25
+ "author": "beachball",
26
+ "package": "@fluentui/react-text",
27
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4",
28
+ "commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ {
34
+ "date": "Fri, 12 May 2023 20:27:54 GMT",
35
+ "tag": "@fluentui/react-text_v9.3.8",
36
+ "version": "9.3.8",
37
+ "comments": {
38
+ "patch": [
39
+ {
40
+ "author": "gcox@microsoft.com",
41
+ "package": "@fluentui/react-text",
42
+ "commit": "ee977e20d359922798949a4f18af7a036ca36ca3",
43
+ "comment": "Update to use single hook selector"
44
+ },
45
+ {
46
+ "author": "olfedias@microsoft.com",
47
+ "package": "@fluentui/react-text",
48
+ "commit": "5174214ff482520b8d9fcc6894ed768604112ad5",
49
+ "comment": "chore: move makeStyles() calls to .styles.ts files"
50
+ },
51
+ {
52
+ "author": "olfedias@microsoft.com",
53
+ "package": "@fluentui/react-text",
54
+ "commit": "c28decb23d191a0daaaf6d5d1832429715102129",
55
+ "comment": "chore: exclude .swcrc from being published"
56
+ },
57
+ {
58
+ "author": "beachball",
59
+ "package": "@fluentui/react-text",
60
+ "comment": "Bump @fluentui/react-shared-contexts to v9.4.0",
61
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
62
+ },
63
+ {
64
+ "author": "beachball",
65
+ "package": "@fluentui/react-text",
66
+ "comment": "Bump @fluentui/react-theme to v9.1.8",
67
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
68
+ },
69
+ {
70
+ "author": "beachball",
71
+ "package": "@fluentui/react-text",
72
+ "comment": "Bump @fluentui/react-utilities to v9.8.1",
73
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
74
+ },
75
+ {
76
+ "author": "beachball",
77
+ "package": "@fluentui/react-text",
78
+ "comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3",
79
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
80
+ },
81
+ {
82
+ "author": "beachball",
83
+ "package": "@fluentui/react-text",
84
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21",
85
+ "commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
86
+ }
87
+ ],
88
+ "none": [
89
+ {
90
+ "author": "martinhochel@microsoft.com",
91
+ "package": "@fluentui/react-text",
92
+ "commit": "dbda7fa69e3000aaf8dd4a061e254ebd35198b8e",
93
+ "comment": "fix: update npmignore files to fix npm8/node16 regression how npm publish works"
94
+ }
95
+ ]
96
+ }
97
+ },
98
+ {
99
+ "date": "Mon, 24 Apr 2023 08:12:43 GMT",
6
100
  "tag": "@fluentui/react-text_v9.3.7",
7
101
  "version": "9.3.7",
8
102
  "comments": {
@@ -17,7 +111,7 @@
17
111
  "author": "beachball",
18
112
  "package": "@fluentui/react-text",
19
113
  "comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
20
- "commit": "948b5bf9871303d1742f1b9a17a3bd4006ce2fea"
114
+ "commit": "505433ac64f144c9cca456097413d6af4582e5ee"
21
115
  }
22
116
  ]
23
117
  }
package/CHANGELOG.md CHANGED
@@ -1,18 +1,44 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Mon, 24 Apr 2023 08:09:18 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 18 May 2023 00:35:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.9)
8
+
9
+ Thu, 18 May 2023 00:35:47 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.8..@fluentui/react-text_v9.3.9)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-utilities to v9.9.0 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
15
+ - Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
16
+
17
+ ## [9.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.8)
18
+
19
+ Fri, 12 May 2023 20:27:54 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.7..@fluentui/react-text_v9.3.8)
21
+
22
+ ### Patches
23
+
24
+ - Update to use single hook selector ([PR #27491](https://github.com/microsoft/fluentui/pull/27491) by gcox@microsoft.com)
25
+ - chore: move makeStyles() calls to .styles.ts files ([PR #27707](https://github.com/microsoft/fluentui/pull/27707) by olfedias@microsoft.com)
26
+ - chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
27
+ - Bump @fluentui/react-shared-contexts to v9.4.0 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
28
+ - Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
29
+ - Bump @fluentui/react-utilities to v9.8.1 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
30
+ - Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
31
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
32
+
7
33
  ## [9.3.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.7)
8
34
 
9
- Mon, 24 Apr 2023 08:09:18 GMT
35
+ Mon, 24 Apr 2023 08:12:43 GMT
10
36
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.6..@fluentui/react-text_v9.3.7)
11
37
 
12
38
  ### Patches
13
39
 
14
40
  - chore: adopt custom JSX pragma ([PR #27626](https://github.com/microsoft/fluentui/pull/27626) by bernardo.sunderhus@gmail.com)
15
- - Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([PR #27632](https://github.com/microsoft/fluentui/pull/27632) by beachball)
41
+ - Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
16
42
 
17
43
  ## [9.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.6)
18
44
 
@@ -1,18 +1,15 @@
1
1
  import * as React from 'react';
2
2
  import { useText_unstable } from './useText';
3
3
  import { renderText_unstable } from './renderText';
4
- import { useTextStyles_unstable } from './useTextStyles';
5
- import { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';
4
+ import { useTextStyles_unstable } from './useTextStyles.styles';
5
+ import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
6
6
  /**
7
7
  * Typography and styling abstraction component used to ensure consistency of text.
8
8
  */
9
9
  export const Text = /*#__PURE__*/React.forwardRef((props, ref) => {
10
10
  const state = useText_unstable(props, ref);
11
11
  useTextStyles_unstable(state);
12
- const {
13
- useTextStyles_unstable: useCustomStyles
14
- } = useCustomStyleHooks_unstable();
15
- useCustomStyles(state);
12
+ useCustomStyleHook_unstable('useTextStyles_unstable')(state);
16
13
  return renderText_unstable(state);
17
14
  // Work around some small mismatches in inferred types which don't matter in practice
18
15
  });
@@ -1 +1 @@
1
- {"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHooks_unstable","Text","forwardRef","props","ref","state","useCustomStyles","displayName"],"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';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n const { useTextStyles_unstable: useCustomStyles } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,gBAAgB,QAAQ;AACjC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,sBAAsB,QAAQ;AAGvC,SAASC,4BAA4B,QAAQ;AAE7C;;;AAGA,OAAO,MAAMC,IAAA,gBAAuCL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACnF,MAAMC,KAAA,GAAQR,gBAAA,CAAiBM,KAAA,EAAOC,GAAA;EAEtCL,sBAAA,CAAuBM,KAAA;EAEvB,MAAM;IAAEN,sBAAA,EAAwBO;EAAe,CAAE,GAAGN,4BAAA;EACpDM,eAAA,CAAgBD,KAAA;EAEhB,OAAOP,mBAAA,CAAoBO,KAAA;EAC3B;AACF;;AAEAJ,IAAA,CAAKM,WAAW,GAAG"}
1
+ {"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"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"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,gBAAgB,QAAQ;AACjC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,sBAAsB,QAAQ;AAGvC,SAASC,2BAA2B,QAAQ;AAE5C;;;AAGA,OAAO,MAAMC,IAAA,gBAAuCL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACnF,MAAMC,KAAA,GAAQR,gBAAA,CAAiBM,KAAA,EAAOC,GAAA;EAEtCL,sBAAA,CAAuBM,KAAA;EAEvBL,2BAAA,CAA4B,0BAA0BK,KAAA;EAEtD,OAAOP,mBAAA,CAAoBO,KAAA;EAC3B;AACF;;AAEAJ,IAAA,CAAKK,WAAW,GAAG"}
@@ -2,5 +2,5 @@ export * from './Text';
2
2
  export * from './Text.types';
3
3
  export * from './renderText';
4
4
  export * from './useText';
5
- export * from './useTextStyles';
5
+ export * from './useTextStyles.styles';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
1
+ {"version":3,"names":[],"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
@@ -113,4 +113,4 @@ export const useTextStyles_unstable = state => {
113
113
  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);
114
114
  return state;
115
115
  };
116
- //# sourceMappingURL=useTextStyles.js.map
116
+ //# sourceMappingURL=useTextStyles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","mergeClasses","shorthands","tokens","textClassNames","root","useStyles","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","wrap","size","font","weight","align"],"sources":["../../../src/components/Text/useTextStyles.styles.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":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,EAAEC,UAAU,QAAQ;AACrD,SAASC,MAAM,QAAQ;AAIvB,OAAO,MAAMC,cAAA,GAA4C;EACvDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYN,QAAA;EAAAK,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,MAAA;IAAAJ,MAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;EAAAG,QAAA;IAAAF,MAAA;EAAA;EAAAG,KAAA;IAAAP,MAAA;EAAA;EAAAQ,MAAA;IAAAC,OAAA;EAAA;EAAAC,SAAA;IAAAC,MAAA;EAAA;EAAAC,aAAA;IAAAD,MAAA;EAAA;EAAAE,sBAAA;IAAAF,MAAA;EAAA;EAAAG,OAAA;IAAAlB,OAAA;IAAAC,OAAA;EAAA;EAAAkB,OAAA;IAAAnB,OAAA;IAAAC,OAAA;EAAA;EAAAmB,OAAA;IAAApB,OAAA;IAAAC,OAAA;EAAA;EAAAoB,OAAA;IAAArB,OAAA;IAAAC,OAAA;EAAA;EAAAqB,OAAA;IAAAtB,OAAA;IAAAC,OAAA;EAAA;EAAAsB,OAAA;IAAAvB,OAAA;IAAAC,OAAA;EAAA;EAAAuB,OAAA;IAAAxB,OAAA;IAAAC,OAAA;EAAA;EAAAwB,OAAA;IAAAzB,OAAA;IAAAC,OAAA;EAAA;EAAAyB,QAAA;IAAA1B,OAAA;IAAAC,OAAA;EAAA;EAAA0B,SAAA;IAAA5B,OAAA;EAAA;EAAA6B,OAAA;IAAA7B,OAAA;EAAA;EAAA8B,YAAA;IAAA3B,OAAA;EAAA;EAAA4B,cAAA;IAAA5B,OAAA;EAAA;EAAA6B,UAAA;IAAA7B,OAAA;EAAA;EAAA8B,WAAA;IAAA7B,MAAA;EAAA;EAAA8B,QAAA;IAAA9B,MAAA;EAAA;EAAA+B,YAAA;IAAA/B,MAAA;EAAA;AAAA;EAAAgC,CAAA;AAAA,EA8FlB;AAEA;;;AAGA,OAAO,MAAMC,sBAAA,GAA0BC,KAAA,IAAgC;EACrE,MAAMC,MAAA,GAASxC,SAAA;EAEfuC,KAAA,CAAMxC,IAAI,CAAC0C,SAAS,GAAG9C,YAAA,CACrBG,cAAA,CAAeC,IAAI,EACnByC,MAAA,CAAOzC,IAAI,EACXwC,KAAA,CAAMG,IAAI,KAAK,KAAK,IAAIF,MAAA,CAAO7B,MAAM,EACrC4B,KAAA,CAAM3B,QAAQ,IAAI4B,MAAA,CAAO5B,QAAQ,EACjC2B,KAAA,CAAM1B,KAAK,IAAI2B,MAAA,CAAO3B,KAAK,EAC3B0B,KAAA,CAAMzB,MAAM,IAAI0B,MAAA,CAAO1B,MAAM,EAC7ByB,KAAA,CAAMvB,SAAS,IAAIwB,MAAA,CAAOxB,SAAS,EACnCuB,KAAA,CAAMrB,aAAa,IAAIsB,MAAA,CAAOtB,aAAa,EAC3CqB,KAAA,CAAMvB,SAAS,IAAIuB,KAAA,CAAMrB,aAAa,IAAIsB,MAAA,CAAOrB,sBAAsB,EACvEoB,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOpB,OAAO,EACpCmB,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOnB,OAAO,EACpCkB,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOlB,OAAO,EACpCiB,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOjB,OAAO,EACpCgB,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOhB,OAAO,EACpCe,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOf,OAAO,EACpCc,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOd,OAAO,EACpCa,KAAA,CAAMI,IAAI,KAAK,OAAOH,MAAA,CAAOb,OAAO,EACpCY,KAAA,CAAMI,IAAI,KAAK,QAAQH,MAAA,CAAOZ,QAAQ,EACtCW,KAAA,CAAMK,IAAI,KAAK,eAAeJ,MAAA,CAAOX,SAAS,EAC9CU,KAAA,CAAMK,IAAI,KAAK,aAAaJ,MAAA,CAAOV,OAAO,EAC1CS,KAAA,CAAMM,MAAM,KAAK,YAAYL,MAAA,CAAOT,YAAY,EAChDQ,KAAA,CAAMM,MAAM,KAAK,cAAcL,MAAA,CAAOR,cAAc,EACpDO,KAAA,CAAMM,MAAM,KAAK,UAAUL,MAAA,CAAOP,UAAU,EAC5CM,KAAA,CAAMO,KAAK,KAAK,YAAYN,MAAA,CAAON,WAAW,EAC9CK,KAAA,CAAMO,KAAK,KAAK,SAASN,MAAA,CAAOL,QAAQ,EACxCI,KAAA,CAAMO,KAAK,KAAK,aAAaN,MAAA,CAAOJ,YAAY,EAChDG,KAAA,CAAMxC,IAAI,CAAC0C,SAAS;EAGtB,OAAOF,KAAA;AACT"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const body1ClassNames = {
5
- root: 'fui-Body1'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fkhj508",
14
- Bhrd7zp: "figsok6",
15
- Bg96gwp: "f1i3iumi"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
- });
2
+ import { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Body1 typography variant
22
5
  */
23
6
  export const Body1 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useBody1Styles,
25
8
  className: body1ClassNames.root,
26
9
  displayName: 'Body1'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","body1ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1","className","displayName"],"sources":["../../../../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,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CV,YAAA,CAAa;EACpEI,SAAA;EACAO,SAAA,EAAWT,eAAA,CAAgBC,IAAI;EAC/BS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } 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: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,eAAe,EAAEC,cAAc,QAAQ;AAEhD;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CH,YAAA,CAAa;EACpEI,SAAA,EAAWF,cAAA;EACXG,SAAA,EAAWJ,eAAA,CAAgBK,IAAI;EAC/BC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Body1';
2
+ export { body1ClassNames } from './useBody1Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["body1ClassNames"],"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,eAAe,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } 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
+ */
9
+ export const useBody1Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fkhj508",
13
+ Bhrd7zp: "figsok6",
14
+ Bg96gwp: "f1i3iumi"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
+ });
19
+ //# sourceMappingURL=useBody1Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","body1ClassNames","root","useBody1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"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"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,cAAA,gBAAiBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE9B"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const body1StrongClassNames = {
5
- root: 'fui-Body1Strong'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fkhj508",
14
- Bhrd7zp: "fl43uef",
15
- Bg96gwp: "f1i3iumi"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
- });
2
+ import { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';
20
3
  /**
21
4
  * Text preset component for the Body1Strong typography variant
22
5
  */
23
6
  export const Body1Strong = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useBody1StrongStyles,
25
8
  className: body1StrongClassNames.root,
26
9
  displayName: 'Body1Strong'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","body1StrongClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1Strong","className","displayName"],"sources":["../../../../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,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,qBAAA,GAAmD;EAC9DC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,WAAA,gBAAkDV,YAAA,CAAa;EAC1EI,SAAA;EACAO,SAAA,EAAWT,qBAAA,CAAsBC,IAAI;EACrCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } 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: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ;AAE5D;;;AAGA,OAAO,MAAMC,WAAA,gBAAkDH,YAAA,CAAa;EAC1EI,SAAA,EAAWF,oBAAA;EACXG,SAAA,EAAWJ,qBAAA,CAAsBK,IAAI;EACrCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Body1Strong';
2
+ export { body1StrongClassNames } from './useBody1StrongStyles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["body1StrongClassNames"],"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,qBAAqB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } 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
+ */
9
+ export const useBody1StrongStyles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fkhj508",
13
+ Bhrd7zp: "fl43uef",
14
+ Bg96gwp: "f1i3iumi"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
+ });
19
+ //# sourceMappingURL=useBody1StrongStyles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"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"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,qBAAA,GAAmD;EAC9DC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,oBAAA,gBAAuBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAEpC"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const body1StrongerClassNames = {
5
- root: 'fui-Body1Stronger'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fkhj508",
14
- Bhrd7zp: "flh3ekv",
15
- Bg96gwp: "f1i3iumi"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
19
- });
2
+ import { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';
20
3
  /**
21
4
  * Text preset component for the Body1Stronger typography variant
22
5
  */
23
6
  export const Body1Stronger = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useBody1StrongerStyles,
25
8
  className: body1StrongerClassNames.root,
26
9
  displayName: 'Body1Stronger'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","body1StrongerClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body1Stronger","className","displayName"],"sources":["../../../../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,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,uBAAA,GAAqD;EAChEC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,aAAA,gBAAoDV,YAAA,CAAa;EAC5EI,SAAA;EACAO,SAAA,EAAWT,uBAAA,CAAwBC,IAAI;EACvCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } 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: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ;AAEhE;;;AAGA,OAAO,MAAMC,aAAA,gBAAoDH,YAAA,CAAa;EAC5EI,SAAA,EAAWF,sBAAA;EACXG,SAAA,EAAWJ,uBAAA,CAAwBK,IAAI;EACvCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Body1Stronger';
2
+ export { body1StrongerClassNames } from './useBody1StrongerStyles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["body1StrongerClassNames"],"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,uBAAuB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } 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
+ */
9
+ export const useBody1StrongerStyles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fkhj508",
13
+ Bhrd7zp: "flh3ekv",
14
+ Bg96gwp: "f1i3iumi"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
+ });
19
+ //# sourceMappingURL=useBody1StrongerStyles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"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"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,uBAAA,GAAqD;EAChEC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,sBAAA,gBAAyBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAEtC"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const body2ClassNames = {
5
- root: 'fui-Body2'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fod5ikn",
14
- Bhrd7zp: "figsok6",
15
- Bg96gwp: "faaz57k"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
19
- });
2
+ import { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Body2 typography variant
22
5
  */
23
6
  export const Body2 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useBody2Styles,
25
8
  className: body2ClassNames.root,
26
9
  displayName: 'Body2'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","body2ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Body2","className","displayName"],"sources":["../../../../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,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CV,YAAA,CAAa;EACpEI,SAAA;EACAO,SAAA,EAAWT,eAAA,CAAgBC,IAAI;EAC/BS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import type { FunctionComponent } 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: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,eAAe,EAAEC,cAAc,QAAQ;AAEhD;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CH,YAAA,CAAa;EACpEI,SAAA,EAAWF,cAAA;EACXG,SAAA,EAAWJ,eAAA,CAAgBK,IAAI;EAC/BC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Body2';
2
+ export { body2ClassNames } from './useBody2Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["body2ClassNames"],"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,eAAe,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } 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
+ */
9
+ export const useBody2Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fod5ikn",
13
+ Bhrd7zp: "figsok6",
14
+ Bg96gwp: "faaz57k"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
18
+ });
19
+ //# sourceMappingURL=useBody2Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","body2ClassNames","root","useBody2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"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"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,cAAA,gBAAiBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE9B"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const caption1ClassNames = {
5
- root: 'fui-Caption1'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fy9rknc",
14
- Bhrd7zp: "figsok6",
15
- Bg96gwp: "fwrc4pm"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
19
- });
2
+ import { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Caption1 typography variant
22
5
  */
23
6
  export const Caption1 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useCaption1Styles,
25
8
  className: caption1ClassNames.root,
26
9
  displayName: 'Caption1'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","caption1ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption1","className","displayName"],"sources":["../../../../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,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,kBAAA,GAAgD;EAC3DC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,QAAA,gBAA+CV,YAAA,CAAa;EACvEI,SAAA;EACAO,SAAA,EAAWT,kBAAA,CAAmBC,IAAI;EAClCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } 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: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ;AAEtD;;;AAGA,OAAO,MAAMC,QAAA,gBAA+CH,YAAA,CAAa;EACvEI,SAAA,EAAWF,iBAAA;EACXG,SAAA,EAAWJ,kBAAA,CAAmBK,IAAI;EAClCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Caption1';
2
+ export { caption1ClassNames } from './useCaption1Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["caption1ClassNames"],"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,kBAAkB,QAAQ"}