@fluentui/react-text 0.0.0-nightlybc5ff01fb020211104.1 → 0.0.0-nightlyc0273fdc6920211123.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 (76) hide show
  1. package/CHANGELOG.json +77 -14
  2. package/CHANGELOG.md +25 -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/useTextStyles.d.ts +1 -0
  23. package/lib/components/Text/useTextStyles.js +2 -1
  24. package/lib/components/Text/useTextStyles.js.map +1 -1
  25. package/lib/components/Title1/Title1.d.ts +1 -0
  26. package/lib/components/Title1/Title1.js +2 -0
  27. package/lib/components/Title1/Title1.js.map +1 -1
  28. package/lib/components/Title2/Title2.d.ts +1 -0
  29. package/lib/components/Title2/Title2.js +2 -0
  30. package/lib/components/Title2/Title2.js.map +1 -1
  31. package/lib/components/Title3/Title3.d.ts +1 -0
  32. package/lib/components/Title3/Title3.js +2 -0
  33. package/lib/components/Title3/Title3.js.map +1 -1
  34. package/lib/components/wrapper.d.ts +1 -0
  35. package/lib/components/wrapper.js +2 -1
  36. package/lib/components/wrapper.js.map +1 -1
  37. package/lib-commonjs/components/Body/Body.d.ts +1 -0
  38. package/lib-commonjs/components/Body/Body.js +4 -2
  39. package/lib-commonjs/components/Body/Body.js.map +1 -1
  40. package/lib-commonjs/components/Caption/Caption.d.ts +1 -0
  41. package/lib-commonjs/components/Caption/Caption.js +4 -2
  42. package/lib-commonjs/components/Caption/Caption.js.map +1 -1
  43. package/lib-commonjs/components/Display/Display.d.ts +1 -0
  44. package/lib-commonjs/components/Display/Display.js +4 -2
  45. package/lib-commonjs/components/Display/Display.js.map +1 -1
  46. package/lib-commonjs/components/Headline/Headline.d.ts +1 -0
  47. package/lib-commonjs/components/Headline/Headline.js +4 -2
  48. package/lib-commonjs/components/Headline/Headline.js.map +1 -1
  49. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +1 -0
  50. package/lib-commonjs/components/LargeTitle/LargeTitle.js +4 -2
  51. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  52. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +1 -0
  53. package/lib-commonjs/components/Subheadline/Subheadline.js +4 -2
  54. package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
  55. package/lib-commonjs/components/Text/useTextStyles.d.ts +1 -0
  56. package/lib-commonjs/components/Text/useTextStyles.js +4 -3
  57. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  58. package/lib-commonjs/components/Title1/Title1.d.ts +1 -0
  59. package/lib-commonjs/components/Title1/Title1.js +4 -2
  60. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  61. package/lib-commonjs/components/Title2/Title2.d.ts +1 -0
  62. package/lib-commonjs/components/Title2/Title2.js +4 -2
  63. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  64. package/lib-commonjs/components/Title3/Title3.d.ts +1 -0
  65. package/lib-commonjs/components/Title3/Title3.js +4 -2
  66. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  67. package/lib-commonjs/components/wrapper.d.ts +1 -0
  68. package/lib-commonjs/components/wrapper.js +2 -1
  69. package/lib-commonjs/components/wrapper.js.map +1 -1
  70. package/package.json +9 -9
  71. package/lib/common/isConformant.d.ts +0 -4
  72. package/lib/common/isConformant.js +0 -16
  73. package/lib/common/isConformant.js.map +0 -1
  74. package/lib-commonjs/common/isConformant.d.ts +0 -4
  75. package/lib-commonjs/common/isConformant.js +0 -27
  76. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,55 +2,118 @@
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": "Tue, 23 Nov 2021 04:19:32 GMT",
6
+ "tag": "@fluentui/react-text_v0.0.0-nightlyc0273fdc6920211123.1",
7
+ "version": "0.0.0-nightlyc0273fdc6920211123.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": "ecb84838dc29fe424995bfc3c2983d3cd335936e",
14
14
  "comment": "Release nightly v9"
