@fluentui/react-text 0.0.0-nightlybc5ff01fb020211104.1 → 0.0.0-nightlycc44f3625c20211220.1

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.
Files changed (84) hide show
  1. package/CHANGELOG.json +128 -14
  2. package/CHANGELOG.md +40 -10
  3. package/dist/react-text.d.ts +20 -0
  4. package/lib/components/Body/Body.d.ts +1 -0
  5. package/lib/components/Body/Body.js +2 -0
  6. package/lib/components/Body/Body.js.map +1 -1
  7. package/lib/components/Caption/Caption.d.ts +1 -0
  8. package/lib/components/Caption/Caption.js +2 -0
  9. package/lib/components/Caption/Caption.js.map +1 -1
  10. package/lib/components/Display/Display.d.ts +1 -0
  11. package/lib/components/Display/Display.js +2 -0
  12. package/lib/components/Display/Display.js.map +1 -1
  13. package/lib/components/Headline/Headline.d.ts +1 -0
  14. package/lib/components/Headline/Headline.js +2 -0
  15. package/lib/components/Headline/Headline.js.map +1 -1
  16. package/lib/components/LargeTitle/LargeTitle.d.ts +1 -0
  17. package/lib/components/LargeTitle/LargeTitle.js +2 -0
  18. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  19. package/lib/components/Subheadline/Subheadline.d.ts +1 -0
  20. package/lib/components/Subheadline/Subheadline.js +2 -0
  21. package/lib/components/Subheadline/Subheadline.js.map +1 -1
  22. package/lib/components/Text/renderText.js +2 -1
  23. package/lib/components/Text/renderText.js.map +1 -1
  24. package/lib/components/Text/useText.js.map +1 -1
  25. package/lib/components/Text/useTextStyles.d.ts +1 -0
  26. package/lib/components/Text/useTextStyles.js +11 -8
  27. package/lib/components/Text/useTextStyles.js.map +1 -1
  28. package/lib/components/Title1/Title1.d.ts +1 -0
  29. package/lib/components/Title1/Title1.js +2 -0
  30. package/lib/components/Title1/Title1.js.map +1 -1
  31. package/lib/components/Title2/Title2.d.ts +1 -0
  32. package/lib/components/Title2/Title2.js +2 -0
  33. package/lib/components/Title2/Title2.js.map +1 -1
  34. package/lib/components/Title3/Title3.d.ts +1 -0
  35. package/lib/components/Title3/Title3.js +2 -0
  36. package/lib/components/Title3/Title3.js.map +1 -1
  37. package/lib/components/wrapper.d.ts +1 -0
  38. package/lib/components/wrapper.js +2 -1
  39. package/lib/components/wrapper.js.map +1 -1
  40. package/lib/typographyStyles/typographyStyles.d.ts +1 -1
  41. package/lib-commonjs/components/Body/Body.d.ts +1 -0
  42. package/lib-commonjs/components/Body/Body.js +4 -2
  43. package/lib-commonjs/components/Body/Body.js.map +1 -1
  44. package/lib-commonjs/components/Caption/Caption.d.ts +1 -0
  45. package/lib-commonjs/components/Caption/Caption.js +4 -2
  46. package/lib-commonjs/components/Caption/Caption.js.map +1 -1
  47. package/lib-commonjs/components/Display/Display.d.ts +1 -0
  48. package/lib-commonjs/components/Display/Display.js +4 -2
  49. package/lib-commonjs/components/Display/Display.js.map +1 -1
  50. package/lib-commonjs/components/Headline/Headline.d.ts +1 -0
  51. package/lib-commonjs/components/Headline/Headline.js +4 -2
  52. package/lib-commonjs/components/Headline/Headline.js.map +1 -1
  53. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +1 -0
  54. package/lib-commonjs/components/LargeTitle/LargeTitle.js +4 -2
  55. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  56. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +1 -0
  57. package/lib-commonjs/components/Subheadline/Subheadline.js +4 -2
  58. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
  59. package/lib-commonjs/components/Text/renderText.js +2 -1
  60. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  61. package/lib-commonjs/components/Text/useText.js.map +1 -1
  62. package/lib-commonjs/components/Text/useTextStyles.d.ts +1 -0
  63. package/lib-commonjs/components/Text/useTextStyles.js +12 -9
  64. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  65. package/lib-commonjs/components/Title1/Title1.d.ts +1 -0
  66. package/lib-commonjs/components/Title1/Title1.js +4 -2
  67. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  68. package/lib-commonjs/components/Title2/Title2.d.ts +1 -0
  69. package/lib-commonjs/components/Title2/Title2.js +4 -2
  70. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  71. package/lib-commonjs/components/Title3/Title3.d.ts +1 -0
  72. package/lib-commonjs/components/Title3/Title3.js +4 -2
  73. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  74. package/lib-commonjs/components/wrapper.d.ts +1 -0
  75. package/lib-commonjs/components/wrapper.js +2 -1
  76. package/lib-commonjs/components/wrapper.js.map +1 -1
  77. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +1 -1
  78. package/package.json +9 -9
  79. package/lib/common/isConformant.d.ts +0 -4
  80. package/lib/common/isConformant.js +0 -16
  81. package/lib/common/isConformant.js.map +0 -1
  82. package/lib-commonjs/common/isConformant.d.ts +0 -4
  83. package/lib-commonjs/common/isConformant.js +0 -27
  84. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,55 +2,169 @@
