@fluentui/react-text 9.4.26 → 9.4.28

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 (191) hide show
  1. package/CHANGELOG.md +27 -2
  2. package/dist/index.d.ts +17 -18
  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.map +1 -1
  25. package/lib/components/Text/useText.js.map +1 -1
  26. package/lib/components/Text/useTextStyles.styles.js +1 -2
  27. package/lib/components/presets/Body1/Body1.js +1 -0
  28. package/lib/components/presets/Body1/Body1.js.map +1 -1
  29. package/lib/components/presets/Body1/index.js.map +1 -1
  30. package/lib/components/presets/Body1/useBody1Styles.styles.js +1 -2
  31. package/lib/components/presets/Body1Strong/Body1Strong.js +1 -0
  32. package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  33. package/lib/components/presets/Body1Strong/index.js.map +1 -1
  34. package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -2
  35. package/lib/components/presets/Body1Stronger/Body1Stronger.js +1 -0
  36. package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  37. package/lib/components/presets/Body1Stronger/index.js.map +1 -1
  38. package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -2
  39. package/lib/components/presets/Body2/Body2.js +1 -0
  40. package/lib/components/presets/Body2/Body2.js.map +1 -1
  41. package/lib/components/presets/Body2/index.js.map +1 -1
  42. package/lib/components/presets/Body2/useBody2Styles.styles.js +1 -2
  43. package/lib/components/presets/Caption1/Caption1.js +1 -0
  44. package/lib/components/presets/Caption1/Caption1.js.map +1 -1
  45. package/lib/components/presets/Caption1/index.js.map +1 -1
  46. package/lib/components/presets/Caption1/useCaption1Styles.styles.js +1 -2
  47. package/lib/components/presets/Caption1Strong/Caption1Strong.js +1 -0
  48. package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  49. package/lib/components/presets/Caption1Strong/index.js.map +1 -1
  50. package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -2
  51. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +1 -0
  52. package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  53. package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
  54. package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -2
  55. package/lib/components/presets/Caption2/Caption2.js +1 -0
  56. package/lib/components/presets/Caption2/Caption2.js.map +1 -1
  57. package/lib/components/presets/Caption2/index.js.map +1 -1
  58. package/lib/components/presets/Caption2/useCaption2Styles.styles.js +1 -2
  59. package/lib/components/presets/Caption2Strong/Caption2Strong.js +1 -0
  60. package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  61. package/lib/components/presets/Caption2Strong/index.js.map +1 -1
  62. package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -2
  63. package/lib/components/presets/Display/Display.js +1 -0
  64. package/lib/components/presets/Display/Display.js.map +1 -1
  65. package/lib/components/presets/Display/index.js.map +1 -1
  66. package/lib/components/presets/Display/useDisplayStyles.styles.js +1 -2
  67. package/lib/components/presets/LargeTitle/LargeTitle.js +1 -0
  68. package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  69. package/lib/components/presets/LargeTitle/index.js.map +1 -1
  70. package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -2
  71. package/lib/components/presets/Subtitle1/Subtitle1.js +1 -0
  72. package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  73. package/lib/components/presets/Subtitle1/index.js.map +1 -1
  74. package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -2
  75. package/lib/components/presets/Subtitle2/Subtitle2.js +1 -0
  76. package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  77. package/lib/components/presets/Subtitle2/index.js.map +1 -1
  78. package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -2
  79. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +1 -0
  80. package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  81. package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
  82. package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -2
  83. package/lib/components/presets/Title1/Title1.js +1 -0
  84. package/lib/components/presets/Title1/Title1.js.map +1 -1
  85. package/lib/components/presets/Title1/index.js.map +1 -1
  86. package/lib/components/presets/Title1/useTitle1Styles.styles.js +1 -2
  87. package/lib/components/presets/Title2/Title2.js +1 -0
  88. package/lib/components/presets/Title2/Title2.js.map +1 -1
  89. package/lib/components/presets/Title2/index.js.map +1 -1
  90. package/lib/components/presets/Title2/useTitle2Styles.styles.js +1 -2
  91. package/lib/components/presets/Title3/Title3.js +1 -0
  92. package/lib/components/presets/Title3/Title3.js.map +1 -1
  93. package/lib/components/presets/Title3/index.js.map +1 -1
  94. package/lib/components/presets/Title3/useTitle3Styles.styles.js +1 -2
  95. package/lib/components/presets/createPreset.js.map +1 -1
  96. package/lib/index.js.map +1 -1
  97. package/lib-commonjs/Body1.js.map +1 -1
  98. package/lib-commonjs/Body1Strong.js.map +1 -1
  99. package/lib-commonjs/Body1Stronger.js.map +1 -1
  100. package/lib-commonjs/Body2.js.map +1 -1
  101. package/lib-commonjs/Caption1.js.map +1 -1
  102. package/lib-commonjs/Caption1Strong.js.map +1 -1
  103. package/lib-commonjs/Caption1Stronger.js.map +1 -1
  104. package/lib-commonjs/Caption2.js.map +1 -1
  105. package/lib-commonjs/Caption2Strong.js.map +1 -1
  106. package/lib-commonjs/Display.js.map +1 -1
  107. package/lib-commonjs/LargeTitle.js.map +1 -1
  108. package/lib-commonjs/Subtitle1.js.map +1 -1
  109. package/lib-commonjs/Subtitle2.js.map +1 -1
  110. package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
  111. package/lib-commonjs/Text.js.map +1 -1
  112. package/lib-commonjs/Title1.js.map +1 -1
  113. package/lib-commonjs/Title2.js.map +1 -1
  114. package/lib-commonjs/Title3.js.map +1 -1
  115. package/lib-commonjs/components/Text/Text.js.map +1 -1
  116. package/lib-commonjs/components/Text/Text.types.js.map +1 -1
  117. package/lib-commonjs/components/Text/index.js.map +1 -1
  118. package/lib-commonjs/components/Text/renderText.js.map +1 -1
  119. package/lib-commonjs/components/Text/useText.js.map +1 -1
  120. package/lib-commonjs/components/Text/useTextStyles.styles.js +1 -1
  121. package/lib-commonjs/components/presets/Body1/Body1.js +2 -0
  122. package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
  123. package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
  124. package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +1 -1
  125. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +2 -0
  126. package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
  127. package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
  128. package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -1
  129. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +2 -0
  130. package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
  131. package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
  132. package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -1
  133. package/lib-commonjs/components/presets/Body2/Body2.js +2 -0
  134. package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
  135. package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
  136. package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +1 -1
  137. package/lib-commonjs/components/presets/Caption1/Caption1.js +2 -0
  138. package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
  139. package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
  140. package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +1 -1
  141. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +2 -0
  142. package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
  143. package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
  144. package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -1
  145. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +2 -0
  146. package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
  147. package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
  148. package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -1
  149. package/lib-commonjs/components/presets/Caption2/Caption2.js +2 -0
  150. package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
  151. package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
  152. package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +1 -1
  153. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +2 -0
  154. package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
  155. package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
  156. package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -1
  157. package/lib-commonjs/components/presets/Display/Display.js +2 -0
  158. package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
  159. package/lib-commonjs/components/presets/Display/index.js.map +1 -1
  160. package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +1 -1
  161. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +2 -0
  162. package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
  163. package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
  164. package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -1
  165. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +2 -0
  166. package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
  167. package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
  168. package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -1
  169. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +2 -0
  170. package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
  171. package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
  172. package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -1
  173. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -0
  174. package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
  175. package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
  176. package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -1
  177. package/lib-commonjs/components/presets/Title1/Title1.js +2 -0
  178. package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
  179. package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
  180. package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +1 -1
  181. package/lib-commonjs/components/presets/Title2/Title2.js +2 -0
  182. package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
  183. package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
  184. package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +1 -1
  185. package/lib-commonjs/components/presets/Title3/Title3.js +2 -0
  186. package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
  187. package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
  188. package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +1 -1
  189. package/lib-commonjs/components/presets/createPreset.js.map +1 -1
  190. package/lib-commonjs/index.js.map +1 -1
  191. package/package.json +6 -21
