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.5.2 to 0.5.3

LICENSE

5

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

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

"vega-util": "^1.9.0"
}
},
"gitHead": "a34555f5474d42a4599dd958895b8e44d3fda0fe"
}

61

types/spec/config.d.ts

@@ -15,6 +15,6 @@ import {

import { BaseAxis, LabelOverlap } from './axis';
import { LayoutAlign } from './layout';
import { LayoutAlign, LayoutBounds } from './layout';
import { BaseLegend } from './legend';
import { SignalRef } from './signal';
import { BaseTitle } from './title';
import { BaseTitle, TitleAnchor } from './title';
import {

@@ -355,3 +355,4 @@ AlignValue,

O = OrientValue,
AN = AnchorValue
AN = AnchorValue,
LL = LegendLayout
> extends BaseLegend<N, NS, S, C, FW, FS, A, TB, LA, LO, SY, DA, O, AN> {

@@ -407,4 +408,58 @@ /**

strokeWidth?: N;
/**
* Legend orient group layout parameters.
*/
layout?: LL;
}
export interface BaseLegendLayout<
NS = number | SignalRef,
BS = boolean | SignalRef,
OS = Orientation | SignalRef,
LB = LayoutBounds,
AN = TitleAnchor
> {
/**
* The anchor point for legend orient group layout.
*/
anchor?: AN;
/**
* The bounds calculation to use for legend orient group layout.
*/
bounds?: LB;
/**
* A flag to center legends within a shared orient group.
*/
center?: BS;
/**
* The layout direction for legend orient group layout.
*/
direction?: OS;
/**
* The pixel margin between legends within a orient group.
*/
margin?: NS;
/**
* The pixel offset from the chart body for a legend orient group.
*/
offset?: NS;
}
export interface LegendLayout extends BaseLegendLayout {
left?: BaseLegendLayout;
right?: BaseLegendLayout;
top?: BaseLegendLayout;
bottom?: BaseLegendLayout;
'top-left'?: BaseLegendLayout;
'top-right'?: BaseLegendLayout;
'bottom-left'?: BaseLegendLayout;
'bottom-right'?: BaseLegendLayout;
}
export type TitleConfig = BaseTitle;
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