2
2
  "name": "@fluentui/react-text",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 04 Nov 2021 04:20:36 GMT",
6
- "tag": "@fluentui/react-text_v0.0.0-nightlybc5ff01fb020211104.1",
7
- "version": "0.0.0-nightlybc5ff01fb020211104.1",
5
+ "date": "Mon, 20 Dec 2021 04:17:53 GMT",
6
+ "tag": "@fluentui/react-text_v0.0.0-nightlycc44f3625c20211220.1",
7
+ "version": "0.0.0-nightlycc44f3625c20211220.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
11
  "author": "email not defined",
12
12
  "package": "@fluentui/react-text",
13
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d",
13
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-text",
19
+ "commit": "a76afe26daad901ff5458ffdda7e66e600d5bcac",
20
+ "comment": "use makeStyles types from proper package"
21
+ },
22
+ {
23
+ "author": "olfedias@microsoft.com",
24
+ "package": "@fluentui/react-text",
25
+ "commit": "554b6709ced97b4d04363f9d9d22b6da4d31378c",
26
+ "comment": "update styles to not use CSS shorthands"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-text",
31
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
32
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-text",
37
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1",
38
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-text",
43
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
44
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-text",
49
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
50
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
51
+ },
52
+ {
53
+ "author": "beachball",
54
+ "package": "@fluentui/react-text",
55
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1",
56
+ "commit": "0839b0d96424e04706bd895d731d371acd3baaf5"
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ {
62
+ "date": "Thu, 25 Nov 2021 08:34:16 GMT",
63
+ "tag": "@fluentui/react-text_v9.0.0-beta.4",
64
+ "version": "9.0.0-beta.4",
65
+ "comments": {
66
+ "prerelease": [
67
+ {
68
+ "author": "andredias@microsoft.com",
69
+ "package": "@fluentui/react-text",
70
+ "commit": "168b9343fc93f5d188c6dbf4c9ced75f8ee4f41b",
71
+ "comment": "Migrate Text"
72
+ },
73
+ {
74
+ "author": "beachball",
75
+ "package": "@fluentui/react-text",
76
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
77
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
78
+ },
79
+ {
80
+ "author": "beachball",
81
+ "package": "@fluentui/react-text",
82
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
83
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
84
+ },
85
+ {
86
+ "author": "beachball",
87
+ "package": "@fluentui/react-text",
88
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
89
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
90
+ },
91
+ {
92
+ "author": "beachball",
93
+ "package": "@fluentui/react-text",
94
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
95
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
96
+ },
97
+ {
98
+ "author": "beachball",
99
+ "package": "@fluentui/react-text",
100
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
101
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
102
+ }
103
+ ]
104
+ }
105
+ },
106
+ {
107
+ "date": "Fri, 12 Nov 2021 13:25:08 GMT",
108
+ "tag": "@fluentui/react-text_v9.0.0-beta.3",
109
+ "version": "9.0.0-beta.3",
110
+ "comments": {
111
+ "prerelease": [
16
112
  {
17
113
  "author": "gcox@microsoft.com",
18
114
  "package": "@fluentui/react-text",
19
115
  "commit": "3d5ca9b57c3a6ed9d60a041abc1f5417686ba41e",
20
116
  "comment": "Updated with codesandbox comments"
21
117
  },
118
+ {
119
+ "author": "olfedias@microsoft.com",
120
+ "package": "@fluentui/react-text",
121
+ "commit": "259d0bf8475629b0b2521157a9b33e97fcf8d513",
122
+ "comment": "export static classes for components"
123
+ },
22
124
  {
23
125
  "author": "beachball",
24
126
  "package": "@fluentui/react-text",
25
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
26
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
127
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
128
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
27
129
  },
28
130
  {
29
131
  "author": "beachball",
30
132
  "package": "@fluentui/react-text",
31
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1",
32
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
133
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
134
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
33
135
  },
34
136
  {
35
137
  "author": "beachball",
36
138
  "package": "@fluentui/react-text",
37
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
38
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
139
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
140
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
39
141
  },
40
142
  {
41
143
  "author": "beachball",
42
144
  "package": "@fluentui/react-text",
43
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
44
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
145
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
146
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
147
  },
46
148
  {
47
149
  "author": "beachball",
48
150
  "package": "@fluentui/react-text",
49
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
50
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
151
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
152
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
153
  }
52
154
  ],
53
155
  "none": [
156
+ {
157
+ "author": "lingfangao@hotmail.com",
158
+ "package": "@fluentui/react-text",
159
+ "commit": "5e04b6208619318aa256768635101d5e64b96cc5",
160
+ "comment": "chore(Text): Add docs for each prop and new typography story"
161
+ },
162
+ {
163
+ "author": "lingfangao@hotmail.com",
164
+ "package": "@fluentui/react-text",
165
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
166
+ "comment": "Remove beta release tag"
167
+ },
54
168
  {
55
169
  "author": "mgodbolt@microsoft.com",
56
170
  "package": "@fluentui/react-text",
package/CHANGELOG.md CHANGED
@@ -1,23 +1,53 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Thu, 04 Nov 2021 04:20:36 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 20 Dec 2021 04:17:53 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightlybc5ff01fb020211104.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightlybc5ff01fb020211104.1)
7
+ ## [0.0.0-nightlycc44f3625c20211220.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightlycc44f3625c20211220.1)
8
8
 
9
- Thu, 04 Nov 2021 04:20:36 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.2..@fluentui/react-text_v0.0.0-nightlybc5ff01fb020211104.1)
9
+ Mon, 20 Dec 2021 04:17:53 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.4..@fluentui/react-text_v0.0.0-nightlycc44f3625c20211220.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by email not defined)
15
+ - use makeStyles types from proper package ([PR #20786](https://github.com/microsoft/fluentui/pull/20786) by olfedias@microsoft.com)
16
+ - update styles to not use CSS shorthands ([PR #20841](https://github.com/microsoft/fluentui/pull/20841) by olfedias@microsoft.com)
17
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
18
+ - Bump @fluentui/react-utilities to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
19
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
20
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
21
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlycc44f3625c20211220.1 ([commit](https://github.com/microsoft/fluentui/commit/0839b0d96424e04706bd895d731d371acd3baaf5) by beachball)
22
+
23
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.4)
24
+
25
+ Thu, 25 Nov 2021 08:34:16 GMT
26
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.3..@fluentui/react-text_v9.0.0-beta.4)
27
+
28
+ ### Changes
29
+
30
+ - Migrate Text ([PR #20653](https://github.com/microsoft/fluentui/pull/20653) by andredias@microsoft.com)
31
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
32
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
33
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
34
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
35
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
36
+
37
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.3)
38
+
39
+ Fri, 12 Nov 2021 13:25:08 GMT
40
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.2..@fluentui/react-text_v9.0.0-beta.3)
11
41
 
12
42
  ### Changes
13
43
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by email not defined)
15
44
  - Updated with codesandbox comments ([PR #20371](https://github.com/microsoft/fluentui/pull/20371) by gcox@microsoft.com)
16
- - Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
17
- - Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
18
- - Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
19
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
20
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by beachball)
45
+ - export static classes for components ([PR #20449](https://github.com/microsoft/fluentui/pull/20449) by olfedias@microsoft.com)
46
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
47
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
48
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
49
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
50
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
21
51
 
22
52
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.2)
23
53
 
@@ -11,26 +11,36 @@ import * as React_2 from 'react';
11
11
  declare const Body_2: FunctionComponent<TextWrapperProps>;
12
12
  export { Body_2 as Body }
13
13
 
14
+ export declare const bodyClassName = "fui-Body";
15
+
14
16
  /**
15
17
  * Text wrapper component for the Caption typography variant
16
18
  */
17
19
  export declare const Caption: FunctionComponent<TextWrapperProps>;
18
20
 
21
+ export declare const captionClassName = "fui-Caption";
22
+
19
23
  /**
20
24
  * Text wrapper component for the Display typography variant
21
25
  */
22
26
  export declare const Display: FunctionComponent<TextWrapperProps>;
23
27
 
28
+ export declare const displayClassName = "fui-Display";
29
+
24
30
  /**
25
31
  * Text wrapper component for the Headline typography variant
26
32
  */
27
33
  export declare const Headline: FunctionComponent<TextWrapperProps>;
28
34
 
35
+ export declare const headlineClassName = "fui-Headline";
36
+
29
37
  /**
30
38
  * Text wrapper component for the Large Title typography variant
31
39
  */
32
40
  export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
33
41
 
42
+ export declare const largeTitleClassName = "fui-LargeTitle";
43
+
34
44
  /**
35
45
  * Render the final JSX of Text
36
46
  */
@@ -41,12 +51,16 @@ export declare const renderText: (state: TextState) => JSX.Element;
41
51
  */
42
52
  export declare const Subheadline: FunctionComponent<TextWrapperProps>;
43
53
 
54
+ export declare const subheadlineClassName = "fui-Subheadline";
55
+
44
56
  /**
45
57
  * Typography and styling abstraction component used to ensure consistency of text.
46
58
  */
47
59
  declare const Text_2: ForwardRefComponent<TextProps>;
48
60
  export { Text_2 as Text }
49
61
 
62
+ export declare const textClassName = "fui-Text";
63
+
50
64
  export declare type TextCommons = {
51
65
  /**
52
66
  * Wraps the text content on white spaces.
@@ -134,16 +148,22 @@ declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
134
148
  */
135
149
  export declare const Title1: FunctionComponent<TextWrapperProps>;
136
150
 
151
+ export declare const title1ClassName = "fui-Title1";
152
+
137
153
  /**
138
154
  * Text wrapper component for the Title 2 typography variant
139
155
  */
140
156
  export declare const Title2: FunctionComponent<TextWrapperProps>;
141
157
 
158
+ export declare const title2ClassName = "fui-Title2";
159
+
142
160
  /**
143
161
  * Text wrapper component for the Title 3 typography variant
144
162
  */
145
163
  export declare const Title3: FunctionComponent<TextWrapperProps>;
146
164
 
165
+ export declare const title3ClassName = "fui-Title3";
166
+
147
167
  /**
148
168
  * Create the state required to render Text.
149
169
  *
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const bodyClassName = "fui-Body";
3
4
  /**
4
5
  * Text wrapper component for the Body typography variant
5
6
  */
@@ -1,6 +1,7 @@
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
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const Body = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: bodyClassName,
25
27
  displayName: 'Body'
26
28
  });
27
29
  //# sourceMappingURL=Body.js.map
@@ -1 +1 @@
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;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,IAAI,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAA/D","sourceRoot":""}
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,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const captionClassName = "fui-Caption";
3
4
  /**
4
5
  * Text wrapper component for the Caption typography variant
5
6
  */
@@ -1,6 +1,7 @@
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 captionClassName = 'fui-Caption';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const Caption = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: captionClassName,
25
27
  displayName: 'Caption'
26
28
  });
27
29
  //# sourceMappingURL=Caption.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Caption/Caption.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,OAAO,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAlE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Caption/Caption.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,gBAAgB,GAAG,aAAzB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,OAAO,gBAAwC,aAAa,CAAC;AACxE,EAAA,SADwE;AAExE,EAAA,SAAS,EAAE,gBAF6D;AAGxE,EAAA,WAAW,EAAE;AAH2D,CAAD,CAAlE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const displayClassName = "fui-Display";
3
4
  /**
4
5
  * Text wrapper component for the Display typography variant
5
6
  */
@@ -1,6 +1,7 @@
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 displayClassName = 'fui-Display';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const Display = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: displayClassName,
25
27
  displayName: 'Display'
26
28
  });
27
29
  //# sourceMappingURL=Display.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Display/Display.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,OAAO,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAlE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Display/Display.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,gBAAgB,GAAG,aAAzB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,OAAO,gBAAwC,aAAa,CAAC;AACxE,EAAA,SADwE;AAExE,EAAA,SAAS,EAAE,gBAF6D;AAGxE,EAAA,WAAW,EAAE;AAH2D,CAAD,CAAlE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const headlineClassName = "fui-Headline";
3
4
  /**
4
5
  * Text wrapper component for the Headline typography variant
5
6
  */
@@ -1,6 +1,7 @@
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 headlineClassName = 'fui-Headline';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const Headline = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: headlineClassName,
25
27
  displayName: 'Headline'
26
28
  });
