Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
# "github.event.release.target_commitish" is a global variable and specifies the branch the release targeted
ref: ${{ github.event.release.target_commitish }}
# install Node.js
- name: Use Node.js 16
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
node-version: 16
node-version: latest
# Specifies the registry, this field is required!
registry-url: https://registry.npmjs.org/
# clean install of your projects' deps. We use "npm ci" to avoid package lock changes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
# this will check out the current branch (https://github.com/actions/checkout#Push-a-commit-using-the-built-in-token)
- uses: actions/checkout@v3
# installing Node
- name: Use Node.js 16.x
- name: Use Node.js latest
uses: actions/setup-node@v3
with:
# this will use the latest Node 16 version
node-version: 16.x
node-version: latest
# install dependencies using clean install to avoid package lock updates
- run: npm ci --legacy-peer-deps
# build the project if necessary
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/report.html

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/types/src/BarChart.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { SpringConfig } from "@react-spring/web";
import { TLabelComponent } from "./components/Label";
import { TipFunc } from "./components/ToolTip";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/Chord.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { ColorScheme } from "./utils/colorScheme";
export type Props = {
width: number;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/Histogram.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { SpringConfig } from "@react-spring/web";
import { EChartDirection } from "./BarChart";
import { TLabelComponent } from "./components/Label";
Expand Down
2 changes: 1 addition & 1 deletion dist/types/src/Histogram.spec.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import "@testing-library/jest-dom";
import '@testing-library/jest-dom';
1 change: 0 additions & 1 deletion dist/types/src/JoyPlot.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { EChartDirection } from "./BarChart";
import { TipFunc } from "./components/ToolTip";
import { ELabelOrientation, TAxisLabelFormat } from "./components/YAxis";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/Legend.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { BarChartDataSet } from "./Histogram";
type Props = {
className?: string;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/Map.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { ExtendedFeatureCollection, GeoProjection } from "d3";
import { Props as BaseProps } from "./components/Base";
import { TipFunc } from "./components/ToolTip";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/PieChart.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { RingItem } from "./components/Ring";
import { TipFunc } from "./components/ToolTip";
import { BarChartDataSet } from "./Histogram";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/RadarChart.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { PointStyle } from "./components/Points";
import { ColorScheme } from "./utils/colorScheme";
export type RadarChartData = {
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/TornadoChart.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { EChartDirection } from "./BarChart";
import { TipFunc } from "./components/ToolTip";
import { EGroupedBarLayout, HistogramBar } from "./Histogram";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/UpsetChart.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { TLabelComponent } from "./components/Label";
import { ColorScheme } from "./utils/colorScheme";
export type TUpsetData = {
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/AreaFill.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { AnyChartPoint, ChartPoint, LineProps } from "../LineChart";
import { Axes } from "../utils/types";
type Props<T extends AnyChartPoint = ChartPoint> = {
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/Bars/Bars.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { SpringConfig } from "@react-spring/web";
import { EChartDirection } from "../../BarChart";
import { BarChartDataSet, EGroupedBarLayout, GroupDataItem, HistogramBar } from "../../Histogram";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/Bars/HistogramBars.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { SpringConfig } from "@react-spring/web";
import { EChartDirection } from "../../BarChart";
import { BarChartDataSet } from "../../Histogram";
Expand Down
2 changes: 1 addition & 1 deletion dist/types/src/components/Brush.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ReactNode } from "react";
import { ReactNode } from 'react';
type Position = {
start: number;
end: number;
Expand Down
7 changes: 3 additions & 4 deletions dist/types/src/components/Label.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/// <reference types="react" />
import { SpringValue } from "@react-spring/web";
import { EChartDirection } from "../BarChart";
import { ExtendedGroupItem } from "./Bars/Bars";
import { SpringValue } from '@react-spring/web';
import { EChartDirection } from '../BarChart';
import { ExtendedGroupItem } from './Bars/Bars';
export type Props = {
direction?: EChartDirection;
fill?: string;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/Line.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { Props as UseMakeLineProps } from "../utils/useMakeLine";
type Props = {
animate?: boolean;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/Ring.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { BarChartDataSet } from "../Histogram";
import { ColorScheme } from "../utils/colorScheme";
import { TipFunc } from "./ToolTip";
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/ToolTip.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
import { ExtendedGroupItem } from "./Bars/Bars";
export type TipFunc = (props: {
item: ExtendedGroupItem;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/Web.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
type Props = {
axis?: {
stroke?: string;
Expand Down
1 change: 0 additions & 1 deletion dist/types/src/components/XAxis.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/// <reference types="react" />
import { Axis } from "./YAxis";
export declare const XAxis: ({ labelFormat, values, tickSize, width, height, path, top, left, scale, domain, padding, tickFormat, labelOrientation, inverse, }: Axis) => JSX.Element;
1 change: 0 additions & 1 deletion dist/types/src/utils/colorScheme.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="react" />
export type Gradient = {
gradientTransform?: string;
stops: {
Expand Down
2 changes: 1 addition & 1 deletion dist/types/src/utils/useJoyPlot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BarChartData } from "../Histogram";
export declare const useJoyPlot: ({ data, height, clampToZero, }: {
data: BarChartData[];
height: number;
clampToZero?: boolean | undefined;
clampToZero?: boolean;
}) => {
chartHeight: number;
bins: string[];
Expand Down
Loading