15
15
  },
16
+ {
17
+ "author": "andredias@microsoft.com",
18
+ "package": "@fluentui/react-text",
19
+ "commit": "168b9343fc93f5d188c6dbf4c9ced75f8ee4f41b",
20
+ "comment": "Migrate Text"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-text",
25
+ "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyc0273fdc6920211123.1",
26
+ "commit": "ecb84838dc29fe424995bfc3c2983d3cd335936e"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-text",
31
+ "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyc0273fdc6920211123.1",
32
+ "commit": "ecb84838dc29fe424995bfc3c2983d3cd335936e"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-text",
37
+ "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyc0273fdc6920211123.1",
38
+ "commit": "ecb84838dc29fe424995bfc3c2983d3cd335936e"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-text",
43
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc0273fdc6920211123.1",
44
+ "commit": "ecb84838dc29fe424995bfc3c2983d3cd335936e"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui/react-text",
49
+ "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc0273fdc6920211123.1",
50
+ "commit": "ecb84838dc29fe424995bfc3c2983d3cd335936e"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Fri, 12 Nov 2021 13:25:08 GMT",
57
+ "tag": "@fluentui/react-text_v9.0.0-beta.3",
58
+ "version": "9.0.0-beta.3",
59
+ "comments": {
60
+ "prerelease": [
16
61
  {
17
62
  "author": "gcox@microsoft.com",
18
63
  "package": "@fluentui/react-text",
19
64
  "commit": "3d5ca9b57c3a6ed9d60a041abc1f5417686ba41e",
20
65
  "comment": "Updated with codesandbox comments"
21
66
  },
67
+ {
68
+ "author": "olfedias@microsoft.com",
69
+ "package": "@fluentui/react-text",
70
+ "commit": "259d0bf8475629b0b2521157a9b33e97fcf8d513",
71
+ "comment": "export static classes for components"
72
+ },
22
73
  {
23
74
  "author": "beachball",
24
75
  "package": "@fluentui/react-text",
25
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
26
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
76
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
77
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
27
78
  },
28
79
  {
29
80
  "author": "beachball",
30
81
  "package": "@fluentui/react-text",
31
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightlybc5ff01fb020211104.1",
32
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
82
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
83
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
33
84
  },
34
85
  {
35
86
  "author": "beachball",
36
87
  "package": "@fluentui/react-text",
37
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
38
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
88
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
89
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
39
90
  },
40
91
  {
41
92
  "author": "beachball",
42
93
  "package": "@fluentui/react-text",
43
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
44
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
94
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
95
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
45
96
  },
46
97
  {
47
98
  "author": "beachball",
48
99
  "package": "@fluentui/react-text",
49
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlybc5ff01fb020211104.1",
50
- "commit": "112d5b8815c25532184ed7c1407ba9a777e2f48d"
100
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
101
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
51
102
  }
52
103
  ],
53
104
  "none": [
105
+ {
106
+ "author": "lingfangao@hotmail.com",
107
+ "package": "@fluentui/react-text",
108
+ "commit": "5e04b6208619318aa256768635101d5e64b96cc5",
109
+ "comment": "chore(Text): Add docs for each prop and new typography story"
110
+ },
111
+ {
112
+ "author": "lingfangao@hotmail.com",
113
+ "package": "@fluentui/react-text",
114
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
115
+ "comment": "Remove beta release tag"
116
+ },
54
117
  {
55
118
  "author": "mgodbolt@microsoft.com",
56
119
  "package": "@fluentui/react-text",
package/CHANGELOG.md CHANGED
@@ -1,23 +1,38 @@
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 Tue, 23 Nov 2021 04:19:32 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-nightlyc0273fdc6920211123.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v0.0.0-nightlyc0273fdc6920211123.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
+ Tue, 23 Nov 2021 04:19:32 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.0.0-beta.3..@fluentui/react-text_v0.0.0-nightlyc0273fdc6920211123.1)
11
+
12
+ ### Changes
13
+
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by email not defined)
15
+ - Migrate Text ([PR #20653](https://github.com/microsoft/fluentui/pull/20653) by andredias@microsoft.com)
16
+ - Bump @fluentui/react-make-styles to v0.0.0-nightlyc0273fdc6920211123.1 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightlyc0273fdc6920211123.1 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by beachball)
18
+ - Bump @fluentui/babel-make-styles to v0.0.0-nightlyc0273fdc6920211123.1 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by beachball)
19
+ - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyc0273fdc6920211123.1 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by beachball)
20
+ - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyc0273fdc6920211123.1 ([commit](https://github.com/microsoft/fluentui/commit/ecb84838dc29fe424995bfc3c2983d3cd335936e) by beachball)
21
+
22
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.3)
23
+
24
+ Fri, 12 Nov 2021 13:25:08 GMT
25
+ [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
26
 
12
27
  ### Changes
13
28
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/112d5b8815c25532184ed7c1407ba9a777e2f48d) by email not defined)
15
29
  - 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)
