@fluentui/react-text 9.3.6 → 9.3.8

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 (226) hide show
  1. package/CHANGELOG.json +87 -1
  2. package/CHANGELOG.md +28 -2
  3. package/lib/components/Text/Text.js +3 -6
  4. package/lib/components/Text/Text.js.map +1 -1
  5. package/lib/components/Text/index.js +1 -1
  6. package/lib/components/Text/index.js.map +1 -1
  7. package/lib/components/Text/renderText.js +4 -4
  8. package/lib/components/Text/renderText.js.map +1 -1
  9. package/lib/components/Text/{useTextStyles.js → useTextStyles.styles.js} +1 -1
  10. package/lib/components/Text/useTextStyles.styles.js.map +1 -0
  11. package/lib/components/presets/Body1/Body1.js +2 -19
  12. package/lib/components/presets/Body1/Body1.js.map +1 -1
  13. package/lib/components/presets/Body1/index.js +1 -0
  14. package/lib/components/presets/Body1/index.js.map +1 -1
  15. package/lib/components/presets/Body1/useBody1Styles.styles.js +19 -0
  16. package/lib/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
  17. package/lib/components/presets/Body1Strong/Body1Strong.js +2 -19
  18. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  19. package/lib/components/presets/Body1Strong/index.js +1 -0
  20. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  21. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +19 -0
  22. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
  23. package/lib/components/presets/Body1Stronger/Body1Stronger.js +2 -19
  24. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  25. package/lib/components/presets/Body1Stronger/index.js +1 -0
  26. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  27. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +19 -0
  28. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
  29. package/lib/components/presets/Body2/Body2.js +2 -19
  30. package/lib/components/presets/Body2/Body2.js.map +1 -1
  31. package/lib/components/presets/Body2/index.js +1 -0
  32. package/lib/components/presets/Body2/index.js.map +1 -1
  33. package/lib/components/presets/Body2/useBody2Styles.styles.js +19 -0
  34. package/lib/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
  35. package/lib/components/presets/Caption1/Caption1.js +2 -19
  36. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  37. package/lib/components/presets/Caption1/index.js +1 -0
  38. package/lib/components/presets/Caption1/index.js.map +1 -1
  39. package/lib/components/presets/Caption1/useCaption1Styles.styles.js +19 -0
  40. package/lib/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
  41. package/lib/components/presets/Caption1Strong/Caption1Strong.js +2 -19
  42. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  43. package/lib/components/presets/Caption1Strong/index.js +1 -0
  44. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  45. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +19 -0
  46. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
  47. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +2 -19
  48. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  49. package/lib/components/presets/Caption1Stronger/index.js +1 -0
  50. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  51. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +19 -0
  52. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
  53. package/lib/components/presets/Caption2/Caption2.js +2 -19
  54. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  55. package/lib/components/presets/Caption2/index.js +1 -0
  56. package/lib/components/presets/Caption2/index.js.map +1 -1
  57. package/lib/components/presets/Caption2/useCaption2Styles.styles.js +19 -0
  58. package/lib/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
  59. package/lib/components/presets/Caption2Strong/Caption2Strong.js +2 -19
  60. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  61. package/lib/components/presets/Caption2Strong/index.js +1 -0
  62. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  63. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +19 -0
  64. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
  65. package/lib/components/presets/Display/Display.js +2 -19
  66. package/lib/components/presets/Display/Display.js.map +1 -1
  67. package/lib/components/presets/Display/index.js +1 -0
  68. package/lib/components/presets/Display/index.js.map +1 -1
  69. package/lib/components/presets/Display/useDisplayStyles.styles.js +19 -0
  70. package/lib/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
  71. package/lib/components/presets/LargeTitle/LargeTitle.js +2 -19
  72. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  73. package/lib/components/presets/LargeTitle/index.js +1 -0
  74. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  75. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +19 -0
  76. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
  77. package/lib/components/presets/Subtitle1/Subtitle1.js +2 -19
  78. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  79. package/lib/components/presets/Subtitle1/index.js +1 -0
  80. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  81. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +19 -0
  82. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
  83. package/lib/components/presets/Subtitle2/Subtitle2.js +2 -19
  84. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  85. package/lib/components/presets/Subtitle2/index.js +1 -0
  86. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  87. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +19 -0
  88. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
  89. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -19
  90. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  91. package/lib/components/presets/Subtitle2Stronger/index.js +1 -0
  92. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  93. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +19 -0
  94. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
  95. package/lib/components/presets/Title1/Title1.js +2 -19
  96. package/lib/components/presets/Title1/Title1.js.map +1 -1
  97. package/lib/components/presets/Title1/index.js +1 -0
  98. package/lib/components/presets/Title1/index.js.map +1 -1
  99. package/lib/components/presets/Title1/useTitle1Styles.styles.js +19 -0
  100. package/lib/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
  101. package/lib/components/presets/Title2/Title2.js +2 -19
  102. package/lib/components/presets/Title2/Title2.js.map +1 -1
  103. package/lib/components/presets/Title2/index.js +1 -0
  104. package/lib/components/presets/Title2/index.js.map +1 -1
  105. package/lib/components/presets/Title2/useTitle2Styles.styles.js +19 -0
  106. package/lib/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
  107. package/lib/components/presets/Title3/Title3.js +2 -19
  108. package/lib/components/presets/Title3/Title3.js.map +1 -1
  109. package/lib/components/presets/Title3/index.js +1 -0
  110. package/lib/components/presets/Title3/index.js.map +1 -1
  111. package/lib/components/presets/Title3/useTitle3Styles.styles.js +19 -0
  112. package/lib/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
  113. package/lib-commonjs/components/Text/Text.js +3 -4
  114. package/lib-commonjs/components/Text/Text.js.map +1 -1
  115. package/lib-commonjs/components/Text/index.js +1 -1
  116. package/lib-commonjs/components/Text/index.js.map +1 -1
  117. package/lib-commonjs/components/Text/renderText.js +4 -5
  118. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  119. package/lib-commonjs/components/Text/{useTextStyles.js → useTextStyles.styles.js} +2 -2
  120. package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -0
  121. package/lib-commonjs/components/presets/Body1/Body1.js +6 -32
  122. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  123. package/lib-commonjs/components/presets/Body1/index.js +5 -0
  124. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  125. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +35 -0
  126. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
  127. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +6 -32
  128. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  129. package/lib-commonjs/components/presets/Body1Strong/index.js +5 -0
  130. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  131. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +35 -0
  132. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
  133. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +6 -32
  134. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  135. package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -0
  136. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  137. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +35 -0
  138. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
  139. package/lib-commonjs/components/presets/Body2/Body2.js +6 -32
  140. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  141. package/lib-commonjs/components/presets/Body2/index.js +5 -0
  142. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  143. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +35 -0
  144. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
  145. package/lib-commonjs/components/presets/Caption1/Caption1.js +6 -32
  146. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  147. package/lib-commonjs/components/presets/Caption1/index.js +5 -0
  148. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  149. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +35 -0
  150. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
  151. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +6 -32
  152. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  153. package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -0
  154. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  155. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +35 -0
  156. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
  157. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +6 -32
  158. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  159. package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -0
  160. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  161. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +35 -0
  162. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
  163. package/lib-commonjs/components/presets/Caption2/Caption2.js +6 -32
  164. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  165. package/lib-commonjs/components/presets/Caption2/index.js +5 -0
  166. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  167. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +35 -0
  168. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
  169. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +6 -32
  170. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  171. package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -0
  172. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  173. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +35 -0
  174. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
  175. package/lib-commonjs/components/presets/Display/Display.js +6 -32
  176. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  177. package/lib-commonjs/components/presets/Display/index.js +5 -0
  178. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  179. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +35 -0
  180. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
  181. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +6 -32
  182. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  183. package/lib-commonjs/components/presets/LargeTitle/index.js +5 -0
  184. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  185. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +35 -0
  186. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
  187. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +6 -32
  188. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  189. package/lib-commonjs/components/presets/Subtitle1/index.js +5 -0
  190. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  191. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +35 -0
  192. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
  193. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +6 -32
  194. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  195. package/lib-commonjs/components/presets/Subtitle2/index.js +5 -0
  196. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  197. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +35 -0
  198. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
  199. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +6 -32
  200. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  201. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -0
  202. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  203. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +35 -0
  204. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
  205. package/lib-commonjs/components/presets/Title1/Title1.js +6 -32
  206. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  207. package/lib-commonjs/components/presets/Title1/index.js +5 -0
  208. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  209. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +35 -0
  210. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
  211. package/lib-commonjs/components/presets/Title2/Title2.js +6 -32
  212. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  213. package/lib-commonjs/components/presets/Title2/index.js +5 -0
  214. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  215. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +35 -0
  216. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
  217. package/lib-commonjs/components/presets/Title3/Title3.js +6 -32
  218. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  219. package/lib-commonjs/components/presets/Title3/index.js +5 -0
  220. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  221. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +35 -0
  222. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
  223. package/package.json +6 -5
  224. package/.swcrc +0 -30
  225. package/lib/components/Text/useTextStyles.js.map +0 -1
  226. package/lib-commonjs/components/Text/useTextStyles.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","subtitle2ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Subtitle2","className","displayName"],"sources":["../../../../src/components/presets/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text preset component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"],"mappings":"AACA,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,mBAAA,GAAiD;EAC5DC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,SAAA,gBAAgDV,YAAA,CAAa;EACxEI,SAAA;EACAO,SAAA,EAAWT,mBAAA,CAAoBC,IAAI;EACnCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","subtitle2ClassNames","useSubtitle2Styles","Subtitle2","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Subtitle2/Subtitle2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle2ClassNames, useSubtitle2Styles } from './useSubtitle2Styles.styles';\n\n/**\n * Text preset component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle2Styles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,mBAAmB,EAAEC,kBAAkB,QAAQ;AAExD;;;AAGA,OAAO,MAAMC,SAAA,gBAAgDH,YAAA,CAAa;EACxEI,SAAA,EAAWF,kBAAA;EACXG,SAAA,EAAWJ,mBAAA,CAAoBK,IAAI;EACnCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Subtitle2';
2
+ export { subtitle2ClassNames } from './useSubtitle2Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Subtitle2/index.ts"],"sourcesContent":["export * from './Subtitle2';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["subtitle2ClassNames"],"sources":["../../../../src/components/presets/Subtitle2/index.ts"],"sourcesContent":["export * from './Subtitle2';\nexport { subtitle2ClassNames } from './useSubtitle2Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,mBAAmB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const subtitle2ClassNames = {
4
+ root: 'fui-Subtitle2'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */
9
+ export const useSubtitle2Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fod5ikn",
13
+ Bhrd7zp: "fl43uef",
14
+ Bg96gwp: "faaz57k"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
18
+ });
19
+ //# sourceMappingURL=useSubtitle2Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","subtitle2ClassNames","root","useSubtitle2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Subtitle2/useSubtitle2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useSubtitle2Styles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,mBAAA,GAAiD;EAC5DC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,kBAAA,gBAAqBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElC"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const subtitle2StrongerClassNames = {
5
- root: 'fui-Subtitle2Stronger'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fod5ikn",
14
- Bhrd7zp: "flh3ekv",
15
- Bg96gwp: "faaz57k"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
19
- });
2
+ import { subtitle2StrongerClassNames, useSubtitle2StrongerStyles } from './useSubtitle2Stronger.styles';
20
3
  /**
21
4
  * Text preset component for the Subtitle2Stronger typography variant
22
5
  */