package/CHANGELOG.md CHANGED
@@ -1,12 +1,37 @@
1
1
  # Change Log - @fluentui/react-text
2
2
 
3
- This log was last generated on Tue, 15 Oct 2024 17:13:32 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 06 Dec 2024 12:49:19 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.4.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.28)
8
+
9
+ Fri, 06 Dec 2024 12:49:19 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.27..@fluentui/react-text_v9.4.28)
11
+
12
+ ### Patches
13
+
14
+ - Bump @fluentui/react-shared-contexts to v9.21.1 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
15
+ - Bump @fluentui/react-theme to v9.1.23 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.18.18 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
17
+ - Bump @fluentui/react-jsx-runtime to v9.0.47 ([PR #33414](https://github.com/microsoft/fluentui/pull/33414) by beachball)
18
+
19
+ ## [9.4.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.27)
20
+
21
+ Mon, 11 Nov 2024 10:01:00 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.26..@fluentui/react-text_v9.4.27)
23
+
24
+ ### Patches
25
+
26
+ - chore: replace npm-scripts and just-scrtips with nx inferred tasks ([PR #33074](https://github.com/microsoft/fluentui/pull/33074) by martinhochel@microsoft.com)
27
+ - Bump @fluentui/react-shared-contexts to v9.21.0 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
28
+ - Bump @fluentui/react-theme to v9.1.22 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
29
+ - Bump @fluentui/react-utilities to v9.18.17 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
30
+ - Bump @fluentui/react-jsx-runtime to v9.0.46 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
31
+
7
32
  ## [9.4.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-text_v9.4.26)
8
33
 
9
- Tue, 15 Oct 2024 17:13:32 GMT
34
+ Tue, 15 Oct 2024 17:17:53 GMT
10
35
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-text_v9.4.25..@fluentui/react-text_v9.4.26)
11
36
 
12
37
  ### Patches
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import type { ComponentProps } from '@fluentui/react-utilities';
2
2
  import type { ComponentState } from '@fluentui/react-utilities';
3
3
  import type { ForwardRefComponent } from '@fluentui/react-utilities';
4
- import type { FunctionComponent } from 'react';
5
4
  import * as React_2 from 'react';
6
5
  import type { Slot } from '@fluentui/react-utilities';
7
6
  import { SlotClassNames } from '@fluentui/react-utilities';
@@ -9,77 +8,77 @@ import { SlotClassNames } from '@fluentui/react-utilities';
9
8
  /**
10
9
  * Text preset component for the Body1 typography variant
11
10
  */
12
- export declare const Body1: FunctionComponent<TextPresetProps>;
11
+ export declare const Body1: React_2.FunctionComponent<TextPresetProps>;
13
12
 
14
13
  export declare const body1ClassNames: SlotClassNames<TextSlots>;
15
14
 
16
15
  /**
17
16
  * Text preset component for the Body1Strong typography variant
18
17
  */
19
- export declare const Body1Strong: FunctionComponent<TextPresetProps>;
18
+ export declare const Body1Strong: React_2.FunctionComponent<TextPresetProps>;
20
19
 
21
20
  export declare const body1StrongClassNames: SlotClassNames<TextSlots>;
22
21
 
23
22
  /**
24
23
  * Text preset component for the Body1Stronger typography variant
25
24
  */
26
- export declare const Body1Stronger: FunctionComponent<TextPresetProps>;
25
+ export declare const Body1Stronger: React_2.FunctionComponent<TextPresetProps>;
27
26
 
28
27
  export declare const body1StrongerClassNames: SlotClassNames<TextSlots>;
29
28
 
30
29
  /**
31
30
  * Text preset component for the Body2 typography variant
32
31
  */
33
- export declare const Body2: FunctionComponent<TextPresetProps>;
32
+ export declare const Body2: React_2.FunctionComponent<TextPresetProps>;
34
33
 
35
34
  export declare const body2ClassNames: SlotClassNames<TextSlots>;
36
35
 
37
36
  /**
38
37
  * Text preset component for the Caption1 typography variant
39
38
  */
40
- export declare const Caption1: FunctionComponent<TextPresetProps>;
39
+ export declare const Caption1: React_2.FunctionComponent<TextPresetProps>;
41
40
 
42
41
  export declare const caption1ClassNames: SlotClassNames<TextSlots>;
43
42
 
44
43
  /**
45
44
  * Text preset component for the Caption1Strong typography variant
46
45
  */
47
- export declare const Caption1Strong: FunctionComponent<TextPresetProps>;
46
+ export declare const Caption1Strong: React_2.FunctionComponent<TextPresetProps>;
48
47
 
49
48
  export declare const caption1StrongClassNames: SlotClassNames<TextSlots>;
50
49
 
51
50
  /**
52
51
  * Text preset component for the Caption1Stronger typography variant
53
52
  */
54
- export declare const Caption1Stronger: FunctionComponent<TextPresetProps>;
53
+ export declare const Caption1Stronger: React_2.FunctionComponent<TextPresetProps>;
55
54
 
56
55
  export declare const caption1StrongerClassNames: SlotClassNames<TextSlots>;
57
56
 
58
57
  /**
59
58
  * Text preset component for the Caption2 typography variant
60
59
  */
61
- export declare const Caption2: FunctionComponent<TextPresetProps>;
60
+ export declare const Caption2: React_2.FunctionComponent<TextPresetProps>;
62
61
 
63
62
  export declare const caption2ClassNames: SlotClassNames<TextSlots>;
64
63
 
65
64
  /**
66
65
  * Text preset component for the Caption2Strong typography variant
67
66
  */
68
- export declare const Caption2Strong: FunctionComponent<TextPresetProps>;
67
+ export declare const Caption2Strong: React_2.FunctionComponent<TextPresetProps>;
69
68
 
70
69
  export declare const caption2StrongClassNames: SlotClassNames<TextSlots>;
71
70
 
72
71
  /**
73
72
  * Text preset component for the Display typography variant
74
73
  */
75
- export declare const Display: FunctionComponent<TextPresetProps>;
74
+ export declare const Display: React_2.FunctionComponent<TextPresetProps>;
76
75
 
77
76
  export declare const displayClassNames: SlotClassNames<TextSlots>;
78
77
 
79
78
  /**
80
79
  * Text preset component for the Large Title typography variant
81
80
  */
82
- export declare const LargeTitle: FunctionComponent<TextPresetProps>;
81
+ export declare const LargeTitle: React_2.FunctionComponent<TextPresetProps>;
83
82
 
84
83
  export declare const largeTitleClassNames: SlotClassNames<TextSlots>;
85
84
 
@@ -91,21 +90,21 @@ export declare const renderText_unstable: (state: TextState) => JSX.Element;
91
90
  /**
92
91
  * Text preset component for the Subtitle1 typography variant
93
92
  */
94
- export declare const Subtitle1: FunctionComponent<TextPresetProps>;
93
+ export declare const Subtitle1: React_2.FunctionComponent<TextPresetProps>;
95
94
 
96
95
  export declare const subtitle1ClassNames: SlotClassNames<TextSlots>;
97
96
 
98
97
  /**
99
98
  * Text preset component for the Subtitle2 typography variant
100
99
  */
101
- export declare const Subtitle2: FunctionComponent<TextPresetProps>;
100
+ export declare const Subtitle2: React_2.FunctionComponent<TextPresetProps>;
102
101
 
103
102
  export declare const subtitle2ClassNames: SlotClassNames<TextSlots>;
104
103
 
105
104
  /**
106
105
  * Text preset component for the Subtitle2Stronger typography variant
107
106
  */
108
- export declare const Subtitle2Stronger: FunctionComponent<TextPresetProps>;
107
+ export declare const Subtitle2Stronger: React_2.FunctionComponent<TextPresetProps>;
109
108
 
110
109
  export declare const subtitle2StrongerClassNames: SlotClassNames<TextSlots>;
111
110
 
@@ -203,21 +202,21 @@ export declare type TextState = ComponentState<TextSlots> & Required<Pick<TextPr
203
202
  /**
204
203
  * Text preset component for the Title 1 typography variant
205
204
  */
206
- export declare const Title1: FunctionComponent<TextPresetProps>;
205
+ export declare const Title1: React_2.FunctionComponent<TextPresetProps>;
207
206
 
208
207
  export declare const title1ClassNames: SlotClassNames<TextSlots>;
209
208
 
210
209
  /**
211
210
  * Text preset component for the Title 2 typography variant
212
211
  */
213
- export declare const Title2: FunctionComponent<TextPresetProps>;
212
+ export declare const Title2: React_2.FunctionComponent<TextPresetProps>;
214
213
 
215
214
  export declare const title2ClassNames: SlotClassNames<TextSlots>;
216
215
 
217
216
  /**
218
217
  * Text preset component for the Title 3 typography variant
219
218
  */
220
- export declare const Title3: FunctionComponent<TextPresetProps>;
219
+ export declare const Title3: React_2.FunctionComponent<TextPresetProps>;
221
220
 
222
221
  export declare const title3ClassNames: SlotClassNames<TextSlots>;
223
222
 
package/lib/Body1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
1
+ {"version":3,"sources":["../src/Body1.ts"],"sourcesContent":["export * from './components/presets/Body1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,yCAAyC"}
1
+ {"version":3,"sources":["../src/Body1Strong.ts"],"sourcesContent":["export * from './components/presets/Body1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,yCAAyC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,2CAA2C"}
1
+ {"version":3,"sources":["../src/Body1Stronger.ts"],"sourcesContent":["export * from './components/presets/Body1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,2CAA2C"}
package/lib/Body2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
1
+ {"version":3,"sources":["../src/Body2.ts"],"sourcesContent":["export * from './components/presets/Body2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
1
+ {"version":3,"sources":["../src/Caption1.ts"],"sourcesContent":["export * from './components/presets/Caption1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
1
+ {"version":3,"sources":["../src/Caption1Strong.ts"],"sourcesContent":["export * from './components/presets/Caption1Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,8CAA8C"}
1
+ {"version":3,"sources":["../src/Caption1Stronger.ts"],"sourcesContent":["export * from './components/presets/Caption1Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,8CAA8C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
1
+ {"version":3,"sources":["../src/Caption2.ts"],"sourcesContent":["export * from './components/presets/Caption2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,sCAAsC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
1
+ {"version":3,"sources":["../src/Caption2Strong.ts"],"sourcesContent":["export * from './components/presets/Caption2Strong/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4CAA4C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,qCAAqC"}
1
+ {"version":3,"sources":["../src/Display.ts"],"sourcesContent":["export * from './components/presets/Display/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,qCAAqC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,wCAAwC"}
1
+ {"version":3,"sources":["../src/LargeTitle.ts"],"sourcesContent":["export * from './components/presets/LargeTitle/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,wCAAwC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
1
+ {"version":3,"sources":["../src/Subtitle1.ts"],"sourcesContent":["export * from './components/presets/Subtitle1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
1
+ {"version":3,"sources":["../src/Subtitle2.ts"],"sourcesContent":["export * from './components/presets/Subtitle2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uCAAuC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,+CAA+C"}
1
+ {"version":3,"sources":["../src/Subtitle2Stronger.ts"],"sourcesContent":["export * from './components/presets/Subtitle2Stronger/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,+CAA+C"}
package/lib/Text.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,0BAA0B"}
1
+ {"version":3,"sources":["../src/Text.ts"],"sourcesContent":["export * from './components/Text/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,0BAA0B"}
package/lib/Title1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title1.ts"],"sourcesContent":["export * from './components/presets/Title1/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
package/lib/Title2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title2.ts"],"sourcesContent":["export * from './components/presets/Title2/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
package/lib/Title3.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
1
+ {"version":3,"sources":["../src/Title3.ts"],"sourcesContent":["export * from './components/presets/Title3/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oCAAoC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
1
+ {"version":3,"sources":["../src/components/Text/Text.tsx"],"sourcesContent":["import * as React from 'react';\nimport { useText_unstable } from './useText';\nimport { renderText_unstable } from './renderText';\nimport { useTextStyles_unstable } from './useTextStyles.styles';\nimport type { TextProps } from './Text.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';\n\n/**\n * Typography and styling abstraction component used to ensure consistency of text.\n */\nexport const Text: ForwardRefComponent<TextProps> = React.forwardRef((props, ref) => {\n const state = useText_unstable(props, ref);\n\n useTextStyles_unstable(state);\n\n useCustomStyleHook_unstable('useTextStyles_unstable')(state);\n\n return renderText_unstable(state);\n // Work around some small mismatches in inferred types which don't matter in practice\n}) as ForwardRefComponent<TextProps>;\n\nText.displayName = 'Text';\n"],"names":["React","useText_unstable","renderText_unstable","useTextStyles_unstable","useCustomStyleHook_unstable","Text","forwardRef","props","ref","state","displayName"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,gBAAgB,QAAQ,YAAY;AAC7C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,sBAAsB,QAAQ,yBAAyB;AAGhE,SAASC,2BAA2B,QAAQ,kCAAkC;AAE9E;;CAEC,GACD,OAAO,MAAMC,qBAAuCL,MAAMM,UAAU,CAAC,CAACC,OAAOC;IAC3E,MAAMC,QAAQR,iBAAiBM,OAAOC;IAEtCL,uBAAuBM;IAEvBL,4BAA4B,0BAA0BK;IAEtD,OAAOP,oBAAoBO;AAC3B,qFAAqF;AACvF,GAAqC;AAErCJ,KAAKK,WAAW,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"rangeMappings":";;","mappings":"AA0FA;;CAEC,GACD,WAMI"}
1
+ {"version":3,"sources":["../src/components/Text/Text.types.ts"],"sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\n/**\n * Text slots\n */\nexport type TextSlots = {\n root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre' | 'strong' | 'b' | 'em' | 'i'>;\n};\n\n/**\n * Text Props\n */\nexport type TextProps = ComponentProps<TextSlots> & {\n /**\n * Aligns text based on the parent container.\n *\n * @default start\n */\n align?: 'start' | 'center' | 'end' | 'justify';\n\n /**\n * Applies a block display for the content.\n *\n * @default false\n */\n block?: boolean;\n\n /**\n * Applies the font family to the content.\n *\n * @default base\n */\n font?: 'base' | 'monospace' | 'numeric';\n\n /**\n * Applies the italic font style to the content.\n *\n * @default false\n */\n italic?: boolean;\n\n /**\n * Applies font size and line height based on the theme typography tokens.\n *\n * @default 300\n */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;\n\n /**\n * Applies the strikethrough text decoration to the content.\n *\n * @default false\n */\n strikethrough?: boolean;\n\n /**\n * Truncate overflowing text for block displays.\n *\n * @default false\n */\n\n truncate?: boolean;\n\n /**\n * Applies the underline text decoration to the content.\n *\n * @default false\n */\n underline?: boolean;\n\n /**\n * Applies font weight to the content.\n *\n * @default regular\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold';\n\n /**\n * Wraps the text content on white spaces.\n *\n * @default true\n */\n wrap?: boolean;\n};\n\n/**\n * TextPreset Props\n */\nexport type TextPresetProps = Omit<TextProps, 'font' | 'size' | 'weight'>;\n\n/**\n * State used in rendering Text\n */\nexport type TextState = ComponentState<TextSlots> &\n Required<\n Pick<\n TextProps,\n 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'\n >\n >;\n"],"names":[],"rangeMappings":";;","mappings":"AA0FA;;CAEC,GACD,WAMI"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"rangeMappings":";;;;","mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,yBAAyB"}
1
+ {"version":3,"sources":["../src/components/Text/index.ts"],"sourcesContent":["export * from './Text';\nexport * from './Text.types';\nexport * from './renderText';\nexport * from './useText';\nexport * from './useTextStyles.styles';\n"],"names":[],"rangeMappings":";;;;","mappings":"AAAA,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,yBAAyB"}
@@ -1 +1 @@
1
- {"version":3,"sources":["renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"rangeMappings":";;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
1
+ {"version":3,"sources":["../src/components/Text/renderText.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { TextSlots, TextState } from './Text.types';\n\n/**\n * Render the final JSX of Text\n */\nexport const renderText_unstable = (state: TextState) => {\n assertSlots<TextSlots>(state);\n\n return <state.root />;\n};\n"],"names":["assertSlots","renderText_unstable","state","root"],"rangeMappings":";;;;;;;","mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;AAEjD,SAASA,WAAW,QAAQ,4BAA4B;AAGxD;;CAEC,GACD,OAAO,MAAMC,sBAAsB,CAACC;IAClCF,YAAuBE;IAEvB,qBAAO,KAACA,MAAMC,IAAI;AACpB,EAAE"}
@@ -1 +1 @@
1
- {"version":3,"sources":["useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
1
+ {"version":3,"sources":["../src/components/Text/useText.ts"],"sourcesContent":["import * as React from 'react';\nimport { getIntrinsicElementProps, slot } from '@fluentui/react-utilities';\nimport type { TextProps, TextState } from './Text.types';\n\n/**\n * Create the state required to render Text.\n *\n * The returned state can be modified with hooks such as useTextStyles_unstable,\n * before being passed to renderText_unstable.\n *\n * @param props - props from this instance of Text\n * @param ref - reference to root HTMLElement of Text\n */\nexport const useText_unstable = (props: TextProps, ref: React.Ref<HTMLElement>): TextState => {\n const { wrap, truncate, block, italic, underline, strikethrough, size, font, weight, align } = props;\n\n const state: TextState = {\n align: align ?? 'start',\n block: block ?? false,\n font: font ?? 'base',\n italic: italic ?? false,\n size: size ?? 300,\n strikethrough: strikethrough ?? false,\n truncate: truncate ?? false,\n underline: underline ?? false,\n weight: weight ?? 'regular',\n wrap: wrap ?? true,\n\n components: { root: 'span' },\n\n root: slot.always(\n getIntrinsicElementProps('span', {\n // FIXME:\n // `ref` is wrongly assigned to be `HTMLElement` instead of `HTMLHeadingElement & HTMLPreElement`\n // but since it would be a breaking change to fix it, we are casting ref to it's proper type\n ref: ref as React.Ref<HTMLHeadingElement & HTMLPreElement>,\n ...props,\n }),\n { elementType: 'span' },\n ),\n };\n\n return state;\n};\n"],"names":["React","getIntrinsicElementProps","slot","useText_unstable","props","ref","wrap","truncate","block","italic","underline","strikethrough","size","font","weight","align","state","components","root","always","elementType"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,wBAAwB,EAAEC,IAAI,QAAQ,4BAA4B;AAG3E;;;;;;;;CAQC,GACD,OAAO,MAAMC,mBAAmB,CAACC,OAAkBC;IACjD,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAEC,MAAM,EAAEC,KAAK,EAAE,GAAGX;IAE/F,MAAMY,QAAmB;QACvBD,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBP,OAAOA,kBAAAA,mBAAAA,QAAS;QAChBK,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdJ,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBG,MAAMA,iBAAAA,kBAAAA,OAAQ;QACdD,eAAeA,0BAAAA,2BAAAA,gBAAiB;QAChCJ,UAAUA,qBAAAA,sBAAAA,WAAY;QACtBG,WAAWA,sBAAAA,uBAAAA,YAAa;QACxBI,QAAQA,mBAAAA,oBAAAA,SAAU;QAClBR,MAAMA,iBAAAA,kBAAAA,OAAQ;QAEdW,YAAY;YAAEC,MAAM;QAAO;QAE3BA,MAAMhB,KAAKiB,MAAM,CACflB,yBAAyB,QAAQ;YAC/B,SAAS;YACT,iGAAiG;YACjG,4FAA4F;YAC5FI,KAAKA;YACL,GAAGD,KAAK;QACV,IACA;YAAEgB,aAAa;QAAO;IAE1B;IAEA,OAAOJ;AACT,EAAE"}
@@ -120,5 +120,4 @@ export const useTextStyles_unstable = state => {
120
120
  const styles = useStyles();
121
121
  state.root.className = mergeClasses(textClassNames.root, styles.root, state.wrap === false && styles.nowrap, state.truncate && styles.truncate, state.block && styles.block, state.italic && styles.italic, state.underline && styles.underline, state.strikethrough && styles.strikethrough, state.underline && state.strikethrough && styles.strikethroughUnderline, state.size === 100 && styles.base100, state.size === 200 && styles.base200, state.size === 400 && styles.base400, state.size === 500 && styles.base500, state.size === 600 && styles.base600, state.size === 700 && styles.hero700, state.size === 800 && styles.hero800, state.size === 900 && styles.hero900, state.size === 1000 && styles.hero1000, state.font === 'monospace' && styles.monospace, state.font === 'numeric' && styles.numeric, state.weight === 'medium' && styles.weightMedium, state.weight === 'semibold' && styles.weightSemibold, state.weight === 'bold' && styles.weightBold, state.align === 'center' && styles.alignCenter, state.align === 'end' && styles.alignEnd, state.align === 'justify' && styles.alignJustify, state.root.className);
122
122
  return state;
123
- };
124
- //# sourceMappingURL=useTextStyles.styles.js.map
123
+ };
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1/Body1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1ClassNames, useBody1Styles } from './useBody1Styles.styles';\n\n/**\n * Text preset component for the Body1 typography variant\n */\nexport const Body1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1Styles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"names":["React","createPreset","body1ClassNames","useBody1Styles","Body1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["body1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
1
+ {"version":3,"sources":["../src/components/presets/Body1/index.ts"],"sourcesContent":["export * from './Body1';\nexport { body1ClassNames } from './useBody1Styles.styles';\n"],"names":["body1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
@@ -15,5 +15,4 @@ export const useBody1Styles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
- });
19
- //# sourceMappingURL=useBody1Styles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/Body1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongClassNames, useBody1StrongStyles } from './useBody1StrongStyles.styles';\n\n/**\n * Text preset component for the Body1Strong typography variant\n */\nexport const Body1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongStyles,\n className: body1StrongClassNames.root,\n displayName: 'Body1Strong',\n});\n"],"names":["React","createPreset","body1StrongClassNames","useBody1StrongStyles","Body1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,qBAAqB,EAAEC,oBAAoB,QAAQ,gCAAgC;AAE5F;;CAEC,GACD,OAAO,MAAMC,cAAwDH,aAAa;IAChFI,WAAWF;IACXG,WAAWJ,sBAAsBK,IAAI;IACrCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["body1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,gBAAgB;AAC9B,SAASA,qBAAqB,QAAQ,gCAAgC"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Strong/index.ts"],"sourcesContent":["export * from './Body1Strong';\nexport { body1StrongClassNames } from './useBody1StrongStyles.styles';\n"],"names":["body1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,gBAAgB;AAC9B,SAASA,qBAAqB,QAAQ,gCAAgC"}
@@ -15,5 +15,4 @@ export const useBody1StrongStyles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
- });
19
- //# sourceMappingURL=useBody1StrongStyles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Body1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAAoDH,aAAa;IAC5EI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/Body1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body1StrongerClassNames, useBody1StrongerStyles } from './useBody1StrongerStyles.styles';\n\n/**\n * Text preset component for the Body1Stronger typography variant\n */\nexport const Body1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody1StrongerStyles,\n className: body1StrongerClassNames.root,\n displayName: 'Body1Stronger',\n});\n"],"names":["React","createPreset","body1StrongerClassNames","useBody1StrongerStyles","Body1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,kCAAkC;AAElG;;CAEC,GACD,OAAO,MAAMC,gBAA0DH,aAAa;IAClFI,WAAWF;IACXG,WAAWJ,wBAAwBK,IAAI;IACvCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["body1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,kBAAkB;AAChC,SAASA,uBAAuB,QAAQ,kCAAkC"}
1
+ {"version":3,"sources":["../src/components/presets/Body1Stronger/index.ts"],"sourcesContent":["export * from './Body1Stronger';\nexport { body1StrongerClassNames } from './useBody1StrongerStyles.styles';\n"],"names":["body1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,kBAAkB;AAChC,SAASA,uBAAuB,QAAQ,kCAAkC"}
@@ -15,5 +15,4 @@ export const useBody1StrongerStyles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
18
- });
19
- //# sourceMappingURL=useBody1StrongerStyles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Body2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAA4CH,aAAa;IACpEI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Body2/Body2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { body2ClassNames, useBody2Styles } from './useBody2Styles.styles';\n\n/**\n * Text preset component for the Body2 typography variant\n */\nexport const Body2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useBody2Styles,\n className: body2ClassNames.root,\n displayName: 'Body2',\n});\n"],"names":["React","createPreset","body2ClassNames","useBody2Styles","Body2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,eAAe,EAAEC,cAAc,QAAQ,0BAA0B;AAE1E;;CAEC,GACD,OAAO,MAAMC,QAAkDH,aAAa;IAC1EI,WAAWF;IACXG,WAAWJ,gBAAgBK,IAAI;IAC/BC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["body2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
1
+ {"version":3,"sources":["../src/components/presets/Body2/index.ts"],"sourcesContent":["export * from './Body2';\nexport { body2ClassNames } from './useBody2Styles.styles';\n"],"names":["body2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,UAAU;AACxB,SAASA,eAAe,QAAQ,0BAA0B"}
@@ -15,5 +15,4 @@ export const useBody2Styles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
18
- });
19
- //# sourceMappingURL=useBody2Styles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1/Caption1.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1ClassNames, useCaption1Styles } from './useCaption1Styles.styles';\n\n/**\n * Text preset component for the Caption1 typography variant\n */\nexport const Caption1: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1Styles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"names":["React","createPreset","caption1ClassNames","useCaption1Styles","Caption1","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["caption1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1/index.ts"],"sourcesContent":["export * from './Caption1';\nexport { caption1ClassNames } from './useCaption1Styles.styles';\n"],"names":["caption1ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
@@ -15,5 +15,4 @@ export const useCaption1Styles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
18
- });
19
- //# sourceMappingURL=useCaption1Styles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongClassNames, useCaption1StrongStyles } from './useCaption1StrongStyles.styles';\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"names":["React","createPreset","caption1StrongClassNames","useCaption1StrongStyles","Caption1Strong","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,wBAAwB,EAAEC,uBAAuB,QAAQ,mCAAmC;AAErG;;CAEC,GACD,OAAO,MAAMC,iBAA2DH,aAAa;IACnFI,WAAWF;IACXG,WAAWJ,yBAAyBK,IAAI;IACxCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["caption1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Strong/index.ts"],"sourcesContent":["export * from './Caption1Strong';\nexport { caption1StrongClassNames } from './useCaption1StrongStyles.styles';\n"],"names":["caption1StrongClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,mBAAmB;AACjC,SAASA,wBAAwB,QAAQ,mCAAmC"}
@@ -15,5 +15,4 @@ export const useCaption1StrongStyles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
18
- });
19
- //# sourceMappingURL=useCaption1StrongStyles.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAAuDH,aAAa;IAC/EI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption1StrongerClassNames, useCaption1StrongerStyles } from './useCaption1Stronger.styles';\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption1StrongerStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"names":["React","createPreset","caption1StrongerClassNames","useCaption1StrongerStyles","Caption1Stronger","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,0BAA0B,EAAEC,yBAAyB,QAAQ,+BAA+B;AAErG;;CAEC,GACD,OAAO,MAAMC,mBAA6DH,aAAa;IACrFI,WAAWF;IACXG,WAAWJ,2BAA2BK,IAAI;IAC1CC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["caption1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,qBAAqB;AACnC,SAASA,0BAA0B,QAAQ,+BAA+B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption1Stronger/index.ts"],"sourcesContent":["export * from './Caption1Stronger';\nexport { caption1StrongerClassNames } from './useCaption1Stronger.styles';\n"],"names":["caption1StrongerClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,qBAAqB;AACnC,SAASA,0BAA0B,QAAQ,+BAA+B"}
@@ -15,5 +15,4 @@ export const useCaption1StrongerStyles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
18
- });
19
- //# sourceMappingURL=useCaption1Stronger.styles.js.map
18
+ });
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { createPreset } from '../createPreset';
2
3
  import { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';
3
4
  /**
@@ -1 +1 @@
1
- {"version":3,"sources":["Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;","mappings":"AACA,SAASA,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAA+CH,aAAa;IACvEI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
1
+ {"version":3,"sources":["../src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createPreset } from '../createPreset';\nimport type { TextPresetProps } from '../../Text/Text.types';\nimport { caption2ClassNames, useCaption2Styles } from './useCaption2Styles.styles';\n\n/**\n * Text preset component for the Caption2 typography variant\n */\nexport const Caption2: React.FunctionComponent<TextPresetProps> = createPreset({\n useStyles: useCaption2Styles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"names":["React","createPreset","caption2ClassNames","useCaption2Styles","Caption2","useStyles","className","root","displayName"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAC/B,SAASC,YAAY,QAAQ,kBAAkB;AAE/C,SAASC,kBAAkB,EAAEC,iBAAiB,QAAQ,6BAA6B;AAEnF;;CAEC,GACD,OAAO,MAAMC,WAAqDH,aAAa;IAC7EI,WAAWF;IACXG,WAAWJ,mBAAmBK,IAAI;IAClCC,aAAa;AACf,GAAG"}
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["caption2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
1
+ {"version":3,"sources":["../src/components/presets/Caption2/index.ts"],"sourcesContent":["export * from './Caption2';\nexport { caption2ClassNames } from './useCaption2Styles.styles';\n"],"names":["caption2ClassNames"],"rangeMappings":";","mappings":"AAAA,cAAc,aAAa;AAC3B,SAASA,kBAAkB,QAAQ,6BAA6B"}
@@ -15,5 +15,4 @@ export const useCaption2Styles = /*#__PURE__*/__styles({
15
15
  }
16
16
  }, {
17
17
  d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
18
- });
19
- //# sourceMappingURL=useCaption2Styles.styles.js.map
18
+ });