@fluentui/react-text 9.0.0-alpha.9 → 9.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +744 -1
- package/CHANGELOG.md +254 -2
- package/dist/react-text.d.ts +61 -49
- package/lib/Body.js.map +1 -1
- package/lib/Caption.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/Headline.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subheadline.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/Body/Body.d.ts +4 -1
- package/lib/components/Body/Body.js +10 -8
- package/lib/components/Body/Body.js.map +1 -1
- package/lib/components/Body/index.js.map +1 -1
- package/lib/components/Caption/Caption.d.ts +4 -1
- package/lib/components/Caption/Caption.js +10 -8
- package/lib/components/Caption/Caption.js.map +1 -1
- package/lib/components/Caption/index.js.map +1 -1
- package/lib/components/Display/Display.d.ts +4 -1
- package/lib/components/Display/Display.js +10 -8
- package/lib/components/Display/Display.js.map +1 -1
- package/lib/components/Display/index.js.map +1 -1
- package/lib/components/Headline/Headline.d.ts +4 -1
- package/lib/components/Headline/Headline.js +10 -8
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/index.js.map +1 -1
- package/lib/components/LargeTitle/LargeTitle.d.ts +4 -1
- package/lib/components/LargeTitle/LargeTitle.js +10 -8
- package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/LargeTitle/index.js.map +1 -1
- package/lib/components/Subheadline/Subheadline.d.ts +4 -1
- package/lib/components/Subheadline/Subheadline.js +10 -8
- package/lib/components/Subheadline/Subheadline.js.map +1 -1
- package/lib/components/Subheadline/index.js.map +1 -1
- package/lib/components/Text/Text.d.ts +2 -2
- package/lib/components/Text/Text.js +3 -3
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.d.ts +20 -29
- 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 +7 -8
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.d.ts +1 -2
- package/lib/components/Text/useText.js +37 -8
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.d.ts +1 -0
- package/lib/components/Text/useTextStyles.js +32 -31
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/Title1/Title1.d.ts +4 -1
- package/lib/components/Title1/Title1.js +10 -8
- package/lib/components/Title1/Title1.js.map +1 -1
- package/lib/components/Title1/index.js.map +1 -1
- package/lib/components/Title2/Title2.d.ts +4 -1
- package/lib/components/Title2/Title2.js +10 -8
- package/lib/components/Title2/Title2.js.map +1 -1
- package/lib/components/Title2/index.js.map +1 -1
- package/lib/components/Title3/Title3.d.ts +4 -1
- package/lib/components/Title3/Title3.js +10 -8
- package/lib/components/Title3/Title3.js.map +1 -1
- package/lib/components/Title3/index.js.map +1 -1
- package/lib/components/wrapper.d.ts +3 -3
- package/lib/components/wrapper.js +9 -6
- package/lib/components/wrapper.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/typographyStyles/index.js.map +1 -1
- package/lib/typographyStyles/typographyStyles.js +54 -72
- package/lib/typographyStyles/typographyStyles.js.map +1 -1
- package/lib-commonjs/Body.js +1 -1
- package/lib-commonjs/Body.js.map +1 -1
- package/lib-commonjs/Caption.js +1 -1
- package/lib-commonjs/Caption.js.map +1 -1
- package/lib-commonjs/Display.js +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/Headline.js +1 -1
- package/lib-commonjs/Headline.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subheadline.js +1 -1
- package/lib-commonjs/Subheadline.js.map +1 -1
- package/lib-commonjs/Text.js +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Body/Body.d.ts +4 -1
- package/lib-commonjs/components/Body/Body.js +9 -7
- package/lib-commonjs/components/Body/Body.js.map +1 -1
- package/lib-commonjs/components/Body/index.js +1 -1
- package/lib-commonjs/components/Body/index.js.map +1 -1
- package/lib-commonjs/components/Caption/Caption.d.ts +4 -1
- package/lib-commonjs/components/Caption/Caption.js +9 -7
- package/lib-commonjs/components/Caption/Caption.js.map +1 -1
- package/lib-commonjs/components/Caption/index.js +1 -1
- package/lib-commonjs/components/Caption/index.js.map +1 -1
- package/lib-commonjs/components/Display/Display.d.ts +4 -1
- package/lib-commonjs/components/Display/Display.js +9 -7
- package/lib-commonjs/components/Display/Display.js.map +1 -1
- package/lib-commonjs/components/Display/index.js +1 -1
- package/lib-commonjs/components/Display/index.js.map +1 -1
- package/lib-commonjs/components/Headline/Headline.d.ts +4 -1
- package/lib-commonjs/components/Headline/Headline.js +9 -7
- package/lib-commonjs/components/Headline/Headline.js.map +1 -1
- package/lib-commonjs/components/Headline/index.js +1 -1
- package/lib-commonjs/components/Headline/index.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +4 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js +9 -7
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/index.js +1 -1
- package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/Subheadline/Subheadline.d.ts +4 -1
- package/lib-commonjs/components/Subheadline/Subheadline.js +9 -7
- package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
- package/lib-commonjs/components/Subheadline/index.js +1 -1
- package/lib-commonjs/components/Subheadline/index.js.map +1 -1
- package/lib-commonjs/components/Text/Text.d.ts +2 -2
- package/lib-commonjs/components/Text/Text.js +7 -7
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.d.ts +20 -29
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +8 -10
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.d.ts +1 -2
- package/lib-commonjs/components/Text/useText.js +38 -9
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.d.ts +1 -0
- package/lib-commonjs/components/Text/useTextStyles.js +35 -34
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/Title1/Title1.d.ts +4 -1
- package/lib-commonjs/components/Title1/Title1.js +9 -7
- package/lib-commonjs/components/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/Title1/index.js +1 -1
- package/lib-commonjs/components/Title1/index.js.map +1 -1
- package/lib-commonjs/components/Title2/Title2.d.ts +4 -1
- package/lib-commonjs/components/Title2/Title2.js +9 -7
- package/lib-commonjs/components/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/Title2/index.js +1 -1
- package/lib-commonjs/components/Title2/index.js.map +1 -1
- package/lib-commonjs/components/Title3/Title3.d.ts +4 -1
- package/lib-commonjs/components/Title3/Title3.js +9 -7
- package/lib-commonjs/components/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/Title3/index.js +1 -1
- package/lib-commonjs/components/Title3/index.js.map +1 -1
- package/lib-commonjs/components/wrapper.d.ts +3 -3
- package/lib-commonjs/components/wrapper.js +12 -9
- package/lib-commonjs/components/wrapper.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/typographyStyles/index.js +1 -1
- package/lib-commonjs/typographyStyles/index.js.map +1 -1
- package/lib-commonjs/typographyStyles/typographyStyles.js +54 -72
- package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -1
- package/package.json +11 -10
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -9
- package/lib/common/isConformant.js.map +0 -1
- package/lib-amd/Body.d.ts +0 -1
- package/lib-amd/Body.js +0 -6
- package/lib-amd/Body.js.map +0 -1
- package/lib-amd/Caption.d.ts +0 -1
- package/lib-amd/Caption.js +0 -6
- package/lib-amd/Caption.js.map +0 -1
- package/lib-amd/Display.d.ts +0 -1
- package/lib-amd/Display.js +0 -6
- package/lib-amd/Display.js.map +0 -1
- package/lib-amd/Headline.d.ts +0 -1
- package/lib-amd/Headline.js +0 -6
- package/lib-amd/Headline.js.map +0 -1
- package/lib-amd/LargeTitle.d.ts +0 -1
- package/lib-amd/LargeTitle.js +0 -6
- package/lib-amd/LargeTitle.js.map +0 -1
- package/lib-amd/Subheadline.d.ts +0 -1
- package/lib-amd/Subheadline.js +0 -6
- package/lib-amd/Subheadline.js.map +0 -1
- package/lib-amd/Text.d.ts +0 -1
- package/lib-amd/Text.js +0 -6
- package/lib-amd/Text.js.map +0 -1
- package/lib-amd/Title1.d.ts +0 -1
- package/lib-amd/Title1.js +0 -6
- package/lib-amd/Title1.js.map +0 -1
- package/lib-amd/Title2.d.ts +0 -1
- package/lib-amd/Title2.js +0 -6
- package/lib-amd/Title2.js.map +0 -1
- package/lib-amd/Title3.d.ts +0 -1
- package/lib-amd/Title3.js +0 -6
- package/lib-amd/Title3.js.map +0 -1
- package/lib-amd/common/isConformant.d.ts +0 -4
- package/lib-amd/common/isConformant.js +0 -14
- package/lib-amd/common/isConformant.js.map +0 -1
- package/lib-amd/components/Body/Body.d.ts +0 -4
- package/lib-amd/components/Body/Body.js +0 -16
- package/lib-amd/components/Body/Body.js.map +0 -1
- package/lib-amd/components/Body/index.d.ts +0 -1
- package/lib-amd/components/Body/index.js +0 -6
- package/lib-amd/components/Body/index.js.map +0 -1
- package/lib-amd/components/Caption/Caption.d.ts +0 -4
- package/lib-amd/components/Caption/Caption.js +0 -16
- package/lib-amd/components/Caption/Caption.js.map +0 -1
- package/lib-amd/components/Caption/index.d.ts +0 -1
- package/lib-amd/components/Caption/index.js +0 -6
- package/lib-amd/components/Caption/index.js.map +0 -1
- package/lib-amd/components/Display/Display.d.ts +0 -4
- package/lib-amd/components/Display/Display.js +0 -16
- package/lib-amd/components/Display/Display.js.map +0 -1
- package/lib-amd/components/Display/index.d.ts +0 -1
- package/lib-amd/components/Display/index.js +0 -6
- package/lib-amd/components/Display/index.js.map +0 -1
- package/lib-amd/components/Headline/Headline.d.ts +0 -4
- package/lib-amd/components/Headline/Headline.js +0 -16
- package/lib-amd/components/Headline/Headline.js.map +0 -1
- package/lib-amd/components/Headline/index.d.ts +0 -1
- package/lib-amd/components/Headline/index.js +0 -6
- package/lib-amd/components/Headline/index.js.map +0 -1
- package/lib-amd/components/LargeTitle/LargeTitle.d.ts +0 -4
- package/lib-amd/components/LargeTitle/LargeTitle.js +0 -16
- package/lib-amd/components/LargeTitle/LargeTitle.js.map +0 -1
- package/lib-amd/components/LargeTitle/index.d.ts +0 -1
- package/lib-amd/components/LargeTitle/index.js +0 -6
- package/lib-amd/components/LargeTitle/index.js.map +0 -1
- package/lib-amd/components/Subheadline/Subheadline.d.ts +0 -4
- package/lib-amd/components/Subheadline/Subheadline.js +0 -16
- package/lib-amd/components/Subheadline/Subheadline.js.map +0 -1
- package/lib-amd/components/Subheadline/index.d.ts +0 -1
- package/lib-amd/components/Subheadline/index.js +0 -6
- package/lib-amd/components/Subheadline/index.js.map +0 -1
- package/lib-amd/components/Text/Text.d.ts +0 -6
- package/lib-amd/components/Text/Text.js +0 -15
- package/lib-amd/components/Text/Text.js.map +0 -1
- package/lib-amd/components/Text/Text.types.d.ts +0 -86
- package/lib-amd/components/Text/Text.types.js +0 -5
- package/lib-amd/components/Text/Text.types.js.map +0 -1
- package/lib-amd/components/Text/index.d.ts +0 -5
- package/lib-amd/components/Text/index.js +0 -10
- package/lib-amd/components/Text/index.js.map +0 -1
- package/lib-amd/components/Text/renderText.d.ts +0 -5
- package/lib-amd/components/Text/renderText.js +0 -14
- package/lib-amd/components/Text/renderText.js.map +0 -1
- package/lib-amd/components/Text/useText.d.ts +0 -13
- package/lib-amd/components/Text/useText.js +0 -25
- package/lib-amd/components/Text/useText.js.map +0 -1
- package/lib-amd/components/Text/useTextStyles.d.ts +0 -5
- package/lib-amd/components/Text/useTextStyles.js +0 -110
- package/lib-amd/components/Text/useTextStyles.js.map +0 -1
- package/lib-amd/components/Title1/Title1.d.ts +0 -4
- package/lib-amd/components/Title1/Title1.js +0 -16
- package/lib-amd/components/Title1/Title1.js.map +0 -1
- package/lib-amd/components/Title1/index.d.ts +0 -1
- package/lib-amd/components/Title1/index.js +0 -6
- package/lib-amd/components/Title1/index.js.map +0 -1
- package/lib-amd/components/Title2/Title2.d.ts +0 -4
- package/lib-amd/components/Title2/Title2.js +0 -16
- package/lib-amd/components/Title2/Title2.js.map +0 -1
- package/lib-amd/components/Title2/index.d.ts +0 -1
- package/lib-amd/components/Title2/index.js +0 -6
- package/lib-amd/components/Title2/index.js.map +0 -1
- package/lib-amd/components/Title3/Title3.d.ts +0 -4
- package/lib-amd/components/Title3/Title3.js +0 -16
- package/lib-amd/components/Title3/Title3.js.map +0 -1
- package/lib-amd/components/Title3/index.d.ts +0 -1
- package/lib-amd/components/Title3/index.js +0 -6
- package/lib-amd/components/Title3/index.js.map +0 -1
- package/lib-amd/components/wrapper.d.ts +0 -8
- package/lib-amd/components/wrapper.js +0 -19
- package/lib-amd/components/wrapper.js.map +0 -1
- package/lib-amd/index.d.ts +0 -10
- package/lib-amd/index.js +0 -15
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/typographyStyles/index.d.ts +0 -2
- package/lib-amd/typographyStyles/index.js +0 -7
- package/lib-amd/typographyStyles/index.js.map +0 -1
- package/lib-amd/typographyStyles/typographyStyles.d.ts +0 -14
- package/lib-amd/typographyStyles/typographyStyles.js +0 -72
- package/lib-amd/typographyStyles/typographyStyles.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -19
- package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -1,14 +1,15 @@
|
|
1
1
|
import { __styles, mergeClasses } from '@fluentui/react-make-styles';
|
2
|
+
export const textClassName = 'fui-Text';
|
2
3
|
/**
|
3
4
|
* Styles for the root slot
|
4
5
|
*/
|
5
6
|
|
6
|
-
|
7
|
+
const useStyles = /*#__PURE__*/__styles({
|
7
8
|
"root": {
|
8
|
-
"Bahqtrf": "
|
9
|
-
"Be2twd7": "
|
10
|
-
"Bg96gwp": "
|
11
|
-
"Bhrd7zp": "
|
9
|
+
"Bahqtrf": "fk6fouc",
|
10
|
+
"Be2twd7": "fkhj508",
|
11
|
+
"Bg96gwp": "f1i3iumi",
|
12
|
+
"Bhrd7zp": "figsok6",
|
12
13
|
"fsow6f": "fpgzoln",
|
13
14
|
"mc9l5x": "f1w7gpdv",
|
14
15
|
"Huce71": "f6juhto",
|
@@ -38,52 +39,52 @@ var useStyles = /*#__PURE__*/__styles({
|
|
38
39
|
"dwov6y": "f13legbo"
|
39
40
|
},
|
40
41
|
"base100": {
|
41
|
-
"Be2twd7": "
|
42
|
-
"Bg96gwp": "
|
42
|
+
"Be2twd7": "f13mqy1h",
|
43
|
+
"Bg96gwp": "fcpl73t"
|
43
44
|
},
|
44
45
|
"base200": {
|
45
|
-
"Be2twd7": "
|
46
|
-
"Bg96gwp": "
|
46
|
+
"Be2twd7": "fy9rknc",
|
47
|
+
"Bg96gwp": "fwrc4pm"
|
47
48
|
},
|
48
49
|
"base400": {
|
49
|
-
"Be2twd7": "
|
50
|
-
"Bg96gwp": "
|
50
|
+
"Be2twd7": "fod5ikn",
|
51
|
+
"Bg96gwp": "faaz57k"
|
51
52
|
},
|
52
53
|
"base500": {
|
53
|
-
"Be2twd7": "
|
54
|
-
"Bg96gwp": "
|
54
|
+
"Be2twd7": "f1pp30po",
|
55
|
+
"Bg96gwp": "f106mvju"
|
55
56
|
},
|
56
57
|
"base600": {
|
57
|
-
"Be2twd7": "
|
58
|
-
"Bg96gwp": "
|
58
|
+
"Be2twd7": "f1x0m3f5",
|
59
|
+
"Bg96gwp": "fb86gi6"
|
59
60
|
},
|
60
61
|
"hero700": {
|
61
|
-
"Be2twd7": "
|
62
|
-
"Bg96gwp": "
|
62
|
+
"Be2twd7": "fojgt09",
|
63
|
+
"Bg96gwp": "fcen8rp"
|
63
64
|
},
|
64
65
|
"hero800": {
|
65
|
-
"Be2twd7": "
|
66
|
-
"Bg96gwp": "
|
66
|
+
"Be2twd7": "fccw675",
|
67
|
+
"Bg96gwp": "f1ebx5kk"
|
67
68
|
},
|
68
69
|
"hero900": {
|
69
|
-
"Be2twd7": "
|
70
|
-
"Bg96gwp": "
|
70
|
+
"Be2twd7": "f15afnhw",
|
71
|
+
"Bg96gwp": "fr3w3wp"
|
71
72
|
},
|
72
73
|
"hero1000": {
|
73
|
-
"Be2twd7": "
|
74
|
-
"Bg96gwp": "
|
74
|
+
"Be2twd7": "fpyltcb",
|
75
|
+
"Bg96gwp": "f1ivgwrt"
|
75
76
|
},
|
76
77
|
"monospace": {
|
77
|
-
"Bahqtrf": "
|
78
|
+
"Bahqtrf": "f1fedwem"
|
78
79
|
},
|
79
80
|
"numeric": {
|
80
|
-
"Bahqtrf": "
|
81
|
+
"Bahqtrf": "f1uq0ln5"
|
81
82
|
},
|
82
83
|
"weightMedium": {
|
83
|
-
"Bhrd7zp": "
|
84
|
+
"Bhrd7zp": "fdj6btp"
|
84
85
|
},
|
85
86
|
"weightSemibold": {
|
86
|
-
"Bhrd7zp": "
|
87
|
+
"Bhrd7zp": "fl43uef"
|
87
88
|
},
|
88
89
|
"alignCenter": {
|
89
90
|
"fsow6f": "f17mccla"
|
@@ -95,16 +96,16 @@ var useStyles = /*#__PURE__*/__styles({
|
|
95
96
|
"fsow6f": "f1j59e10"
|
96
97
|
}
|
97
98
|
}, {
|
98
|
-
"d": [".
|
99
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fpgzoln{text-align:start;}", ".f1w7gpdv{display:inline;}", ".f6juhto{white-space:normal;}", ".f1gl81tg{overflow:visible;}", ".f2jf649{text-overflow:clip;}", ".fz5stix{white-space:nowrap;}", ".f1a3p1vp{overflow:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".ftgm304{display:block;}", ".f1j4dglz{font-style:italic;}", ".fctto54{-webkit-text-decoration:underline;text-decoration:underline;}", ".f1y2xhd0{-webkit-text-decoration:line-through;text-decoration:line-through;}", ".f13legbo{-webkit-text-decoration:line-through underline;text-decoration:line-through underline;}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fcpl73t{line-height:var(--lineHeightBase100);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}", ".f1fedwem{font-family:var(--fontFamilyMonospace);}", ".f1uq0ln5{font-family:var(--fontFamilyNumeric);}", ".fdj6btp{font-weight:var(--fontWeightMedium);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f17mccla{text-align:center;}", ".f12ymhq5{text-align:end;}", ".f1j59e10{text-align:justify;}"]
|
99
100
|
});
|
100
101
|
/**
|
101
102
|
* Apply styling to the Text slots based on the state
|
102
103
|
*/
|
103
104
|
|
104
105
|
|
105
|
-
export
|
106
|
-
|
107
|
-
state.className = mergeClasses(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.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.className);
|
106
|
+
export const useTextStyles = state => {
|
107
|
+
const styles = useStyles();
|
108
|
+
state.root.className = mergeClasses(textClassName, 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.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
|
108
109
|
return state;
|
109
110
|
};
|
110
111
|
//# sourceMappingURL=useTextStyles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Text/useTextStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA;;AAEG;;AACH,
|
1
|
+
{"version":3,"sources":["../../../src/components/Text/useTextStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA,OAAO,MAAM,aAAa,GAAG,UAAtB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AA6FA;;AAEG;;;AACH,OAAO,MAAM,aAAa,GAAI,KAAD,IAAgC;AAC3D,QAAM,MAAM,GAAG,SAAS,EAAxB;AAEA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,aADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,IAAN,KAAe,KAAf,IAAwB,MAAM,CAAC,MAHE,EAIjC,KAAK,CAAC,QAAN,IAAkB,MAAM,CAAC,QAJQ,EAKjC,KAAK,CAAC,KAAN,IAAe,MAAM,CAAC,KALW,EAMjC,KAAK,CAAC,MAAN,IAAgB,MAAM,CAAC,MANU,EAOjC,KAAK,CAAC,SAAN,IAAmB,MAAM,CAAC,SAPO,EAQjC,KAAK,CAAC,aAAN,IAAuB,MAAM,CAAC,aARG,EASjC,KAAK,CAAC,SAAN,IAAmB,KAAK,CAAC,aAAzB,IAA0C,MAAM,CAAC,sBAThB,EAUjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAVI,EAWjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAXI,EAYjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAZI,EAajC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAbI,EAcjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAdI,EAejC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAfI,EAgBjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAhBI,EAiBjC,KAAK,CAAC,IAAN,KAAe,GAAf,IAAsB,MAAM,CAAC,OAjBI,EAkBjC,KAAK,CAAC,IAAN,KAAe,IAAf,IAAuB,MAAM,CAAC,QAlBG,EAmBjC,KAAK,CAAC,IAAN,KAAe,WAAf,IAA8B,MAAM,CAAC,SAnBJ,EAoBjC,KAAK,CAAC,IAAN,KAAe,SAAf,IAA4B,MAAM,CAAC,OApBF,EAqBjC,KAAK,CAAC,MAAN,KAAiB,QAAjB,IAA6B,MAAM,CAAC,YArBH,EAsBjC,KAAK,CAAC,MAAN,KAAiB,UAAjB,IAA+B,MAAM,CAAC,cAtBL,EAuBjC,KAAK,CAAC,KAAN,KAAgB,QAAhB,IAA4B,MAAM,CAAC,WAvBF,EAwBjC,KAAK,CAAC,KAAN,KAAgB,KAAhB,IAAyB,MAAM,CAAC,QAxBC,EAyBjC,KAAK,CAAC,KAAN,KAAgB,SAAhB,IAA6B,MAAM,CAAC,YAzBH,EA0BjC,KAAK,CAAC,IAAN,CAAW,SA1BsB,CAAnC;AA6BA,SAAO,KAAP;AACD,CAjCM","sourceRoot":""}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
2
|
+
import { TextWrapperProps } from '../wrapper';
|
3
|
+
export declare const title1ClassName = "fui-Title1";
|
1
4
|
/**
|
2
5
|
* Text wrapper component for the Title 1 typography variant
|
3
6
|
*/
|
4
|
-
export declare const Title1:
|
7
|
+
export declare const Title1: FunctionComponent<TextWrapperProps>;
|
@@ -1,27 +1,29 @@
|
|
1
1
|
import { __styles } from '@fluentui/react-make-styles';
|
2
2
|
import { typographyStyles } from '../../typographyStyles/index';
|
3
3
|
import { createWrapper } from '../wrapper';
|
4
|
+
export const title1ClassName = 'fui-Title1';
|
4
5
|
/**
|
5
6
|
* Styles for the root slot
|
6
7
|
*/
|
7
8
|
|
8
|
-
|
9
|
+
const useStyles = /*#__PURE__*/__styles({
|
9
10
|
"root": {
|
10
|
-
"Bahqtrf": "
|
11
|
-
"Be2twd7": "
|
12
|
-
"Bg96gwp": "
|
13
|
-
"Bhrd7zp": "
|
11
|
+
"Bahqtrf": "fk6fouc",
|
12
|
+
"Be2twd7": "fccw675",
|
13
|
+
"Bg96gwp": "f1ebx5kk",
|
14
|
+
"Bhrd7zp": "fl43uef"
|
14
15
|
}
|
15
16
|
}, {
|
16
|
-
"d": [".
|
17
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
|
17
18
|
});
|
18
19
|
/**
|
19
20
|
* Text wrapper component for the Title 1 typography variant
|
20
21
|
*/
|
21
22
|
|
22
23
|
|
23
|
-
export
|
24
|
-
useStyles
|
24
|
+
export const Title1 = /*#__PURE__*/createWrapper({
|
25
|
+
useStyles,
|
26
|
+
className: title1ClassName,
|
25
27
|
displayName: 'Title1'
|
26
28
|
});
|
27
29
|
//# sourceMappingURL=Title1.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Title1/Title1.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../src/components/Title1/Title1.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title1/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
2
|
+
import { TextWrapperProps } from '../wrapper';
|
3
|
+
export declare const title2ClassName = "fui-Title2";
|
1
4
|
/**
|
2
5
|
* Text wrapper component for the Title 2 typography variant
|
3
6
|
*/
|
4
|
-
export declare const Title2:
|
7
|
+
export declare const Title2: FunctionComponent<TextWrapperProps>;
|
@@ -1,27 +1,29 @@
|
|
1
1
|
import { __styles } from '@fluentui/react-make-styles';
|
2
2
|
import { typographyStyles } from '../../typographyStyles/index';
|
3
3
|
import { createWrapper } from '../wrapper';
|
4
|
+
export const title2ClassName = 'fui-Title2';
|
4
5
|
/**
|
5
6
|
* Styles for the root slot
|
6
7
|
*/
|
7
8
|
|
8
|
-
|
9
|
+
const useStyles = /*#__PURE__*/__styles({
|
9
10
|
"root": {
|
10
|
-
"Bahqtrf": "
|
11
|
-
"Be2twd7": "
|
12
|
-
"Bg96gwp": "
|
13
|
-
"Bhrd7zp": "
|
11
|
+
"Bahqtrf": "fk6fouc",
|
12
|
+
"Be2twd7": "fojgt09",
|
13
|
+
"Bg96gwp": "fcen8rp",
|
14
|
+
"Bhrd7zp": "fl43uef"
|
14
15
|
}
|
15
16
|
}, {
|
16
|
-
"d": [".
|
17
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
|
17
18
|
});
|
18
19
|
/**
|
19
20
|
* Text wrapper component for the Title 2 typography variant
|
20
21
|
*/
|
21
22
|
|
22
23
|
|
23
|
-
export
|
24
|
-
useStyles
|
24
|
+
export const Title2 = /*#__PURE__*/createWrapper({
|
25
|
+
useStyles,
|
26
|
+
className: title2ClassName,
|
25
27
|
displayName: 'Title2'
|
26
28
|
});
|
27
29
|
//# sourceMappingURL=Title2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Title2/Title2.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../src/components/Title2/Title2.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title2/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
2
|
+
import { TextWrapperProps } from '../wrapper';
|
3
|
+
export declare const title3ClassName = "fui-Title3";
|
1
4
|
/**
|
2
5
|
* Text wrapper component for the Title 3 typography variant
|
3
6
|
*/
|
4
|
-
export declare const Title3:
|
7
|
+
export declare const Title3: FunctionComponent<TextWrapperProps>;
|
@@ -1,27 +1,29 @@
|
|
1
1
|
import { __styles } from '@fluentui/react-make-styles';
|
2
2
|
import { typographyStyles } from '../../typographyStyles/index';
|
3
3
|
import { createWrapper } from '../wrapper';
|
4
|
+
export const title3ClassName = 'fui-Title3';
|
4
5
|
/**
|
5
6
|
* Styles for the root slot
|
6
7
|
*/
|
7
8
|
|
8
|
-
|
9
|
+
const useStyles = /*#__PURE__*/__styles({
|
9
10
|
"root": {
|
10
|
-
"Bahqtrf": "
|
11
|
-
"Be2twd7": "
|
12
|
-
"Bg96gwp": "
|
13
|
-
"Bhrd7zp": "
|
11
|
+
"Bahqtrf": "fk6fouc",
|
12
|
+
"Be2twd7": "f1x0m3f5",
|
13
|
+
"Bg96gwp": "fb86gi6",
|
14
|
+
"Bhrd7zp": "fl43uef"
|
14
15
|
}
|
15
16
|
}, {
|
16
|
-
"d": [".
|
17
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
|
17
18
|
});
|
18
19
|
/**
|
19
20
|
* Text wrapper component for the Title 3 typography variant
|
20
21
|
*/
|
21
22
|
|
22
23
|
|
23
|
-
export
|
24
|
-
useStyles
|
24
|
+
export const Title3 = /*#__PURE__*/createWrapper({
|
25
|
+
useStyles,
|
26
|
+
className: title3ClassName,
|
25
27
|
displayName: 'Title3'
|
26
28
|
});
|
27
29
|
//# sourceMappingURL=Title3.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Title3/Title3.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../src/components/Title3/Title3.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Title3/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import type { TextProps } from '../Text';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
5
4
|
export declare function createWrapper(options: {
|
5
|
+
className: string;
|
6
6
|
displayName: string;
|
7
7
|
useStyles: () => Record<'root', string>;
|
8
|
-
}): React.
|
8
|
+
}): React.FunctionComponent<TextWrapperProps>;
|
@@ -2,13 +2,16 @@ import * as React from 'react';
|
|
2
2
|
import { mergeClasses } from '@fluentui/react-make-styles';
|
3
3
|
import { renderText, useText, useTextStyles } from '../Text';
|
4
4
|
export function createWrapper(options) {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
const {
|
6
|
+
useStyles,
|
7
|
+
className,
|
8
|
+
displayName
|
9
|
+
} = options;
|
10
|
+
const Wrapper = /*#__PURE__*/React.forwardRef((props, ref) => {
|
11
|
+
const styles = useStyles();
|
12
|
+
const state = useText(props, ref);
|
10
13
|
useTextStyles(state);
|
11
|
-
state.className = mergeClasses(state.className, styles.root, props.className);
|
14
|
+
state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
|
12
15
|
return renderText(state);
|
13
16
|
});
|
14
17
|
Wrapper.displayName = displayName;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,UAAT,EAAqB,OAArB,EAA8B,aAA9B,QAAmD,SAAnD;
|
1
|
+
{"version":3,"sources":["../../src/components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,UAAT,EAAqB,OAArB,EAA8B,aAA9B,QAAmD,SAAnD;AAMA,OAAM,SAAU,aAAV,CAAwB,OAAxB,EAIL;AACC,QAAM;AAAE,IAAA,SAAF;AAAa,IAAA,SAAb;AAAwB,IAAA;AAAxB,MAAwC,OAA9C;AACA,QAAM,OAAO,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACrF,UAAM,MAAM,GAAG,SAAS,EAAxB;AACA,UAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAqB,GAArB,CAArB;AAEA,IAAA,aAAa,CAAC,KAAD,CAAb;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,SAAD,EAAY,KAAK,CAAC,IAAN,CAAW,SAAvB,EAAkC,MAAM,CAAC,IAAzC,EAA+C,KAAK,CAAC,SAArD,CAAnC;AAEA,WAAO,UAAU,CAAC,KAAD,CAAjB;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","sourceRoot":""}
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/typographyStyles/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
@@ -1,76 +1,58 @@
|
|
1
1
|
/**
|
2
2
|
* Make-styles rules for the typography variants
|
3
3
|
*/
|
4
|
-
export
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
};
|
28
|
-
export
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
};
|
52
|
-
export
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
};
|
59
|
-
};
|
60
|
-
export var largeTitle = function (theme) {
|
61
|
-
return {
|
62
|
-
fontFamily: theme.global.type.fontFamilies.base,
|
63
|
-
fontSize: theme.global.type.fontSizes.hero[900],
|
64
|
-
lineHeight: theme.global.type.lineHeights.hero[900],
|
65
|
-
fontWeight: theme.global.type.fontWeights.semibold
|
66
|
-
};
|
67
|
-
};
|
68
|
-
export var display = function (theme) {
|
69
|
-
return {
|
70
|
-
fontFamily: theme.global.type.fontFamilies.base,
|
71
|
-
fontSize: theme.global.type.fontSizes.hero[1000],
|
72
|
-
lineHeight: theme.global.type.lineHeights.hero[1000],
|
73
|
-
fontWeight: theme.global.type.fontWeights.semibold
|
74
|
-
};
|
75
|
-
};
|
4
|
+
export const caption = theme => ({
|
5
|
+
fontFamily: theme.fontFamilyBase,
|
6
|
+
fontSize: theme.fontSizeBase200,
|
7
|
+
lineHeight: theme.lineHeightBase200,
|
8
|
+
fontWeight: theme.fontWeightRegular
|
9
|
+
});
|
10
|
+
export const body = theme => ({
|
11
|
+
fontFamily: theme.fontFamilyBase,
|
12
|
+
fontSize: theme.fontSizeBase300,
|
13
|
+
lineHeight: theme.lineHeightBase300,
|
14
|
+
fontWeight: theme.fontWeightRegular
|
15
|
+
});
|
16
|
+
export const subheadline = theme => ({
|
17
|
+
fontFamily: theme.fontFamilyBase,
|
18
|
+
fontSize: theme.fontSizeBase400,
|
19
|
+
lineHeight: theme.lineHeightBase400,
|
20
|
+
fontWeight: theme.fontWeightSemibold
|
21
|
+
});
|
22
|
+
export const headline = theme => ({
|
23
|
+
fontFamily: theme.fontFamilyBase,
|
24
|
+
fontSize: theme.fontSizeBase500,
|
25
|
+
lineHeight: theme.lineHeightBase500,
|
26
|
+
fontWeight: theme.fontWeightSemibold
|
27
|
+
});
|
28
|
+
export const title3 = theme => ({
|
29
|
+
fontFamily: theme.fontFamilyBase,
|
30
|
+
fontSize: theme.fontSizeBase600,
|
31
|
+
lineHeight: theme.lineHeightBase600,
|
32
|
+
fontWeight: theme.fontWeightSemibold
|
33
|
+
});
|
34
|
+
export const title2 = theme => ({
|
35
|
+
fontFamily: theme.fontFamilyBase,
|
36
|
+
fontSize: theme.fontSizeHero700,
|
37
|
+
lineHeight: theme.lineHeightHero700,
|
38
|
+
fontWeight: theme.fontWeightSemibold
|
39
|
+
});
|
40
|
+
export const title1 = theme => ({
|
41
|
+
fontFamily: theme.fontFamilyBase,
|
42
|
+
fontSize: theme.fontSizeHero800,
|
43
|
+
lineHeight: theme.lineHeightHero800,
|
44
|
+
fontWeight: theme.fontWeightSemibold
|
45
|
+
});
|
46
|
+
export const largeTitle = theme => ({
|
47
|
+
fontFamily: theme.fontFamilyBase,
|
48
|
+
fontSize: theme.fontSizeHero900,
|
49
|
+
lineHeight: theme.lineHeightHero900,
|
50
|
+
fontWeight: theme.fontWeightSemibold
|
51
|
+
});
|
52
|
+
export const display = theme => ({
|
53
|
+
fontFamily: theme.fontFamilyBase,
|
54
|
+
fontSize: theme.fontSizeHero1000,
|
55
|
+
lineHeight: theme.lineHeightHero1000,
|
56
|
+
fontWeight: theme.fontWeightSemibold
|
57
|
+
});
|
76
58
|
//# sourceMappingURL=typographyStyles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["typographyStyles/typographyStyles.ts"],"names":[],"mappings":"AAGA;;AAEG;AACH,OAAO,
|
1
|
+
{"version":3,"sources":["../../src/typographyStyles/typographyStyles.ts"],"names":[],"mappings":"AAGA;;AAEG;AACH,OAAO,MAAM,OAAO,GAAuC,KAAK,KAAK;AACnE,EAAA,UAAU,EAAE,KAAK,CAAC,cADiD;AAEnE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFmD;AAGnE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHiD;AAInE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJiD,CAAL,CAAzD;AAMP,OAAO,MAAM,IAAI,GAAuC,KAAK,KAAK;AAChE,EAAA,UAAU,EAAE,KAAK,CAAC,cAD8C;AAEhE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFgD;AAGhE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAH8C;AAIhE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJ8C,CAAL,CAAtD;AAMP,OAAO,MAAM,WAAW,GAAuC,KAAK,KAAK;AACvE,EAAA,UAAU,EAAE,KAAK,CAAC,cADqD;AAEvE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFuD;AAGvE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHqD;AAIvE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJqD,CAAL,CAA7D;AAMP,OAAO,MAAM,QAAQ,GAAuC,KAAK,KAAK;AACpE,EAAA,UAAU,EAAE,KAAK,CAAC,cADkD;AAEpE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFoD;AAGpE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHkD;AAIpE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJkD,CAAL,CAA1D;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,MAAM,GAAuC,KAAK,KAAK;AAClE,EAAA,UAAU,EAAE,KAAK,CAAC,cADgD;AAElE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFkD;AAGlE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHgD;AAIlE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJgD,CAAL,CAAxD;AAMP,OAAO,MAAM,UAAU,GAAuC,KAAK,KAAK;AACtE,EAAA,UAAU,EAAE,KAAK,CAAC,cADoD;AAEtE,EAAA,QAAQ,EAAE,KAAK,CAAC,eAFsD;AAGtE,EAAA,UAAU,EAAE,KAAK,CAAC,iBAHoD;AAItE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJoD,CAAL,CAA5D;AAMP,OAAO,MAAM,OAAO,GAAuC,KAAK,KAAK;AACnE,EAAA,UAAU,EAAE,KAAK,CAAC,cADiD;AAEnE,EAAA,QAAQ,EAAE,KAAK,CAAC,gBAFmD;AAGnE,EAAA,UAAU,EAAE,KAAK,CAAC,kBAHiD;AAInE,EAAA,UAAU,EAAE,KAAK,CAAC;AAJiD,CAAL,CAAzD","sourceRoot":""}
|
package/lib-commonjs/Body.js
CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
|
7
|
-
|
7
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
8
8
|
|
9
9
|
tslib_1.__exportStar(require("./components/Body/index"), exports);
|
10
10
|
//# sourceMappingURL=Body.js.map
|
package/lib-commonjs/Body.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","
|
1
|
+
{"version":3,"sources":["../src/Body.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|
package/lib-commonjs/Caption.js
CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
|
7
|
-
|
7
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
8
8
|
|
9
9
|
tslib_1.__exportStar(require("./components/Caption/index"), exports);
|
10
10
|
//# sourceMappingURL=Caption.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","
|
1
|
+
{"version":3,"sources":["../src/Caption.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|
package/lib-commonjs/Display.js
CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
|
7
|
-
|
7
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
8
8
|
|
9
9
|
tslib_1.__exportStar(require("./components/Display/index"), exports);
|
10
10
|
//# sourceMappingURL=Display.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["Display.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","
|
1
|
+
{"version":3,"sources":["../src/Display.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,4BAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|