23
6
  export const Subtitle2Stronger = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useSubtitle2StrongerStyles,
25
8
  className: subtitle2StrongerClassNames.root,
26
9
  displayName: 'Subtitle2Stronger'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","subtitle2StrongerClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Subtitle2Stronger","className","displayName"],"sources":["../../../../src/components/presets/Subtitle2Stronger/Subtitle2Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2Stronger,\n});\n\n/**\n * Text preset component for the Subtitle2Stronger typography variant\n */\nexport const Subtitle2Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: subtitle2StrongerClassNames.root,\n displayName: 'Subtitle2Stronger',\n});\n"],"mappings":"AACA,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,2BAAA,GAAyD;EACpEC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,iBAAA,gBAAwDV,YAAA,CAAa;EAChFI,SAAA;EACAO,SAAA,EAAWT,2BAAA,CAA4BC,IAAI;EAC3CS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","subtitle2StrongerClassNames","useSubtitle2StrongerStyles","Subtitle2Stronger","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Subtitle2Stronger/Subtitle2Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle2StrongerClassNames, useSubtitle2StrongerStyles } from './useSubtitle2Stronger.styles';\n\n/**\n * Text preset component for the Subtitle2Stronger typography variant\n */\nexport const Subtitle2Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle2StrongerStyles,\n className: subtitle2StrongerClassNames.root,\n displayName: 'Subtitle2Stronger',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,2BAA2B,EAAEC,0BAA0B,QAAQ;AAExE;;;AAGA,OAAO,MAAMC,iBAAA,gBAAwDH,YAAA,CAAa;EAChFI,SAAA,EAAWF,0BAAA;EACXG,SAAA,EAAWJ,2BAAA,CAA4BK,IAAI;EAC3CC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Subtitle2Stronger';
