@fluentui/react-text 9.4.20 → 9.4.22
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.
- package/CHANGELOG.md +25 -2
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.js +3 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.js +2 -0
- package/lib/components/Text/useTextStyles.styles.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/createPreset.js +1 -0
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +3 -1
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.js +1 -0
- package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -1
- package/lib-commonjs/components/presets/createPreset.js +1 -0
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js +58 -58
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,35 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 15 Jul 2024 17:20:02 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.22)
|
8
|
+
|
9
|
+
Mon, 15 Jul 2024 17:20:02 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.21..@fluentui/react-text_v9.4.22)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- fix: revert incorectly set npm versions in all packages ([PR #31937](https://github.com/microsoft/fluentui/pull/31937) by martinhochel@microsoft.com)
|
15
|
+
- Bump @fluentui/react-shared-contexts to v9.19.1 ([PR #31998](https://github.com/microsoft/fluentui/pull/31998) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v9.18.12 ([PR #31998](https://github.com/microsoft/fluentui/pull/31998) by beachball)
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.41 ([PR #31998](https://github.com/microsoft/fluentui/pull/31998) by beachball)
|
18
|
+
|
19
|
+
## [9.4.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.21)
|
20
|
+
|
21
|
+
Mon, 01 Jul 2024 20:30:36 GMT
|
22
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.20..@fluentui/react-text_v9.4.21)
|
23
|
+
|
24
|
+
### Patches
|
25
|
+
|
26
|
+
- chore: add eslint react-compiler ([PR #31457](https://github.com/microsoft/fluentui/pull/31457) by seanmonahan@microsoft.com)
|
27
|
+
- Bump @fluentui/react-utilities to v9.18.11 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
28
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.40 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
29
|
+
|
7
30
|
## [9.4.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.20)
|
8
31
|
|
9
|
-
Thu, 06 Jun 2024 15:
|
32
|
+
Thu, 06 Jun 2024 15:26:41 GMT
|
10
33
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.19..@fluentui/react-text_v9.4.20)
|
11
34
|
|
12
35
|
### Patches
|
package/lib/Body1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"mappings":"AAAA,cAAc,mCAAmC"}
|
1
|
+
{"version":3,"sources":["Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
|
package/lib/Body1Strong.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"mappings":"AAAA,cAAc,yCAAyC"}
|
1
|
+
{"version":3,"sources":["Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,yCAAyC"}
|
package/lib/Body1Stronger.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"mappings":"AAAA,cAAc,2CAA2C"}
|
1
|
+
{"version":3,"sources":["Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,2CAA2C"}
|
package/lib/Body2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"mappings":"AAAA,cAAc,mCAAmC"}
|
1
|
+
{"version":3,"sources":["Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
|
package/lib/Caption1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
1
|
+
{"version":3,"sources":["Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"mappings":"AAAA,cAAc,4CAA4C"}
|
1
|
+
{"version":3,"sources":["Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"mappings":"AAAA,cAAc,8CAA8C"}
|
1
|
+
{"version":3,"sources":["Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,8CAA8C"}
|
package/lib/Caption2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"mappings":"AAAA,cAAc,sCAAsC"}
|
1
|
+
{"version":3,"sources":["Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"mappings":"AAAA,cAAc,4CAA4C"}
|
1
|
+
{"version":3,"sources":["Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
|
package/lib/Display.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"mappings":"AAAA,cAAc,qCAAqC"}
|
1
|
+
{"version":3,"sources":["Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,qCAAqC"}
|
package/lib/LargeTitle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"mappings":"AAAA,cAAc,wCAAwC"}
|
1
|
+
{"version":3,"sources":["LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,wCAAwC"}
|
package/lib/Subtitle1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"mappings":"AAAA,cAAc,uCAAuC"}
|
1
|
+
{"version":3,"sources":["Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
|
package/lib/Subtitle2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"mappings":"AAAA,cAAc,uCAAuC"}
|
1
|
+
{"version":3,"sources":["Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"mappings":"AAAA,cAAc,+CAA+C"}
|
1
|
+
{"version":3,"sources":["Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,+CAA+C"}
|
package/lib/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"mappings":"AAAA,cAAc,0BAA0B"}
|
1
|
+
{"version":3,"sources":["Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,0BAA0B"}
|
package/lib/Title1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"mappings":"AAAA,cAAc,oCAAoC"}
|
1
|
+
{"version":3,"sources":["Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
|
package/lib/Title2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"mappings":"AAAA,cAAc,oCAAoC"}
|
1
|
+
{"version":3,"sources":["Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
|
package/lib/Title3.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"mappings":"AAAA,cAAc,oCAAoC"}
|
1
|
+
{"version":3,"sources":["Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
|
1
|
+
{"version":3,"sources":["Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"rangeMappings":";;","mappings":"AA0FA;;CAEC,GACD,WAMI"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,yBAAyB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"rangeMappings":";;;;","mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,yBAAyB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
1
|
+
{"version":3,"sources":["renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"rangeMappings":";;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
|
1
|
+
{"version":3,"sources":["useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
|
@@ -115,6 +115,8 @@ const useStyles = /*#__PURE__*/__styles({
|
|
115
115
|
* Apply styling to the Text slots based on the state
|
116
116
|
*/
|
117
117
|
export const useTextStyles_unstable = state => {
|
118
|
+
'use no memo';
|
119
|
+
|
118
120
|
const styles = useStyles();
|
119
121
|
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);
|
120
122
|
return state;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["__styles","mergeClasses","tokens","textClassNames","root","useStyles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","Bpg54ce","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","p","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"sources":["useTextStyles.styles.js"],"sourcesContent":["import { makeStyles, mergeClasses } 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 */ const 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 overflow: 'visible',\n textOverflow: 'clip'\n },\n nowrap: {\n whiteSpace: 'nowrap',\n 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 weightBold: {\n fontWeight: tokens.fontWeightBold\n },\n alignCenter: {\n textAlign: 'center'\n },\n alignEnd: {\n textAlign: 'end'\n },\n alignJustify: {\n textAlign: 'justify'\n }\n});\n/**\n * Apply styling to the Text slots based on the state\n */ export 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"],"mappings":"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","ignoreList":[]}
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","tokens","textClassNames","root","useStyles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","Bpg54ce","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","p","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"sources":["useTextStyles.styles.js"],"sourcesContent":["import { makeStyles, mergeClasses } 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 */ const 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 overflow: 'visible',\n textOverflow: 'clip'\n },\n nowrap: {\n whiteSpace: 'nowrap',\n 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 weightBold: {\n fontWeight: tokens.fontWeightBold\n },\n alignCenter: {\n textAlign: 'center'\n },\n alignEnd: {\n textAlign: 'end'\n },\n alignJustify: {\n textAlign: 'justify'\n }\n});\n/**\n * Apply styling to the Text slots based on the state\n */ export const useTextStyles_unstable = (state)=>{\n 'use no memo';\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"],"mappings":"AAAA,SAAAA,QAAA,EAAqBC,YAAY,QAAQ,gBAAgB;AACzD,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,OAAO,MAAMC,cAAc,GAAG;EAC1BC,IAAI,EAAE;AACV,CAAC;AACD;AACA;AACA;AAAI,MAAMC,SAAS,gBAAGL,QAAA;EAAAI,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;EAAAC,MAAA;IAAAL,MAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;EAAAG,QAAA;IAAAF,MAAA;EAAA;EAAAG,KAAA;IAAAR,MAAA;EAAA;EAAAS,MAAA;IAAAC,OAAA;EAAA;EAAAC,SAAA;IAAAC,MAAA;EAAA;EAAAC,aAAA;IAAAD,MAAA;EAAA;EAAAE,sBAAA;IAAAF,MAAA;EAAA;EAAAG,OAAA;IAAAnB,OAAA;IAAAC,OAAA;EAAA;EAAAmB,OAAA;IAAApB,OAAA;IAAAC,OAAA;EAAA;EAAAoB,OAAA;IAAArB,OAAA;IAAAC,OAAA;EAAA;EAAAqB,OAAA;IAAAtB,OAAA;IAAAC,OAAA;EAAA;EAAAsB,OAAA;IAAAvB,OAAA;IAAAC,OAAA;EAAA;EAAAuB,OAAA;IAAAxB,OAAA;IAAAC,OAAA;EAAA;EAAAwB,OAAA;IAAAzB,OAAA;IAAAC,OAAA;EAAA;EAAAyB,OAAA;IAAA1B,OAAA;IAAAC,OAAA;EAAA;EAAA0B,QAAA;IAAA3B,OAAA;IAAAC,OAAA;EAAA;EAAA2B,SAAA;IAAA7B,OAAA;EAAA;EAAA8B,OAAA;IAAA9B,OAAA;EAAA;EAAA+B,YAAA;IAAA5B,OAAA;EAAA;EAAA6B,cAAA;IAAA7B,OAAA;EAAA;EAAA8B,UAAA;IAAA9B,OAAA;EAAA;EAAA+B,WAAA;IAAA9B,MAAA;EAAA;EAAA+B,QAAA;IAAA/B,MAAA;EAAA;EAAAgC,YAAA;IAAAhC,MAAA;EAAA;AAAA;EAAAiC,CAAA;IAAAC,CAAA;EAAA;IAAAA,CAAA;EAAA;AAAA,CA8FrB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,sBAAsB,GAAIC,KAAK,IAAG;EAC/C,aAAa;;EACb,MAAMC,MAAM,GAAG1C,SAAS,CAAC,CAAC;EAC1ByC,KAAK,CAAC1C,IAAI,CAAC4C,SAAS,GAAG/C,YAAY,CAACE,cAAc,CAACC,IAAI,EAAE2C,MAAM,CAAC3C,IAAI,EAAE0C,KAAK,CAACG,IAAI,KAAK,KAAK,IAAIF,MAAM,CAAC9B,MAAM,EAAE6B,KAAK,CAAC5B,QAAQ,IAAI6B,MAAM,CAAC7B,QAAQ,EAAE4B,KAAK,CAAC3B,KAAK,IAAI4B,MAAM,CAAC5B,KAAK,EAAE2B,KAAK,CAAC1B,MAAM,IAAI2B,MAAM,CAAC3B,MAAM,EAAE0B,KAAK,CAACxB,SAAS,IAAIyB,MAAM,CAACzB,SAAS,EAAEwB,KAAK,CAACtB,aAAa,IAAIuB,MAAM,CAACvB,aAAa,EAAEsB,KAAK,CAACxB,SAAS,IAAIwB,KAAK,CAACtB,aAAa,IAAIuB,MAAM,CAACtB,sBAAsB,EAAEqB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACrB,OAAO,EAAEoB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACpB,OAAO,EAAEmB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACnB,OAAO,EAAEkB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAAClB,OAAO,EAAEiB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACjB,OAAO,EAAEgB,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAAChB,OAAO,EAAEe,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACf,OAAO,EAAEc,KAAK,CAACI,IAAI,KAAK,GAAG,IAAIH,MAAM,CAACd,OAAO,EAAEa,KAAK,CAACI,IAAI,KAAK,IAAI,IAAIH,MAAM,CAACb,QAAQ,EAAEY,KAAK,CAACK,IAAI,KAAK,WAAW,IAAIJ,MAAM,CAACZ,SAAS,EAAEW,KAAK,CAACK,IAAI,KAAK,SAAS,IAAIJ,MAAM,CAACX,OAAO,EAAEU,KAAK,CAACM,MAAM,KAAK,QAAQ,IAAIL,MAAM,CAACV,YAAY,EAAES,KAAK,CAACM,MAAM,KAAK,UAAU,IAAIL,MAAM,CAACT,cAAc,EAAEQ,KAAK,CAACM,MAAM,KAAK,MAAM,IAAIL,MAAM,CAACR,UAAU,EAAEO,KAAK,CAACO,KAAK,KAAK,QAAQ,IAAIN,MAAM,CAACP,WAAW,EAAEM,KAAK,CAACO,KAAK,KAAK,KAAK,IAAIN,MAAM,CAACN,QAAQ,EAAEK,KAAK,CAACO,KAAK,KAAK,SAAS,IAAIN,MAAM,CAACL,YAAY,EAAEI,KAAK,CAAC1C,IAAI,CAAC4C,SAAS,CAAC;EACllC,OAAOF,KAAK;AAChB,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["body1ClassNames"],"mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["body1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["body1StrongClassNames"],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,SAASA,qBAAqB,QAAQ,gCAAgC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["body1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,gBAAgB;AAC9B,SAASA,qBAAqB,QAAQ,gCAAgC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAAoDH,aAAa;IAC5EI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAAoDH,aAAa;IAC5EI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["body1StrongerClassNames"],"mappings":"AAAA,cAAc,kBAAkB;AAChC,SAASA,uBAAuB,QAAQ,kCAAkC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["body1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,kBAAkB;AAChC,SAASA,uBAAuB,QAAQ,kCAAkC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["body2ClassNames"],"mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["body2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["caption1ClassNames"],"mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["caption1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["caption1StrongClassNames"],"mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["caption1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAAuDH,aAAa;IAC/EI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAAuDH,aAAa;IAC/EI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["caption1StrongerClassNames"],"mappings":"AAAA,cAAc,qBAAqB;AACnC,SAASA,0BAA0B,QAAQ,+BAA+B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["caption1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,qBAAqB;AACnC,SAASA,0BAA0B,QAAQ,+BAA+B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["caption2ClassNames"],"mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["caption2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\n\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2StrongClassNames, useCaption2StrongStyles } from './useCaption2StrongStyles.styles';\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2StrongStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"],"names":["createPreset","caption2StrongClassNames","useCaption2StrongStyles","Caption2Strong","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAG/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\n\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2StrongClassNames, useCaption2StrongStyles } from './useCaption2StrongStyles.styles';\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2StrongStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"],"names":["createPreset","caption2StrongClassNames","useCaption2StrongStyles","Caption2Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAG/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2Strong';\nexport { caption2StrongClassNames } from './useCaption2StrongStyles.styles';\n"],"names":["caption2StrongClassNames"],"mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2Strong';\nexport { caption2StrongClassNames } from './useCaption2StrongStyles.styles';\n"],"names":["caption2StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { displayClassNames, useDisplayStyles } from './useDisplayStyles.styles';\n\n/**\n * Text preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useDisplayStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"],"names":["createPreset","displayClassNames","useDisplayStyles","Display","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAEhF;;CAEC,GACD,OAAO,MAAMC,UAA8CH,aAAa;IACtEI,WAAWF;IACXG,WAAWJ,kBAAkBK,IAAI;IACjCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { displayClassNames, useDisplayStyles } from './useDisplayStyles.styles';\n\n/**\n * Text preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useDisplayStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"],"names":["createPreset","displayClassNames","useDisplayStyles","Display","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,iBAAiB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAEhF;;CAEC,GACD,OAAO,MAAMC,UAA8CH,aAAa;IACtEI,WAAWF;IACXG,WAAWJ,kBAAkBK,IAAI;IACjCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Display';\nexport { displayClassNames } from './useDisplayStyles.styles';\n"],"names":["displayClassNames"],"mappings":"AAAA,cAAc,YAAY;AAC1B,SAASA,iBAAiB,QAAQ,4BAA4B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Display';\nexport { displayClassNames } from './useDisplayStyles.styles';\n"],"names":["displayClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,YAAY;AAC1B,SAASA,iBAAiB,QAAQ,4BAA4B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { largeTitleClassNames, useLargeTitleStyles } from './useLargeTitleStyles.styles';\n\n/**\n * Text preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useLargeTitleStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"],"names":["createPreset","largeTitleClassNames","useLargeTitleStyles","LargeTitle","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,oBAAoB,EAAEC,mBAAmB,QAAQ,+BAA+B;AAEzF;;CAEC,GACD,OAAO,MAAMC,aAAiDH,aAAa;IACzEI,WAAWF;IACXG,WAAWJ,qBAAqBK,IAAI;IACpCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { largeTitleClassNames, useLargeTitleStyles } from './useLargeTitleStyles.styles';\n\n/**\n * Text preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useLargeTitleStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"],"names":["createPreset","largeTitleClassNames","useLargeTitleStyles","LargeTitle","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,oBAAoB,EAAEC,mBAAmB,QAAQ,+BAA+B;AAEzF;;CAEC,GACD,OAAO,MAAMC,aAAiDH,aAAa;IACzEI,WAAWF;IACXG,WAAWJ,qBAAqBK,IAAI;IACpCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './LargeTitle';\nexport { largeTitleClassNames } from './useLargeTitleStyles.styles';\n"],"names":["largeTitleClassNames"],"mappings":"AAAA,cAAc,eAAe;AAC7B,SAASA,oBAAoB,QAAQ,+BAA+B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './LargeTitle';\nexport { largeTitleClassNames } from './useLargeTitleStyles.styles';\n"],"names":["largeTitleClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,eAAe;AAC7B,SAASA,oBAAoB,QAAQ,+BAA+B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle1ClassNames, useSubtitle1Styles } from './useSubtitle1Styles.styles';\n\n/**\n * Text preset component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle1Styles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"],"names":["createPreset","subtitle1ClassNames","useSubtitle1Styles","Subtitle1","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,mBAAmB,EAAEC,kBAAkB,QAAQ,8BAA8B;AAEtF;;CAEC,GACD,OAAO,MAAMC,YAAgDH,aAAa;IACxEI,WAAWF;IACXG,WAAWJ,oBAAoBK,IAAI;IACnCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["Subtitle1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { subtitle1ClassNames, useSubtitle1Styles } from './useSubtitle1Styles.styles';\n\n/**\n * Text preset component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useSubtitle1Styles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"],"names":["createPreset","subtitle1ClassNames","useSubtitle1Styles","Subtitle1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,mBAAmB,EAAEC,kBAAkB,QAAQ,8BAA8B;AAEtF;;CAEC,GACD,OAAO,MAAMC,YAAgDH,aAAa;IACxEI,WAAWF;IACXG,WAAWJ,oBAAoBK,IAAI;IACnCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle1';\nexport { subtitle1ClassNames } from './useSubtitle1Styles.styles';\n"],"names":["subtitle1ClassNames"],"mappings":"AAAA,cAAc,cAAc;AAC5B,SAASA,mBAAmB,QAAQ,8BAA8B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle1';\nexport { subtitle1ClassNames } from './useSubtitle1Styles.styles';\n"],"names":["subtitle1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,cAAc;AAC5B,SAASA,mBAAmB,QAAQ,8BAA8B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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"],"names":["createPreset","subtitle2ClassNames","useSubtitle2Styles","Subtitle2","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,mBAAmB,EAAEC,kBAAkB,QAAQ,8BAA8B;AAEtF;;CAEC,GACD,OAAO,MAAMC,YAAgDH,aAAa;IACxEI,WAAWF;IACXG,WAAWJ,oBAAoBK,IAAI;IACnCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["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"],"names":["createPreset","subtitle2ClassNames","useSubtitle2Styles","Subtitle2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,mBAAmB,EAAEC,kBAAkB,QAAQ,8BAA8B;AAEtF;;CAEC,GACD,OAAO,MAAMC,YAAgDH,aAAa;IACxEI,WAAWF;IACXG,WAAWJ,oBAAoBK,IAAI;IACnCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle2';\nexport { subtitle2ClassNames } from './useSubtitle2Styles.styles';\n"],"names":["subtitle2ClassNames"],"mappings":"AAAA,cAAc,cAAc;AAC5B,SAASA,mBAAmB,QAAQ,8BAA8B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle2';\nexport { subtitle2ClassNames } from './useSubtitle2Styles.styles';\n"],"names":["subtitle2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,cAAc;AAC5B,SAASA,mBAAmB,QAAQ,8BAA8B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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"],"names":["createPreset","subtitle2StrongerClassNames","useSubtitle2StrongerStyles","Subtitle2Stronger","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,2BAA2B,EAAEC,0BAA0B,QAAQ,gCAAgC;AAExG;;CAEC,GACD,OAAO,MAAMC,oBAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,4BAA4BK,IAAI;IAC3CC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["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"],"names":["createPreset","subtitle2StrongerClassNames","useSubtitle2StrongerStyles","Subtitle2Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,2BAA2B,EAAEC,0BAA0B,QAAQ,gCAAgC;AAExG;;CAEC,GACD,OAAO,MAAMC,oBAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,4BAA4BK,IAAI;IAC3CC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle2Stronger';\nexport { subtitle2StrongerClassNames } from './useSubtitle2Stronger.styles';\n"],"names":["subtitle2StrongerClassNames"],"mappings":"AAAA,cAAc,sBAAsB;AACpC,SAASA,2BAA2B,QAAQ,gCAAgC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Subtitle2Stronger';\nexport { subtitle2StrongerClassNames } from './useSubtitle2Stronger.styles';\n"],"names":["subtitle2StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,sBAAsB;AACpC,SAASA,2BAA2B,QAAQ,gCAAgC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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"],"names":["createPreset","title1ClassNames","useTitle1Styles","Title1","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["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"],"names":["createPreset","title1ClassNames","useTitle1Styles","Title1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title1';\nexport { title1ClassNames } from './useTitle1Styles.styles';\n"],"names":["title1ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title1';\nexport { title1ClassNames } from './useTitle1Styles.styles';\n"],"names":["title1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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"],"names":["createPreset","title2ClassNames","useTitle2Styles","Title2","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["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"],"names":["createPreset","title2ClassNames","useTitle2Styles","Title2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"names":["title2ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title2';\nexport { title2ClassNames } from './useTitle2Styles.styles';\n"],"names":["title2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["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"],"names":["createPreset","title3ClassNames","useTitle3Styles","Title3","useStyles","className","root","displayName"],"mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
1
|
+
{"version":3,"sources":["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"],"names":["createPreset","title3ClassNames","useTitle3Styles","Title3","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,gBAAgB,EAAEC,eAAe,QAAQ,2BAA2B;AAE7E;;CAEC,GACD,OAAO,MAAMC,SAA6CH,aAAa;IACrEI,WAAWF;IACXG,WAAWJ,iBAAiBK,IAAI;IAChCC,aAAa;AACf,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"names":["title3ClassNames"],"mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Title3';\nexport { title3ClassNames } from './useTitle3Styles.styles';\n"],"names":["title3ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,WAAW;AACzB,SAASA,gBAAgB,QAAQ,2BAA2B"}
|
@@ -4,6 +4,7 @@ import { renderText_unstable, useText_unstable, useTextStyles_unstable } from '.
|
|
4
4
|
export function createPreset(options) {
|
5
5
|
const { useStyles, className, displayName } = options;
|
6
6
|
const Wrapper = React.forwardRef((props, ref)=>{
|
7
|
+
'use no memo';
|
7
8
|
const styles = useStyles();
|
8
9
|
const state = useText_unstable(props, ref);
|
9
10
|
useTextStyles_unstable(state);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["createPreset.ts"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps, TextPresetProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport function createPreset(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextPresetProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextPresetProps> = 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"],"names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,UAAU;AAIxF,OAAO,SAASC,aAAaC,OAI5B;IACC,MAAM,EAAEC,SAAS,EAAEC,SAAS,EAAEC,WAAW,EAAE,GAAGH;IAC9C,MAAMI,UAAgDV,MAAMW,UAAU,CAAC,CAACC,OAAOC;QAC7E,MAAMC,SAASP;QACf,MAAMQ,QAAQZ,iBAAiBS,OAAoBC;QAEnDT,uBAAuBW;QAEvBA,MAAMC,IAAI,CAACR,SAAS,GAAGP,aAAaO,WAAWO,MAAMC,IAAI,CAACR,SAAS,EAAEM,OAAOE,IAAI,EAAEJ,MAAMJ,SAAS;QAEjG,OAAON,oBAAoBa;IAC7B;IACAL,QAAQD,WAAW,GAAGA;IAEtB,OAAOC;AACT"}
|
1
|
+
{"version":3,"sources":["createPreset.ts"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps, TextPresetProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport function createPreset(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextPresetProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextPresetProps> = React.forwardRef((props, ref) => {\n 'use no memo';\n\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"],"names":["React","mergeClasses","renderText_unstable","useText_unstable","useTextStyles_unstable","createPreset","options","useStyles","className","displayName","Wrapper","forwardRef","props","ref","styles","state","root"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,mBAAmB,EAAEC,gBAAgB,EAAEC,sBAAsB,QAAQ,UAAU;AAIxF,OAAO,SAASC,aAAaC,OAI5B;IACC,MAAM,EAAEC,SAAS,EAAEC,SAAS,EAAEC,WAAW,EAAE,GAAGH;IAC9C,MAAMI,UAAgDV,MAAMW,UAAU,CAAC,CAACC,OAAOC;QAC7E;QAEA,MAAMC,SAASP;QACf,MAAMQ,QAAQZ,iBAAiBS,OAAoBC;QAEnDT,uBAAuBW;QAEvBA,MAAMC,IAAI,CAACR,SAAS,GAAGP,aAAaO,WAAWO,MAAMC,IAAI,CAACR,SAAS,EAAEM,OAAOE,IAAI,EAAEJ,MAAMJ,SAAS;QAEjG,OAAON,oBAAoBa;IAC7B;IACAL,QAAQD,WAAW,GAAGA;IAEtB,OAAOC;AACT"}
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"mappings":"AAAA,SAASA,IAAI,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ,SAAS;AAE7G,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,WAAW,EAAEC,qBAAqB,QAAQ,gBAAgB;AACnE,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,kBAAkB;AACzE,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,gBAAgB,EAAEC,0BAA0B,QAAQ,qBAAqB;AAClF,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,YAAY;AACvD,SAASC,UAAU,EAAEC,oBAAoB,QAAQ,eAAe;AAChE,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,iBAAiB,EAAEC,2BAA2B,QAAQ,sBAAsB;AACrF,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"rangeMappings":";;;;;;;;;;;;;;;;;","mappings":"AAAA,SAASA,IAAI,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,sBAAsB,EAAEC,gBAAgB,QAAQ,SAAS;AAE7G,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,WAAW,EAAEC,qBAAqB,QAAQ,gBAAgB;AACnE,SAASC,aAAa,EAAEC,uBAAuB,QAAQ,kBAAkB;AACzE,SAASC,KAAK,EAAEC,eAAe,QAAQ,UAAU;AACjD,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,gBAAgB,EAAEC,0BAA0B,QAAQ,qBAAqB;AAClF,SAASC,QAAQ,EAAEC,kBAAkB,QAAQ,aAAa;AAC1D,SAASC,cAAc,EAAEC,wBAAwB,QAAQ,mBAAmB;AAC5E,SAASC,OAAO,EAAEC,iBAAiB,QAAQ,YAAY;AACvD,SAASC,UAAU,EAAEC,oBAAoB,QAAQ,eAAe;AAChE,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,SAAS,EAAEC,mBAAmB,QAAQ,cAAc;AAC7D,SAASC,iBAAiB,EAAEC,2BAA2B,QAAQ,sBAAsB;AACrF,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW;AACpD,SAASC,MAAM,EAAEC,gBAAgB,QAAQ,WAAW"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1.
|
1
|
+
{"version":3,"sources":["Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Strong.
|
1
|
+
{"version":3,"sources":["Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Stronger.
|
1
|
+
{"version":3,"sources":["Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body2.
|
1
|
+
{"version":3,"sources":["Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|