@fluentui/react-text 0.0.0-nightly0025eeb82020211108.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 (244) hide show
  1. package/CHANGELOG.json +1283 -0
  2. package/CHANGELOG.md +472 -0
  3. package/LICENSE +15 -0
  4. package/MIGRATION.md +680 -0
  5. package/README.md +99 -0
  6. package/Spec.md +162 -0
  7. package/assets/typography-examples.gif +0 -0
  8. package/dist/react-text.d.ts +183 -0
  9. package/lib/Body.d.ts +1 -0
  10. package/lib/Body.js +2 -0
  11. package/lib/Body.js.map +1 -0
  12. package/lib/Caption.d.ts +1 -0
  13. package/lib/Caption.js +2 -0
  14. package/lib/Caption.js.map +1 -0
  15. package/lib/Display.d.ts +1 -0
  16. package/lib/Display.js +2 -0
  17. package/lib/Display.js.map +1 -0
  18. package/lib/Headline.d.ts +1 -0
  19. package/lib/Headline.js +2 -0
  20. package/lib/Headline.js.map +1 -0
  21. package/lib/LargeTitle.d.ts +1 -0
  22. package/lib/LargeTitle.js +2 -0
  23. package/lib/LargeTitle.js.map +1 -0
  24. package/lib/Subheadline.d.ts +1 -0
  25. package/lib/Subheadline.js +2 -0
  26. package/lib/Subheadline.js.map +1 -0
  27. package/lib/Text.d.ts +1 -0
  28. package/lib/Text.js +2 -0
  29. package/lib/Text.js.map +1 -0
  30. package/lib/Title1.d.ts +1 -0
  31. package/lib/Title1.js +2 -0
  32. package/lib/Title1.js.map +1 -0
  33. package/lib/Title2.d.ts +1 -0
  34. package/lib/Title2.js +2 -0
  35. package/lib/Title2.js.map +1 -0
  36. package/lib/Title3.d.ts +1 -0
  37. package/lib/Title3.js +2 -0
  38. package/lib/Title3.js.map +1 -0
  39. package/lib/common/isConformant.d.ts +4 -0
  40. package/lib/common/isConformant.js +16 -0
  41. package/lib/common/isConformant.js.map +1 -0
  42. package/lib/components/Body/Body.d.ts +7 -0
  43. package/lib/components/Body/Body.js +29 -0
  44. package/lib/components/Body/Body.js.map +1 -0
  45. package/lib/components/Body/index.d.ts +1 -0
  46. package/lib/components/Body/index.js +2 -0
  47. package/lib/components/Body/index.js.map +1 -0
  48. package/lib/components/Caption/Caption.d.ts +7 -0
  49. package/lib/components/Caption/Caption.js +29 -0
  50. package/lib/components/Caption/Caption.js.map +1 -0
  51. package/lib/components/Caption/index.d.ts +1 -0
  52. package/lib/components/Caption/index.js +2 -0
  53. package/lib/components/Caption/index.js.map +1 -0
  54. package/lib/components/Display/Display.d.ts +7 -0
  55. package/lib/components/Display/Display.js +29 -0
  56. package/lib/components/Display/Display.js.map +1 -0
  57. package/lib/components/Display/index.d.ts +1 -0
  58. package/lib/components/Display/index.js +2 -0
  59. package/lib/components/Display/index.js.map +1 -0
  60. package/lib/components/Headline/Headline.d.ts +7 -0
  61. package/lib/components/Headline/Headline.js +29 -0
  62. package/lib/components/Headline/Headline.js.map +1 -0
  63. package/lib/components/Headline/index.d.ts +1 -0
  64. package/lib/components/Headline/index.js +2 -0
  65. package/lib/components/Headline/index.js.map +1 -0
  66. package/lib/components/LargeTitle/LargeTitle.d.ts +7 -0
  67. package/lib/components/LargeTitle/LargeTitle.js +29 -0
  68. package/lib/components/LargeTitle/LargeTitle.js.map +1 -0
  69. package/lib/components/LargeTitle/index.d.ts +1 -0
  70. package/lib/components/LargeTitle/index.js +2 -0
  71. package/lib/components/LargeTitle/index.js.map +1 -0
  72. package/lib/components/Subheadline/Subheadline.d.ts +7 -0
  73. package/lib/components/Subheadline/Subheadline.js +29 -0
  74. package/lib/components/Subheadline/Subheadline.js.map +1 -0
  75. package/lib/components/Subheadline/index.d.ts +1 -0
  76. package/lib/components/Subheadline/index.js +2 -0
  77. package/lib/components/Subheadline/index.js.map +1 -0
  78. package/lib/components/Text/Text.d.ts +6 -0
  79. package/lib/components/Text/Text.js +15 -0
  80. package/lib/components/Text/Text.js.map +1 -0
  81. package/lib/components/Text/Text.types.d.ts +77 -0
  82. package/lib/components/Text/Text.types.js +2 -0
  83. package/lib/components/Text/Text.types.js.map +1 -0
  84. package/lib/components/Text/index.d.ts +5 -0
  85. package/lib/components/Text/index.js +6 -0
  86. package/lib/components/Text/index.js.map +1 -0
  87. package/lib/components/Text/renderText.d.ts +5 -0
  88. package/lib/components/Text/renderText.js +14 -0
  89. package/lib/components/Text/renderText.js.map +1 -0
  90. package/lib/components/Text/useText.d.ts +12 -0
  91. package/lib/components/Text/useText.js +50 -0
  92. package/lib/components/Text/useText.js.map +1 -0
  93. package/lib/components/Text/useTextStyles.d.ts +6 -0
  94. package/lib/components/Text/useTextStyles.js +111 -0
  95. package/lib/components/Text/useTextStyles.js.map +1 -0
  96. package/lib/components/Title1/Title1.d.ts +7 -0
  97. package/lib/components/Title1/Title1.js +29 -0
  98. package/lib/components/Title1/Title1.js.map +1 -0
  99. package/lib/components/Title1/index.d.ts +1 -0
  100. package/lib/components/Title1/index.js +2 -0
  101. package/lib/components/Title1/index.js.map +1 -0
  102. package/lib/components/Title2/Title2.d.ts +7 -0
  103. package/lib/components/Title2/Title2.js +29 -0
  104. package/lib/components/Title2/Title2.js.map +1 -0
  105. package/lib/components/Title2/index.d.ts +1 -0
  106. package/lib/components/Title2/index.js +2 -0
  107. package/lib/components/Title2/index.js.map +1 -0
  108. package/lib/components/Title3/Title3.d.ts +7 -0
  109. package/lib/components/Title3/Title3.js +29 -0
  110. package/lib/components/Title3/Title3.js.map +1 -0
  111. package/lib/components/Title3/index.d.ts +1 -0
  112. package/lib/components/Title3/index.js +2 -0
  113. package/lib/components/Title3/index.js.map +1 -0
  114. package/lib/components/wrapper.d.ts +8 -0
  115. package/lib/components/wrapper.js +20 -0
  116. package/lib/components/wrapper.js.map +1 -0
  117. package/lib/index.d.ts +10 -0
  118. package/lib/index.js +11 -0
  119. package/lib/index.js.map +1 -0
  120. package/lib/tsdoc-metadata.json +11 -0
  121. package/lib/typographyStyles/index.d.ts +2 -0
  122. package/lib/typographyStyles/index.js +3 -0
  123. package/lib/typographyStyles/index.js.map +1 -0
  124. package/lib/typographyStyles/typographyStyles.d.ts +14 -0
  125. package/lib/typographyStyles/typographyStyles.js +58 -0
  126. package/lib/typographyStyles/typographyStyles.js.map +1 -0
  127. package/lib-commonjs/Body.d.ts +1 -0
  128. package/lib-commonjs/Body.js +10 -0
  129. package/lib-commonjs/Body.js.map +1 -0
  130. package/lib-commonjs/Caption.d.ts +1 -0
  131. package/lib-commonjs/Caption.js +10 -0
  132. package/lib-commonjs/Caption.js.map +1 -0
  133. package/lib-commonjs/Display.d.ts +1 -0
  134. package/lib-commonjs/Display.js +10 -0
  135. package/lib-commonjs/Display.js.map +1 -0
  136. package/lib-commonjs/Headline.d.ts +1 -0
  137. package/lib-commonjs/Headline.js +10 -0
  138. package/lib-commonjs/Headline.js.map +1 -0
  139. package/lib-commonjs/LargeTitle.d.ts +1 -0
  140. package/lib-commonjs/LargeTitle.js +10 -0
  141. package/lib-commonjs/LargeTitle.js.map +1 -0
  142. package/lib-commonjs/Subheadline.d.ts +1 -0
  143. package/lib-commonjs/Subheadline.js +10 -0
  144. package/lib-commonjs/Subheadline.js.map +1 -0
  145. package/lib-commonjs/Text.d.ts +1 -0
  146. package/lib-commonjs/Text.js +10 -0
  147. package/lib-commonjs/Text.js.map +1 -0
  148. package/lib-commonjs/Title1.d.ts +1 -0
  149. package/lib-commonjs/Title1.js +10 -0
  150. package/lib-commonjs/Title1.js.map +1 -0
  151. package/lib-commonjs/Title2.d.ts +1 -0
  152. package/lib-commonjs/Title2.js +10 -0
  153. package/lib-commonjs/Title2.js.map +1 -0
  154. package/lib-commonjs/Title3.d.ts +1 -0
  155. package/lib-commonjs/Title3.js +10 -0
  156. package/lib-commonjs/Title3.js.map +1 -0
  157. package/lib-commonjs/common/isConformant.d.ts +4 -0
  158. package/lib-commonjs/common/isConformant.js +27 -0
  159. package/lib-commonjs/common/isConformant.js.map +1 -0
  160. package/lib-commonjs/components/Body/Body.d.ts +7 -0
  161. package/lib-commonjs/components/Body/Body.js +32 -0
  162. package/lib-commonjs/components/Body/Body.js.map +1 -0
  163. package/lib-commonjs/components/Body/index.d.ts +1 -0
  164. package/lib-commonjs/components/Body/index.js +10 -0
  165. package/lib-commonjs/components/Body/index.js.map +1 -0
  166. package/lib-commonjs/components/Caption/Caption.d.ts +7 -0
  167. package/lib-commonjs/components/Caption/Caption.js +32 -0
  168. package/lib-commonjs/components/Caption/Caption.js.map +1 -0
  169. package/lib-commonjs/components/Caption/index.d.ts +1 -0
  170. package/lib-commonjs/components/Caption/index.js +10 -0
  171. package/lib-commonjs/components/Caption/index.js.map +1 -0
  172. package/lib-commonjs/components/Display/Display.d.ts +7 -0
  173. package/lib-commonjs/components/Display/Display.js +32 -0
  174. package/lib-commonjs/components/Display/Display.js.map +1 -0
  175. package/lib-commonjs/components/Display/index.d.ts +1 -0
  176. package/lib-commonjs/components/Display/index.js +10 -0
  177. package/lib-commonjs/components/Display/index.js.map +1 -0
  178. package/lib-commonjs/components/Headline/Headline.d.ts +7 -0
  179. package/lib-commonjs/components/Headline/Headline.js +32 -0
  180. package/lib-commonjs/components/Headline/Headline.js.map +1 -0
  181. package/lib-commonjs/components/Headline/index.d.ts +1 -0
  182. package/lib-commonjs/components/Headline/index.js +10 -0
  183. package/lib-commonjs/components/Headline/index.js.map +1 -0
  184. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +7 -0
  185. package/lib-commonjs/components/LargeTitle/LargeTitle.js +32 -0
  186. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -0
  187. package/lib-commonjs/components/LargeTitle/index.d.ts +1 -0
  188. package/lib-commonjs/components/LargeTitle/index.js +10 -0
  189. package/lib-commonjs/components/LargeTitle/index.js.map +1 -0
  190. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +7 -0
  191. package/lib-commonjs/components/Subheadline/Subheadline.js +32 -0
  192. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -0
  193. package/lib-commonjs/components/Subheadline/index.d.ts +1 -0
  194. package/lib-commonjs/components/Subheadline/index.js +10 -0
  195. package/lib-commonjs/components/Subheadline/index.js.map +1 -0
  196. package/lib-commonjs/components/Text/Text.d.ts +6 -0
  197. package/lib-commonjs/components/Text/Text.js +26 -0
  198. package/lib-commonjs/components/Text/Text.js.map +1 -0
  199. package/lib-commonjs/components/Text/Text.types.d.ts +77 -0
  200. package/lib-commonjs/components/Text/Text.types.js +6 -0
  201. package/lib-commonjs/components/Text/Text.types.js.map +1 -0
  202. package/lib-commonjs/components/Text/index.d.ts +5 -0
  203. package/lib-commonjs/components/Text/index.js +18 -0
  204. package/lib-commonjs/components/Text/index.js.map +1 -0
  205. package/lib-commonjs/components/Text/renderText.d.ts +5 -0
  206. package/lib-commonjs/components/Text/renderText.js +25 -0
  207. package/lib-commonjs/components/Text/renderText.js.map +1 -0
  208. package/lib-commonjs/components/Text/useText.d.ts +12 -0
  209. package/lib-commonjs/components/Text/useText.js +60 -0
  210. package/lib-commonjs/components/Text/useText.js.map +1 -0
  211. package/lib-commonjs/components/Text/useTextStyles.d.ts +6 -0
  212. package/lib-commonjs/components/Text/useTextStyles.js +121 -0
  213. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -0
  214. package/lib-commonjs/components/Title1/Title1.d.ts +7 -0
  215. package/lib-commonjs/components/Title1/Title1.js +32 -0
  216. package/lib-commonjs/components/Title1/Title1.js.map +1 -0
  217. package/lib-commonjs/components/Title1/index.d.ts +1 -0
  218. package/lib-commonjs/components/Title1/index.js +10 -0
  219. package/lib-commonjs/components/Title1/index.js.map +1 -0
  220. package/lib-commonjs/components/Title2/Title2.d.ts +7 -0
  221. package/lib-commonjs/components/Title2/Title2.js +32 -0
  222. package/lib-commonjs/components/Title2/Title2.js.map +1 -0
  223. package/lib-commonjs/components/Title2/index.d.ts +1 -0
  224. package/lib-commonjs/components/Title2/index.js +10 -0
  225. package/lib-commonjs/components/Title2/index.js.map +1 -0
  226. package/lib-commonjs/components/Title3/Title3.d.ts +7 -0
  227. package/lib-commonjs/components/Title3/Title3.js +32 -0
  228. package/lib-commonjs/components/Title3/Title3.js.map +1 -0
  229. package/lib-commonjs/components/Title3/index.d.ts +1 -0
  230. package/lib-commonjs/components/Title3/index.js +10 -0
  231. package/lib-commonjs/components/Title3/index.js.map +1 -0
  232. package/lib-commonjs/components/wrapper.d.ts +8 -0
  233. package/lib-commonjs/components/wrapper.js +32 -0
  234. package/lib-commonjs/components/wrapper.js.map +1 -0
  235. package/lib-commonjs/index.d.ts +10 -0
  236. package/lib-commonjs/index.js +28 -0
  237. package/lib-commonjs/index.js.map +1 -0
  238. package/lib-commonjs/typographyStyles/index.d.ts +2 -0
  239. package/lib-commonjs/typographyStyles/index.js +11 -0
  240. package/lib-commonjs/typographyStyles/index.js.map +1 -0
  241. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +14 -0
  242. package/lib-commonjs/typographyStyles/typographyStyles.js +91 -0
  243. package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -0
  244. package/package.json +64 -0
