@ssa-ui-kit/core 2.26.1 → 2.27.0
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.
|
@@ -6,6 +6,7 @@ export interface PieChartTooltipProps {
|
|
|
6
6
|
isEnabled?: boolean;
|
|
7
7
|
isFullscreenEnabled?: boolean;
|
|
8
8
|
dimension?: string;
|
|
9
|
+
className?: string;
|
|
9
10
|
outputType?: 'value' | 'value+dimension' | 'dimension' | 'percentage' | 'value+percentage' | 'percentage+value' | 'value+dimension+percentage';
|
|
10
11
|
valueRoundingDigits?: number | false;
|
|
11
12
|
percentageRoundingDigits?: number;
|
|
@@ -57,4 +58,5 @@ export type PieChartTooltipViewProps = {
|
|
|
57
58
|
x: number;
|
|
58
59
|
y: number;
|
|
59
60
|
} | null;
|
|
61
|
+
className?: string;
|
|
60
62
|
};
|
package/dist/index.js
CHANGED
|
@@ -6771,7 +6771,8 @@ const PieChartTooltip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRe
|
|
|
6771
6771
|
dimension,
|
|
6772
6772
|
isFullscreenMode,
|
|
6773
6773
|
position,
|
|
6774
|
-
isOpen
|
|
6774
|
+
isOpen,
|
|
6775
|
+
className
|
|
6775
6776
|
}, ref) {
|
|
6776
6777
|
const theme = (0,react_namespaceObject.useTheme)();
|
|
6777
6778
|
if (!isOpen) {
|
|
@@ -6797,6 +6798,7 @@ const PieChartTooltip = /*#__PURE__*/(0,external_react_namespaceObject.forwardRe
|
|
|
6797
6798
|
visibility: point ? 'visible' : 'hidden',
|
|
6798
6799
|
zIndex: 10
|
|
6799
6800
|
}, true ? "" : 0, true ? "" : 0),
|
|
6801
|
+
className: className,
|
|
6800
6802
|
children: point && (0,jsx_runtime_namespaceObject.jsxs)((external_react_default()).Fragment, {
|
|
6801
6803
|
children: [(0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
6802
6804
|
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
@@ -7037,6 +7039,7 @@ const PieChartInternal = ({
|
|
|
7037
7039
|
position: tooltipPosition,
|
|
7038
7040
|
dimension: dimension,
|
|
7039
7041
|
outputType: outputType,
|
|
7042
|
+
className: tooltipProps?.className,
|
|
7040
7043
|
isFullscreenMode: isFullscreenMode,
|
|
7041
7044
|
ref: refs.setFloating
|
|
7042
7045
|
})
|