@fluentui/react-text 0.0.0-nightlyff78d1e27a20220217.1 → 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/CHANGELOG.json +368 -10
  2. package/CHANGELOG.md +174 -54
  3. package/README.md +4 -4
  4. package/dist/{react-text.d.ts → index.d.ts} +61 -56
  5. package/{lib → dist}/tsdoc-metadata.json +0 -0
  6. package/lib/Body1.js +2 -0
  7. package/lib/Body1.js.map +1 -0
  8. package/lib/Caption1.js +2 -0
  9. package/lib/Caption1.js.map +1 -0
  10. package/lib/Caption2.js +2 -0
  11. package/lib/Caption2.js.map +1 -0
  12. package/lib/Subtitle1.js +2 -0
  13. package/lib/Subtitle1.js.map +1 -0
  14. package/lib/Subtitle2.js +2 -0
  15. package/lib/Subtitle2.js.map +1 -0
  16. package/lib/components/Body1/Body1.js +31 -0
  17. package/lib/components/Body1/Body1.js.map +1 -0
  18. package/lib/components/Body1/index.js +2 -0
  19. package/lib/components/Body1/index.js.map +1 -0
  20. package/lib/components/Caption1/Caption1.js +31 -0
  21. package/lib/components/Caption1/Caption1.js.map +1 -0
  22. package/lib/components/Caption1/index.js +2 -0
  23. package/lib/components/Caption1/index.js.map +1 -0
  24. package/lib/components/Caption2/Caption2.js +31 -0
  25. package/lib/components/Caption2/Caption2.js.map +1 -0
  26. package/lib/components/Caption2/index.js +2 -0
  27. package/lib/components/Caption2/index.js.map +1 -0
  28. package/lib/components/Display/Display.js +8 -6
  29. package/lib/components/Display/Display.js.map +1 -1
  30. package/lib/components/LargeTitle/LargeTitle.js +8 -6
  31. package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
  32. package/lib/components/Subtitle1/Subtitle1.js +31 -0
  33. package/lib/components/Subtitle1/Subtitle1.js.map +1 -0
  34. package/lib/components/Subtitle1/index.js +2 -0
  35. package/lib/components/Subtitle1/index.js.map +1 -0
  36. package/lib/components/Subtitle2/Subtitle2.js +31 -0
  37. package/lib/components/Subtitle2/Subtitle2.js.map +1 -0
  38. package/lib/components/Subtitle2/index.js +2 -0
  39. package/lib/components/Subtitle2/index.js.map +1 -0
  40. package/lib/components/Text/Text.js.map +1 -1
  41. package/lib/components/Text/Text.types.js.map +1 -1
  42. package/lib/components/Text/renderText.js.map +1 -1
  43. package/lib/components/Text/useText.js +6 -6
  44. package/lib/components/Text/useText.js.map +1 -1
  45. package/lib/components/Text/useTextStyles.js +4 -2
  46. package/lib/components/Text/useTextStyles.js.map +1 -1
  47. package/lib/components/Title1/Title1.js +8 -6
  48. package/lib/components/Title1/Title1.js.map +1 -1
  49. package/lib/components/Title2/Title2.js +8 -6
  50. package/lib/components/Title2/Title2.js.map +1 -1
  51. package/lib/components/Title3/Title3.js +8 -6
  52. package/lib/components/Title3/Title3.js.map +1 -1
  53. package/lib/components/wrapper.js.map +1 -1
  54. package/lib/index.js +11 -10
  55. package/lib/index.js.map +1 -1
  56. package/lib-commonjs/{Body.js → Body1.js} +2 -2
  57. package/lib-commonjs/Body1.js.map +1 -0
  58. package/lib-commonjs/{Headline.js → Caption1.js} +2 -2
  59. package/lib-commonjs/Caption1.js.map +1 -0
  60. package/lib-commonjs/{Caption.js → Caption2.js} +2 -2
  61. package/lib-commonjs/Caption2.js.map +1 -0
  62. package/lib-commonjs/Subtitle1.js +10 -0
  63. package/lib-commonjs/Subtitle1.js.map +1 -0
  64. package/lib-commonjs/Subtitle2.js +10 -0
  65. package/lib-commonjs/Subtitle2.js.map +1 -0
  66. package/lib-commonjs/components/Body1/Body1.js +41 -0
  67. package/lib-commonjs/components/Body1/Body1.js.map +1 -0
  68. package/lib-commonjs/components/{Body → Body1}/index.js +1 -1
  69. package/lib-commonjs/components/Body1/index.js.map +1 -0
  70. package/lib-commonjs/components/Caption1/Caption1.js +41 -0
  71. package/lib-commonjs/components/Caption1/Caption1.js.map +1 -0
  72. package/lib-commonjs/components/{Headline → Caption1}/index.js +1 -1
  73. package/lib-commonjs/components/Caption1/index.js.map +1 -0
  74. package/lib-commonjs/components/Caption2/Caption2.js +41 -0
  75. package/lib-commonjs/components/Caption2/Caption2.js.map +1 -0
  76. package/lib-commonjs/components/{Caption → Caption2}/index.js +1 -1
  77. package/lib-commonjs/components/Caption2/index.js.map +1 -0
  78. package/lib-commonjs/components/Display/Display.js +17 -6
  79. package/lib-commonjs/components/Display/Display.js.map +1 -1
  80. package/lib-commonjs/components/LargeTitle/LargeTitle.js +17 -6
  81. package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
  82. package/lib-commonjs/components/Subtitle1/Subtitle1.js +41 -0
  83. package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -0
  84. package/lib-commonjs/components/{Subheadline → Subtitle1}/index.js +1 -1
  85. package/lib-commonjs/components/Subtitle1/index.js.map +1 -0
  86. package/lib-commonjs/components/Subtitle2/Subtitle2.js +41 -0
  87. package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -0
  88. package/lib-commonjs/components/Subtitle2/index.js +10 -0
  89. package/lib-commonjs/components/Subtitle2/index.js.map +1 -0
  90. package/lib-commonjs/components/Text/Text.js.map +1 -1
  91. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  92. package/lib-commonjs/components/Text/useText.js +6 -6
  93. package/lib-commonjs/components/Text/useText.js.map +1 -1
  94. package/lib-commonjs/components/Text/useTextStyles.js +5 -3
  95. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  96. package/lib-commonjs/components/Title1/Title1.js +17 -6
  97. package/lib-commonjs/components/Title1/Title1.js.map +1 -1
  98. package/lib-commonjs/components/Title2/Title2.js +17 -6
  99. package/lib-commonjs/components/Title2/Title2.js.map +1 -1
  100. package/lib-commonjs/components/Title3/Title3.js +17 -6
  101. package/lib-commonjs/components/Title3/Title3.js.map +1 -1
  102. package/lib-commonjs/components/wrapper.js.map +1 -1
  103. package/lib-commonjs/index.js +173 -11
  104. package/lib-commonjs/index.js.map +1 -1
  105. package/package.json +17 -21
  106. package/lib/Body.d.ts +0 -1
  107. package/lib/Body.js +0 -2
  108. package/lib/Body.js.map +0 -1
  109. package/lib/Caption.d.ts +0 -1
  110. package/lib/Caption.js +0 -2
  111. package/lib/Caption.js.map +0 -1
  112. package/lib/Display.d.ts +0 -1
  113. package/lib/Headline.d.ts +0 -1
  114. package/lib/Headline.js +0 -2
  115. package/lib/Headline.js.map +0 -1
  116. package/lib/LargeTitle.d.ts +0 -1
  117. package/lib/Subheadline.d.ts +0 -1
  118. package/lib/Subheadline.js +0 -2
  119. package/lib/Subheadline.js.map +0 -1
  120. package/lib/Text.d.ts +0 -1
  121. package/lib/Title1.d.ts +0 -1
  122. package/lib/Title2.d.ts +0 -1
  123. package/lib/Title3.d.ts +0 -1
  124. package/lib/components/Body/Body.d.ts +0 -7
  125. package/lib/components/Body/Body.js +0 -29
  126. package/lib/components/Body/Body.js.map +0 -1
  127. package/lib/components/Body/index.d.ts +0 -1
  128. package/lib/components/Body/index.js +0 -2
  129. package/lib/components/Body/index.js.map +0 -1
  130. package/lib/components/Caption/Caption.d.ts +0 -7
  131. package/lib/components/Caption/Caption.js +0 -29
  132. package/lib/components/Caption/Caption.js.map +0 -1
  133. package/lib/components/Caption/index.d.ts +0 -1
  134. package/lib/components/Caption/index.js +0 -2
  135. package/lib/components/Caption/index.js.map +0 -1
  136. package/lib/components/Display/Display.d.ts +0 -7
  137. package/lib/components/Display/index.d.ts +0 -1
  138. package/lib/components/Headline/Headline.d.ts +0 -7
  139. package/lib/components/Headline/Headline.js +0 -29
  140. package/lib/components/Headline/Headline.js.map +0 -1
  141. package/lib/components/Headline/index.d.ts +0 -1
  142. package/lib/components/Headline/index.js +0 -2
  143. package/lib/components/Headline/index.js.map +0 -1
  144. package/lib/components/LargeTitle/LargeTitle.d.ts +0 -7
  145. package/lib/components/LargeTitle/index.d.ts +0 -1
  146. package/lib/components/Subheadline/Subheadline.d.ts +0 -7
  147. package/lib/components/Subheadline/Subheadline.js +0 -29
  148. package/lib/components/Subheadline/Subheadline.js.map +0 -1
  149. package/lib/components/Subheadline/index.d.ts +0 -1
  150. package/lib/components/Subheadline/index.js +0 -2
  151. package/lib/components/Subheadline/index.js.map +0 -1
  152. package/lib/components/Text/Text.d.ts +0 -6
  153. package/lib/components/Text/Text.types.d.ts +0 -78
  154. package/lib/components/Text/index.d.ts +0 -5
  155. package/lib/components/Text/renderText.d.ts +0 -5
  156. package/lib/components/Text/useText.d.ts +0 -12
  157. package/lib/components/Text/useTextStyles.d.ts +0 -6
  158. package/lib/components/Title1/Title1.d.ts +0 -7
  159. package/lib/components/Title1/index.d.ts +0 -1
  160. package/lib/components/Title2/Title2.d.ts +0 -7
  161. package/lib/components/Title2/index.d.ts +0 -1
  162. package/lib/components/Title3/Title3.d.ts +0 -7
  163. package/lib/components/Title3/index.d.ts +0 -1
  164. package/lib/components/wrapper.d.ts +0 -8
  165. package/lib/index.d.ts +0 -10
  166. package/lib/typographyStyles/index.d.ts +0 -2
  167. package/lib/typographyStyles/index.js +0 -3
  168. package/lib/typographyStyles/index.js.map +0 -1
  169. package/lib/typographyStyles/typographyStyles.d.ts +0 -13
  170. package/lib/typographyStyles/typographyStyles.js +0 -60
  171. package/lib/typographyStyles/typographyStyles.js.map +0 -1
  172. package/lib-commonjs/Body.d.ts +0 -1
  173. package/lib-commonjs/Body.js.map +0 -1
  174. package/lib-commonjs/Caption.d.ts +0 -1
  175. package/lib-commonjs/Caption.js.map +0 -1
  176. package/lib-commonjs/Display.d.ts +0 -1
  177. package/lib-commonjs/Headline.d.ts +0 -1
  178. package/lib-commonjs/Headline.js.map +0 -1
  179. package/lib-commonjs/LargeTitle.d.ts +0 -1
  180. package/lib-commonjs/Subheadline.d.ts +0 -1
  181. package/lib-commonjs/Subheadline.js +0 -10
  182. package/lib-commonjs/Subheadline.js.map +0 -1
  183. package/lib-commonjs/Text.d.ts +0 -1
  184. package/lib-commonjs/Title1.d.ts +0 -1
  185. package/lib-commonjs/Title2.d.ts +0 -1
  186. package/lib-commonjs/Title3.d.ts +0 -1
  187. package/lib-commonjs/components/Body/Body.d.ts +0 -7
  188. package/lib-commonjs/components/Body/Body.js +0 -30
  189. package/lib-commonjs/components/Body/Body.js.map +0 -1
  190. package/lib-commonjs/components/Body/index.d.ts +0 -1
  191. package/lib-commonjs/components/Body/index.js.map +0 -1
  192. package/lib-commonjs/components/Caption/Caption.d.ts +0 -7
  193. package/lib-commonjs/components/Caption/Caption.js +0 -30
  194. package/lib-commonjs/components/Caption/Caption.js.map +0 -1
  195. package/lib-commonjs/components/Caption/index.d.ts +0 -1
  196. package/lib-commonjs/components/Caption/index.js.map +0 -1
  197. package/lib-commonjs/components/Display/Display.d.ts +0 -7
  198. package/lib-commonjs/components/Display/index.d.ts +0 -1
  199. package/lib-commonjs/components/Headline/Headline.d.ts +0 -7
  200. package/lib-commonjs/components/Headline/Headline.js +0 -30
  201. package/lib-commonjs/components/Headline/Headline.js.map +0 -1
  202. package/lib-commonjs/components/Headline/index.d.ts +0 -1
  203. package/lib-commonjs/components/Headline/index.js.map +0 -1
  204. package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +0 -7
  205. package/lib-commonjs/components/LargeTitle/index.d.ts +0 -1
  206. package/lib-commonjs/components/Subheadline/Subheadline.d.ts +0 -7
  207. package/lib-commonjs/components/Subheadline/Subheadline.js +0 -30
  208. package/lib-commonjs/components/Subheadline/Subheadline.js.map +0 -1
  209. package/lib-commonjs/components/Subheadline/index.d.ts +0 -1
  210. package/lib-commonjs/components/Subheadline/index.js.map +0 -1
  211. package/lib-commonjs/components/Text/Text.d.ts +0 -6
  212. package/lib-commonjs/components/Text/Text.types.d.ts +0 -78
  213. package/lib-commonjs/components/Text/index.d.ts +0 -5
  214. package/lib-commonjs/components/Text/renderText.d.ts +0 -5
  215. package/lib-commonjs/components/Text/useText.d.ts +0 -12
  216. package/lib-commonjs/components/Text/useTextStyles.d.ts +0 -6
  217. package/lib-commonjs/components/Title1/Title1.d.ts +0 -7
  218. package/lib-commonjs/components/Title1/index.d.ts +0 -1
  219. package/lib-commonjs/components/Title2/Title2.d.ts +0 -7
  220. package/lib-commonjs/components/Title2/index.d.ts +0 -1
  221. package/lib-commonjs/components/Title3/Title3.d.ts +0 -7
  222. package/lib-commonjs/components/Title3/index.d.ts +0 -1
  223. package/lib-commonjs/components/wrapper.d.ts +0 -8
  224. package/lib-commonjs/index.d.ts +0 -10
  225. package/lib-commonjs/typographyStyles/index.d.ts +0 -2
  226. package/lib-commonjs/typographyStyles/index.js +0 -11
  227. package/lib-commonjs/typographyStyles/index.js.map +0 -1
  228. package/lib-commonjs/typographyStyles/typographyStyles.d.ts +0 -13
  229. package/lib-commonjs/typographyStyles/typographyStyles.js +0 -68
  230. package/lib-commonjs/typographyStyles/typographyStyles.js.map +0 -1
