@fluentui/react-text 9.0.0-nightly.d730088d7f.0 → 9.0.0-rc.10

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 (288) hide show
  1. package/CHANGELOG.json +511 -18
  2. package/CHANGELOG.md +195 -53
  3. package/MIGRATION.md +153 -103
  4. package/README.md +4 -4
  5. package/dist/index.d.ts +188 -0
  6. package/{lib → dist}/tsdoc-metadata.json +0 -0
  7. package/lib/Body1.js +2 -0
  8. package/lib/Body1.js.map +1 -0
  9. package/lib/Caption1.js +2 -0
  10. package/lib/Caption1.js.map +1 -0
  11. package/lib/Caption2.js +2 -0
  12. package/lib/Caption2.js.map +1 -0
  13. package/lib/Display.js.map +1 -1
  14. package/lib/LargeTitle.js.map +1 -1
  15. package/lib/Subtitle1.js +2 -0
  16. package/lib/Subtitle1.js.map +1 -0
  17. package/lib/Subtitle2.js +2 -0
  18. package/lib/Subtitle2.js.map +1 -0
  19. package/lib/Text.js.map +1 -1
  20. package/lib/Title1.js.map +1 -1
  21. package/lib/Title2.js.map +1 -1
  22. package/lib/Title3.js.map +1 -1
  23. package/lib/components/Body1/Body1.js +31 -0
  24. package/lib/components/Body1/Body1.js.map +1 -0
  25. package/lib/components/Body1/index.js +2 -0
  26. package/lib/components/Body1/index.js.map +1 -0
  27. package/lib/components/Caption1/Caption1.js +31 -0
  28. package/lib/components/Caption1/Caption1.js.map +1 -0
  29. package/lib/components/Caption1/index.js +2 -0
  30. package/lib/components/Caption1/index.js.map +1 -0
  31. package/lib/components/Caption2/Caption2.js +31 -0
  32. package/lib/components/Caption2/Caption2.js.map +1 -0
  33. package/lib/components/Caption2/index.js +2 -0
  34. package/lib/components/Caption2/index.js.map +1 -0
  35. package/lib/components/Display/Display.js +12 -8
  36. package/lib/components/Display/Display.js.map +1 -1
  37. package/lib/components/Display/index.js.map +1 -1
  38. package/lib/components/LargeTitle/LargeTitle.js +12 -8
  39. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  40. package/lib/components/LargeTitle/index.js.map +1 -1
  41. package/lib/components/Subtitle1/Subtitle1.js +31 -0
  42. package/lib/components/Subtitle1/Subtitle1.js.map +1 -0
  43. package/lib/components/Subtitle1/index.js +2 -0
  44. package/lib/components/Subtitle1/index.js.map +1 -0
  45. package/lib/components/Subtitle2/Subtitle2.js +31 -0
  46. package/lib/components/Subtitle2/Subtitle2.js.map +1 -0
  47. package/lib/components/Subtitle2/index.js +2 -0
  48. package/lib/components/Subtitle2/index.js.map +1 -0
  49. package/lib/components/Text/Text.js +7 -7
  50. package/lib/components/Text/Text.js.map +1 -1
  51. package/lib/components/Text/Text.types.js.map +1 -1
  52. package/lib/components/Text/index.js.map +1 -1
  53. package/lib/components/Text/renderText.js +7 -7
  54. package/lib/components/Text/renderText.js.map +1 -1
  55. package/lib/components/Text/useText.js +28 -27
  56. package/lib/components/Text/useText.js.map +1 -1
  57. package/lib/components/Text/useTextStyles.js +17 -11
  58. package/lib/components/Text/useTextStyles.js.map +1 -1
  59. package/lib/components/Title1/Title1.js +12 -8
  60. package/lib/components/Title1/Title1.js.map +1 -1
  61. package/lib/components/Title1/index.js.map +1 -1
  62. package/lib/components/Title2/Title2.js +12 -8
  63. package/lib/components/Title2/Title2.js.map +1 -1
  64. package/lib/components/Title2/index.js.map +1 -1
  65. package/lib/components/Title3/Title3.js +12 -8
  66. package/lib/components/Title3/Title3.js.map +1 -1
  67. package/lib/components/Title3/index.js.map +1 -1
  68. package/lib/components/wrapper.js +13 -10
  69. package/lib/components/wrapper.js.map +1 -1
  70. package/lib/index.js +11 -10
  71. package/lib/index.js.map +1 -1
  72. package/lib-commonjs/Body1.js +10 -0
  73. package/lib-commonjs/Body1.js.map +1 -0
  74. package/lib-commonjs/Caption1.js +10 -0
  75. package/lib-commonjs/Caption1.js.map +1 -0
  76. package/lib-commonjs/Caption2.js +10 -0
  77. package/lib-commonjs/Caption2.js.map +1 -0
  78. package/lib-commonjs/Display.js +1 -1
  79. package/lib-commonjs/Display.js.map +1 -1
  80. package/lib-commonjs/LargeTitle.js +1 -1
  81. package/lib-commonjs/LargeTitle.js.map +1 -1
  82. package/lib-commonjs/Subtitle1.js +10 -0
  83. package/lib-commonjs/Subtitle1.js.map +1 -0
  84. package/lib-commonjs/Subtitle2.js +10 -0
  85. package/lib-commonjs/Subtitle2.js.map +1 -0
  86. package/lib-commonjs/Text.js +1 -1
  87. package/lib-commonjs/Text.js.map +1 -1
  88. package/lib-commonjs/Title1.js +1 -1
  89. package/lib-commonjs/Title1.js.map +1 -1
  90. package/lib-commonjs/Title2.js +1 -1
  91. package/lib-commonjs/Title2.js.map +1 -1
  92. package/lib-commonjs/Title3.js +1 -1
  93. package/lib-commonjs/Title3.js.map +1 -1
  94. package/lib-commonjs/components/Body1/Body1.js +41 -0
  95. package/lib-commonjs/components/Body1/Body1.js.map +1 -0
  96. package/lib-commonjs/components/Body1/index.js +10 -0
  97. package/lib-commonjs/components/Body1/index.js.map +1 -0
  98. package/lib-commonjs/components/Caption1/Caption1.js +41 -0
  99. package/lib-commonjs/components/Caption1/Caption1.js.map +1 -0
  100. package/lib-commonjs/components/Caption1/index.js +10 -0
  101. package/lib-commonjs/components/Caption1/index.js.map +1 -0
  102. package/lib-commonjs/components/Caption2/Caption2.js +41 -0
  103. package/lib-commonjs/components/Caption2/Caption2.js.map +1 -0
  104. package/lib-commonjs/components/Caption2/index.js +10 -0
  105. package/lib-commonjs/components/Caption2/index.js.map +1 -0
  106. package/lib-commonjs/components/Display/Display.js +20 -9
  107. package/lib-commonjs/components/Display/Display.js.map +1 -1
  108. package/lib-commonjs/components/Display/index.js +1 -1
  109. package/lib-commonjs/components/Display/index.js.map +1 -1
  110. package/lib-commonjs/components/LargeTitle/LargeTitle.js +20 -9
  111. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  112. package/lib-commonjs/components/LargeTitle/index.js +1 -1
  113. package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
  114. package/lib-commonjs/components/Subtitle1/Subtitle1.js +41 -0
  115. package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -0
  116. package/lib-commonjs/components/Subtitle1/index.js +10 -0
  117. package/lib-commonjs/components/Subtitle1/index.js.map +1 -0
  118. package/lib-commonjs/components/Subtitle2/Subtitle2.js +41 -0
  119. package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -0
  120. package/lib-commonjs/components/Subtitle2/index.js +10 -0
  121. package/lib-commonjs/components/Subtitle2/index.js.map +1 -0
  122. package/lib-commonjs/components/Text/Text.js +8 -8
  123. package/lib-commonjs/components/Text/Text.js.map +1 -1
  124. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  125. package/lib-commonjs/components/Text/index.js +1 -1
  126. package/lib-commonjs/components/Text/index.js.map +1 -1
  127. package/lib-commonjs/components/Text/renderText.js +11 -12
  128. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  129. package/lib-commonjs/components/Text/useText.js +31 -31
  130. package/lib-commonjs/components/Text/useText.js.map +1 -1
  131. package/lib-commonjs/components/Text/useTextStyles.js +21 -14
  132. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  133. package/lib-commonjs/components/Title1/Title1.js +20 -9
  134. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  135. package/lib-commonjs/components/Title1/index.js +1 -1
  136. package/lib-commonjs/components/Title1/index.js.map +1 -1
  137. package/lib-commonjs/components/Title2/Title2.js +20 -9
  138. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  139. package/lib-commonjs/components/Title2/index.js +1 -1
  140. package/lib-commonjs/components/Title2/index.js.map +1 -1
  141. package/lib-commonjs/components/Title3/Title3.js +20 -9
  142. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  143. package/lib-commonjs/components/Title3/index.js +1 -1
  144. package/lib-commonjs/components/Title3/index.js.map +1 -1
  145. package/lib-commonjs/components/wrapper.js +14 -11
  146. package/lib-commonjs/components/wrapper.js.map +1 -1
  147. package/lib-commonjs/index.js +173 -11
  148. package/lib-commonjs/index.js.map +1 -1
  149. package/package.json +18 -22
  150. package/dist/react-text.d.ts +0 -163
  151. package/lib/Body.d.ts +0 -1
  152. package/lib/Body.js +0 -2
  153. package/lib/Body.js.map +0 -1
  154. package/lib/Caption.d.ts +0 -1
  155. package/lib/Caption.js +0 -2
  156. package/lib/Caption.js.map +0 -1
  157. package/lib/Display.d.ts +0 -1
  158. package/lib/Headline.d.ts +0 -1
  159. package/lib/Headline.js +0 -2
  160. package/lib/Headline.js.map +0 -1
  161. package/lib/LargeTitle.d.ts +0 -1
  162. package/lib/Subheadline.d.ts +0 -1
  163. package/lib/Subheadline.js +0 -2
  164. package/lib/Subheadline.js.map +0 -1
  165. package/lib/Text.d.ts +0 -1
  166. package/lib/Title1.d.ts +0 -1
  167. package/lib/Title2.d.ts +0 -1
  168. package/lib/Title3.d.ts +0 -1
  169. package/lib/common/isConformant.d.ts +0 -4
  170. package/lib/common/isConformant.js +0 -16
  171. package/lib/common/isConformant.js.map +0 -1
  172. package/lib/components/Body/Body.d.ts +0 -6
  173. package/lib/components/Body/Body.js +0 -27
  174. package/lib/components/Body/Body.js.map +0 -1
  175. package/lib/components/Body/index.d.ts +0 -1
  176. package/lib/components/Body/index.js +0 -2
  177. package/lib/components/Body/index.js.map +0 -1
  178. package/lib/components/Caption/Caption.d.ts +0 -6
  179. package/lib/components/Caption/Caption.js +0 -27
  180. package/lib/components/Caption/Caption.js.map +0 -1
  181. package/lib/components/Caption/index.d.ts +0 -1
  182. package/lib/components/Caption/index.js +0 -2
  183. package/lib/components/Caption/index.js.map +0 -1
  184. package/lib/components/Display/Display.d.ts +0 -6
  185. package/lib/components/Display/index.d.ts +0 -1
  186. package/lib/components/Headline/Headline.d.ts +0 -6
  187. package/lib/components/Headline/Headline.js +0 -27
  188. package/lib/components/Headline/Headline.js.map +0 -1
  189. package/lib/components/Headline/index.d.ts +0 -1
  190. package/lib/components/Headline/index.js +0 -2
  191. package/lib/components/Headline/index.js.map +0 -1
  192. package/lib/components/LargeTitle/LargeTitle.d.ts +0 -6
  193. package/lib/components/LargeTitle/index.d.ts +0 -1
  194. package/lib/components/Subheadline/Subheadline.d.ts +0 -6
  195. package/lib/components/Subheadline/Subheadline.js +0 -27
  196. package/lib/components/Subheadline/Subheadline.js.map +0 -1
  197. package/lib/components/Subheadline/index.d.ts +0 -1
  198. package/lib/components/Subheadline/index.js +0 -2
  199. package/lib/components/Subheadline/index.js.map +0 -1
  200. package/lib/components/Text/Text.d.ts +0 -6
  201. package/lib/components/Text/Text.types.d.ts +0 -77
  202. package/lib/components/Text/index.d.ts +0 -5
  203. package/lib/components/Text/renderText.d.ts +0 -5
  204. package/lib/components/Text/useText.d.ts +0 -12
  205. package/lib/components/Text/useTextStyles.d.ts +0 -5
  206. package/lib/components/Title1/Title1.d.ts +0 -6
  207. package/lib/components/Title1/index.d.ts +0 -1
  208. package/lib/components/Title2/Title2.d.ts +0 -6
  209. package/lib/components/Title2/index.d.ts +0 -1
  210. package/lib/components/Title3/Title3.d.ts +0 -6
  211. package/lib/components/Title3/index.d.ts +0 -1
  212. package/lib/components/wrapper.d.ts +0 -7
  213. package/lib/index.d.ts +0 -10
  214. package/lib/typographyStyles/index.d.ts +0 -2
  215. package/lib/typographyStyles/index.js +0 -3
  216. package/lib/typographyStyles/index.js.map +0 -1
  217. package/lib/typographyStyles/typographyStyles.d.ts +0 -14
  218. package/lib/typographyStyles/typographyStyles.js +0 -76
  219. package/lib/typographyStyles/typographyStyles.js.map +0 -1
  220. package/lib-commonjs/Body.d.ts +0 -1
  221. package/lib-commonjs/Body.js +0 -10
  222. package/lib-commonjs/Body.js.map +0 -1
  223. package/lib-commonjs/Caption.d.ts +0 -1
  224. package/lib-commonjs/Caption.js +0 -10
  225. package/lib-commonjs/Caption.js.map +0 -1
  226. package/lib-commonjs/Display.d.ts +0 -1
  227. package/lib-commonjs/Headline.d.ts +0 -1
  228. package/lib-commonjs/Headline.js +0 -10
  229. package/lib-commonjs/Headline.js.map +0 -1
  230. package/lib-commonjs/LargeTitle.d.ts +0 -1
  231. package/lib-commonjs/Subheadline.d.ts +0 -1
  232. package/lib-commonjs/Subheadline.js +0 -10
  233. package/lib-commonjs/Subheadline.js.map +0 -1
  234. package/lib-commonjs/Text.d.ts +0 -1
  235. package/lib-commonjs/Title1.d.ts +0 -1
  236. package/lib-commonjs/Title2.d.ts +0 -1
  237. package/lib-commonjs/Title3.d.ts +0 -1
  238. package/lib-commonjs/common/isConformant.d.ts +0 -4
  239. package/lib-commonjs/common/isConformant.js +0 -27
  240. package/lib-commonjs/common/isConformant.js.map +0 -1
  241. package/lib-commonjs/components/Body/Body.d.ts +0 -6
  242. package/lib-commonjs/components/Body/Body.js +0 -30
  243. package/lib-commonjs/components/Body/Body.js.map +0 -1
  244. package/lib-commonjs/components/Body/index.d.ts +0 -1
  245. package/lib-commonjs/components/Body/index.js +0 -10
  246. package/lib-commonjs/components/Body/index.js.map +0 -1
  247. package/lib-commonjs/components/Caption/Caption.d.ts +0 -6
  248. package/lib-commonjs/components/Caption/Caption.js +0 -30
  249. package/lib-commonjs/components/Caption/Caption.js.map +0 -1
  250. package/lib-commonjs/components/Caption/index.d.ts +0 -1
  251. package/lib-commonjs/components/Caption/index.js +0 -10
  252. package/lib-commonjs/components/Caption/index.js.map +0 -1
  253. package/lib-commonjs/components/Display/Display.d.ts +0 -6
  254. package/lib-commonjs/components/Display/index.d.ts +0 -1
  255. package/lib-commonjs/components/Headline/Headline.d.ts +0 -6
  256. package/lib-commonjs/components/Headline/Headline.js +0 -30
  257. package/lib-commonjs/components/Headline/Headline.js.map +0 -1
  258. package/lib-commonjs/components/Headline/index.d.ts +0 -1
  259. package/lib-commonjs/components/Headline/index.js +0 -10
  260. package/lib-commonjs/components/Headline/index.js.map +0 -1
  261. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +0 -6
  262. package/lib-commonjs/components/LargeTitle/index.d.ts +0 -1
  263. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +0 -6
  264. package/lib-commonjs/components/Subheadline/Subheadline.js +0 -30
  265. package/lib-commonjs/components/Subheadline/Subheadline.js.map +0 -1
  266. package/lib-commonjs/components/Subheadline/index.d.ts +0 -1
  267. package/lib-commonjs/components/Subheadline/index.js +0 -10
  268. package/lib-commonjs/components/Subheadline/index.js.map +0 -1
  269. package/lib-commonjs/components/Text/Text.d.ts +0 -6
  270. package/lib-commonjs/components/Text/Text.types.d.ts +0 -77
  271. package/lib-commonjs/components/Text/index.d.ts +0 -5
  272. package/lib-commonjs/components/Text/renderText.d.ts +0 -5
  273. package/lib-commonjs/components/Text/useText.d.ts +0 -12
  274. package/lib-commonjs/components/Text/useTextStyles.d.ts +0 -5
  275. package/lib-commonjs/components/Title1/Title1.d.ts +0 -6
  276. package/lib-commonjs/components/Title1/index.d.ts +0 -1
  277. package/lib-commonjs/components/Title2/Title2.d.ts +0 -6
  278. package/lib-commonjs/components/Title2/index.d.ts +0 -1
  279. package/lib-commonjs/components/Title3/Title3.d.ts +0 -6
  280. package/lib-commonjs/components/Title3/index.d.ts +0 -1
  281. package/lib-commonjs/components/wrapper.d.ts +0 -7
  282. package/lib-commonjs/index.d.ts +0 -10
  283. package/lib-commonjs/typographyStyles/index.d.ts +0 -2
  284. package/lib-commonjs/typographyStyles/index.js +0 -11
  285. package/lib-commonjs/typographyStyles/index.js.map +0 -1
  286. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +0 -14
  287. package/lib-commonjs/typographyStyles/typographyStyles.js +0 -109
  288. package/lib-commonjs/typographyStyles/typographyStyles.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Text.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["Text.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Text/index';\n"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./components/Title1/index"), exports);
10
10
  //# sourceMappingURL=Title1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title1.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["Title1.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Title1/index';\n"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./components/Title2/index"), exports);
10
10
  //# sourceMappingURL=Title2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title2.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["Title2.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Title2/index';\n"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./components/Title3/index"), exports);
10
10
  //# sourceMappingURL=Title3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Title3.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["Title3.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Title3/index';\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Body1 = exports.body1ClassNames = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
+
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.body1ClassNames = {
15
+ root: 'fui-Body1'
16
+ };
17
+ /**
18
+ * Styles for the root slot
19
+ */
20
+
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "fkhj508",
25
+ "Bhrd7zp": "figsok6",
26
+ "Bg96gwp": "f1i3iumi"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
30
+ });
31
+ /**
32
+ * Text wrapper component for the Body1 typography variant
33
+ */
34
+
35
+
36
+ exports.Body1 = /*#__PURE__*/wrapper_1.createWrapper({
37
+ useStyles,
38
+ className: exports.body1ClassNames.root,
39
+ displayName: 'Body1'
40
+ });
41
+ //# sourceMappingURL=Body1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Body1/Body1.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,eAAA,GAA6C;AACxD,EAAA,IAAI,EAAE;AADkD,CAA7C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,KAAA,gBAA6C,SAAA,CAAA,aAAA,CAAc;AACtE,EAAA,SADsE;AAEtE,EAAA,SAAS,EAAE,OAAA,CAAA,eAAA,CAAgB,IAF2C;AAGtE,EAAA,WAAW,EAAE;AAHyD,CAAd,CAA7C","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"],"sourceRoot":"../src/"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./Body1"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Body1/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,SAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Body1';\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Caption1 = exports.caption1ClassNames = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
+
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.caption1ClassNames = {
15
+ root: 'fui-Caption1'
16
+ };
17
+ /**
18
+ * Styles for the root slot
19
+ */
20
+
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "fy9rknc",
25
+ "Bhrd7zp": "figsok6",
26
+ "Bg96gwp": "fwrc4pm"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
30
+ });
31
+ /**
32
+ * Text wrapper component for the Caption1 typography variant
33
+ */
34
+
35
+
36
+ exports.Caption1 = /*#__PURE__*/wrapper_1.createWrapper({
37
+ useStyles,
38
+ className: exports.caption1ClassNames.root,
39
+ displayName: 'Caption1'
40
+ });
41
+ //# sourceMappingURL=Caption1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Caption1/Caption1.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,kBAAA,GAAgD;AAC3D,EAAA,IAAI,EAAE;AADqD,CAAhD;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,QAAA,gBAAgD,SAAA,CAAA,aAAA,CAAc;AACzE,EAAA,SADyE;AAEzE,EAAA,SAAS,EAAE,OAAA,CAAA,kBAAA,CAAmB,IAF2C;AAGzE,EAAA,WAAW,EAAE;AAH4D,CAAd,CAAhD","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"],"sourceRoot":"../src/"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./Caption1"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Caption1/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Caption1';\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Caption2 = exports.caption2ClassNames = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
+
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.caption2ClassNames = {
15
+ root: 'fui-Caption2'
16
+ };
17
+ /**
18
+ * Styles for the root slot
19
+ */
20
+
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "f13mqy1h",
25
+ "Bhrd7zp": "figsok6",
26
+ "Bg96gwp": "fcpl73t"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
30
+ });
31
+ /**
32
+ * Text wrapper component for the Caption2 typography variant
33
+ */
34
+
35
+
36
+ exports.Caption2 = /*#__PURE__*/wrapper_1.createWrapper({
37
+ useStyles,
38
+ className: exports.caption2ClassNames.root,
39
+ displayName: 'Caption2'
40
+ });
41
+ //# sourceMappingURL=Caption2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Caption2/Caption2.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,kBAAA,GAAgD;AAC3D,EAAA,IAAI,EAAE;AADqD,CAAhD;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,QAAA,gBAAgD,SAAA,CAAA,aAAA,CAAc;AACzE,EAAA,SADyE;AAEzE,EAAA,SAAS,EAAE,OAAA,CAAA,kBAAA,CAAmB,IAF2C;AAGzE,EAAA,WAAW,EAAE;AAH4D,CAAd,CAAhD","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"],"sourceRoot":"../src/"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./Caption2"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Caption2/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Caption2';\n"],"sourceRoot":"../src/"}
@@ -3,28 +3,39 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Display = void 0;
6
+ exports.Display = exports.displayClassNames = void 0;
7
7
 
