@unovis/react 1.0.0-beta.3 → 1.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/components/area/index.d.ts +10 -10
- package/components/area/index.js +8 -6
- package/components/area/index.js.map +1 -1
- package/components/axis/index.d.ts +10 -10
- package/components/axis/index.js +8 -6
- package/components/axis/index.js.map +1 -1
- package/components/brush/index.d.ts +10 -10
- package/components/brush/index.js +8 -6
- package/components/brush/index.js.map +1 -1
- package/components/chord-diagram/index.d.ts +13 -13
- package/components/crosshair/index.d.ts +10 -10
- package/components/crosshair/index.js +8 -6
- package/components/crosshair/index.js.map +1 -1
- package/components/donut/index.d.ts +10 -10
- package/components/donut/index.js +8 -6
- package/components/donut/index.js.map +1 -1
- package/components/free-brush/index.d.ts +10 -10
- package/components/free-brush/index.js +8 -6
- package/components/free-brush/index.js.map +1 -1
- package/components/graph/index.d.ts +10 -10
- package/components/graph/index.js +8 -6
- package/components/graph/index.js.map +1 -1
- package/components/grouped-bar/index.d.ts +10 -10
- package/components/grouped-bar/index.js +8 -6
- package/components/grouped-bar/index.js.map +1 -1
- package/components/line/index.d.ts +10 -10
- package/components/line/index.js +8 -6
- package/components/line/index.js.map +1 -1
- package/components/sankey/index.d.ts +10 -10
- package/components/sankey/index.js +8 -6
- package/components/sankey/index.js.map +1 -1
- package/components/scatter/index.d.ts +10 -10
- package/components/scatter/index.js +8 -6
- package/components/scatter/index.js.map +1 -1
- package/components/stacked-bar/index.d.ts +10 -10
- package/components/stacked-bar/index.js +8 -6
- package/components/stacked-bar/index.js.map +1 -1
- package/components/timeline/index.d.ts +10 -10
- package/components/timeline/index.js +8 -6
- package/components/timeline/index.js.map +1 -1
- package/components/tooltip/index.d.ts +10 -10
- package/components/tooltip/index.js +8 -6
- package/components/tooltip/index.js.map +1 -1
- package/components/topojson-map/index.d.ts +14 -14
- package/components/topojson-map/index.js +8 -6
- package/components/topojson-map/index.js.map +1 -1
- package/components/xy-labels/index.d.ts +10 -10
- package/components/xy-labels/index.js +8 -6
- package/components/xy-labels/index.js.map +1 -1
- package/components.d.ts +19 -19
- package/composites/time-series/index.d.ts +54 -54
- package/composites/time-series/style.d.ts +3 -3
- package/composites.d.ts +1 -1
- package/containers/single-container/index.d.ts +6 -6
- package/containers/xy-container/index.d.ts +8 -8
- package/containers.d.ts +2 -2
- package/html-components/bullet-legend/index.d.ts +3 -3
- package/html-components/leaflet-flow-map/index.d.ts +15 -15
- package/html-components/leaflet-map/index.d.ts +12 -12
- package/index.d.ts +3 -3
- package/package.json +5 -3
- package/types/dom.d.ts +3 -3
- package/utils/react.d.ts +4 -4
- package/utils/react.js +1 -1
- package/utils/react.js.map +1 -1
- package/src/components/area/index.d.ts +0 -10
- package/src/components/axis/index.d.ts +0 -10
- package/src/components/brush/index.d.ts +0 -10
- package/src/components/chord-diagram/index.d.ts +0 -13
- package/src/components/crosshair/index.d.ts +0 -10
- package/src/components/donut/index.d.ts +0 -10
- package/src/components/free-brush/index.d.ts +0 -10
- package/src/components/graph/index.d.ts +0 -10
- package/src/components/grouped-bar/index.d.ts +0 -10
- package/src/components/line/index.d.ts +0 -10
- package/src/components/sankey/index.d.ts +0 -10
- package/src/components/scatter/index.d.ts +0 -10
- package/src/components/stacked-bar/index.d.ts +0 -10
- package/src/components/timeline/index.d.ts +0 -10
- package/src/components/tooltip/index.d.ts +0 -10
- package/src/components/topojson-map/index.d.ts +0 -14
- package/src/components/xy-labels/index.d.ts +0 -10
- package/src/components.d.ts +0 -19
- package/src/composites/time-series/index.d.ts +0 -54
- package/src/composites/time-series/style.d.ts +0 -3
- package/src/composites.d.ts +0 -1
- package/src/containers/single-container/index.d.ts +0 -6
- package/src/containers/xy-container/index.d.ts +0 -8
- package/src/containers.d.ts +0 -2
- package/src/html-components/bullet-legend/index.d.ts +0 -3
- package/src/html-components/leaflet-flow-map/index.d.ts +0 -15
- package/src/html-components/leaflet-map/index.d.ts +0 -12
- package/src/index.d.ts +0 -3
- package/src/types/dom.d.ts +0 -3
- package/src/utils/react.d.ts +0 -4
package/src/components.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './components/line';
|
|
2
|
-
export * from './components/area';
|
|
3
|
-
export * from './components/axis';
|
|
4
|
-
export * from './components/brush/';
|
|
5
|
-
export * from './components/free-brush';
|
|
6
|
-
export * from './components/crosshair/';
|
|
7
|
-
export * from './components/donut/';
|
|
8
|
-
export * from './components/graph';
|
|
9
|
-
export * from './components/grouped-bar/';
|
|
10
|
-
export * from './components/scatter/';
|
|
11
|
-
export * from './components/sankey';
|
|
12
|
-
export * from './components/stacked-bar/';
|
|
13
|
-
export * from './components/tooltip/';
|
|
14
|
-
export * from './components/timeline/';
|
|
15
|
-
export * from './components/topojson-map/';
|
|
16
|
-
export * from './components/xy-labels';
|
|
17
|
-
export * from './html-components/bullet-legend';
|
|
18
|
-
export * from './html-components/leaflet-map';
|
|
19
|
-
export * from './html-components/leaflet-flow-map';
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Spacing } from '@unovis/ts';
|
|
2
|
-
export declare type VisTimeSeriesDatum = {
|
|
3
|
-
timestamp: number;
|
|
4
|
-
value: number;
|
|
5
|
-
id?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type VisTimeSeriesProps<Datum> = {
|
|
9
|
-
data: Datum[];
|
|
10
|
-
margin: Spacing;
|
|
11
|
-
autoMargin: boolean;
|
|
12
|
-
x: (d: Datum, i: number) => number;
|
|
13
|
-
y: (d: Datum, i: number) => number;
|
|
14
|
-
id: (d: Datum, i: number) => string;
|
|
15
|
-
color: (d: Datum, i: number) => string;
|
|
16
|
-
cursor: string | ((d: Datum, i: number) => string);
|
|
17
|
-
formatXTicks?: (timestamp: number) => string;
|
|
18
|
-
formatYTicks?: (timestamp: number) => string;
|
|
19
|
-
selectionMinLength: number;
|
|
20
|
-
onBrushStart?: (selection: [number, number], e?: {
|
|
21
|
-
sourceEvent: MouseEvent;
|
|
22
|
-
}, userDriven?: boolean) => void;
|
|
23
|
-
onBrushMove?: (selection: [number, number], e?: {
|
|
24
|
-
sourceEvent: MouseEvent;
|
|
25
|
-
}, userDriven?: boolean) => void;
|
|
26
|
-
onBrushEnd?: (selection: [number, number], e?: {
|
|
27
|
-
sourceEvent: MouseEvent;
|
|
28
|
-
}, userDriven?: boolean) => void;
|
|
29
|
-
formatNavXTicks?: (timestamp: number) => string;
|
|
30
|
-
xLabel?: string;
|
|
31
|
-
yLabel?: string;
|
|
32
|
-
crosshairTemplate?: (d: Datum) => string | HTMLElement;
|
|
33
|
-
className?: string;
|
|
34
|
-
height?: string;
|
|
35
|
-
};
|
|
36
|
-
export declare function VisTimeSeries<Datum>(props: VisTimeSeriesProps<Datum>): JSX.Element;
|
|
37
|
-
export declare namespace VisTimeSeries {
|
|
38
|
-
var defaultProps: {
|
|
39
|
-
margin: {
|
|
40
|
-
top: number;
|
|
41
|
-
bottom: number;
|
|
42
|
-
left: number;
|
|
43
|
-
right: number;
|
|
44
|
-
};
|
|
45
|
-
autoMargin: boolean;
|
|
46
|
-
padding: {};
|
|
47
|
-
x: (d: VisTimeSeriesDatum) => number;
|
|
48
|
-
y: (d: VisTimeSeriesDatum) => number;
|
|
49
|
-
id: (d: VisTimeSeriesDatum) => string | undefined;
|
|
50
|
-
color: (d: VisTimeSeriesDatum) => string | undefined;
|
|
51
|
-
formatYTicks: (d: number) => string;
|
|
52
|
-
crosshairTemplate: (d: VisTimeSeriesDatum) => string;
|
|
53
|
-
};
|
|
54
|
-
}
|
package/src/composites.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './composites/time-series';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { SingleContainerConfigInterface } from '@unovis/ts';
|
|
3
|
-
export declare type VisSingleContainerProps<Data> = SingleContainerConfigInterface<Data> & {
|
|
4
|
-
data?: Data;
|
|
5
|
-
};
|
|
6
|
-
export declare const VisSingleContainer: (<Data>(props: PropsWithChildren<VisSingleContainerProps<Data>>) => JSX.Element | null);
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { XYContainerConfigInterface } from '@unovis/ts';
|
|
3
|
-
export declare type VisXYContainerProps<Datum> = XYContainerConfigInterface<Datum> & {
|
|
4
|
-
data?: Datum[];
|
|
5
|
-
className?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function VisXYContainerFC<Datum>(props: PropsWithChildren<VisXYContainerProps<Datum>>): JSX.Element;
|
|
8
|
-
export declare const VisXYContainer: (<Datum>(props: PropsWithChildren<VisXYContainerProps<Datum>>) => JSX.Element | null);
|
package/src/containers.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ForwardedRef, Ref } from 'react';
|
|
2
|
-
import { LeafletFlowMap, LeafletFlowMapConfigInterface } from '@unovis/ts';
|
|
3
|
-
export declare type VisLeafletFlowMapProps<PointDatum, FlowDatum> = LeafletFlowMapConfigInterface<PointDatum, FlowDatum> & {
|
|
4
|
-
data?: {
|
|
5
|
-
points: PointDatum[];
|
|
6
|
-
flows: FlowDatum[];
|
|
7
|
-
};
|
|
8
|
-
ref?: Ref<VisLeafletFlowMapRef<PointDatum, FlowDatum>>;
|
|
9
|
-
className?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare type VisLeafletFlowMapRef<PointDatum, FlowDatum> = {
|
|
12
|
-
component: LeafletFlowMap<PointDatum, FlowDatum> | undefined;
|
|
13
|
-
};
|
|
14
|
-
export declare function VisLeafletFlowMapFC<PointDatum, FlowDatum>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>, ref: ForwardedRef<VisLeafletFlowMapRef<PointDatum, FlowDatum>>): JSX.Element;
|
|
15
|
-
export declare const VisLeafletFlowMap: (<PointDatum, FlowDatum>(props: VisLeafletFlowMapProps<PointDatum, FlowDatum>) => JSX.Element | null);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ForwardedRef, Ref } from 'react';
|
|
2
|
-
import { LeafletMap, LeafletMapConfigInterface } from '@unovis/ts';
|
|
3
|
-
export declare type VisLeafletMapProps<Datum> = LeafletMapConfigInterface<Datum> & {
|
|
4
|
-
data?: Datum[];
|
|
5
|
-
ref?: Ref<VisLeafletMapRef<Datum>>;
|
|
6
|
-
className?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare type VisLeafletMapRef<Datum> = {
|
|
9
|
-
component: LeafletMap<Datum> | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare function VisLeafletMapFC<Datum>(props: VisLeafletMapProps<Datum>, ref: ForwardedRef<VisLeafletMapRef<Datum>>): JSX.Element;
|
|
12
|
-
export declare const VisLeafletMap: (<Datum>(props: VisLeafletMapProps<Datum>) => JSX.Element | null);
|
package/src/index.d.ts
DELETED
package/src/types/dom.d.ts
DELETED
package/src/utils/react.d.ts
DELETED