@vuu-ui/vuu-chart 4.0.0-beta.3 → 4.0.0-beta.4

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.0-beta.3",
2
+ "version": "4.0.0-beta.4",
3
3
  "description": "support for apache echarts using vuu data",
4
4
  "main": "./src/index.js",
5
5
  "license": "Apache-2.0",
@@ -9,15 +9,16 @@
9
9
  "type-defs": "node ../../scripts/build-type-defs.mjs"
10
10
  },
11
11
  "devDependencies": {
12
- "@vuu-ui/vuu-data-types": "4.0.0-beta.3",
13
- "@vuu-ui/vuu-protocol-types": "4.0.0-beta.3",
14
- "@vuu-ui/vuu-data-local": "4.0.0-beta.3"
12
+ "@vuu-ui/vuu-data-types": "4.0.0-beta.4",
13
+ "@vuu-ui/vuu-protocol-types": "4.0.0-beta.4",
14
+ "@vuu-ui/vuu-data-local": "4.0.0-beta.4"
15
15
  },
16
16
  "dependencies": {
17
17
  "@salt-ds/styles": "0.4.1",
18
18
  "@salt-ds/window": "0.1.2",
19
- "@vuu-ui/vuu-context-menu": "4.0.0-beta.3",
20
- "@vuu-ui/vuu-utils": "4.0.0-beta.3",
19
+ "@vuu-ui/vuu-context-menu": "4.0.0-beta.4",
20
+ "@vuu-ui/vuu-ui-controls": "4.0.0-beta.4",
21
+ "@vuu-ui/vuu-utils": "4.0.0-beta.4",
21
22
  "clsx": "^2.0.0",
22
23
  "echarts": "6.1.0"
23
24
  },
package/src/Chart.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useComponentCssInjection } from "@salt-ds/styles";
3
3
  import { useWindow } from "@salt-ds/window";
4
+ import { MeasuredContainer } from "@vuu-ui/vuu-ui-controls";
5
+ import { buildColumnMap } from "@vuu-ui/vuu-utils";
4
6
  import clsx from "clsx";
5
7
  import { getInstanceByDom, init } from "echarts";
6
8
  import { useCallback, useEffect, useRef, useState } from "react";
7
9
  import { useChartContextMenu } from "./useChartContextMenu.js";
8
10
  import { useChartOptions } from "./useChartOptions.js";
9
11
  import { useChartSelection } from "./useChartSelection.js";
10
- import { buildColumnMap } from "@vuu-ui/vuu-utils";
11
- import { MeasuredContainer } from "@vuu-ui/vuu-ui-controls";
12
12
  import Chart from "./Chart.css";
13
13
  const classBase = "vuuChart";
14
14
  const Chart_Chart = ({ categoryColumnName, chartSettings = {
package/types/Chart.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ChartOptionsProps } from "./useChartOptions";
2
1
  import { type MeasuredContainerProps } from "@vuu-ui/vuu-ui-controls";
2
+ import { type ChartOptionsProps } from "./useChartOptions";
3
3
  type OptionSettings = {
4
4
  notMerge: boolean;
5
5
  };