@swiftplot/vue 0.6.0 → 0.6.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.
- package/dist/index.d.ts +3 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Options } from 'swiftplot';
|
|
2
|
-
import { type AreaChartProps as AreaProps, type BarChartProps as BarProps, type BoxPlotChartProps as BoxPlotProps, type CandlestickChartProps as CandlestickProps, type ComboChartProps as ComboProps, type FunnelChartProps as FunnelProps, type HeatmapChartProps as HeatmapProps, type HistogramChartProps as HistogramProps, type LineChartProps as LineProps, type PieChartProps as PieProps, type RadarChartProps as RadarProps, type RadialBarChartProps as RadialBarProps, type SankeyChartProps as SankeyProps, type ScatterChartProps as ScatterProps, type SunburstChartProps as SunburstProps, type TreemapChartProps as TreemapProps } from 'swiftplot/charts';
|
|
2
|
+
import { type AreaChartProps as AreaProps, type BarChartProps as BarProps, type BoxPlotChartProps as BoxPlotProps, type PlotOptions, type CandlestickChartProps as CandlestickProps, type ComboChartProps as ComboProps, type FunnelChartProps as FunnelProps, type HeatmapChartProps as HeatmapProps, type HistogramChartProps as HistogramProps, type LineChartProps as LineProps, type PieChartProps as PieProps, type RadarChartProps as RadarProps, type RadialBarChartProps as RadialBarProps, type SankeyChartProps as SankeyProps, type ScatterChartProps as ScatterProps, type SunburstChartProps as SunburstProps, type TreemapChartProps as TreemapProps } from 'swiftplot/charts';
|
|
3
3
|
import type { AllowedComponentProps, VNode, VNodeProps } from 'vue';
|
|
4
4
|
import { type OverlaySlot } from './bind.js';
|
|
5
|
+
export type { ScaledY2AxisProps, ScaledYAxisProps, XAxisProps, Y2AxisProps, YAxisProps, } from 'swiftplot/charts';
|
|
5
6
|
/** The chart's change callbacks arrive as Vue listeners: `@click`, `@layout`, `@hover`, `@error` and `v-model:view`, `:hidden`, `:pointer`. */
|
|
6
7
|
export type Listeners = {
|
|
7
8
|
onClick?: Options['onClick'];
|
|
@@ -33,7 +34,7 @@ export type ComboChartProps<D = undefined> = ComboProps<D> & Listeners;
|
|
|
33
34
|
export type SankeyChartProps<D = undefined> = SankeyProps<D> & StillListeners;
|
|
34
35
|
export type TreemapChartProps = TreemapProps & StillListeners;
|
|
35
36
|
export type SunburstChartProps = SunburstProps & StillListeners;
|
|
36
|
-
export type PlotProps =
|
|
37
|
+
export type PlotProps = PlotOptions & Listeners;
|
|
37
38
|
type Host = AllowedComponentProps & VNodeProps & {
|
|
38
39
|
id?: string;
|
|
39
40
|
};
|
|
@@ -59,4 +60,3 @@ export declare const SankeyChart: <D = undefined>(props: SankeyChartProps<D> & H
|
|
|
59
60
|
export declare const TreemapChart: (props: TreemapChartProps & Host, ctx?: Context) => VNode;
|
|
60
61
|
export declare const SunburstChart: (props: SunburstChartProps & Host, ctx?: Context) => VNode;
|
|
61
62
|
export declare const Plot: (props: PlotProps & Host, ctx?: Context) => VNode;
|
|
62
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swiftplot/vue",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Vue components for swiftplot charts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chart",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"vue": "^3.4",
|
|
41
|
-
"swiftplot": "^0.6.
|
|
41
|
+
"swiftplot": "^0.6.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^24.19.2",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"vitest": "^5.1.1",
|
|
49
49
|
"vue": "^3.5.46",
|
|
50
50
|
"vue-tsc": "^3.3.14",
|
|
51
|
-
"swiftplot": "0.6.
|
|
51
|
+
"swiftplot": "0.6.1"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "tsc -p tsconfig.build.json",
|