@fluentui/react-text 0.0.0-nightly-20220302-0405.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 (238) hide show
  1. package/CHANGELOG.json +1510 -0
  2. package/CHANGELOG.md +538 -0
  3. package/LICENSE +15 -0
  4. package/MIGRATION.md +730 -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/components/Body/Body.d.ts +7 -0
  40. package/lib/components/Body/Body.js +29 -0
  41. package/lib/components/Body/Body.js.map +1 -0
  42. package/lib/components/Body/index.d.ts +1 -0
  43. package/lib/components/Body/index.js +2 -0
  44. package/lib/components/Body/index.js.map +1 -0
  45. package/lib/components/Caption/Caption.d.ts +7 -0
  46. package/lib/components/Caption/Caption.js +29 -0
  47. package/lib/components/Caption/Caption.js.map +1 -0
  48. package/lib/components/Caption/index.d.ts +1 -0
  49. package/lib/components/Caption/index.js +2 -0
  50. package/lib/components/Caption/index.js.map +1 -0
  51. package/lib/components/Display/Display.d.ts +7 -0
  52. package/lib/components/Display/Display.js +29 -0
  53. package/lib/components/Display/Display.js.map +1 -0
  54. package/lib/components/Display/index.d.ts +1 -0
  55. package/lib/components/Display/index.js +2 -0
  56. package/lib/components/Display/index.js.map +1 -0
  57. package/lib/components/Headline/Headline.d.ts +7 -0
  58. package/lib/components/Headline/Headline.js +29 -0
  59. package/lib/components/Headline/Headline.js.map +1 -0
  60. package/lib/components/Headline/index.d.ts +1 -0
  61. package/lib/components/Headline/index.js +2 -0
  62. package/lib/components/Headline/index.js.map +1 -0
  63. package/lib/components/LargeTitle/LargeTitle.d.ts +7 -0
  64. package/lib/components/LargeTitle/LargeTitle.js +29 -0
  65. package/lib/components/LargeTitle/LargeTitle.js.map +1 -0
  66. package/lib/components/LargeTitle/index.d.ts +1 -0
  67. package/lib/components/LargeTitle/index.js +2 -0
  68. package/lib/components/LargeTitle/index.js.map +1 -0
  69. package/lib/components/Subheadline/Subheadline.d.ts +7 -0
  70. package/lib/components/Subheadline/Subheadline.js +29 -0
  71. package/lib/components/Subheadline/Subheadline.js.map +1 -0
  72. package/lib/components/Subheadline/index.d.ts +1 -0
  73. package/lib/components/Subheadline/index.js +2 -0
  74. package/lib/components/Subheadline/index.js.map +1 -0
  75. package/lib/components/Text/Text.d.ts +6 -0
  76. package/lib/components/Text/Text.js +15 -0
  77. package/lib/components/Text/Text.js.map +1 -0
  78. package/lib/components/Text/Text.types.d.ts +78 -0
  79. package/lib/components/Text/Text.types.js +2 -0
  80. package/lib/components/Text/Text.types.js.map +1 -0
  81. package/lib/components/Text/index.d.ts +5 -0
  82. package/lib/components/Text/index.js +6 -0
  83. package/lib/components/Text/index.js.map +1 -0
  84. package/lib/components/Text/renderText.d.ts +5 -0
  85. package/lib/components/Text/renderText.js +15 -0
  86. package/lib/components/Text/renderText.js.map +1 -0
  87. package/lib/components/Text/useText.d.ts +12 -0
  88. package/lib/components/Text/useText.js +50 -0
  89. package/lib/components/Text/useText.js.map +1 -0
  90. package/lib/components/Text/useTextStyles.d.ts +6 -0
  91. package/lib/components/Text/useTextStyles.js +114 -0
  92. package/lib/components/Text/useTextStyles.js.map +1 -0
  93. package/lib/components/Title1/Title1.d.ts +7 -0
  94. package/lib/components/Title1/Title1.js +29 -0
  95. package/lib/components/Title1/Title1.js.map +1 -0
  96. package/lib/components/Title1/index.d.ts +1 -0
  97. package/lib/components/Title1/index.js +2 -0
  98. package/lib/components/Title1/index.js.map +1 -0
  99. package/lib/components/Title2/Title2.d.ts +7 -0
  100. package/lib/components/Title2/Title2.js +29 -0
  101. package/lib/components/Title2/Title2.js.map +1 -0
  102. package/lib/components/Title2/index.d.ts +1 -0
  103. package/lib/components/Title2/index.js +2 -0
  104. package/lib/components/Title2/index.js.map +1 -0
  105. package/lib/components/Title3/Title3.d.ts +7 -0
  106. package/lib/components/Title3/Title3.js +29 -0
  107. package/lib/components/Title3/Title3.js.map +1 -0
  108. package/lib/components/Title3/index.d.ts +1 -0
  109. package/lib/components/Title3/index.js +2 -0
  110. package/lib/components/Title3/index.js.map +1 -0
  111. package/lib/components/wrapper.d.ts +8 -0
  112. package/lib/components/wrapper.js +20 -0
  113. package/lib/components/wrapper.js.map +1 -0
  114. package/lib/index.d.ts +10 -0
  115. package/lib/index.js +11 -0
  116. package/lib/index.js.map +1 -0
  117. package/lib/tsdoc-metadata.json +11 -0
  118. package/lib/typographyStyles/index.d.ts +2 -0
  119. package/lib/typographyStyles/index.js +3 -0
  120. package/lib/typographyStyles/index.js.map +1 -0
  121. package/lib/typographyStyles/typographyStyles.d.ts +13 -0
  122. package/lib/typographyStyles/typographyStyles.js +60 -0
  123. package/lib/typographyStyles/typographyStyles.js.map +1 -0
  124. package/lib-commonjs/Body.d.ts +1 -0
  125. package/lib-commonjs/Body.js +10 -0
  126. package/lib-commonjs/Body.js.map +1 -0
  127. package/lib-commonjs/Caption.d.ts +1 -0
  128. package/lib-commonjs/Caption.js +10 -0
  129. package/lib-commonjs/Caption.js.map +1 -0
  130. package/lib-commonjs/Display.d.ts +1 -0
  131. package/lib-commonjs/Display.js +10 -0
  132. package/lib-commonjs/Display.js.map +1 -0
  133. package/lib-commonjs/Headline.d.ts +1 -0
  134. package/lib-commonjs/Headline.js +10 -0
  135. package/lib-commonjs/Headline.js.map +1 -0
  136. package/lib-commonjs/LargeTitle.d.ts +1 -0
  137. package/lib-commonjs/LargeTitle.js +10 -0
  138. package/lib-commonjs/LargeTitle.js.map +1 -0
  139. package/lib-commonjs/Subheadline.d.ts +1 -0
  140. package/lib-commonjs/Subheadline.js +10 -0
  141. package/lib-commonjs/Subheadline.js.map +1 -0
  142. package/lib-commonjs/Text.d.ts +1 -0
  143. package/lib-commonjs/Text.js +10 -0
  144. package/lib-commonjs/Text.js.map +1 -0
  145. package/lib-commonjs/Title1.d.ts +1 -0
  146. package/lib-commonjs/Title1.js +10 -0
  147. package/lib-commonjs/Title1.js.map +1 -0
  148. package/lib-commonjs/Title2.d.ts +1 -0
  149. package/lib-commonjs/Title2.js +10 -0
  150. package/lib-commonjs/Title2.js.map +1 -0
  151. package/lib-commonjs/Title3.d.ts +1 -0
  152. package/lib-commonjs/Title3.js +10 -0
  153. package/lib-commonjs/Title3.js.map +1 -0
  154. package/lib-commonjs/components/Body/Body.d.ts +7 -0
  155. package/lib-commonjs/components/Body/Body.js +30 -0
  156. package/lib-commonjs/components/Body/Body.js.map +1 -0
  157. package/lib-commonjs/components/Body/index.d.ts +1 -0
  158. package/lib-commonjs/components/Body/index.js +10 -0
  159. package/lib-commonjs/components/Body/index.js.map +1 -0
  160. package/lib-commonjs/components/Caption/Caption.d.ts +7 -0
  161. package/lib-commonjs/components/Caption/Caption.js +30 -0
  162. package/lib-commonjs/components/Caption/Caption.js.map +1 -0
  163. package/lib-commonjs/components/Caption/index.d.ts +1 -0
  164. package/lib-commonjs/components/Caption/index.js +10 -0
  165. package/lib-commonjs/components/Caption/index.js.map +1 -0
  166. package/lib-commonjs/components/Display/Display.d.ts +7 -0
  167. package/lib-commonjs/components/Display/Display.js +30 -0
  168. package/lib-commonjs/components/Display/Display.js.map +1 -0
  169. package/lib-commonjs/components/Display/index.d.ts +1 -0
  170. package/lib-commonjs/components/Display/index.js +10 -0
  171. package/lib-commonjs/components/Display/index.js.map +1 -0
  172. package/lib-commonjs/components/Headline/Headline.d.ts +7 -0
  173. package/lib-commonjs/components/Headline/Headline.js +30 -0
  174. package/lib-commonjs/components/Headline/Headline.js.map +1 -0
  175. package/lib-commonjs/components/Headline/index.d.ts +1 -0
  176. package/lib-commonjs/components/Headline/index.js +10 -0
  177. package/lib-commonjs/components/Headline/index.js.map +1 -0
  178. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +7 -0
  179. package/lib-commonjs/components/LargeTitle/LargeTitle.js +30 -0
  180. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -0
  181. package/lib-commonjs/components/LargeTitle/index.d.ts +1 -0
  182. package/lib-commonjs/components/LargeTitle/index.js +10 -0
  183. package/lib-commonjs/components/LargeTitle/index.js.map +1 -0
  184. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +7 -0
  185. package/lib-commonjs/components/Subheadline/Subheadline.js +30 -0
  186. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -0
  187. package/lib-commonjs/components/Subheadline/index.d.ts +1 -0
  188. package/lib-commonjs/components/Subheadline/index.js +10 -0
  189. package/lib-commonjs/components/Subheadline/index.js.map +1 -0
  190. package/lib-commonjs/components/Text/Text.d.ts +6 -0
  191. package/lib-commonjs/components/Text/Text.js +26 -0
  192. package/lib-commonjs/components/Text/Text.js.map +1 -0
  193. package/lib-commonjs/components/Text/Text.types.d.ts +78 -0
  194. package/lib-commonjs/components/Text/Text.types.js +6 -0
  195. package/lib-commonjs/components/Text/Text.types.js.map +1 -0
  196. package/lib-commonjs/components/Text/index.d.ts +5 -0
  197. package/lib-commonjs/components/Text/index.js +18 -0
  198. package/lib-commonjs/components/Text/index.js.map +1 -0
  199. package/lib-commonjs/components/Text/renderText.d.ts +5 -0
  200. package/lib-commonjs/components/Text/renderText.js +26 -0
  201. package/lib-commonjs/components/Text/renderText.js.map +1 -0
  202. package/lib-commonjs/components/Text/useText.d.ts +12 -0
  203. package/lib-commonjs/components/Text/useText.js +60 -0
  204. package/lib-commonjs/components/Text/useText.js.map +1 -0
  205. package/lib-commonjs/components/Text/useTextStyles.d.ts +6 -0
  206. package/lib-commonjs/components/Text/useTextStyles.js +125 -0
  207. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -0
  208. package/lib-commonjs/components/Title1/Title1.d.ts +7 -0
  209. package/lib-commonjs/components/Title1/Title1.js +30 -0
  210. package/lib-commonjs/components/Title1/Title1.js.map +1 -0
  211. package/lib-commonjs/components/Title1/index.d.ts +1 -0
  212. package/lib-commonjs/components/Title1/index.js +10 -0
  213. package/lib-commonjs/components/Title1/index.js.map +1 -0
  214. package/lib-commonjs/components/Title2/Title2.d.ts +7 -0
  215. package/lib-commonjs/components/Title2/Title2.js +30 -0
  216. package/lib-commonjs/components/Title2/Title2.js.map +1 -0
  217. package/lib-commonjs/components/Title2/index.d.ts +1 -0
  218. package/lib-commonjs/components/Title2/index.js +10 -0
  219. package/lib-commonjs/components/Title2/index.js.map +1 -0
  220. package/lib-commonjs/components/Title3/Title3.d.ts +7 -0
  221. package/lib-commonjs/components/Title3/Title3.js +30 -0
  222. package/lib-commonjs/components/Title3/Title3.js.map +1 -0
  223. package/lib-commonjs/components/Title3/index.d.ts +1 -0
  224. package/lib-commonjs/components/Title3/index.js +10 -0
  225. package/lib-commonjs/components/Title3/index.js.map +1 -0
  226. package/lib-commonjs/components/wrapper.d.ts +8 -0
  227. package/lib-commonjs/components/wrapper.js +32 -0
  228. package/lib-commonjs/components/wrapper.js.map +1 -0
  229. package/lib-commonjs/index.d.ts +10 -0
  230. package/lib-commonjs/index.js +28 -0
  231. package/lib-commonjs/index.js.map +1 -0
  232. package/lib-commonjs/typographyStyles/index.d.ts +2 -0
  233. package/lib-commonjs/typographyStyles/index.js +11 -0
  234. package/lib-commonjs/typographyStyles/index.js.map +1 -0
  235. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +13 -0
  236. package/lib-commonjs/typographyStyles/typographyStyles.js +68 -0
  237. package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -0
  238. package/package.json +63 -0