@@ -3,26 +3,188 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.caption2ClassNames = exports.Caption2 = exports.caption1ClassNames = exports.Caption1 = exports.body1ClassNames = exports.Body1 = exports.subtitle2ClassNames = exports.Subtitle2 = exports.subtitle1ClassNames = exports.Subtitle1 = exports.title3ClassNames = exports.Title3 = exports.title2ClassNames = exports.Title2 = exports.title1ClassNames = exports.Title1 = exports.largeTitleClassNames = exports.LargeTitle = exports.displayClassNames = exports.Display = exports.useText_unstable = exports.useTextStyles_unstable = exports.textClassNames = exports.renderText_unstable = exports.Text = void 0;
6
7
 
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
+ var Text_1 = /*#__PURE__*/require("./Text");
8
9
 
9
- tslib_1.__exportStar(require("./Text"), exports);
10
+ Object.defineProperty(exports, "Text", {
11
+ enumerable: true,
12
+ get: function () {
13
+ return Text_1.Text;
14
+ }
15
+ });
16
+ Object.defineProperty(exports, "renderText_unstable", {
17
+ enumerable: true,
18
+ get: function () {
19
+ return Text_1.renderText_unstable;
20
+ }
21
+ });
22
+ Object.defineProperty(exports, "textClassNames", {
23
+ enumerable: true,
24
+ get: function () {
25
+ return Text_1.textClassNames;
26
+ }
27
+ });
28
+ Object.defineProperty(exports, "useTextStyles_unstable", {
29
+ enumerable: true,
30
+ get: function () {
31
+ return Text_1.useTextStyles_unstable;
32
+ }
33
+ });
34
+ Object.defineProperty(exports, "useText_unstable", {
35
+ enumerable: true,
36
+ get: function () {
37
+ return Text_1.useText_unstable;
38
+ }
39
+ });
40
+
41
+ var Display_1 = /*#__PURE__*/require("./Display");
42
+
43
+ Object.defineProperty(exports, "Display", {
44
+ enumerable: true,
45
+ get: function () {
46
+ return Display_1.Display;
47
+ }
48
+ });
49
+ Object.defineProperty(exports, "displayClassNames", {
50
+ enumerable: true,
51
+ get: function () {
52
+ return Display_1.displayClassNames;
53
+ }
54
+ });
55
+
56
+ var LargeTitle_1 = /*#__PURE__*/require("./LargeTitle");
57
+
58
+ Object.defineProperty(exports, "LargeTitle", {
59
+ enumerable: true,
60
+ get: function () {
61
+ return LargeTitle_1.LargeTitle;
62
+ }
63
+ });
64
+ Object.defineProperty(exports, "largeTitleClassNames", {
65
+ enumerable: true,
66
+ get: function () {
67
+ return LargeTitle_1.largeTitleClassNames;
68
+ }
69
+ });
70
+
71
+ var Title1_1 = /*#__PURE__*/require("./Title1");
72
+
73
+ Object.defineProperty(exports, "Title1", {
74
+ enumerable: true,
75
+ get: function () {
76
+ return Title1_1.Title1;
77
+ }
78
+ });
79
+ Object.defineProperty(exports, "title1ClassNames", {
80
+ enumerable: true,
81
+ get: function () {
82
+ return Title1_1.title1ClassNames;
83
+ }
84
+ });
85
+
86
+ var Title2_1 = /*#__PURE__*/require("./Title2");
10
87
 