27
29
  //# sourceMappingURL=Headline.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,QAAQ,gBAAwC,aAAa,CAAC;AACzE,EAAA,SADyE;AAEzE,EAAA,WAAW,EAAE;AAF4D,CAAD,CAAnE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Headline/Headline.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,QAAQ,gBAAwC,aAAa,CAAC;AACzE,EAAA,SADyE;AAEzE,EAAA,SAAS,EAAE,iBAF8D;AAGzE,EAAA,WAAW,EAAE;AAH4D,CAAD,CAAnE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const largeTitleClassName = "fui-LargeTitle";
3
4
  /**
4
5
  * Text wrapper component for the Large Title typography variant
5
6
  */
@@ -1,6 +1,7 @@
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 largeTitleClassName = 'fui-LargeTitle';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const LargeTitle = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: largeTitleClassName,
25
27
  displayName: 'LargeTitle'
26
28
  });
27
29
  //# sourceMappingURL=LargeTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/LargeTitle/LargeTitle.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,UAAU,gBAAwC,aAAa,CAAC;AAC3E,EAAA,SAD2E;AAE3E,EAAA,WAAW,EAAE;AAF8D,CAAD,CAArE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/LargeTitle/LargeTitle.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,mBAAmB,GAAG,gBAA5B;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,UAAU,gBAAwC,aAAa,CAAC;AAC3E,EAAA,SAD2E;AAE3E,EAAA,SAAS,EAAE,mBAFgE;AAG3E,EAAA,WAAW,EAAE;AAH8D,CAAD,CAArE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const subheadlineClassName = "fui-Subheadline";
