@fluentui/react-text 9.0.0-rc.1 → 9.0.0-rc.10
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.json +289 -1
- package/CHANGELOG.md +142 -48
- package/README.md +4 -4
- package/dist/{react-text.d.ts → index.d.ts} +61 -56
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/Body1.js +2 -0
- package/lib/Body1.js.map +1 -0
- package/lib/Caption1.js +2 -0
- package/lib/Caption1.js.map +1 -0
- package/lib/Caption2.js +2 -0
- package/lib/Caption2.js.map +1 -0
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js +2 -0
- package/lib/Subtitle1.js.map +1 -0
- package/lib/Subtitle2.js +2 -0
- package/lib/Subtitle2.js.map +1 -0
- 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/Body1/Body1.js +31 -0
- package/lib/components/Body1/Body1.js.map +1 -0
- package/lib/components/Body1/index.js +2 -0
- package/lib/components/Body1/index.js.map +1 -0
- package/lib/components/Caption1/Caption1.js +31 -0
- package/lib/components/Caption1/Caption1.js.map +1 -0
- package/lib/components/Caption1/index.js +2 -0
- package/lib/components/Caption1/index.js.map +1 -0
- package/lib/components/Caption2/Caption2.js +31 -0
- package/lib/components/Caption2/Caption2.js.map +1 -0
- package/lib/components/Caption2/index.js +2 -0
- package/lib/components/Caption2/index.js.map +1 -0
- package/lib/components/Display/Display.js +8 -6
- package/lib/components/Display/Display.js.map +1 -1
- package/lib/components/Display/index.js.map +1 -1
- package/lib/components/LargeTitle/LargeTitle.js +8 -6
- package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/LargeTitle/index.js.map +1 -1
- package/lib/components/Subtitle1/Subtitle1.js +31 -0
- package/lib/components/Subtitle1/Subtitle1.js.map +1 -0
- package/lib/components/Subtitle1/index.js +2 -0
- package/lib/components/Subtitle1/index.js.map +1 -0
- package/lib/components/Subtitle2/Subtitle2.js +31 -0
- package/lib/components/Subtitle2/Subtitle2.js.map +1 -0
- package/lib/components/Subtitle2/index.js +2 -0
- package/lib/components/Subtitle2/index.js.map +1 -0
- 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 +6 -6
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.js +4 -2
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/Title1/Title1.js +8 -6
- package/lib/components/Title1/Title1.js.map +1 -1
- package/lib/components/Title1/index.js.map +1 -1
- package/lib/components/Title2/Title2.js +8 -6
- package/lib/components/Title2/Title2.js.map +1 -1
- package/lib/components/Title2/index.js.map +1 -1
- package/lib/components/Title3/Title3.js +8 -6
- package/lib/components/Title3/Title3.js.map +1 -1
- package/lib/components/Title3/index.js.map +1 -1
- package/lib/components/wrapper.js.map +1 -1
- package/lib/index.js +11 -10
- package/lib/index.js.map +1 -1
- package/lib-commonjs/{Body.js → Body1.js} +2 -2
- package/lib-commonjs/Body1.js.map +1 -0
- package/lib-commonjs/{Headline.js → Caption1.js} +2 -2
- package/lib-commonjs/Caption1.js.map +1 -0
- package/lib-commonjs/{Caption.js → Caption2.js} +2 -2
- package/lib-commonjs/Caption2.js.map +1 -0
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +10 -0
- package/lib-commonjs/Subtitle1.js.map +1 -0
- package/lib-commonjs/Subtitle2.js +10 -0
- package/lib-commonjs/Subtitle2.js.map +1 -0
- 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/Body1/Body1.js +41 -0
- package/lib-commonjs/components/Body1/Body1.js.map +1 -0
- package/lib-commonjs/components/{Body → Body1}/index.js +1 -1
- package/lib-commonjs/components/Body1/index.js.map +1 -0
- package/lib-commonjs/components/Caption1/Caption1.js +41 -0
- package/lib-commonjs/components/Caption1/Caption1.js.map +1 -0
- package/lib-commonjs/components/{Headline → Caption1}/index.js +1 -1
- package/lib-commonjs/components/Caption1/index.js.map +1 -0
- package/lib-commonjs/components/Caption2/Caption2.js +41 -0
- package/lib-commonjs/components/Caption2/Caption2.js.map +1 -0
- package/lib-commonjs/components/{Caption → Caption2}/index.js +1 -1
- package/lib-commonjs/components/Caption2/index.js.map +1 -0
- package/lib-commonjs/components/Display/Display.js +17 -6
- package/lib-commonjs/components/Display/Display.js.map +1 -1
- package/lib-commonjs/components/Display/index.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js +17 -6
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/Subtitle1/Subtitle1.js +41 -0
- package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -0
- package/lib-commonjs/components/{Subheadline → Subtitle1}/index.js +1 -1
- package/lib-commonjs/components/Subtitle1/index.js.map +1 -0
- package/lib-commonjs/components/Subtitle2/Subtitle2.js +41 -0
- package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -0
- package/lib-commonjs/components/Subtitle2/index.js +10 -0
- package/lib-commonjs/components/Subtitle2/index.js.map +1 -0
- 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 +6 -6
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +5 -3
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/Title1/Title1.js +17 -6
- package/lib-commonjs/components/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/Title1/index.js.map +1 -1
- package/lib-commonjs/components/Title2/Title2.js +17 -6
- package/lib-commonjs/components/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/Title2/index.js.map +1 -1
- package/lib-commonjs/components/Title3/Title3.js +17 -6
- package/lib-commonjs/components/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/Title3/index.js.map +1 -1
- package/lib-commonjs/components/wrapper.js.map +1 -1
- package/lib-commonjs/index.js +173 -11
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +16 -18
- package/lib/Body.d.ts +0 -1
- package/lib/Body.js +0 -2
- package/lib/Body.js.map +0 -1
- package/lib/Caption.d.ts +0 -1
- package/lib/Caption.js +0 -2
- package/lib/Caption.js.map +0 -1
- package/lib/Display.d.ts +0 -1
- package/lib/Headline.d.ts +0 -1
- package/lib/Headline.js +0 -2
- package/lib/Headline.js.map +0 -1
- package/lib/LargeTitle.d.ts +0 -1
- package/lib/Subheadline.d.ts +0 -1
- package/lib/Subheadline.js +0 -2
- package/lib/Subheadline.js.map +0 -1
- package/lib/Text.d.ts +0 -1
- package/lib/Title1.d.ts +0 -1
- package/lib/Title2.d.ts +0 -1
- package/lib/Title3.d.ts +0 -1
- package/lib/components/Body/Body.d.ts +0 -7
- package/lib/components/Body/Body.js +0 -29
- package/lib/components/Body/Body.js.map +0 -1
- package/lib/components/Body/index.d.ts +0 -1
- package/lib/components/Body/index.js +0 -2
- package/lib/components/Body/index.js.map +0 -1
- package/lib/components/Caption/Caption.d.ts +0 -7
- package/lib/components/Caption/Caption.js +0 -29
- package/lib/components/Caption/Caption.js.map +0 -1
- package/lib/components/Caption/index.d.ts +0 -1
- package/lib/components/Caption/index.js +0 -2
- package/lib/components/Caption/index.js.map +0 -1
- package/lib/components/Display/Display.d.ts +0 -7
- package/lib/components/Display/index.d.ts +0 -1
- package/lib/components/Headline/Headline.d.ts +0 -7
- package/lib/components/Headline/Headline.js +0 -29
- package/lib/components/Headline/Headline.js.map +0 -1
- package/lib/components/Headline/index.d.ts +0 -1
- package/lib/components/Headline/index.js +0 -2
- package/lib/components/Headline/index.js.map +0 -1
- package/lib/components/LargeTitle/LargeTitle.d.ts +0 -7
- package/lib/components/LargeTitle/index.d.ts +0 -1
- package/lib/components/Subheadline/Subheadline.d.ts +0 -7
- package/lib/components/Subheadline/Subheadline.js +0 -29
- package/lib/components/Subheadline/Subheadline.js.map +0 -1
- package/lib/components/Subheadline/index.d.ts +0 -1
- package/lib/components/Subheadline/index.js +0 -2
- package/lib/components/Subheadline/index.js.map +0 -1
- package/lib/components/Text/Text.d.ts +0 -6
- package/lib/components/Text/Text.types.d.ts +0 -78
- package/lib/components/Text/index.d.ts +0 -5
- package/lib/components/Text/renderText.d.ts +0 -5
- package/lib/components/Text/useText.d.ts +0 -12
- package/lib/components/Text/useTextStyles.d.ts +0 -6
- package/lib/components/Title1/Title1.d.ts +0 -7
- package/lib/components/Title1/index.d.ts +0 -1
- package/lib/components/Title2/Title2.d.ts +0 -7
- package/lib/components/Title2/index.d.ts +0 -1
- package/lib/components/Title3/Title3.d.ts +0 -7
- package/lib/components/Title3/index.d.ts +0 -1
- package/lib/components/wrapper.d.ts +0 -8
- package/lib/index.d.ts +0 -10
- package/lib/typographyStyles/index.d.ts +0 -2
- package/lib/typographyStyles/index.js +0 -3
- package/lib/typographyStyles/index.js.map +0 -1
- package/lib/typographyStyles/typographyStyles.d.ts +0 -13
- package/lib/typographyStyles/typographyStyles.js +0 -60
- package/lib/typographyStyles/typographyStyles.js.map +0 -1
- package/lib-commonjs/Body.d.ts +0 -1
- package/lib-commonjs/Body.js.map +0 -1
- package/lib-commonjs/Caption.d.ts +0 -1
- package/lib-commonjs/Caption.js.map +0 -1
- package/lib-commonjs/Display.d.ts +0 -1
- package/lib-commonjs/Headline.d.ts +0 -1
- package/lib-commonjs/Headline.js.map +0 -1
- package/lib-commonjs/LargeTitle.d.ts +0 -1
- package/lib-commonjs/Subheadline.d.ts +0 -1
- package/lib-commonjs/Subheadline.js +0 -10
- package/lib-commonjs/Subheadline.js.map +0 -1
- package/lib-commonjs/Text.d.ts +0 -1
- package/lib-commonjs/Title1.d.ts +0 -1
- package/lib-commonjs/Title2.d.ts +0 -1
- package/lib-commonjs/Title3.d.ts +0 -1
- package/lib-commonjs/components/Body/Body.d.ts +0 -7
- package/lib-commonjs/components/Body/Body.js +0 -30
- package/lib-commonjs/components/Body/Body.js.map +0 -1
- package/lib-commonjs/components/Body/index.d.ts +0 -1
- package/lib-commonjs/components/Body/index.js.map +0 -1
- package/lib-commonjs/components/Caption/Caption.d.ts +0 -7
- package/lib-commonjs/components/Caption/Caption.js +0 -30
- package/lib-commonjs/components/Caption/Caption.js.map +0 -1
- package/lib-commonjs/components/Caption/index.d.ts +0 -1
- package/lib-commonjs/components/Caption/index.js.map +0 -1
- package/lib-commonjs/components/Display/Display.d.ts +0 -7
- package/lib-commonjs/components/Display/index.d.ts +0 -1
- package/lib-commonjs/components/Headline/Headline.d.ts +0 -7
- package/lib-commonjs/components/Headline/Headline.js +0 -30
- package/lib-commonjs/components/Headline/Headline.js.map +0 -1
- package/lib-commonjs/components/Headline/index.d.ts +0 -1
- package/lib-commonjs/components/Headline/index.js.map +0 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +0 -7
- package/lib-commonjs/components/LargeTitle/index.d.ts +0 -1
- package/lib-commonjs/components/Subheadline/Subheadline.d.ts +0 -7
- package/lib-commonjs/components/Subheadline/Subheadline.js +0 -30
- package/lib-commonjs/components/Subheadline/Subheadline.js.map +0 -1
- package/lib-commonjs/components/Subheadline/index.d.ts +0 -1
- package/lib-commonjs/components/Subheadline/index.js.map +0 -1
- package/lib-commonjs/components/Text/Text.d.ts +0 -6
- package/lib-commonjs/components/Text/Text.types.d.ts +0 -78
- package/lib-commonjs/components/Text/index.d.ts +0 -5
- package/lib-commonjs/components/Text/renderText.d.ts +0 -5
- package/lib-commonjs/components/Text/useText.d.ts +0 -12
- package/lib-commonjs/components/Text/useTextStyles.d.ts +0 -6
- package/lib-commonjs/components/Title1/Title1.d.ts +0 -7
- package/lib-commonjs/components/Title1/index.d.ts +0 -1
- package/lib-commonjs/components/Title2/Title2.d.ts +0 -7
- package/lib-commonjs/components/Title2/index.d.ts +0 -1
- package/lib-commonjs/components/Title3/Title3.d.ts +0 -7
- package/lib-commonjs/components/Title3/index.d.ts +0 -1
- package/lib-commonjs/components/wrapper.d.ts +0 -8
- package/lib-commonjs/index.d.ts +0 -10
- package/lib-commonjs/typographyStyles/index.d.ts +0 -2
- package/lib-commonjs/typographyStyles/index.js +0 -11
- package/lib-commonjs/typographyStyles/index.js.map +0 -1
- package/lib-commonjs/typographyStyles/typographyStyles.d.ts +0 -13
- package/lib-commonjs/typographyStyles/typographyStyles.js +0 -68
- package/lib-commonjs/typographyStyles/typographyStyles.js.map +0 -1
@@ -4,42 +4,42 @@ import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
4
4
|
import type { FunctionComponent } from 'react';
|
5
5
|
import * as React_2 from 'react';
|
6
6
|
import type { Slot } from '@fluentui/react-utilities';
|
7
|
+
import { SlotClassNames } from '@fluentui/react-utilities';
|
7
8
|
|
8
9
|
/**
|
9
|
-
* Text wrapper component for the
|
10
|
+
* Text wrapper component for the Body1 typography variant
|
10
11
|
*/
|
11
|
-
declare const
|
12
|
-
export { Body_2 as Body }
|
12
|
+
export declare const Body1: FunctionComponent<TextWrapperProps>;
|
13
13
|
|
14
|
-
export declare const
|
14
|
+
export declare const body1ClassNames: SlotClassNames<TextSlots>;
|
15
15
|
|
16
16
|
/**
|
17
|
-
* Text wrapper component for the
|
17
|
+
* Text wrapper component for the Caption1 typography variant
|
18
18
|
*/
|
19
|
-
export declare const
|
19
|
+
export declare const Caption1: FunctionComponent<TextWrapperProps>;
|
20
20
|
|
21
|
-
export declare const
|
21
|
+
export declare const caption1ClassNames: SlotClassNames<TextSlots>;
|
22
22
|
|
23
23
|
/**
|
24
|
-
* Text wrapper component for the
|
24
|
+
* Text wrapper component for the Caption2 typography variant
|
25
25
|
*/
|
26
|
-
export declare const
|
26
|
+
export declare const Caption2: FunctionComponent<TextWrapperProps>;
|
27
27
|
|
28
|
-
export declare const
|
28
|
+
export declare const caption2ClassNames: SlotClassNames<TextSlots>;
|
29
29
|
|
30
30
|
/**
|
31
|
-
* Text wrapper component for the
|
31
|
+
* Text wrapper component for the Display typography variant
|
32
32
|
*/
|
33
|
-
export declare const
|
33
|
+
export declare const Display: FunctionComponent<TextWrapperProps>;
|
34
34
|
|
35
|
-
export declare const
|
35
|
+
export declare const displayClassNames: SlotClassNames<TextSlots>;
|
36
36
|
|
37
37
|
/**
|
38
38
|
* Text wrapper component for the Large Title typography variant
|
39
39
|
*/
|
40
40
|
export declare const LargeTitle: FunctionComponent<TextWrapperProps>;
|
41
41
|
|
42
|
-
export declare const
|
42
|
+
export declare const largeTitleClassNames: SlotClassNames<TextSlots>;
|
43
43
|
|
44
44
|
/**
|
45
45
|
* Render the final JSX of Text
|
@@ -47,11 +47,18 @@ export declare const largeTitleClassName = "fui-LargeTitle";
|
|
47
47
|
export declare const renderText_unstable: (state: TextState) => JSX.Element;
|
48
48
|
|
49
49
|
/**
|
50
|
-
* Text wrapper component for the
|
50
|
+
* Text wrapper component for the Subtitle1 typography variant
|
51
|
+
*/
|
52
|
+
export declare const Subtitle1: FunctionComponent<TextWrapperProps>;
|
53
|
+
|
54
|
+
export declare const subtitle1ClassNames: SlotClassNames<TextSlots>;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Text wrapper component for the Subtitle2 typography variant
|
51
58
|
*/
|
52
|
-
export declare const
|
59
|
+
export declare const Subtitle2: FunctionComponent<TextWrapperProps>;
|
53
60
|
|
54
|
-
export declare const
|
61
|
+
export declare const subtitle2ClassNames: SlotClassNames<TextSlots>;
|
55
62
|
|
56
63
|
/**
|
57
64
|
* Typography and styling abstraction component used to ensure consistency of text.
|
@@ -59,87 +66,85 @@ export declare const subheadlineClassName = "fui-Subheadline";
|
|
59
66
|
declare const Text_2: ForwardRefComponent<TextProps>;
|
60
67
|
export { Text_2 as Text }
|
61
68
|
|
62
|
-
export declare const
|
69
|
+
export declare const textClassNames: SlotClassNames<TextSlots>;
|
63
70
|
|
64
|
-
|
71
|
+
/**
|
72
|
+
* Text Props
|
73
|
+
*/
|
74
|
+
export declare type TextProps = ComponentProps<TextSlots> & {
|
65
75
|
/**
|
66
|
-
*
|
76
|
+
* Aligns text based on the parent container.
|
67
77
|
*
|
68
|
-
* @
|
78
|
+
* @default start
|
69
79
|
*/
|
70
|
-
|
80
|
+
align?: 'start' | 'center' | 'end' | 'justify';
|
71
81
|
/**
|
72
|
-
*
|
82
|
+
* Applies a block display for the content.
|
73
83
|
*
|
74
|
-
* @
|
84
|
+
* @default false
|
75
85
|
*/
|
76
|
-
|
86
|
+
block?: boolean;
|
77
87
|
/**
|
78
|
-
* Applies
|
88
|
+
* Applies the font family to the content.
|
79
89
|
*
|
80
|
-
* @
|
90
|
+
* @default base
|
81
91
|
*/
|
82
|
-
|
92
|
+
font?: 'base' | 'monospace' | 'numeric';
|
83
93
|
/**
|
84
94
|
* Applies the italic font style to the content.
|
85
95
|
*
|
86
|
-
* @
|
96
|
+
* @default false
|
87
97
|
*/
|
88
|
-
italic
|
98
|
+
italic?: boolean;
|
89
99
|
/**
|
90
|
-
* Applies
|
100
|
+
* Applies font size and line height based on the theme tokens.
|
91
101
|
*
|
92
|
-
* @
|
102
|
+
* @default 300
|
93
103
|
*/
|
94
|
-
|
104
|
+
size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 1000;
|
95
105
|
/**
|
96
106
|
* Applies the strikethrough text decoration to the content.
|
97
107
|
*
|
98
|
-
* @
|
108
|
+
* @default false
|
99
109
|
*/
|
100
|
-
strikethrough
|
110
|
+
strikethrough?: boolean;
|
101
111
|
/**
|
102
|
-
*
|
112
|
+
* Truncate overflowing text for block displays.
|
103
113
|
*
|
104
|
-
* @
|
114
|
+
* @default false
|
105
115
|
*/
|
106
|
-
|
116
|
+
truncate?: boolean;
|
107
117
|
/**
|
108
|
-
* Applies the
|
118
|
+
* Applies the underline text decoration to the content.
|
109
119
|
*
|
110
|
-
* @
|
120
|
+
* @default false
|
111
121
|
*/
|
112
|
-
|
122
|
+
underline?: boolean;
|
113
123
|
/**
|
114
124
|
* Applies font weight to the content.
|
115
125
|
*
|
116
|
-
* @
|
126
|
+
* @default regular
|
117
127
|
*/
|
118
|
-
weight
|
128
|
+
weight?: 'regular' | 'medium' | 'semibold';
|
119
129
|
/**
|
120
|
-
*
|
130
|
+
* Wraps the text content on white spaces.
|
121
131
|
*
|
122
|
-
* @
|
132
|
+
* @default true
|
123
133
|
*/
|
124
|
-
|
134
|
+
wrap?: boolean;
|
125
135
|
};
|
126
136
|
|
127
|
-
/**
|
128
|
-
* Text Props
|
129
|
-
*/
|
130
|
-
export declare type TextProps = ComponentProps<TextSlots> & Partial<TextCommons>;
|
131
|
-
|
132
137
|
/**
|
133
138
|
* Text slots
|
134
139
|
*/
|
135
140
|
export declare type TextSlots = {
|
136
|
-
root: Slot<'span', '
|
141
|
+
root: Slot<'span', 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'pre'>;
|
137
142
|
};
|
138
143
|
|
139
144
|
/**
|
140
145
|
* State used in rendering Text
|
141
146
|
*/
|
142
|
-
export declare type TextState = ComponentState<TextSlots> &
|
147
|
+
export declare type TextState = ComponentState<TextSlots> & Required<Pick<TextProps, 'align' | 'block' | 'font' | 'italic' | 'size' | 'strikethrough' | 'truncate' | 'underline' | 'weight' | 'wrap'>>;
|
143
148
|
|
144
149
|
declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
145
150
|
|
@@ -148,21 +153,21 @@ declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
|
148
153
|
*/
|
149
154
|
export declare const Title1: FunctionComponent<TextWrapperProps>;
|
150
155
|
|
151
|
-
export declare const
|
156
|
+
export declare const title1ClassNames: SlotClassNames<TextSlots>;
|
152
157
|
|
153
158
|
/**
|
154
159
|
* Text wrapper component for the Title 2 typography variant
|
155
160
|
*/
|
156
161
|
export declare const Title2: FunctionComponent<TextWrapperProps>;
|
157
162
|
|
158
|
-
export declare const
|
163
|
+
export declare const title2ClassNames: SlotClassNames<TextSlots>;
|
159
164
|
|
160
165
|
/**
|
161
166
|
* Text wrapper component for the Title 3 typography variant
|
162
167
|
*/
|
163
168
|
export declare const Title3: FunctionComponent<TextWrapperProps>;
|
164
169
|
|
165
|
-
export declare const
|
170
|
+
export declare const title3ClassNames: SlotClassNames<TextSlots>;
|
166
171
|
|
167
172
|
/**
|
168
173
|
* Create the state required to render Text.
|
File without changes
|
package/lib/Body1.js
ADDED
package/lib/Body1.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Body1.js","sourceRoot":"../src/","sources":["Body1.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC","sourcesContent":["export * from './components/Body1/index';\n"]}
|
package/lib/Caption1.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Caption1.js","sourceRoot":"../src/","sources":["Caption1.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Caption1/index';\n"]}
|
package/lib/Caption2.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Caption2.js","sourceRoot":"../src/","sources":["Caption2.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/Caption2/index';\n"]}
|
package/lib/Display.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Display.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Display.js","sourceRoot":"../src/","sources":["Display.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC","sourcesContent":["export * from './components/Display/index';\n"]}
|
package/lib/LargeTitle.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LargeTitle.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"LargeTitle.js","sourceRoot":"../src/","sources":["LargeTitle.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './components/LargeTitle/index';\n"]}
|
package/lib/Subtitle1.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Subtitle1.js","sourceRoot":"../src/","sources":["Subtitle1.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './components/Subtitle1/index';\n"]}
|
package/lib/Subtitle2.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Subtitle2.js","sourceRoot":"../src/","sources":["Subtitle2.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC","sourcesContent":["export * from './components/Subtitle2/index';\n"]}
|
package/lib/Text.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"../src/","sources":["Text.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC","sourcesContent":["export * from './components/Text/index';\n"]}
|
package/lib/Title1.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title1.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Title1.js","sourceRoot":"../src/","sources":["Title1.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title1/index';\n"]}
|
package/lib/Title2.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title2.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Title2.js","sourceRoot":"../src/","sources":["Title2.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title2/index';\n"]}
|
package/lib/Title3.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Title3.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"Title3.js","sourceRoot":"../src/","sources":["Title3.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './components/Title3/index';\n"]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createWrapper } from '../wrapper';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const body1ClassNames = {
|
5
|
+
root: 'fui-Body1'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
|
11
|
+
const useStyles = /*#__PURE__*/__styles({
|
12
|
+
"root": {
|
13
|
+
"Bahqtrf": "fk6fouc",
|
14
|
+
"Be2twd7": "fkhj508",
|
15
|
+
"Bhrd7zp": "figsok6",
|
16
|
+
"Bg96gwp": "f1i3iumi"
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}"]
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Text wrapper component for the Body1 typography variant
|
23
|
+
*/
|
24
|
+
|
25
|
+
|
26
|
+
export const Body1 = /*#__PURE__*/createWrapper({
|
27
|
+
useStyles,
|
28
|
+
className: body1ClassNames.root,
|
29
|
+
displayName: 'Body1'
|
30
|
+
});
|
31
|
+
//# sourceMappingURL=Body1.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["components/Body1/Body1.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,eAAe,GAA8B;AACxD,EAAA,IAAI,EAAE;AADkD,CAAnD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,KAAK,gBAAwC,aAAa,CAAC;AACtE,EAAA,SADsE;AAEtE,EAAA,SAAS,EAAE,eAAe,CAAC,IAF2C;AAGtE,EAAA,WAAW,EAAE;AAHyD,CAAD,CAAhE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const body1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Body1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body1,\n});\n\n/**\n * Text wrapper component for the Body1 typography variant\n */\nexport const Body1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: body1ClassNames.root,\n displayName: 'Body1',\n});\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Body1/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC","sourcesContent":["export * from './Body1';\n"]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createWrapper } from '../wrapper';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const caption1ClassNames = {
|
5
|
+
root: 'fui-Caption1'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
|
11
|
+
const useStyles = /*#__PURE__*/__styles({
|
12
|
+
"root": {
|
13
|
+
"Bahqtrf": "fk6fouc",
|
14
|
+
"Be2twd7": "fy9rknc",
|
15
|
+
"Bhrd7zp": "figsok6",
|
16
|
+
"Bg96gwp": "fwrc4pm"
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Text wrapper component for the Caption1 typography variant
|
23
|
+
*/
|
24
|
+
|
25
|
+
|
26
|
+
export const Caption1 = /*#__PURE__*/createWrapper({
|
27
|
+
useStyles,
|
28
|
+
className: caption1ClassNames.root,
|
29
|
+
displayName: 'Caption1'
|
30
|
+
});
|
31
|
+
//# sourceMappingURL=Caption1.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["components/Caption1/Caption1.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,kBAAkB,GAA8B;AAC3D,EAAA,IAAI,EAAE;AADqD,CAAtD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,QAAQ,gBAAwC,aAAa,CAAC;AACzE,EAAA,SADyE;AAEzE,EAAA,SAAS,EAAE,kBAAkB,CAAC,IAF2C;AAGzE,EAAA,WAAW,EAAE;AAH4D,CAAD,CAAnE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1,\n});\n\n/**\n * Text wrapper component for the Caption1 typography variant\n */\nexport const Caption1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption1ClassNames.root,\n displayName: 'Caption1',\n});\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Caption1/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption1';\n"]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createWrapper } from '../wrapper';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const caption2ClassNames = {
|
5
|
+
root: 'fui-Caption2'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
|
11
|
+
const useStyles = /*#__PURE__*/__styles({
|
12
|
+
"root": {
|
13
|
+
"Bahqtrf": "fk6fouc",
|
14
|
+
"Be2twd7": "f13mqy1h",
|
15
|
+
"Bhrd7zp": "figsok6",
|
16
|
+
"Bg96gwp": "fcpl73t"
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Text wrapper component for the Caption2 typography variant
|
23
|
+
*/
|
24
|
+
|
25
|
+
|
26
|
+
export const Caption2 = /*#__PURE__*/createWrapper({
|
27
|
+
useStyles,
|
28
|
+
className: caption2ClassNames.root,
|
29
|
+
displayName: 'Caption2'
|
30
|
+
});
|
31
|
+
//# sourceMappingURL=Caption2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["components/Caption2/Caption2.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,kBAAkB,GAA8B;AAC3D,EAAA,IAAI,EAAE;AADqD,CAAtD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,QAAQ,gBAAwC,aAAa,CAAC;AACzE,EAAA,SADyE;AAEzE,EAAA,SAAS,EAAE,kBAAkB,CAAC,IAF2C;AAGzE,EAAA,WAAW,EAAE;AAH4D,CAAD,CAAnE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2,\n});\n\n/**\n * Text wrapper component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Caption2/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './Caption2';\n"]}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import { typographyStyles } from '../../typographyStyles/index';
|
3
2
|
import { createWrapper } from '../wrapper';
|
4
|
-
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const displayClassNames = {
|
5
|
+
root: 'fui-Display'
|
6
|
+
};
|
5
7
|
/**
|
6
8
|
* Styles for the root slot
|
7
9
|
*/
|
@@ -10,11 +12,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
10
12
|
"root": {
|
11
13
|
"Bahqtrf": "fk6fouc",
|
12
14
|
"Be2twd7": "fpyltcb",
|
13
|
-
"
|
14
|
-
"
|
15
|
+
"Bhrd7zp": "fl43uef",
|
16
|
+
"Bg96gwp": "f1ivgwrt"
|
15
17
|
}
|
16
18
|
}, {
|
17
|
-
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}"]
|
18
20
|
});
|
19
21
|
/**
|
20
22
|
* Text wrapper component for the Display typography variant
|
@@ -23,7 +25,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
23
25
|
|
24
26
|
export const Display = /*#__PURE__*/createWrapper({
|
25
27
|
useStyles,
|
26
|
-
className:
|
28
|
+
className: displayClassNames.root,
|
27
29
|
displayName: 'Display'
|
28
30
|
});
|
29
31
|
//# sourceMappingURL=Display.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/Display/Display.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,iBAAiB,GAA8B;AAC1D,EAAA,IAAI,EAAE;AADoD,CAArD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,OAAO,gBAAwC,aAAa,CAAC;AACxE,EAAA,SADwE;AAExE,EAAA,SAAS,EAAE,iBAAiB,CAAC,IAF2C;AAGxE,EAAA,WAAW,EAAE;AAH2D,CAAD,CAAlE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const displayClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Display',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.display,\n});\n\n/**\n * Text wrapper component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"],"sourceRoot":"../src/"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Display/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC","sourcesContent":["export * from './Display';\n"]}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import { __styles } from '@griffel/react';
|
2
|
-
import { typographyStyles } from '../../typographyStyles/index';
|
3
2
|
import { createWrapper } from '../wrapper';
|
4
|
-
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const largeTitleClassNames = {
|
5
|
+
root: 'fui-LargeTitle'
|
6
|
+
};
|
5
7
|
/**
|
6
8
|
* Styles for the root slot
|
7
9
|
*/
|
@@ -10,11 +12,11 @@ const useStyles = /*#__PURE__*/__styles({
|
|
10
12
|
"root": {
|
11
13
|
"Bahqtrf": "fk6fouc",
|
12
14
|
"Be2twd7": "f15afnhw",
|
13
|
-
"
|
14
|
-
"
|
15
|
+
"Bhrd7zp": "fl43uef",
|
16
|
+
"Bg96gwp": "fr3w3wp"
|
15
17
|
}
|
16
18
|
}, {
|
17
|
-
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}"]
|
18
20
|
});
|
19
21
|
/**
|
20
22
|
* Text wrapper component for the Large Title typography variant
|
@@ -23,7 +25,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
23
25
|
|
24
26
|
export const LargeTitle = /*#__PURE__*/createWrapper({
|
25
27
|
useStyles,
|
26
|
-
className:
|
28
|
+
className: largeTitleClassNames.root,
|
27
29
|
displayName: 'LargeTitle'
|
28
30
|
});
|
29
31
|
//# sourceMappingURL=LargeTitle.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/LargeTitle/LargeTitle.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,oBAAoB,GAA8B;AAC7D,EAAA,IAAI,EAAE;AADuD,CAAxD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,UAAU,gBAAwC,aAAa,CAAC;AAC3E,EAAA,SAD2E;AAE3E,EAAA,SAAS,EAAE,oBAAoB,CAAC,IAF2C;AAG3E,EAAA,WAAW,EAAE;AAH8D,CAAD,CAArE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const largeTitleClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-LargeTitle',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.largeTitle,\n});\n\n/**\n * Text wrapper component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"],"sourceRoot":"../src/"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/LargeTitle/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC","sourcesContent":["export * from './LargeTitle';\n"]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createWrapper } from '../wrapper';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const subtitle1ClassNames = {
|
5
|
+
root: 'fui-Subtitle1'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
|
11
|
+
const useStyles = /*#__PURE__*/__styles({
|
12
|
+
"root": {
|
13
|
+
"Bahqtrf": "fk6fouc",
|
14
|
+
"Be2twd7": "f1pp30po",
|
15
|
+
"Bhrd7zp": "fl43uef",
|
16
|
+
"Bg96gwp": "f106mvju"
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f106mvju{line-height:var(--lineHeightBase500);}"]
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Text wrapper component for the Subtitle1 typography variant
|
23
|
+
*/
|
24
|
+
|
25
|
+
|
26
|
+
export const Subtitle1 = /*#__PURE__*/createWrapper({
|
27
|
+
useStyles,
|
28
|
+
className: subtitle1ClassNames.root,
|
29
|
+
displayName: 'Subtitle1'
|
30
|
+
});
|
31
|
+
//# sourceMappingURL=Subtitle1.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["components/Subtitle1/Subtitle1.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,mBAAmB,GAA8B;AAC5D,EAAA,IAAI,EAAE;AADsD,CAAvD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,SAAS,gBAAwC,aAAa,CAAC;AAC1E,EAAA,SAD0E;AAE1E,EAAA,SAAS,EAAE,mBAAmB,CAAC,IAF2C;AAG1E,EAAA,WAAW,EAAE;AAH6D,CAAD,CAApE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle1,\n});\n\n/**\n * Text wrapper component for the Subtitle1 typography variant\n */\nexport const Subtitle1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle1ClassNames.root,\n displayName: 'Subtitle1',\n});\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Subtitle1/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle1';\n"]}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { __styles } from '@griffel/react';
|
2
|
+
import { createWrapper } from '../wrapper';
|
3
|
+
import { typographyStyles } from '@fluentui/react-theme';
|
4
|
+
export const subtitle2ClassNames = {
|
5
|
+
root: 'fui-Subtitle2'
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Styles for the root slot
|
9
|
+
*/
|
10
|
+
|
11
|
+
const useStyles = /*#__PURE__*/__styles({
|
12
|
+
"root": {
|
13
|
+
"Bahqtrf": "fk6fouc",
|
14
|
+
"Be2twd7": "fod5ikn",
|
15
|
+
"Bhrd7zp": "fl43uef",
|
16
|
+
"Bg96gwp": "faaz57k"
|
17
|
+
}
|
18
|
+
}, {
|
19
|
+
"d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}"]
|
20
|
+
});
|
21
|
+
/**
|
22
|
+
* Text wrapper component for the Subtitle2 typography variant
|
23
|
+
*/
|
24
|
+
|
25
|
+
|
26
|
+
export const Subtitle2 = /*#__PURE__*/createWrapper({
|
27
|
+
useStyles,
|
28
|
+
className: subtitle2ClassNames.root,
|
29
|
+
displayName: 'Subtitle2'
|
30
|
+
});
|
31
|
+
//# sourceMappingURL=Subtitle2.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["components/Subtitle2/Subtitle2.tsx"],"names":[],"mappings":"AACA,yBAA2B,gBAA3B;AACA,SAAS,aAAT,QAAgD,YAAhD;AAGA,SAAS,gBAAT,QAAiC,uBAAjC;AAEA,OAAO,MAAM,mBAAmB,GAA8B;AAC5D,EAAA,IAAI,EAAE;AADsD,CAAvD;AAIP;;AAEG;;AACH,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAIA;;AAEG;;;AACH,OAAO,MAAM,SAAS,gBAAwC,aAAa,CAAC;AAC1E,EAAA,SAD0E;AAE1E,EAAA,SAAS,EAAE,mBAAmB,CAAC,IAF2C;AAG1E,EAAA,WAAW,EAAE;AAH6D,CAAD,CAApE","sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createWrapper, TextWrapperProps } from '../wrapper';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport { TextSlots } from '../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const subtitle2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Subtitle2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.subtitle2,\n});\n\n/**\n * Text wrapper component for the Subtitle2 typography variant\n */\nexport const Subtitle2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: subtitle2ClassNames.root,\n displayName: 'Subtitle2',\n});\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Subtitle2/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './Subtitle2';\n"]}
|