@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.
- package/CHANGELOG.md +27 -2
- package/dist/index.d.ts +17 -18
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.js.map +1 -1
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.styles.js +1 -2
- package/lib/components/presets/Body1/Body1.js +1 -0
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1/useBody1Styles.styles.js +1 -2
- package/lib/components/presets/Body1Strong/Body1Strong.js +1 -0
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -2
- package/lib/components/presets/Body1Stronger/Body1Stronger.js +1 -0
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -2
- package/lib/components/presets/Body2/Body2.js +1 -0
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Body2/useBody2Styles.styles.js +1 -2
- package/lib/components/presets/Caption1/Caption1.js +1 -0
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1/useCaption1Styles.styles.js +1 -2
- package/lib/components/presets/Caption1Strong/Caption1Strong.js +1 -0
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -2
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +1 -0
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -2
- package/lib/components/presets/Caption2/Caption2.js +1 -0
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2/useCaption2Styles.styles.js +1 -2
- package/lib/components/presets/Caption2Strong/Caption2Strong.js +1 -0
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -2
- package/lib/components/presets/Display/Display.js +1 -0
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/Display/useDisplayStyles.styles.js +1 -2
- package/lib/components/presets/LargeTitle/LargeTitle.js +1 -0
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -2
- package/lib/components/presets/Subtitle1/Subtitle1.js +1 -0
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -2
- package/lib/components/presets/Subtitle2/Subtitle2.js +1 -0
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -2
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +1 -0
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -2
- package/lib/components/presets/Title1/Title1.js +1 -0
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title1/useTitle1Styles.styles.js +1 -2
- package/lib/components/presets/Title2/Title2.js +1 -0
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title2/useTitle2Styles.styles.js +1 -2
- package/lib/components/presets/Title3/Title3.js +1 -0
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/Title3/useTitle3Styles.styles.js +1 -2
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js +2 -0
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/useBody1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +2 -0
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/useBody1StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +2 -0
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/useBody1StrongerStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js +2 -0
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/useBody2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js +2 -0
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/useCaption1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +2 -0
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/useCaption1StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +2 -0
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/useCaption1Stronger.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js +2 -0
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/useCaption2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +2 -0
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/useCaption2StrongStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Display/Display.js +2 -0
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/useDisplayStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +2 -0
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/useLargeTitleStyles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +2 -0
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/useSubtitle1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +2 -0
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/useSubtitle2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +2 -0
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/useSubtitle2Stronger.styles.js +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js +2 -0
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/useTitle1Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js +2 -0
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/useTitle2Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js +2 -0
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/useTitle3Styles.styles.js +1 -1
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- 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
|
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:
|
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"}
|
package/lib/Body1Strong.js.map
CHANGED
@@ -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"}
|
package/lib/Body1Stronger.js.map
CHANGED
@@ -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"}
|
package/lib/Caption1.js.map
CHANGED
@@ -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"}
|
package/lib/Caption2.js.map
CHANGED
@@ -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"}
|
package/lib/Display.js.map
CHANGED
@@ -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"}
|
package/lib/LargeTitle.js.map
CHANGED
@@ -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"}
|
package/lib/Subtitle1.js.map
CHANGED
@@ -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"}
|
package/lib/Subtitle2.js.map
CHANGED
@@ -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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Strong.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body1Stronger.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Body2.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Strong.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption1Stronger.tsx"],"sourcesContent":["import
|
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 +1 @@
|
|
1
|
-
{"version":3,"sources":["Caption2.tsx"],"sourcesContent":["import
|
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
|
+
});
|