@fluentui/react-text 0.0.0-nightly-20230317-1454.1 → 0.0.0-nightly-20230321-0440.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +11 -11
- package/CHANGELOG.md +8 -8
- package/lib/Body1.js +1 -1
- package/lib/Body1.js.map +1 -1
- package/lib/Body1Strong.js +1 -1
- package/lib/Body1Strong.js.map +1 -1
- package/lib/Body1Stronger.js +1 -1
- package/lib/Body1Stronger.js.map +1 -1
- package/lib/Body2.js +1 -1
- package/lib/Body2.js.map +1 -1
- package/lib/Caption1.js +1 -1
- package/lib/Caption1.js.map +1 -1
- package/lib/Caption1Strong.js +1 -1
- package/lib/Caption1Strong.js.map +1 -1
- package/lib/Caption1Stronger.js +1 -1
- package/lib/Caption1Stronger.js.map +1 -1
- package/lib/Caption2.js +1 -1
- package/lib/Caption2.js.map +1 -1
- package/lib/Caption2Strong.js +1 -1
- package/lib/Caption2Strong.js.map +1 -1
- package/lib/Display.js +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/LargeTitle.js +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subtitle1.js +1 -1
- package/lib/Subtitle1.js.map +1 -1
- package/lib/Subtitle2.js +1 -1
- package/lib/Subtitle2.js.map +1 -1
- package/lib/Subtitle2Stronger.js +1 -1
- package/lib/Subtitle2Stronger.js.map +1 -1
- package/lib/Text.js +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Text/Text.js +6 -6
- 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 +5 -5
- package/lib/components/Text/index.js.map +1 -1
- package/lib/components/Text/renderText.js +5 -3
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.js +14 -14
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.js +4 -4
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/presets/Body1/Body1.js +5 -5
- package/lib/components/presets/Body1/Body1.js.map +1 -1
- package/lib/components/presets/Body1/index.js +1 -1
- package/lib/components/presets/Body1/index.js.map +1 -1
- package/lib/components/presets/Body1Strong/Body1Strong.js +5 -5
- package/lib/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib/components/presets/Body1Strong/index.js +1 -1
- package/lib/components/presets/Body1Strong/index.js.map +1 -1
- package/lib/components/presets/Body1Stronger/Body1Stronger.js +5 -5
- package/lib/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib/components/presets/Body1Stronger/index.js +1 -1
- package/lib/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib/components/presets/Body2/Body2.js +5 -5
- package/lib/components/presets/Body2/Body2.js.map +1 -1
- package/lib/components/presets/Body2/index.js +1 -1
- package/lib/components/presets/Body2/index.js.map +1 -1
- package/lib/components/presets/Caption1/Caption1.js +5 -5
- package/lib/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib/components/presets/Caption1/index.js +1 -1
- package/lib/components/presets/Caption1/index.js.map +1 -1
- package/lib/components/presets/Caption1Strong/Caption1Strong.js +5 -5
- package/lib/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib/components/presets/Caption1Strong/index.js +1 -1
- package/lib/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js +5 -5
- package/lib/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib/components/presets/Caption1Stronger/index.js +1 -1
- package/lib/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib/components/presets/Caption2/Caption2.js +5 -5
- package/lib/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib/components/presets/Caption2/index.js +1 -1
- package/lib/components/presets/Caption2/index.js.map +1 -1
- package/lib/components/presets/Caption2Strong/Caption2Strong.js +5 -5
- package/lib/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib/components/presets/Caption2Strong/index.js +1 -1
- package/lib/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib/components/presets/Display/Display.js +5 -5
- package/lib/components/presets/Display/Display.js.map +1 -1
- package/lib/components/presets/Display/index.js +1 -1
- package/lib/components/presets/Display/index.js.map +1 -1
- package/lib/components/presets/LargeTitle/LargeTitle.js +5 -5
- package/lib/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/presets/LargeTitle/index.js +1 -1
- package/lib/components/presets/LargeTitle/index.js.map +1 -1
- package/lib/components/presets/Subtitle1/Subtitle1.js +5 -5
- package/lib/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib/components/presets/Subtitle1/index.js +1 -1
- package/lib/components/presets/Subtitle1/index.js.map +1 -1
- package/lib/components/presets/Subtitle2/Subtitle2.js +5 -5
- package/lib/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib/components/presets/Subtitle2/index.js +1 -1
- package/lib/components/presets/Subtitle2/index.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +5 -5
- package/lib/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js +1 -1
- package/lib/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib/components/presets/Title1/Title1.js +5 -5
- package/lib/components/presets/Title1/Title1.js.map +1 -1
- package/lib/components/presets/Title1/index.js +1 -1
- package/lib/components/presets/Title1/index.js.map +1 -1
- package/lib/components/presets/Title2/Title2.js +5 -5
- package/lib/components/presets/Title2/Title2.js.map +1 -1
- package/lib/components/presets/Title2/index.js +1 -1
- package/lib/components/presets/Title2/index.js.map +1 -1
- package/lib/components/presets/Title3/Title3.js +5 -5
- package/lib/components/presets/Title3/Title3.js.map +1 -1
- package/lib/components/presets/Title3/index.js +1 -1
- package/lib/components/presets/Title3/index.js.map +1 -1
- package/lib/components/presets/createPreset.js +3 -3
- package/lib/components/presets/createPreset.js.map +1 -1
- package/lib/index.js +18 -18
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Body1.js +4 -5
- package/lib-commonjs/Body1.js.map +1 -1
- package/lib-commonjs/Body1Strong.js +4 -5
- package/lib-commonjs/Body1Strong.js.map +1 -1
- package/lib-commonjs/Body1Stronger.js +4 -5
- package/lib-commonjs/Body1Stronger.js.map +1 -1
- package/lib-commonjs/Body2.js +4 -5
- package/lib-commonjs/Body2.js.map +1 -1
- package/lib-commonjs/Caption1.js +4 -5
- package/lib-commonjs/Caption1.js.map +1 -1
- package/lib-commonjs/Caption1Strong.js +4 -5
- package/lib-commonjs/Caption1Strong.js.map +1 -1
- package/lib-commonjs/Caption1Stronger.js +4 -5
- package/lib-commonjs/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/Caption2.js +4 -5
- package/lib-commonjs/Caption2.js.map +1 -1
- package/lib-commonjs/Caption2Strong.js +4 -5
- package/lib-commonjs/Caption2Strong.js.map +1 -1
- package/lib-commonjs/Display.js +4 -5
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +4 -5
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subtitle1.js +4 -5
- package/lib-commonjs/Subtitle1.js.map +1 -1
- package/lib-commonjs/Subtitle2.js +4 -5
- package/lib-commonjs/Subtitle2.js.map +1 -1
- package/lib-commonjs/Subtitle2Stronger.js +4 -5
- package/lib-commonjs/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/Text.js +4 -5
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +4 -5
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +4 -5
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +4 -5
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Text/Text.js +21 -19
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.js +2 -3
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +8 -9
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +18 -13
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.js +51 -34
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.js +114 -163
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/Body1.js +25 -34
- package/lib-commonjs/components/presets/Body1/Body1.js.map +1 -1
- package/lib-commonjs/components/presets/Body1/index.js +4 -5
- package/lib-commonjs/components/presets/Body1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js +25 -34
- package/lib-commonjs/components/presets/Body1Strong/Body1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Strong/index.js +4 -5
- package/lib-commonjs/components/presets/Body1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js +25 -34
- package/lib-commonjs/components/presets/Body1Stronger/Body1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Body1Stronger/index.js +4 -5
- package/lib-commonjs/components/presets/Body1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/Body2.js +25 -34
- package/lib-commonjs/components/presets/Body2/Body2.js.map +1 -1
- package/lib-commonjs/components/presets/Body2/index.js +4 -5
- package/lib-commonjs/components/presets/Body2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/Caption1.js +25 -34
- package/lib-commonjs/components/presets/Caption1/Caption1.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1/index.js +4 -5
- package/lib-commonjs/components/presets/Caption1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js +25 -34
- package/lib-commonjs/components/presets/Caption1Strong/Caption1Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Strong/index.js +4 -5
- package/lib-commonjs/components/presets/Caption1Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js +25 -34
- package/lib-commonjs/components/presets/Caption1Stronger/Caption1Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Caption1Stronger/index.js +4 -5
- package/lib-commonjs/components/presets/Caption1Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/Caption2.js +25 -34
- package/lib-commonjs/components/presets/Caption2/Caption2.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2/index.js +4 -5
- package/lib-commonjs/components/presets/Caption2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js +25 -34
- package/lib-commonjs/components/presets/Caption2Strong/Caption2Strong.js.map +1 -1
- package/lib-commonjs/components/presets/Caption2Strong/index.js +4 -5
- package/lib-commonjs/components/presets/Caption2Strong/index.js.map +1 -1
- package/lib-commonjs/components/presets/Display/Display.js +25 -34
- package/lib-commonjs/components/presets/Display/Display.js.map +1 -1
- package/lib-commonjs/components/presets/Display/index.js +4 -5
- package/lib-commonjs/components/presets/Display/index.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js +25 -34
- package/lib-commonjs/components/presets/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/presets/LargeTitle/index.js +4 -5
- package/lib-commonjs/components/presets/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js +25 -34
- package/lib-commonjs/components/presets/Subtitle1/Subtitle1.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle1/index.js +4 -5
- package/lib-commonjs/components/presets/Subtitle1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js +25 -34
- package/lib-commonjs/components/presets/Subtitle2/Subtitle2.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2/index.js +4 -5
- package/lib-commonjs/components/presets/Subtitle2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js +25 -34
- package/lib-commonjs/components/presets/Subtitle2Stronger/Subtitle2Stronger.js.map +1 -1
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js +4 -5
- package/lib-commonjs/components/presets/Subtitle2Stronger/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/Title1.js +25 -34
- package/lib-commonjs/components/presets/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/presets/Title1/index.js +4 -5
- package/lib-commonjs/components/presets/Title1/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/Title2.js +25 -34
- package/lib-commonjs/components/presets/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/presets/Title2/index.js +4 -5
- package/lib-commonjs/components/presets/Title2/index.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/Title3.js +25 -34
- package/lib-commonjs/components/presets/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/presets/Title3/index.js +4 -5
- package/lib-commonjs/components/presets/Title3/index.js.map +1 -1
- package/lib-commonjs/components/presets/createPreset.js +22 -21
- package/lib-commonjs/components/presets/createPreset.js.map +1 -1
- package/lib-commonjs/index.js +256 -69
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +8 -7
- package/.swcrc +0 -39
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
caption1StrongClassNames: ()=>caption1StrongClassNames,
|
13
|
-
Caption1Strong: ()=>Caption1Strong
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.Caption1Strong = exports.caption1StrongClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.caption1StrongClassNames = {
|
11
|
+
root: 'fui-Caption1Strong'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "fy9rknc",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "fwrc4pm"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Caption1Strong typography variant
|
28
|
+
*/
|
29
|
+
exports.Caption1Strong = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.caption1StrongClassNames.root,
|
32
|
+
displayName: 'Caption1Strong'
|
36
33
|
});
|
37
|
-
const Caption1Strong = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: caption1StrongClassNames.root,
|
40
|
-
displayName: "Caption1Strong"
|
41
|
-
}); //# sourceMappingURL=Caption1Strong.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=Caption1Strong.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","caption1StrongClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption1Strong","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Strong/Caption1Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Strong,\n});\n\n/**\n * Text preset component for the Caption1Strong typography variant\n */\nexport const Caption1Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongClassNames.root,\n displayName: 'Caption1Strong',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,wBAAwB,GAA8B;EACjEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,cAAc,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EAC7ER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,wBAAwB,CAACC,IAAI;EACxCW,WAAW,EAAE;CACd,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
const
|
6
|
-
|
7
|
-
//# sourceMappingURL=index.js.map
|
8
|
-
|
6
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
7
|
+
tslib_1.__exportStar(require("./Caption1Strong"), exports);
|
9
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Strong/index.ts"],"sourcesContent":["export * from './Caption1Strong';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,sBAAAC,OAAA"}
|
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
caption1StrongerClassNames: ()=>caption1StrongerClassNames,
|
13
|
-
Caption1Stronger: ()=>Caption1Stronger
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.Caption1Stronger = exports.caption1StrongerClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.caption1StrongerClassNames = {
|
11
|
+
root: 'fui-Caption1Stronger'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "fy9rknc",
|
20
|
+
Bhrd7zp: "flh3ekv",
|
21
|
+
Bg96gwp: "fwrc4pm"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".flh3ekv{font-weight:var(--fontWeightBold);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Caption1Stronger typography variant
|
28
|
+
*/
|
29
|
+
exports.Caption1Stronger = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.caption1StrongerClassNames.root,
|
32
|
+
displayName: 'Caption1Stronger'
|
36
33
|
});
|
37
|
-
const Caption1Stronger = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: caption1StrongerClassNames.root,
|
40
|
-
displayName: "Caption1Stronger"
|
41
|
-
}); //# sourceMappingURL=Caption1Stronger.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=Caption1Stronger.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","caption1StrongerClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption1Stronger","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Stronger/Caption1Stronger.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption1StrongerClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption1Stronger',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption1Stronger,\n});\n\n/**\n * Text preset component for the Caption1Stronger typography variant\n */\nexport const Caption1Stronger: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption1StrongerClassNames.root,\n displayName: 'Caption1Stronger',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,0BAA0B,GAA8B;EACnEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,gBAAgB,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EAC/ER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,0BAA0B,CAACC,IAAI;EAC1CW,WAAW,EAAE;CACd,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
const
|
6
|
-
|
7
|
-
//# sourceMappingURL=index.js.map
|
8
|
-
|
6
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
7
|
+
tslib_1.__exportStar(require("./Caption1Stronger"), exports);
|
9
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption1Stronger/index.ts"],"sourcesContent":["export * from './Caption1Stronger';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,wBAAAC,OAAA"}
|
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
caption2ClassNames: ()=>caption2ClassNames,
|
13
|
-
Caption2: ()=>Caption2
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.Caption2 = exports.caption2ClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.caption2ClassNames = {
|
11
|
+
root: 'fui-Caption2'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "f13mqy1h",
|
20
|
+
Bhrd7zp: "figsok6",
|
21
|
+
Bg96gwp: "fcpl73t"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Caption2 typography variant
|
28
|
+
*/
|
29
|
+
exports.Caption2 = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.caption2ClassNames.root,
|
32
|
+
displayName: 'Caption2'
|
36
33
|
});
|
37
|
-
const Caption2 = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: caption2ClassNames.root,
|
40
|
-
displayName: "Caption2"
|
41
|
-
}); //# sourceMappingURL=Caption2.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=Caption2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","caption2ClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption2","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2/Caption2.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } 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 preset component for the Caption2 typography variant\n */\nexport const Caption2: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2ClassNames.root,\n displayName: 'Caption2',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,kBAAkB,GAA8B;EAC3DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,QAAQ,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACvER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,kBAAkB,CAACC,IAAI;EAClCW,WAAW,EAAE;CACd,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
const
|
6
|
-
|
7
|
-
//# sourceMappingURL=index.js.map
|
8
|
-
|
6
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
7
|
+
tslib_1.__exportStar(require("./Caption2"), exports);
|
9
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2/index.ts"],"sourcesContent":["export * from './Caption2';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,gBAAAC,OAAA"}
|
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
caption2StrongClassNames: ()=>caption2StrongClassNames,
|
13
|
-
Caption2Strong: ()=>Caption2Strong
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.Caption2Strong = exports.caption2StrongClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.caption2StrongClassNames = {
|
11
|
+
root: 'fui-Caption2Strong'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "f13mqy1h",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "fcpl73t"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f13mqy1h{font-size:var(--fontSizeBase100);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fcpl73t{line-height:var(--lineHeightBase100);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Caption2Strong typography variant
|
28
|
+
*/
|
29
|
+
exports.Caption2Strong = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.caption2StrongClassNames.root,
|
32
|
+
displayName: 'Caption2Strong'
|
36
33
|
});
|
37
|
-
const Caption2Strong = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: caption2StrongClassNames.root,
|
40
|
-
displayName: "Caption2Strong"
|
41
|
-
}); //# sourceMappingURL=Caption2Strong.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=Caption2Strong.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","caption2StrongClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Caption2Strong","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2Strong/Caption2Strong.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } from '../../Text/Text.types';\nimport { typographyStyles } from '@fluentui/react-theme';\n\nexport const caption2StrongClassNames: SlotClassNames<TextSlots> = {\n root: 'fui-Caption2Strong',\n};\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption2Strong,\n});\n\n/**\n * Text preset component for the Caption2Strong typography variant\n */\nexport const Caption2Strong: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: caption2StrongClassNames.root,\n displayName: 'Caption2Strong',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,wBAAwB,GAA8B;EACjEC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,cAAc,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EAC7ER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,wBAAwB,CAACC,IAAI;EACxCW,WAAW,EAAE;CACd,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
const
|
6
|
-
|
7
|
-
//# sourceMappingURL=index.js.map
|
8
|
-
|
6
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
7
|
+
tslib_1.__exportStar(require("./Caption2Strong"), exports);
|
9
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Caption2Strong/index.ts"],"sourcesContent":["export * from './Caption2Strong';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,sBAAAC,OAAA"}
|
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
displayClassNames: ()=>displayClassNames,
|
13
|
-
Display: ()=>Display
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.Display = exports.displayClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.displayClassNames = {
|
11
|
+
root: 'fui-Display'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "fpyltcb",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "f1ivgwrt"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fpyltcb{font-size:var(--fontSizeHero1000);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1ivgwrt{line-height:var(--lineHeightHero1000);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Display typography variant
|
28
|
+
*/
|
29
|
+
exports.Display = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.displayClassNames.root,
|
32
|
+
displayName: 'Display'
|
36
33
|
});
|
37
|
-
const Display = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: displayClassNames.root,
|
40
|
-
displayName: "Display"
|
41
|
-
}); //# sourceMappingURL=Display.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=Display.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","displayClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","Display","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Display/Display.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } 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 preset component for the Display typography variant\n */\nexport const Display: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: displayClassNames.root,\n displayName: 'Display',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,iBAAiB,GAA8B;EAC1DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,OAAO,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACtER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,iBAAiB,CAACC,IAAI;EACjCW,WAAW,EAAE;CACd,CAAC"}
|
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
+
value: true
|
4
5
|
});
|
5
|
-
const
|
6
|
-
|
7
|
-
//# sourceMappingURL=index.js.map
|
8
|
-
|
6
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
7
|
+
tslib_1.__exportStar(require("./Display"), exports);
|
9
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/Display/index.ts"],"sourcesContent":["export * from './Display';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,eAAAC,OAAA"}
|
@@ -1,43 +1,34 @@
|
|
1
1
|
"use strict";
|
2
|
+
|
2
3
|
Object.defineProperty(exports, "__esModule", {
|
3
|
-
|
4
|
-
});
|
5
|
-
function _export(target, all) {
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
7
|
-
enumerable: true,
|
8
|
-
get: all[name]
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
largeTitleClassNames: ()=>largeTitleClassNames,
|
13
|
-
LargeTitle: ()=>LargeTitle
|
4
|
+
value: true
|
14
5
|
});
|
15
|
-
|
16
|
-
const
|
17
|
-
const
|
18
|
-
|
6
|
+
exports.LargeTitle = exports.largeTitleClassNames = void 0;
|
7
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
8
|
+
const createPreset_1 = /*#__PURE__*/require("../createPreset");
|
9
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
10
|
+
exports.largeTitleClassNames = {
|
11
|
+
root: 'fui-LargeTitle'
|
19
12
|
};
|
20
13
|
/**
|
21
14
|
* Styles for the root slot
|
22
|
-
*/
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
15
|
+
*/
|
16
|
+
const useStyles = /*#__PURE__*/react_1.__styles({
|
17
|
+
root: {
|
18
|
+
Bahqtrf: "fk6fouc",
|
19
|
+
Be2twd7: "f15afnhw",
|
20
|
+
Bhrd7zp: "fl43uef",
|
21
|
+
Bg96gwp: "fr3w3wp"
|
22
|
+
}
|
29
23
|
}, {
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
24
|
+
d: [".fk6fouc{font-family:var(--fontFamilyBase);}", ".f15afnhw{font-size:var(--fontSizeHero900);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".fr3w3wp{line-height:var(--lineHeightHero900);}"]
|
25
|
+
});
|
26
|
+
/**
|
27
|
+
* Text preset component for the Large Title typography variant
|
28
|
+
*/
|
29
|
+
exports.LargeTitle = /*#__PURE__*/createPreset_1.createPreset({
|
30
|
+
useStyles,
|
31
|
+
className: exports.largeTitleClassNames.root,
|
32
|
+
displayName: 'LargeTitle'
|
36
33
|
});
|
37
|
-
const LargeTitle = /*#__PURE__*/ (0, _createPreset.createPreset)({
|
38
|
-
useStyles,
|
39
|
-
className: largeTitleClassNames.root,
|
40
|
-
displayName: "LargeTitle"
|
41
|
-
}); //# sourceMappingURL=LargeTitle.js.map
|
42
|
-
|
43
34
|
//# sourceMappingURL=LargeTitle.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"names":["react_1","require","createPreset_1","react_theme_1","exports","largeTitleClassNames","root","useStyles","__styles","Bahqtrf","Be2twd7","Bhrd7zp","Bg96gwp","d","LargeTitle","createPreset","className","displayName"],"sources":["../../../../../../../../../../packages/react-components/react-text/src/components/presets/LargeTitle/LargeTitle.tsx"],"sourcesContent":["import type { FunctionComponent } from 'react';\nimport { makeStyles } from '@griffel/react';\nimport { createPreset } from '../createPreset';\nimport { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TextSlots, TextPresetProps } 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 preset component for the Large Title typography variant\n */\nexport const LargeTitle: FunctionComponent<TextPresetProps> = createPreset({\n useStyles,\n className: largeTitleClassNames.root,\n displayName: 'LargeTitle',\n});\n"],"mappings":";;;;;;AACA,MAAAA,OAAA,gBAAAC,OAAA;AACA,MAAAC,cAAA,gBAAAD,OAAA;AAGA,MAAAE,aAAA,gBAAAF,OAAA;AAEaG,OAAA,CAAAC,oBAAoB,GAA8B;EAC7DC,IAAI,EAAE;CACP;AAED;;;AAGA,MAAMC,SAAS,gBAAGP,OAAA,CAAAQ,QAAU;EAAAF,IAAA;IAAAG,OAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,EAE1B;AAEF;;;AAGaT,OAAA,CAAAU,UAAU,gBAAuCZ,cAAA,CAAAa,YAAY,CAAC;EACzER,SAAS;EACTS,SAAS,EAAEZ,OAAA,CAAAC,oBAAoB,CAACC,IAAI;EACpCW,WAAW,EAAE;CACd,CAAC"}
|