3
4
  /**
4
5
  * Text wrapper component for the Subheadline typography variant
5
6
  */
@@ -1,6 +1,7 @@
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 subheadlineClassName = 'fui-Subheadline';
4
5
  /**
5
6
  * Styles for the root slot
6
7
  */
@@ -22,6 +23,7 @@ const useStyles = /*#__PURE__*/__styles({
22
23
 
23
24
  export const Subheadline = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: subheadlineClassName,
25
27
  displayName: 'Subheadline'
26
28
  });
27
29
  //# sourceMappingURL=Subheadline.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Subheadline/Subheadline.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,WAAW,gBAAwC,aAAa,CAAC;AAC5E,EAAA,SAD4E;AAE5E,EAAA,WAAW,EAAE;AAF+D,CAAD,CAAtE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Subheadline/Subheadline.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,WAAW,gBAAwC,aAAa,CAAC;AAC5E,EAAA,SAD4E;AAE5E,EAAA,SAAS,EAAE,oBAFiE;AAG5E,EAAA,WAAW,EAAE;AAH+D,CAAD,CAAtE","sourceRoot":""}
@@ -9,6 +9,7 @@ export const renderText = state => {
9
9
  slots,
10
10
  slotProps
11
11
  } = getSlots(state);
12
- return /*#__PURE__*/React.createElement(slots.root, Object.assign({}, slotProps.root));
12
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
13
+ });
13
14
  };
