vega-typings
Advanced tools
Comparing version 0.21.0 to 0.22.0
{ | ||
"name": "vega-typings", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "Typings for Vega.", | ||
@@ -21,5 +21,7 @@ "types": "types", | ||
"dependencies": { | ||
"vega-event-selector": "^3.0.0", | ||
"vega-expression": "^5.0.0", | ||
"vega-util": "^1.15.2" | ||
}, | ||
"gitHead": "fa2028c00b859c4485cac836c5a314fd37b7f109" | ||
"gitHead": "774165e29850b66ec8b79ba52a7955f1ab936ea6" | ||
} |
@@ -10,2 +10,3 @@ export interface Changeset { | ||
export class Operator { | ||
source?: Operator; | ||
constructor(init?: any, update?: (obj: any, pulse: any) => any, params?: any, react?: boolean); | ||
@@ -12,0 +13,0 @@ targets(): any; |
@@ -0,1 +1,2 @@ | ||
import { LoggerInterface } from 'vega-util'; | ||
import { | ||
@@ -7,12 +8,9 @@ Color, | ||
Format, | ||
NumberLocale, | ||
Padding, | ||
SignalValue, | ||
Spec, | ||
TimeLocale, | ||
} from '../spec'; | ||
import { Changeset, Transform } from './dataflow'; | ||
import { Renderers } from './renderer'; | ||
import { Changeset, Transform } from './dataflow'; | ||
import { Scene } from './scene'; | ||
import { LoggerInterface } from 'vega-util'; | ||
@@ -257,2 +255,4 @@ // TODO | ||
export { parseSelector } from 'vega-event-selector'; | ||
export { codegenExpression, parseExpression } from 'vega-expression'; | ||
export * from 'vega-util'; | ||
@@ -262,5 +262,1 @@ export * from './dataflow'; | ||
export * from './scene'; | ||
export { codegen as codegenExpression, parse as parseExpression } from 'vega-expression'; | ||
export { selector as parseSelector } from 'vega-event-selector'; |
@@ -1,2 +0,1 @@ | ||
import { Scene, SceneItem } from './scene'; | ||
import { Loader } from '.'; | ||
@@ -3,0 +2,0 @@ |
@@ -0,1 +1,3 @@ | ||
import { Operator } from './dataflow'; | ||
export interface Scene { | ||
@@ -39,3 +41,12 @@ bounds: Bounds; | ||
datum?: object; | ||
mark: { role: string }; | ||
mark: { | ||
bounds: Bounds; | ||
clip: boolean; | ||
interactive: boolean; | ||
items: SceneItem[]; | ||
marktype: string; | ||
role: string; | ||
source: Operator; | ||
zindex: number; | ||
}; | ||
x: number; | ||
@@ -45,2 +56,6 @@ y: number; | ||
export type SceneAxis = SceneItem & { | ||
orient: 'bottom' | 'left' | 'right' | 'top'; | ||
}; | ||
export type SceneRect = SceneItem & { | ||
@@ -47,0 +62,0 @@ fill: string; |
@@ -517,3 +517,3 @@ import { | ||
anchor?: LabelAnchor[] | LabelAnchor | SignalRef; | ||
padding?: number | SignalRef; | ||
padding?: number | null | SignalRef; | ||
markIndex?: number; | ||
@@ -520,0 +520,0 @@ lineAnchor?: LineLabelAnchor | SignalRef; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139516
4650
3
+ Addedvega-event-selector@^3.0.0
+ Addedvega-expression@^5.0.0
+ Added@types/estree@1.0.6(transitive)
+ Addedvega-event-selector@3.0.1(transitive)
+ Addedvega-expression@5.1.1(transitive)