11
- tslib_1.__exportStar(require("./Display"), exports);
88
+ Object.defineProperty(exports, "Title2", {
89
+ enumerable: true,
90
+ get: function () {
91
+ return Title2_1.Title2;
92
+ }
93
+ });
94
+ Object.defineProperty(exports, "title2ClassNames", {
95
+ enumerable: true,
96
+ get: function () {
97
+ return Title2_1.title2ClassNames;
98
+ }
99
+ });
100
+
101
+ var Title3_1 = /*#__PURE__*/require("./Title3");
102
+
103
+ Object.defineProperty(exports, "Title3", {
104
+ enumerable: true,
105
+ get: function () {
106
+ return Title3_1.Title3;
107
+ }
108
+ });
109
+ Object.defineProperty(exports, "title3ClassNames", {
110
+ enumerable: true,
111
+ get: function () {
112
+ return Title3_1.title3ClassNames;
113
+ }
114
+ });
115
+
116
+ var Subtitle1_1 = /*#__PURE__*/require("./Subtitle1");
117
+
118
+ Object.defineProperty(exports, "Subtitle1", {
119
+ enumerable: true,
120
+ get: function () {
121
+ return Subtitle1_1.Subtitle1;
122
+ }
123
+ });
124
+ Object.defineProperty(exports, "subtitle1ClassNames", {
125
+ enumerable: true,
126
+ get: function () {
127
+ return Subtitle1_1.subtitle1ClassNames;
128
+ }
129
+ });
12
130
 
