@fluentui/react-text 9.1.10 → 9.1.11
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 +42 -1
- package/CHANGELOG.md +13 -2
- package/lib/components/Body1/Body1.js +6 -9
- package/lib/components/Body1/Body1.js.map +1 -1
- package/lib/components/Caption1/Caption1.js +6 -9
- package/lib/components/Caption1/Caption1.js.map +1 -1
- package/lib/components/Caption2/Caption2.js +6 -9
- package/lib/components/Caption2/Caption2.js.map +1 -1
- package/lib/components/Display/Display.js +6 -9
- package/lib/components/Display/Display.js.map +1 -1
- package/lib/components/LargeTitle/LargeTitle.js +6 -9
- package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/Subtitle1/Subtitle1.js +6 -9
- package/lib/components/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/Subtitle2/Subtitle2.js +6 -9
- package/lib/components/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/Text/Text.js +3 -2
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/renderText.js +2 -2
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js +0 -2
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.js +71 -74
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/Title1/Title1.js +6 -9
- package/lib/components/Title1/Title1.js.map +1 -1
- package/lib/components/Title2/Title2.js +6 -9
- package/lib/components/Title2/Title2.js.map +1 -1
- package/lib/components/Title3/Title3.js +6 -9
- package/lib/components/Title3/Title3.js.map +1 -1
- package/lib/components/wrapper.js.map +1 -1
- package/lib-commonjs/Body1.js +0 -2
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Caption1.js +0 -2
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption2.js +0 -2
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Display.js +0 -2
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +0 -2
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +0 -2
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js +0 -2
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Text.js +0 -2
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +0 -2
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +0 -2
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +0 -2
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Body1/Body1.js +6 -13
- package/lib-commonjs/components/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/Body1/index.js +0 -2
- package/lib-commonjs/components/Body1/index.js.map +1 -1
- package/lib-commonjs/components/Caption1/Caption1.js +6 -13
- package/lib-commonjs/components/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/Caption1/index.js +0 -2
- package/lib-commonjs/components/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/Caption2/Caption2.js +6 -13
- package/lib-commonjs/components/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/Caption2/index.js +0 -2
- package/lib-commonjs/components/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/Display/Display.js +6 -13
- package/lib-commonjs/components/Display/Display.js.map +1 -1
- package/lib-commonjs/components/Display/index.js +0 -2
- package/lib-commonjs/components/Display/index.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js +6 -13
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/index.js +0 -2
- package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/Subtitle1/Subtitle1.js +6 -13
- package/lib-commonjs/components/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/Subtitle1/index.js +0 -2
- package/lib-commonjs/components/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/Subtitle2/Subtitle2.js +6 -13
- package/lib-commonjs/components/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/Subtitle2/index.js +0 -2
- package/lib-commonjs/components/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js +3 -7
- 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 +0 -6
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +2 -6
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js +0 -5
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +71 -78
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/Title1/Title1.js +6 -13
- package/lib-commonjs/components/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/Title1/index.js +0 -2
- package/lib-commonjs/components/Title1/index.js.map +1 -1
- package/lib-commonjs/components/Title2/Title2.js +6 -13
- package/lib-commonjs/components/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/Title2/index.js +0 -2
- package/lib-commonjs/components/Title2/index.js.map +1 -1
- package/lib-commonjs/components/Title3/Title3.js +6 -13
- package/lib-commonjs/components/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/Title3/index.js +0 -2
- package/lib-commonjs/components/Title3/index.js.map +1 -1
- package/lib-commonjs/components/wrapper.js +0 -5
- package/lib-commonjs/components/wrapper.js.map +1 -1
- package/lib-commonjs/index.js +0 -22
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +5 -5
@@ -4,127 +4,120 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.useTextStyles_unstable = exports.textClassNames = void 0;
|
7
|
-
|
8
7
|
const react_1 = /*#__PURE__*/require("@griffel/react");
|
9
|
-
|
10
8
|
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
11
|
-
|
12
9
|
exports.textClassNames = {
|
13
10
|
root: 'fui-Text'
|
14
11
|
};
|
15
12
|
/**
|
16
13
|
* Styles for the root slot
|
17
14
|
*/
|
18
|
-
|
19
15
|
const useStyles = /*#__PURE__*/react_1.__styles({
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
16
|
+
root: {
|
17
|
+
Bahqtrf: "fk6fouc",
|
18
|
+
Be2twd7: "fkhj508",
|
19
|
+
Bg96gwp: "f1i3iumi",
|
20
|
+
Bhrd7zp: "figsok6",
|
21
|
+
fsow6f: "fpgzoln",
|
22
|
+
mc9l5x: "f1w7gpdv",
|
23
|
+
Huce71: "f6juhto",
|
24
|
+
B68tc82: "f1mtd64y",
|
25
|
+
Bmxbyg5: "f1y7q3j9",
|
26
|
+
ygn44y: "f2jf649"
|
31
27
|
},
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
28
|
+
nowrap: {
|
29
|
+
Huce71: "fz5stix",
|
30
|
+
B68tc82: "f1p9o1ba",
|
31
|
+
Bmxbyg5: "f1sil6mw"
|
36
32
|
},
|
37
|
-
|
38
|
-
|
33
|
+
truncate: {
|
34
|
+
ygn44y: "f1cmbuwj"
|
39
35
|
},
|
40
|
-
|
41
|
-
|
36
|
+
block: {
|
37
|
+
mc9l5x: "ftgm304"
|
42
38
|
},
|
43
|
-
|
44
|
-
|
39
|
+
italic: {
|
40
|
+
B80ckks: "f1j4dglz"
|
45
41
|
},
|
46
|
-
|
47
|
-
|
42
|
+
underline: {
|
43
|
+
w71qe1: "f13mvf36"
|
48
44
|
},
|
49
|
-
|
50
|
-
|
45
|
+
strikethrough: {
|
46
|
+
w71qe1: "fv5q2k7"
|
51
47
|
},
|
52
|
-
|
53
|
-
|
48
|
+
strikethroughUnderline: {
|
49
|
+
w71qe1: "f1drk4o6"
|
54
50
|
},
|
55
|
-
|
56
|
-
|
57
|
-
|
51
|
+
base100: {
|
52
|
+
Be2twd7: "f13mqy1h",
|
53
|
+
Bg96gwp: "fcpl73t"
|
58
54
|
},
|
59
|
-
|
60
|
-
|
61
|
-
|
55
|
+
base200: {
|
56
|
+
Be2twd7: "fy9rknc",
|
57
|
+
Bg96gwp: "fwrc4pm"
|
62
58
|
},
|
63
|
-
|
64
|
-
|
65
|
-
|
59
|
+
base400: {
|
60
|
+
Be2twd7: "fod5ikn",
|
61
|
+
Bg96gwp: "faaz57k"
|
66
62
|
},
|
67
|
-
|
68
|
-
|
69
|
-
|
63
|
+
base500: {
|
64
|
+
Be2twd7: "f1pp30po",
|
65
|
+
Bg96gwp: "f106mvju"
|
70
66
|
},
|
71
|
-
|
72
|
-
|
73
|
-
|
67
|
+
base600: {
|
68
|
+
Be2twd7: "f1x0m3f5",
|
69
|
+
Bg96gwp: "fb86gi6"
|
74
70
|
},
|
75
|
-
|
76
|
-
|
77
|
-
|
71
|
+
hero700: {
|
72
|
+
Be2twd7: "fojgt09",
|
73
|
+
Bg96gwp: "fcen8rp"
|
78
74
|
},
|
79
|
-
|
80
|
-
|
81
|
-
|
75
|
+
hero800: {
|
76
|
+
Be2twd7: "fccw675",
|
77
|
+
Bg96gwp: "f1ebx5kk"
|
82
78
|
},
|
83
|
-
|
84
|
-
|
85
|
-
|
79
|
+
hero900: {
|
80
|
+
Be2twd7: "f15afnhw",
|
81
|
+
Bg96gwp: "fr3w3wp"
|
86
82
|
},
|
87
|
-
|
88
|
-
|
89
|
-
|
83
|
+
hero1000: {
|
84
|
+
Be2twd7: "fpyltcb",
|
85
|
+
Bg96gwp: "f1ivgwrt"
|
90
86
|
},
|
91
|
-
|
92
|
-
|
87
|
+
monospace: {
|
88
|
+
Bahqtrf: "f1fedwem"
|
93
89
|
},
|
94
|
-
|
95
|
-
|
90
|
+
numeric: {
|
91
|
+
Bahqtrf: "f1uq0ln5"
|
96
92
|
},
|
97
|
-
|
98
|
-
|
93
|
+
weightMedium: {
|
94
|
+
Bhrd7zp: "fdj6btp"
|
99
95
|
},
|
100
|
-
|
101
|
-
|
96
|
+
weightSemibold: {
|
97
|
+
Bhrd7zp: "fl43uef"
|
102
98
|
},
|
103
|
-
|
104
|
-
|
99
|
+
weightBold: {
|
100
|
+
Bhrd7zp: "flh3ekv"
|
105
101
|
},
|
106
|
-
|
107
|
-
|
102
|
+
alignCenter: {
|
103
|
+
fsow6f: "f17mccla"
|
108
104
|
},
|
109
|
-
|
110
|
-
|
105
|
+
alignEnd: {
|
106
|
+
fsow6f: "f12ymhq5"
|
111
107
|
},
|
112
|
-
|
113
|
-
|
108
|
+
alignJustify: {
|
109
|
+
fsow6f: "f1j59e10"
|
114
110
|
}
|
115
111
|
}, {
|
116
|
-
|
112
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fpgzoln{text-align:start;}", ".f1w7gpdv{display:inline;}", ".f6juhto{white-space:normal;}", ".f1mtd64y{overflow-x:visible;}", ".f1y7q3j9{overflow-y:visible;}", ".f2jf649{text-overflow:clip;}", ".fz5stix{white-space:nowrap;}", ".f1p9o1ba{overflow-x:hidden;}", ".f1sil6mw{overflow-y:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".ftgm304{display:block;}", ".f1j4dglz{font-style:italic;}", ".f13mvf36{text-decoration-line:underline;}", ".fv5q2k7{text-decoration-line:line-through;}", ".f1drk4o6{text-decoration-line:line-through underline;}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fcpl73t{line-height:var(--lineHeightBase100);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fb86gi6{line-height:var(--lineHeightBase600);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fcen8rp{line-height:var(--lineHeightHero700);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}", ".f1fedwem{font-family:var(--fontFamilyMonospace);}", ".f1uq0ln5{font-family:var(--fontFamilyNumeric);}", ".fdj6btp{font-weight:var(--fontWeightMedium);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".f17mccla{text-align:center;}", ".f12ymhq5{text-align:end;}", ".f1j59e10{text-align:justify;}"]
|
117
113
|
});
|
118
114
|
/**
|
119
115
|
* Apply styling to the Text slots based on the state
|
120
116
|
*/
|
121
|
-
|
122
|
-
|
123
117
|
const useTextStyles_unstable = state => {
|
124
118
|
const styles = useStyles();
|
125
119
|
state.root.className = react_1.mergeClasses(exports.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);
|
126
120
|
return state;
|
127
121
|
};
|
128
|
-
|
129
122
|
exports.useTextStyles_unstable = useTextStyles_unstable;
|
130
123
|
//# sourceMappingURL=useTextStyles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":"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","names":["exports","root","useStyles","react_1","useTextStyles_unstable","state","styles","className","wrap","nowrap","truncate","block","italic","underline","strikethrough","strikethroughUnderline","size","base100","base200","base400","base500","base600","hero700","hero800","hero900","hero1000","font","monospace","numeric","weight","weightMedium","weightSemibold","weightBold","align","alignCenter","alignEnd","alignJustify"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Text/useTextStyles.ts"],"sourcesContent":["import { makeStyles, mergeClasses, shorthands } from '@griffel/react';\nimport { tokens } from '@fluentui/react-theme';\nimport type { TextSlots, TextState } from './Text.types';\nimport { SlotClassNames } from '@fluentui/react-utilities';\n\nexport const textClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Text',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n lineHeight: tokens.lineHeightBase300,\n fontWeight: tokens.fontWeightRegular,\n textAlign: 'start',\n display: 'inline',\n whiteSpace: 'normal',\n ...shorthands.overflow('visible'),\n textOverflow: 'clip',\n },\n nowrap: {\n whiteSpace: 'nowrap',\n ...shorthands.overflow('hidden'),\n },\n truncate: {\n textOverflow: 'ellipsis',\n },\n block: {\n display: 'block',\n },\n italic: {\n fontStyle: 'italic',\n },\n underline: {\n textDecorationLine: 'underline',\n },\n strikethrough: {\n textDecorationLine: 'line-through',\n },\n strikethroughUnderline: {\n textDecorationLine: 'line-through underline',\n },\n base100: {\n fontSize: tokens.fontSizeBase100,\n lineHeight: tokens.lineHeightBase100,\n },\n base200: {\n fontSize: tokens.fontSizeBase200,\n lineHeight: tokens.lineHeightBase200,\n },\n base400: {\n fontSize: tokens.fontSizeBase400,\n lineHeight: tokens.lineHeightBase400,\n },\n base500: {\n fontSize: tokens.fontSizeBase500,\n lineHeight: tokens.lineHeightBase500,\n },\n base600: {\n fontSize: tokens.fontSizeBase600,\n lineHeight: tokens.lineHeightBase600,\n },\n hero700: {\n fontSize: tokens.fontSizeHero700,\n lineHeight: tokens.lineHeightHero700,\n },\n hero800: {\n fontSize: tokens.fontSizeHero800,\n lineHeight: tokens.lineHeightHero800,\n },\n hero900: {\n fontSize: tokens.fontSizeHero900,\n lineHeight: tokens.lineHeightHero900,\n },\n hero1000: {\n fontSize: tokens.fontSizeHero1000,\n lineHeight: tokens.lineHeightHero1000,\n },\n monospace: {\n fontFamily: tokens.fontFamilyMonospace,\n },\n numeric: {\n fontFamily: tokens.fontFamilyNumeric,\n },\n weightMedium: {\n fontWeight: tokens.fontWeightMedium,\n },\n weightSemibold: {\n fontWeight: tokens.fontWeightSemibold,\n },\n weightBold: {\n fontWeight: tokens.fontWeightBold,\n },\n alignCenter: {\n textAlign: 'center',\n },\n alignEnd: {\n textAlign: 'end',\n },\n alignJustify: {\n textAlign: 'justify',\n },\n});\n\n/**\n * Apply styling to the Text slots based on the state\n */\nexport const useTextStyles_unstable = (state: TextState): TextState => {\n const styles = useStyles();\n\n state.root.className = mergeClasses(\n textClassNames.root,\n styles.root,\n state.wrap === false && styles.nowrap,\n state.truncate && styles.truncate,\n state.block && styles.block,\n state.italic && styles.italic,\n state.underline && styles.underline,\n state.strikethrough && styles.strikethrough,\n state.underline && state.strikethrough && styles.strikethroughUnderline,\n state.size === 100 && styles.base100,\n state.size === 200 && styles.base200,\n state.size === 400 && styles.base400,\n state.size === 500 && styles.base500,\n state.size === 600 && styles.base600,\n state.size === 700 && styles.hero700,\n state.size === 800 && styles.hero800,\n state.size === 900 && styles.hero900,\n state.size === 1000 && styles.hero1000,\n state.font === 'monospace' && styles.monospace,\n state.font === 'numeric' && styles.numeric,\n state.weight === 'medium' && styles.weightMedium,\n state.weight === 'semibold' && styles.weightSemibold,\n state.weight === 'bold' && styles.weightBold,\n state.align === 'center' && styles.alignCenter,\n state.align === 'end' && styles.alignEnd,\n state.align === 'justify' && styles.alignJustify,\n state.root.className,\n );\n\n return state;\n};\n"]}
|
@@ -4,35 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.Title1 = exports.title1ClassNames = void 0;
|
7
|
-
|
8
7
|
const react_1 = /*#__PURE__*/require("@griffel/react");
|
9
|
-
|
10
8
|
const wrapper_1 = /*#__PURE__*/require("../wrapper");
|
11
|
-
|
12
9
|
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
13
|
-
|
14
10
|
exports.title1ClassNames = {
|
15
11
|
root: 'fui-Title1'
|
16
12
|
};
|
17
13
|
/**
|
18
14
|
* Styles for the root slot
|
19
15
|
*/
|
20
|
-
|
21
16
|
const useStyles = /*#__PURE__*/react_1.__styles({
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "fccw675",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "f1ebx5kk"
|
27
22
|
}
|
28
23
|
}, {
|
29
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fccw675{font-size:var(--fontSizeHero800);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ebx5kk{line-height:var(--lineHeightHero800);}"]
|
30
25
|
});
|
31
26
|
/**
|
32
27
|
* Text wrapper component for the Title 1 typography variant
|
33
28
|
*/
|
34
|
-
|
35
|
-
|
36
29
|
exports.Title1 = /*#__PURE__*/wrapper_1.createWrapper({
|
37
30
|
useStyles,
|
38
31
|
className: exports.title1ClassNames.root,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title1/Title1.tsx"],"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 title1ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title1',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title1,\n});\n\n/**\n * Text wrapper component for the Title 1 typography variant\n */\nexport const Title1: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title1ClassNames.root,\n displayName: 'Title1',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["packages/react-components/react-text/src/components/Title1/index.ts"],"
|
1
|
+
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title1/index.ts"],"sourcesContent":["export * from './Title1';\n"]}
|
@@ -4,35 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.Title2 = exports.title2ClassNames = void 0;
|
7
|
-
|
8
7
|
const react_1 = /*#__PURE__*/require("@griffel/react");
|
9
|
-
|
10
8
|
const wrapper_1 = /*#__PURE__*/require("../wrapper");
|
11
|
-
|
12
9
|
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
13
|
-
|
14
10
|
exports.title2ClassNames = {
|
15
11
|
root: 'fui-Title2'
|
16
12
|
};
|
17
13
|
/**
|
18
14
|
* Styles for the root slot
|
19
15
|
*/
|
20
|
-
|
21
16
|
const useStyles = /*#__PURE__*/react_1.__styles({
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "fojgt09",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "fcen8rp"
|
27
22
|
}
|
28
23
|
}, {
|
29
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fojgt09{font-size:var(--fontSizeHero700);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcen8rp{line-height:var(--lineHeightHero700);}"]
|
30
25
|
});
|
31
26
|
/**
|
32
27
|
* Text wrapper component for the Title 2 typography variant
|
33
28
|
*/
|
34
|
-
|
35
|
-
|
36
29
|
exports.Title2 = /*#__PURE__*/wrapper_1.createWrapper({
|
37
30
|
useStyles,
|
38
31
|
className: exports.title2ClassNames.root,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title2/Title2.tsx"],"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 title2ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title2',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title2,\n});\n\n/**\n * Text wrapper component for the Title 2 typography variant\n */\nexport const Title2: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title2ClassNames.root,\n displayName: 'Title2',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["packages/react-components/react-text/src/components/Title2/index.ts"],"
|
1
|
+
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title2/index.ts"],"sourcesContent":["export * from './Title2';\n"]}
|
@@ -4,35 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.Title3 = exports.title3ClassNames = void 0;
|
7
|
-
|
8
7
|
const react_1 = /*#__PURE__*/require("@griffel/react");
|
9
|
-
|
10
8
|
const wrapper_1 = /*#__PURE__*/require("../wrapper");
|
11
|
-
|
12
9
|
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
13
|
-
|
14
10
|
exports.title3ClassNames = {
|
15
11
|
root: 'fui-Title3'
|
16
12
|
};
|
17
13
|
/**
|
18
14
|
* Styles for the root slot
|
19
15
|
*/
|
20
|
-
|
21
16
|
const useStyles = /*#__PURE__*/react_1.__styles({
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "f1x0m3f5",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "fb86gi6"
|
27
22
|
}
|
28
23
|
}, {
|
29
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1x0m3f5{font-size:var(--fontSizeBase600);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fb86gi6{line-height:var(--lineHeightBase600);}"]
|
30
25
|
});
|
31
26
|
/**
|
32
27
|
* Text wrapper component for the Title 3 typography variant
|
33
28
|
*/
|
34
|
-
|
35
|
-
|
36
29
|
exports.Title3 = /*#__PURE__*/wrapper_1.createWrapper({
|
37
30
|
useStyles,
|
38
31
|
className: exports.title3ClassNames.root,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":";;;;;;AACA;AACA;AAGA;AAEaA,wBAAgB,GAA8B;EACzDC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGC,gBAAU;EAAA;IAAA;IAAA;IAAA;IAAA;EAAA;AAAA;EAAA;AAAA,EAE1B;AAEF;;;AAGaH,cAAM,gBAAwCI,uBAAa,CAAC;EACvEF,SAAS;EACTG,SAAS,EAAEL,wBAAgB,CAACC,IAAI;EAChCK,WAAW,EAAE;CACd,CAAC","names":["exports","root","useStyles","react_1","wrapper_1","className","displayName"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title3/Title3.tsx"],"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 title3ClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Title3',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.title3,\n});\n\n/**\n * Text wrapper component for the Title 3 typography variant\n */\nexport const Title3: FunctionComponent<TextWrapperProps> = createWrapper({\n useStyles,\n className: title3ClassNames.root,\n displayName: 'Title3',\n});\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["packages/react-components/react-text/src/components/Title3/index.ts"],"
|
1
|
+
{"version":3,"mappings":";;;;;;AAAAA","names":["tslib_1"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/Title3/index.ts"],"sourcesContent":["export * from './Title3';\n"]}
|
@@ -4,13 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.createWrapper = void 0;
|
7
|
-
|
8
7
|
const React = /*#__PURE__*/require("react");
|
9
|
-
|
10
8
|
const react_1 = /*#__PURE__*/require("@griffel/react");
|
11
|
-
|
12
9
|
const Text_1 = /*#__PURE__*/require("../Text");
|
13
|
-
|
14
10
|
function createWrapper(options) {
|
15
11
|
const {
|
16
12
|
useStyles,
|
@@ -27,6 +23,5 @@ function createWrapper(options) {
|
|
27
23
|
Wrapper.displayName = displayName;
|
28
24
|
return Wrapper;
|
29
25
|
}
|
30
|
-
|
31
26
|
exports.createWrapper = createWrapper;
|
32
27
|
//# sourceMappingURL=wrapper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AACA;AACA;AAMA,SAAgBA,aAAa,CAACC,OAI7B;EACC,MAAM;IAAEC,SAAS;IAAEC,SAAS;IAAEC;EAAW,CAAE,GAAGH,OAAO;EACrD,MAAMI,OAAO,GAA0CC,KAAK,CAACC,UAAU,CAAC,CAACC,KAAK,EAAEC,GAAG,KAAI;IACrF,MAAMC,MAAM,GAAGR,SAAS,EAAE;IAC1B,MAAMS,KAAK,GAAGC,uBAAgB,CAACJ,KAAkB,EAAEC,GAAG,CAAC;IAEvDG,6BAAsB,CAACD,KAAK,CAAC;IAE7BA,KAAK,CAACE,IAAI,CAACV,SAAS,GAAGW,oBAAY,CAACX,SAAS,EAAEQ,KAAK,CAACE,IAAI,CAACV,SAAS,EAAEO,MAAM,CAACG,IAAI,EAAEL,KAAK,CAACL,SAAS,CAAC;IAElG,OAAOS,0BAAmB,CAACD,KAAK,CAAC;EACnC,CAAC,CAAC;EACFN,OAAO,CAACD,WAAW,GAAGA,WAAW;EAEjC,OAAOC,OAAO;AAChB;AAnBAU","names":["createWrapper","options","useStyles","className","displayName","Wrapper","React","forwardRef","props","ref","styles","state","Text_1","root","react_1","exports"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/components/wrapper.tsx"],"sourcesContent":["import * as React from 'react';\nimport { mergeClasses } from '@griffel/react';\nimport { renderText_unstable, useText_unstable, useTextStyles_unstable } from '../Text';\nimport type { TextProps } from '../Text';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nexport type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;\n\nexport function createWrapper(options: {\n className: string;\n displayName: string;\n useStyles: () => Record<'root', string>;\n}): React.FunctionComponent<TextWrapperProps> {\n const { useStyles, className, displayName } = options;\n const Wrapper: ForwardRefComponent<TextWrapperProps> = React.forwardRef((props, ref) => {\n const styles = useStyles();\n const state = useText_unstable(props as TextProps, ref);\n\n useTextStyles_unstable(state);\n\n state.root.className = mergeClasses(className, state.root.className, styles.root, props.className);\n\n return renderText_unstable(state);\n });\n Wrapper.displayName = displayName;\n\n return Wrapper;\n}\n"]}
|
package/lib-commonjs/index.js
CHANGED
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.caption2ClassNames = exports.Caption2 = exports.caption1ClassNames = exports.Caption1 = exports.body1ClassNames = exports.Body1 = exports.subtitle2ClassNames = exports.Subtitle2 = exports.subtitle1ClassNames = exports.Subtitle1 = exports.title3ClassNames = exports.Title3 = exports.title2ClassNames = exports.Title2 = exports.title1ClassNames = exports.Title1 = exports.largeTitleClassNames = exports.LargeTitle = exports.displayClassNames = exports.Display = exports.useText_unstable = exports.useTextStyles_unstable = exports.textClassNames = exports.renderText_unstable = exports.Text = void 0;
|
7
|
-
|
8
7
|
var Text_1 = /*#__PURE__*/require("./Text");
|
9
|
-
|
10
8
|
Object.defineProperty(exports, "Text", {
|
11
9
|
enumerable: true,
|
12
10
|
get: function () {
|
@@ -37,9 +35,7 @@ Object.defineProperty(exports, "useText_unstable", {
|
|
37
35
|
return Text_1.useText_unstable;
|
38
36
|
}
|
39
37
|
});
|
40
|
-
|
41
38
|
var Display_1 = /*#__PURE__*/require("./Display");
|
42
|
-
|
43
39
|
Object.defineProperty(exports, "Display", {
|
44
40
|
enumerable: true,
|
45
41
|
get: function () {
|
@@ -52,9 +48,7 @@ Object.defineProperty(exports, "displayClassNames", {
|
|
52
48
|
return Display_1.displayClassNames;
|
53
49
|
}
|
54
50
|
});
|
55
|
-
|
56
51
|
var LargeTitle_1 = /*#__PURE__*/require("./LargeTitle");
|
57
|
-
|
58
52
|
Object.defineProperty(exports, "LargeTitle", {
|
59
53
|
enumerable: true,
|
60
54
|
get: function () {
|
@@ -67,9 +61,7 @@ Object.defineProperty(exports, "largeTitleClassNames", {
|
|
67
61
|
return LargeTitle_1.largeTitleClassNames;
|
68
62
|
}
|
69
63
|
});
|
70
|
-
|
71
64
|
var Title1_1 = /*#__PURE__*/require("./Title1");
|
72
|
-
|
73
65
|
Object.defineProperty(exports, "Title1", {
|
74
66
|
enumerable: true,
|
75
67
|
get: function () {
|
@@ -82,9 +74,7 @@ Object.defineProperty(exports, "title1ClassNames", {
|
|
82
74
|
return Title1_1.title1ClassNames;
|
83
75
|
}
|
84
76
|
});
|
85
|
-
|
86
77
|
var Title2_1 = /*#__PURE__*/require("./Title2");
|
87
|
-
|
88
78
|
Object.defineProperty(exports, "Title2", {
|
89
79
|
enumerable: true,
|
90
80
|
get: function () {
|
@@ -97,9 +87,7 @@ Object.defineProperty(exports, "title2ClassNames", {
|
|
97
87
|
return Title2_1.title2ClassNames;
|
98
88
|
}
|
99
89
|
});
|
100
|
-
|
101
90
|
var Title3_1 = /*#__PURE__*/require("./Title3");
|
102
|
-
|
103
91
|
Object.defineProperty(exports, "Title3", {
|
104
92
|
enumerable: true,
|
105
93
|
get: function () {
|
@@ -112,9 +100,7 @@ Object.defineProperty(exports, "title3ClassNames", {
|
|
112
100
|
return Title3_1.title3ClassNames;
|
113
101
|
}
|
114
102
|
});
|
115
|
-
|
116
103
|
var Subtitle1_1 = /*#__PURE__*/require("./Subtitle1");
|
117
|
-
|
118
104
|
Object.defineProperty(exports, "Subtitle1", {
|
119
105
|
enumerable: true,
|
120
106
|
get: function () {
|
@@ -127,9 +113,7 @@ Object.defineProperty(exports, "subtitle1ClassNames", {
|
|
127
113
|
return Subtitle1_1.subtitle1ClassNames;
|
128
114
|
}
|
129
115
|
});
|
130
|
-
|
131
116
|
var Subtitle2_1 = /*#__PURE__*/require("./Subtitle2");
|
132
|
-
|
133
117
|
Object.defineProperty(exports, "Subtitle2", {
|
134
118
|
enumerable: true,
|
135
119
|
get: function () {
|
@@ -142,9 +126,7 @@ Object.defineProperty(exports, "subtitle2ClassNames", {
|
|
142
126
|
return Subtitle2_1.subtitle2ClassNames;
|
143
127
|
}
|
144
128
|
});
|
145
|
-
|
146
129
|
var Body1_1 = /*#__PURE__*/require("./Body1");
|
147
|
-
|
148
130
|
Object.defineProperty(exports, "Body1", {
|
149
131
|
enumerable: true,
|
150
132
|
get: function () {
|
@@ -157,9 +139,7 @@ Object.defineProperty(exports, "body1ClassNames", {
|
|
157
139
|
return Body1_1.body1ClassNames;
|
158
140
|
}
|
159
141
|
});
|
160
|
-
|
161
142
|
var Caption1_1 = /*#__PURE__*/require("./Caption1");
|
162
|
-
|
163
143
|
Object.defineProperty(exports, "Caption1", {
|
164
144
|
enumerable: true,
|
165
145
|
get: function () {
|
@@ -172,9 +152,7 @@ Object.defineProperty(exports, "caption1ClassNames", {
|
|
172
152
|
return Caption1_1.caption1ClassNames;
|
173
153
|
}
|
174
154
|
});
|
175
|
-
|
176
155
|
var Caption2_1 = /*#__PURE__*/require("./Caption2");
|
177
|
-
|
178
156
|
Object.defineProperty(exports, "Caption2", {
|
179
157
|
enumerable: true,
|
180
158
|
get: function () {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"mappings":";;;;;;AAAA;AAASA;EAAAC;EAAAC;IAAA,kBAAI;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,iCAAmB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,4BAAc;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAsB;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAgB;EAAA;AAAA;AAE5F;AAASF;EAAAC;EAAAC;IAAA,wBAAO;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,kCAAiB;EAAA;AAAA;AACnC;AAASF;EAAAC;EAAAC;IAAA,8BAAU;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,wCAAoB;EAAA;AAAA;AACzC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,sBAAM;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,gCAAgB;EAAA;AAAA;AACjC;AAASF;EAAAC;EAAAC;IAAA,4BAAS;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAmB;EAAA;AAAA;AACvC;AAASF;EAAAC;EAAAC;IAAA,4BAAS;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,sCAAmB;EAAA;AAAA;AACvC;AAASF;EAAAC;EAAAC;IAAA,oBAAK;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,8BAAe;EAAA;AAAA;AAC/B;AAASF;EAAAC;EAAAC;IAAA,0BAAQ;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAkB;EAAA;AAAA;AACrC;AAASF;EAAAC;EAAAC;IAAA,0BAAQ;EAAA;AAAA;AAAEF;EAAAC;EAAAC;IAAA,oCAAkB;EAAA;AAAA","names":["Object","enumerable","get"],"sourceRoot":"../src/","sources":["packages/react-components/react-text/src/index.ts"],"sourcesContent":["export { Text, renderText_unstable, textClassNames, useTextStyles_unstable, useText_unstable } from './Text';\nexport type { TextProps, TextSlots, TextState } from './Text';\nexport { Display, displayClassNames } from './Display';\nexport { LargeTitle, largeTitleClassNames } from './LargeTitle';\nexport { Title1, title1ClassNames } from './Title1';\nexport { Title2, title2ClassNames } from './Title2';\nexport { Title3, title3ClassNames } from './Title3';\nexport { Subtitle1, subtitle1ClassNames } from './Subtitle1';\nexport { Subtitle2, subtitle2ClassNames } from './Subtitle2';\nexport { Body1, body1ClassNames } from './Body1';\nexport { Caption1, caption1ClassNames } from './Caption1';\nexport { Caption2, caption2ClassNames } from './Caption2';\n"]}
|