@fluentui/react-text 9.0.0-alpha.9 → 9.0.0-beta.4
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 +744 -1
- package/CHANGELOG.md +254 -2
- package/dist/react-text.d.ts +61 -49
- package/lib/Body.js.map +1 -1
- package/lib/Caption.js.map +1 -1
- package/lib/Display.js.map +1 -1
- package/lib/Headline.js.map +1 -1
- package/lib/LargeTitle.js.map +1 -1
- package/lib/Subheadline.js.map +1 -1
- package/lib/Text.js.map +1 -1
- package/lib/Title1.js.map +1 -1
- package/lib/Title2.js.map +1 -1
- package/lib/Title3.js.map +1 -1
- package/lib/components/Body/Body.d.ts +4 -1
- package/lib/components/Body/Body.js +10 -8
- package/lib/components/Body/Body.js.map +1 -1
- package/lib/components/Body/index.js.map +1 -1
- package/lib/components/Caption/Caption.d.ts +4 -1
- package/lib/components/Caption/Caption.js +10 -8
- package/lib/components/Caption/Caption.js.map +1 -1
- package/lib/components/Caption/index.js.map +1 -1
- package/lib/components/Display/Display.d.ts +4 -1
- package/lib/components/Display/Display.js +10 -8
- package/lib/components/Display/Display.js.map +1 -1
- package/lib/components/Display/index.js.map +1 -1
- package/lib/components/Headline/Headline.d.ts +4 -1
- package/lib/components/Headline/Headline.js +10 -8
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/index.js.map +1 -1
- package/lib/components/LargeTitle/LargeTitle.d.ts +4 -1
- package/lib/components/LargeTitle/LargeTitle.js +10 -8
- package/lib/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib/components/LargeTitle/index.js.map +1 -1
- package/lib/components/Subheadline/Subheadline.d.ts +4 -1
- package/lib/components/Subheadline/Subheadline.js +10 -8
- package/lib/components/Subheadline/Subheadline.js.map +1 -1
- package/lib/components/Subheadline/index.js.map +1 -1
- package/lib/components/Text/Text.d.ts +2 -2
- package/lib/components/Text/Text.js +3 -3
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/components/Text/Text.types.d.ts +20 -29
- 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 +7 -8
- package/lib/components/Text/renderText.js.map +1 -1
- package/lib/components/Text/useText.d.ts +1 -2
- package/lib/components/Text/useText.js +37 -8
- package/lib/components/Text/useText.js.map +1 -1
- package/lib/components/Text/useTextStyles.d.ts +1 -0
- package/lib/components/Text/useTextStyles.js +32 -31
- package/lib/components/Text/useTextStyles.js.map +1 -1
- package/lib/components/Title1/Title1.d.ts +4 -1
- package/lib/components/Title1/Title1.js +10 -8
- package/lib/components/Title1/Title1.js.map +1 -1
- package/lib/components/Title1/index.js.map +1 -1
- package/lib/components/Title2/Title2.d.ts +4 -1
- package/lib/components/Title2/Title2.js +10 -8
- package/lib/components/Title2/Title2.js.map +1 -1
- package/lib/components/Title2/index.js.map +1 -1
- package/lib/components/Title3/Title3.d.ts +4 -1
- package/lib/components/Title3/Title3.js +10 -8
- package/lib/components/Title3/Title3.js.map +1 -1
- package/lib/components/Title3/index.js.map +1 -1
- package/lib/components/wrapper.d.ts +3 -3
- package/lib/components/wrapper.js +9 -6
- package/lib/components/wrapper.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/typographyStyles/index.js.map +1 -1
- package/lib/typographyStyles/typographyStyles.js +54 -72
- package/lib/typographyStyles/typographyStyles.js.map +1 -1
- package/lib-commonjs/Body.js +1 -1
- package/lib-commonjs/Body.js.map +1 -1
- package/lib-commonjs/Caption.js +1 -1
- package/lib-commonjs/Caption.js.map +1 -1
- package/lib-commonjs/Display.js +1 -1
- package/lib-commonjs/Display.js.map +1 -1
- package/lib-commonjs/Headline.js +1 -1
- package/lib-commonjs/Headline.js.map +1 -1
- package/lib-commonjs/LargeTitle.js +1 -1
- package/lib-commonjs/LargeTitle.js.map +1 -1
- package/lib-commonjs/Subheadline.js +1 -1
- package/lib-commonjs/Subheadline.js.map +1 -1
- package/lib-commonjs/Text.js +1 -1
- package/lib-commonjs/Text.js.map +1 -1
- package/lib-commonjs/Title1.js +1 -1
- package/lib-commonjs/Title1.js.map +1 -1
- package/lib-commonjs/Title2.js +1 -1
- package/lib-commonjs/Title2.js.map +1 -1
- package/lib-commonjs/Title3.js +1 -1
- package/lib-commonjs/Title3.js.map +1 -1
- package/lib-commonjs/components/Body/Body.d.ts +4 -1
- package/lib-commonjs/components/Body/Body.js +9 -7
- package/lib-commonjs/components/Body/Body.js.map +1 -1
- package/lib-commonjs/components/Body/index.js +1 -1
- package/lib-commonjs/components/Body/index.js.map +1 -1
- package/lib-commonjs/components/Caption/Caption.d.ts +4 -1
- package/lib-commonjs/components/Caption/Caption.js +9 -7
- package/lib-commonjs/components/Caption/Caption.js.map +1 -1
- package/lib-commonjs/components/Caption/index.js +1 -1
- package/lib-commonjs/components/Caption/index.js.map +1 -1
- package/lib-commonjs/components/Display/Display.d.ts +4 -1
- package/lib-commonjs/components/Display/Display.js +9 -7
- package/lib-commonjs/components/Display/Display.js.map +1 -1
- package/lib-commonjs/components/Display/index.js +1 -1
- package/lib-commonjs/components/Display/index.js.map +1 -1
- package/lib-commonjs/components/Headline/Headline.d.ts +4 -1
- package/lib-commonjs/components/Headline/Headline.js +9 -7
- package/lib-commonjs/components/Headline/Headline.js.map +1 -1
- package/lib-commonjs/components/Headline/index.js +1 -1
- package/lib-commonjs/components/Headline/index.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.d.ts +4 -1
- package/lib-commonjs/components/LargeTitle/LargeTitle.js +9 -7
- package/lib-commonjs/components/LargeTitle/LargeTitle.js.map +1 -1
- package/lib-commonjs/components/LargeTitle/index.js +1 -1
- package/lib-commonjs/components/LargeTitle/index.js.map +1 -1
- package/lib-commonjs/components/Subheadline/Subheadline.d.ts +4 -1
- package/lib-commonjs/components/Subheadline/Subheadline.js +9 -7
- package/lib-commonjs/components/Subheadline/Subheadline.js.map +1 -1
- package/lib-commonjs/components/Subheadline/index.js +1 -1
- package/lib-commonjs/components/Subheadline/index.js.map +1 -1
- package/lib-commonjs/components/Text/Text.d.ts +2 -2
- package/lib-commonjs/components/Text/Text.js +7 -7
- package/lib-commonjs/components/Text/Text.js.map +1 -1
- package/lib-commonjs/components/Text/Text.types.d.ts +20 -29
- package/lib-commonjs/components/Text/Text.types.js.map +1 -1
- package/lib-commonjs/components/Text/index.js +1 -1
- package/lib-commonjs/components/Text/index.js.map +1 -1
- package/lib-commonjs/components/Text/renderText.js +8 -10
- package/lib-commonjs/components/Text/renderText.js.map +1 -1
- package/lib-commonjs/components/Text/useText.d.ts +1 -2
- package/lib-commonjs/components/Text/useText.js +38 -9
- package/lib-commonjs/components/Text/useText.js.map +1 -1
- package/lib-commonjs/components/Text/useTextStyles.d.ts +1 -0
- package/lib-commonjs/components/Text/useTextStyles.js +35 -34
- package/lib-commonjs/components/Text/useTextStyles.js.map +1 -1
- package/lib-commonjs/components/Title1/Title1.d.ts +4 -1
- package/lib-commonjs/components/Title1/Title1.js +9 -7
- package/lib-commonjs/components/Title1/Title1.js.map +1 -1
- package/lib-commonjs/components/Title1/index.js +1 -1
- package/lib-commonjs/components/Title1/index.js.map +1 -1
- package/lib-commonjs/components/Title2/Title2.d.ts +4 -1
- package/lib-commonjs/components/Title2/Title2.js +9 -7
- package/lib-commonjs/components/Title2/Title2.js.map +1 -1
- package/lib-commonjs/components/Title2/index.js +1 -1
- package/lib-commonjs/components/Title2/index.js.map +1 -1
- package/lib-commonjs/components/Title3/Title3.d.ts +4 -1
- package/lib-commonjs/components/Title3/Title3.js +9 -7
- package/lib-commonjs/components/Title3/Title3.js.map +1 -1
- package/lib-commonjs/components/Title3/index.js +1 -1
- package/lib-commonjs/components/Title3/index.js.map +1 -1
- package/lib-commonjs/components/wrapper.d.ts +3 -3
- package/lib-commonjs/components/wrapper.js +12 -9
- package/lib-commonjs/components/wrapper.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/typographyStyles/index.js +1 -1
- package/lib-commonjs/typographyStyles/index.js.map +1 -1
- package/lib-commonjs/typographyStyles/typographyStyles.js +54 -72
- package/lib-commonjs/typographyStyles/typographyStyles.js.map +1 -1
- package/package.json +11 -10
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -9
- package/lib/common/isConformant.js.map +0 -1
- package/lib-amd/Body.d.ts +0 -1
- package/lib-amd/Body.js +0 -6
- package/lib-amd/Body.js.map +0 -1
- package/lib-amd/Caption.d.ts +0 -1
- package/lib-amd/Caption.js +0 -6
- package/lib-amd/Caption.js.map +0 -1
- package/lib-amd/Display.d.ts +0 -1
- package/lib-amd/Display.js +0 -6
- package/lib-amd/Display.js.map +0 -1
- package/lib-amd/Headline.d.ts +0 -1
- package/lib-amd/Headline.js +0 -6
- package/lib-amd/Headline.js.map +0 -1
- package/lib-amd/LargeTitle.d.ts +0 -1
- package/lib-amd/LargeTitle.js +0 -6
- package/lib-amd/LargeTitle.js.map +0 -1
- package/lib-amd/Subheadline.d.ts +0 -1
- package/lib-amd/Subheadline.js +0 -6
- package/lib-amd/Subheadline.js.map +0 -1
- package/lib-amd/Text.d.ts +0 -1
- package/lib-amd/Text.js +0 -6
- package/lib-amd/Text.js.map +0 -1
- package/lib-amd/Title1.d.ts +0 -1
- package/lib-amd/Title1.js +0 -6
- package/lib-amd/Title1.js.map +0 -1
- package/lib-amd/Title2.d.ts +0 -1
- package/lib-amd/Title2.js +0 -6
- package/lib-amd/Title2.js.map +0 -1
- package/lib-amd/Title3.d.ts +0 -1
- package/lib-amd/Title3.js +0 -6
- package/lib-amd/Title3.js.map +0 -1
- package/lib-amd/common/isConformant.d.ts +0 -4
- package/lib-amd/common/isConformant.js +0 -14
- package/lib-amd/common/isConformant.js.map +0 -1
- package/lib-amd/components/Body/Body.d.ts +0 -4
- package/lib-amd/components/Body/Body.js +0 -16
- package/lib-amd/components/Body/Body.js.map +0 -1
- package/lib-amd/components/Body/index.d.ts +0 -1
- package/lib-amd/components/Body/index.js +0 -6
- package/lib-amd/components/Body/index.js.map +0 -1
- package/lib-amd/components/Caption/Caption.d.ts +0 -4
- package/lib-amd/components/Caption/Caption.js +0 -16
- package/lib-amd/components/Caption/Caption.js.map +0 -1
- package/lib-amd/components/Caption/index.d.ts +0 -1
- package/lib-amd/components/Caption/index.js +0 -6
- package/lib-amd/components/Caption/index.js.map +0 -1
- package/lib-amd/components/Display/Display.d.ts +0 -4
- package/lib-amd/components/Display/Display.js +0 -16
- package/lib-amd/components/Display/Display.js.map +0 -1
- package/lib-amd/components/Display/index.d.ts +0 -1
- package/lib-amd/components/Display/index.js +0 -6
- package/lib-amd/components/Display/index.js.map +0 -1
- package/lib-amd/components/Headline/Headline.d.ts +0 -4
- package/lib-amd/components/Headline/Headline.js +0 -16
- package/lib-amd/components/Headline/Headline.js.map +0 -1
- package/lib-amd/components/Headline/index.d.ts +0 -1
- package/lib-amd/components/Headline/index.js +0 -6
- package/lib-amd/components/Headline/index.js.map +0 -1
- package/lib-amd/components/LargeTitle/LargeTitle.d.ts +0 -4
- package/lib-amd/components/LargeTitle/LargeTitle.js +0 -16
- package/lib-amd/components/LargeTitle/LargeTitle.js.map +0 -1
- package/lib-amd/components/LargeTitle/index.d.ts +0 -1
- package/lib-amd/components/LargeTitle/index.js +0 -6
- package/lib-amd/components/LargeTitle/index.js.map +0 -1
- package/lib-amd/components/Subheadline/Subheadline.d.ts +0 -4
- package/lib-amd/components/Subheadline/Subheadline.js +0 -16
- package/lib-amd/components/Subheadline/Subheadline.js.map +0 -1
- package/lib-amd/components/Subheadline/index.d.ts +0 -1
- package/lib-amd/components/Subheadline/index.js +0 -6
- package/lib-amd/components/Subheadline/index.js.map +0 -1
- package/lib-amd/components/Text/Text.d.ts +0 -6
- package/lib-amd/components/Text/Text.js +0 -15
- package/lib-amd/components/Text/Text.js.map +0 -1
- package/lib-amd/components/Text/Text.types.d.ts +0 -86
- package/lib-amd/components/Text/Text.types.js +0 -5
- package/lib-amd/components/Text/Text.types.js.map +0 -1
- package/lib-amd/components/Text/index.d.ts +0 -5
- package/lib-amd/components/Text/index.js +0 -10
- package/lib-amd/components/Text/index.js.map +0 -1
- package/lib-amd/components/Text/renderText.d.ts +0 -5
- package/lib-amd/components/Text/renderText.js +0 -14
- package/lib-amd/components/Text/renderText.js.map +0 -1
- package/lib-amd/components/Text/useText.d.ts +0 -13
- package/lib-amd/components/Text/useText.js +0 -25
- package/lib-amd/components/Text/useText.js.map +0 -1
- package/lib-amd/components/Text/useTextStyles.d.ts +0 -5
- package/lib-amd/components/Text/useTextStyles.js +0 -110
- package/lib-amd/components/Text/useTextStyles.js.map +0 -1
- package/lib-amd/components/Title1/Title1.d.ts +0 -4
- package/lib-amd/components/Title1/Title1.js +0 -16
- package/lib-amd/components/Title1/Title1.js.map +0 -1
- package/lib-amd/components/Title1/index.d.ts +0 -1
- package/lib-amd/components/Title1/index.js +0 -6
- package/lib-amd/components/Title1/index.js.map +0 -1
- package/lib-amd/components/Title2/Title2.d.ts +0 -4
- package/lib-amd/components/Title2/Title2.js +0 -16
- package/lib-amd/components/Title2/Title2.js.map +0 -1
- package/lib-amd/components/Title2/index.d.ts +0 -1
- package/lib-amd/components/Title2/index.js +0 -6
- package/lib-amd/components/Title2/index.js.map +0 -1
- package/lib-amd/components/Title3/Title3.d.ts +0 -4
- package/lib-amd/components/Title3/Title3.js +0 -16
- package/lib-amd/components/Title3/Title3.js.map +0 -1
- package/lib-amd/components/Title3/index.d.ts +0 -1
- package/lib-amd/components/Title3/index.js +0 -6
- package/lib-amd/components/Title3/index.js.map +0 -1
- package/lib-amd/components/wrapper.d.ts +0 -8
- package/lib-amd/components/wrapper.js +0 -19
- package/lib-amd/components/wrapper.js.map +0 -1
- package/lib-amd/index.d.ts +0 -10
- package/lib-amd/index.js +0 -15
- package/lib-amd/index.js.map +0 -1
- package/lib-amd/typographyStyles/index.d.ts +0 -2
- package/lib-amd/typographyStyles/index.js +0 -7
- package/lib-amd/typographyStyles/index.js.map +0 -1
- package/lib-amd/typographyStyles/typographyStyles.d.ts +0 -14
- package/lib-amd/typographyStyles/typographyStyles.js +0 -72
- package/lib-amd/typographyStyles/typographyStyles.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -19
- package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/Title3/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA","
|
1
|
+
{"version":3,"sources":["../../../src/components/Title3/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import type { TextProps } from '../Text';
|
3
|
-
export
|
4
|
-
}
|
3
|
+
export declare type TextWrapperProps = Omit<TextProps, 'font' | 'size'>;
|
5
4
|
export declare function createWrapper(options: {
|
5
|
+
className: string;
|
6
6
|
displayName: string;
|
7
7
|
useStyles: () => Record<'root', string>;
|
8
|
-
}): React.
|
8
|
+
}): React.FunctionComponent<TextWrapperProps>;
|
@@ -5,20 +5,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.createWrapper = void 0;
|
7
7
|
|
8
|
-
|
8
|
+
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
|
-
|
10
|
+
const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
|
11
11
|
|
12
|
-
|
12
|
+
const Text_1 = /*#__PURE__*/require("../Text");
|
13
13
|
|
14
14
|
function createWrapper(options) {
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
const {
|
16
|
+
useStyles,
|
17
|
+
className,
|
18
|
+
displayName
|
19
|
+
} = options;
|
20
|
+
const Wrapper = React.forwardRef((props, ref) => {
|
21
|
+
const styles = useStyles();
|
22
|
+
const state = Text_1.useText(props, ref);
|
20
23
|
Text_1.useTextStyles(state);
|
21
|
-
state.className = react_make_styles_1.mergeClasses(state.className, styles.root, props.className);
|
24
|
+
state.root.className = react_make_styles_1.mergeClasses(className, state.root.className, styles.root, props.className);
|
22
25
|
return Text_1.renderText(state);
|
23
26
|
});
|
24
27
|
Wrapper.displayName = displayName;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["components/wrapper.tsx"],"names":[],"mappings":";;;;;;;AAAA,
|
1
|
+
{"version":3,"sources":["../../src/components/wrapper.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,MAAA,gBAAA,OAAA,CAAA,SAAA,CAAA;;AAMA,SAAgB,aAAhB,CAA8B,OAA9B,EAIC;AACC,QAAM;AAAE,IAAA,SAAF;AAAa,IAAA,SAAb;AAAwB,IAAA;AAAxB,MAAwC,OAA9C;AACA,QAAM,OAAO,GAA0C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACrF,UAAM,MAAM,GAAG,SAAS,EAAxB;AACA,UAAM,KAAK,GAAG,MAAA,CAAA,OAAA,CAAQ,KAAR,EAA4B,GAA5B,CAAd;AAEA,IAAA,MAAA,CAAA,aAAA,CAAc,KAAd;AAEA,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,SAAb,EAAwB,KAAK,CAAC,IAAN,CAAW,SAAnC,EAA8C,MAAM,CAAC,IAArD,EAA2D,KAAK,CAAC,SAAjE,CAAvB;AAEA,WAAO,MAAA,CAAA,UAAA,CAAW,KAAX,CAAP;AACD,GATsD,CAAvD;AAUA,EAAA,OAAO,CAAC,WAAR,GAAsB,WAAtB;AAEA,SAAO,OAAP;AACD;;AAnBD,OAAA,CAAA,aAAA,GAAA,aAAA","sourceRoot":""}
|
package/lib-commonjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA","
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,cAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,UAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,YAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,QAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,WAAA,CAAA,EAAA,OAAA","sourceRoot":""}
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.typographyStyles = void 0;
|
7
7
|
|
8
|
-
|
8
|
+
const typographyStyles = /*#__PURE__*/require("./typographyStyles");
|
9
9
|
|
10
10
|
exports.typographyStyles = typographyStyles;
|
11
11
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["typographyStyles/index.ts"],"names":[],"mappings":";;;;;;;AAAA,
|
1
|
+
{"version":3,"sources":["../../src/typographyStyles/index.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,gBAAA,gBAAA,OAAA,CAAA,oBAAA,CAAA;;AACS,OAAA,CAAA,gBAAA,GAAA,gBAAA","sourceRoot":""}
|
@@ -8,102 +8,84 @@ exports.display = exports.largeTitle = exports.title1 = exports.title2 = exports
|
|
8
8
|
* Make-styles rules for the typography variants
|
9
9
|
*/
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
};
|
18
|
-
};
|
11
|
+
const caption = theme => ({
|
12
|
+
fontFamily: theme.fontFamilyBase,
|
13
|
+
fontSize: theme.fontSizeBase200,
|
14
|
+
lineHeight: theme.lineHeightBase200,
|
15
|
+
fontWeight: theme.fontWeightRegular
|
16
|
+
});
|
19
17
|
|
20
18
|
exports.caption = caption;
|
21
19
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
};
|
29
|
-
};
|
20
|
+
const body = theme => ({
|
21
|
+
fontFamily: theme.fontFamilyBase,
|
22
|
+
fontSize: theme.fontSizeBase300,
|
23
|
+
lineHeight: theme.lineHeightBase300,
|
24
|
+
fontWeight: theme.fontWeightRegular
|
25
|
+
});
|
30
26
|
|
31
27
|
exports.body = body;
|
32
28
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
};
|
40
|
-
};
|
29
|
+
const subheadline = theme => ({
|
30
|
+
fontFamily: theme.fontFamilyBase,
|
31
|
+
fontSize: theme.fontSizeBase400,
|
32
|
+
lineHeight: theme.lineHeightBase400,
|
33
|
+
fontWeight: theme.fontWeightSemibold
|
34
|
+
});
|
41
35
|
|
42
36
|
exports.subheadline = subheadline;
|
43
37
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
};
|
51
|
-
};
|
38
|
+
const headline = theme => ({
|
39
|
+
fontFamily: theme.fontFamilyBase,
|
40
|
+
fontSize: theme.fontSizeBase500,
|
41
|
+
lineHeight: theme.lineHeightBase500,
|
42
|
+
fontWeight: theme.fontWeightSemibold
|
43
|
+
});
|
52
44
|
|
53
45
|
exports.headline = headline;
|
54
46
|
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
};
|
62
|
-
};
|
47
|
+
const title3 = theme => ({
|
48
|
+
fontFamily: theme.fontFamilyBase,
|
49
|
+
fontSize: theme.fontSizeBase600,
|
50
|
+
lineHeight: theme.lineHeightBase600,
|
51
|
+
fontWeight: theme.fontWeightSemibold
|
52
|
+
});
|
63
53
|
|
64
54
|
exports.title3 = title3;
|
65
55
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
};
|
73
|
-
};
|
56
|
+
const title2 = theme => ({
|
57
|
+
fontFamily: theme.fontFamilyBase,
|
58
|
+
fontSize: theme.fontSizeHero700,
|
59
|
+
lineHeight: theme.lineHeightHero700,
|
60
|
+
fontWeight: theme.fontWeightSemibold
|
61
|
+
});
|
74
62
|
|
75
63
|
exports.title2 = title2;
|
76
64
|
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
};
|
84
|
-
};
|
65
|
+
const title1 = theme => ({
|
66
|
+
fontFamily: theme.fontFamilyBase,
|
67
|
+
fontSize: theme.fontSizeHero800,
|
68
|
+
lineHeight: theme.lineHeightHero800,
|
69
|
+
fontWeight: theme.fontWeightSemibold
|
70
|
+
});
|
85
71
|
|
86
72
|
exports.title1 = title1;
|
87
73
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
};
|
95
|
-
};
|
74
|
+
const largeTitle = theme => ({
|
75
|
+
fontFamily: theme.fontFamilyBase,
|
76
|
+
fontSize: theme.fontSizeHero900,
|
77
|
+
lineHeight: theme.lineHeightHero900,
|
78
|
+
fontWeight: theme.fontWeightSemibold
|
79
|
+
});
|
96
80
|
|
97
81
|
exports.largeTitle = largeTitle;
|
98
82
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
};
|
106
|
-
};
|
83
|
+
const display = theme => ({
|
84
|
+
fontFamily: theme.fontFamilyBase,
|
85
|
+
fontSize: theme.fontSizeHero1000,
|
86
|
+
lineHeight: theme.lineHeightHero1000,
|
87
|
+
fontWeight: theme.fontWeightSemibold
|
88
|
+
});
|
107
89
|
|
108
90
|
exports.display = display;
|
109
91
|
//# sourceMappingURL=typographyStyles.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["typographyStyles/typographyStyles.ts"],"names":[],"mappings":";;;;;;AAGA;;AAEG;;AACI,
|
1
|
+
{"version":3,"sources":["../../src/typographyStyles/typographyStyles.ts"],"names":[],"mappings":"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","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-text",
|
3
|
-
"version": "9.0.0-
|
3
|
+
"version": "9.0.0-beta.4",
|
4
4
|
"description": "Text is a typography and styling abstraction component that can be used to ensure the consistency of all text across your application.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -21,14 +21,16 @@
|
|
21
21
|
"start": "yarn storybook",
|
22
22
|
"test": "jest",
|
23
23
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
24
|
-
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-text/src && yarn docs",
|
25
|
-
"storybook": "start-storybook"
|
24
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-text/src && yarn docs",
|
25
|
+
"storybook": "start-storybook",
|
26
|
+
"type-check": "tsc -b tsconfig.json"
|
26
27
|
},
|
27
28
|
"devDependencies": {
|
28
|
-
"@fluentui/babel-make-styles": "
|
29
|
-
"@fluentui/eslint-plugin": "
|
30
|
-
"@fluentui/jest-serializer-make-styles": "
|
31
|
-
"@fluentui/react-conformance": "
|
29
|
+
"@fluentui/babel-make-styles": "9.0.0-beta.4",
|
30
|
+
"@fluentui/eslint-plugin": "*",
|
31
|
+
"@fluentui/jest-serializer-make-styles": "9.0.0-beta.4",
|
32
|
+
"@fluentui/react-conformance": "*",
|
33
|
+
"@fluentui/react-conformance-make-styles": "9.0.0-beta.4",
|
32
34
|
"@fluentui/scripts": "^1.0.0",
|
33
35
|
"@types/enzyme": "3.10.3",
|
34
36
|
"@types/enzyme-adapter-react-16": "1.0.3",
|
@@ -42,8 +44,8 @@
|
|
42
44
|
"react-test-renderer": "^16.3.0"
|
43
45
|
},
|
44
46
|
"dependencies": {
|
45
|
-
"@fluentui/react-make-styles": "
|
46
|
-
"@fluentui/react-utilities": "
|
47
|
+
"@fluentui/react-make-styles": "9.0.0-beta.4",
|
48
|
+
"@fluentui/react-utilities": "9.0.0-beta.4",
|
47
49
|
"tslib": "^2.1.0"
|
48
50
|
},
|
49
51
|
"peerDependencies": {
|
@@ -53,7 +55,6 @@
|
|
53
55
|
"react-dom": ">=16.8.0 <18.0.0"
|
54
56
|
},
|
55
57
|
"beachball": {
|
56
|
-
"tag": "alpha",
|
57
58
|
"disallowedChangeTypes": [
|
58
59
|
"major",
|
59
60
|
"minor",
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
|
2
|
-
export function isConformant(testInfo) {
|
3
|
-
var defaultOptions = {
|
4
|
-
asPropHandlesRef: true,
|
5
|
-
componentPath: module.parent.filename.replace('.test', '')
|
6
|
-
};
|
7
|
-
baseIsConformant(defaultOptions, testInfo);
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=isConformant.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAGA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,MAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C;AAF4C,GAA7D;AAKA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourcesContent":["import { isConformant as baseIsConformant } from '@fluentui/react-conformance';\nimport type { IsConformantOptions } from '@fluentui/react-conformance';\n\nexport function isConformant<TProps = {}>(\n testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & { componentPath?: string },\n) {\n const defaultOptions: Partial<IsConformantOptions<TProps>> = {\n asPropHandlesRef: true,\n componentPath: module!.parent!.filename.replace('.test', ''),\n };\n\n baseIsConformant(defaultOptions, testInfo);\n}\n"],"sourceRoot":"../src/"}
|
package/lib-amd/Body.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Body/index';
|
package/lib-amd/Body.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Body/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Body.js.map
|
package/lib-amd/Body.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"../src/","sources":["Body.ts"],"names":[],"mappings":";;;IAAA,uCAAwC","sourcesContent":["export * from './components/Body/index';\n"]}
|
package/lib-amd/Caption.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Caption/index';
|
package/lib-amd/Caption.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Caption/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Caption.js.map
|
package/lib-amd/Caption.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Caption.js","sourceRoot":"../src/","sources":["Caption.ts"],"names":[],"mappings":";;;IAAA,uCAA2C","sourcesContent":["export * from './components/Caption/index';\n"]}
|
package/lib-amd/Display.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Display/index';
|
package/lib-amd/Display.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Display/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Display.js.map
|
package/lib-amd/Display.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Display.js","sourceRoot":"../src/","sources":["Display.ts"],"names":[],"mappings":";;;IAAA,uCAA2C","sourcesContent":["export * from './components/Display/index';\n"]}
|
package/lib-amd/Headline.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Headline/index';
|
package/lib-amd/Headline.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Headline/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Headline.js.map
|
package/lib-amd/Headline.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Headline.js","sourceRoot":"../src/","sources":["Headline.ts"],"names":[],"mappings":";;;IAAA,uCAA4C","sourcesContent":["export * from './components/Headline/index';\n"]}
|
package/lib-amd/LargeTitle.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/LargeTitle/index';
|
package/lib-amd/LargeTitle.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/LargeTitle/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=LargeTitle.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LargeTitle.js","sourceRoot":"../src/","sources":["LargeTitle.ts"],"names":[],"mappings":";;;IAAA,uCAA8C","sourcesContent":["export * from './components/LargeTitle/index';\n"]}
|
package/lib-amd/Subheadline.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Subheadline/index';
|
package/lib-amd/Subheadline.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Subheadline/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Subheadline.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Subheadline.js","sourceRoot":"../src/","sources":["Subheadline.ts"],"names":[],"mappings":";;;IAAA,uCAA+C","sourcesContent":["export * from './components/Subheadline/index';\n"]}
|
package/lib-amd/Text.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Text/index';
|
package/lib-amd/Text.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Text/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Text.js.map
|
package/lib-amd/Text.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"../src/","sources":["Text.ts"],"names":[],"mappings":";;;IAAA,uCAAwC","sourcesContent":["export * from './components/Text/index';\n"]}
|
package/lib-amd/Title1.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title1/index';
|
package/lib-amd/Title1.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Title1/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Title1.js.map
|
package/lib-amd/Title1.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Title1.js","sourceRoot":"../src/","sources":["Title1.ts"],"names":[],"mappings":";;;IAAA,uCAA0C","sourcesContent":["export * from './components/Title1/index';\n"]}
|
package/lib-amd/Title2.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title2/index';
|
package/lib-amd/Title2.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Title2/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Title2.js.map
|
package/lib-amd/Title2.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Title2.js","sourceRoot":"../src/","sources":["Title2.ts"],"names":[],"mappings":";;;IAAA,uCAA0C","sourcesContent":["export * from './components/Title2/index';\n"]}
|
package/lib-amd/Title3.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './components/Title3/index';
|
package/lib-amd/Title3.js
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
define(["require", "exports", "tslib", "./components/Title3/index"], function (require, exports, tslib_1, index_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
tslib_1.__exportStar(index_1, exports);
|
5
|
-
});
|
6
|
-
//# sourceMappingURL=Title3.js.map
|
package/lib-amd/Title3.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Title3.js","sourceRoot":"../src/","sources":["Title3.ts"],"names":[],"mappings":";;;IAAA,uCAA0C","sourcesContent":["export * from './components/Title3/index';\n"]}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
define(["require", "exports", "@fluentui/react-conformance"], function (require, exports, react_conformance_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.isConformant = void 0;
|
5
|
-
function isConformant(testInfo) {
|
6
|
-
var defaultOptions = {
|
7
|
-
asPropHandlesRef: true,
|
8
|
-
componentPath: module.parent.filename.replace('.test', ''),
|
9
|
-
};
|
10
|
-
react_conformance_1.isConformant(defaultOptions, testInfo);
|
11
|
-
}
|
12
|
-
exports.isConformant = isConformant;
|
13
|
-
});
|
14
|
-
//# sourceMappingURL=isConformant.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isConformant.js","sourceRoot":"../src/","sources":["common/isConformant.ts"],"names":[],"mappings":";;;;IAGA,SAAgB,YAAY,CAC1B,QAAyF;QAEzF,IAAM,cAAc,GAAyC;YAC3D,gBAAgB,EAAE,IAAI;YACtB,aAAa,EAAE,MAAO,CAAC,MAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;SAC7D,CAAC;QAEF,gCAAgB,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IAC7C,CAAC;IATD,oCASC","sourcesContent":["import { isConformant as baseIsConformant } from '@fluentui/react-conformance';\nimport type { IsConformantOptions } from '@fluentui/react-conformance';\n\nexport function isConformant<TProps = {}>(\n testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & { componentPath?: string },\n) {\n const defaultOptions: Partial<IsConformantOptions<TProps>> = {\n asPropHandlesRef: true,\n componentPath: module!.parent!.filename.replace('.test', ''),\n };\n\n baseIsConformant(defaultOptions, testInfo);\n}\n"]}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
define(["require", "exports", "@fluentui/react-make-styles", "../../typographyStyles/index", "../wrapper"], function (require, exports, react_make_styles_1, index_1, wrapper_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.Body = void 0;
|
5
|
-
/**
|
6
|
-
* Styles for the root slot
|
7
|
-
*/
|
8
|
-
var useStyles = react_make_styles_1.makeStyles({
|
9
|
-
root: index_1.typographyStyles.body,
|
10
|
-
});
|
11
|
-
/**
|
12
|
-
* Text wrapper component for the Body typography variant
|
13
|
-
*/
|
14
|
-
exports.Body = wrapper_1.createWrapper({ useStyles: useStyles, displayName: 'Body' });
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=Body.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"../src/","sources":["components/Body/Body.tsx"],"names":[],"mappings":";;;;IAIA;;OAEG;IACH,IAAM,SAAS,GAAG,8BAAU,CAAC;QAC3B,IAAI,EAAE,wBAAgB,CAAC,IAAI;KAC5B,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,IAAI,GAAG,uBAAa,CAAC,EAAE,SAAS,WAAA,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,CAAC","sourcesContent":["import { makeStyles } from '@fluentui/react-make-styles';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper } from '../wrapper';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.body,\n});\n\n/**\n * Text wrapper component for the Body typography variant\n */\nexport const Body = createWrapper({ useStyles, displayName: 'Body' });\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Body';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/Body/index.ts"],"names":[],"mappings":";;;IAAA,sCAAuB","sourcesContent":["export * from './Body';\n"]}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
define(["require", "exports", "@fluentui/react-make-styles", "../../typographyStyles/index", "../wrapper"], function (require, exports, react_make_styles_1, index_1, wrapper_1) {
|
2
|
-
"use strict";
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
-
exports.Caption = void 0;
|
5
|
-
/**
|
6
|
-
* Styles for the root slot
|
7
|
-
*/
|
8
|
-
var useStyles = react_make_styles_1.makeStyles({
|
9
|
-
root: index_1.typographyStyles.caption,
|
10
|
-
});
|
11
|
-
/**
|
12
|
-
* Text wrapper component for the Caption typography variant
|
13
|
-
*/
|
14
|
-
exports.Caption = wrapper_1.createWrapper({ useStyles: useStyles, displayName: 'Caption' });
|
15
|
-
});
|
16
|
-
//# sourceMappingURL=Caption.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Caption.js","sourceRoot":"../src/","sources":["components/Caption/Caption.tsx"],"names":[],"mappings":";;;;IAIA;;OAEG;IACH,IAAM,SAAS,GAAG,8BAAU,CAAC;QAC3B,IAAI,EAAE,wBAAgB,CAAC,OAAO;KAC/B,CAAC,CAAC;IAEH;;OAEG;IACU,QAAA,OAAO,GAAG,uBAAa,CAAC,EAAE,SAAS,WAAA,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,CAAC","sourcesContent":["import { makeStyles } from '@fluentui/react-make-styles';\nimport { typographyStyles } from '../../typographyStyles/index';\nimport { createWrapper } from '../wrapper';\n\n/**\n * Styles for the root slot\n */\nconst useStyles = makeStyles({\n root: typographyStyles.caption,\n});\n\n/**\n * Text wrapper component for the Caption typography variant\n */\nexport const Caption = createWrapper({ useStyles, displayName: 'Caption' });\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './Caption';
|