2
+ export { subtitle2StrongerClassNames } from './useSubtitle2Stronger.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Subtitle2Stronger/index.ts"],"sourcesContent":["export * from './Subtitle2Stronger';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["subtitle2StrongerClassNames"],"sources":["../../../../src/components/presets/Subtitle2Stronger/index.ts"],"sourcesContent":["export * from './Subtitle2Stronger';\nexport { subtitle2StrongerClassNames } from './useSubtitle2Stronger.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,2BAA2B,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const subtitle2StrongerClassNames = {
4
+ root: 'fui-Subtitle2Stronger'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */
9
+ export const useSubtitle2StrongerStyles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fod5ikn",
13
+ Bhrd7zp: "flh3ekv",
14
+ Bg96gwp: "faaz57k"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
18
+ });
19
+ //# sourceMappingURL=useSubtitle2Stronger.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","subtitle2StrongerClassNames","root","useSubtitle2StrongerStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useSubtitle2StrongerStyles = makeStyles({\n root: typographyStyles.subtitle2Stronger,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,2BAAA,GAAyD;EACpEC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,0BAAA,gBAA6BJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1C"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const title1ClassNames = {
5
- root: 'fui-Title1'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fccw675",
14
- Bhrd7zp: "fl43uef",
15
- Bg96gwp: "f1ebx5kk"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}"]
19
- });
2
+ import { title1ClassNames, useTitle1Styles } from './useTitle1Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Title 1 typography variant
22
5
  */
23
6
  export const Title1 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useTitle1Styles,
25
8
  className: title1ClassNames.root,
26
9
  displayName: 'Title1'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","title1ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Title1","className","displayName"],"sources":["../../../../src/components/presets/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"],"mappings":"AACA,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CV,YAAA,CAAa;EACrEI,SAAA;EACAO,SAAA,EAAWT,gBAAA,CAAiBC,IAAI;EAChCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","title1ClassNames","useTitle1Styles","Title1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title1/Title1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title1ClassNames, useTitle1Styles } from './useTitle1Styles.styles';\n\n/**\n * Text preset component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle1Styles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Title1';
2
+ export { title1ClassNames } from './useTitle1Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["title1ClassNames"],"sources":["../../../../src/components/presets/Title1/index.ts"],"sourcesContent":["export * from './Title1';\nexport { title1ClassNames } from './useTitle1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const title1ClassNames = {
4
+ root: 'fui-Title1'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */
9
+ export const useTitle1Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fccw675",
13
+ Bhrd7zp: "fl43uef",
14
+ Bg96gwp: "f1ebx5kk"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}"]
18
+ });
19
+ //# sourceMappingURL=useTitle1Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","title1ClassNames","root","useTitle1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title1/useTitle1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle1Styles = makeStyles({\n root: typographyStyles.title1,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const title2ClassNames = {
5
- root: 'fui-Title2'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "fojgt09",
14
- Bhrd7zp: "fl43uef",
15
- Bg96gwp: "fcen8rp"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcen8rp{line-height:var(--lineHeightHero700);}"]
19
- });
2
+ import { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Title 2 typography variant
22
5
  */
23
6
  export const Title2 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useTitle2Styles,
25
8
  className: title2ClassNames.root,
26
9
  displayName: 'Title2'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","title2ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Title2","className","displayName"],"sources":["../../../../src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"mappings":"AACA,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CV,YAAA,CAAa;EACrEI,SAAA;EACAO,SAAA,EAAWT,gBAAA,CAAiBC,IAAI;EAChCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","title2ClassNames","useTitle2Styles","Title2","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title2/Title2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title2ClassNames, useTitle2Styles } from './useTitle2Styles.styles';\n\n/**\n * Text preset component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle2Styles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Title2';
2
+ export { title2ClassNames } from './useTitle2Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["title2ClassNames"],"sources":["../../../../src/components/presets/Title2/index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const title2ClassNames = {
4
+ root: 'fui-Title2'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */
9
+ export const useTitle2Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "fojgt09",
13
+ Bhrd7zp: "fl43uef",
14
+ Bg96gwp: "fcen8rp"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcen8rp{line-height:var(--lineHeightHero700);}"]
18
+ });
19
+ //# sourceMappingURL=useTitle2Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","title2ClassNames","root","useTitle2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title2/useTitle2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle2Styles = makeStyles({\n root: typographyStyles.title2,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
@@ -1,27 +1,10 @@
1
- import { __styles } from '@griffel/react';
2
1
  import { createPreset } from '../createPreset';