@@ -0,0 +1,29 @@
1
+ import { __styles } from '@griffel/react';
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":["components/Title1/Title1.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const title1ClassName = 'fui-Title1';\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: title1ClassName,\n displayName: 'Title1',\n});\n"],"sourceRoot":"../src/"}
@@ -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":"../src/","sources":["components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title1';\n"]}
@@ -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 '@griffel/react';
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":["components/Title2/Title2.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const title2ClassName = 'fui-Title2';\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: title2ClassName,\n displayName: 'Title2',\n});\n"],"sourceRoot":"../src/"}
@@ -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":"../src/","sources":["components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title2';\n"]}
@@ -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 '@griffel/react';
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":["components/Title3/Title3.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const title3ClassName = 'fui-Title3';\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: title3ClassName,\n displayName: 'Title3',\n});\n"],"sourceRoot":"../src/"}
@@ -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":"../src/","sources":["components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title3';\n"]}
@@ -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 '@griffel/react';
3
+ import { renderText_unstable, useText_unstable, useTextStyles_unstable } 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_unstable(props, ref);
13
+ useTextStyles_unstable(state);
14
+ state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
15
+ return renderText_unstable(state);
16
+ });
17
+ Wrapper.displayName = displayName;
18
+ return Wrapper;
19
+ }
20
+ //# sourceMappingURL=wrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,gBAA7B;AACA,SAAS,mBAAT,EAA8B,gBAA9B,EAAgD,sBAAhD,QAA8E,SAA9E;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,gBAAgB,CAAC,KAAD,EAAqB,GAArB,CAA9B;AAEA,IAAA,sBAAsB,CAAC,KAAD,CAAtB;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,mBAAmB,CAAC,KAAD,CAA1B;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","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"],"sourceRoot":"../src/"}
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":"../src/","sources":["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","sourcesContent":["export * from './Text';\nexport * from './Display';\nexport * from './LargeTitle';\nexport * from './Title1';\nexport * from './Title2';\nexport * from './Title3';\nexport * from './Headline';\nexport * from './Subheadline';\nexport * from './Body';\nexport * from './Caption';\n"]}
@@ -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":"../src/","sources":["typographyStyles/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,CAAC","sourcesContent":["import * as typographyStyles from './typographyStyles';\nexport { typographyStyles };\n"]}
@@ -0,0 +1,13 @@
1
+ import type { GriffelStyle } from '@griffel/react';
2
+ /**
3
+ * Make-styles rules for the typography variants
4
+ */
5
+ export declare const caption: GriffelStyle;
6
+ export declare const body: GriffelStyle;
7
+ export declare const subheadline: GriffelStyle;
8
+ export declare const headline: GriffelStyle;
9
+ export declare const title3: GriffelStyle;
10
+ export declare const title2: GriffelStyle;
11
+ export declare const title1: GriffelStyle;
12
+ export declare const largeTitle: GriffelStyle;
13
+ export declare const display: GriffelStyle;
@@ -0,0 +1,60 @@
1
+ import { tokens } from '@fluentui/react-theme';
2
+ /**
3
+ * Make-styles rules for the typography variants
4
+ */
5
+
6
+ export const caption = {
7
+ fontFamily: tokens.fontFamilyBase,
8
+ fontSize: tokens.fontSizeBase200,
9
+ lineHeight: tokens.lineHeightBase200,
10
+ fontWeight: tokens.fontWeightRegular
11
+ };
12
+ export const body = {
13
+ fontFamily: tokens.fontFamilyBase,
14
+ fontSize: tokens.fontSizeBase300,
15
+ lineHeight: tokens.lineHeightBase300,
16
+ fontWeight: tokens.fontWeightRegular
17
+ };
18
+ export const subheadline = {
19
+ fontFamily: tokens.fontFamilyBase,
20
+ fontSize: tokens.fontSizeBase400,
21
+ lineHeight: tokens.lineHeightBase400,
22
+ fontWeight: tokens.fontWeightSemibold
23
+ };
24
+ export const headline = {
25
+ fontFamily: tokens.fontFamilyBase,
26
+ fontSize: tokens.fontSizeBase500,
27
+ lineHeight: tokens.lineHeightBase500,
28
+ fontWeight: tokens.fontWeightSemibold
29
+ };
30
+ export const title3 = {
31
+ fontFamily: tokens.fontFamilyBase,
32
+ fontSize: tokens.fontSizeBase600,
33
+ lineHeight: tokens.lineHeightBase600,
34
+ fontWeight: tokens.fontWeightSemibold
35
+ };
36
+ export const title2 = {
37
+ fontFamily: tokens.fontFamilyBase,
38
+ fontSize: tokens.fontSizeHero700,
39
+ lineHeight: tokens.lineHeightHero700,
40
+ fontWeight: tokens.fontWeightSemibold
41
+ };
42
+ export const title1 = {
43
+ fontFamily: tokens.fontFamilyBase,
44
+ fontSize: tokens.fontSizeHero800,
45
+ lineHeight: tokens.lineHeightHero800,
46
+ fontWeight: tokens.fontWeightSemibold
47
+ };
48
+ export const largeTitle = {
49
+ fontFamily: tokens.fontFamilyBase,
50
+ fontSize: tokens.fontSizeHero900,
51
+ lineHeight: tokens.lineHeightHero900,
52
+ fontWeight: tokens.fontWeightSemibold
53
+ };
54
+ export const display = {
55
+ fontFamily: tokens.fontFamilyBase,
56
+ fontSize: tokens.fontSizeHero1000,
57
+ lineHeight: tokens.lineHeightHero1000,
58
+ fontWeight: tokens.fontWeightSemibold
59
+ };
60
+ //# sourceMappingURL=typographyStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["typographyStyles/typographyStyles.ts"],"names":[],"mappings":"AAAA,SAAS,MAAT,QAAuB,uBAAvB;AAGA;;AAEG;;AACH,OAAO,MAAM,OAAO,GAAiB;AACnC,EAAA,UAAU,EAAE,MAAM,CAAC,cADgB;AAEnC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFkB;AAGnC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHgB;AAInC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJgB,CAA9B;AAMP,OAAO,MAAM,IAAI,GAAiB;AAChC,EAAA,UAAU,EAAE,MAAM,CAAC,cADa;AAEhC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFe;AAGhC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHa;AAIhC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJa,CAA3B;AAMP,OAAO,MAAM,WAAW,GAAiB;AACvC,EAAA,UAAU,EAAE,MAAM,CAAC,cADoB;AAEvC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFsB;AAGvC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHoB;AAIvC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJoB,CAAlC;AAMP,OAAO,MAAM,QAAQ,GAAiB;AACpC,EAAA,UAAU,EAAE,MAAM,CAAC,cADiB;AAEpC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFmB;AAGpC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHiB;AAIpC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJiB,CAA/B;AAMP,OAAO,MAAM,MAAM,GAAiB;AAClC,EAAA,UAAU,EAAE,MAAM,CAAC,cADe;AAElC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFiB;AAGlC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHe;AAIlC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJe,CAA7B;AAMP,OAAO,MAAM,MAAM,GAAiB;AAClC,EAAA,UAAU,EAAE,MAAM,CAAC,cADe;AAElC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFiB;AAGlC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHe;AAIlC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJe,CAA7B;AAMP,OAAO,MAAM,MAAM,GAAiB;AAClC,EAAA,UAAU,EAAE,MAAM,CAAC,cADe;AAElC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFiB;AAGlC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHe;AAIlC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJe,CAA7B;AAMP,OAAO,MAAM,UAAU,GAAiB;AACtC,EAAA,UAAU,EAAE,MAAM,CAAC,cADmB;AAEtC,EAAA,QAAQ,EAAE,MAAM,CAAC,eAFqB;AAGtC,EAAA,UAAU,EAAE,MAAM,CAAC,iBAHmB;AAItC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJmB,CAAjC;AAMP,OAAO,MAAM,OAAO,GAAiB;AACnC,EAAA,UAAU,EAAE,MAAM,CAAC,cADgB;AAEnC,EAAA,QAAQ,EAAE,MAAM,CAAC,gBAFkB;AAGnC,EAAA,UAAU,EAAE,MAAM,CAAC,kBAHgB;AAInC,EAAA,UAAU,EAAE,MAAM,CAAC;AAJgB,CAA9B","sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport type { GriffelStyle } from '@griffel/react';\n\n/**\n * Make-styles rules for the typography variants\n */\nexport const caption: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n fontWeight: tokens.fontWeightRegular,\n};\nexport const body: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n};\nexport const subheadline: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const headline: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const title3: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const title2: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const title1: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const largeTitle: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n fontWeight: tokens.fontWeightSemibold,\n};\nexport const display: GriffelStyle = {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n fontWeight: tokens.fontWeightSemibold,\n};\n"],"sourceRoot":"../src/"}
@@ -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":["Body.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Body/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Caption.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Caption/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Display.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Display/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Headline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,6BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Headline/index';\n"],"sourceRoot":"../src/"}
@@ -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":["LargeTitle.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,+BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/LargeTitle/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Subheadline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Subheadline/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Text.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Text/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Title1.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Title1/index';\n"],"sourceRoot":"../src/"}
@@ -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":["Title2.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,2BAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './components/Title2/index';\n"],"sourceRoot":"../src/"}
@@ -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":["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,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,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Body = exports.bodyClassName = void 0;
7
+
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
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_1.__styles({}, {});
20
+ /**
21
+ * Text wrapper component for the Body typography variant
22
+ */
23
+
24
+
25
+ exports.Body = /*#__PURE__*/wrapper_1.createWrapper({
26
+ useStyles,
27
+ className: exports.bodyClassName,
28
+ displayName: 'Body'
29
+ });
30
+ //# sourceMappingURL=Body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["components/Body/Body.tsx"],"names":[],"mappings":";;;;;;;AACA,MAAA,OAAA,gBAAA,OAAA,CAAA,gBAAA,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,OAAA,SAAA,QAAlB;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const bodyClassName = 'fui-Body';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body,\n});\n\n/**\n * Text wrapper component for the Body typography variant\n */\nexport const Body: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: bodyClassName,\n displayName: 'Body',\n});\n"],"sourceRoot":"../src/"}
@@ -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":["components/Body/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Body';\n"],"sourceRoot":"../src/"}
@@ -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>;