@fluentui/react-text 0.0.0-nightly-20230130-0422.1 → 0.0.0-nightly-20230201-0421.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 (259) hide show
  1. package/CHANGELOG.json +30 -9
  2. package/CHANGELOG.md +17 -7
  3. package/dist/index.d.ts +75 -23
  4. package/lib/Body1.js +1 -1
  5. package/lib/Body1.js.map +1 -1
  6. package/lib/Body1Strong.js +2 -0
  7. package/lib/Body1Strong.js.map +1 -0
  8. package/lib/Body1Stronger.js +2 -0
  9. package/lib/Body1Stronger.js.map +1 -0
  10. package/lib/Body2.js +2 -0
  11. package/lib/Body2.js.map +1 -0
  12. package/lib/Caption1.js +1 -1
  13. package/lib/Caption1.js.map +1 -1
  14. package/lib/Caption1Strong.js +2 -0
  15. package/lib/Caption1Strong.js.map +1 -0
  16. package/lib/Caption1Stronger.js +2 -0
  17. package/lib/Caption1Stronger.js.map +1 -0
  18. package/lib/Caption2.js +1 -1
  19. package/lib/Caption2.js.map +1 -1
  20. package/lib/Caption2Strong.js +2 -0
  21. package/lib/Caption2Strong.js.map +1 -0
  22. package/lib/Display.js +1 -1
  23. package/lib/Display.js.map +1 -1
  24. package/lib/LargeTitle.js +1 -1
  25. package/lib/LargeTitle.js.map +1 -1
  26. package/lib/Subtitle1.js +1 -1
  27. package/lib/Subtitle1.js.map +1 -1
  28. package/lib/Subtitle2.js +1 -1
  29. package/lib/Subtitle2.js.map +1 -1
  30. package/lib/Subtitle2Stronger.js +2 -0
  31. package/lib/Subtitle2Stronger.js.map +1 -0
  32. package/lib/Title1.js +1 -1
  33. package/lib/Title1.js.map +1 -1
  34. package/lib/Title2.js +1 -1
  35. package/lib/Title2.js.map +1 -1
  36. package/lib/Title3.js +1 -1
  37. package/lib/Title3.js.map +1 -1
  38. package/lib/components/Text/Text.types.js.map +1 -1
  39. package/lib/components/{Body1 → presets/Body1}/Body1.js +3 -3
  40. package/lib/components/presets/Body1/Body1.js.map +1 -0
  41. package/lib/components/{Body1 → presets/Body1}/index.js +0 -0
  42. package/lib/components/presets/Body1/index.js.map +1 -0
  43. package/lib/components/presets/Body1Strong/Body1Strong.js +28 -0
  44. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -0
  45. package/lib/components/presets/Body1Strong/index.js +2 -0
  46. package/lib/components/presets/Body1Strong/index.js.map +1 -0
  47. package/lib/components/presets/Body1Stronger/Body1Stronger.js +28 -0
  48. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
  49. package/lib/components/presets/Body1Stronger/index.js +2 -0
  50. package/lib/components/presets/Body1Stronger/index.js.map +1 -0
  51. package/lib/components/presets/Body2/Body2.js +28 -0
  52. package/lib/components/presets/Body2/Body2.js.map +1 -0
  53. package/lib/components/presets/Body2/index.js +2 -0
  54. package/lib/components/presets/Body2/index.js.map +1 -0
  55. package/lib/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
  56. package/lib/components/presets/Caption1/Caption1.js.map +1 -0
  57. package/lib/components/{Caption1 → presets/Caption1}/index.js +0 -0
  58. package/lib/components/presets/Caption1/index.js.map +1 -0
  59. package/lib/components/presets/Caption1Strong/Caption1Strong.js +28 -0
  60. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
  61. package/lib/components/presets/Caption1Strong/index.js +2 -0
  62. package/lib/components/presets/Caption1Strong/index.js.map +1 -0
  63. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +28 -0
  64. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
  65. package/lib/components/presets/Caption1Stronger/index.js +2 -0
  66. package/lib/components/presets/Caption1Stronger/index.js.map +1 -0
  67. package/lib/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
  68. package/lib/components/presets/Caption2/Caption2.js.map +1 -0
  69. package/lib/components/{Caption2 → presets/Caption2}/index.js +0 -0
  70. package/lib/components/presets/Caption2/index.js.map +1 -0
  71. package/lib/components/presets/Caption2Strong/Caption2Strong.js +28 -0
  72. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
  73. package/lib/components/presets/Caption2Strong/index.js +2 -0
  74. package/lib/components/presets/Caption2Strong/index.js.map +1 -0
  75. package/lib/components/{Display → presets/Display}/Display.js +3 -3
  76. package/lib/components/presets/Display/Display.js.map +1 -0
  77. package/lib/components/{Display → presets/Display}/index.js +0 -0
  78. package/lib/components/presets/Display/index.js.map +1 -0
  79. package/lib/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
  80. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -0
  81. package/lib/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
  82. package/lib/components/presets/LargeTitle/index.js.map +1 -0
  83. package/lib/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
  84. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -0
  85. package/lib/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
  86. package/lib/components/presets/Subtitle1/index.js.map +1 -0
  87. package/lib/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
  88. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -0
  89. package/lib/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
  90. package/lib/components/presets/Subtitle2/index.js.map +1 -0
  91. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +28 -0
  92. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
  93. package/lib/components/presets/Subtitle2Stronger/index.js +2 -0
  94. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -0
  95. package/lib/components/{Title1 → presets/Title1}/Title1.js +3 -3
  96. package/lib/components/presets/Title1/Title1.js.map +1 -0
  97. package/lib/components/{Title1 → presets/Title1}/index.js +0 -0
  98. package/lib/components/presets/Title1/index.js.map +1 -0
  99. package/lib/components/{Title2 → presets/Title2}/Title2.js +3 -3
  100. package/lib/components/presets/Title2/Title2.js.map +1 -0
  101. package/lib/components/{Title2 → presets/Title2}/index.js +0 -0
  102. package/lib/components/presets/Title2/index.js.map +1 -0
  103. package/lib/components/{Title3 → presets/Title3}/Title3.js +3 -3
  104. package/lib/components/presets/Title3/Title3.js.map +1 -0
  105. package/lib/components/{Title3 → presets/Title3}/index.js +0 -0
  106. package/lib/components/presets/Title3/index.js.map +1 -0
  107. package/lib/components/{wrapper.js → presets/createPreset.js} +2 -2
  108. package/lib/components/presets/createPreset.js.map +1 -0
  109. package/lib/index.js +12 -5
  110. package/lib/index.js.map +1 -1
  111. package/lib-commonjs/Body1.js +1 -1
  112. package/lib-commonjs/Body1.js.map +1 -1
  113. package/lib-commonjs/Body1Strong.js +8 -0
  114. package/lib-commonjs/Body1Strong.js.map +1 -0
  115. package/lib-commonjs/Body1Stronger.js +8 -0
  116. package/lib-commonjs/Body1Stronger.js.map +1 -0
  117. package/lib-commonjs/Body2.js +8 -0
  118. package/lib-commonjs/Body2.js.map +1 -0
  119. package/lib-commonjs/Caption1.js +1 -1
  120. package/lib-commonjs/Caption1.js.map +1 -1
  121. package/lib-commonjs/Caption1Strong.js +8 -0
  122. package/lib-commonjs/Caption1Strong.js.map +1 -0
  123. package/lib-commonjs/Caption1Stronger.js +8 -0
  124. package/lib-commonjs/Caption1Stronger.js.map +1 -0
  125. package/lib-commonjs/Caption2.js +1 -1
  126. package/lib-commonjs/Caption2.js.map +1 -1
  127. package/lib-commonjs/Caption2Strong.js +8 -0
  128. package/lib-commonjs/Caption2Strong.js.map +1 -0
  129. package/lib-commonjs/Display.js +1 -1
  130. package/lib-commonjs/Display.js.map +1 -1
  131. package/lib-commonjs/LargeTitle.js +1 -1
  132. package/lib-commonjs/LargeTitle.js.map +1 -1
  133. package/lib-commonjs/Subtitle1.js +1 -1
  134. package/lib-commonjs/Subtitle1.js.map +1 -1
  135. package/lib-commonjs/Subtitle2.js +1 -1
  136. package/lib-commonjs/Subtitle2.js.map +1 -1
  137. package/lib-commonjs/Subtitle2Stronger.js +8 -0
  138. package/lib-commonjs/Subtitle2Stronger.js.map +1 -0
  139. package/lib-commonjs/Title1.js +1 -1
  140. package/lib-commonjs/Title1.js.map +1 -1
  141. package/lib-commonjs/Title2.js +1 -1
  142. package/lib-commonjs/Title2.js.map +1 -1
  143. package/lib-commonjs/Title3.js +1 -1
  144. package/lib-commonjs/Title3.js.map +1 -1
  145. package/lib-commonjs/components/{Body1 → presets/Body1}/Body1.js +3 -3
  146. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -0
  147. package/lib-commonjs/components/{Body1 → presets/Body1}/index.js +0 -0
  148. package/lib-commonjs/components/presets/Body1/index.js.map +1 -0
  149. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +34 -0
  150. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -0
  151. package/lib-commonjs/components/presets/Body1Strong/index.js +8 -0
  152. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -0
  153. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +34 -0
  154. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -0
  155. package/lib-commonjs/components/presets/Body1Stronger/index.js +8 -0
  156. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -0
  157. package/lib-commonjs/components/presets/Body2/Body2.js +34 -0
  158. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -0
  159. package/lib-commonjs/components/presets/Body2/index.js +8 -0
  160. package/lib-commonjs/components/presets/Body2/index.js.map +1 -0
  161. package/lib-commonjs/components/{Caption1 → presets/Caption1}/Caption1.js +3 -3
  162. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -0
  163. package/lib-commonjs/components/{Caption1 → presets/Caption1}/index.js +0 -0
  164. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -0
  165. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +34 -0
  166. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -0
  167. package/lib-commonjs/components/presets/Caption1Strong/index.js +8 -0
  168. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -0
  169. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +34 -0
  170. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -0
  171. package/lib-commonjs/components/presets/Caption1Stronger/index.js +8 -0
  172. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -0
  173. package/lib-commonjs/components/{Caption2 → presets/Caption2}/Caption2.js +3 -3
  174. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -0
  175. package/lib-commonjs/components/{Caption2 → presets/Caption2}/index.js +0 -0
  176. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -0
  177. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +34 -0
  178. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -0
  179. package/lib-commonjs/components/presets/Caption2Strong/index.js +8 -0
  180. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -0
  181. package/lib-commonjs/components/{Display → presets/Display}/Display.js +3 -3
  182. package/lib-commonjs/components/presets/Display/Display.js.map +1 -0
  183. package/lib-commonjs/components/{Display → presets/Display}/index.js +0 -0
  184. package/lib-commonjs/components/presets/Display/index.js.map +1 -0
  185. package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/LargeTitle.js +3 -3
  186. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -0
  187. package/lib-commonjs/components/{LargeTitle → presets/LargeTitle}/index.js +0 -0
  188. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -0
  189. package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/Subtitle1.js +3 -3
  190. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -0
  191. package/lib-commonjs/components/{Subtitle1 → presets/Subtitle1}/index.js +0 -0
  192. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -0
  193. package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/Subtitle2.js +3 -3
  194. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -0
  195. package/lib-commonjs/components/{Subtitle2 → presets/Subtitle2}/index.js +0 -0
  196. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -0
  197. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +34 -0
  198. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -0
  199. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +8 -0
  200. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -0
  201. package/lib-commonjs/components/{Title1 → presets/Title1}/Title1.js +3 -3
  202. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -0
  203. package/lib-commonjs/components/{Title1 → presets/Title1}/index.js +0 -0
  204. package/lib-commonjs/components/presets/Title1/index.js.map +1 -0
  205. package/lib-commonjs/components/{Title2 → presets/Title2}/Title2.js +3 -3
  206. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -0
  207. package/lib-commonjs/components/{Title2 → presets/Title2}/index.js +0 -0
  208. package/lib-commonjs/components/presets/Title2/index.js.map +1 -0
  209. package/lib-commonjs/components/{Title3 → presets/Title3}/Title3.js +3 -3
  210. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -0
  211. package/lib-commonjs/components/{Title3 → presets/Title3}/index.js +0 -0
  212. package/lib-commonjs/components/presets/Title3/index.js.map +1 -0
  213. package/lib-commonjs/components/{wrapper.js → presets/createPreset.js} +4 -4
  214. package/lib-commonjs/components/presets/createPreset.js.map +1 -0
  215. package/lib-commonjs/index.js +132 -41
  216. package/lib-commonjs/index.js.map +1 -1
  217. package/package.json +4 -4
  218. package/lib/components/Body1/Body1.js.map +0 -1
  219. package/lib/components/Body1/index.js.map +0 -1
  220. package/lib/components/Caption1/Caption1.js.map +0 -1
  221. package/lib/components/Caption1/index.js.map +0 -1
  222. package/lib/components/Caption2/Caption2.js.map +0 -1
  223. package/lib/components/Caption2/index.js.map +0 -1
  224. package/lib/components/Display/Display.js.map +0 -1
  225. package/lib/components/Display/index.js.map +0 -1
  226. package/lib/components/LargeTitle/LargeTitle.js.map +0 -1
  227. package/lib/components/LargeTitle/index.js.map +0 -1
  228. package/lib/components/Subtitle1/Subtitle1.js.map +0 -1
  229. package/lib/components/Subtitle1/index.js.map +0 -1
  230. package/lib/components/Subtitle2/Subtitle2.js.map +0 -1
  231. package/lib/components/Subtitle2/index.js.map +0 -1
  232. package/lib/components/Title1/Title1.js.map +0 -1
  233. package/lib/components/Title1/index.js.map +0 -1
  234. package/lib/components/Title2/Title2.js.map +0 -1
  235. package/lib/components/Title2/index.js.map +0 -1
  236. package/lib/components/Title3/Title3.js.map +0 -1
  237. package/lib/components/Title3/index.js.map +0 -1
  238. package/lib/components/wrapper.js.map +0 -1
  239. package/lib-commonjs/components/Body1/Body1.js.map +0 -1
  240. package/lib-commonjs/components/Body1/index.js.map +0 -1
  241. package/lib-commonjs/components/Caption1/Caption1.js.map +0 -1
  242. package/lib-commonjs/components/Caption1/index.js.map +0 -1
  243. package/lib-commonjs/components/Caption2/Caption2.js.map +0 -1
  244. package/lib-commonjs/components/Caption2/index.js.map +0 -1
  245. package/lib-commonjs/components/Display/Display.js.map +0 -1
  246. package/lib-commonjs/components/Display/index.js.map +0 -1
  247. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +0 -1
  248. package/lib-commonjs/components/LargeTitle/index.js.map +0 -1
  249. package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +0 -1
  250. package/lib-commonjs/components/Subtitle1/index.js.map +0 -1
  251. package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +0 -1
  252. package/lib-commonjs/components/Subtitle2/index.js.map +0 -1
  253. package/lib-commonjs/components/Title1/Title1.js.map +0 -1
  254. package/lib-commonjs/components/Title1/index.js.map +0 -1
  255. package/lib-commonjs/components/Title2/Title2.js.map +0 -1
  256. package/lib-commonjs/components/Title2/index.js.map +0 -1
  257. package/lib-commonjs/components/Title3/Title3.js.map +0 -1
  258. package/lib-commonjs/components/Title3/index.js.map +0 -1
  259. package/lib-commonjs/components/wrapper.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightly-20230130-0422.1",