30
+ - export static classes for components ([PR #20449](https://github.com/microsoft/fluentui/pull/20449) by olfedias@microsoft.com)
31
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
32
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
33
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
34
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
35
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
21
36
 
22
37
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.0.0-beta.2)
23
38
 
@@ -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":""}
@@ -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
1
  import { __styles, mergeClasses } from '@fluentui/react-make-styles';
2
+ export const textClassName = 'fui-Text';
2
3
  /**
3
4
  * Styles for the root slot
4
5
  */
@@ -104,7 +105,7 @@ const useStyles = /*#__PURE__*/__styles({
104
105
 
105
106
  export const useTextStyles = state => {
106
107
  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);
108
+ state.root.className = mergeClasses(textClassName, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
108
109
  return state;
109
110
  };
110
111
  //# sourceMappingURL=useTextStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Text/useTextStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAGA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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AA4B,MAAM,CAAC,OApBF,EAqBjC,KAAK,CAAC,MAAN,KAAiB,QAAjB,IAA6B,MAAM,CAAC,YArBH,EAsBjC,KAAK,CAAC,MAAN,KAAiB,UAAjB,IAA+B,MAAM,CAAC,cAtBL,EAuBjC,KAAK,CAAC,KAAN,KAAgB,QAAhB,IAA4B,MAAM,CAAC,WAvBF,EAwBjC,KAAK,CAAC,KAAN,KAAgB,KAAhB,IAAyB,MAAM,CAAC,QAxBC,EAyBjC,KAAK,CAAC,KAAN,KAAgB,SAAhB,IAA6B,MAAM,CAAC,YAzBH,EA0BjC,KAAK,CAAC,IAAN,CAAW,SA1BsB,CAAnC;AA6BA,SAAO,KAAP;AACD,CAjCM","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title1ClassName = "fui-Title1";
3
4
  /**
4
5
  * Text wrapper component for the Title 1 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 title1ClassName = 'fui-Title1';
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 Title1 = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: title1ClassName,
25
27
  displayName: 'Title1'
26
28
  });
27
29
  //# sourceMappingURL=Title1.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Title1/Title1.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Title1/Title1.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title2ClassName = "fui-Title2";
3
4
  /**
4
5
  * Text wrapper component for the Title 2 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 title2ClassName = 'fui-Title2';
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 Title2 = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: title2ClassName,
25
27
  displayName: 'Title2'
26
28
  });
27
29
  //# sourceMappingURL=Title2.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Title2/Title2.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Title2/Title2.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -1,5 +1,6 @@
1
1
  import type { FunctionComponent } from 'react';
2
2
  import { TextWrapperProps } from '../wrapper';
3
+ export declare const title3ClassName = "fui-Title3";
3
4
  /**
4
5
  * Text wrapper component for the Title 3 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 title3ClassName = 'fui-Title3';
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 Title3 = /*#__PURE__*/createWrapper({
24
25
  useStyles,
26
+ className: title3ClassName,
25
27
  displayName: 'Title3'
26
28
  });
27
29
  //# sourceMappingURL=Title3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Title3/Title3.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AAAE,EAAA,SAAF;AAAa,EAAA,WAAW,EAAE;AAA1B,CAAD,CAAjE","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/Title3/Title3.tsx"],"names":[],"mappings":"AACA,yBAA2B,6BAA3B;AACA,SAAS,gBAAT,QAAiC,8BAAjC;AACA,SAAS,aAAT,QAAgD,YAAhD;AAEA,OAAO,MAAM,eAAe,GAAG,YAAxB;AAEP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,MAAM,gBAAwC,aAAa,CAAC;AACvE,EAAA,SADuE;AAEvE,EAAA,SAAS,EAAE,eAF4D;AAGvE,EAAA,WAAW,EAAE;AAH0D,CAAD,CAAjE","sourceRoot":""}
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  import type { TextProps } from '../Text';
3
3
  export declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
4
4
  export declare function createWrapper(options: {
5
+ className: string;
5
6
  displayName: string;
6
7
  useStyles: () => Record<'root', string>;
7
8
  }): React.FunctionComponent<TextWrapperProps>;
@@ -4,13 +4,14 @@ import { renderText, useText, useTextStyles } from '../Text';
4
4
  export function createWrapper(options) {
5
5
  const {
6
6
  useStyles,
7
+ className,
7
8
  displayName
8
9
  } = options;
9
10
  const Wrapper = /*#__PURE__*/React.forwardRef((props, ref) => {
10
11
  const styles = useStyles();
11
12
  const state = useText(props, ref);
12
13
  useTextStyles(state);
13
- state.root.className = mergeClasses(state.root.className, styles.root, props.className);
14
+ state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);
14
15
  return renderText(state);
15
16
  });
16
17
  Wrapper.displayName = displayName;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,UAAT,EAAqB,OAArB,EAA8B,aAA9B,QAAmD,SAAnD;AAMA,OAAM,SAAU,aAAV,CAAwB,OAAxB,EAGL;AACC,QAAM;AAAE,IAAA,SAAF;AAAa,IAAA;AAAb,MAA6B,OAAnC;AACA,QAAM,OAAO,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACrF,UAAM,MAAM,GAAG,SAAS,EAAxB;AACA,UAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAqB,GAArB,CAArB;AAEA,IAAA,aAAa,CAAC,KAAD,CAAb;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,KAAK,CAAC,IAAN,CAAW,SAAZ,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,SAA1C,CAAnC;AAEA,WAAO,UAAU,CAAC,KAAD,CAAjB;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","sourceRoot":""}
1
+ {"version":3,"sources":["../../src/components/wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,YAAT,QAA6B,6BAA7B;AACA,SAAS,UAAT,EAAqB,OAArB,EAA8B,aAA9B,QAAmD,SAAnD;AAMA,OAAM,SAAU,aAAV,CAAwB,OAAxB,EAIL;AACC,QAAM;AAAE,IAAA,SAAF;AAAa,IAAA,SAAb;AAAwB,IAAA;AAAxB,MAAwC,OAA9C;AACA,QAAM,OAAO,gBAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACrF,UAAM,MAAM,GAAG,SAAS,EAAxB;AACA,UAAM,KAAK,GAAG,OAAO,CAAC,KAAD,EAAqB,GAArB,CAArB;AAEA,IAAA,aAAa,CAAC,KAAD,CAAb;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,SAAD,EAAY,KAAK,CAAC,IAAN,CAAW,SAAvB,EAAkC,MAAM,CAAC,IAAzC,EAA+C,KAAK,CAAC,SAArD,CAAnC;AAEA,WAAO,UAAU,CAAC,KAAD,CAAjB;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD","sourceRoot":""}
@@ -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
  */