@auth0/quantum-charts 1.3.0 → 1.3.1
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/common/custom-tooltip.d.ts +1 -1
- package/common/custom-tooltip.js +3 -1
- package/esm/common/custom-tooltip.js +1 -1
- package/esm/index.js +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ICustomTooltipProps } from './chart';
|
|
3
|
-
declare const CustomTooltip: (props: ICustomTooltipProps) => React.JSX.Element | null;
|
|
3
|
+
export declare const CustomTooltip: (props: ICustomTooltipProps) => React.JSX.Element | null;
|
|
4
4
|
export default CustomTooltip;
|
package/common/custom-tooltip.js
CHANGED
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CustomTooltip = void 0;
|
|
29
30
|
var React = __importStar(require("react"));
|
|
30
31
|
var quantum_product_1 = require("@auth0/quantum-product");
|
|
31
32
|
var custom_color_status_dot_1 = __importDefault(require("./custom-color-status-dot"));
|
|
@@ -76,4 +77,5 @@ var CustomTooltip = function (props) {
|
|
|
76
77
|
}
|
|
77
78
|
return null;
|
|
78
79
|
};
|
|
79
|
-
exports.
|
|
80
|
+
exports.CustomTooltip = CustomTooltip;
|
|
81
|
+
exports.default = exports.CustomTooltip;
|
|
@@ -3,7 +3,7 @@ import { Box, RowLayout, StackLayout, Text, useTheme, AlertTriangleFilledIcon, A
|
|
|
3
3
|
import StatusDot from './custom-color-status-dot';
|
|
4
4
|
import { format } from 'date-fns';
|
|
5
5
|
import { CustomTooltip as CustomTooltipStyled } from '../styles';
|
|
6
|
-
var CustomTooltip = function (props) {
|
|
6
|
+
export var CustomTooltip = function (props) {
|
|
7
7
|
var _a, _b, _c, _d;
|
|
8
8
|
var active = props.active, payload = props.payload, scaleType = props.scaleType, labelProp = props.label, tooltipProp = props.tooltipProp, showTotalValue = props.showTotalValue;
|
|
9
9
|
var theme = useTheme();
|
package/esm/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export * from './chart-card';
|
|
|
3
3
|
export * from './chart-summary';
|
|
4
4
|
export * from './common/chart';
|
|
5
5
|
export * from './common/custom-legend';
|
|
6
|
+
export * from './common/custom-tooltip';
|
|
6
7
|
export * from './compare-aggregate';
|
|
7
8
|
export * from './donut-chart';
|
|
8
9
|
export * from './helpers/format-number';
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './chart-card';
|
|
|
3
3
|
export * from './chart-summary';
|
|
4
4
|
export * from './common/chart';
|
|
5
5
|
export * from './common/custom-legend';
|
|
6
|
+
export * from './common/custom-tooltip';
|
|
6
7
|
export * from './compare-aggregate';
|
|
7
8
|
export * from './donut-chart';
|
|
8
9
|
export * from './helpers/format-number';
|
package/index.js
CHANGED
|
@@ -19,6 +19,7 @@ __exportStar(require("./chart-card"), exports);
|
|
|
19
19
|
__exportStar(require("./chart-summary"), exports);
|
|
20
20
|
__exportStar(require("./common/chart"), exports);
|
|
21
21
|
__exportStar(require("./common/custom-legend"), exports);
|
|
22
|
+
__exportStar(require("./common/custom-tooltip"), exports);
|
|
22
23
|
__exportStar(require("./compare-aggregate"), exports);
|
|
23
24
|
__exportStar(require("./donut-chart"), exports);
|
|
24
25
|
__exportStar(require("./helpers/format-number"), exports);
|