@fluentui/react-text 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.4

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 (169) hide show
  1. package/CHANGELOG.json +275 -16
  2. package/CHANGELOG.md +80 -10
  3. package/MIGRATION.md +153 -103
  4. package/dist/react-text.d.ts +28 -8
  5. package/lib/Body.js.map +1 -1
  6. package/lib/Caption.js.map +1 -1
  7. package/lib/Display.js.map +1 -1
  8. package/lib/Headline.js.map +1 -1
  9. package/lib/LargeTitle.js.map +1 -1
  10. package/lib/Subheadline.js.map +1 -1
  11. package/lib/Text.js.map +1 -1
  12. package/lib/Title1.js.map +1 -1
  13. package/lib/Title2.js.map +1 -1
  14. package/lib/Title3.js.map +1 -1
  15. package/lib/components/Body/Body.d.ts +1 -0
  16. package/lib/components/Body/Body.js +6 -4
  17. package/lib/components/Body/Body.js.map +1 -1
  18. package/lib/components/Body/index.js.map +1 -1
  19. package/lib/components/Caption/Caption.d.ts +1 -0
  20. package/lib/components/Caption/Caption.js +6 -4
  21. package/lib/components/Caption/Caption.js.map +1 -1
  22. package/lib/components/Caption/index.js.map +1 -1
  23. package/lib/components/Display/Display.d.ts +1 -0
  24. package/lib/components/Display/Display.js +6 -4
  25. package/lib/components/Display/Display.js.map +1 -1
  26. package/lib/components/Display/index.js.map +1 -1
  27. package/lib/components/Headline/Headline.d.ts +1 -0
  28. package/lib/components/Headline/Headline.js +6 -4
  29. package/lib/components/Headline/Headline.js.map +1 -1
  30. package/lib/components/Headline/index.js.map +1 -1
  31. package/lib/components/LargeTitle/LargeTitle.d.ts +1 -0
  32. package/lib/components/LargeTitle/LargeTitle.js +6 -4
  33. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  34. package/lib/components/LargeTitle/index.js.map +1 -1
  35. package/lib/components/Subheadline/Subheadline.d.ts +1 -0
  36. package/lib/components/Subheadline/Subheadline.js +6 -4
  37. package/lib/components/Subheadline/Subheadline.js.map +1 -1
  38. package/lib/components/Subheadline/index.js.map +1 -1
  39. package/lib/components/Text/Text.js +7 -7
  40. package/lib/components/Text/Text.js.map +1 -1
  41. package/lib/components/Text/Text.types.d.ts +4 -3
  42. package/lib/components/Text/Text.types.js.map +1 -1
  43. package/lib/components/Text/index.js.map +1 -1
  44. package/lib/components/Text/renderText.d.ts +1 -1
  45. package/lib/components/Text/renderText.js +7 -7
  46. package/lib/components/Text/renderText.js.map +1 -1
  47. package/lib/components/Text/useText.d.ts +3 -3
  48. package/lib/components/Text/useText.js +22 -21
  49. package/lib/components/Text/useText.js.map +1 -1
  50. package/lib/components/Text/useTextStyles.d.ts +2 -1
  51. package/lib/components/Text/useTextStyles.js +15 -11
  52. package/lib/components/Text/useTextStyles.js.map +1 -1
  53. package/lib/components/Title1/Title1.d.ts +1 -0
  54. package/lib/components/Title1/Title1.js +6 -4
  55. package/lib/components/Title1/Title1.js.map +1 -1
  56. package/lib/components/Title1/index.js.map +1 -1
  57. package/lib/components/Title2/Title2.d.ts +1 -0
  58. package/lib/components/Title2/Title2.js +6 -4
  59. package/lib/components/Title2/Title2.js.map +1 -1
  60. package/lib/components/Title2/index.js.map +1 -1
  61. package/lib/components/Title3/Title3.d.ts +1 -0
  62. package/lib/components/Title3/Title3.js +6 -4
  63. package/lib/components/Title3/Title3.js.map +1 -1
  64. package/lib/components/Title3/index.js.map +1 -1
  65. package/lib/components/wrapper.d.ts +1 -0
  66. package/lib/components/wrapper.js +13 -10
  67. package/lib/components/wrapper.js.map +1 -1
  68. package/lib/index.js.map +1 -1
  69. package/lib/typographyStyles/index.js.map +1 -1
  70. package/lib/typographyStyles/typographyStyles.d.ts +10 -11
  71. package/lib/typographyStyles/typographyStyles.js +55 -71
  72. package/lib/typographyStyles/typographyStyles.js.map +1 -1
  73. package/lib-commonjs/Body.js +1 -1
  74. package/lib-commonjs/Body.js.map +1 -1
  75. package/lib-commonjs/Caption.js +1 -1
  76. package/lib-commonjs/Caption.js.map +1 -1
  77. package/lib-commonjs/Display.js +1 -1
  78. package/lib-commonjs/Display.js.map +1 -1
  79. package/lib-commonjs/Headline.js +1 -1
  80. package/lib-commonjs/Headline.js.map +1 -1
  81. package/lib-commonjs/LargeTitle.js +1 -1
  82. package/lib-commonjs/LargeTitle.js.map +1 -1
  83. package/lib-commonjs/Subheadline.js +1 -1
  84. package/lib-commonjs/Subheadline.js.map +1 -1
  85. package/lib-commonjs/Text.js +1 -1
  86. package/lib-commonjs/Text.js.map +1 -1
  87. package/lib-commonjs/Title1.js +1 -1
  88. package/lib-commonjs/Title1.js.map +1 -1
  89. package/lib-commonjs/Title2.js +1 -1
  90. package/lib-commonjs/Title2.js.map +1 -1
  91. package/lib-commonjs/Title3.js +1 -1
  92. package/lib-commonjs/Title3.js.map +1 -1
  93. package/lib-commonjs/components/Body/Body.d.ts +1 -0
  94. package/lib-commonjs/components/Body/Body.js +9 -9
  95. package/lib-commonjs/components/Body/Body.js.map +1 -1
  96. package/lib-commonjs/components/Body/index.js +1 -1
  97. package/lib-commonjs/components/Body/index.js.map +1 -1
  98. package/lib-commonjs/components/Caption/Caption.d.ts +1 -0
  99. package/lib-commonjs/components/Caption/Caption.js +9 -9
  100. package/lib-commonjs/components/Caption/Caption.js.map +1 -1
  101. package/lib-commonjs/components/Caption/index.js +1 -1
  102. package/lib-commonjs/components/Caption/index.js.map +1 -1
  103. package/lib-commonjs/components/Display/Display.d.ts +1 -0
  104. package/lib-commonjs/components/Display/Display.js +9 -9
  105. package/lib-commonjs/components/Display/Display.js.map +1 -1
  106. package/lib-commonjs/components/Display/index.js +1 -1
  107. package/lib-commonjs/components/Display/index.js.map +1 -1
  108. package/lib-commonjs/components/Headline/Headline.d.ts +1 -0
  109. package/lib-commonjs/components/Headline/Headline.js +9 -9
  110. package/lib-commonjs/components/Headline/Headline.js.map +1 -1
  111. package/lib-commonjs/components/Headline/index.js +1 -1
  112. package/lib-commonjs/components/Headline/index.js.map +1 -1
  113. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +1 -0
  114. package/lib-commonjs/components/LargeTitle/LargeTitle.js +9 -9
  115. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  116. package/lib-commonjs/components/LargeTitle/index.js +1 -1
  117. package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
  118. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +1 -0
  119. package/lib-commonjs/components/Subheadline/Subheadline.js +9 -9
  120. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
  121. package/lib-commonjs/components/Subheadline/index.js +1 -1
  122. package/lib-commonjs/components/Subheadline/index.js.map +1 -1
  123. package/lib-commonjs/components/Text/Text.js +8 -8
  124. package/lib-commonjs/components/Text/Text.js.map +1 -1
  125. package/lib-commonjs/components/Text/Text.types.d.ts +4 -3
  126. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  127. package/lib-commonjs/components/Text/index.js +1 -1
  128. package/lib-commonjs/components/Text/index.js.map +1 -1
  129. package/lib-commonjs/components/Text/renderText.d.ts +1 -1
  130. package/lib-commonjs/components/Text/renderText.js +11 -12
  131. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  132. package/lib-commonjs/components/Text/useText.d.ts +3 -3
  133. package/lib-commonjs/components/Text/useText.js +25 -25
  134. package/lib-commonjs/components/Text/useText.js.map +1 -1
  135. package/lib-commonjs/components/Text/useTextStyles.d.ts +2 -1
  136. package/lib-commonjs/components/Text/useTextStyles.js +19 -14
  137. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  138. package/lib-commonjs/components/Title1/Title1.d.ts +1 -0
  139. package/lib-commonjs/components/Title1/Title1.js +9 -9
  140. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  141. package/lib-commonjs/components/Title1/index.js +1 -1
  142. package/lib-commonjs/components/Title1/index.js.map +1 -1
  143. package/lib-commonjs/components/Title2/Title2.d.ts +1 -0
  144. package/lib-commonjs/components/Title2/Title2.js +9 -9
  145. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  146. package/lib-commonjs/components/Title2/index.js +1 -1
  147. package/lib-commonjs/components/Title2/index.js.map +1 -1
  148. package/lib-commonjs/components/Title3/Title3.d.ts +1 -0
  149. package/lib-commonjs/components/Title3/Title3.js +9 -9
  150. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  151. package/lib-commonjs/components/Title3/index.js +1 -1
  152. package/lib-commonjs/components/Title3/index.js.map +1 -1
  153. package/lib-commonjs/components/wrapper.d.ts +1 -0
  154. package/lib-commonjs/components/wrapper.js +14 -11
  155. package/lib-commonjs/components/wrapper.js.map +1 -1
  156. package/lib-commonjs/index.js +1 -1
  157. package/lib-commonjs/index.js.map +1 -1
  158. package/lib-commonjs/typographyStyles/index.js +1 -1
  159. package/lib-commonjs/typographyStyles/index.js.map +1 -1
  160. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +10 -11
  161. package/lib-commonjs/typographyStyles/typographyStyles.js +48 -89
  162. package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -1
  163. package/package.json +9 -10
  164. package/lib/common/isConformant.d.ts +0 -4
  165. package/lib/common/isConformant.js +0 -16
  166. package/lib/common/isConformant.js.map +0 -1
  167. package/lib-commonjs/common/isConformant.d.ts +0 -4
  168. package/lib-commonjs/common/isConformant.js +0 -27
  169. package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/useTextStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAfI,EAgBjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAhBI,EAiBjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAjBI,EAkBjC,KAAK,CAAC,IAAN,KAAe,IAAf,IAAuB,MAAM,CAAC,QAlBG,EAmBjC,KAAK,CAAC,IAAN,KAAe,WAAf,IAA8B,MAAM,CAAC,SAnBJ,EAoBjC,KAAK,CAAC,IAAN,KAAe,SAAf,IAA4B,MAAM,CAAC,OApBF,EAqBjC,KAAK,CAAC,MAAN,KAAiB,QAAjB,IAA6B,MAAM,CAAC,YArBH,EAsBjC,KAAK,CAAC,MAAN,KAAiB,UAAjB,IAA+B,MAAM,CAAC,cAtBL,EAuBjC,KAAK,CAAC,KAAN,KAAgB,QAAhB,IAA4B,MAAM,CAAC,WAvBF,EAwBjC,KAAK,CAAC,KAAN,KAAgB,KAAhB,IAAyB,MAAM,CAAC,QAxBC,EAyBjC,KAAK,CAAC,KAAN,KAAgB,SAAhB,IAA6B,MAAM,CAAC,YAzBH,EA0BjC,KAAK,CAAC,IAAN,CAAW,SA1BsB,CAAnC;AA6BA,SAAO,KAAP;AACD,CAjCM","sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextState } from './Text.types';\n\nexport const textClassName = 'fui-Text';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassName,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"],"sourceRoot":"../src/"}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title1ClassName = "fui-Title1";
