@fluentui/react-text 9.75.1-experimental.css-modules.20261103-d6c85ee2a9.0 → 9.75.2-experimental.css-modules.20261113-ba13c87438.0
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 +8 -8
- package/README.md +2 -2
- package/lib/components/Text/Text.module.css +116 -118
- package/lib/components/presets/TextPresets.module.css +80 -82
- package/lib-commonjs/components/Text/Text.module.css +116 -118
- package/lib-commonjs/components/presets/TextPresets.module.css +80 -82
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-text
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 13 Nov 2026 20:37:02 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.75.
|
|
7
|
+
## [9.75.2-experimental.css-modules.20261113-ba13c87438.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.75.2-experimental.css-modules.20261113-ba13c87438.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 13 Nov 2026 20:37:02 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
15
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
16
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
17
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
13
|
+
- Release 9.75.2-experimental.css-modules.20261113-ba13c87438 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui/react-jsx-runtime to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
- Bump @fluentui/react-shared-contexts to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-theme to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-utilities to v9.75.2-experimental.css-modules.20261113-ba13c87438.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
18
|
|
|
19
19
|
## [9.6.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.6.21)
|
|
20
20
|
|
package/README.md
CHANGED
|
@@ -94,11 +94,11 @@ For more information about the components, please refer to the [API documentatio
|
|
|
94
94
|
|
|
95
95
|
## Migration
|
|
96
96
|
|
|
97
|
-
For migration information, have a look at the [migration guide](./MIGRATION.md).
|
|
97
|
+
For migration information, have a look at the [migration guide](./docs/MIGRATION.md).
|
|
98
98
|
|
|
99
99
|
## CSS Modules alternative
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
CSS Modules style hooks (`*.styles.css.ts`) are available as opt-in alternatives.
|
|
102
102
|
Configure the bundler to resolve `.styles` to `.styles.css.ts` before `.styles.ts`, and
|
|
103
103
|
`.styles.js` to `.styles.css.js` before `.styles.js`, and enable CSS Modules loading.
|
|
104
104
|
The default component imports continue to use Griffel. Browser styling parity, SSR,
|
|
@@ -1,119 +1,117 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
text-align: justify;
|
|
118
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
font-family: var(--fontFamilyBase);
|
|
3
|
+
font-size: var(--fontSizeBase300);
|
|
4
|
+
line-height: var(--lineHeightBase300);
|
|
5
|
+
font-weight: var(--fontWeightRegular);
|
|
6
|
+
text-align: start;
|
|
7
|
+
display: inline;
|
|
8
|
+
white-space: normal;
|
|
9
|
+
overflow: visible;
|
|
10
|
+
text-overflow: clip;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.nowrap {
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.truncate {
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.block {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.italic {
|
|
27
|
+
font-style: italic;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.underline {
|
|
31
|
+
text-decoration-line: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.strikethrough {
|
|
35
|
+
text-decoration-line: line-through;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.underline:where(.strikethrough) {
|
|
39
|
+
text-decoration-line: line-through underline;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.size100 {
|
|
43
|
+
font-size: var(--fontSizeBase100);
|
|
44
|
+
line-height: var(--lineHeightBase100);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.size200 {
|
|
48
|
+
font-size: var(--fontSizeBase200);
|
|
49
|
+
line-height: var(--lineHeightBase200);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.size400 {
|
|
53
|
+
font-size: var(--fontSizeBase400);
|
|
54
|
+
line-height: var(--lineHeightBase400);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.size500 {
|
|
58
|
+
font-size: var(--fontSizeBase500);
|
|
59
|
+
line-height: var(--lineHeightBase500);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.size600 {
|
|
63
|
+
font-size: var(--fontSizeBase600);
|
|
64
|
+
line-height: var(--lineHeightBase600);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.size700 {
|
|
68
|
+
font-size: var(--fontSizeHero700);
|
|
69
|
+
line-height: var(--lineHeightHero700);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.size800 {
|
|
73
|
+
font-size: var(--fontSizeHero800);
|
|
74
|
+
line-height: var(--lineHeightHero800);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.size900 {
|
|
78
|
+
font-size: var(--fontSizeHero900);
|
|
79
|
+
line-height: var(--lineHeightHero900);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.size1000 {
|
|
83
|
+
font-size: var(--fontSizeHero1000);
|
|
84
|
+
line-height: var(--lineHeightHero1000);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.monospace {
|
|
88
|
+
font-family: var(--fontFamilyMonospace);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.numeric {
|
|
92
|
+
font-family: var(--fontFamilyNumeric);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.medium {
|
|
96
|
+
font-weight: var(--fontWeightMedium);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.semibold {
|
|
100
|
+
font-weight: var(--fontWeightSemibold);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.bold {
|
|
104
|
+
font-weight: var(--fontWeightBold);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.center {
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.end {
|
|
112
|
+
text-align: end;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.justify {
|
|
116
|
+
text-align: justify;
|
|
119
117
|
}
|
|
@@ -1,96 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
:is(
|
|
2
|
+
.body1,
|
|
3
|
+
.body1Strong,
|
|
4
|
+
.body1Stronger,
|
|
5
|
+
.body2,
|
|
6
|
+
.caption1,
|
|
7
|
+
.caption1Strong,
|
|
8
|
+
.caption1Stronger,
|
|
9
|
+
.caption2,
|
|
10
|
+
.caption2Strong,
|
|
11
|
+
.subtitle1,
|
|
12
|
+
.subtitle2,
|
|
13
|
+
.subtitle2Stronger,
|
|
14
|
+
.title1,
|
|
15
|
+
.title2,
|
|
16
|
+
.title3,
|
|
17
|
+
.largeTitle,
|
|
18
|
+
.display
|
|
19
|
+
) {
|
|
20
|
+
font-family: var(--fontFamilyBase);
|
|
21
|
+
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
:is(.body1, .body1Strong, .body1Stronger) {
|
|
24
|
+
font-size: var(--fontSizeBase300);
|
|
25
|
+
line-height: var(--lineHeightBase300);
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
:is(.body2, .subtitle2, .subtitle2Stronger) {
|
|
29
|
+
font-size: var(--fontSizeBase400);
|
|
30
|
+
line-height: var(--lineHeightBase400);
|
|
31
|
+
}
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
:is(.caption1, .caption1Strong, .caption1Stronger) {
|
|
34
|
+
font-size: var(--fontSizeBase200);
|
|
35
|
+
line-height: var(--lineHeightBase200);
|
|
36
|
+
}
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
:is(.caption2, .caption2Strong) {
|
|
39
|
+
font-size: var(--fontSizeBase100);
|
|
40
|
+
line-height: var(--lineHeightBase100);
|
|
41
|
+
}
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
.subtitle1 {
|
|
44
|
+
font-size: var(--fontSizeBase500);
|
|
45
|
+
line-height: var(--lineHeightBase500);
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
.title3 {
|
|
49
|
+
font-size: var(--fontSizeBase600);
|
|
50
|
+
line-height: var(--lineHeightBase600);
|
|
51
|
+
}
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
.title2 {
|
|
54
|
+
font-size: var(--fontSizeHero700);
|
|
55
|
+
line-height: var(--lineHeightHero700);
|
|
56
|
+
}
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
.title1 {
|
|
59
|
+
font-size: var(--fontSizeHero800);
|
|
60
|
+
line-height: var(--lineHeightHero800);
|
|
61
|
+
}
|
|
63
62
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
.largeTitle {
|
|
64
|
+
font-size: var(--fontSizeHero900);
|
|
65
|
+
line-height: var(--lineHeightHero900);
|
|
66
|
+
}
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
.display {
|
|
69
|
+
font-size: var(--fontSizeHero1000);
|
|
70
|
+
line-height: var(--lineHeightHero1000);
|
|
71
|
+
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
:is(.body1, .body2, .caption1, .caption2) {
|
|
74
|
+
font-weight: var(--fontWeightRegular);
|
|
75
|
+
}
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
77
|
+
:is(
|
|
78
|
+
.body1Strong,
|
|
79
|
+
.caption1Strong,
|
|
80
|
+
.caption2Strong,
|
|
81
|
+
.subtitle1,
|
|
82
|
+
.subtitle2,
|
|
83
|
+
.title1,
|
|
84
|
+
.title2,
|
|
85
|
+
.title3,
|
|
86
|
+
.largeTitle,
|
|
87
|
+
.display
|
|
88
|
+
) {
|
|
89
|
+
font-weight: var(--fontWeightSemibold);
|
|
90
|
+
}
|
|
92
91
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
92
|
+
:is(.body1Stronger, .caption1Stronger, .subtitle2Stronger) {
|
|
93
|
+
font-weight: var(--fontWeightBold);
|
|
96
94
|
}
|
|
@@ -1,119 +1,117 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
text-align: justify;
|
|
118
|
-
}
|
|
1
|
+
.root {
|
|
2
|
+
font-family: var(--fontFamilyBase);
|
|
3
|
+
font-size: var(--fontSizeBase300);
|
|
4
|
+
line-height: var(--lineHeightBase300);
|
|
5
|
+
font-weight: var(--fontWeightRegular);
|
|
6
|
+
text-align: start;
|
|
7
|
+
display: inline;
|
|
8
|
+
white-space: normal;
|
|
9
|
+
overflow: visible;
|
|
10
|
+
text-overflow: clip;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.nowrap {
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.truncate {
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.block {
|
|
23
|
+
display: block;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.italic {
|
|
27
|
+
font-style: italic;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.underline {
|
|
31
|
+
text-decoration-line: underline;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.strikethrough {
|
|
35
|
+
text-decoration-line: line-through;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.underline:where(.strikethrough) {
|
|
39
|
+
text-decoration-line: line-through underline;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.size100 {
|
|
43
|
+
font-size: var(--fontSizeBase100);
|
|
44
|
+
line-height: var(--lineHeightBase100);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.size200 {
|
|
48
|
+
font-size: var(--fontSizeBase200);
|
|
49
|
+
line-height: var(--lineHeightBase200);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.size400 {
|
|
53
|
+
font-size: var(--fontSizeBase400);
|
|
54
|
+
line-height: var(--lineHeightBase400);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.size500 {
|
|
58
|
+
font-size: var(--fontSizeBase500);
|
|
59
|
+
line-height: var(--lineHeightBase500);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.size600 {
|
|
63
|
+
font-size: var(--fontSizeBase600);
|
|
64
|
+
line-height: var(--lineHeightBase600);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.size700 {
|
|
68
|
+
font-size: var(--fontSizeHero700);
|
|
69
|
+
line-height: var(--lineHeightHero700);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.size800 {
|
|
73
|
+
font-size: var(--fontSizeHero800);
|
|
74
|
+
line-height: var(--lineHeightHero800);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.size900 {
|
|
78
|
+
font-size: var(--fontSizeHero900);
|
|
79
|
+
line-height: var(--lineHeightHero900);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.size1000 {
|
|
83
|
+
font-size: var(--fontSizeHero1000);
|
|
84
|
+
line-height: var(--lineHeightHero1000);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.monospace {
|
|
88
|
+
font-family: var(--fontFamilyMonospace);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.numeric {
|
|
92
|
+
font-family: var(--fontFamilyNumeric);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.medium {
|
|
96
|
+
font-weight: var(--fontWeightMedium);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.semibold {
|
|
100
|
+
font-weight: var(--fontWeightSemibold);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.bold {
|
|
104
|
+
font-weight: var(--fontWeightBold);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.center {
|
|
108
|
+
text-align: center;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.end {
|
|
112
|
+
text-align: end;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.justify {
|
|
116
|
+
text-align: justify;
|
|
119
117
|
}
|
|
@@ -1,96 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
:is(
|
|
2
|
+
.body1,
|
|
3
|
+
.body1Strong,
|
|
4
|
+
.body1Stronger,
|
|
5
|
+
.body2,
|
|
6
|
+
.caption1,
|
|
7
|
+
.caption1Strong,
|
|
8
|
+
.caption1Stronger,
|
|
9
|
+
.caption2,
|
|
10
|
+
.caption2Strong,
|
|
11
|
+
.subtitle1,
|
|
12
|
+
.subtitle2,
|
|
13
|
+
.subtitle2Stronger,
|
|
14
|
+
.title1,
|
|
15
|
+
.title2,
|
|
16
|
+
.title3,
|
|
17
|
+
.largeTitle,
|
|
18
|
+
.display
|
|
19
|
+
) {
|
|
20
|
+
font-family: var(--fontFamilyBase);
|
|
21
|
+
}
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
:is(.body1, .body1Strong, .body1Stronger) {
|
|
24
|
+
font-size: var(--fontSizeBase300);
|
|
25
|
+
line-height: var(--lineHeightBase300);
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
:is(.body2, .subtitle2, .subtitle2Stronger) {
|
|
29
|
+
font-size: var(--fontSizeBase400);
|
|
30
|
+
line-height: var(--lineHeightBase400);
|
|
31
|
+
}
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
:is(.caption1, .caption1Strong, .caption1Stronger) {
|
|
34
|
+
font-size: var(--fontSizeBase200);
|
|
35
|
+
line-height: var(--lineHeightBase200);
|
|
36
|
+
}
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
:is(.caption2, .caption2Strong) {
|
|
39
|
+
font-size: var(--fontSizeBase100);
|
|
40
|
+
line-height: var(--lineHeightBase100);
|
|
41
|
+
}
|
|
43
42
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
.subtitle1 {
|
|
44
|
+
font-size: var(--fontSizeBase500);
|
|
45
|
+
line-height: var(--lineHeightBase500);
|
|
46
|
+
}
|
|
48
47
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
.title3 {
|
|
49
|
+
font-size: var(--fontSizeBase600);
|
|
50
|
+
line-height: var(--lineHeightBase600);
|
|
51
|
+
}
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
.title2 {
|
|
54
|
+
font-size: var(--fontSizeHero700);
|
|
55
|
+
line-height: var(--lineHeightHero700);
|
|
56
|
+
}
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
.title1 {
|
|
59
|
+
font-size: var(--fontSizeHero800);
|
|
60
|
+
line-height: var(--lineHeightHero800);
|
|
61
|
+
}
|
|
63
62
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
.largeTitle {
|
|
64
|
+
font-size: var(--fontSizeHero900);
|
|
65
|
+
line-height: var(--lineHeightHero900);
|
|
66
|
+
}
|
|
68
67
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
.display {
|
|
69
|
+
font-size: var(--fontSizeHero1000);
|
|
70
|
+
line-height: var(--lineHeightHero1000);
|
|
71
|
+
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
:is(.body1, .body2, .caption1, .caption2) {
|
|
74
|
+
font-weight: var(--fontWeightRegular);
|
|
75
|
+
}
|
|
77
76
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
77
|
+
:is(
|
|
78
|
+
.body1Strong,
|
|
79
|
+
.caption1Strong,
|
|
80
|
+
.caption2Strong,
|
|
81
|
+
.subtitle1,
|
|
82
|
+
.subtitle2,
|
|
83
|
+
.title1,
|
|
84
|
+
.title2,
|
|
85
|
+
.title3,
|
|
86
|
+
.largeTitle,
|
|
87
|
+
.display
|
|
88
|
+
) {
|
|
89
|
+
font-weight: var(--fontWeightSemibold);
|
|
90
|
+
}
|
|
92
91
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
92
|
+
:is(.body1Stronger, .caption1Stronger, .subtitle2Stronger) {
|
|
93
|
+
font-weight: var(--fontWeightBold);
|
|
96
94
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-text",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
4
4
|
"description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib-commonjs/index.cjs",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
19
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
20
|
-
"@fluentui/react-theme": "9.75.
|
|
21
|
-
"@fluentui/react-utilities": "9.75.
|
|
18
|
+
"@fluentui/react-jsx-runtime": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
19
|
+
"@fluentui/react-shared-contexts": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
20
|
+
"@fluentui/react-theme": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
21
|
+
"@fluentui/react-utilities": "9.75.2-experimental.css-modules.20261113-ba13c87438.0",
|
|
22
22
|
"@griffel/react": "^1.5.32",
|
|
23
23
|
"@swc/helpers": "^0.5.1",
|
|
24
24
|
"clsx": "^2.1.1"
|