vega-typings
Advanced tools
Comparing version 0.15.0 to 0.15.1
{ | ||
"name": "vega-typings", | ||
"version": "0.15.0", | ||
"version": "0.15.1", | ||
"description": "Typings for Vega.", | ||
@@ -22,4 +22,3 @@ "types": "types", | ||
"vega-util": "^1.13.1" | ||
}, | ||
"gitHead": "2485e6f68a1cec25260c8c07b812f24925c5d726" | ||
} | ||
} |
@@ -151,3 +151,5 @@ import { | ||
/** | ||
* Translation offset in pixels applied to the axis group mark x and y. If specified, overrides the default behavior of a 0.5 offset to pixel-align stroked lines. | ||
* Coordinate space translation offset for axis layout. By default, axes are translated by a 0.5 pixel offset for both the x and y coordinates in order to align stroked lines with the pixel grid. However, for vector graphics output these pixel-specific adjustments may be undesirable, in which case translate can be changed (for example, to zero). | ||
* | ||
* __Default value:__ `0.5` | ||
*/ | ||
@@ -154,0 +156,0 @@ translate?: number; |
@@ -79,2 +79,5 @@ import { | ||
export type StrokeCap = 'butt' | 'round' | 'square'; | ||
export type StrokeJoin = 'miter' | 'round' | 'bevel'; | ||
export interface MarkConfig { | ||
@@ -177,3 +180,3 @@ /** | ||
*/ | ||
strokeCap?: string | SignalRef; | ||
strokeCap?: StrokeCap | SignalRef; | ||
@@ -186,3 +189,3 @@ /** | ||
*/ | ||
strokeJoin?: string | SignalRef; | ||
strokeJoin?: StrokeJoin | SignalRef; | ||
@@ -393,3 +396,3 @@ /** | ||
/** | ||
* The radius in pixels of rounded rectangle corners. | ||
* The radius in pixels of rounded rectangle or arc corners. | ||
* | ||
@@ -482,3 +485,3 @@ * __Default value:__ `0` | ||
*/ | ||
export interface LegendConfig extends BaseLegend { | ||
export interface LegendConfig extends ExcludeMappedValueRef<BaseLegend> { | ||
/** | ||
@@ -485,0 +488,0 @@ * The default direction (`"horizontal"` or `"vertical"`) for gradient legends. |
@@ -0,1 +1,2 @@ | ||
import { StrokeCap, StrokeJoin, Cursor } from './config.d'; | ||
import { SignalRef } from '.'; | ||
@@ -249,7 +250,7 @@ import { Color } from './color'; | ||
strokeDashOffset?: ProductionRule<NumericValueRef>; | ||
strokeCap?: ProductionRule<StringValueRef>; | ||
strokeJoin?: ProductionRule<StringValueRef>; | ||
strokeCap?: ProductionRule<ScaledValueRef<StrokeCap>>; | ||
strokeJoin?: ProductionRule<ScaledValueRef<StrokeJoin>>; | ||
strokeMiterLimit?: ProductionRule<NumericValueRef>; | ||
blend?: ProductionRule<ScaledValueRef<Blend>>; | ||
cursor?: ProductionRule<StringValueRef>; | ||
cursor?: ProductionRule<ScaledValueRef<Cursor>>; | ||
tooltip?: ProductionRule<StringValueRef>; | ||
@@ -256,0 +257,0 @@ zindex?: ProductionRule<NumericValueRef>; |
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
4116
119984
36