8
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
- var index_1 = /*#__PURE__*/require("../../typographyStyles/index");
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
11
 
12
- var wrapper_1 = /*#__PURE__*/require("../wrapper");
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.displayClassNames = {
15
+ root: 'fui-Display'
16
+ };
13
17
  /**
14
18
  * Styles for the root slot
15
19
  */
16
20
 
17
-
18
- var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
19
- "root": {}
20
- }, {});
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "fpyltcb",
25
+ "Bhrd7zp": "fl43uef",
26
+ "Bg96gwp": "f1ivgwrt"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}"]
30
+ });
21
31
  /**
22
32
  * Text wrapper component for the Display typography variant
23
33
  */
24
34
 
25
35
 
26
36
  exports.Display = /*#__PURE__*/wrapper_1.createWrapper({
27
- useStyles: useStyles,
37
+ useStyles,
38
+ className: exports.displayClassNames.root,
28
39
  displayName: 'Display'
29
40
  });
30
41
  //# sourceMappingURL=Display.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Display/Display.tsx"],"names":[],"mappings":";;;;;;;AACA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,8BAAA,CAAA;;AACA,IAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;AAEA;;AAEG;;;AACH,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA,MAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,OAAA,gBAA+C,SAAA,CAAA,aAAA,CAAc;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAd,CAA/C","sourceRoot":""}
