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.13.1 to 0.14.0

LICENSE

7

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

@@ -21,4 +21,5 @@ "types": "types",

"dependencies": {
"vega-util": "^1.12.1"
}
"vega-util": "^1.13.1"
},
"gitHead": "2bee653f2a56c2c0d4393d69d172b9ccdb0fe2f9"
}

@@ -10,3 +10,2 @@ import {

import { Text } from './encode';
import { LayoutAlign } from './layout';
import {

@@ -442,2 +441,7 @@ AlignValue,

/**
* Line height in pixels for multi-line label text.
*/
labelLineHeight?: NumberValue;
/**
* The strategy to use for resolving overlap of axis labels. If `false` (the default), no overlap reduction is attempted. If set to `true` or `"parity"`, a strategy of removing every other label is used (this works well for standard linear axes). If set to `"greedy"`, a linear scan of the labels is performed, removing any labels that overlaps with the last visible label (this often works better for log-scaled axes).

@@ -502,2 +506,9 @@ */

/**
* Position offset in pixels to apply to labels, in addition to tickOffset.
*
* __Default value:__ `0`
*/
labelOffset?: NumberValue;
/**
* The padding in pixels between labels and ticks.

@@ -504,0 +515,0 @@ *

@@ -10,2 +10,3 @@ import {

Orientation,
Padding,
RangeScheme,

@@ -47,4 +48,5 @@ SymbolShape,

Partial<Record<AxisConfigKeys, AxisConfig>> {
autosize?: AutoSize;
autosize?: AutoSize | SignalRef;
background?: null | Color | SignalRef;
padding?: Padding | SignalRef;
group?: any; // TODO

@@ -59,2 +61,3 @@ events?: {

};
lineBreak?: string | SignalRef;
style?: {

@@ -61,0 +64,0 @@ [style: string]: MarkConfig;

import { AutoSize } from './autosize';
import { Background } from './background';
import { Color } from './color';
import { Config } from './config';

@@ -7,12 +7,13 @@ import { Encodable, EncodeEntry } from './encode';

import { Scope } from './scope';
import { SignalRef } from './signal';
export interface Spec extends Scope, Encodable<EncodeEntry> {
$schema?: string;
width?: number;
height?: number;
config?: Config;
description?: string;
padding?: Padding;
autosize?: AutoSize;
background?: Background;
width?: number | SignalRef;
height?: number | SignalRef;
padding?: Padding | SignalRef;
autosize?: AutoSize | SignalRef;
background?: Color | SignalRef;
style?: string | string[];

@@ -23,3 +24,2 @@ }

export * from './axis';
export * from './background';
export * from './bind';

@@ -26,0 +26,0 @@ export * from './color';

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