vega-typings
Advanced tools
Comparing version 0.19.2 to 0.20.0
{ | ||
"name": "vega-typings", | ||
"version": "0.19.2", | ||
"version": "0.20.0", | ||
"description": "Typings for Vega.", | ||
@@ -23,3 +23,3 @@ "types": "types", | ||
}, | ||
"gitHead": "cf8e57d9657f27d7e8c27a106d4727b4ee0ef254" | ||
"gitHead": "f262105e75449760b0f35fda70e6b576a31d68a4" | ||
} |
@@ -260,1 +260,5 @@ import { | ||
export * from './scene'; | ||
export { codegen as codegenExpression, parse as parseExpression } from 'vega-expression'; | ||
export { selector as parseSelector } from 'vega-event-selector'; |
@@ -27,2 +27,7 @@ export type Element = string; | ||
} | ||
export type Binding = BindCheckbox | BindRadioSelect | BindRange | InputBinding; | ||
export interface DirectBinding { | ||
element: Element | EventTarget; | ||
event?: string; | ||
debounce?: number; | ||
} | ||
export type Binding = BindCheckbox | BindRadioSelect | BindRange | InputBinding | DirectBinding; |
@@ -498,2 +498,15 @@ import { | ||
export type LabelAnchor = | ||
| 'left' | ||
| 'right' | ||
| 'top' | ||
| 'bottom' | ||
| 'top-left' | ||
| 'top-right' | ||
| 'bottom-left' | ||
| 'bottom-right' | ||
| 'middle'; | ||
export type LineLabelAnchor = 'begin' | 'end'; | ||
export type AreaLabelMethod = 'naive' | 'reduced-search' | 'floodfill'; | ||
export interface LabelTransform { | ||
@@ -504,8 +517,9 @@ type: 'label'; | ||
offset?: number[] | number | SignalRef; | ||
anchor?: string[] | string | SignalRef; | ||
anchor?: LabelAnchor[] | LabelAnchor | SignalRef; | ||
padding?: number | SignalRef; | ||
markIndex?: number; | ||
lineAnchor?: 'begin' | 'end' | SignalRef; | ||
lineAnchor?: LineLabelAnchor | SignalRef; | ||
avoidBaseMark?: boolean | SignalRef; | ||
avoidMarks?: string[]; | ||
method?: AreaLabelMethod; | ||
as?: Vector7<string | SignalRef> | SignalRef; | ||
@@ -512,0 +526,0 @@ } |
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
135254
4530