1
+ {"version":3,"sources":["components/Display/Display.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,iBAAA,GAA+C;AAC1D,EAAA,IAAI,EAAE;AADoD,CAA/C;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,OAAA,gBAA+C,SAAA,CAAA,aAAA,CAAc;AACxE,EAAA,SADwE;AAExE,EAAA,SAAS,EAAE,OAAA,CAAA,iBAAA,CAAkB,IAF2C;AAGxE,EAAA,WAAW,EAAE;AAH2D,CAAd,CAA/C","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"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./Display"), exports);
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Display/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["components/Display/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Display';\n"],"sourceRoot":"../src/"}
@@ -3,28 +3,39 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.LargeTitle = void 0;
6
+ exports.LargeTitle = exports.largeTitleClassNames = void 0;
7
7
 
8
- var react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
- var index_1 = /*#__PURE__*/require("../../typographyStyles/index");
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
11
 
12
- var wrapper_1 = /*#__PURE__*/require("../wrapper");
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.largeTitleClassNames = {
15
+ root: 'fui-LargeTitle'
16
+ };
13
17
  /**
14
18
  * Styles for the root slot
15
19
  */
16
20
 
17
-
18
- var useStyles = /*#__PURE__*/react_make_styles_1.__styles({
19
- "root": {}
20
- }, {});
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "f15afnhw",
25
+ "Bhrd7zp": "fl43uef",
26
+ "Bg96gwp": "fr3w3wp"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}"]
30
+ });
21
31
  /**
22
32
  * Text wrapper component for the Large Title typography variant
23
33
  */
