UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

70 lines (69 loc) 1.73 kB
"use strict"; 'use client'; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.ChartsRadialAxisHighlightPath = exports.ChartsRadialAxisHighlightCircle = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _styles = require("@mui/material/styles"); const ChartsRadialAxisHighlightPath = exports.ChartsRadialAxisHighlightPath = (0, _styles.styled)('path', { name: 'MuiChartsRadialAxisHighlight', slot: 'Root' })(({ theme }) => ({ pointerEvents: 'none', variants: [{ props: { axisHighlight: 'band' }, style: (0, _extends2.default)({ fill: 'white', fillOpacity: 0.1 }, theme.applyStyles('light', { fill: 'gray' })) }, { props: { axisHighlight: 'line' }, style: (0, _extends2.default)({ fill: 'none', strokeDasharray: '5 2', stroke: '#ffffff' }, theme.applyStyles('light', { stroke: '#000000' })) }] })); const ChartsRadialAxisHighlightCircle = exports.ChartsRadialAxisHighlightCircle = (0, _styles.styled)('circle', { name: 'MuiChartsRadialAxisHighlight', slot: 'Root' })(({ theme }) => ({ pointerEvents: 'none', variants: [{ props: { axisHighlight: 'band' }, style: (0, _extends2.default)({ fill: 'white', fillOpacity: 0.1 }, theme.applyStyles('light', { fill: 'gray' })) }, { props: { axisHighlight: 'line' }, style: (0, _extends2.default)({ fill: 'none', strokeDasharray: '5 2', stroke: '#ffffff' }, theme.applyStyles('light', { stroke: '#000000' })) }] }));