@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
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,264 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 25 Nov 2021 08:31:34 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.4)
|
8
|
+
|
9
|
+
Thu, 25 Nov 2021 08:31:34 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.3..@fluentui/react-text_v9.0.0-beta.4)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Migrate Text ([PR #20653](https://github.com/microsoft/fluentui/pull/20653) by andredias@microsoft.com)
|
15
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
16
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
17
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
18
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
19
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20609](https://github.com/microsoft/fluentui/pull/20609) by beachball)
|
20
|
+
|
21
|
+
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.3)
|
22
|
+
|
23
|
+
Fri, 12 Nov 2021 13:25:08 GMT
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.2..@fluentui/react-text_v9.0.0-beta.3)
|
25
|
+
|
26
|
+
### Changes
|
27
|
+
|
28
|
+
- Updated with codesandbox comments ([PR #20371](https://github.com/microsoft/fluentui/pull/20371) by gcox@microsoft.com)
|
29
|
+
- export static classes for components ([PR #20449](https://github.com/microsoft/fluentui/pull/20449) by olfedias@microsoft.com)
|
30
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
31
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
32
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
33
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
34
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
35
|
+
|
36
|
+
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.2)
|
37
|
+
|
38
|
+
Wed, 27 Oct 2021 12:14:23 GMT
|
39
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.1..@fluentui/react-text_v9.0.0-beta.2)
|
40
|
+
|
41
|
+
### Changes
|
42
|
+
|
43
|
+
- added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
|
44
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
45
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
46
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
47
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
48
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
49
|
+
|
50
|
+
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.1)
|
51
|
+
|
52
|
+
Wed, 06 Oct 2021 10:37:22 GMT
|
53
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.27..@fluentui/react-text_v9.0.0-beta.1)
|
54
|
+
|
55
|
+
### Changes
|
56
|
+
|
57
|
+
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
|
58
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
59
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
60
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
61
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
62
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
|
63
|
+
|
64
|
+
## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.27)
|
65
|
+
|
66
|
+
Tue, 05 Oct 2021 12:47:58 GMT
|
67
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.26..@fluentui/react-text_v9.0.0-alpha.27)
|
68
|
+
|
69
|
+
### Changes
|
70
|
+
|
71
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.78 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
|
72
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.60 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
|
73
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.53 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
|
74
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.22 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
|
75
|
+
|
76
|
+
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.26)
|
77
|
+
|
78
|
+
Tue, 05 Oct 2021 09:28:07 GMT
|
79
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.25..@fluentui/react-text_v9.0.0-alpha.26)
|
80
|
+
|
81
|
+
### Changes
|
82
|
+
|
83
|
+
- Add and use ForwardRefComponent helper type ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by elcraig@microsoft.com)
|
84
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.77 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
|
85
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.56 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
|
86
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.59 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
|
87
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.52 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
|
88
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.21 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
|
89
|
+
|
90
|
+
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.25)
|
91
|
+
|
92
|
+
Fri, 01 Oct 2021 14:13:08 GMT
|
93
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.23..@fluentui/react-text_v9.0.0-alpha.25)
|
94
|
+
|
95
|
+
### Changes
|
96
|
+
|
97
|
+
- Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
|
98
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.76 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
99
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.55 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
100
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.58 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
101
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.51 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
102
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.20 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
|
103
|
+
|
104
|
+
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.23)
|
105
|
+
|
106
|
+
Wed, 29 Sep 2021 08:06:11 GMT
|
107
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.22..@fluentui/react-text_v9.0.0-alpha.23)
|
108
|
+
|
109
|
+
### Changes
|
110
|
+
|
111
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.74 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
|
112
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.56 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
|
113
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.49 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
|
114
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.18 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
|
115
|
+
|
116
|
+
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.22)
|
117
|
+
|
118
|
+
Mon, 27 Sep 2021 08:06:00 GMT
|
119
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.21..@fluentui/react-text_v9.0.0-alpha.22)
|
120
|
+
|
121
|
+
### Changes
|
122
|
+
|
123
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
|
124
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
|
125
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.55 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
|
126
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
|
127
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
|
128
|
+
|
129
|
+
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.21)
|
130
|
+
|
131
|
+
Fri, 24 Sep 2021 09:17:17 GMT
|
132
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.20..@fluentui/react-text_v9.0.0-alpha.21)
|
133
|
+
|
134
|
+
### Changes
|
135
|
+
|
136
|
+
- Remove workaround for as prop with getNativeElementProps ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by andredias@microsoft.com)
|
137
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
138
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
139
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.54 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
140
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
141
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
|
142
|
+
|
143
|
+
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.20)
|
144
|
+
|
145
|
+
Thu, 23 Sep 2021 08:21:34 GMT
|
146
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.19..@fluentui/react-text_v9.0.0-alpha.20)
|
147
|
+
|
148
|
+
### Changes
|
149
|
+
|
150
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
151
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
152
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.53 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
153
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
154
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
|
155
|
+
|
156
|
+
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.19)
|
157
|
+
|
158
|
+
Wed, 22 Sep 2021 10:10:07 GMT
|
159
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.18..@fluentui/react-text_v9.0.0-alpha.19)
|
160
|
+
|
161
|
+
### Changes
|
162
|
+
|
163
|
+
- Migrate to simplified prop merging ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by andredias@microsoft.com)
|
164
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
165
|
+
- Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
166
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.52 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
167
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
168
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
|
169
|
+
|
170
|
+
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.18)
|
171
|
+
|
172
|
+
Tue, 21 Sep 2021 07:42:34 GMT
|
173
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.17..@fluentui/react-text_v9.0.0-alpha.18)
|
174
|
+
|
175
|
+
### Changes
|
176
|
+
|
177
|
+
- Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
178
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.51 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
179
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
180
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
|
181
|
+
|
182
|
+
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.17)
|
183
|
+
|
184
|
+
Mon, 20 Sep 2021 07:36:26 GMT
|
185
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.16..@fluentui/react-text_v9.0.0-alpha.17)
|
186
|
+
|
187
|
+
### Changes
|
188
|
+
|
189
|
+
- Bump @fluentui/react-text to v9.0.0-alpha.17 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
|
190
|
+
|
191
|
+
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.16)
|
192
|
+
|
193
|
+
Fri, 17 Sep 2021 07:35:26 GMT
|
194
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.15..@fluentui/react-text_v9.0.0-alpha.16)
|
195
|
+
|
196
|
+
### Changes
|
197
|
+
|
198
|
+
- Bump @fluentui/react-text to v9.0.0-alpha.16 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
|
199
|
+
|
200
|
+
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.15)
|
201
|
+
|
202
|
+
Thu, 16 Sep 2021 07:38:39 GMT
|
203
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.14..@fluentui/react-text_v9.0.0-alpha.15)
|
204
|
+
|
205
|
+
### Changes
|
206
|
+
|
207
|
+
- Bump @fluentui/react-text to v9.0.0-alpha.15 ([PR #19815](https://github.com/microsoft/fluentui/pull/19815) by behowell@microsoft.com)
|
208
|
+
|
209
|
+
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.14)
|
210
|
+
|
211
|
+
Tue, 14 Sep 2021 20:09:02 GMT
|
212
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.13..@fluentui/react-text_v9.0.0-alpha.14)
|
213
|
+
|
214
|
+
### Changes
|
215
|
+
|
216
|
+
- Bump @fluentui/react-text to v9.0.0-alpha.14 ([PR #19155](https://github.com/microsoft/fluentui/pull/19155) by bsunderhus@microsoft.com)
|
217
|
+
|
218
|
+
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.13)
|
219
|
+
|
220
|
+
Fri, 10 Sep 2021 16:31:53 GMT
|
221
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.12..@fluentui/react-text_v9.0.0-alpha.13)
|
222
|
+
|
223
|
+
### Changes
|
224
|
+
|
225
|
+
- chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
|
226
|
+
- Bump @fluentui/react-text to v9.0.0-alpha.13 ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
|
227
|
+
|
228
|
+
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.12)
|
229
|
+
|
230
|
+
Fri, 10 Sep 2021 07:39:51 GMT
|
231
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.11..@fluentui/react-text_v9.0.0-alpha.12)
|
232
|
+
|
233
|
+
### Changes
|
234
|
+
|
235
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.45 ([PR #19642](https://github.com/microsoft/fluentui/pull/19642) by behowell@microsoft.com)
|
236
|
+
|
237
|
+
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.11)
|
238
|
+
|
239
|
+
Mon, 06 Sep 2021 07:34:53 GMT
|
240
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.10..@fluentui/react-text_v9.0.0-alpha.11)
|
241
|
+
|
242
|
+
### Changes
|
243
|
+
|
244
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.44 ([PR #19640](https://github.com/microsoft/fluentui/pull/19640) by lingfangao@hotmail.com)
|
245
|
+
|
246
|
+
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.10)
|
247
|
+
|
248
|
+
Thu, 02 Sep 2021 07:36:46 GMT
|
249
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.9..@fluentui/react-text_v9.0.0-alpha.10)
|
250
|
+
|
251
|
+
### Patches
|
252
|
+
|
253
|
+
- Bump @fluentui/react-conformance to v0.4.5 ([PR #19590](https://github.com/microsoft/fluentui/pull/19590) by olfedias@microsoft.com)
|
254
|
+
|
255
|
+
### Changes
|
256
|
+
|
257
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-alpha.43 ([PR #19065](https://github.com/microsoft/fluentui/pull/19065) by olfedias@microsoft.com)
|
258
|
+
|
7
259
|
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-alpha.9)
|
8
260
|
|
9
|
-
Wed, 01 Sep 2021 07:
|
261
|
+
Wed, 01 Sep 2021 07:39:56 GMT
|
10
262
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-alpha.8..@fluentui/react-text_v9.0.0-alpha.9)
|
11
263
|
|
12
264
|
### Changes
|
package/dist/react-text.d.ts
CHANGED
@@ -1,37 +1,45 @@
|
|
1
|
-
import type {
|
2
|
-
import type {
|
3
|
-
import {
|
1
|
+
import type { ComponentProps } from '@fluentui/react-utilities';
|
2
|
+
import type { ComponentState } from '@fluentui/react-utilities';
|
3
|
+
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
4
|
+
import type { FunctionComponent } from 'react';
|
5
|
+
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
|
4
6
|
import * as React_2 from 'react';
|
5
|
-
import { RefAttributes } from 'react';
|
6
7
|
|
7
8
|
/**
|
8
9
|
* Text wrapper component for the Body typography variant
|
9
10
|
*/
|
10
|
-
declare const Body_2:
|
11
|
+
declare const Body_2: FunctionComponent<TextWrapperProps>;
|
11
12
|
export { Body_2 as Body }
|
12
13
|
|
14
|
+
export declare const bodyClassName = "fui-Body";
|
15
|
+
|
13
16
|
/**
|
14
17
|
* Text wrapper component for the Caption typography variant
|
15
18
|
*/
|
16
|
-
export declare const Caption:
|
19
|
+
export declare const Caption: FunctionComponent<TextWrapperProps>;
|
20
|
+
|
21
|
+
export declare const captionClassName = "fui-Caption";
|
17
22
|
|
18
23
|
/**
|
19
24
|
* Text wrapper component for the Display typography variant
|
20
25
|
*/
|
21
|
-
export declare const Display:
|
26
|
+
export declare const Display: FunctionComponent<TextWrapperProps>;
|
27
|
+
|
28
|
+
export declare const displayClassName = "fui-Display";
|
22
29
|
|
23
30
|
/**
|
24
31
|
* Text wrapper component for the Headline typography variant
|
25
32
|
*/
|
26
|
-
export declare const Headline:
|
33
|
+
export declare const Headline: FunctionComponent<TextWrapperProps>;
|
34
|
+
|
35
|
+
export declare const headlineClassName = "fui-Headline";
|
27
36
|
|
28
37
|
/**
|
29
38
|
* Text wrapper component for the Large Title typography variant
|
30
39
|
*/
|
31
|
-
export declare const LargeTitle:
|
40
|
+
export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
|
32
41
|
|
33
|
-
declare
|
34
|
-
}
|
42
|
+
export declare const largeTitleClassName = "fui-LargeTitle";
|
35
43
|
|
36
44
|
/**
|
37
45
|
* Render the final JSX of Text
|
@@ -41,115 +49,120 @@ export declare const renderText: (state: TextState) => JSX.Element;
|
|
41
49
|
/**
|
42
50
|
* Text wrapper component for the Subheadline typography variant
|
43
51
|
*/
|
44
|
-
export declare const Subheadline:
|
52
|
+
export declare const Subheadline: FunctionComponent<TextWrapperProps>;
|
53
|
+
|
54
|
+
export declare const subheadlineClassName = "fui-Subheadline";
|
45
55
|
|
46
56
|
/**
|
47
57
|
* Typography and styling abstraction component used to ensure consistency of text.
|
48
58
|
*/
|
49
|
-
declare const Text_2:
|
59
|
+
declare const Text_2: ForwardRefComponent<TextProps>;
|
50
60
|
export { Text_2 as Text }
|
51
61
|
|
52
|
-
|
53
|
-
* Names of TextProps that have a default value in useText
|
54
|
-
*/
|
55
|
-
export declare type TextDefaultedProps = never;
|
62
|
+
export declare const textClassName = "fui-Text";
|
56
63
|
|
57
|
-
|
58
|
-
* Text Props
|
59
|
-
*/
|
60
|
-
export declare interface TextProps extends ComponentPropsCompat, React_2.HTMLAttributes<HTMLElement> {
|
64
|
+
export declare type TextCommons = {
|
61
65
|
/**
|
62
66
|
* Wraps the text content on white spaces.
|
63
67
|
*
|
64
68
|
* @defaultValue true
|
65
69
|
*/
|
66
|
-
wrap
|
70
|
+
wrap: boolean;
|
67
71
|
/**
|
68
72
|
* Truncate overflowing text for block displays.
|
69
73
|
*
|
70
74
|
* @defaultValue false
|
71
75
|
*/
|
72
|
-
truncate
|
76
|
+
truncate: boolean;
|
73
77
|
/**
|
74
78
|
* Applies a block display for the content.
|
75
79
|
*
|
76
80
|
* @defaultValue false
|
77
81
|
*/
|
78
|
-
block
|
82
|
+
block: boolean;
|
79
83
|
/**
|
80
84
|
* Applies the italic font style to the content.
|
81
85
|
*
|
82
86
|
* @defaultValue false
|
83
87
|
*/
|
84
|
-
italic
|
88
|
+
italic: boolean;
|
85
89
|
/**
|
86
90
|
* Applies the underline text decoration to the content.
|
87
91
|
*
|
88
92
|
* @defaultValue false
|
89
93
|
*/
|
90
|
-
underline
|
94
|
+
underline: boolean;
|
91
95
|
/**
|
92
96
|
* Applies the strikethrough text decoration to the content.
|
93
97
|
*
|
94
98
|
* @defaultValue false
|
95
99
|
*/
|
96
|
-
strikethrough
|
100
|
+
strikethrough: boolean;
|
97
101
|
/**
|
98
102
|
* Applies font size and line height based on the theme tokens.
|
99
103
|
*
|
100
104
|
* @defaultValue 300
|
101
105
|
*/
|
102
|
-
size
|
106
|
+
size: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
103
107
|
/**
|
104
108
|
* Applies the font family to the content.
|
105
109
|
*
|
106
110
|
* @defaultValue base
|
107
111
|
*/
|
108
|
-
font
|
112
|
+
font: 'base' | 'monospace' | 'numeric';
|
109
113
|
/**
|
110
114
|
* Applies font weight to the content.
|
111
115
|
*
|
112
116
|
* @defaultValue regular
|
113
117
|
*/
|
114
|
-
weight
|
118
|
+
weight: 'regular' | 'medium' | 'semibold';
|
115
119
|
/**
|
116
120
|
* Aligns text based on the parent container.
|
117
121
|
*
|
118
122
|
* @defaultValue start
|
119
123
|
*/
|
120
|
-
align
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
124
|
+
align: 'start' | 'center' | 'end' | 'justify';
|
125
|
+
};
|
126
|
+
|
127
|
+
/**
|
128
|
+
* Text Props
|
129
|
+
*/
|
130
|
+
export declare type TextProps = ComponentProps<TextSlots> & Partial<TextCommons>;
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Text slots
|
134
|
+
*/
|
135
|
+
export declare type TextSlots = {
|
136
|
+
root: IntrinsicShorthandProps<'span', 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'pre'>;
|
137
|
+
};
|
128
138
|
|
129
139
|
/**
|
130
140
|
* State used in rendering Text
|
131
141
|
*/
|
132
|
-
export declare
|
133
|
-
|
134
|
-
|
135
|
-
*/
|
136
|
-
ref: React_2.Ref<HTMLElement>;
|
137
|
-
}
|
142
|
+
export declare type TextState = ComponentState<TextSlots> & TextCommons;
|
143
|
+
|
144
|
+
declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
138
145
|
|
139
146
|
/**
|
140
147
|
* Text wrapper component for the Title 1 typography variant
|
141
148
|
*/
|
142
|
-
export declare const Title1:
|
149
|
+
export declare const Title1: FunctionComponent<TextWrapperProps>;
|
150
|
+
|
151
|
+
export declare const title1ClassName = "fui-Title1";
|
143
152
|
|
144
153
|
/**
|
145
154
|
* Text wrapper component for the Title 2 typography variant
|
146
155
|
*/
|
147
|
-
export declare const Title2:
|
156
|
+
export declare const Title2: FunctionComponent<TextWrapperProps>;
|
157
|
+
|
158
|
+
export declare const title2ClassName = "fui-Title2";
|
148
159
|
|
149
160
|
/**
|
150
161
|
* Text wrapper component for the Title 3 typography variant
|
151
162
|
*/
|
152
|
-
export declare const Title3:
|
163
|
+
export declare const Title3: FunctionComponent<TextWrapperProps>;
|
164
|
+
|
165
|
+
export declare const title3ClassName = "fui-Title3";
|
153
166
|
|
154
167
|
/**
|
155
168
|
* Create the state required to render Text.
|
@@ -159,9 +172,8 @@ export declare const Title3: ForwardRefExoticComponent<Props & RefAttributes<HTM
|
|
159
172
|
*
|
160
173
|
* @param props - props from this instance of Text
|
161
174
|
* @param ref - reference to root HTMLElement of Text
|
162
|
-
* @param defaultProps - (optional) default prop values provided by the implementing type
|
163
175
|
*/
|
164
|
-
export declare const useText: (props: TextProps, ref: React_2.Ref<HTMLElement
|
176
|
+
export declare const useText: (props: TextProps, ref: React_2.Ref<HTMLElement>) => TextState;
|
165
177
|
|
166
178
|
/**
|
167
179
|
* Apply styling to the Text slots based on the state
|
package/lib/Body.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Body.js","sourceRoot":"","sources":["../src/Body.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
package/lib/Caption.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Caption.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Caption.js","sourceRoot":"","sources":["../src/Caption.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
package/lib/Display.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Display.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Display.js","sourceRoot":"","sources":["../src/Display.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
package/lib/Headline.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Headline.js","sourceRoot":"","sources":["../src/Headline.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
package/lib/LargeTitle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LargeTitle.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"LargeTitle.js","sourceRoot":"","sources":["../src/LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
package/lib/Subheadline.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Subheadline.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Subheadline.js","sourceRoot":"","sources":["../src/Subheadline.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/lib/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../src/Text.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
package/lib/Title1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title1.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Title1.js","sourceRoot":"","sources":["../src/Title1.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
package/lib/Title2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title2.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Title2.js","sourceRoot":"","sources":["../src/Title2.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
package/lib/Title3.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title3.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"Title3.js","sourceRoot":"","sources":["../src/Title3.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
2
|
+
import { TextWrapperProps } from '../wrapper';
|
3
|
+
export declare const bodyClassName = "fui-Body";
|
1
4
|
/**
|
2
5
|
* Text wrapper component for the Body typography variant
|
3
6
|
*/
|
4
|
-
export declare const Body:
|
7
|
+
export declare const Body: 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 bodyClassName = 'fui-Body';
|
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": "fkhj508",
|
13
|
+
"Bg96gwp": "f1i3iumi",
|
14
|
+
"Bhrd7zp": "figsok6"
|
14
15
|
}
|
15
16
|
}, {
|
16
|
-
"d": [".
|
17
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
|
17
18
|
});
|
18
19
|
/**
|
19
20
|
* Text wrapper component for the Body typography variant
|
20
21
|
*/
|
21
22
|
|
22
23
|
|
23
|
-
export
|
24
|
-
useStyles
|
24
|
+
export const Body = /*#__PURE__*/createWrapper({
|
25
|
+
useStyles,
|
26
|
+
className: bodyClassName,
|
25
27
|
displayName: 'Body'
|
26
28
|
});
|
27
29
|
//# sourceMappingURL=Body.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Body/Body.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../src/components/Body/Body.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,aAAa,GAAG,UAAtB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,IAAI,gBAAwC,aAAa,CAAC;AACrE,EAAA,SADqE;AAErE,EAAA,SAAS,EAAE,aAF0D;AAGrE,EAAA,WAAW,EAAE;AAHwD,CAAD,CAA/D","sourceRoot":""}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Body/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
@@ -1,4 +1,7 @@
|
|
1
|
+
import type { FunctionComponent } from 'react';
|
2
|
+
import { TextWrapperProps } from '../wrapper';
|
3
|
+
export declare const captionClassName = "fui-Caption";
|
1
4
|
/**
|
2
5
|
* Text wrapper component for the Caption typography variant
|
3
6
|
*/
|
4
|
-
export declare const Caption:
|
7
|
+
export declare const Caption: FunctionComponent<TextWrapperProps>;
|