3
4
  /**
4
5
  * Text wrapper component for the Title 1 typography variant
5
6
  */
@@ -1,11 +1,12 @@
1
- import { __styles } from '@fluentui/react-make-styles';
1
+ import { __styles } from '@griffel/react';
2
2
  import { typographyStyles } from '../../typographyStyles/index';
3
3
  import { createWrapper } from '../wrapper';
4
+ export const title1ClassName = 'fui-Title1';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
7
8
 
8
- var useStyles = /*#__PURE__*/__styles({
9
+ const useStyles = /*#__PURE__*/__styles({
9
10
  "root": {
10
11
  "Bahqtrf": "fk6fouc",
11
12
  "Be2twd7": "fccw675",
@@ -20,8 +21,9 @@ var useStyles = /*#__PURE__*/__styles({
20
21
  */
21
22
 
22
23
 
23
- export var Title1 = /*#__PURE__*/createWrapper({
24
- useStyles: useStyles,
24
+ export const Title1 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title1ClassName,
25
27
  displayName: 'Title1'
26
28
  });
27
29
  //# sourceMappingURL=Title1.js.map
@@ -1 +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;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
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/"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title1';\n"]}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title2ClassName = "fui-Title2";
3
4
  /**
4
5
  * Text wrapper component for the Title 2 typography variant
5
6
  */
@@ -1,11 +1,12 @@
1
- import { __styles } from '@fluentui/react-make-styles';
1
+ import { __styles } from '@griffel/react';
2
2
  import { typographyStyles } from '../../typographyStyles/index';
3
3
  import { createWrapper } from '../wrapper';
4
+ export const title2ClassName = 'fui-Title2';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
7
8
 
8
- var useStyles = /*#__PURE__*/__styles({
9
+ const useStyles = /*#__PURE__*/__styles({
9
10
  "root": {
10
11
  "Bahqtrf": "fk6fouc",
11
12
  "Be2twd7": "fojgt09",
@@ -20,8 +21,9 @@ var useStyles = /*#__PURE__*/__styles({
20
21
  */
21
22
 
22
23
 
23
- export var Title2 = /*#__PURE__*/createWrapper({
24
- useStyles: useStyles,
24
+ export const Title2 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title2ClassName,
25
27
  displayName: 'Title2'
26
28
  });
27
29
  //# sourceMappingURL=Title2.js.map
@@ -1 +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;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
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/"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title2';\n"]}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title3ClassName = "fui-Title3";
3
4
  /**
4
5
  * Text wrapper component for the Title 3 typography variant
5
6
  */
@@ -1,11 +1,12 @@
1
- import { __styles } from '@fluentui/react-make-styles';
1
+ import { __styles } from '@griffel/react';
2
2
  import { typographyStyles } from '../../typographyStyles/index';
3
3
  import { createWrapper } from '../wrapper';
4
+ export const title3ClassName = 'fui-Title3';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
7
8
 
8
- var useStyles = /*#__PURE__*/__styles({
9
+ const useStyles = /*#__PURE__*/__styles({
9
10
  "root": {
10
11
  "Bahqtrf": "fk6fouc",
11
12
  "Be2twd7": "f1x0m3f5",
@@ -20,8 +21,9 @@ var useStyles = /*#__PURE__*/__styles({
20
21
  */
21
22
 
22
23
 
23
- export var Title3 = /*#__PURE__*/createWrapper({
24
- useStyles: useStyles,
24
+ export const Title3 = /*#__PURE__*/createWrapper({
25
+ useStyles,
26
+ className: title3ClassName,
25
27
  displayName: 'Title3'
26
28
  });
27
29
  //# sourceMappingURL=Title3.js.map
@@ -1 +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;;AAEG;;AACH,IAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,IAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAS,EAAA,SAAX;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
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/"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC","sourcesContent":["export * from './Title3';\n"]}
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import type { TextProps } from '../Text';
3
3
  export declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
4
4
  export declare function createWrapper(options: {
5
+ className: string;
5
6
  displayName: string;
6
7
  useStyles: () => Record<'root', string>;
7
8
  }): React.FunctionComponent<TextWrapperProps>;
@@ -1,15 +1,18 @@
1
1
  import * as React from 'react';
2
- import { mergeClasses } from '@fluentui/react-make-styles';
3
- import { renderText, useText, useTextStyles } from '../Text';
2
+ import { mergeClasses } from '@griffel/react';
3
+ import { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';
4
4
  export function createWrapper(options) {
5
- var useStyles = options.useStyles,
6
- displayName = options.displayName;
7
- var Wrapper = /*#__PURE__*/React.forwardRef(function (props, ref) {
8
- var styles = useStyles();
9
- var state = useText(props, ref);
10
- useTextStyles(state);
11
- state.root.className = mergeClasses(state.root.className, styles.root, props.className);
12
- return renderText(state);
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);
13
16
  });
14
17
  Wrapper.displayName = displayName;
15
18
  return Wrapper;
@@ -1 +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,EAGL;AACS,MAAA,SAAS,GAAkB,OAAO,CAAzB,SAAT;AAAA,MAAW,WAAW,GAAK,OAAO,CAAZ,WAAtB;AACR,MAAM,OAAO,gBAA0C,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AACjF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,QAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAqB,GAArB,CAArB;AAEA,IAAA,aAAa,CAAC,KAAD,CAAb;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,KAAK,CAAC,IAAN,CAAW,SAAZ,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,SAA1C,CAAnC;AAEA,WAAO,UAAU,CAAC,KAAD,CAAjB;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","sourceRoot":""}
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.js.map CHANGED
@@ -1 +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"}
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"]}
@@ -1 +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"}
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"]}
@@ -1,14 +1,13 @@
1
- import type { MakeStylesStyleFunctionRule } from '@fluentui/make-styles';
2
- import type { Theme } from '@fluentui/react-theme';
1
+ import type { GriffelStyle } from '@griffel/react';
3
2
  /**
4
3
  * Make-styles rules for the typography variants
5
4
  */
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>;
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;
@@ -1,76 +1,60 @@
1
+ import { tokens } from '@fluentui/react-theme';
1
2
  /**
2
3
  * Make-styles rules for the typography variants
3
4
  */
4
- export var caption = function (theme) {
5
- return {
6
- fontFamily: theme.fontFamilyBase,
7
- fontSize: theme.fontSizeBase200,
8
- lineHeight: theme.lineHeightBase200,
9
- fontWeight: theme.fontWeightRegular
10
- };
11
- };
12
- export var body = function (theme) {
13
- return {
14
- fontFamily: theme.fontFamilyBase,
15
- fontSize: theme.fontSizeBase300,
16
- lineHeight: theme.lineHeightBase300,
17
- fontWeight: theme.fontWeightRegular
18
- };
19
- };
20
- export var subheadline = function (theme) {
21
- return {
22
- fontFamily: theme.fontFamilyBase,
23
- fontSize: theme.fontSizeBase400,
24
- lineHeight: theme.lineHeightBase400,
25
- fontWeight: theme.fontWeightSemibold
26
- };
27
- };
28
- export var headline = function (theme) {
29
- return {
30
- fontFamily: theme.fontFamilyBase,
31
- fontSize: theme.fontSizeBase500,
32
- lineHeight: theme.lineHeightBase500,
33
- fontWeight: theme.fontWeightSemibold
34
- };
35
- };
36
- export var title3 = function (theme) {
37
- return {
38
- fontFamily: theme.fontFamilyBase,
39
- fontSize: theme.fontSizeBase600,
40
- lineHeight: theme.lineHeightBase600,
41
- fontWeight: theme.fontWeightSemibold
42
- };
43
- };
44
- export var title2 = function (theme) {
45
- return {
46
- fontFamily: theme.fontFamilyBase,
47
- fontSize: theme.fontSizeHero700,
48
- lineHeight: theme.lineHeightHero700,
49
- fontWeight: theme.fontWeightSemibold
50
- };
51
- };
52
- export var title1 = function (theme) {
53
- return {
54
- fontFamily: theme.fontFamilyBase,
55
- fontSize: theme.fontSizeHero800,
56
- lineHeight: theme.lineHeightHero800,
57
- fontWeight: theme.fontWeightSemibold
58
- };
59
- };
60
- export var largeTitle = function (theme) {
61
- return {
62
- fontFamily: theme.fontFamilyBase,
63
- fontSize: theme.fontSizeHero900,
64
- lineHeight: theme.lineHeightHero900,
65
- fontWeight: theme.fontWeightSemibold
66
- };
67
- };
68
- export var display = function (theme) {
69
- return {
70
- fontFamily: theme.fontFamilyBase,
71
- fontSize: theme.fontSizeHero1000,
72
- lineHeight: theme.lineHeightHero1000,
73
- fontWeight: theme.fontWeightSemibold
74
- };
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
75
59
  };
76
60
  //# sourceMappingURL=typographyStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/typographyStyles/typographyStyles.ts"],"names":[],"mappings":"AAGA;;AAEG;AACH,OAAO,IAAM,OAAO,GAAuC,UAAA,KAAA,EAAK;AAAI,SAAC;AACnE,IAAA,UAAU,EAAE,KAAK,CAAC,cADiD;AAEnE,IAAA,QAAQ,EAAE,KAAK,CAAC,eAFmD;AAGnE,IAAA,UAAU,EAAE,KAAK,CAAC,iBAHiD;AAInE,IAAA,UAAU,EAAE,KAAK,CAAC;AAJiD,GAAD;AAKlE,CALK;AAMP,OAAO,IAAM,IAAI,GAAuC,UAAA,KAAA,EAAK;AAAI,SAAC;AAChE,IAAA,UAAU,EAAE,KAAK,CAAC,cAD8C;AAEhE,IAAA,QAAQ,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C,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/"}
@@ -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/Body/index"), exports);
10
10
  //# sourceMappingURL=Body.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Body.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/Caption/index"), exports);
10
10
  //# sourceMappingURL=Caption.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Caption.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/Display/index"), exports);
10
10
  //# sourceMappingURL=Display.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Display.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/Headline/index"), exports);
10
10
  //# sourceMappingURL=Headline.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Headline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,6BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/LargeTitle/index"), exports);
10
10
  //# sourceMappingURL=LargeTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/LargeTitle.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,+BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/Subheadline/index"), exports);
10
10
  //# sourceMappingURL=Subheadline.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/Subheadline.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gCAAA,CAAA,EAAA,OAAA","sourceRoot":""}
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/"}
@@ -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/Text/index"), exports);
10
10
  //# sourceMappingURL=Text.js.map
@@ -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/"}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const bodyClassName = "fui-Body";
3
4
  /**
4
5
  * Text wrapper component for the Body typography variant
5
6
  */