13
- tslib_1.__exportStar(require("./LargeTitle"), exports);
131
+ var Subtitle2_1 = /*#__PURE__*/require("./Subtitle2");
14
132
 
15
- tslib_1.__exportStar(require("./Title1"), exports);
133
+ Object.defineProperty(exports, "Subtitle2", {
134
+ enumerable: true,
135
+ get: function () {
136
+ return Subtitle2_1.Subtitle2;
137
+ }
138
+ });
139
+ Object.defineProperty(exports, "subtitle2ClassNames", {
140
+ enumerable: true,
141
+ get: function () {
142
+ return Subtitle2_1.subtitle2ClassNames;
143
+ }
144
+ });
16
145
 
17
- tslib_1.__exportStar(require("./Title2"), exports);
146
+ var Body1_1 = /*#__PURE__*/require("./Body1");
18
147
 
19
- tslib_1.__exportStar(require("./Title3"), exports);
148
+ Object.defineProperty(exports, "Body1", {
149
+ enumerable: true,
150
+ get: function () {
151
+ return Body1_1.Body1;
152
+ }
153
+ });
154
+ Object.defineProperty(exports, "body1ClassNames", {
155
+ enumerable: true,
156
+ get: function () {
157
+ return Body1_1.body1ClassNames;
158
+ }
159
+ });
20
160
 
