@fluentui/react-charting 5.19.40 → 5.19.41
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 +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/react-charting.js +1 -1
- package/dist/react-charting.min.js +1 -1
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js +18 -2
- package/lib/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js +17 -1
- package/lib-amd/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib-amd/version.js +1 -1
- package/lib-amd/version.js.map +1 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js +17 -1
- package/lib-commonjs/utilities/ChartHoverCard/ChartHoverCard.styles.js.map +1 -1
- package/lib-commonjs/version.js +1 -1
- package/lib-commonjs/version.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { FontWeights } from '@fluentui/react/lib/Styling';
|
|
1
|
+
import { FontWeights, HighContrastSelector, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';
|
|
2
2
|
export var getChartHoverCardStyles = function (props) {
|
|
3
|
-
var
|
|
3
|
+
var _a, _b, _c;
|
|
4
|
+
var color = props.color, XValue = props.XValue, theme = props.theme, _d = props.isRatioPresent, isRatioPresent = _d === void 0 ? false : _d;
|
|
4
5
|
return {
|
|
5
6
|
calloutContentRoot: [
|
|
6
7
|
{
|
|
@@ -32,6 +33,11 @@ export var getChartHoverCardStyles = function (props) {
|
|
|
32
33
|
lineHeight: '22px',
|
|
33
34
|
color: theme.semanticColors.bodyText,
|
|
34
35
|
borderLeft: "4px solid ".concat(color),
|
|
36
|
+
selectors: (_a = {},
|
|
37
|
+
_a[HighContrastSelector] = {
|
|
38
|
+
forcedColorAdjust: 'none',
|
|
39
|
+
},
|
|
40
|
+
_a),
|
|
35
41
|
},
|
|
36
42
|
],
|
|
37
43
|
calloutlegendText: [
|
|
@@ -39,6 +45,11 @@ export var getChartHoverCardStyles = function (props) {
|
|
|
39
45
|
{
|
|
40
46
|
lineHeight: '16px',
|
|
41
47
|
color: theme.semanticColors.bodyText,
|
|
48
|
+
selectors: (_b = {},
|
|
49
|
+
_b[HighContrastSelectorBlack] = {
|
|
50
|
+
color: 'rgb(255, 255, 255)',
|
|
51
|
+
},
|
|
52
|
+
_b),
|
|
42
53
|
},
|
|
43
54
|
],
|
|
44
55
|
calloutContentY: [
|
|
@@ -47,6 +58,11 @@ export var getChartHoverCardStyles = function (props) {
|
|
|
47
58
|
color: color ? color : theme.semanticColors.bodyText,
|
|
48
59
|
fontWeight: 'bold',
|
|
49
60
|
lineHeight: '36px',
|
|
61
|
+
selectors: (_c = {},
|
|
62
|
+
_c[HighContrastSelectorBlack] = {
|
|
63
|
+
color: 'rgb(255, 255, 255)',
|
|
64
|
+
},
|
|
65
|
+
_c),
|
|
50
66
|
},
|
|
51
67
|
],
|
|
52
68
|
calloutInfoContainer: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE3G,MAAM,CAAC,IAAM,uBAAuB,GAAG,UAAC,KAAgC;;IAC9D,IAAA,KAAK,GAA4C,KAAK,MAAjD,EAAE,MAAM,GAAoC,KAAK,OAAzC,EAAE,KAAK,GAA6B,KAAK,MAAlC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AK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpD,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,MAAM;gBAClB,SAAS;oBACP,GAAC,yBAAyB,IAAG;wBAC3B,KAAK,EAAE,oBAAoB;qBAC5B;uBACF;aACF;SACF;QACD,oBAAoB,EAAE;YACpB,cAAc,IAAI;gBAChB,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,UAAU;aACvB;SACF;QACD,KAAK,EAAE;YACL,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,UAAU,EAAE,KAAK;gBACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;aACrC;SACF;QACD,SAAS,EAAE;YACT,UAAU,EAAE,WAAW,CAAC,IAAI;SAC7B;QACD,WAAW,EAAE;YACX,UAAU,EAAE,WAAW,CAAC,QAAQ;SACjC;QACD,kBAAkB,EAAE;YAClB,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpC,SAAS,EAAE,MAAM;gBACjB,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,oBAAa,KAAK,CAAC,cAAc,CAAC,WAAW,CAAE;aAC3D;SACF;KACF,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';\nimport { FontWeights, HighContrastSelector, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';\n\nexport const getChartHoverCardStyles = (props: IChartHoverCardStyleProps): IChartHoverCardStyles => {\n const { color, XValue, theme, isRatioPresent = false } = props;\n return {\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.xxLarge,\n {\n marginTop: XValue ? '13px' : 'unset',\n paddingLeft: '8px',\n lineHeight: '22px',\n color: theme.semanticColors.bodyText,\n borderLeft: `4px solid ${color}`,\n selectors: {\n [HighContrastSelector]: {\n forcedColorAdjust: 'none',\n },\n },\n },\n ],\n calloutlegendText: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n color: theme.semanticColors.bodyText,\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutContentY: [\n theme.fonts.xxLarge,\n {\n color: color ? color : theme.semanticColors.bodyText,\n fontWeight: 'bold',\n lineHeight: '36px',\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutInfoContainer: [\n isRatioPresent && {\n display: 'flex',\n alignItems: 'flex-end',\n },\n ],\n ratio: [\n theme.fonts.small,\n {\n marginLeft: '6px',\n color: theme.semanticColors.bodyText,\n },\n ],\n numerator: {\n fontWeight: FontWeights.bold,\n },\n denominator: {\n fontWeight: FontWeights.semibold,\n },\n descriptionMessage: [\n theme.fonts.small,\n {\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}
|
package/lib/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Do not modify this file; it is generated as part of publish.
|
|
2
2
|
// The checked in version is a placeholder only and will not be updated.
|
|
3
3
|
import { setVersion } from '@fluentui/set-version';
|
|
4
|
-
setVersion('@fluentui/react-charting', '5.19.
|
|
4
|
+
setVersion('@fluentui/react-charting', '5.19.41');
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/lib/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,UAAU,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,UAAU,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.41');"]}
|
|
@@ -3,7 +3,8 @@ define(["require", "exports", "@fluentui/react/lib/Styling"], function (require,
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.getChartHoverCardStyles = void 0;
|
|
5
5
|
var getChartHoverCardStyles = function (props) {
|
|
6
|
-
var
|
|
6
|
+
var _a, _b, _c;
|
|
7
|
+
var color = props.color, XValue = props.XValue, theme = props.theme, _d = props.isRatioPresent, isRatioPresent = _d === void 0 ? false : _d;
|
|
7
8
|
return {
|
|
8
9
|
calloutContentRoot: [
|
|
9
10
|
{
|
|
@@ -35,6 +36,11 @@ define(["require", "exports", "@fluentui/react/lib/Styling"], function (require,
|
|
|
35
36
|
lineHeight: '22px',
|
|
36
37
|
color: theme.semanticColors.bodyText,
|
|
37
38
|
borderLeft: "4px solid ".concat(color),
|
|
39
|
+
selectors: (_a = {},
|
|
40
|
+
_a[Styling_1.HighContrastSelector] = {
|
|
41
|
+
forcedColorAdjust: 'none',
|
|
42
|
+
},
|
|
43
|
+
_a),
|
|
38
44
|
},
|
|
39
45
|
],
|
|
40
46
|
calloutlegendText: [
|
|
@@ -42,6 +48,11 @@ define(["require", "exports", "@fluentui/react/lib/Styling"], function (require,
|
|
|
42
48
|
{
|
|
43
49
|
lineHeight: '16px',
|
|
44
50
|
color: theme.semanticColors.bodyText,
|
|
51
|
+
selectors: (_b = {},
|
|
52
|
+
_b[Styling_1.HighContrastSelectorBlack] = {
|
|
53
|
+
color: 'rgb(255, 255, 255)',
|
|
54
|
+
},
|
|
55
|
+
_b),
|
|
45
56
|
},
|
|
46
57
|
],
|
|
47
58
|
calloutContentY: [
|
|
@@ -50,6 +61,11 @@ define(["require", "exports", "@fluentui/react/lib/Styling"], function (require,
|
|
|
50
61
|
color: color ? color : theme.semanticColors.bodyText,
|
|
51
62
|
fontWeight: 'bold',
|
|
52
63
|
lineHeight: '36px',
|
|
64
|
+
selectors: (_c = {},
|
|
65
|
+
_c[Styling_1.HighContrastSelectorBlack] = {
|
|
66
|
+
color: 'rgb(255, 255, 255)',
|
|
67
|
+
},
|
|
68
|
+
_c),
|
|
53
69
|
},
|
|
54
70
|
],
|
|
55
71
|
calloutInfoContainer: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":";;;;IAGO,IAAM,uBAAuB,GAAG,UAAC,KAAgC
|
|
1
|
+
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":";;;;IAGO,IAAM,uBAAuB,GAAG,UAAC,KAAgC;;QAC9D,IAAA,KAAK,GAA4C,KAAK,MAAjD,EAAE,MAAM,GAAoC,KAAK,OAAzC,EAAE,KAAK,GAA6B,KAAK,MAAlC,EAAE,KAA2B,KAAK,eAAV,EAAtB,cAAc,mBAAG,KAAK,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cAAc,CAAC,QAAQ;oBACpD,UAAU,EAAE,MAAM;oBAClB,UAAU,EAAE,MAAM;oBAClB,SAAS;wBACP,GAAC,mCAAyB,IAAG;4BAC3B,KAAK,EAAE,oBAAoB;yBAC5B;2BACF;iBACF;aACF;YACD,oBAAoB,EAAE;gBACpB,cAAc,IAAI;oBAChB,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,UAAU;iBACvB;aACF;YACD,KAAK,EAAE;gBACL,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,UAAU,EAAE,KAAK;oBACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;iBACrC;aACF;YACD,SAAS,EAAE;gBACT,UAAU,EAAE,qBAAW,CAAC,IAAI;aAC7B;YACD,WAAW,EAAE;gBACX,UAAU,EAAE,qBAAW,CAAC,QAAQ;aACjC;YACD,kBAAkB,EAAE;gBAClB,KAAK,CAAC,KAAK,CAAC,KAAK;gBACjB;oBACE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;oBACpC,SAAS,EAAE,MAAM;oBACjB,UAAU,EAAE,MAAM;oBAClB,SAAS,EAAE,oBAAa,KAAK,CAAC,cAAc,CAAC,WAAW,CAAE;iBAC3D;aACF;SACF,CAAC;IACJ,CAAC,CAAC;IA9FW,QAAA,uBAAuB,2BA8FlC","sourcesContent":["import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';\nimport { FontWeights, HighContrastSelector, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';\n\nexport const getChartHoverCardStyles = (props: IChartHoverCardStyleProps): IChartHoverCardStyles => {\n const { color, XValue, theme, isRatioPresent = false } = props;\n return {\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.xxLarge,\n {\n marginTop: XValue ? '13px' : 'unset',\n paddingLeft: '8px',\n lineHeight: '22px',\n color: theme.semanticColors.bodyText,\n borderLeft: `4px solid ${color}`,\n selectors: {\n [HighContrastSelector]: {\n forcedColorAdjust: 'none',\n },\n },\n },\n ],\n calloutlegendText: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n color: theme.semanticColors.bodyText,\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutContentY: [\n theme.fonts.xxLarge,\n {\n color: color ? color : theme.semanticColors.bodyText,\n fontWeight: 'bold',\n lineHeight: '36px',\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutInfoContainer: [\n isRatioPresent && {\n display: 'flex',\n alignItems: 'flex-end',\n },\n ],\n ratio: [\n theme.fonts.small,\n {\n marginLeft: '6px',\n color: theme.semanticColors.bodyText,\n },\n ],\n numerator: {\n fontWeight: FontWeights.bold,\n },\n denominator: {\n fontWeight: FontWeights.semibold,\n },\n descriptionMessage: [\n theme.fonts.small,\n {\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}
|
package/lib-amd/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.19.
|
|
4
|
+
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.19.41');
|
|
5
5
|
});
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/lib-amd/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;;IAGA,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.41');"]}
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getChartHoverCardStyles = void 0;
|
|
4
4
|
var Styling_1 = require("@fluentui/react/lib/Styling");
|
|
5
5
|
var getChartHoverCardStyles = function (props) {
|
|
6
|
-
var
|
|
6
|
+
var _a, _b, _c;
|
|
7
|
+
var color = props.color, XValue = props.XValue, theme = props.theme, _d = props.isRatioPresent, isRatioPresent = _d === void 0 ? false : _d;
|
|
7
8
|
return {
|
|
8
9
|
calloutContentRoot: [
|
|
9
10
|
{
|
|
@@ -35,6 +36,11 @@ var getChartHoverCardStyles = function (props) {
|
|
|
35
36
|
lineHeight: '22px',
|
|
36
37
|
color: theme.semanticColors.bodyText,
|
|
37
38
|
borderLeft: "4px solid ".concat(color),
|
|
39
|
+
selectors: (_a = {},
|
|
40
|
+
_a[Styling_1.HighContrastSelector] = {
|
|
41
|
+
forcedColorAdjust: 'none',
|
|
42
|
+
},
|
|
43
|
+
_a),
|
|
38
44
|
},
|
|
39
45
|
],
|
|
40
46
|
calloutlegendText: [
|
|
@@ -42,6 +48,11 @@ var getChartHoverCardStyles = function (props) {
|
|
|
42
48
|
{
|
|
43
49
|
lineHeight: '16px',
|
|
44
50
|
color: theme.semanticColors.bodyText,
|
|
51
|
+
selectors: (_b = {},
|
|
52
|
+
_b[Styling_1.HighContrastSelectorBlack] = {
|
|
53
|
+
color: 'rgb(255, 255, 255)',
|
|
54
|
+
},
|
|
55
|
+
_b),
|
|
45
56
|
},
|
|
46
57
|
],
|
|
47
58
|
calloutContentY: [
|
|
@@ -50,6 +61,11 @@ var getChartHoverCardStyles = function (props) {
|
|
|
50
61
|
color: color ? color : theme.semanticColors.bodyText,
|
|
51
62
|
fontWeight: 'bold',
|
|
52
63
|
lineHeight: '36px',
|
|
64
|
+
selectors: (_c = {},
|
|
65
|
+
_c[Styling_1.HighContrastSelectorBlack] = {
|
|
66
|
+
color: 'rgb(255, 255, 255)',
|
|
67
|
+
},
|
|
68
|
+
_c),
|
|
53
69
|
},
|
|
54
70
|
],
|
|
55
71
|
calloutInfoContainer: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"ChartHoverCard.styles.js","sourceRoot":"../src/","sources":["utilities/ChartHoverCard/ChartHoverCard.styles.ts"],"names":[],"mappings":";;;AACA,uDAA2G;AAEpG,IAAM,uBAAuB,GAAG,UAAC,KAAgC;;IAC9D,IAAA,KAAK,GAA4C,KAAK,MAAjD,EAAE,MAAM,GAAoC,KAAK,OAAzC,EAAE,KAAK,GAA6B,KAAK,MAAlC,EAAE,KAA2B,KAAK,eAAV,EAAtB,cAAc,mBAAG,KAAK,KAAA,CAAW;IAC/D,OAAO;QACL,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,MAAM;gBACf,QAAQ,EAAE,QAAQ;gBAClB,OAAO,EAAE,qBAAqB;gBAC9B,eAAe,EAAE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oBAAoB,EAAE;YACpB,cAAc,IAAI;gBAChB,OAAO,EAAE,MAAM;gBACf,UAAU,EAAE,UAAU;aACvB;SACF;QACD,KAAK,EAAE;YACL,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,UAAU,EAAE,KAAK;gBACjB,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;aACrC;SACF;QACD,SAAS,EAAE;YACT,UAAU,EAAE,qBAAW,CAAC,IAAI;SAC7B;QACD,WAAW,EAAE;YACX,UAAU,EAAE,qBAAW,CAAC,QAAQ;SACjC;QACD,kBAAkB,EAAE;YAClB,KAAK,CAAC,KAAK,CAAC,KAAK;YACjB;gBACE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ;gBACpC,SAAS,EAAE,MAAM;gBACjB,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,oBAAa,KAAK,CAAC,cAAc,CAAC,WAAW,CAAE;aAC3D;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AA9FW,QAAA,uBAAuB,2BA8FlC","sourcesContent":["import { IChartHoverCardStyles, IChartHoverCardStyleProps } from './ChartHoverCard.types';\nimport { FontWeights, HighContrastSelector, HighContrastSelectorBlack } from '@fluentui/react/lib/Styling';\n\nexport const getChartHoverCardStyles = (props: IChartHoverCardStyleProps): IChartHoverCardStyles => {\n const { color, XValue, theme, isRatioPresent = false } = props;\n return {\n calloutContentRoot: [\n {\n display: 'grid',\n overflow: 'hidden',\n padding: '11px 16px 10px 16px',\n backgroundColor: theme.semanticColors.bodyBackground,\n backgroundBlendMode: 'normal, luminosity',\n },\n ],\n calloutDateTimeContainer: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n calloutContentX: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n opacity: '0.8',\n color: theme.semanticColors.bodySubtext,\n },\n ],\n calloutBlockContainer: [\n theme.fonts.xxLarge,\n {\n marginTop: XValue ? '13px' : 'unset',\n paddingLeft: '8px',\n lineHeight: '22px',\n color: theme.semanticColors.bodyText,\n borderLeft: `4px solid ${color}`,\n selectors: {\n [HighContrastSelector]: {\n forcedColorAdjust: 'none',\n },\n },\n },\n ],\n calloutlegendText: [\n theme.fonts.small,\n {\n lineHeight: '16px',\n color: theme.semanticColors.bodyText,\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutContentY: [\n theme.fonts.xxLarge,\n {\n color: color ? color : theme.semanticColors.bodyText,\n fontWeight: 'bold',\n lineHeight: '36px',\n selectors: {\n [HighContrastSelectorBlack]: {\n color: 'rgb(255, 255, 255)',\n },\n },\n },\n ],\n calloutInfoContainer: [\n isRatioPresent && {\n display: 'flex',\n alignItems: 'flex-end',\n },\n ],\n ratio: [\n theme.fonts.small,\n {\n marginLeft: '6px',\n color: theme.semanticColors.bodyText,\n },\n ],\n numerator: {\n fontWeight: FontWeights.bold,\n },\n denominator: {\n fontWeight: FontWeights.semibold,\n },\n descriptionMessage: [\n theme.fonts.small,\n {\n color: theme.semanticColors.bodyText,\n marginTop: '10px',\n paddingTop: '10px',\n borderTop: `1px solid ${theme.semanticColors.menuDivider}`,\n },\n ],\n };\n};\n"]}
|
package/lib-commonjs/version.js
CHANGED
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
// Do not modify this file; it is generated as part of publish.
|
|
4
4
|
// The checked in version is a placeholder only and will not be updated.
|
|
5
5
|
var set_version_1 = require("@fluentui/set-version");
|
|
6
|
-
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.19.
|
|
6
|
+
(0, set_version_1.setVersion)('@fluentui/react-charting', '5.19.41');
|
|
7
7
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"../src/","sources":["version.ts"],"names":[],"mappings":";;AAAA,+DAA+D;AAC/D,wEAAwE;AACxE,qDAAmD;AACnD,IAAA,wBAAU,EAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC","sourcesContent":["// Do not modify this file; it is generated as part of publish.\n// The checked in version is a placeholder only and will not be updated.\nimport { setVersion } from '@fluentui/set-version';\nsetVersion('@fluentui/react-charting', '5.19.41');"]}
|