bento-charts 2.9.3 → 2.11.2

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.
@@ -0,0 +1,25 @@
1
+ name: Test Build
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Set up Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 'lts/*'
20
+
21
+ - name: Install dependencies
22
+ run: npm install
23
+
24
+ - name: Run build script
25
+ run: npm run build
@@ -5,6 +5,7 @@ export type CategoricalChartDataType = CategoricalChartDataItem[];
5
5
  export interface CategoricalChartDataItem {
6
6
  x: string;
7
7
  y: number;
8
+ id?: string;
8
9
  }
9
10
  export type TooltipPayload = TooltipPayloadItem[];
10
11
  interface TooltipPayloadItem {
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "bento-charts",
3
- "version": "2.9.3",
3
+ "version": "2.11.2",
4
4
  "description": "Charts library for Bento-platform",
5
- "type": "module",
6
5
  "main": "dist/index.js",
7
6
  "types": "dist/index.d.ts",
8
7
  "scripts": {
@@ -7,6 +7,7 @@ export type CategoricalChartDataType = CategoricalChartDataItem[];
7
7
  export interface CategoricalChartDataItem {
8
8
  x: string;
9
9
  y: number;
10
+ id?: string;
10
11
  }
11
12
 
12
13
  export type TooltipPayload = TooltipPayloadItem[];
File without changes