@gravitee/graphene-charts 3.17.0 → 3.18.0
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/USAGE_GUIDE.md +71 -1
- package/dist/base/ChartBrush/ChartBrush.d.ts +47 -0
- package/dist/base/ChartBrush/ChartBrush.d.ts.map +1 -0
- package/dist/base/ChartBrush/index.d.ts +3 -0
- package/dist/base/ChartBrush/index.d.ts.map +1 -0
- package/dist/charts/AreaChart/AreaChart.d.ts +8 -1
- package/dist/charts/AreaChart/AreaChart.d.ts.map +1 -1
- package/dist/charts/LineChart/LineChart.d.ts +7 -1
- package/dist/charts/LineChart/LineChart.d.ts.map +1 -1
- package/dist/dashboard-grid/DashboardGrid.d.ts.map +1 -1
- package/dist/dashboard-grid/DashboardWidget.d.ts.map +1 -1
- package/dist/dashboard-grid/index.js +42 -31
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1684 -1632
- package/dist/lineage/index.js +12 -12
- package/dist/primitives/CartesianChart.d.ts.map +1 -1
- package/dist/primitives/ChartBrushOverlay.d.ts +24 -0
- package/dist/primitives/ChartBrushOverlay.d.ts.map +1 -0
- package/dist/primitives/ChartSlots.d.ts +17 -2
- package/dist/primitives/ChartSlots.d.ts.map +1 -1
- package/dist/primitives/ReferenceLine.d.ts.map +1 -1
- package/dist/primitives/cartesianGeometry.d.ts +98 -0
- package/dist/primitives/cartesianGeometry.d.ts.map +1 -0
- package/dist/primitives/chartBadge.d.ts +13 -0
- package/dist/primitives/chartBadge.d.ts.map +1 -0
- package/dist/primitives/index.d.ts +2 -1
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/useChartBrush.d.ts +51 -0
- package/dist/primitives/useChartBrush.d.ts.map +1 -0
- package/dist/primitives/useDevWarning.d.ts +21 -0
- package/dist/primitives/useDevWarning.d.ts.map +1 -0
- package/dist/{primitives-DxLTufiI.js → primitives-BvnyBVmf.js} +525 -252
- package/dist/series/AreaSeries.d.ts +9 -1
- package/dist/series/AreaSeries.d.ts.map +1 -1
- package/dist/series/LineSeries.d.ts +8 -1
- package/dist/series/LineSeries.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PointMarkerMode } from '../primitives/cartesianGeometry';
|
|
1
2
|
import { CurveType } from './curves';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export interface AreaSeriesProps {
|
|
@@ -9,8 +10,15 @@ export interface AreaSeriesProps {
|
|
|
9
10
|
fillOpacity?: number;
|
|
10
11
|
gradient?: boolean;
|
|
11
12
|
connectNulls?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Draw a mark at each reading. `'auto'` follows the reader: marks appear once
|
|
15
|
+
* the points sit far enough apart that the curve stops carrying them, and a
|
|
16
|
+
* series with a single reading is always marked, since there is no line to
|
|
17
|
+
* draw at one point.
|
|
18
|
+
*/
|
|
19
|
+
showDots?: PointMarkerMode;
|
|
12
20
|
}
|
|
13
|
-
declare function AreaSeries({ dataKey, axisId, stackId, curveType, fillOpacity, gradient, connectNulls, }: AreaSeriesProps): React.JSX.Element;
|
|
21
|
+
declare function AreaSeries({ dataKey, axisId, stackId, curveType, fillOpacity, gradient, connectNulls, showDots, }: AreaSeriesProps): React.JSX.Element;
|
|
14
22
|
declare namespace AreaSeries {
|
|
15
23
|
var seriesType: "AreaSeries";
|
|
16
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AreaSeries.d.ts","sourceRoot":"","sources":["../../src/series/AreaSeries.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AreaSeries.d.ts","sourceRoot":"","sources":["../../src/series/AreaSeries.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAG9F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AA6BD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,OAAO,EACP,SAAsB,EACtB,WAAiB,EACjB,QAAe,EACf,YAAoB,EACpB,QAAgB,GACjB,EAAE,eAAe,qBA+MjB;kBAxNQ,UAAU;;;AA4NnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PointMarkerMode } from '../primitives/cartesianGeometry';
|
|
1
2
|
import { CurveType } from './curves';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export type { CurveType } from './curves';
|
|
@@ -6,7 +7,13 @@ export interface LineSeriesProps {
|
|
|
6
7
|
/** Bind this series to a specific value axis (e.g. `"left"` or `"right"`). */
|
|
7
8
|
axisId?: string;
|
|
8
9
|
curveType?: CurveType;
|
|
9
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Draw a mark at each reading. `'auto'` follows the reader: marks appear once
|
|
12
|
+
* the points sit far enough apart that the curve stops carrying them, and a
|
|
13
|
+
* series with a single reading is always marked, since there is no line to
|
|
14
|
+
* draw at one point.
|
|
15
|
+
*/
|
|
16
|
+
showDots?: PointMarkerMode;
|
|
10
17
|
connectNulls?: boolean;
|
|
11
18
|
}
|
|
12
19
|
declare function LineSeries({ dataKey, axisId, curveType, showDots, connectNulls, }: LineSeriesProps): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineSeries.d.ts","sourceRoot":"","sources":["../../src/series/LineSeries.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LineSeries.d.ts","sourceRoot":"","sources":["../../src/series/LineSeries.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAG9F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAsBD,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,SAAsB,EACtB,QAAgB,EAChB,YAAoB,GACrB,EAAE,eAAe,qBAyHjB;kBA/HQ,UAAU;;;AAmInB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/graphene-charts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Theme-compliant data visualization components for the Graphene design system. Built on D3, styled with Tailwind, and designed to inherit the Graphene token system out of the box.",
|
|
6
6
|
"keywords": [
|