21
- tslib_1.__exportStar(require("./Headline"), exports);
161
+ var Caption1_1 = /*#__PURE__*/require("./Caption1");
22
162
 
23
- tslib_1.__exportStar(require("./Subheadline"), exports);
163
+ Object.defineProperty(exports, "Caption1", {
164
+ enumerable: true,
165
+ get: function () {
166
+ return Caption1_1.Caption1;
167
+ }
168
+ });
169
+ Object.defineProperty(exports, "caption1ClassNames", {
170
+ enumerable: true,
171
+ get: function () {
172
+ return Caption1_1.caption1ClassNames;
173
+ }
174
+ });
24
175
 
25
- tslib_1.__exportStar(require("./Body"), exports);
176
+ var Caption2_1 = /*#__PURE__*/require("./Caption2");
26
177
 
27
- tslib_1.__exportStar(require("./Caption"), exports);
178
+ Object.defineProperty(exports, "Caption2", {
179
+ enumerable: true,
180
+ get: function () {
181
+ return Caption2_1.Caption2;
182
+ }
183
+ });
184
+ Object.defineProperty(exports, "caption2ClassNames", {
185
+ enumerable: true,
186
+ get: function () {
187
+ return Caption2_1.caption2ClassNames;
188
+ }
189
+ });
28
190
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './Text';\nexport * from './Display';\nexport * from './LargeTitle';\nexport * from './Title1';\nexport * from './Title2';\nexport * from './Title3';\nexport * from './Headline';\nexport * from './Subheadline';\nexport * from './Body';\nexport * from './Caption';\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":"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","sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState } from './Text';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption2, caption2ClassNames } from './Caption2';\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightlyff78d1e27a20220217.1",
3
+ "version": "0.0.0",
4
4
  "description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -21,29 +21,20 @@
