@fluentui/react-text 0.0.0-nightly-20230223-2115.1 → 0.0.0-nightly-20230228-0425.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 (186) hide show
  1. package/CHANGELOG.json +9 -9
  2. package/CHANGELOG.md +7 -7
  3. package/lib/Body1.js.map +1 -1
  4. package/lib/Body1Strong.js.map +1 -1
  5. package/lib/Body1Stronger.js.map +1 -1
  6. package/lib/Body2.js.map +1 -1
  7. package/lib/Caption1.js.map +1 -1
  8. package/lib/Caption1Strong.js.map +1 -1
  9. package/lib/Caption1Stronger.js.map +1 -1
  10. package/lib/Caption2.js.map +1 -1
  11. package/lib/Caption2Strong.js.map +1 -1
  12. package/lib/Display.js.map +1 -1
  13. package/lib/LargeTitle.js.map +1 -1
  14. package/lib/Subtitle1.js.map +1 -1
  15. package/lib/Subtitle2.js.map +1 -1
  16. package/lib/Subtitle2Stronger.js.map +1 -1
  17. package/lib/Text.js.map +1 -1
  18. package/lib/Title1.js.map +1 -1
  19. package/lib/Title2.js.map +1 -1
  20. package/lib/Title3.js.map +1 -1
  21. package/lib/components/Text/Text.js.map +1 -1
  22. package/lib/components/Text/Text.types.js.map +1 -1
  23. package/lib/components/Text/index.js.map +1 -1
  24. package/lib/components/Text/renderText.js +3 -2
  25. package/lib/components/Text/renderText.js.map +1 -1
  26. package/lib/components/Text/useText.js +12 -12
  27. package/lib/components/Text/useText.js.map +1 -1
  28. package/lib/components/Text/useTextStyles.js.map +1 -1
  29. package/lib/components/presets/Body1/Body1.js.map +1 -1
  30. package/lib/components/presets/Body1/index.js.map +1 -1
  31. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  32. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  33. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  34. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  35. package/lib/components/presets/Body2/Body2.js.map +1 -1
  36. package/lib/components/presets/Body2/index.js.map +1 -1
  37. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  38. package/lib/components/presets/Caption1/index.js.map +1 -1
  39. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  40. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  41. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  42. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  43. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  44. package/lib/components/presets/Caption2/index.js.map +1 -1
  45. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  46. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  47. package/lib/components/presets/Display/Display.js.map +1 -1
  48. package/lib/components/presets/Display/index.js.map +1 -1
  49. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  50. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  51. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  52. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  53. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  54. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  55. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  56. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  57. package/lib/components/presets/Title1/Title1.js.map +1 -1
  58. package/lib/components/presets/Title1/index.js.map +1 -1
  59. package/lib/components/presets/Title2/Title2.js.map +1 -1
  60. package/lib/components/presets/Title2/index.js.map +1 -1
  61. package/lib/components/presets/Title3/Title3.js.map +1 -1
  62. package/lib/components/presets/Title3/index.js.map +1 -1
  63. package/lib/components/presets/createPreset.js.map +1 -1
  64. package/lib/index.js.map +1 -1
  65. package/lib-commonjs/Body1.js +4 -5
  66. package/lib-commonjs/Body1.js.map +1 -1
  67. package/lib-commonjs/Body1Strong.js +4 -5
  68. package/lib-commonjs/Body1Strong.js.map +1 -1
  69. package/lib-commonjs/Body1Stronger.js +4 -5
  70. package/lib-commonjs/Body1Stronger.js.map +1 -1
  71. package/lib-commonjs/Body2.js +4 -5
  72. package/lib-commonjs/Body2.js.map +1 -1
  73. package/lib-commonjs/Caption1.js +4 -5
  74. package/lib-commonjs/Caption1.js.map +1 -1
  75. package/lib-commonjs/Caption1Strong.js +4 -5
  76. package/lib-commonjs/Caption1Strong.js.map +1 -1
  77. package/lib-commonjs/Caption1Stronger.js +4 -5
  78. package/lib-commonjs/Caption1Stronger.js.map +1 -1
  79. package/lib-commonjs/Caption2.js +4 -5
  80. package/lib-commonjs/Caption2.js.map +1 -1
  81. package/lib-commonjs/Caption2Strong.js +4 -5
  82. package/lib-commonjs/Caption2Strong.js.map +1 -1
  83. package/lib-commonjs/Display.js +4 -5
  84. package/lib-commonjs/Display.js.map +1 -1
  85. package/lib-commonjs/LargeTitle.js +4 -5
  86. package/lib-commonjs/LargeTitle.js.map +1 -1
  87. package/lib-commonjs/Subtitle1.js +4 -5
  88. package/lib-commonjs/Subtitle1.js.map +1 -1
  89. package/lib-commonjs/Subtitle2.js +4 -5
  90. package/lib-commonjs/Subtitle2.js.map +1 -1
  91. package/lib-commonjs/Subtitle2Stronger.js +4 -5
  92. package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
  93. package/lib-commonjs/Text.js +4 -5
  94. package/lib-commonjs/Text.js.map +1 -1
  95. package/lib-commonjs/Title1.js +4 -5
  96. package/lib-commonjs/Title1.js.map +1 -1
  97. package/lib-commonjs/Title2.js +4 -5
  98. package/lib-commonjs/Title2.js.map +1 -1
  99. package/lib-commonjs/Title3.js +4 -5
  100. package/lib-commonjs/Title3.js.map +1 -1
  101. package/lib-commonjs/components/Text/Text.js +16 -16
  102. package/lib-commonjs/components/Text/Text.js.map +1 -1
  103. package/lib-commonjs/components/Text/Text.types.js +2 -3
  104. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  105. package/lib-commonjs/components/Text/index.js +8 -9
  106. package/lib-commonjs/components/Text/index.js.map +1 -1
  107. package/lib-commonjs/components/Text/renderText.js +18 -15
  108. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  109. package/lib-commonjs/components/Text/useText.js +51 -34
  110. package/lib-commonjs/components/Text/useText.js.map +1 -1
  111. package/lib-commonjs/components/Text/useTextStyles.js +114 -163
  112. package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
  113. package/lib-commonjs/components/presets/Body1/Body1.js +25 -34
  114. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  115. package/lib-commonjs/components/presets/Body1/index.js +4 -5
  116. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  117. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +25 -34
  118. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  119. package/lib-commonjs/components/presets/Body1Strong/index.js +4 -5
  120. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  121. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +25 -34
  122. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  123. package/lib-commonjs/components/presets/Body1Stronger/index.js +4 -5
  124. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  125. package/lib-commonjs/components/presets/Body2/Body2.js +25 -34
  126. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  127. package/lib-commonjs/components/presets/Body2/index.js +4 -5
  128. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  129. package/lib-commonjs/components/presets/Caption1/Caption1.js +25 -34
  130. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  131. package/lib-commonjs/components/presets/Caption1/index.js +4 -5
  132. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  133. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +25 -34
  134. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  135. package/lib-commonjs/components/presets/Caption1Strong/index.js +4 -5
  136. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  137. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +25 -34
  138. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  139. package/lib-commonjs/components/presets/Caption1Stronger/index.js +4 -5
  140. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  141. package/lib-commonjs/components/presets/Caption2/Caption2.js +25 -34
  142. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  143. package/lib-commonjs/components/presets/Caption2/index.js +4 -5
  144. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  145. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +25 -34
  146. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  147. package/lib-commonjs/components/presets/Caption2Strong/index.js +4 -5
  148. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  149. package/lib-commonjs/components/presets/Display/Display.js +25 -34
  150. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  151. package/lib-commonjs/components/presets/Display/index.js +4 -5
  152. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  153. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +25 -34
  154. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  155. package/lib-commonjs/components/presets/LargeTitle/index.js +4 -5
  156. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  157. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +25 -34
  158. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  159. package/lib-commonjs/components/presets/Subtitle1/index.js +4 -5
  160. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  161. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +25 -34
  162. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  163. package/lib-commonjs/components/presets/Subtitle2/index.js +4 -5
  164. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  165. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +25 -34
  166. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  167. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +4 -5
  168. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  169. package/lib-commonjs/components/presets/Title1/Title1.js +25 -34
  170. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  171. package/lib-commonjs/components/presets/Title1/index.js +4 -5
  172. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  173. package/lib-commonjs/components/presets/Title2/Title2.js +25 -34
  174. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  175. package/lib-commonjs/components/presets/Title2/index.js +4 -5
  176. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  177. package/lib-commonjs/components/presets/Title3/Title3.js +25 -34
  178. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  179. package/lib-commonjs/components/presets/Title3/index.js +4 -5
  180. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  181. package/lib-commonjs/components/presets/createPreset.js +22 -21
  182. package/lib-commonjs/components/presets/createPreset.js.map +1 -1
  183. package/lib-commonjs/index.js +256 -69
  184. package/lib-commonjs/index.js.map +1 -1
  185. package/package.json +6 -6
  186. package/.swcrc +0 -33