3
- import { typographyStyles } from '@fluentui/react-theme';
4
- export const title3ClassNames = {
5
- root: 'fui-Title3'
6
- };
7
- /**
8
- * Styles for the root slot
9
- */
10
- const useStyles = /*#__PURE__*/__styles({
11
- root: {
12
- Bahqtrf: "fk6fouc",
13
- Be2twd7: "f1x0m3f5",
14
- Bhrd7zp: "fl43uef",
15
- Bg96gwp: "fb86gi6"
16
- }
17
- }, {
18
- d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fb86gi6{line-height:var(--lineHeightBase600);}"]
19
- });
2
+ import { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';
20
3
  /**
21
4
  * Text preset component for the Title 3 typography variant
22
5
  */
23
6
  export const Title3 = /*#__PURE__*/createPreset({
24
- useStyles,
7
+ useStyles: useTitle3Styles,
25
8
  className: title3ClassNames.root,
26
9
  displayName: 'Title3'
27
10
  });
@@ -1 +1 @@
1
- {"version":3,"names":["__styles","createPreset","typographyStyles","title3ClassNames","root","useStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Title3","className","displayName"],"sources":["../../../../src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"mappings":"AACA,SAAAA,QAAA,QAA2B;AAC3B,SAASC,YAAY,QAAQ;AAG7B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,MAAMC,SAAA,gBAAYL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAElB;AAEA;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CV,YAAA,CAAa;EACrEI,SAAA;EACAO,SAAA,EAAWT,gBAAA,CAAiBC,IAAI;EAChCS,WAAA,EAAa;AACf"}
1
+ {"version":3,"names":["createPreset","title3ClassNames","useTitle3Styles","Title3","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Title3/Title3.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { title3ClassNames, useTitle3Styles } from './useTitle3Styles.styles';\n\n/**\n * Text preset component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useTitle3Styles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,gBAAgB,EAAEC,eAAe,QAAQ;AAElD;;;AAGA,OAAO,MAAMC,MAAA,gBAA6CH,YAAA,CAAa;EACrEI,SAAA,EAAWF,eAAA;EACXG,SAAA,EAAWJ,gBAAA,CAAiBK,IAAI;EAChCC,WAAA,EAAa;AACf"}
@@ -1,2 +1,3 @@
1
1
  export * from './Title3';
2
+ export { title3ClassNames } from './useTitle3Styles.styles';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../../src/components/presets/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"],"mappings":"AAAA,cAAc"}
1
+ {"version":3,"names":["title3ClassNames"],"sources":["../../../../src/components/presets/Title3/index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,gBAAgB,QAAQ"}
@@ -0,0 +1,19 @@
1
+ import { __styles } from '@griffel/react';
2
+ import { typographyStyles } from '@fluentui/react-theme';
3
+ export const title3ClassNames = {
4
+ root: 'fui-Title3'
5
+ };
6
+ /**
7
+ * Styles for the root slot
8
+ */
9
+ export const useTitle3Styles = /*#__PURE__*/__styles({
10
+ root: {
11
+ Bahqtrf: "fk6fouc",
12
+ Be2twd7: "f1x0m3f5",
13
+ Bhrd7zp: "fl43uef",
14
+ Bg96gwp: "fb86gi6"
15
+ }
16
+ }, {
17
+ d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fb86gi6{line-height:var(--lineHeightBase600);}"]
18
+ });
19
+ //# sourceMappingURL=useTitle3Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__styles","typographyStyles","title3ClassNames","root","useTitle3Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Title3/useTitle3Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useTitle3Styles = makeStyles({\n root: typographyStyles.title3,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,gBAAA,GAA8C;EACzDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,eAAA,gBAAkBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE/B"}
@@ -10,13 +10,12 @@ const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildc
10
10
  const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
11
11
  const _useText = require("./useText");
12
12
  const _renderText = require("./renderText");
13
- const _useTextStyles = require("./useTextStyles");
13
+ const _useTextStylesStyles = require("./useTextStyles.styles");
14
14
  const _reactSharedContexts = require("@fluentui/react-shared-contexts");
15
15
  const Text = /*#__PURE__*/ _react.forwardRef((props, ref)=>{
16
16
  const state = (0, _useText.useText_unstable)(props, ref);
17
- (0, _useTextStyles.useTextStyles_unstable)(state);
18
- const { useTextStyles_unstable: useCustomStyles } = (0, _reactSharedContexts.useCustomStyleHooks_unstable)();
19
- useCustomStyles(state);
17
+ (0, _useTextStylesStyles.useTextStyles_unstable)(state);
18
+ (0, _reactSharedContexts.useCustomStyleHook_unstable)('useTextStyles_unstable')(state);
20
19
  return (0, _renderText.renderText_unstable)(state);
21
20
  // Work around some small mismatches in inferred types which don't matter in practice
22
21
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/Text.js"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles';\nimport { useCustomStyleHooks_unstable } from '@fluentui/react-shared-contexts';\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n useTextStyles_unstable(state);\n const {\n useTextStyles_unstable: useCustomStyles\n } = useCustomStyleHooks_unstable();\n useCustomStyles(state);\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n});\n\nText.displayName = 'Text';\n//# sourceMappingURL=Text.js.map"],"names":["Text","React","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyles","useCustomStyleHooks_unstable","renderText_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;yBACU;4BACG;+BACG;qCACM;AAItC,MAAMA,OAAO,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IAChE,MAAMC,QAAQC,IAAAA,yBAAgB,EAACH,OAAOC;IACtCG,IAAAA,qCAAsB,EAACF;IACvB,MAAM,EACJE,wBAAwBC,gBAAe,EACxC,GAAGC,IAAAA,iDAA4B;IAChCD,gBAAgBH;IAChB,OAAOK,IAAAA,+BAAmB,EAACL;AAC3B,qFAAqF;AACvF;AAEAL,KAAKW,WAAW,GAAG,QACnB,gCAAgC"}
1
+ {"version":3,"sources":["../../../lib/components/Text/Text.js"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text = /*#__PURE__*/React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n useTextStyles_unstable(state);\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n});\n\nText.displayName = 'Text';\n//# sourceMappingURL=Text.js.map"],"names":["Text","React","forwardRef","props","ref","state","useText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","renderText_unstable","displayName"],"mappings":";;;;+BAQaA;;aAAAA;;;6DARU;yBACU;4BACG;qCACG;qCACK;AAIrC,MAAMA,OAAO,WAAW,GAAEC,OAAMC,UAAU,CAAC,CAACC,OAAOC,MAAQ;IAChE,MAAMC,QAAQC,IAAAA,yBAAgB,EAACH,OAAOC;IACtCG,IAAAA,2CAAsB,EAACF;IACvBG,IAAAA,gDAA2B,EAAC,0BAA0BH;IACtD,OAAOI,IAAAA,+BAAmB,EAACJ;AAC3B,qFAAqF;AACvF;AAEAL,KAAKU,WAAW,GAAG,QACnB,gCAAgC"}
@@ -7,7 +7,7 @@ _exportStar(require("./Text"), exports);
7
7
  _exportStar(require("./Text.types"), exports);
8
8
  _exportStar(require("./renderText"), exports);
9
9
  _exportStar(require("./useText"), exports);
10
- _exportStar(require("./useTextStyles"), exports);
10
+ _exportStar(require("./useTextStyles.styles"), exports);
11
11
  //# sourceMappingURL=index.js.map
12
12
 
13
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/index.js"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
1
+ {"version":3,"sources":["../../../lib/components/Text/index.js"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;oBACA;oBACA;oBACA;oBACA;CACd,iCAAiC"}
@@ -1,4 +1,4 @@
1
- "use strict";
1
+ /** @jsxRuntime classic */ /** @jsx createElement */ "use strict";
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "renderText_unstable", {
6
6
  enumerable: true,
7
7
  get: ()=>renderText_unstable
8
8
  });
9
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
10
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
9
+ const _reactJsxRuntime = require("@fluentui/react-jsx-runtime");
11
10
  const _reactUtilities = require("@fluentui/react-utilities");
12
11
  const renderText_unstable = (state)=>{
13
- const { slots , slotProps } = (0, _reactUtilities.getSlots)(state);
14
- return /*#__PURE__*/ _react.createElement(slots.root, slotProps.root);
12
+ const { slots , slotProps } = (0, _reactUtilities.getSlotsNext)(state);
13
+ return /*#__PURE__*/ (0, _reactJsxRuntime.createElement)(slots.root, slotProps.root);
15
14
  }; //# sourceMappingURL=renderText.js.map
16
15
 
17
16
  //# sourceMappingURL=renderText.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../lib/components/Text/renderText.js"],"sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlots(state);\n return /*#__PURE__*/React.createElement(slots.root, slotProps.root);\n};\n//# sourceMappingURL=renderText.js.map"],"names":["renderText_unstable","state","slots","slotProps","getSlots","React","createElement","root"],"mappings":";;;;+BAKaA;;aAAAA;;;6DALU;gCACE;AAIlB,MAAMA,sBAAsBC,CAAAA,QAAS;IAC1C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,wBAAQ,EAACH;IACb,OAAO,WAAW,GAAEI,OAAMC,aAAa,CAACJ,MAAMK,IAAI,EAAEJ,UAAUI,IAAI;AACpE,GACA,sCAAsC"}
1
+ {"version":3,"sources":["../../../lib/components/Text/renderText.js"],"sourcesContent":["/** @jsxRuntime classic */ /** @jsx createElement */import { createElement } from '@fluentui/react-jsx-runtime';\nimport { getSlotsNext } from '@fluentui/react-utilities';\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = state => {\n const {\n slots,\n slotProps\n } = getSlotsNext(state);\n return /*#__PURE__*/createElement(slots.root, slotProps.root);\n};\n//# sourceMappingURL=renderText.js.map"],"names":["renderText_unstable","state","slots","slotProps","getSlotsNext","createElement","root"],"mappings":"AAAA,wBAAwB,GAAG,uBAAuB;;;;+BAKrCA;;aAAAA;;iCALqE;gCACrD;AAItB,MAAMA,sBAAsBC,CAAAA,QAAS;IAC1C,MAAM,EACJC,MAAK,EACLC,UAAS,EACV,GAAGC,IAAAA,4BAAY,EAACH;IACjB,OAAO,WAAW,GAAEI,IAAAA,8BAAa,EAACH,MAAMI,IAAI,EAAEH,UAAUG,IAAI;AAC9D,GACA,sCAAsC"}
@@ -167,6 +167,6 @@ const useTextStyles_unstable = (state)=>{
167
167
  const styles = useStyles();
168
168
  state.root.className = (0, _react.mergeClasses)(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
169
169
  return state;
170
- }; //# sourceMappingURL=useTextStyles.js.map
170
+ }; //# sourceMappingURL=useTextStyles.styles.js.map
171
171
 
172
- //# sourceMappingURL=useTextStyles.js.map
172
+ //# sourceMappingURL=useTextStyles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../lib/components/Text/useTextStyles.styles.js"],"sourcesContent":["import { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nexport const textClassNames = {\n root: 'fui-Text'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bg96gwp: \"f1i3iumi\",\n Bhrd7zp: \"figsok6\",\n fsow6f: \"fpgzoln\",\n mc9l5x: \"f1w7gpdv\",\n Huce71: \"f6juhto\",\n B68tc82: \"f1mtd64y\",\n Bmxbyg5: \"f1y7q3j9\",\n ygn44y: \"f2jf649\"\n },\n nowrap: {\n Huce71: \"fz5stix\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\"\n },\n truncate: {\n ygn44y: \"f1cmbuwj\"\n },\n block: {\n mc9l5x: \"ftgm304\"\n },\n italic: {\n B80ckks: \"f1j4dglz\"\n },\n underline: {\n w71qe1: \"f13mvf36\"\n },\n strikethrough: {\n w71qe1: \"fv5q2k7\"\n },\n strikethroughUnderline: {\n w71qe1: \"f1drk4o6\"\n },\n base100: {\n Be2twd7: \"f13mqy1h\",\n Bg96gwp: \"fcpl73t\"\n },\n base200: {\n Be2twd7: \"fy9rknc\",\n Bg96gwp: \"fwrc4pm\"\n },\n base400: {\n Be2twd7: \"fod5ikn\",\n Bg96gwp: \"faaz57k\"\n },\n base500: {\n Be2twd7: \"f1pp30po\",\n Bg96gwp: \"f106mvju\"\n },\n base600: {\n Be2twd7: \"f1x0m3f5\",\n Bg96gwp: \"fb86gi6\"\n },\n hero700: {\n Be2twd7: \"fojgt09\",\n Bg96gwp: \"fcen8rp\"\n },\n hero800: {\n Be2twd7: \"fccw675\",\n Bg96gwp: \"f1ebx5kk\"\n },\n hero900: {\n Be2twd7: \"f15afnhw\",\n Bg96gwp: \"fr3w3wp\"\n },\n hero1000: {\n Be2twd7: \"fpyltcb\",\n Bg96gwp: \"f1ivgwrt\"\n },\n monospace: {\n Bahqtrf: \"f1fedwem\"\n },\n numeric: {\n Bahqtrf: \"f1uq0ln5\"\n },\n weightMedium: {\n Bhrd7zp: \"fdj6btp\"\n },\n weightSemibold: {\n Bhrd7zp: \"fl43uef\"\n },\n weightBold: {\n Bhrd7zp: \"flh3ekv\"\n },\n alignCenter: {\n fsow6f: \"f17mccla\"\n },\n alignEnd: {\n fsow6f: \"f12ymhq5\"\n },\n alignJustify: {\n fsow6f: \"f1j59e10\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fpgzoln{text-align:start;}\", \".f1w7gpdv{display:inline;}\", \".f6juhto{white-space:normal;}\", \".f1mtd64y{overflow-x:visible;}\", \".f1y7q3j9{overflow-y:visible;}\", \".f2jf649{text-overflow:clip;}\", \".fz5stix{white-space:nowrap;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1cmbuwj{text-overflow:ellipsis;}\", \".ftgm304{display:block;}\", \".f1j4dglz{font-style:italic;}\", \".f13mvf36{text-decoration-line:underline;}\", \".fv5q2k7{text-decoration-line:line-through;}\", \".f1drk4o6{text-decoration-line:line-through underline;}\", \".f13mqy1h{font-size:var(--fontSizeBase100);}\", \".fcpl73t{line-height:var(--lineHeightBase100);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".fwrc4pm{line-height:var(--lineHeightBase200);}\", \".fod5ikn{font-size:var(--fontSizeBase400);}\", \".faaz57k{line-height:var(--lineHeightBase400);}\", \".f1pp30po{font-size:var(--fontSizeBase500);}\", \".f106mvju{line-height:var(--lineHeightBase500);}\", \".f1x0m3f5{font-size:var(--fontSizeBase600);}\", \".fb86gi6{line-height:var(--lineHeightBase600);}\", \".fojgt09{font-size:var(--fontSizeHero700);}\", \".fcen8rp{line-height:var(--lineHeightHero700);}\", \".fccw675{font-size:var(--fontSizeHero800);}\", \".f1ebx5kk{line-height:var(--lineHeightHero800);}\", \".f15afnhw{font-size:var(--fontSizeHero900);}\", \".fr3w3wp{line-height:var(--lineHeightHero900);}\", \".fpyltcb{font-size:var(--fontSizeHero1000);}\", \".f1ivgwrt{line-height:var(--lineHeightHero1000);}\", \".f1fedwem{font-family:var(--fontFamilyMonospace);}\", \".f1uq0ln5{font-family:var(--fontFamilyNumeric);}\", \".fdj6btp{font-weight:var(--fontWeightMedium);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".flh3ekv{font-weight:var(--fontWeightBold);}\", \".f17mccla{text-align:center;}\", \".f12ymhq5{text-align:end;}\", \".f1j59e10{text-align:justify;}\"]\n});\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = state => {\n const styles = useStyles();\n state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);\n return state;\n};\n//# sourceMappingURL=useTextStyles.styles.js.map"],"names":["textClassNames","useTextStyles_unstable","root","useStyles","__styles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","state","styles","className","mergeClasses","wrap","size","font","weight","align"],"mappings":";;;;;;;;;;;IAEaA,cAAc,MAAdA;IA4GAC,sBAAsB,MAAtBA;;uBA9GsC;AAE5C,MAAMD,iBAAiB;IAC5BE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,QAAQ;IACV;IACAC,QAAQ;QACNJ,QAAQ;QACRC,SAAS;QACTC,SAAS;IACX;IACAG,UAAU;QACRF,QAAQ;IACV;IACAG,OAAO;QACLP,QAAQ;IACV;IACAQ,QAAQ;QACNC,SAAS;IACX;IACAC,WAAW;QACTC,QAAQ;IACV;IACAC,eAAe;QACbD,QAAQ;IACV;IACAE,wBAAwB;QACtBF,QAAQ;IACV;IACAG,SAAS;QACPlB,SAAS;QACTC,SAAS;IACX;IACAkB,SAAS;QACPnB,SAAS;QACTC,SAAS;IACX;IACAmB,SAAS;QACPpB,SAAS;QACTC,SAAS;IACX;IACAoB,SAAS;QACPrB,SAAS;QACTC,SAAS;IACX;IACAqB,SAAS;QACPtB,SAAS;QACTC,SAAS;IACX;IACAsB,SAAS;QACPvB,SAAS;QACTC,SAAS;IACX;IACAuB,SAAS;QACPxB,SAAS;QACTC,SAAS;IACX;IACAwB,SAAS;QACPzB,SAAS;QACTC,SAAS;IACX;IACAyB,UAAU;QACR1B,SAAS;QACTC,SAAS;IACX;IACA0B,WAAW;QACT5B,SAAS;IACX;IACA6B,SAAS;QACP7B,SAAS;IACX;IACA8B,cAAc;QACZ3B,SAAS;IACX;IACA4B,gBAAgB;QACd5B,SAAS;IACX;IACA6B,YAAY;QACV7B,SAAS;IACX;IACA8B,aAAa;QACX7B,QAAQ;IACV;IACA8B,UAAU;QACR9B,QAAQ;IACV;IACA+B,cAAc;QACZ/B,QAAQ;IACV;AACF,GAAG;IACDgC,GAAG;QAAC;QAAgD;QAA+C;QAAoD;QAAmD;QAA+B;QAA8B;QAAiC;QAAkC;QAAkC;QAAiC;QAAiC;QAAiC;QAAiC;QAAsC;QAA4B;QAAiC;QAA8C;QAAgD;QAA2D;QAAgD;QAAmD;QAA+C;QAAmD;QAA+C;QAAmD;QAAgD;QAAoD;QAAgD;QAAmD;QAA+C;QAAmD;QAA+C;QAAoD;QAAgD;QAAmD;QAAgD;QAAqD;QAAsD;QAAoD;QAAkD;QAAoD;QAAgD;QAAiC;QAA8B;KAAiC;AACz8D;AAIO,MAAMxC,yBAAyByC,CAAAA,QAAS;IAC7C,MAAMC,SAASxC;IACfuC,MAAMxC,IAAI,CAAC0C,SAAS,GAAGC,IAAAA,mBAAY,EAAC7C,eAAeE,IAAI,EAAEyC,OAAOzC,IAAI,EAAEwC,MAAMI,IAAI,KAAK,KAAK,IAAIH,OAAO5B,MAAM,EAAE2B,MAAM1B,QAAQ,IAAI2B,OAAO3B,QAAQ,EAAE0B,MAAMzB,KAAK,IAAI0B,OAAO1B,KAAK,EAAEyB,MAAMxB,MAAM,IAAIyB,OAAOzB,MAAM,EAAEwB,MAAMtB,SAAS,IAAIuB,OAAOvB,SAAS,EAAEsB,MAAMpB,aAAa,IAAIqB,OAAOrB,aAAa,EAAEoB,MAAMtB,SAAS,IAAIsB,MAAMpB,aAAa,IAAIqB,OAAOpB,sBAAsB,EAAEmB,MAAMK,IAAI,KAAK,OAAOJ,OAAOnB,OAAO,EAAEkB,MAAMK,IAAI,KAAK,OAAOJ,OAAOlB,OAAO,EAAEiB,MAAMK,IAAI,KAAK,OAAOJ,OAAOjB,OAAO,EAAEgB,MAAMK,IAAI,KAAK,OAAOJ,OAAOhB,OAAO,EAAEe,MAAMK,IAAI,KAAK,OAAOJ,OAAOf,OAAO,EAAEc,MAAMK,IAAI,KAAK,OAAOJ,OAAOd,OAAO,EAAEa,MAAMK,IAAI,KAAK,OAAOJ,OAAOb,OAAO,EAAEY,MAAMK,IAAI,KAAK,OAAOJ,OAAOZ,OAAO,EAAEW,MAAMK,IAAI,KAAK,QAAQJ,OAAOX,QAAQ,EAAEU,MAAMM,IAAI,KAAK,eAAeL,OAAOV,SAAS,EAAES,MAAMM,IAAI,KAAK,aAAaL,OAAOT,OAAO,EAAEQ,MAAMO,MAAM,KAAK,YAAYN,OAAOR,YAAY,EAAEO,MAAMO,MAAM,KAAK,cAAcN,OAAOP,cAAc,EAAEM,MAAMO,MAAM,KAAK,UAAUN,OAAON,UAAU,EAAEK,MAAMQ,KAAK,KAAK,YAAYP,OAAOL,WAAW,EAAEI,MAAMQ,KAAK,KAAK,SAASP,OAAOJ,QAAQ,EAAEG,MAAMQ,KAAK,KAAK,aAAaP,OAAOH,YAAY,EAAEE,MAAMxC,IAAI,CAAC0C,SAAS;IACjlC,OAAOF;AACT,GACA,gDAAgD"}
@@ -2,41 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- body1ClassNames: ()=>body1ClassNames,
13
- Body1: ()=>Body1
5
+ Object.defineProperty(exports, "Body1", {
6
+ enumerable: true,
7
+ get: ()=>Body1
14
8
  });
15
- const _react = require("@griffel/react");
16
9
  const _createPreset = require("../createPreset");
17
- const body1ClassNames = {
18
- root: 'fui-Body1'
19
- };
20
- /**
21
- * Styles for the root slot
22
- */ const useStyles = /*#__PURE__*/ (0, _react["__styles"])({
23
- root: {
24
- Bahqtrf: "fk6fouc",
25
- Be2twd7: "fkhj508",
26
- Bhrd7zp: "figsok6",
27
- Bg96gwp: "f1i3iumi"
28
- }
29
- }, {
30
- d: [
31
- ".fk6fouc{font-family:var(--fontFamilyBase);}",
32
- ".fkhj508{font-size:var(--fontSizeBase300);}",
33
- ".figsok6{font-weight:var(--fontWeightRegular);}",
34
- ".f1i3iumi{line-height:var(--lineHeightBase300);}"
35
- ]
36
- });
10
+ const _useBody1StylesStyles = require("./useBody1Styles.styles");
37
11
  const Body1 = /*#__PURE__*/ (0, _createPreset.createPreset)({
38
- useStyles,
39
- className: body1ClassNames.root,
12
+ useStyles: _useBody1StylesStyles.useBody1Styles,
13
+ className: _useBody1StylesStyles.body1ClassNames.root,
40
14
  displayName: 'Body1'
41
15
  }); //# sourceMappingURL=Body1.js.map
42
16
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../lib/components/presets/Body1/Body1.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */\nconst useStyles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"figsok6\",\n Bg96gwp: \"f1i3iumi\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\"]\n});\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1 = /*#__PURE__*/createPreset({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1'\n});\n//# sourceMappingURL=Body1.js.map"],"names":["body1ClassNames","Body1","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","createPreset","className","displayName"],"mappings":";;;;;;;;;;;IAGaA,eAAe,MAAfA;IAmBAC,KAAK,MAALA;;uBAtBY;8BACI;AAEtB,MAAMD,kBAAkB;IAC7BE,MAAM;AACR;AACA;;CAEC,GACD,MAAMC,YAAY,WAAW,GAAEC,IAAAA,kBAAQ,EAAC;IACtCF,MAAM;QACJG,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAmD;KAAmD;AAC3M;AAIO,MAAMR,QAAQ,WAAW,GAAES,IAAAA,0BAAY,EAAC;IAC7CP;IACAQ,WAAWX,gBAAgBE,IAAI;IAC/BU,aAAa;AACf,IACA,iCAAiC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1/Body1.js"],"sourcesContent":["import { createPreset } from '../createPreset';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1 = /*#__PURE__*/createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1'\n});\n//# sourceMappingURL=Body1.js.map"],"names":["Body1","createPreset","useStyles","useBody1Styles","className","body1ClassNames","root","displayName"],"mappings":";;;;+BAKaA;;aAAAA;;8BALgB;sCACmB;AAIzC,MAAMA,QAAQ,WAAW,GAAEC,IAAAA,0BAAY,EAAC;IAC7CC,WAAWC,oCAAc;IACzBC,WAAWC,qCAAe,CAACC,IAAI;IAC/BC,aAAa;AACf,IACA,iCAAiC"}
@@ -2,8 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
+ Object.defineProperty(exports, "body1ClassNames", {
6
+ enumerable: true,
7
+ get: ()=>_useBody1StylesStyles.body1ClassNames
8
+ });
5
9
  const _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
10
  _exportStar(require("./Body1"), exports);
11
+ const _useBody1StylesStyles = require("./useBody1Styles.styles");
7
12
  //# sourceMappingURL=index.js.map
8
13
 
9
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../lib/components/presets/Body1/index.js"],"sourcesContent":["export * from './Body1';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;oBAAc;CACd,iCAAiC"}
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1/index.js"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n//# sourceMappingURL=index.js.map"],"names":["body1ClassNames"],"mappings":";;;;+BACSA;;aAAAA,qCAAe;;;oBADV;sCACkB;CAChC,iCAAiC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ body1ClassNames: ()=>body1ClassNames,
13
+ useBody1Styles: ()=>useBody1Styles
14
+ });
15
+ const _react = require("@griffel/react");
16
+ const body1ClassNames = {
17
+ root: 'fui-Body1'
18
+ };
19
+ const useBody1Styles = /*#__PURE__*/ (0, _react["__styles"])({
20
+ root: {
21
+ Bahqtrf: "fk6fouc",
22
+ Be2twd7: "fkhj508",
23
+ Bhrd7zp: "figsok6",
24
+ Bg96gwp: "f1i3iumi"
25
+ }
26
+ }, {
27
+ d: [
28
+ ".fk6fouc{font-family:var(--fontFamilyBase);}",
29
+ ".fkhj508{font-size:var(--fontSizeBase300);}",
30
+ ".figsok6{font-weight:var(--fontWeightRegular);}",
31
+ ".f1i3iumi{line-height:var(--lineHeightBase300);}"
32
+ ]
33
+ }); //# sourceMappingURL=useBody1Styles.styles.js.map
34
+
35
+ //# sourceMappingURL=useBody1Styles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../lib/components/presets/Body1/useBody1Styles.styles.js"],"sourcesContent":["import { __styles } from '@griffel/react';\nimport { typographyStyles } from '@fluentui/react-theme';\nexport const body1ClassNames = {\n root: 'fui-Body1'\n};\n/**\n * Styles for the root slot\n */\nexport const useBody1Styles = /*#__PURE__*/__styles({\n root: {\n Bahqtrf: \"fk6fouc\",\n Be2twd7: \"fkhj508\",\n Bhrd7zp: \"figsok6\",\n Bg96gwp: \"f1i3iumi\"\n }\n}, {\n d: [\".fk6fouc{font-family:var(--fontFamilyBase);}\", \".fkhj508{font-size:var(--fontSizeBase300);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".f1i3iumi{line-height:var(--lineHeightBase300);}\"]\n});\n//# sourceMappingURL=useBody1Styles.styles.js.map"],"names":["body1ClassNames","useBody1Styles","root","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"mappings":";;;;;;;;;;;IAEaA,eAAe,MAAfA;IAMAC,cAAc,MAAdA;;uBARY;AAElB,MAAMD,kBAAkB;IAC7BE,MAAM;AACR;AAIO,MAAMD,iBAAiB,WAAW,GAAEE,IAAAA,kBAAQ,EAAC;IAClDD,MAAM;QACJE,SAAS;QACTC,SAAS;QACTC,SAAS;QACTC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;QAAgD;QAA+C;QAAmD;KAAmD;AAC3M,IACA,iDAAiD"}