14
15
  //# sourceMappingURL=renderText.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,UAAU,GAAI,KAAD,IAAqB;AAC7C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAY,KAAZ,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAAP;AACD,CAJM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Text/renderText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,UAAU,GAAI,KAAD,IAAqB;AAC7C,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAY,KAAZ,CAArC;AAEA,sBAAO,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAAP;AACD,CAJM","sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/useText.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,OAAO,GAAG,CAAC,KAAD,EAAmB,GAAnB,KAA6D;;;AAClF,QAAM;AAAE,IAAA,IAAF;AAAQ,IAAA,QAAR;AAAkB,IAAA,KAAlB;AAAyB,IAAA,MAAzB;AAAiC,IAAA,SAAjC;AAA4C,IAAA,aAA5C;AAA2D,IAAA,IAA3D;AAAiE,IAAA,IAAjE;AAAuE,IAAA,MAAvE;AAA+E,IAAA;AAA/E,MAAyF,KAA/F;AACA,QAAM,EAAE,GAAA,CAAA,EAAA,GAAG,KAAK,CAAC,EAAT,MAAW,IAAX,IAAW,EAAA,KAAA,KAAA,CAAX,GAAW,EAAX,GAAe,MAAvB;AAEA,QAAM,KAAK,GAAc;AACvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,IADS;AAEvB,IAAA,QAAQ,EAAE,QAAQ,KAAA,IAAR,IAAA,QAAQ,KAAA,KAAA,CAAR,GAAA,QAAA,GAAY,KAFC;AAGvB,IAAA,KAAK,EAAE,KAAK,KAAA,IAAL,IAAA,KAAK,KAAA,KAAA,CAAL,GAAA,KAAA,GAAS,KAHO;AAIvB,IAAA,MAAM,EAAE,MAAM,KAAA,IAAN,IAAA,MAAM,KAAA,KAAA,CAAN,GAAA,MAAA,GAAU,KAJK;AAKvB,IAAA,SAAS,EAAE,SAAS,KAAA,IAAT,IAAA,SAAS,KAAA,KAAA,CAAT,GAAA,SAAA,GAAa,KALD;AAMvB,IAAA,aAAa,EAAE,aAAa,KAAA,IAAb,IAAA,aAAa,KAAA,KAAA,CAAb,GAAA,aAAA,GAAiB,KANT;AAOvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,GAPS;AAQvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,MARS;AASvB,IAAA,MAAM,EAAE,MAAM,KAAA,IAAN,IAAA,MAAM,KAAA,KAAA,CAAN,GAAA,MAAA,GAAU,SATK;AAUvB,IAAA,KAAK,EAAE,KAAK,KAAA,IAAL,IAAA,KAAK,KAAA,KAAA,CAAL,GAAA,KAAA,GAAS,OAVO;AAYvB,IAAA,UAAU,EAAE;AAAE,MAAA,IAAI,EAAE;AAAR,KAZW;AAcvB,IAAA,IAAI,EAAE,qBAAqB,CAAC,EAAD,EAAK;AAC9B,MAAA,GAD8B;AAE9B,SAAG,KAF2B;AAG9B,MAAA;AAH8B,KAAL;AAdJ,GAAzB;AAqBA,SAAO,KAAP;AACD,CA1BM","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Text/useText.ts"],"names":[],"mappings":"AACA,SAAS,qBAAT,QAAsC,2BAAtC;AAGA;;;;;;;;AAQG;;AACH,OAAO,MAAM,OAAO,GAAG,CAAC,KAAD,EAAmB,GAAnB,KAA6D;;;AAClF,QAAM;AAAE,IAAA,IAAF;AAAQ,IAAA,QAAR;AAAkB,IAAA,KAAlB;AAAyB,IAAA,MAAzB;AAAiC,IAAA,SAAjC;AAA4C,IAAA,aAA5C;AAA2D,IAAA,IAA3D;AAAiE,IAAA,IAAjE;AAAuE,IAAA,MAAvE;AAA+E,IAAA;AAA/E,MAAyF,KAA/F;AACA,QAAM,EAAE,GAAG,CAAA,EAAA,GAAA,KAAK,CAAC,EAAN,MAAQ,IAAR,IAAQ,EAAA,KAAA,KAAA,CAAR,GAAQ,EAAR,GAAY,MAAvB;AAEA,QAAM,KAAK,GAAc;AACvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,IADS;AAEvB,IAAA,QAAQ,EAAE,QAAQ,KAAA,IAAR,IAAA,QAAQ,KAAA,KAAA,CAAR,GAAA,QAAA,GAAY,KAFC;AAGvB,IAAA,KAAK,EAAE,KAAK,KAAA,IAAL,IAAA,KAAK,KAAA,KAAA,CAAL,GAAA,KAAA,GAAS,KAHO;AAIvB,IAAA,MAAM,EAAE,MAAM,KAAA,IAAN,IAAA,MAAM,KAAA,KAAA,CAAN,GAAA,MAAA,GAAU,KAJK;AAKvB,IAAA,SAAS,EAAE,SAAS,KAAA,IAAT,IAAA,SAAS,KAAA,KAAA,CAAT,GAAA,SAAA,GAAa,KALD;AAMvB,IAAA,aAAa,EAAE,aAAa,KAAA,IAAb,IAAA,aAAa,KAAA,KAAA,CAAb,GAAA,aAAA,GAAiB,KANT;AAOvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,GAPS;AAQvB,IAAA,IAAI,EAAE,IAAI,KAAA,IAAJ,IAAA,IAAI,KAAA,KAAA,CAAJ,GAAA,IAAA,GAAQ,MARS;AASvB,IAAA,MAAM,EAAE,MAAM,KAAA,IAAN,IAAA,MAAM,KAAA,KAAA,CAAN,GAAA,MAAA,GAAU,SATK;AAUvB,IAAA,KAAK,EAAE,KAAK,KAAA,IAAL,IAAA,KAAK,KAAA,KAAA,CAAL,GAAA,KAAA,GAAS,OAVO;AAYvB,IAAA,UAAU,EAAE;AAAE,MAAA,IAAI,EAAE;AAAR,KAZW;AAcvB,IAAA,IAAI,EAAE,qBAAqB,CAAC,EAAD,EAAK;AAC9B,MAAA,GAD8B;AAE9B,SAAG,KAF2B;AAG9B,MAAA;AAH8B,KAAL;AAdJ,GAAzB;AAqBA,SAAO,KAAP;AACD,CA1BM","sourceRoot":""}
