@fluentui/react-text 9.3.7 → 9.3.9
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 +96 -2
- package/CHANGELOG.md +29 -3
- package/lib/components/Text/Text.js +3 -6
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/index.js +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/{useTextStyles.js → useTextStyles.styles.js} +1 -1
- package/lib/components/Text/useTextStyles.styles.js.map +1 -0
- package/lib/components/presets/Body1/Body1.js +2 -19
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js +1 -0
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.js +19 -0
- package/lib/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
- package/lib/components/presets/Body1Strong/Body1Strong.js +2 -19
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js +1 -0
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +19 -0
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
- package/lib/components/presets/Body1Stronger/Body1Stronger.js +2 -19
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js +1 -0
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +19 -0
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
- package/lib/components/presets/Body2/Body2.js +2 -19
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js +1 -0
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.js +19 -0
- package/lib/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
- package/lib/components/presets/Caption1/Caption1.js +2 -19
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js +1 -0
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js +19 -0
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
- package/lib/components/presets/Caption1Strong/Caption1Strong.js +2 -19
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js +1 -0
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +19 -0
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +2 -19
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js +1 -0
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +19 -0
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
- package/lib/components/presets/Caption2/Caption2.js +2 -19
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js +1 -0
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js +19 -0
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
- package/lib/components/presets/Caption2Strong/Caption2Strong.js +2 -19
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js +1 -0
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +19 -0
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
- package/lib/components/presets/Display/Display.js +2 -19
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js +1 -0
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.js +19 -0
- package/lib/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
- package/lib/components/presets/LargeTitle/LargeTitle.js +2 -19
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js +1 -0
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +19 -0
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
- package/lib/components/presets/Subtitle1/Subtitle1.js +2 -19
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js +1 -0
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +19 -0
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
- package/lib/components/presets/Subtitle2/Subtitle2.js +2 -19
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js +1 -0
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +19 -0
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -19
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js +1 -0
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +19 -0
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
- package/lib/components/presets/Title1/Title1.js +2 -19
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js +1 -0
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.js +19 -0
- package/lib/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
- package/lib/components/presets/Title2/Title2.js +2 -19
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js +1 -0
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.js +19 -0
- package/lib/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
- package/lib/components/presets/Title3/Title3.js +2 -19
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js +1 -0
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.js +19 -0
- package/lib/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
- package/lib-commonjs/components/Text/Text.js +3 -4
- package/lib-commonjs/components/Text/Text.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/{useTextStyles.js → useTextStyles.styles.js} +2 -2
- package/lib-commonjs/components/Text/useTextStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Body1/Body1.js +6 -32
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js +5 -0
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +6 -32
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js +5 -0
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +6 -32
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js +5 -0
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Body2/Body2.js +6 -32
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js +5 -0
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1/Caption1.js +6 -32
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js +5 -0
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +6 -32
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js +5 -0
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +6 -32
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js +5 -0
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +35 -0
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Caption2/Caption2.js +6 -32
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js +5 -0
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +6 -32
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js +5 -0
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Display/Display.js +6 -32
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js +5 -0
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +6 -32
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js +5 -0
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +35 -0
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +6 -32
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js +5 -0
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +6 -32
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js +5 -0
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +6 -32
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +5 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +35 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Title1/Title1.js +6 -32
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js +5 -0
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Title2/Title2.js +6 -32
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js +5 -0
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js.map +1 -0
- package/lib-commonjs/components/presets/Title3/Title3.js +6 -32
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js +5 -0
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +35 -0
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js.map +1 -0
- package/package.json +8 -7
- package/.swcrc +0 -30
- package/lib/components/Text/useTextStyles.js.map +0 -1
- package/lib-commonjs/components/Text/useTextStyles.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,101 @@
|
|
2
2
|
"name": "@fluentui/react-text",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Thu, 18 May 2023 00:35:47 GMT",
|
6
|
+
"tag": "@fluentui/react-text_v9.3.9",
|
7
|
+
"version": "9.3.9",
|
8
|
+
"comments": {
|
9
|
+
"none": [
|
10
|
+
{
|
11
|
+
"author": "olfedias@microsoft.com",
|
12
|
+
"package": "@fluentui/react-text",
|
13
|
+
"commit": "06cd515eda59a3078bfe32f9cc7c1f281cd20208",
|
14
|
+
"comment": "chore: add test-ssr script to v9 packages"
|
15
|
+
}
|
16
|
+
],
|
17
|
+
"patch": [
|
18
|
+
{
|
19
|
+
"author": "beachball",
|
20
|
+
"package": "@fluentui/react-text",
|
21
|
+
"comment": "Bump @fluentui/react-utilities to v9.9.0",
|
22
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"author": "beachball",
|
26
|
+
"package": "@fluentui/react-text",
|
27
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4",
|
28
|
+
"commit": "c496a1cf1ec82c08753df72c9061e84b77b7daeb"
|
29
|
+
}
|
30
|
+
]
|
31
|
+
}
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"date": "Fri, 12 May 2023 20:27:54 GMT",
|
35
|
+
"tag": "@fluentui/react-text_v9.3.8",
|
36
|
+
"version": "9.3.8",
|
37
|
+
"comments": {
|
38
|
+
"patch": [
|
39
|
+
{
|
40
|
+
"author": "gcox@microsoft.com",
|
41
|
+
"package": "@fluentui/react-text",
|
42
|
+
"commit": "ee977e20d359922798949a4f18af7a036ca36ca3",
|
43
|
+
"comment": "Update to use single hook selector"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"author": "olfedias@microsoft.com",
|
47
|
+
"package": "@fluentui/react-text",
|
48
|
+
"commit": "5174214ff482520b8d9fcc6894ed768604112ad5",
|
49
|
+
"comment": "chore: move makeStyles() calls to .styles.ts files"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"author": "olfedias@microsoft.com",
|
53
|
+
"package": "@fluentui/react-text",
|
54
|
+
"commit": "c28decb23d191a0daaaf6d5d1832429715102129",
|
55
|
+
"comment": "chore: exclude .swcrc from being published"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"author": "beachball",
|
59
|
+
"package": "@fluentui/react-text",
|
60
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.4.0",
|
61
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"author": "beachball",
|
65
|
+
"package": "@fluentui/react-text",
|
66
|
+
"comment": "Bump @fluentui/react-theme to v9.1.8",
|
67
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"author": "beachball",
|
71
|
+
"package": "@fluentui/react-text",
|
72
|
+
"comment": "Bump @fluentui/react-utilities to v9.8.1",
|
73
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"author": "beachball",
|
77
|
+
"package": "@fluentui/react-text",
|
78
|
+
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3",
|
79
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"author": "beachball",
|
83
|
+
"package": "@fluentui/react-text",
|
84
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21",
|
85
|
+
"commit": "79c08ce5bbf6387b2b18ba4c3d2d5681e0177d4b"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"none": [
|
89
|
+
{
|
90
|
+
"author": "martinhochel@microsoft.com",
|
91
|
+
"package": "@fluentui/react-text",
|
92
|
+
"commit": "dbda7fa69e3000aaf8dd4a061e254ebd35198b8e",
|
93
|
+
"comment": "fix: update npmignore files to fix npm8/node16 regression how npm publish works"
|
94
|
+
}
|
95
|
+
]
|
96
|
+
}
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"date": "Mon, 24 Apr 2023 08:12:43 GMT",
|
6
100
|
"tag": "@fluentui/react-text_v9.3.7",
|
7
101
|
"version": "9.3.7",
|
8
102
|
"comments": {
|
@@ -17,7 +111,7 @@
|
|
17
111
|
"author": "beachball",
|
18
112
|
"package": "@fluentui/react-text",
|
19
113
|
"comment": "Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2",
|
20
|
-
"commit": "
|
114
|
+
"commit": "505433ac64f144c9cca456097413d6af4582e5ee"
|
21
115
|
}
|
22
116
|
]
|
23
117
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,18 +1,44 @@
|
|
1
1
|
# Change Log - @fluentui/react-text
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 18 May 2023 00:35:47 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.3.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.9)
|
8
|
+
|
9
|
+
Thu, 18 May 2023 00:35:47 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.8..@fluentui/react-text_v9.3.9)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Bump @fluentui/react-utilities to v9.9.0 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
15
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.4 ([PR #27834](https://github.com/microsoft/fluentui/pull/27834) by beachball)
|
16
|
+
|
17
|
+
## [9.3.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.8)
|
18
|
+
|
19
|
+
Fri, 12 May 2023 20:27:54 GMT
|
20
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.7..@fluentui/react-text_v9.3.8)
|
21
|
+
|
22
|
+
### Patches
|
23
|
+
|
24
|
+
- Update to use single hook selector ([PR #27491](https://github.com/microsoft/fluentui/pull/27491) by gcox@microsoft.com)
|
25
|
+
- chore: move makeStyles() calls to .styles.ts files ([PR #27707](https://github.com/microsoft/fluentui/pull/27707) by olfedias@microsoft.com)
|
26
|
+
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
|
27
|
+
- Bump @fluentui/react-shared-contexts to v9.4.0 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
28
|
+
- Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
29
|
+
- Bump @fluentui/react-utilities to v9.8.1 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
30
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.3 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
31
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.21 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
|
32
|
+
|
7
33
|
## [9.3.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.7)
|
8
34
|
|
9
|
-
Mon, 24 Apr 2023 08:
|
35
|
+
Mon, 24 Apr 2023 08:12:43 GMT
|
10
36
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.3.6..@fluentui/react-text_v9.3.7)
|
11
37
|
|
12
38
|
### Patches
|
13
39
|
|
14
40
|
- chore: adopt custom JSX pragma ([PR #27626](https://github.com/microsoft/fluentui/pull/27626) by bernardo.sunderhus@gmail.com)
|
15
|
-
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([
|
41
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.0-alpha.2 ([commit](https://github.com/microsoft/fluentui/commit/505433ac64f144c9cca456097413d6af4582e5ee) by beachball)
|
16
42
|
|
17
43
|
## [9.3.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.3.6)
|
18
44
|
|
@@ -1,18 +1,15 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { useText_unstable } from './useText';
|
3
3
|
import { renderText_unstable } from './renderText';
|
4
|
-
import { useTextStyles_unstable } from './useTextStyles';
|
5
|
-
import {
|
4
|
+
import { useTextStyles_unstable } from './useTextStyles.styles';
|
5
|
+
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
|
6
6
|
/**
|
7
7
|
* Typography and styling abstraction component used to ensure consistency of text.
|
8
8
|
*/
|
9
9
|
export const Text = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
10
|
const state = useText_unstable(props, ref);
|
11
11
|
useTextStyles_unstable(state);
|
12
|
-
|
13
|
-
useTextStyles_unstable: useCustomStyles
|
14
|
-
} = useCustomStyleHooks_unstable();
|
15
|
-
useCustomStyles(state);
|
12
|
+
useCustomStyleHook_unstable('useTextStyles_unstable')(state);
|
16
13
|
return renderText_unstable(state);
|
17
14
|
// Work around some small mismatches in inferred types which don't matter in practice
|
18
15
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","
|
1
|
+
{"version":3,"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"sources":["../../../src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AACvB,SAASC,gBAAgB,QAAQ;AACjC,SAASC,mBAAmB,QAAQ;AACpC,SAASC,sBAAsB,QAAQ;AAGvC,SAASC,2BAA2B,QAAQ;AAE5C;;;AAGA,OAAO,MAAMC,IAAA,gBAAuCL,KAAA,CAAMM,UAAU,CAAC,CAACC,KAAA,EAAOC,GAAA,KAAQ;EACnF,MAAMC,KAAA,GAAQR,gBAAA,CAAiBM,KAAA,EAAOC,GAAA;EAEtCL,sBAAA,CAAuBM,KAAA;EAEvBL,2BAAA,CAA4B,0BAA0BK,KAAA;EAEtD,OAAOP,mBAAA,CAAoBO,KAAA;EAC3B;AACF;;AAEAJ,IAAA,CAAKK,WAAW,GAAG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc"}
|
@@ -113,4 +113,4 @@ export const useTextStyles_unstable = state => {
|
|
113
113
|
state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
|
114
114
|
return state;
|
115
115
|
};
|
116
|
-
//# sourceMappingURL=useTextStyles.js.map
|
116
|
+
//# sourceMappingURL=useTextStyles.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["__styles","mergeClasses","shorthands","tokens","textClassNames","root","useStyles","Bahqtrf","Be2twd7","Bg96gwp","Bhrd7zp","fsow6f","mc9l5x","Huce71","B68tc82","Bmxbyg5","ygn44y","nowrap","truncate","block","italic","B80ckks","underline","w71qe1","strikethrough","strikethroughUnderline","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","monospace","numeric","weightMedium","weightSemibold","weightBold","alignCenter","alignEnd","alignJustify","d","useTextStyles_unstable","state","styles","className","wrap","size","font","weight","align"],"sources":["../../../src/components/Text/useTextStyles.styles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"],"mappings":"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"}
|
@@ -1,27 +1,10 @@
|
|
1
|
-
import { __styles } from '@griffel/react';
|
2
1
|
import { createPreset } from '../createPreset';
|
3
|
-
import {
|
4
|
-
export const body1ClassNames = {
|
5
|
-
root: 'fui-Body1'
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
* Styles for the root slot
|
9
|
-
*/
|
10
|
-
const useStyles = /*#__PURE__*/__styles({
|
11
|
-
root: {
|
12
|
-
Bahqtrf: "fk6fouc",
|
13
|
-
Be2twd7: "fkhj508",
|
14
|
-
Bhrd7zp: "figsok6",
|
15
|
-
Bg96gwp: "f1i3iumi"
|
16
|
-
}
|
17
|
-
}, {
|
18
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
19
|
-
});
|
2
|
+
import { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';
|
20
3
|
/**
|
21
4
|
* Text preset component for the Body1 typography variant
|
22
5
|
*/
|
23
6
|
export const Body1 = /*#__PURE__*/createPreset({
|
24
|
-
useStyles,
|
7
|
+
useStyles: useBody1Styles,
|
25
8
|
className: body1ClassNames.root,
|
26
9
|
displayName: 'Body1'
|
27
10
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,eAAe,EAAEC,cAAc,QAAQ;AAEhD;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CH,YAAA,CAAa;EACpEI,SAAA,EAAWF,cAAA;EACXG,SAAA,EAAWJ,eAAA,CAAgBK,IAAI;EAC/BC,WAAA,EAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\n"],"mappings":"AAAA,cAAc"}
|
1
|
+
{"version":3,"names":["body1ClassNames"],"sources":["../../../../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,eAAe,QAAQ"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
3
|
+
export const body1ClassNames = {
|
4
|
+
root: 'fui-Body1'
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Styles for the root slot
|
8
|
+
*/
|
9
|
+
export const useBody1Styles = /*#__PURE__*/__styles({
|
10
|
+
root: {
|
11
|
+
Bahqtrf: "fk6fouc",
|
12
|
+
Be2twd7: "fkhj508",
|
13
|
+
Bhrd7zp: "figsok6",
|
14
|
+
Bg96gwp: "f1i3iumi"
|
15
|
+
}
|
16
|
+
}, {
|
17
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
18
|
+
});
|
19
|
+
//# sourceMappingURL=useBody1Styles.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["__styles","typographyStyles","body1ClassNames","root","useBody1Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Body1/useBody1Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1Styles = makeStyles({\n root: typographyStyles.body1,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,cAAA,gBAAiBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE9B"}
|
@@ -1,27 +1,10 @@
|
|
1
|
-
import { __styles } from '@griffel/react';
|
2
1
|
import { createPreset } from '../createPreset';
|
3
|
-
import {
|
4
|
-
export const body1StrongClassNames = {
|
5
|
-
root: 'fui-Body1Strong'
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
* Styles for the root slot
|
9
|
-
*/
|
10
|
-
const useStyles = /*#__PURE__*/__styles({
|
11
|
-
root: {
|
12
|
-
Bahqtrf: "fk6fouc",
|
13
|
-
Be2twd7: "fkhj508",
|
14
|
-
Bhrd7zp: "fl43uef",
|
15
|
-
Bg96gwp: "f1i3iumi"
|
16
|
-
}
|
17
|
-
}, {
|
18
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
19
|
-
});
|
2
|
+
import { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';
|
20
3
|
/**
|
21
4
|
* Text preset component for the Body1Strong typography variant
|
22
5
|
*/
|
23
6
|
export const Body1Strong = /*#__PURE__*/createPreset({
|
24
|
-
useStyles,
|
7
|
+
useStyles: useBody1StrongStyles,
|
25
8
|
className: body1StrongClassNames.root,
|
26
9
|
displayName: 'Body1Strong'
|
27
10
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ;AAE5D;;;AAGA,OAAO,MAAMC,WAAA,gBAAkDH,YAAA,CAAa;EAC1EI,SAAA,EAAWF,oBAAA;EACXG,SAAA,EAAWJ,qBAAA,CAAsBK,IAAI;EACrCC,WAAA,EAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\n"],"mappings":"AAAA,cAAc"}
|
1
|
+
{"version":3,"names":["body1StrongClassNames"],"sources":["../../../../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,qBAAqB,QAAQ"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
3
|
+
export const body1StrongClassNames = {
|
4
|
+
root: 'fui-Body1Strong'
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Styles for the root slot
|
8
|
+
*/
|
9
|
+
export const useBody1StrongStyles = /*#__PURE__*/__styles({
|
10
|
+
root: {
|
11
|
+
Bahqtrf: "fk6fouc",
|
12
|
+
Be2twd7: "fkhj508",
|
13
|
+
Bhrd7zp: "fl43uef",
|
14
|
+
Bg96gwp: "f1i3iumi"
|
15
|
+
}
|
16
|
+
}, {
|
17
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
18
|
+
});
|
19
|
+
//# sourceMappingURL=useBody1StrongStyles.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["__styles","typographyStyles","body1StrongClassNames","root","useBody1StrongStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Body1Strong/useBody1StrongStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongStyles = makeStyles({\n root: typographyStyles.body1Strong,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,qBAAA,GAAmD;EAC9DC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,oBAAA,gBAAuBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAEpC"}
|
@@ -1,27 +1,10 @@
|
|
1
|
-
import { __styles } from '@griffel/react';
|
2
1
|
import { createPreset } from '../createPreset';
|
3
|
-
import {
|
4
|
-
export const body1StrongerClassNames = {
|
5
|
-
root: 'fui-Body1Stronger'
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
* Styles for the root slot
|
9
|
-
*/
|
10
|
-
const useStyles = /*#__PURE__*/__styles({
|
11
|
-
root: {
|
12
|
-
Bahqtrf: "fk6fouc",
|
13
|
-
Be2twd7: "fkhj508",
|
14
|
-
Bhrd7zp: "flh3ekv",
|
15
|
-
Bg96gwp: "f1i3iumi"
|
16
|
-
}
|
17
|
-
}, {
|
18
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
19
|
-
});
|
2
|
+
import { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';
|
20
3
|
/**
|
21
4
|
* Text preset component for the Body1Stronger typography variant
|
22
5
|
*/
|
23
6
|
export const Body1Stronger = /*#__PURE__*/createPreset({
|
24
|
-
useStyles,
|
7
|
+
useStyles: useBody1StrongerStyles,
|
25
8
|
className: body1StrongerClassNames.root,
|
26
9
|
displayName: 'Body1Stronger'
|
27
10
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ;AAEhE;;;AAGA,OAAO,MAAMC,aAAA,gBAAoDH,YAAA,CAAa;EAC5EI,SAAA,EAAWF,sBAAA;EACXG,SAAA,EAAWJ,uBAAA,CAAwBK,IAAI;EACvCC,WAAA,EAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\n"],"mappings":"AAAA,cAAc"}
|
1
|
+
{"version":3,"names":["body1StrongerClassNames"],"sources":["../../../../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,uBAAuB,QAAQ"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
3
|
+
export const body1StrongerClassNames = {
|
4
|
+
root: 'fui-Body1Stronger'
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Styles for the root slot
|
8
|
+
*/
|
9
|
+
export const useBody1StrongerStyles = /*#__PURE__*/__styles({
|
10
|
+
root: {
|
11
|
+
Bahqtrf: "fk6fouc",
|
12
|
+
Be2twd7: "fkhj508",
|
13
|
+
Bhrd7zp: "flh3ekv",
|
14
|
+
Bg96gwp: "f1i3iumi"
|
15
|
+
}
|
16
|
+
}, {
|
17
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
18
|
+
});
|
19
|
+
//# sourceMappingURL=useBody1StrongerStyles.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["__styles","typographyStyles","body1StrongerClassNames","root","useBody1StrongerStyles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Body1Stronger/useBody1StrongerStyles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody1StrongerStyles = makeStyles({\n root: typographyStyles.body1Stronger,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,uBAAA,GAAqD;EAChEC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,sBAAA,gBAAyBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAEtC"}
|
@@ -1,27 +1,10 @@
|
|
1
|
-
import { __styles } from '@griffel/react';
|
2
1
|
import { createPreset } from '../createPreset';
|
3
|
-
import {
|
4
|
-
export const body2ClassNames = {
|
5
|
-
root: 'fui-Body2'
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
* Styles for the root slot
|
9
|
-
*/
|
10
|
-
const useStyles = /*#__PURE__*/__styles({
|
11
|
-
root: {
|
12
|
-
Bahqtrf: "fk6fouc",
|
13
|
-
Be2twd7: "fod5ikn",
|
14
|
-
Bhrd7zp: "figsok6",
|
15
|
-
Bg96gwp: "faaz57k"
|
16
|
-
}
|
17
|
-
}, {
|
18
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
19
|
-
});
|
2
|
+
import { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';
|
20
3
|
/**
|
21
4
|
* Text preset component for the Body2 typography variant
|
22
5
|
*/
|
23
6
|
export const Body2 = /*#__PURE__*/createPreset({
|
24
|
-
useStyles,
|
7
|
+
useStyles: useBody2Styles,
|
25
8
|
className: body2ClassNames.root,
|
26
9
|
displayName: 'Body2'
|
27
10
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,eAAe,EAAEC,cAAc,QAAQ;AAEhD;;;AAGA,OAAO,MAAMC,KAAA,gBAA4CH,YAAA,CAAa;EACpEI,SAAA,EAAWF,cAAA;EACXG,SAAA,EAAWJ,eAAA,CAAgBK,IAAI;EAC/BC,WAAA,EAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\n"],"mappings":"AAAA,cAAc"}
|
1
|
+
{"version":3,"names":["body2ClassNames"],"sources":["../../../../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,eAAe,QAAQ"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
3
|
+
export const body2ClassNames = {
|
4
|
+
root: 'fui-Body2'
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Styles for the root slot
|
8
|
+
*/
|
9
|
+
export const useBody2Styles = /*#__PURE__*/__styles({
|
10
|
+
root: {
|
11
|
+
Bahqtrf: "fk6fouc",
|
12
|
+
Be2twd7: "fod5ikn",
|
13
|
+
Bhrd7zp: "figsok6",
|
14
|
+
Bg96gwp: "faaz57k"
|
15
|
+
}
|
16
|
+
}, {
|
17
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
18
|
+
});
|
19
|
+
//# sourceMappingURL=useBody2Styles.styles.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["__styles","typographyStyles","body2ClassNames","root","useBody2Styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d"],"sources":["../../../../src/components/presets/Body2/useBody2Styles.styles.ts"],"sourcesContent":["import { makeStyles } from '@griffel/react';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body2',\n};\n\n/**\n * Styles for the root slot\n */\nexport const useBody2Styles = makeStyles({\n root: typographyStyles.body2,\n});\n"],"mappings":"AAAA,SAAAA,QAAA,QAA2B;AAG3B,SAASC,gBAAgB,QAAQ;AAEjC,OAAO,MAAMC,eAAA,GAA6C;EACxDC,IAAA,EAAM;AACR;AAEA;;;AAGA,OAAO,MAAMC,cAAA,gBAAiBJ,QAAA;EAAAG,IAAA;IAAAE,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE9B"}
|
@@ -1,27 +1,10 @@
|
|
1
|
-
import { __styles } from '@griffel/react';
|
2
1
|
import { createPreset } from '../createPreset';
|
3
|
-
import {
|
4
|
-
export const caption1ClassNames = {
|
5
|
-
root: 'fui-Caption1'
|
6
|
-
};
|
7
|
-
/**
|
8
|
-
* Styles for the root slot
|
9
|
-
*/
|
10
|
-
const useStyles = /*#__PURE__*/__styles({
|
11
|
-
root: {
|
12
|
-
Bahqtrf: "fk6fouc",
|
13
|
-
Be2twd7: "fy9rknc",
|
14
|
-
Bhrd7zp: "figsok6",
|
15
|
-
Bg96gwp: "fwrc4pm"
|
16
|
-
}
|
17
|
-
}, {
|
18
|
-
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
19
|
-
});
|
2
|
+
import { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';
|
20
3
|
/**
|
21
4
|
* Text preset component for the Caption1 typography variant
|
22
5
|
*/
|
23
6
|
export const Caption1 = /*#__PURE__*/createPreset({
|
24
|
-
useStyles,
|
7
|
+
useStyles: useCaption1Styles,
|
25
8
|
className: caption1ClassNames.root,
|
26
9
|
displayName: 'Caption1'
|
27
10
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["
|
1
|
+
{"version":3,"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"sources":["../../../../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"mappings":"AACA,SAASA,YAAY,QAAQ;AAE7B,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ;AAEtD;;;AAGA,OAAO,MAAMC,QAAA,gBAA+CH,YAAA,CAAa;EACvEI,SAAA,EAAWF,iBAAA;EACXG,SAAA,EAAWJ,kBAAA,CAAmBK,IAAI;EAClCC,WAAA,EAAa;AACf"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\n"],"mappings":"AAAA,cAAc"}
|
1
|
+
{"version":3,"names":["caption1ClassNames"],"sources":["../../../../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"mappings":"AAAA,cAAc;AACd,SAASA,kBAAkB,QAAQ"}
|