@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.
@@ -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 = "dark" } = props;
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-inverse);
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 = "dark" } = props;
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-inverse);
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 = "dark" } = props;
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-inverse);
1954
+ color: var(--semantic-text-subtle);
1955
1955
  }
1956
1956
  .lib-xplat-tooltip.light {
1957
1957
  background-color: var(--semantic-surface-neutral-default);
@@ -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 = "dark" } = props;
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 = "dark" } = props;
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-inverse);
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 = "dark" } = props;
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)]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-plat/design-system",
3
- "version": "0.5.41",
3
+ "version": "0.5.42",
4
4
  "description": "XPLAT UI Design System",
5
5
  "author": "XPLAT WOONG",
6
6
  "main": "dist/index.cjs",