@@ -1,4 +1,5 @@
1
1
  import type { TextState } from './Text.types';
2
+ export declare const textClassName = "fui-Text";
2
3
  /**
3
4
  * Apply styling to the Text slots based on the state
4
5
  */
@@ -1,4 +1,5 @@
1
- import { __styles, mergeClasses } from '@fluentui/react-make-styles';
1
+ import { __styles, mergeClasses, shorthands } from '@fluentui/react-make-styles';
2
+ export const textClassName = 'fui-Text';
2
3
  /**
3
4
  * Styles for the root slot
4
5
  */
@@ -12,12 +13,14 @@ const useStyles = /*#__PURE__*/__styles({
12
13
  "fsow6f": "fpgzoln",
13
14
  "mc9l5x": "f1w7gpdv",
14
15
  "Huce71": "f6juhto",
15
- "Bpg54ce": "f1gl81tg",
16
+ "B68tc82": "f1mtd64y",
17
+ "Bmxbyg5": "f1y7q3j9",
16
18
  "ygn44y": "f2jf649"
17
19
  },
18
20
  "nowrap": {
19
21
  "Huce71": "fz5stix",
20
- "Bpg54ce": "f1a3p1vp"
22
+ "B68tc82": "f1p9o1ba",
23
+ "Bmxbyg5": "f1sil6mw"
21
24
  },
22
25
  "truncate": {
23
26
  "ygn44y": "f1cmbuwj"
@@ -29,13 +32,13 @@ const useStyles = /*#__PURE__*/__styles({
29
32
  "B80ckks": "f1j4dglz"
30
33
  },
31
34
  "underline": {
32
- "dwov6y": "fctto54"
35
+ "w71qe1": "f13mvf36"
33
36
  },
34
37
  "strikethrough": {
35
- "dwov6y": "f1y2xhd0"
38
+ "w71qe1": "fv5q2k7"
36
39
  },
37
40
  "strikethroughUnderline": {
38
- "dwov6y": "f13legbo"
41
+ "w71qe1": "f1drk4o6"
39
42
  },
40
43
  "base100": {
41
44
  "Be2twd7": "f13mqy1h",
@@ -95,7 +98,7 @@ const useStyles = /*#__PURE__*/__styles({
95
98
  "fsow6f": "f1j59e10"
96
99
  }
97
100
  }, {
98
- "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fpgzoln{text-align:start;}", ".f1w7gpdv{display:inline;}", ".f6juhto{white-space:normal;}", ".f1gl81tg{overflow:visible;}", ".f2jf649{text-overflow:clip;}", ".fz5stix{white-space:nowrap;}", ".f1a3p1vp{overflow:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".ftgm304{display:block;}", ".f1j4dglz{font-style:italic;}", ".fctto54{-webkit-text-decoration:underline;text-decoration:underline;}", ".f1y2xhd0{-webkit-text-decoration:line-through;text-decoration:line-through;}", ".f13legbo{-webkit-text-decoration:line-through underline;text-decoration:line-through underline;}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fcpl73t{line-height:var(--lineHeightBase100);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}", ".f1fedwem{font-family:var(--fontFamilyMonospace);}", ".f1uq0ln5{font-family:var(--fontFamilyNumeric);}", ".fdj6btp{font-weight:var(--fontWeightMedium);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f17mccla{text-align:center;}", ".f12ymhq5{text-align:end;}", ".f1j59e10{text-align:justify;}"]
101
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fpgzoln{text-align:start;}", ".f1w7gpdv{display:inline;}", ".f6juhto{white-space:normal;}", ".f1mtd64y{overflow-x:visible;}", ".f1y7q3j9{overflow-y:visible;}", ".f2jf649{text-overflow:clip;}", ".fz5stix{white-space:nowrap;}", ".f1p9o1ba{overflow-x:hidden;}", ".f1sil6mw{overflow-y:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".ftgm304{display:block;}", ".f1j4dglz{font-style:italic;}", ".f13mvf36{text-decoration-line:underline;}", ".fv5q2k7{text-decoration-line:line-through;}", ".f1drk4o6{text-decoration-line:line-through underline;}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fcpl73t{line-height:var(--lineHeightBase100);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}", ".f1fedwem{font-family:var(--fontFamilyMonospace);}", ".f1uq0ln5{font-family:var(--fontFamilyNumeric);}", ".fdj6btp{font-weight:var(--fontWeightMedium);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f17mccla{text-align:center;}", ".f12ymhq5{text-align:end;}", ".f1j59e10{text-align:justify;}"]
99
102
  });
100
103
  /**
101
104
  * Apply styling to the Text slots based on the state
@@ -104,7 +107,7 @@ const useStyles = /*#__PURE__*/__styles({
104
107
 
105
108
  export const useTextStyles = state => {
106
109
  const styles = useStyles();
107
- state.root.className = mergeClasses(styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
110
+ state.root.className = mergeClasses(textClassName, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
108
111
  return state;
109
112
  };
110
113
  //# sourceMappingURL=useTextStyles.js.map