@oliasoft-open-source/charts-library 4.0.2 → 4.0.4-beta-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.
@@ -1152,6 +1152,52 @@ export namespace Tension {
1152
1152
  }
1153
1153
  export { args_42 as args };
1154
1154
  }
1155
+ export function TestCustomLinePointsLogic(args: any): import("react/jsx-runtime").JSX.Element;
1156
+ export namespace TestCustomLinePointsLogic {
1157
+ export namespace args_43 {
1158
+ export namespace chart_41 {
1159
+ export namespace data_23 {
1160
+ const datasets_23: ({
1161
+ label: string;
1162
+ data: {
1163
+ x: number;
1164
+ y: number;
1165
+ }[];
1166
+ showLine?: undefined;
1167
+ showPoints?: undefined;
1168
+ } | {
1169
+ label: string;
1170
+ showLine: boolean;
1171
+ data: {
1172
+ x: number;
1173
+ y: number;
1174
+ }[];
1175
+ showPoints?: undefined;
1176
+ } | {
1177
+ label: string;
1178
+ showPoints: boolean;
1179
+ data: {
1180
+ x: number;
1181
+ y: number;
1182
+ }[];
1183
+ showLine?: undefined;
1184
+ } | {
1185
+ label: string;
1186
+ showPoints: boolean;
1187
+ showLine: boolean;
1188
+ data: {
1189
+ x: number;
1190
+ y: number;
1191
+ }[];
1192
+ })[];
1193
+ export { datasets_23 as datasets };
1194
+ }
1195
+ export { data_23 as data };
1196
+ }
1197
+ export { chart_41 as chart };
1198
+ }
1199
+ export { args_43 as args };
1200
+ }
1155
1201
  import { LineChart } from './line-chart';
1156
1202
  declare namespace basicChart { }
1157
1203
  declare const customLegendContainerID: "custom-legend-container";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/charts-library",
3
- "version": "4.0.2",
3
+ "version": "4.0.4-beta-1",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "homepage": "https://gitlab.com/oliasoft-open-source/charts-library",
6
6
  "resolutions": {
@@ -15,6 +15,7 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "author": "Oliasoft AS and contributors",
18
+ "type": "module",
18
19
  "main": "./dist/index.js",
19
20
  "module": "./dist/index.js",
20
21
  "types": "./dist/index.d.ts",
@@ -22,7 +23,7 @@
22
23
  "dist"
23
24
  ],
24
25
  "scripts": {
25
- "build:package": "vite build --config vite.config.mjs",
26
+ "build:package": "vite build --config vite.config.ts",
26
27
  "build": "yarn build:package && storybook build --quiet --output-dir ./public",
27
28
  "dev:storybook": "storybook dev -p 6006",
28
29
  "lint:check": "eslint \"**/*.{js,jsx,ts,tsx}\"",