21
21
  "start": "yarn storybook",
22
22
  "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-text/src && yarn docs",
25
- "storybook": "node ../../scripts/storybook/runner",
24
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-text/src && yarn docs",
25
+ "storybook": "node ../../../scripts/storybook/runner",
26
26
  "type-check": "tsc -b tsconfig.json"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/react-conformance-griffel": "0.0.0-nightlyff78d1e27a20220217.1",
32
- "@fluentui/scripts": "^1.0.0",
33
- "@types/enzyme": "3.10.3",
34
- "@types/enzyme-adapter-react-16": "1.0.3",
35
- "@types/react": "16.9.42",
36
- "@types/react-dom": "16.9.10",
37
- "@types/react-test-renderer": "^16.0.0",
38
- "enzyme": "~3.10.0",
39
- "enzyme-adapter-react-16": "^1.15.0",
40
- "react": "16.8.6",
41
- "react-dom": "16.8.6",
42
- "react-test-renderer": "^16.3.0"
31
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20220628-0417.1",
32
+ "@fluentui/scripts": "^1.0.0"
43
33
  },
44
34
  "dependencies": {
45
- "@griffel/react": "1.0.0",
46
- "@fluentui/react-utilities": "0.0.0-nightlyff78d1e27a20220217.1",
35
+ "@griffel/react": "1.2.0",
36
+ "@fluentui/react-theme": "^0.0.0",
37
+ "@fluentui/react-utilities": "^0.0.0",
47
38
  "tslib": "^2.1.0"
48
39
  },
49
40
  "peerDependencies": {
@@ -54,9 +45,14 @@
54
45
  },
55
46
  "beachball": {
56
47
  "disallowedChangeTypes": [
57
- "major",
58
- "minor",
59
- "patch"
48
+ "major"
60
49
  ]
50
+ },
51
+ "exports": {
52
+ ".": {
53
+ "types": "./lib/index.d.ts",
54
+ "import": "./lib/index.js",
55
+ "require": "./lib-commonjs/index.js"
56
+ }
61
57
  }
62
58
  }