24
34
 
25
35
 
26
36
  exports.LargeTitle = /*#__PURE__*/wrapper_1.createWrapper({
27
- useStyles: useStyles,
37
+ useStyles,
38
+ className: exports.largeTitleClassNames.root,
28
39
  displayName: 'LargeTitle'
29
40
  });
30
41
  //# sourceMappingURL=LargeTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/LargeTitle/LargeTitle.tsx"],"names":[],"mappings":";;;;;;;AACA,IAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,IAAA,OAAA,gBAAA,OAAA,CAAA,8BAAA,CAAA;;AACA,IAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;AAEA;;AAEG;;;AACH,IAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA,MAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,UAAA,gBAAkD,SAAA,CAAA,aAAA,CAAc;AAC3E,EAAA,SAAS,EAAA,SADkE;AAE3E,EAAA,WAAW,EAAE;AAF8D,CAAd,CAAlD","sourceRoot":""}
1
+ {"version":3,"sources":["components/LargeTitle/LargeTitle.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,oBAAA,GAAkD;AAC7D,EAAA,IAAI,EAAE;AADuD,CAAlD;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,UAAA,gBAAkD,SAAA,CAAA,aAAA,CAAc;AAC3E,EAAA,SAD2E;AAE3E,EAAA,SAAS,EAAE,OAAA,CAAA,oBAAA,CAAqB,IAF2C;AAG3E,EAAA,WAAW,EAAE;AAH8D,CAAd,CAAlD","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"],"sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./LargeTitle"), exports);
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/LargeTitle/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["components/LargeTitle/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './LargeTitle';\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Subtitle1 = exports.subtitle1ClassNames = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
+
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.subtitle1ClassNames = {
15
+ root: 'fui-Subtitle1'
16
+ };
17
+ /**
18
+ * Styles for the root slot
19
+ */
20
+
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "f1pp30po",
25
+ "Bhrd7zp": "fl43uef",
26
+ "Bg96gwp": "f106mvju"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f106mvju{line-height:var(--lineHeightBase500);}"]
30
+ });
31
+ /**
32
+ * Text wrapper component for the Subtitle1 typography variant
33
+ */
34
+
35
+
36
+ exports.Subtitle1 = /*#__PURE__*/wrapper_1.createWrapper({
37
+ useStyles,
38
+ className: exports.subtitle1ClassNames.root,
39
+ displayName: 'Subtitle1'
40
+ });
41
+ //# sourceMappingURL=Subtitle1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Subtitle1/Subtitle1.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,mBAAA,GAAiD;AAC5D,EAAA,IAAI,EAAE;AADsD,CAAjD;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,SAAA,gBAAiD,SAAA,CAAA,aAAA,CAAc;AAC1E,EAAA,SAD0E;AAE1E,EAAA,SAAS,EAAE,OAAA,CAAA,mBAAA,CAAoB,IAF2C;AAG1E,EAAA,WAAW,EAAE;AAH6D,CAAd,CAAjD","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"],"sourceRoot":"../src/"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./Subtitle1"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Subtitle1/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,aAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Subtitle1';\n"],"sourceRoot":"../src/"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Subtitle2 = exports.subtitle2ClassNames = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
+
10
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
11
+
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
13
+
14
+ exports.subtitle2ClassNames = {
15
+ root: 'fui-Subtitle2'
16
+ };
17
+ /**
18
+ * Styles for the root slot
19
+ */
20
+
21
+ const useStyles = /*#__PURE__*/react_1.__styles({
22
+ "root": {
23
+ "Bahqtrf": "fk6fouc",
24
+ "Be2twd7": "fod5ikn",
25
+ "Bhrd7zp": "fl43uef",
26
+ "Bg96gwp": "faaz57k"
27
+ }
28
+ }, {
29
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
30
+ });
31
+ /**
32
+ * Text wrapper component for the Subtitle2 typography variant
33
+ */
34
+
35
+
36
+ exports.Subtitle2 = /*#__PURE__*/wrapper_1.createWrapper({
37
+ useStyles,
38
+ className: exports.subtitle2ClassNames.root,
39
+ displayName: 'Subtitle2'
40
+ });
41
+ //# sourceMappingURL=Subtitle2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Subtitle2/Subtitle2.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAGA,MAAA,aAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAEa,OAAA,CAAA,mBAAA,GAAiD;AAC5D,EAAA,IAAI,EAAE;AADsD,CAAjD;AAIb;;AAEG;;AACH,MAAM,SAAS,gBAAG,OAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,SAAA,gBAAiD,SAAA,CAAA,aAAA,CAAc;AAC1E,EAAA,SAD0E;AAE1E,EAAA,SAAS,EAAE,OAAA,CAAA,mBAAA,CAAoB,IAF2C;AAG1E,EAAA,WAAW,EAAE;AAH6D,CAAd,CAAjD","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"],"sourceRoot":"../src/"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
+
9
+ tslib_1.__exportStar(require("./Subtitle2"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Subtitle2/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,aAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Subtitle2';\n"],"sourceRoot":"../src/"}
@@ -5,22 +5,22 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.Text = void 0;
7
7
 
8
- var React = /*#__PURE__*/require("react");
8
+ const React = /*#__PURE__*/require("react");
9
9
 
10
- var useText_1 = /*#__PURE__*/require("./useText");
10
+ const useText_1 = /*#__PURE__*/require("./useText");
11
11
 
12
- var renderText_1 = /*#__PURE__*/require("./renderText");
12
+ const renderText_1 = /*#__PURE__*/require("./renderText");
13
13
 
14
- var useTextStyles_1 = /*#__PURE__*/require("./useTextStyles");
14
+ const useTextStyles_1 = /*#__PURE__*/require("./useTextStyles");
15
15
  /**
16
16
  * Typography and styling abstraction component used to ensure consistency of text.
17
17
  */
18
18
 
19
19
 
20
- exports.Text = /*#__PURE__*/React.forwardRef(function (props, ref) {
21
- var state = useText_1.useText(props, ref);
22
- useTextStyles_1.useTextStyles(state);
23
- return renderText_1.renderText(state); // Work around some small mismatches in inferred types which don't matter in practice
20
+ exports.Text = /*#__PURE__*/React.forwardRef((props, ref) => {
21
+ const state = useText_1.useText_unstable(props, ref);
22
+ useTextStyles_1.useTextStyles_unstable(state);
23
+ return renderText_1.renderText_unstable(state); // Work around some small mismatches in inferred types which don't matter in practice
24
24
  });
25
25
  exports.Text.displayName = 'Text';
26
26
  //# sourceMappingURL=Text.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,SAAA,gBAAA,OAAA,CAAA,WAAA,CAAA;;AACA,IAAA,YAAA,gBAAA,OAAA,CAAA,cAAA,CAAA;;AACA,IAAA,eAAA,gBAAA,OAAA,CAAA,iBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,IAAA,gBAAuC,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAC9E,MAAM,KAAK,GAAG,SAAA,CAAA,OAAA,CAAQ,KAAR,EAAe,GAAf,CAAd;AAEA,EAAA,eAAA,CAAA,aAAA,CAAc,KAAd;AAEA,SAAO,YAAA,CAAA,UAAA,CAAW,KAAX,CAAP,CAL8E,CAM9E;AACD,CAPmD,CAAvC;AASb,OAAA,CAAA,IAAA,CAAK,WAAL,GAAmB,MAAnB","sourceRoot":""}
1
+ {"version":3,"sources":["components/Text/Text.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,WAAA,CAAA;;AACA,MAAA,YAAA,gBAAA,OAAA,CAAA,cAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,iBAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,IAAA,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AAClF,QAAM,KAAK,GAAG,SAAA,CAAA,gBAAA,CAAiB,KAAjB,EAAwB,GAAxB,CAAd;AAEA,EAAA,eAAA,CAAA,sBAAA,CAAuB,KAAvB;AAEA,SAAO,YAAA,CAAA,mBAAA,CAAoB,KAApB,CAAP,CALkF,CAMlF;AACD,CAPmD,CAAvC;AASb,OAAA,CAAA,IAAA,CAAK,WAAL,GAAmB,MAAnB","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';\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 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"],"sourceRoot":"../src/"}
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"../src/"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
 
7
- var tslib_1 = /*#__PURE__*/require("tslib");
7
+ const tslib_1 = /*#__PURE__*/require("tslib");
8
8
 
9
9
  tslib_1.__exportStar(require("./Text"), exports);
10
10
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
1
+ {"version":3,"sources":["components/Text/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n"],"sourceRoot":"../src/"}
@@ -3,25 +3,24 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderText = void 0;
6
+ exports.renderText_unstable = void 0;
7
7
 
8
- var tslib_1 = /*#__PURE__*/require("tslib");
8
+ const React = /*#__PURE__*/require("react");
9
9
 
10
- var React = /*#__PURE__*/require("react");
11
-
12
- var react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
10
+ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
13
11
  /**
14
12
  * Render the final JSX of Text
15
13
  */
16
14
 
17
15
 
18
- var renderText = function (state) {
19
- var _a = react_utilities_1.getSlots(state),
20
- slots = _a.slots,
21
- slotProps = _a.slotProps;
22
-
23
- return React.createElement(slots.root, tslib_1.__assign({}, slotProps.root));
16
+ const renderText_unstable = state => {
17
+ const {
18
+ slots,
19
+ slotProps
20
+ } = react_utilities_1.getSlots(state);
21
+ return React.createElement(slots.root, { ...slotProps.root
22
+ });
24
23
  };
25
24
 
26
- exports.renderText = renderText;
25
+ exports.renderText_unstable = renderText_unstable;
27
26
  //# sourceMappingURL=renderText.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/renderText.tsx"],"names":[],"mappings":";;;;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,IAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,IAAM,UAAU,GAAG,UAAC,KAAD,EAAiB;AACnC,MAAA,EAAA,GAAuB,iBAAA,CAAA,QAAA,CAAoB,KAApB,CAAvB;AAAA,MAAE,KAAK,GAAA,EAAA,CAAA,KAAP;AAAA,MAAS,SAAS,GAAA,EAAA,CAAA,SAAlB;;AAEN,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,OAAA,CAAA,QAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,UAAA,GAAU,UAAV","sourceRoot":""}
1
+ {"version":3,"sources":["components/Text/renderText.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,mBAAmB,GAAI,KAAD,IAAqB;AACtD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAoB,KAApB,CAA7B;AAEA,SAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM;;AAAM,OAAA,CAAA,mBAAA,GAAmB,mBAAnB","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n const { slots, slotProps } = getSlots<TextSlots>(state);\n\n return <slots.root {...slotProps.root} />;\n};\n"],"sourceRoot":"../src/"}