Socket
Socket
Sign inDemoInstall

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.14.2 to 0.15.0

LICENSE

5

package.json
{
"name": "vega-typings",
"version": "0.14.2",
"version": "0.15.0",
"description": "Typings for Vega.",

@@ -22,3 +22,4 @@ "types": "types",

"vega-util": "^1.13.1"
}
},
"gitHead": "2485e6f68a1cec25260c8c07b812f24925c5d726"
}

2

types/runtime/index.d.ts

@@ -26,3 +26,3 @@ import { DataType, EncodeEntryName, Format, SignalValue, Spec } from '../spec';

initialize(dom?: Element | string): this;
finalize(): void;
finalize(): this;
logLevel(level: number): this;

@@ -29,0 +29,0 @@ renderer(renderer: Renderers): this;

@@ -208,3 +208,3 @@ import {

/**
* Vertical text baseline for axis titles.
* Vertical text baseline for axis titles. One of `"alphabetic"` (default), `"top"`, `"middle"`, `"bottom"`, `"line-top"`, or `"line-bottom"`. The `"line-top"` and `"line-bottom"` values operate similarly to `"top"` and `"bottom"`, but are calculated relative to the *lineHeight* rather than *fontSize* alone.
*/

@@ -249,3 +249,3 @@ titleBaseline?: TextBaselineValue;

/**
* Line height in pixels for multi-line title text.
* Line height in pixels for multi-line title text or title text with `"line-top"` or `"line-bottom"` baseline.
*/

@@ -305,3 +305,3 @@ titleLineHeight?: NumberValue;

/**
* For band scales, indicates if ticks and grid lines should be placed at the center of a band (default) or at the band extents to indicate intervals.
* For band scales, indicates if ticks and grid lines should be placed at the `"center"` of a band (default) or at the band `"extent"`s to indicate intervals
*/

@@ -419,3 +419,4 @@ tickBand?: 'center' | 'extent' | SignalRef;

/**
* Vertical text baseline of axis tick labels, overriding the default setting for the current axis orientation. Can be `"top"`, `"middle"`, `"bottom"`, or `"alphabetic"`.
* Vertical text baseline of axis tick labels, overriding the default setting for the current axis orientation.
* One of `"alphabetic"` (default), `"top"`, `"middle"`, `"bottom"`, `"line-top"`, or `"line-bottom"`. The `"line-top"` and `"line-bottom"` values operate similarly to `"top"` and `"bottom"`, but are calculated relative to the *lineHeight* rather than *fontSize* alone.
*/

@@ -444,3 +445,3 @@ labelBaseline?: TextBaselineValue;

/**
* Line height in pixels for multi-line label text.
* Line height in pixels for multi-line label text or label text with `"line-top"` or `"line-bottom"` baseline.
*/

@@ -447,0 +448,0 @@ labelLineHeight?: NumberValue;

@@ -255,2 +255,28 @@ import {

/**
* The start angle in radians for arc marks.
*/
startAngle?: number | SignalRef;
/**
* The start angle in radians for arc marks.
*/
endAngle?: number | SignalRef;
/**
* The inner radius in pixels of arc marks.
*
* @minimum 0
* __Default value:__ `0`
*/
innerRadius?: number | SignalRef;
/**
* The outer radius in pixels of arc marks.
*
* @minimum 0
* __Default value:__ `0`
*/
outerRadius?: number | SignalRef;
/**
* The vertical alignment of the text. One of `"top"`, `"bottom"`, `"middle"`, `"alphabetic"`.

@@ -257,0 +283,0 @@ *

@@ -411,2 +411,6 @@ import { SignalRef } from '.';

lineBreak?: ProductionRule<StringValueRef>;
/**
* The height, in pixels, of each line of text in a multi-line text mark or a text mark with `"line-top"` or `"line-bottom"` baseline.
*/
lineHeight?: ProductionRule<NumericValueRef>;

@@ -413,0 +417,0 @@ radius?: ProductionRule<NumericValueRef>;

@@ -200,3 +200,3 @@ import {

/**
* Vertical text baseline for legend titles.
* Vertical text baseline for legend titles. One of `"alphabetic"` (default), `"top"`, `"middle"`, `"bottom"`, `"line-top"`, or `"line-bottom"`. The `"line-top"` and `"line-bottom"` values operate similarly to `"top"` and `"bottom"`, but are calculated relative to the *lineHeight* rather than *fontSize* alone.
*

@@ -242,3 +242,3 @@ * __Default value:__ `"top"`.

/**
* Line height in pixels for multi-line title text.
* Line height in pixels for multi-line title text or title text with `"line-top"` or `"line-bottom"` baseline.
*/

@@ -245,0 +245,0 @@ titleLineHeight?: NumberValue;

@@ -102,3 +102,3 @@ import { GroupEncodeEntry, GuideEncodeEntry, SignalRef, TextEncodeEntry } from '.';

/**
* Vertical text baseline for title and subtitle text. One of `"top"`, `"middle"`, `"bottom"`, or `"alphabetic"`.
* Vertical text baseline for title and subtitle text. One of `"alphabetic"` (default), `"top"`, `"middle"`, `"bottom"`, `"line-top"`, or `"line-bottom"`. The `"line-top"` and `"line-bottom"` values operate similarly to `"top"` and `"bottom"`, but are calculated relative to the *lineHeight* rather than *fontSize* alone.
*/

@@ -146,3 +146,3 @@ baseline?: TextBaselineValue;

/**
* Line height in pixels for multi-line title text.
* Line height in pixels for multi-line title text or title text with `"line-top"` or `"line-bottom"` baseline.
*/

@@ -149,0 +149,0 @@ lineHeight?: NumberValue;

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