@nivo/core
Advanced tools
Comparing version 0.75.0 to 0.76.0
@@ -250,2 +250,6 @@ import * as React from 'react' | ||
// ------------------------------------------------------------------------ | ||
// Patterns & Gradients | ||
// ------------------------------------------------------------------------ | ||
export type GradientColor = { | ||
@@ -287,2 +291,7 @@ offset: number | ||
} | ||
export function patternDotsDef( | ||
id: string, | ||
options?: Omit<PatternDotsDef, 'id' | 'type'> | ||
): PatternDotsDef | ||
export function PatternDots(props: Omit<PatternDotsDef, 'type'>): JSX.Element | ||
@@ -292,2 +301,7 @@ export type PatternSquaresDef = Omit<PatternDotsDef, 'type'> & { | ||
} | ||
export function patternSquaresDef( | ||
id: string, | ||
options?: Omit<PatternSquaresDef, 'id' | 'type'> | ||
): PatternSquaresDef | ||
export function PatternSquares(props: Omit<PatternSquaresDef, 'type'>): JSX.Element | ||
@@ -303,2 +317,7 @@ export type PatternLinesDef = { | ||
} | ||
export function patternLinesDef( | ||
id: string, | ||
options?: Omit<PatternLinesDef, 'id' | 'type'> | ||
): PatternLinesDef | ||
export function PatternLines(props: Omit<PatternLinesDef, 'type'>): JSX.Element | ||
@@ -311,2 +330,8 @@ export type Def = LinearGradientDef | PatternDotsDef | PatternSquaresDef | PatternLinesDef | ||
export function Defs(props: DefsProps): JSX.Element | ||
// ------------------------------------------------------------------------ | ||
// Motion | ||
// ------------------------------------------------------------------------ | ||
export const defaultAnimate = true | ||
@@ -332,8 +357,2 @@ export const defaultMotionStiffness = 90 | ||
export function PatternLines(props: Omit<PatternLinesDef, 'type'>): JSX.Element | ||
export function PatternSquares(props: Omit<PatternSquaresDef, 'type'>): JSX.Element | ||
export function PatternDots(props: Omit<PatternDotsDef, 'type'>): JSX.Element | ||
export function Defs(props: DefsProps): JSX.Element | ||
export function degreesToRadians(degrees: number): number | ||
@@ -340,0 +359,0 @@ export function radiansToDegrees(radians: number): number |
{ | ||
"name": "@nivo/core", | ||
"version": "0.75.0", | ||
"version": "0.76.0", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "author": { | ||
"dependencies": { | ||
"@nivo/recompose": "0.75.0", | ||
"@nivo/recompose": "0.76.0", | ||
"@react-spring/web": "9.3.1", | ||
@@ -38,7 +38,7 @@ "d3-color": "^2.0.0", | ||
"devDependencies": { | ||
"@nivo/tooltip": "0.75.0", | ||
"@nivo/tooltip": "0.76.0", | ||
"@types/d3-shape": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@nivo/tooltip": "0.75.0", | ||
"@nivo/tooltip": "0.76.0", | ||
"prop-types": ">= 15.5.10 < 16.0.0", | ||
@@ -50,3 +50,3 @@ "react": ">= 16.14.0 < 18.0.0" | ||
}, | ||
"gitHead": "bfe8126876bf0e46ad82251935ab78178e901bcf" | ||
"gitHead": "0feb061ac0e4cd9ac6a27f5714e3629d1dcdcf4f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
996
3
626830
+ Added@nivo/recompose@0.76.0(transitive)
+ Added@nivo/tooltip@0.76.0(transitive)
- Removed@nivo/recompose@0.75.0(transitive)
- Removed@nivo/tooltip@0.75.0(transitive)
Updated@nivo/recompose@0.76.0