@x-plat/design-system 0.5.41 → 0.5.42
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/dist/components/Chart/index.cjs +1 -1
- package/dist/components/Chart/index.css +1 -1
- package/dist/components/Chart/index.js +1 -1
- package/dist/components/Tooltip/index.css +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.css +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -675,7 +675,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
675
675
|
}) });
|
|
676
676
|
};
|
|
677
677
|
var Chart = import_react.default.memo((props) => {
|
|
678
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
678
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
679
679
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
680
680
|
const { width, height } = useChartSize(containerRef);
|
|
681
681
|
const stableData = import_react.default.useMemo(() => data, [JSON.stringify(data)]);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-tooltip.dark .tooltip-title,
|
|
28
28
|
.lib-xplat-tooltip.dark .tooltip-desc {
|
|
29
|
-
color: var(--semantic-text-
|
|
29
|
+
color: var(--semantic-text-subtle);
|
|
30
30
|
}
|
|
31
31
|
.lib-xplat-tooltip.light {
|
|
32
32
|
background-color: var(--semantic-surface-neutral-default);
|
|
@@ -639,7 +639,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
639
639
|
}) });
|
|
640
640
|
};
|
|
641
641
|
var Chart = React.memo((props) => {
|
|
642
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
642
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
643
643
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
644
644
|
const { width, height } = useChartSize(containerRef);
|
|
645
645
|
const stableData = React.useMemo(() => data, [JSON.stringify(data)]);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
.lib-xplat-tooltip.dark .tooltip-title,
|
|
28
28
|
.lib-xplat-tooltip.dark .tooltip-desc {
|
|
29
|
-
color: var(--semantic-text-
|
|
29
|
+
color: var(--semantic-text-subtle);
|
|
30
30
|
}
|
|
31
31
|
.lib-xplat-tooltip.light {
|
|
32
32
|
background-color: var(--semantic-surface-neutral-default);
|
|
@@ -2869,7 +2869,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
2869
2869
|
}) });
|
|
2870
2870
|
};
|
|
2871
2871
|
var Chart = import_react6.default.memo((props) => {
|
|
2872
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
2872
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
2873
2873
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
2874
2874
|
const { width, height } = useChartSize(containerRef);
|
|
2875
2875
|
const stableData = import_react6.default.useMemo(() => data, [JSON.stringify(data)]);
|
|
@@ -1951,7 +1951,7 @@
|
|
|
1951
1951
|
}
|
|
1952
1952
|
.lib-xplat-tooltip.dark .tooltip-title,
|
|
1953
1953
|
.lib-xplat-tooltip.dark .tooltip-desc {
|
|
1954
|
-
color: var(--semantic-text-
|
|
1954
|
+
color: var(--semantic-text-subtle);
|
|
1955
1955
|
}
|
|
1956
1956
|
.lib-xplat-tooltip.light {
|
|
1957
1957
|
background-color: var(--semantic-surface-neutral-default);
|
package/dist/components/index.js
CHANGED
|
@@ -2779,7 +2779,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
2779
2779
|
}) });
|
|
2780
2780
|
};
|
|
2781
2781
|
var Chart = React6.memo((props) => {
|
|
2782
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
2782
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
2783
2783
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
2784
2784
|
const { width, height } = useChartSize(containerRef);
|
|
2785
2785
|
const stableData = React6.useMemo(() => data, [JSON.stringify(data)]);
|
package/dist/index.cjs
CHANGED
|
@@ -7268,7 +7268,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
7268
7268
|
}) });
|
|
7269
7269
|
};
|
|
7270
7270
|
var Chart = import_react6.default.memo((props) => {
|
|
7271
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
7271
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
7272
7272
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
7273
7273
|
const { width, height } = useChartSize(containerRef);
|
|
7274
7274
|
const stableData = import_react6.default.useMemo(() => data, [JSON.stringify(data)]);
|
package/dist/index.css
CHANGED
|
@@ -1951,7 +1951,7 @@
|
|
|
1951
1951
|
}
|
|
1952
1952
|
.lib-xplat-tooltip.dark .tooltip-title,
|
|
1953
1953
|
.lib-xplat-tooltip.dark .tooltip-desc {
|
|
1954
|
-
color: var(--semantic-text-
|
|
1954
|
+
color: var(--semantic-text-subtle);
|
|
1955
1955
|
}
|
|
1956
1956
|
.lib-xplat-tooltip.light {
|
|
1957
1957
|
background-color: var(--semantic-surface-neutral-default);
|
package/dist/index.js
CHANGED
|
@@ -6869,7 +6869,7 @@ var ChartLegend = ({ data, labels, type }) => {
|
|
|
6869
6869
|
}) });
|
|
6870
6870
|
};
|
|
6871
6871
|
var Chart = React6.memo((props) => {
|
|
6872
|
-
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "
|
|
6872
|
+
const { type, data, labels, tooltip: showTooltip = true, tooltipType = "light" } = props;
|
|
6873
6873
|
const { tooltip, show, hide, move, containerRef } = useChartTooltip(showTooltip);
|
|
6874
6874
|
const { width, height } = useChartSize(containerRef);
|
|
6875
6875
|
const stableData = React6.useMemo(() => data, [JSON.stringify(data)]);
|