Socket
Socket
Sign inDemoInstall

@nivo/core

Package Overview
Dependencies
12
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.70.1 to 0.71.0

58

index.d.ts

@@ -12,2 +12,9 @@ import * as React from 'react'

export interface Point {
x: number
y: number
}
export interface AlignBox extends Dimensions, Point {}
export type Margin = {

@@ -32,3 +39,7 @@ bottom: number

export const boxAlignments: BoxAlign[]
export function alignBox(box: Box, container: Box, alignment: BoxAlign): [number, number]
export function alignBox(
box: AlignBox,
container: AlignBox,
alignment: BoxAlign
): [number, number]

@@ -71,2 +82,9 @@ export type GetColor<T> = (datum: T) => string

legends: {
hidden: {
symbol: Partial<{
fill: string
opacity: number
}>
text: Partial<React.CSSProperties>
}
text: Partial<React.CSSProperties>

@@ -96,6 +114,24 @@ }

annotations: {
text: Partial<React.CSSProperties>
link: Partial<React.CSSProperties>
outline: Partial<React.CSSProperties>
symbol: Partial<React.CSSProperties>
text: {
fill: string
outlineWidth: number
outlineColor: string
} & Partial<Omit<React.CSSProperties, 'fill'>>
link: {
stroke: string
strokeWidth: number
outlineWidth: number
outlineColor: string
} & Partial<Omit<React.CSSProperties, 'stroke' | 'strokeWidth'>>
outline: {
stroke: string
strokeWidth: number
outlineWidth: number
outlineColor: string
} & Partial<Omit<React.CSSProperties, 'stroke' | 'strokeWidth'>>
symbol: {
fill: string
outlineWidth: number
outlineColor: string
} & Partial<Omit<React.CSSProperties, 'fill'>>
}

@@ -125,2 +161,6 @@ }

legends: Partial<{
hidden: Partial<{
symbol: CompleteTheme['legends']['hidden']['symbol']
text: CompleteTheme['legends']['hidden']['text']
}>
text: Partial<CompleteTheme['legends']['text']>

@@ -136,3 +176,8 @@ }>

tooltip: Partial<CompleteTheme['tooltip']>
annotations: Partial<CompleteTheme['annotations']>
annotations: Partial<{
text: Partial<CompleteTheme['annotations']['text']>
link: Partial<CompleteTheme['annotations']['link']>
outline: Partial<CompleteTheme['annotations']['outline']>
symbol: Partial<CompleteTheme['annotations']['symbol']>
}>
}

@@ -287,2 +332,3 @@ >

export function radiansToDegrees(radians: number): number
export function absoluteAngleDegrees(degrees: number): number

@@ -289,0 +335,0 @@ type Accessor<T extends keyof U, U> = T extends string ? U[T] : never

16

package.json
{
"name": "@nivo/core",
"version": "0.70.1",
"version": "0.71.0",
"license": "MIT",

@@ -23,4 +23,4 @@ "author": {

"dependencies": {
"@nivo/recompose": "0.70.0",
"@react-spring/web": "9.1.2",
"@nivo/recompose": "0.71.0",
"@react-spring/web": "9.2.0",
"d3-color": "^2.0.0",

@@ -33,11 +33,11 @@ "d3-format": "^1.4.4",

"d3-shape": "^1.3.5",
"d3-time-format": "^2.1.3",
"lodash": "^4.17.11",
"d3-time-format": "^3.0.0",
"lodash": "^4.17.21",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
"@nivo/tooltip": "0.70.1"
"@nivo/tooltip": "0.71.0"
},
"peerDependencies": {
"@nivo/tooltip": "0.70.1",
"@nivo/tooltip": "0.71.0",
"prop-types": ">= 15.5.10 < 16.0.0",

@@ -49,3 +49,3 @@ "react": ">= 16.8.4 < 18.0.0"

},
"gitHead": "460d79b04e335bd32a80226da417d41d312b893d"
"gitHead": "232b613bd61d2b8e5c783f4181b2d14580e2fd27"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc