"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStyles = void 0;
var tslib_1 = require("tslib");
var Styling_1 = require("@fluentui/react/lib/Styling");
var index_1 = require("../../utilities/index");
var getStyles = function (props) {
    var _a, _b, _c;
    var className = props.className, theme = props.theme, pathColor = props.pathColor, enableReflow = props.enableReflow;
    var effects = theme.effects;
    return {
        root: [
            theme.fonts.medium,
            {
                display: 'flex',
                width: '100%',
                height: '100%',
                flexDirection: 'column',
                overflow: 'hidden',
            },
            className,
        ],
        links: {
            stroke: pathColor ? pathColor : theme.palette.black,
            fill: theme ? theme.semanticColors.bodyBackground : '#F5F5F5',
            strokeWidth: 3,
            selectors: (_a = {},
                _a[Styling_1.HighContrastSelector] = {
                    fill: 'Canvas',
                },
                _a),
        },
        nodes: {
            fill: '#F5F5F5',
            selectors: (_b = {},
                _b[Styling_1.HighContrastSelector] = {
                    fill: 'Canvas',
                },
                _b),
        },
        toolTip: (0, index_1.getTooltipStyle)(props.theme),
        nodeTextContainer: {
            selectors: {
                text: {
                    selectors: (_c = {},
                        _c[Styling_1.HighContrastSelector] = {
                            fill: 'CanvasText',
                        },
                        _c),
                },
            },
            marginTop: '4px',
            marginLeft: '8px',
            marginBottom: '4px',
            marginRight: '8px',
        },
        calloutContentRoot: {
            boxShadow: effects.elevation4,
        },
        chartWrapper: tslib_1.__assign({}, (enableReflow ? { overflow: 'auto' } : {})),
        chart: {
            display: 'block',
        },
    };
};
exports.getStyles = getStyles;
//# sourceMappingURL=SankeyChart.styles.js.map