@@ -1,72 +1,259 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: all[name]
9
- });
10
- }
11
- _export(exports, {
12
- Text: ()=>_text.Text,
13
- renderText_unstable: ()=>_text.renderText_unstable,
14
- textClassNames: ()=>_text.textClassNames,
15
- useTextStyles_unstable: ()=>_text.useTextStyles_unstable,
16
- useText_unstable: ()=>_text.useText_unstable,
17
- Body1: ()=>_body1.Body1,
18
- body1ClassNames: ()=>_body1.body1ClassNames,
19
- Body1Strong: ()=>_body1Strong.Body1Strong,
20
- body1StrongClassNames: ()=>_body1Strong.body1StrongClassNames,
21
- Body1Stronger: ()=>_body1Stronger.Body1Stronger,
22
- body1StrongerClassNames: ()=>_body1Stronger.body1StrongerClassNames,
23
- Body2: ()=>_body2.Body2,
24
- body2ClassNames: ()=>_body2.body2ClassNames,
25
- Caption1: ()=>_caption1.Caption1,
26
- caption1ClassNames: ()=>_caption1.caption1ClassNames,
27
- Caption1Strong: ()=>_caption1Strong.Caption1Strong,
28
- caption1StrongClassNames: ()=>_caption1Strong.caption1StrongClassNames,
29
- Caption1Stronger: ()=>_caption1Stronger.Caption1Stronger,
30
- caption1StrongerClassNames: ()=>_caption1Stronger.caption1StrongerClassNames,
31
- Caption2: ()=>_caption2.Caption2,
32
- caption2ClassNames: ()=>_caption2.caption2ClassNames,
33
- Caption2Strong: ()=>_caption2Strong.Caption2Strong,
34
- caption2StrongClassNames: ()=>_caption2Strong.caption2StrongClassNames,
35
- Display: ()=>_display.Display,
36
- displayClassNames: ()=>_display.displayClassNames,
37
- LargeTitle: ()=>_largeTitle.LargeTitle,
38
- largeTitleClassNames: ()=>_largeTitle.largeTitleClassNames,
39
- Subtitle1: ()=>_subtitle1.Subtitle1,
40
- subtitle1ClassNames: ()=>_subtitle1.subtitle1ClassNames,
41
- Subtitle2: ()=>_subtitle2.Subtitle2,
42
- subtitle2ClassNames: ()=>_subtitle2.subtitle2ClassNames,
43
- Subtitle2Stronger: ()=>_subtitle2Stronger.Subtitle2Stronger,
44
- subtitle2StrongerClassNames: ()=>_subtitle2Stronger.subtitle2StrongerClassNames,
45
- Title1: ()=>_title1.Title1,
46
- title1ClassNames: ()=>_title1.title1ClassNames,
47
- Title2: ()=>_title2.Title2,
48
- title2ClassNames: ()=>_title2.title2ClassNames,
49
- Title3: ()=>_title3.Title3,
50
- title3ClassNames: ()=>_title3.title3ClassNames
51
- });
52
- const _text = require("./Text");
53
- const _body1 = require("./Body1");
54
- const _body1Strong = require("./Body1Strong");
55
- const _body1Stronger = require("./Body1Stronger");
56
- const _body2 = require("./Body2");
57
- const _caption1 = require("./Caption1");
58
- const _caption1Strong = require("./Caption1Strong");
59
- const _caption1Stronger = require("./Caption1Stronger");
60
- const _caption2 = require("./Caption2");
61
- const _caption2Strong = require("./Caption2Strong");
62
- const _display = require("./Display");
63
- const _largeTitle = require("./LargeTitle");
64
- const _subtitle1 = require("./Subtitle1");
65
- const _subtitle2 = require("./Subtitle2");
66
- const _subtitle2Stronger = require("./Subtitle2Stronger");
67
- const _title1 = require("./Title1");
68
- const _title2 = require("./Title2");
69
- const _title3 = require("./Title3");
70
- //# sourceMappingURL=index.js.map
71
2
 
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.title3ClassNames = exports.Title3 = exports.title2ClassNames = exports.Title2 = exports.title1ClassNames = exports.Title1 = exports.subtitle2StrongerClassNames = exports.Subtitle2Stronger = exports.subtitle2ClassNames = exports.Subtitle2 = exports.subtitle1ClassNames = exports.Subtitle1 = exports.largeTitleClassNames = exports.LargeTitle = exports.displayClassNames = exports.Display = exports.caption2StrongClassNames = exports.Caption2Strong = exports.caption2ClassNames = exports.Caption2 = exports.caption1StrongerClassNames = exports.Caption1Stronger = exports.caption1StrongClassNames = exports.Caption1Strong = exports.caption1ClassNames = exports.Caption1 = exports.body2ClassNames = exports.Body2 = exports.body1StrongerClassNames = exports.Body1Stronger = exports.body1StrongClassNames = exports.Body1Strong = exports.body1ClassNames = exports.Body1 = exports.useText_unstable = exports.useTextStyles_unstable = exports.textClassNames = exports.renderText_unstable = exports.Text = void 0;
7
+ var Text_1 = /*#__PURE__*/require("./Text");
8
+ Object.defineProperty(exports, "Text", {
9
+ enumerable: true,
10
+ get: function () {
11
+ return Text_1.Text;
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "renderText_unstable", {
15
+ enumerable: true,
16
+ get: function () {
17
+ return Text_1.renderText_unstable;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "textClassNames", {
21
+ enumerable: true,
22
+ get: function () {
23
+ return Text_1.textClassNames;
24
+ }
25
+ });
26
+ Object.defineProperty(exports, "useTextStyles_unstable", {
27
+ enumerable: true,
28
+ get: function () {
29
+ return Text_1.useTextStyles_unstable;
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "useText_unstable", {
33
+ enumerable: true,
34
+ get: function () {
35
+ return Text_1.useText_unstable;
36
+ }
37
+ });
38
+ var Body1_1 = /*#__PURE__*/require("./Body1");
39
+ Object.defineProperty(exports, "Body1", {
40
+ enumerable: true,
41
+ get: function () {
42
+ return Body1_1.Body1;
43
+ }
44
+ });
45
+ Object.defineProperty(exports, "body1ClassNames", {
46
+ enumerable: true,
47
+ get: function () {
48
+ return Body1_1.body1ClassNames;
49
+ }
50
+ });
51
+ var Body1Strong_1 = /*#__PURE__*/require("./Body1Strong");
52
+ Object.defineProperty(exports, "Body1Strong", {
53
+ enumerable: true,
54
+ get: function () {
55
+ return Body1Strong_1.Body1Strong;
56
+ }
57
+ });
58
+ Object.defineProperty(exports, "body1StrongClassNames", {
59
+ enumerable: true,
60
+ get: function () {
61
+ return Body1Strong_1.body1StrongClassNames;
62
+ }
63
+ });
64
+ var Body1Stronger_1 = /*#__PURE__*/require("./Body1Stronger");
65
+ Object.defineProperty(exports, "Body1Stronger", {
66
+ enumerable: true,
67
+ get: function () {
68
+ return Body1Stronger_1.Body1Stronger;
69
+ }
70
+ });
71
+ Object.defineProperty(exports, "body1StrongerClassNames", {
72
+ enumerable: true,
73
+ get: function () {
74
+ return Body1Stronger_1.body1StrongerClassNames;
75
+ }
76
+ });
77
+ var Body2_1 = /*#__PURE__*/require("./Body2");
78
+ Object.defineProperty(exports, "Body2", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return Body2_1.Body2;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "body2ClassNames", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return Body2_1.body2ClassNames;
88
+ }
89
+ });
90
+ var Caption1_1 = /*#__PURE__*/require("./Caption1");
91
+ Object.defineProperty(exports, "Caption1", {
92
+ enumerable: true,
93
+ get: function () {
94
+ return Caption1_1.Caption1;
95
+ }
96
+ });
97
+ Object.defineProperty(exports, "caption1ClassNames", {
98
+ enumerable: true,
99
+ get: function () {
100
+ return Caption1_1.caption1ClassNames;
101
+ }
102
+ });
103
+ var Caption1Strong_1 = /*#__PURE__*/require("./Caption1Strong");
104
+ Object.defineProperty(exports, "Caption1Strong", {
105
+ enumerable: true,
106
+ get: function () {
107
+ return Caption1Strong_1.Caption1Strong;
108
+ }
109
+ });
110
+ Object.defineProperty(exports, "caption1StrongClassNames", {
111
+ enumerable: true,
112
+ get: function () {
113
+ return Caption1Strong_1.caption1StrongClassNames;
114
+ }
115
+ });
116
+ var Caption1Stronger_1 = /*#__PURE__*/require("./Caption1Stronger");
117
+ Object.defineProperty(exports, "Caption1Stronger", {
118
+ enumerable: true,
119
+ get: function () {
120
+ return Caption1Stronger_1.Caption1Stronger;
121
+ }
122
+ });
123
+ Object.defineProperty(exports, "caption1StrongerClassNames", {
124
+ enumerable: true,
125
+ get: function () {
126
+ return Caption1Stronger_1.caption1StrongerClassNames;
127
+ }
128
+ });
129
+ var Caption2_1 = /*#__PURE__*/require("./Caption2");
130
+ Object.defineProperty(exports, "Caption2", {
131
+ enumerable: true,
132
+ get: function () {
133
+ return Caption2_1.Caption2;
134
+ }
135
+ });
136
+ Object.defineProperty(exports, "caption2ClassNames", {
137
+ enumerable: true,
138
+ get: function () {
139
+ return Caption2_1.caption2ClassNames;
140
+ }
141
+ });
142
+ var Caption2Strong_1 = /*#__PURE__*/require("./Caption2Strong");
143
+ Object.defineProperty(exports, "Caption2Strong", {
144
+ enumerable: true,
145
+ get: function () {
146
+ return Caption2Strong_1.Caption2Strong;
147
+ }
148
+ });
149
+ Object.defineProperty(exports, "caption2StrongClassNames", {
150
+ enumerable: true,
151
+ get: function () {
152
+ return Caption2Strong_1.caption2StrongClassNames;
153
+ }
154
+ });
155
+ var Display_1 = /*#__PURE__*/require("./Display");
156
+ Object.defineProperty(exports, "Display", {
157
+ enumerable: true,
158
+ get: function () {
159
+ return Display_1.Display;
160
+ }
161
+ });
162
+ Object.defineProperty(exports, "displayClassNames", {
163
+ enumerable: true,
164
+ get: function () {
165
+ return Display_1.displayClassNames;
166
+ }
167
+ });
168
+ var LargeTitle_1 = /*#__PURE__*/require("./LargeTitle");
169
+ Object.defineProperty(exports, "LargeTitle", {
170
+ enumerable: true,
171
+ get: function () {
172
+ return LargeTitle_1.LargeTitle;
173
+ }
174
+ });
175
+ Object.defineProperty(exports, "largeTitleClassNames", {
176
+ enumerable: true,
177
+ get: function () {
178
+ return LargeTitle_1.largeTitleClassNames;
179
+ }
180
+ });
181
+ var Subtitle1_1 = /*#__PURE__*/require("./Subtitle1");
182
+ Object.defineProperty(exports, "Subtitle1", {
183
+ enumerable: true,
184
+ get: function () {
185
+ return Subtitle1_1.Subtitle1;
186
+ }
187
+ });
188
+ Object.defineProperty(exports, "subtitle1ClassNames", {
189
+ enumerable: true,
190
+ get: function () {
191
+ return Subtitle1_1.subtitle1ClassNames;
192
+ }
193
+ });
194
+ var Subtitle2_1 = /*#__PURE__*/require("./Subtitle2");
195
+ Object.defineProperty(exports, "Subtitle2", {
196
+ enumerable: true,
197
+ get: function () {
198
+ return Subtitle2_1.Subtitle2;
199
+ }
200
+ });
201
+ Object.defineProperty(exports, "subtitle2ClassNames", {
202
+ enumerable: true,
203
+ get: function () {
204
+ return Subtitle2_1.subtitle2ClassNames;
205
+ }
206
+ });
207
+ var Subtitle2Stronger_1 = /*#__PURE__*/require("./Subtitle2Stronger");
208
+ Object.defineProperty(exports, "Subtitle2Stronger", {
209
+ enumerable: true,
210
+ get: function () {
211
+ return Subtitle2Stronger_1.Subtitle2Stronger;
212
+ }
213
+ });
214
+ Object.defineProperty(exports, "subtitle2StrongerClassNames", {
215
+ enumerable: true,
216
+ get: function () {
217
+ return Subtitle2Stronger_1.subtitle2StrongerClassNames;
218
+ }
219
+ });
220
+ var Title1_1 = /*#__PURE__*/require("./Title1");
221
+ Object.defineProperty(exports, "Title1", {
222
+ enumerable: true,
223
+ get: function () {
224
+ return Title1_1.Title1;
225
+ }
226
+ });
227
+ Object.defineProperty(exports, "title1ClassNames", {
228
+ enumerable: true,
229
+ get: function () {
230
+ return Title1_1.title1ClassNames;
231
+ }
232
+ });
233
+ var Title2_1 = /*#__PURE__*/require("./Title2");
234
+ Object.defineProperty(exports, "Title2", {
235
+ enumerable: true,
236
+ get: function () {
237
+ return Title2_1.Title2;
238
+ }
239
+ });
240
+ Object.defineProperty(exports, "title2ClassNames", {
241
+ enumerable: true,
242
+ get: function () {
243
+ return Title2_1.title2ClassNames;
244
+ }
245
+ });
246
+ var Title3_1 = /*#__PURE__*/require("./Title3");
247
+ Object.defineProperty(exports, "Title3", {
248
+ enumerable: true,
249
+ get: function () {
250
+ return Title3_1.Title3;
251
+ }
252
+ });
253
+ Object.defineProperty(exports, "title3ClassNames", {
254
+ enumerable: true,
255
+ get: function () {
256
+ return Title3_1.title3ClassNames;
257
+ }
258
+ });
72
259
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n//# sourceMappingURL=index.js.map"],"names":["Text","renderText_unstable","textClassNames","useTextStyles_unstable","useText_unstable","Body1","body1ClassNames","Body1Strong","body1StrongClassNames","Body1Stronger","body1StrongerClassNames","Body2","body2ClassNames","Caption1","caption1ClassNames","Caption1Strong","caption1StrongClassNames","Caption1Stronger","caption1StrongerClassNames","Caption2","caption2ClassNames","Caption2Strong","caption2StrongClassNames","Display","displayClassNames","LargeTitle","largeTitleClassNames","Subtitle1","subtitle1ClassNames","Subtitle2","subtitle2ClassNames","Subtitle2Stronger","subtitle2StrongerClassNames","Title1","title1ClassNames","Title2","title2ClassNames","Title3","title3ClassNames"],"mappings":";;;;;;;;;;;IAASA,IAAI,MAAJA,UAAI;IAAEC,mBAAmB,MAAnBA,yBAAmB;IAAEC,cAAc,MAAdA,oBAAc;IAAEC,sBAAsB,MAAtBA,4BAAsB;IAAEC,gBAAgB,MAAhBA,sBAAgB;IACnFC,KAAK,MAALA,YAAK;IAAEC,eAAe,MAAfA,sBAAe;IACtBC,WAAW,MAAXA,wBAAW;IAAEC,qBAAqB,MAArBA,kCAAqB;IAClCC,aAAa,MAAbA,4BAAa;IAAEC,uBAAuB,MAAvBA,sCAAuB;IACtCC,KAAK,MAALA,YAAK;IAAEC,eAAe,MAAfA,sBAAe;IACtBC,QAAQ,MAARA,kBAAQ;IAAEC,kBAAkB,MAAlBA,4BAAkB;IAC5BC,cAAc,MAAdA,8BAAc;IAAEC,wBAAwB,MAAxBA,wCAAwB;IACxCC,gBAAgB,MAAhBA,kCAAgB;IAAEC,0BAA0B,MAA1BA,4CAA0B;IAC5CC,QAAQ,MAARA,kBAAQ;IAAEC,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B;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"","sources":["../../../../../../../packages/react-components/react-text/src/index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState, TextPresetProps } from './Text';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Body1Strong, body1StrongClassNames } from './Body1Strong';\nexport { Body1Stronger, body1StrongerClassNames } from './Body1Stronger';\nexport { Body2, body2ClassNames } from './Body2';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption1Strong, caption1StrongClassNames } from './Caption1Strong';\nexport { Caption1Stronger, caption1StrongerClassNames } from './Caption1Stronger';\nexport { Caption2, caption2ClassNames } from './Caption2';\nexport { Caption2Strong, caption2StrongClassNames } from './Caption2Strong';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Subtitle2Stronger, subtitle2StrongerClassNames } from './Subtitle2Stronger';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-text",
3
- "version": "0.0.0-nightly-20230223-2115.1",
3
+ "version": "0.0.0-nightly-20230228-0425.1",
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",
@@ -22,20 +22,20 @@
22
22
  "test": "jest --passWithNoTests",
23
23
  "storybook": "start-storybook",
24
24
  "type-check": "tsc -b tsconfig.json",
25
- "generate-api": "just-scripts generate-api"
25
+ "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
29
  "@fluentui/react-conformance": "*",
30
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230223-2115.1",
30
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20230228-0425.1",
31
31
  "@fluentui/scripts-api-extractor": "*",
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
35
  "@griffel/react": "^1.5.2",
36
- "@fluentui/react-theme": "0.0.0-nightly-20230223-2115.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20230223-2115.1",
38
- "@swc/helpers": "^0.4.14"
36
+ "@fluentui/react-theme": "0.0.0-nightly-20230228-0425.1",
37
+ "@fluentui/react-utilities": "0.0.0-nightly-20230228-0425.1",
38
+ "tslib": "^2.1.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@types/react": ">=16.8.0 <19.0.0",
package/.swcrc DELETED
@@ -1,33 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/swcrc",
3
- "env": {
4
- "targets": {
5
- "chrome": "84",
6
- "edge": "84",
7
- "firefox": "75",
8
- "opera": "73",
9
- "safari": "14.1"
10
- }
11
- },
12
- "exclude": [
13
- "/testing",
14
- "/**/*.cy.ts",
15
- "/**/*.cy.tsx",
16
- "/**/*.spec.ts",
17
- "/**/*.spec.tsx",
18
- "/**/*.test.ts",
19
- "/**/*.test.tsx"
20
- ],
21
- "jsc": {
22
- "parser": {
23
- "syntax": "typescript",
24
- "tsx": true,
25
- "decorators": false,
26
- "dynamicImport": false
27
- },
28
- "target": "es2019",
29
- "externalHelpers": true
30
- },
31
- "minify": false,
32
- "sourceMaps": true
33
- }