3
+ "version": "0.0.0-nightly-20230201-0421.1",
4
4
  "description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -27,14 +27,14 @@
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230130-0422.1",
30
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230201-0421.1",
31
31
  "@fluentui/scripts-api-extractor": "*",
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
35
  "@griffel/react": "^1.5.2",
36
- "@fluentui/react-theme": "0.0.0-nightly-20230130-0422.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20230130-0422.1",
36
+ "@fluentui/react-theme": "0.0.0-nightly-20230201-0421.1",
37
+ "@fluentui/react-utilities": "0.0.0-nightly-20230201-0421.1",
38
38
  "tslib": "^2.1.0"
39
39
  },
40
40
  "peerDependencies": {
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,eAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,KAAK,gBAAwCL,aAAa,CAAC;EACtEI,SAAS;EACTE,SAAS,EAAEJ,eAAe,CAACC,IAAI;EAC/BI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","body1ClassNames","root","useStyles","Body1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text wrapper component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './Body1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,kBAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,QAAQ,gBAAwCL,aAAa,CAAC;EACzEI,SAAS;EACTE,SAAS,EAAEJ,kBAAkB,CAACC,IAAI;EAClCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","caption1ClassNames","root","useStyles","Caption1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text wrapper component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,kBAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,QAAQ,gBAAwCL,aAAa,CAAC;EACzEI,SAAS;EACTE,SAAS,EAAEJ,kBAAkB,CAACC,IAAI;EAClCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","caption2ClassNames","root","useStyles","Caption2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text wrapper component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,iBAAiB,GAA8B;EAC1DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,OAAO,gBAAwCL,aAAa,CAAC;EACxEI,SAAS;EACTE,SAAS,EAAEJ,iBAAiB,CAACC,IAAI;EACjCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","displayClassNames","root","useStyles","Display","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.display,\n});\n\n/**\n * Text wrapper component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC","sourcesContent":["export * from './Display';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,oBAAoB,GAA8B;EAC7DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,UAAU,gBAAwCL,aAAa,CAAC;EAC3EI,SAAS;EACTE,SAAS,EAAEJ,oBAAoB,CAACC,IAAI;EACpCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","largeTitleClassNames","root","useStyles","LargeTitle","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n\n/**\n * Text wrapper component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC","sourcesContent":["export * from './LargeTitle';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,mBAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,SAAS,gBAAwCL,aAAa,CAAC;EAC1EI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","subtitle1ClassNames","root","useStyles","Subtitle1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n\n/**\n * Text wrapper component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,mBAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,SAAS,gBAAwCL,aAAa,CAAC;EAC1EI,SAAS;EACTE,SAAS,EAAEJ,mBAAmB,CAACC,IAAI;EACnCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","subtitle2ClassNames","root","useStyles","Subtitle2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text wrapper component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title1ClassNames","root","useStyles","Title1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title2ClassNames","root","useStyles","Title2","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AACA,yBAA2B,gBAAgB;AAC3C,SAASA,aAAa,QAA0B,YAAY;AAG5D,SAASC,gBAAgB,QAAQ,uBAAuB;AAExD,OAAO,MAAMC,gBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAG;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAEhB;AAEF;;;AAGA,OAAO,MAAMC,MAAM,gBAAwCL,aAAa,CAAC;EACvEI,SAAS;EACTE,SAAS,EAAEJ,gBAAgB,CAACC,IAAI;EAChCI,WAAW,EAAE;CACd,CAAC","names":["createWrapper","typographyStyles","title3ClassNames","root","useStyles","Title3","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title3';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,SAAS;AAMvF,OAAM,SAAUC,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,gBAA0CV,KAAK,CAACW,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,MAAMC,MAAM,GAAGP,SAAS,EAAE;IAC1B,MAAMQ,KAAK,GAAGZ,gBAAgB,CAACS,KAAkB,EAAEC,GAAG,CAAC;IAEvDT,sBAAsB,CAACW,KAAK,CAAC;IAE7BA,KAAK,CAACC,IAAI,CAACR,SAAS,GAAGP,YAAY,CAACO,SAAS,EAAEO,KAAK,CAACC,IAAI,CAACR,SAAS,EAAEM,MAAM,CAACE,IAAI,EAAEJ,KAAK,CAACJ,SAAS,CAAC;IAElG,OAAON,mBAAmB,CAACa,KAAK,CAAC;EACnC,CAAC,CAAC;EACFL,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB","names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createWrapper","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,uBAAe,GAA8B;EACxDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,aAAK,gBAAwCI,uBAAa,CAAC;EACtEF,SAAS;EACTG,SAAS,EAAEL,uBAAe,CAACC,IAAI;EAC/BK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text wrapper component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,0BAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,gBAAQ,gBAAwCI,uBAAa,CAAC;EACzEF,SAAS;EACTG,SAAS,EAAEL,0BAAkB,CAACC,IAAI;EAClCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { 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 */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text wrapper component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,0BAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,gBAAQ,gBAAwCI,uBAAa,CAAC;EACzEF,SAAS;EACTG,SAAS,EAAEL,0BAAkB,CAACC,IAAI;EAClCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text wrapper component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Caption2/index.ts"],"sourcesContent":["export * from './Caption2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,yBAAiB,GAA8B;EAC1DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,eAAO,gBAAwCI,uBAAa,CAAC;EACxEF,SAAS;EACTG,SAAS,EAAEL,yBAAiB,CAACC,IAAI;EACjCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.display,\n});\n\n/**\n * Text wrapper component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Display/index.ts"],"sourcesContent":["export * from './Display';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,4BAAoB,GAA8B;EAC7DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,kBAAU,gBAAwCI,uBAAa,CAAC;EAC3EF,SAAS;EACTG,SAAS,EAAEL,4BAAoB,CAACC,IAAI;EACpCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n\n/**\n * Text wrapper component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/LargeTitle/index.ts"],"sourcesContent":["export * from './LargeTitle';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,2BAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,iBAAS,gBAAwCI,uBAAa,CAAC;EAC1EF,SAAS;EACTG,SAAS,EAAEL,2BAAmB,CAACC,IAAI;EACnCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n\n/**\n * Text wrapper component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle1/index.ts"],"sourcesContent":["export * from './Subtitle1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,2BAAmB,GAA8B;EAC5DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,iBAAS,gBAAwCI,uBAAa,CAAC;EAC1EF,SAAS;EACTG,SAAS,EAAEL,2BAAmB,CAACC,IAAI;EACnCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text wrapper component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Subtitle2/index.ts"],"sourcesContent":["export * from './Subtitle2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"","sources":["../../../../../../../../../packages/react-components/react-text/src/components/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"mappings":";;;;;;AAAA;AACA;AACA;AAMA,SAAgBA,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,GAA0CC,KAAK,CAACC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,MAAMC,MAAM,GAAGR,SAAS,EAAE;IAC1B,MAAMS,KAAK,GAAGC,uBAAgB,CAACJ,KAAkB,EAAEC,GAAG,CAAC;IAEvDG,6BAAsB,CAACD,KAAK,CAAC;IAE7BA,KAAK,CAACE,IAAI,CAACV,SAAS,GAAGW,oBAAY,CAACX,SAAS,EAAEQ,KAAK,CAACE,IAAI,CAACV,SAAS,EAAEO,MAAM,CAACG,IAAI,EAAEL,KAAK,CAACL,SAAS,CAAC;IAElG,OAAOS,0BAAmB,CAACD,KAAK,CAAC;EACnC,CAAC,CAAC;EACFN,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB;AAnBAU","names":["createWrapper","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","Text_1","root","react_1","exports"],"sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}