@@ -0,0 +1,29 @@
1
+ import { __styles } from '@fluentui/react-make-styles';
2
+ import { typographyStyles } from '../../typographyStyles/index';
3
+ import { createWrapper } from '../wrapper';
4
+ export const title1ClassName = 'fui-Title1';
5
+ /**
6
+ * Styles for the root slot
7
+ */
8
+
9
+ const useStyles = /*#__PURE__*/__styles({
10
+ "root": {
11
+ "Bahqtrf": "fk6fouc",
12
+ "Be2twd7": "fccw675",
13
+ "Bg96gwp": "f1ebx5kk",
14
+ "Bhrd7zp": "fl43uef"
15
+ }
16
+ }, {
17
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
18
+ });
19
+ /**
20
+ * Text wrapper component for the Title 1 typography variant
21
+ */
22
+
23
+
24
+ export const Title1 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title1ClassName,
27
+ displayName: 'Title1'
28
+ });
29
+ //# sourceMappingURL=Title1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Title1/Title1.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './Title1';
@@ -0,0 +1,2 @@
1
+ export * from './Title1';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const title2ClassName = "fui-Title2";
4
+ /**
5
+ * Text wrapper component for the Title 2 typography variant
6
+ */
7
+ export declare const Title2: FunctionComponent<TextWrapperProps>;
@@ -0,0 +1,29 @@
1
+ import { __styles } from '@fluentui/react-make-styles';
2
+ import { typographyStyles } from '../../typographyStyles/index';
3
+ import { createWrapper } from '../wrapper';
4
+ export const title2ClassName = 'fui-Title2';
5
+ /**
6
+ * Styles for the root slot
7
+ */
8
+
9
+ const useStyles = /*#__PURE__*/__styles({
10
+ "root": {
11
+ "Bahqtrf": "fk6fouc",
12
+ "Be2twd7": "fojgt09",
13
+ "Bg96gwp": "fcen8rp",
14
+ "Bhrd7zp": "fl43uef"
15
+ }
16
+ }, {
17
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
18
+ });
19
+ /**
20
+ * Text wrapper component for the Title 2 typography variant
21
+ */
22
+
23
+
24
+ export const Title2 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title2ClassName,
27
+ displayName: 'Title2'
28
+ });
29
+ //# sourceMappingURL=Title2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Title2/Title2.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './Title2';
@@ -0,0 +1,2 @@
1
+ export * from './Title2';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const title3ClassName = "fui-Title3";
4
+ /**
5
+ * Text wrapper component for the Title 3 typography variant
6
+ */
7
+ export declare const Title3: FunctionComponent<TextWrapperProps>;
@@ -0,0 +1,29 @@
1
+ import { __styles } from '@fluentui/react-make-styles';
2
+ import { typographyStyles } from '../../typographyStyles/index';
3
+ import { createWrapper } from '../wrapper';
4
+ export const title3ClassName = 'fui-Title3';
5
+ /**
6
+ * Styles for the root slot
7
+ */
8
+
9
+ const useStyles = /*#__PURE__*/__styles({
10
+ "root": {
11
+ "Bahqtrf": "fk6fouc",
12
+ "Be2twd7": "f1x0m3f5",
13
+ "Bg96gwp": "fb86gi6",
14
+ "Bhrd7zp": "fl43uef"
15
+ }
16
+ }, {
17
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
18
+ });
19
+ /**
20
+ * Text wrapper component for the Title 3 typography variant
21
+ */
22
+
23
+
24
+ export const Title3 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title3ClassName,
27
+ displayName: 'Title3'
28
+ });
29
+ //# sourceMappingURL=Title3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Title3/Title3.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './Title3';
@@ -0,0 +1,2 @@
1
+ export * from './Title3';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ import type { TextProps } from '../Text';
3
+ export declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
4
+ export declare function createWrapper(options: {
5
+ className: string;
6
+ displayName: string;
7
+ useStyles: () => Record<'root', string>;
8
+ }): React.FunctionComponent<TextWrapperProps>;
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { mergeClasses } from '@fluentui/react-make-styles';
3
+ import { renderText, useText, useTextStyles } from '../Text';
4
+ export function createWrapper(options) {
5
+ const {
6
+ useStyles,
7
+ className,
8
+ displayName
9
+ } = options;
10
+ const Wrapper = /*#__PURE__*/React.forwardRef((props, ref) => {
11
+ const styles = useStyles();
12
+ const state = useText(props, ref);
13
+ useTextStyles(state);
14
+ state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
15
+ return renderText(state);
16
+ });
17
+ Wrapper.displayName = displayName;
18
+ return Wrapper;
19
+ }
20
+ //# sourceMappingURL=wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,UAAT,EAAqB,OAArB,EAA8B,aAA9B,QAAmD,SAAnD;AAMA,OAAM,SAAU,aAAV,CAAwB,OAAxB,EAIL;AACC,QAAM;AAAE,IAAA,SAAF;AAAa,IAAA,SAAb;AAAwB,IAAA;AAAxB,MAAwC,OAA9C;AACA,QAAM,OAAO,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACrF,UAAM,MAAM,GAAG,SAAS,EAAxB;AACA,UAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAqB,GAArB,CAArB;AAEA,IAAA,aAAa,CAAC,KAAD,CAAb;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,SAAD,EAAY,KAAK,CAAC,IAAN,CAAW,SAAvB,EAAkC,MAAM,CAAC,IAAzC,EAA+C,KAAK,CAAC,SAArD,CAAnC;AAEA,WAAO,UAAU,CAAC,KAAD,CAAjB;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","sourceRoot":""}
package/lib/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ export * from './Text';
2
+ export * from './Display';
3
+ export * from './LargeTitle';
4
+ export * from './Title1';
5
+ export * from './Title2';
6
+ export * from './Title3';
7
+ export * from './Headline';
8
+ export * from './Subheadline';
9
+ export * from './Body';
10
+ export * from './Caption';
package/lib/index.js ADDED
@@ -0,0 +1,11 @@
1
+ export * from './Text';
2
+ export * from './Display';
3
+ export * from './LargeTitle';
4
+ export * from './Title1';
5
+ export * from './Title2';
6
+ export * from './Title3';
7
+ export * from './Headline';
8
+ export * from './Subheadline';
9
+ export * from './Body';
10
+ export * from './Caption';
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.18.1"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,2 @@
1
+ import * as typographyStyles from './typographyStyles';
2
+ export { typographyStyles };
@@ -0,0 +1,3 @@
1
+ import * as typographyStyles from './typographyStyles';
2
+ export { typographyStyles };
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typographyStyles/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { MakeStylesStyleFunctionRule } from '@fluentui/make-styles';
2
+ import type { Theme } from '@fluentui/react-theme';
3
+ /**
4
+ * Make-styles rules for the typography variants
5
+ */
6
+ export declare const caption: MakeStylesStyleFunctionRule<Theme>;
7
+ export declare const body: MakeStylesStyleFunctionRule<Theme>;
8
+ export declare const subheadline: MakeStylesStyleFunctionRule<Theme>;
9
+ export declare const headline: MakeStylesStyleFunctionRule<Theme>;
10
+ export declare const title3: MakeStylesStyleFunctionRule<Theme>;
11
+ export declare const title2: MakeStylesStyleFunctionRule<Theme>;
12
+ export declare const title1: MakeStylesStyleFunctionRule<Theme>;
13
+ export declare const largeTitle: MakeStylesStyleFunctionRule<Theme>;
14
+ export declare const display: MakeStylesStyleFunctionRule<Theme>;
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Make-styles rules for the typography variants
3
+ */
4
+ export const caption = theme => ({
5
+ fontFamily: theme.fontFamilyBase,
6
+ fontSize: theme.fontSizeBase200,
7
+ lineHeight: theme.lineHeightBase200,
8
+ fontWeight: theme.fontWeightRegular
9
+ });
10
+ export const body = theme => ({
11
+ fontFamily: theme.fontFamilyBase,
12
+ fontSize: theme.fontSizeBase300,
13
+ lineHeight: theme.lineHeightBase300,
14
+ fontWeight: theme.fontWeightRegular
15
+ });
16
+ export const subheadline = theme => ({
17
+ fontFamily: theme.fontFamilyBase,
18
+ fontSize: theme.fontSizeBase400,
19
+ lineHeight: theme.lineHeightBase400,
20
+ fontWeight: theme.fontWeightSemibold
21
+ });
22
+ export const headline = theme => ({
23
+ fontFamily: theme.fontFamilyBase,
24
+ fontSize: theme.fontSizeBase500,
25
+ lineHeight: theme.lineHeightBase500,
26
+ fontWeight: theme.fontWeightSemibold
27
+ });
28
+ export const title3 = theme => ({
29
+ fontFamily: theme.fontFamilyBase,
30
+ fontSize: theme.fontSizeBase600,
31
+ lineHeight: theme.lineHeightBase600,
32
+ fontWeight: theme.fontWeightSemibold
33
+ });
34
+ export const title2 = theme => ({
35
+ fontFamily: theme.fontFamilyBase,
36
+ fontSize: theme.fontSizeHero700,
37
+ lineHeight: theme.lineHeightHero700,
38
+ fontWeight: theme.fontWeightSemibold
39
+ });
40
+ export const title1 = theme => ({
41
+ fontFamily: theme.fontFamilyBase,
42
+ fontSize: theme.fontSizeHero800,
43
+ lineHeight: theme.lineHeightHero800,
44
+ fontWeight: theme.fontWeightSemibold
45
+ });
46
+ export const largeTitle = theme => ({
47
+ fontFamily: theme.fontFamilyBase,
48
+ fontSize: theme.fontSizeHero900,
49
+ lineHeight: theme.lineHeightHero900,
50
+ fontWeight: theme.fontWeightSemibold
51
+ });
52
+ export const display = theme => ({
53
+ fontFamily: theme.fontFamilyBase,
54
+ fontSize: theme.fontSizeHero1000,
55
+ lineHeight: theme.lineHeightHero1000,
56
+ fontWeight: theme.fontWeightSemibold
57
+ });
58
+ //# sourceMappingURL=typographyStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/typographyStyles/typographyStyles.ts"],"names":[],"mappings":"AAGA;;AAEG;AACH,OAAO,MAAM,OAAO,GAAuC,KAAK,KAAK;AACnE,EAAA,UAAU,EAAE,KAAK,CAAC,cADiD;AAEnE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFmD;AAGnE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHiD;AAInE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJiD,CAAL,CAAzD;AAMP,OAAO,MAAM,IAAI,GAAuC,KAAK,KAAK;AAChE,EAAA,UAAU,EAAE,KAAK,CAAC,cAD8C;AAEhE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFgD;AAGhE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAH8C;AAIhE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJ8C,CAAL,CAAtD;AAMP,OAAO,MAAM,WAAW,GAAuC,KAAK,KAAK;AACvE,EAAA,UAAU,EAAE,KAAK,CAAC,cADqD;AAEvE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFuD;AAGvE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHqD;AAIvE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJqD,CAAL,CAA7D;AAMP,OAAO,MAAM,QAAQ,GAAuC,KAAK,KAAK;AACpE,EAAA,UAAU,EAAE,KAAK,CAAC,cADkD;AAEpE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFoD;AAGpE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHkD;AAIpE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJkD,CAAL,CAA1D;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,UAAU,GAAuC,KAAK,KAAK;AACtE,EAAA,UAAU,EAAE,KAAK,CAAC,cADoD;AAEtE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFsD;AAGtE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHoD;AAItE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJoD,CAAL,CAA5D;AAMP,OAAO,MAAM,OAAO,GAAuC,KAAK,KAAK;AACnE,EAAA,UAAU,EAAE,KAAK,CAAC,cADiD;AAEnE,EAAA,QAAQ,EAAE,KAAK,CAAC,gBAFmD;AAGnE,EAAA,UAAU,EAAE,KAAK,CAAC,kBAHiD;AAInE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJiD,CAAL,CAAzD","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Body/index';
@@ -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("./components/Body/index"), exports);
10
+ //# sourceMappingURL=Body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Body.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Caption/index';
@@ -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("./components/Caption/index"), exports);
10
+ //# sourceMappingURL=Caption.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Caption.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Display/index';
@@ -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("./components/Display/index"), exports);
10
+ //# sourceMappingURL=Display.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Display.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Headline/index';
@@ -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("./components/Headline/index"), exports);
10
+ //# sourceMappingURL=Headline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Headline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,6BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/LargeTitle/index';
@@ -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("./components/LargeTitle/index"), exports);
10
+ //# sourceMappingURL=LargeTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/LargeTitle.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,+BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Subheadline/index';
@@ -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("./components/Subheadline/index"), exports);
10
+ //# sourceMappingURL=Subheadline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Subheadline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Text/index';
@@ -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("./components/Text/index"), exports);
10
+ //# sourceMappingURL=Text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Text.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Title1/index';
@@ -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("./components/Title1/index"), exports);
10
+ //# sourceMappingURL=Title1.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Title1.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Title2/index';
@@ -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("./components/Title2/index"), exports);
10
+ //# sourceMappingURL=Title2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Title2.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './components/Title3/index';
@@ -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("./components/Title3/index"), exports);
10
+ //# sourceMappingURL=Title3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Title3.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1,4 @@
1
+ import type { IsConformantOptions } from '@fluentui/react-conformance';
2
+ export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
+ componentPath?: string;
4
+ }): void;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isConformant = void 0;
7
+
8
+ const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
+
10
+ const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
+
12
+ function isConformant(testInfo) {
13
+ const defaultOptions = {
14
+ asPropHandlesRef: true,
15
+ componentPath: module.parent.filename.replace('.test', ''),
16
+ extraTests: react_conformance_make_styles_1.default,
17
+ testOptions: {
18
+ 'make-styles-overrides-win': {
19
+ callCount: 2
20
+ }
21
+ }
22
+ };
23
+ react_conformance_1.isConformant(defaultOptions, testInfo);
24
+ }
25
+
26
+ exports.isConformant = isConformant;
27
+ //# sourceMappingURL=isConformant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAEA,MAAA,+BAAA,gBAAA,OAAA,CAAA,yCAAA,CAAA;;AAEA,SAAgB,YAAhB,CACE,QADF,EAC2F;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,UAAU,EAAE,+BAAA,CAAA,OAH+C;AAI3D,IAAA,WAAW,EAAE;AACX,mCAA6B;AAC3B,QAAA,SAAS,EAAE;AADgB;AADlB;AAJ8C,GAA7D;AAaA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAjBD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
@@ -0,0 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const bodyClassName = "fui-Body";
4
+ /**
5
+ * Text wrapper component for the Body typography variant
6
+ */
7
+ export declare const Body: FunctionComponent<TextWrapperProps>;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Body = exports.bodyClassName = void 0;
7
+
8
+ const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
9
+
10
+ const index_1 = /*#__PURE__*/require("../../typographyStyles/index");
11
+
12
+ const wrapper_1 = /*#__PURE__*/require("../wrapper");
13
+
14
+ exports.bodyClassName = 'fui-Body';
15
+ /**
16
+ * Styles for the root slot
17
+ */
18
+
19
+ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
20
+ "root": {}
21
+ }, {});
22
+ /**
23
+ * Text wrapper component for the Body typography variant
24
+ */
25
+
26
+
27
+ exports.Body = /*#__PURE__*/wrapper_1.createWrapper({
28
+ useStyles,
29
+ className: exports.bodyClassName,
30
+ displayName: 'Body'
31
+ });
32
+ //# sourceMappingURL=Body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Body/Body.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,8BAAA,CAAA;;AACA,MAAA,SAAA,gBAAA,OAAA,CAAA,YAAA,CAAA;;AAEa,OAAA,CAAA,aAAA,GAAgB,UAAhB;AAEb;;AAEG;;AACH,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA,MAAlB;AAIA;;AAEG;;;AACU,OAAA,CAAA,IAAA,gBAA4C,SAAA,CAAA,aAAA,CAAc;AACrE,EAAA,SADqE;AAErE,EAAA,SAAS,EAAE,OAAA,CAAA,aAF0D;AAGrE,EAAA,WAAW,EAAE;AAHwD,CAAd,CAA5C","sourceRoot":""}
@@ -0,0 +1 @@
1
+ export * from './Body';
@@ -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("./Body"), exports);
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/Body/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA","sourceRoot":""}
@@ -0,0 +1,7 @@
1
+ import type { FunctionComponent } from 'react';
2
+ import { TextWrapperProps } from '../wrapper';
3
+ export declare const captionClassName = "fui-Caption";
4
+ /**
5
+ * Text wrapper component for the Caption typography variant
6
+ */
7
+ export declare const Caption: FunctionComponent<TextWrapperProps>;