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

@types/react-vis

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-vis - npm Package Compare versions

Comparing version 1.11.9 to 1.11.10

108

react-vis/index.d.ts

@@ -203,3 +203,3 @@ // Type definitions for react-vis 1.11

size?: number | undefined;
color?: number|string | undefined;
color?: number | string | undefined;
label?: string | undefined;

@@ -464,6 +464,8 @@ labelStyle?: CSSProperties | undefined;

style?: CSSProperties | undefined; // default: {}
align?: {
horizontal?: 'auto' | 'left' | 'right' | 'leftEdge' | 'rightEdge' | undefined;
vertical?: 'auto' | 'bottom' | 'top' | 'bottomEdge' | 'topEdge' | undefined;
} | undefined; // default: {'horizontal':'auto','vertical':'auto'}
align?:
| {
horizontal?: 'auto' | 'left' | 'right' | 'leftEdge' | 'rightEdge' | undefined;
vertical?: 'auto' | 'bottom' | 'top' | 'bottomEdge' | 'topEdge' | undefined;
}
| undefined; // default: {'horizontal':'auto','vertical':'auto'}
getAlignStyle?: RVGetAlignStyle | undefined;

@@ -485,8 +487,10 @@ orientation?: 'bottomleft' | 'bottomright' | 'topleft' | 'topright' | undefined;

export interface BordersProps {
style?: {
bottom?: CSSProperties | undefined;
left?: CSSProperties | undefined;
right?: CSSProperties | undefined;
top?: CSSProperties | undefined;
} | undefined; // default: {'all':{},'bottom':{},'left':{},'right':{},'top':{}}
style?:
| {
bottom?: CSSProperties | undefined;
left?: CSSProperties | undefined;
right?: CSSProperties | undefined;
top?: CSSProperties | undefined;
}
| undefined; // default: {'all':{},'bottom':{},'left':{},'right':{},'top':{}}
marginTop?: number | undefined;

@@ -512,7 +516,9 @@ marginBottom?: number | undefined;

titleFormat?: ((x: any) => { title: any; value: any }) | undefined;
style?: {
line?: CSSProperties | undefined;
title?: CSSProperties | undefined;
box?: CSSProperties | undefined;
} | undefined; // default: {'line':{},'title':{},'box':{}}
style?:
| {
line?: CSSProperties | undefined;
title?: CSSProperties | undefined;
box?: CSSProperties | undefined;
}
| undefined; // default: {'line':{},'title':{},'box':{}}
}

@@ -570,8 +576,10 @@ export class Crosshair<T = any> extends PureComponent<CrosshairProps & T> {}

title?: string | undefined;
style?: CSSProperties & {
line?: CSSProperties | undefined;
ticks?: CSSProperties | undefined;
text?: CSSProperties | undefined;
title?: CSSProperties | undefined;
} | undefined;
style?:
| (CSSProperties & {
line?: CSSProperties | undefined;
ticks?: CSSProperties | undefined;
text?: CSSProperties | undefined;
title?: CSSProperties | undefined;
})
| undefined;
className?: string | undefined;

@@ -607,8 +615,10 @@ hideTicks?: boolean | undefined;

title?: string | undefined;
style?: CSSProperties & {
line?: CSSProperties | undefined;
ticks?: CSSProperties | undefined;
text?: CSSProperties | undefined;
title?: CSSProperties | undefined;
} | undefined;
style?:
| (CSSProperties & {
line?: CSSProperties | undefined;
ticks?: CSSProperties | undefined;
text?: CSSProperties | undefined;
title?: CSSProperties | undefined;
})
| undefined;
className?: string | undefined;

@@ -742,2 +752,5 @@ hideTicks?: boolean | undefined;

disabled?: boolean | undefined;
strokeDasharray?: string;
strokeStyle?: string;
strokeWidth?: number;
}

@@ -831,3 +844,4 @@ | string

| 'partition'
| 'partition-pivot' | undefined; // default: 'squarify'
| 'partition-pivot'
| undefined; // default: 'squarify'
onLeafClick?: RVValueEventHandler<TreemapPoint> | undefined;

@@ -891,7 +905,9 @@ onLeafMouseOver?: RVValueEventHandler<TreemapPoint> | undefined;

startingAngle?: number | undefined; // default: 1.5707963267948966
style?: {
axes?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
polygons?: CSSProperties | undefined;
} | undefined; // default: {'axes':{'line':{},'ticks':{},'text':{}},'labels':{'fontSize':10,'textAnchor':'middle'},'polygons':{'strokeWidth':0.5,'strokeOpacity':1,'fillOpacity':0.1}}
style?:
| {
axes?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
polygons?: CSSProperties | undefined;
}
| undefined; // default: {'axes':{'line':{},'ticks':{},'text':{}},'labels':{'fontSize':10,'textAnchor':'middle'},'polygons':{'strokeWidth':0.5,'strokeOpacity':1,'fillOpacity':0.1}}
tickFormat?: RVTickFormat | undefined;

@@ -915,7 +931,9 @@ width: number;

margin?: Margin | number | undefined;
style?: {
axes?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
lines?: CSSProperties | undefined;
} | undefined; // default: {'axes':{'line':{},'ticks':{},'text':{}},'labels':{'fontSize':10,'textAnchor':'middle'},'lines':{'strokeWidth':1,'strokeOpacity':1}}
style?:
| {
axes?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
lines?: CSSProperties | undefined;
}
| undefined; // default: {'axes':{'line':{},'ticks':{},'text':{}},'labels':{'fontSize':10,'textAnchor':'middle'},'lines':{'strokeWidth':1,'strokeOpacity':1}}
showMarks?: boolean | undefined;

@@ -948,7 +966,9 @@ tickFormat?: RVTickFormat | undefined;

onLinkMouseOut?: RVValueEventHandler<SankeyPoint> | undefined;
style?: {
links?: CSSProperties | undefined;
rects?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
} | undefined; // default: {'links':{},'rects':{},'labels':{}}
style?:
| {
links?: CSSProperties | undefined;
rects?: CSSProperties | undefined;
labels?: CSSProperties | undefined;
}
| undefined; // default: {'links':{},'rects':{},'labels':{}}
width: number;

@@ -955,0 +975,0 @@ }

{
"name": "@types/react-vis",
"version": "1.11.9",
"version": "1.11.10",
"description": "TypeScript definitions for react-vis",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-vis",

},
"typesPublisherContentHash": "e746024091eb1782e26121c860127a9f476e1f6f093dcf0178b0671526546a0a",
"typesPublisherContentHash": "ed9e7423a4677150162739803f82d54fa4f6e239e320db23e49e96a1e2eaf74b",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 25 Oct 2021 23:31:49 GMT
* Last updated: Fri, 05 Nov 2021 18:01:37 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@ * Global values: none

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