Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vega-typings

Package Overview
Dependencies
Maintainers
4
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vega-typings - npm Package Compare versions

Comparing version 0.15.0 to 0.15.1

5

package.json
{
"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"
}
}

4

types/spec/axis.d.ts

@@ -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>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc