"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 getStyles = function (props) {
    var _a;
    var shouldHighlight = props.shouldHighlight, href = props.href, theme = props.theme;
    return {
        opacityChangeOnHover: {
            opacity: shouldHighlight ? '' : '0.1',
            cursor: href ? 'pointer' : 'default',
        },
        tooltip: tslib_1.__assign(tslib_1.__assign({}, theme.fonts.medium), { display: 'flex', flexDirection: 'column', padding: '8px', position: 'absolute', textAlign: 'center', top: '0px', background: theme.semanticColors.bodyBackground, borderRadius: '2px', pointerEvents: 'none', color: theme.semanticColors.bodyText }),
        barLabel: {
            fontSize: Styling_1.FontSizes.small,
            fontWeight: Styling_1.FontWeights.semibold,
            fill: theme.palette.neutralPrimary,
            selectors: (_a = {},
                _a[Styling_1.HighContrastSelector] = {
                    fill: 'CanvasText',
                },
                _a),
        },
    };
};
exports.getStyles = getStyles;
//# sourceMappingURL=VerticalStackedBarChart.styles.js.map