package/lib/Body.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Body/index';
package/lib/Body.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './components/Body/index';
2
- //# sourceMappingURL=Body.js.map
package/lib/Body.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body.js","sourceRoot":"../src/","sources":["Body.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Body/index';\n"]}
package/lib/Caption.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Caption/index';
package/lib/Caption.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './components/Caption/index';
2
- //# sourceMappingURL=Caption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Caption.js","sourceRoot":"../src/","sources":["Caption.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Caption/index';\n"]}
package/lib/Display.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Display/index';
package/lib/Headline.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Headline/index';
package/lib/Headline.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './components/Headline/index';
2
- //# sourceMappingURL=Headline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Headline.js","sourceRoot":"../src/","sources":["Headline.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Headline/index';\n"]}
@@ -1 +0,0 @@
1
- export * from './components/LargeTitle/index';
@@ -1 +0,0 @@
1
- export * from './components/Subheadline/index';
@@ -1,2 +0,0 @@
1
- export * from './components/Subheadline/index';
2
- //# sourceMappingURL=Subheadline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Subheadline.js","sourceRoot":"../src/","sources":["Subheadline.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/Subheadline/index';\n"]}
package/lib/Text.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Text/index';
package/lib/Title1.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Title1/index';
package/lib/Title2.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Title2/index';
package/lib/Title3.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Title3/index';
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const bodyClassName = "fui-Body";
4
- /**
5
- * Text wrapper component for the Body typography variant
6
- */
7
- export declare const Body: FunctionComponent<TextWrapperProps>;
@@ -1,29 +0,0 @@
1
- import { __styles } from '@griffel/react';
2
- import { typographyStyles } from '../../typographyStyles/index';
3
- import { createWrapper } from '../wrapper';
4
- export const bodyClassName = 'fui-Body';
5
- /**
6
- * Styles for the root slot
7
- */
8
-
9
- const useStyles = /*#__PURE__*/__styles({
10
- "root": {
11
- "Bahqtrf": "fk6fouc",
12
- "Be2twd7": "fkhj508",
13
- "Bg96gwp": "f1i3iumi",
14
- "Bhrd7zp": "figsok6"
15
- }
16
- }, {
17
- "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
18
- });
19
- /**
20
- * Text wrapper component for the Body typography variant
21
- */
22
-
23
-
24
- export const Body = /*#__PURE__*/createWrapper({
25
- useStyles,
26
- className: bodyClassName,
27
- displayName: 'Body'
28
- });
29
- //# sourceMappingURL=Body.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/Body/Body.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const bodyClassName = 'fui-Body';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body,\n});\n\n/**\n * Text wrapper component for the Body typography variant\n */\nexport const Body: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: bodyClassName,\n displayName: 'Body',\n});\n"],"sourceRoot":"../src/"}
@@ -1 +0,0 @@
1
- export * from './Body';
@@ -1,2 +0,0 @@
1
- export * from './Body';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Body/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC","sourcesContent":["export * from './Body';\n"]}
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const captionClassName = "fui-Caption";
4
- /**
5
- * Text wrapper component for the Caption typography variant
6
- */
7
- export declare const Caption: FunctionComponent<TextWrapperProps>;
@@ -1,29 +0,0 @@
1
- import { __styles } from '@griffel/react';
2
- import { typographyStyles } from '../../typographyStyles/index';
3
- import { createWrapper } from '../wrapper';
4
- export const captionClassName = 'fui-Caption';
5
- /**
6
- * Styles for the root slot
7
- */
8
-
9
- const useStyles = /*#__PURE__*/__styles({
10
- "root": {
11
- "Bahqtrf": "fk6fouc",
12
- "Be2twd7": "fy9rknc",
13
- "Bg96gwp": "fwrc4pm",
14
- "Bhrd7zp": "figsok6"
15
- }
16
- }, {
17
- "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}"]
18
- });
19
- /**
20
- * Text wrapper component for the Caption typography variant
21
- */
22
-
23
-
24
- export const Caption = /*#__PURE__*/createWrapper({
25
- useStyles,
26
- className: captionClassName,
27
- displayName: 'Caption'
28
- });
29
- //# sourceMappingURL=Caption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/Caption/Caption.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const captionClassName = 'fui-Caption';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption,\n});\n\n/**\n * Text wrapper component for the Caption typography variant\n */\nexport const Caption: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: captionClassName,\n displayName: 'Caption',\n});\n"],"sourceRoot":"../src/"}
@@ -1 +0,0 @@
1
- export * from './Caption';
@@ -1,2 +0,0 @@
1
- export * from './Caption';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Caption/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC","sourcesContent":["export * from './Caption';\n"]}
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const displayClassName = "fui-Display";
4
- /**
5
- * Text wrapper component for the Display typography variant
6
- */
7
- export declare const Display: FunctionComponent<TextWrapperProps>;
@@ -1 +0,0 @@
1
- export * from './Display';
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const headlineClassName = "fui-Headline";
4
- /**
5
- * Text wrapper component for the Headline typography variant
6
- */
7
- export declare const Headline: FunctionComponent<TextWrapperProps>;
@@ -1,29 +0,0 @@
1
- import { __styles } from '@griffel/react';
2
- import { typographyStyles } from '../../typographyStyles/index';
3
- import { createWrapper } from '../wrapper';
4
- export const headlineClassName = 'fui-Headline';
5
- /**
6
- * Styles for the root slot
7
- */
8
-
9
- const useStyles = /*#__PURE__*/__styles({
10
- "root": {
11
- "Bahqtrf": "fk6fouc",
12
- "Be2twd7": "f1pp30po",
13
- "Bg96gwp": "f106mvju",
14
- "Bhrd7zp": "fl43uef"
15
- }
16
- }, {
17
- "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
18
- });
19
- /**
20
- * Text wrapper component for the Headline typography variant
21
- */
22
-
23
-
24
- export const Headline = /*#__PURE__*/createWrapper({
25
- useStyles,
26
- className: headlineClassName,
27
- displayName: 'Headline'
28
- });
29
- //# sourceMappingURL=Headline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/Headline/Headline.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const headlineClassName = 'fui-Headline';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.headline,\n});\n\n/**\n * Text wrapper component for the Headline typography variant\n */\nexport const Headline: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: headlineClassName,\n displayName: 'Headline',\n});\n"],"sourceRoot":"../src/"}
@@ -1 +0,0 @@
1
- export * from './Headline';
@@ -1,2 +0,0 @@
1
- export * from './Headline';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Headline/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Headline';\n"]}
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const largeTitleClassName = "fui-LargeTitle";
4
- /**
5
- * Text wrapper component for the Large Title typography variant
6
- */
7
- export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
@@ -1 +0,0 @@
1
- export * from './LargeTitle';
@@ -1,7 +0,0 @@
1
- import type { FunctionComponent } from 'react';
2
- import { TextWrapperProps } from '../wrapper';
3
- export declare const subheadlineClassName = "fui-Subheadline";
4
- /**
5
- * Text wrapper component for the Subheadline typography variant
6
- */
7
- export declare const Subheadline: FunctionComponent<TextWrapperProps>;
@@ -1,29 +0,0 @@
1
- import { __styles } from '@griffel/react';
2
- import { typographyStyles } from '../../typographyStyles/index';
3
- import { createWrapper } from '../wrapper';
4
- export const subheadlineClassName = 'fui-Subheadline';
5
- /**
6
- * Styles for the root slot
7
- */
8
-
9
- const useStyles = /*#__PURE__*/__styles({
10
- "root": {
11
- "Bahqtrf": "fk6fouc",
12
- "Be2twd7": "fod5ikn",
13
- "Bg96gwp": "faaz57k",
14
- "Bhrd7zp": "fl43uef"
15
- }
16
- }, {
17
- "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}"]
18
- });
19
- /**
20
- * Text wrapper component for the Subheadline typography variant
21
- */
22
-
23
-
24
- export const Subheadline = /*#__PURE__*/createWrapper({
25
- useStyles,
26
- className: subheadlineClassName,
27
- displayName: 'Subheadline'
28
- });
29
- //# sourceMappingURL=Subheadline.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["components/Subheadline/Subheadline.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;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","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\n\nexport const subheadlineClassName = 'fui-Subheadline';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subheadline,\n});\n\n/**\n * Text wrapper component for the Subheadline typography variant\n */\nexport const Subheadline: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subheadlineClassName,\n displayName: 'Subheadline',\n});\n"],"sourceRoot":"../src/"}
@@ -1 +0,0 @@
1
- export * from './Subheadline';
@@ -1,2 +0,0 @@
1
- export * from './Subheadline';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Subheadline/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './Subheadline';\n"]}
@@ -1,6 +0,0 @@
1
- import type { TextProps } from './Text.types';
2
- import type { ForwardRefComponent } from '@fluentui/react-utilities';
3
- /**
4
- * Typography and styling abstraction component used to ensure consistency of text.
5
- */
6
- export declare const Text: ForwardRefComponent<TextProps>;