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

victory-axis

Package Overview
Dependencies
Maintainers
41
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-axis - npm Package Compare versions

Comparing version 37.0.0 to 37.0.1-next.0

7

CHANGELOG.md
# victory-axis
## 37.0.1-next.0
### Patch Changes
- 22ac23249: Fix the signature of class static functions in components
- victory-core@37.0.1-next.0
## 37.0.0

@@ -4,0 +11,0 @@

4

es/helper-methods.d.ts

@@ -13,3 +13,3 @@ import { VictoryAxisProps } from "./victory-axis";

style: any;
ticks: string[] | number[];
ticks: number[] | string[];
standalone: any;

@@ -30,3 +30,3 @@ theme: any;

horizontal: any;
ticks: string[] | number[];
ticks: number[] | string[];
stringTicks: any;

@@ -33,0 +33,0 @@ };

export * from "./victory-axis";
//# sourceMappingURL=index.d.ts.map

@@ -41,3 +41,3 @@ import React from "react";

static getAxis: typeof Axis.getAxis;
static getStyles: (props: any) => {
static getStyles(props: any): {
parent: any;

@@ -50,6 +50,6 @@ axis: any;

};
static getBaseProps: (props: any) => {
static getBaseProps(props: any): {
parent: {
style: any;
ticks: string[] | number[];
ticks: number[] | string[];
standalone: any;

@@ -70,3 +70,3 @@ theme: any;

horizontal: any;
ticks: string[] | number[];
ticks: number[] | string[];
stringTicks: any;

@@ -109,3 +109,3 @@ };

animate: boolean | import("victory-core").AnimatePropTypeInterface;
colorScale: "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue" | string[];
colorScale: string[] | "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue";
containerComponent: React.ReactElement<any, string | React.JSXElementConstructor<any>>;

@@ -136,5 +136,5 @@ domainPadding: number | import("victory-core").Tuple<number> | {

};
scale: "linear" | "time" | "log" | "sqrt" | import("victory-core").D3Scale<any> | {
x?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
y?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
scale: import("victory-core").D3Scale<any> | "linear" | "time" | "log" | "sqrt" | {
x?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
y?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
};

@@ -187,3 +187,3 @@ sharedEvents: {

animate: boolean | import("victory-core").AnimatePropTypeInterface;
colorScale: "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue" | string[];
colorScale: string[] | "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue";
containerComponent: React.ReactElement<any, string | React.JSXElementConstructor<any>>;

@@ -214,5 +214,5 @@ domainPadding: number | import("victory-core").Tuple<number> | {

};
scale: "linear" | "time" | "log" | "sqrt" | import("victory-core").D3Scale<any> | {
x?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
y?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
scale: import("victory-core").D3Scale<any> | "linear" | "time" | "log" | "sqrt" | {
x?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
y?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
};

@@ -219,0 +219,0 @@ sharedEvents: {

@@ -59,4 +59,8 @@ import _isEmpty from "lodash/isEmpty";

static getAxis = Axis.getAxis;
static getStyles = props => getStyles(props);
static getBaseProps = props => getBaseProps(props, fallbackProps);
static getStyles(props) {
return getStyles(props);
}
static getBaseProps(props) {
return getBaseProps(props, fallbackProps);
}
static expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"];

@@ -63,0 +67,0 @@ renderLine(props) {

@@ -13,3 +13,3 @@ import { VictoryAxisProps } from "./victory-axis";

style: any;
ticks: string[] | number[];
ticks: number[] | string[];
standalone: any;

@@ -30,3 +30,3 @@ theme: any;

horizontal: any;
ticks: string[] | number[];
ticks: number[] | string[];
stringTicks: any;

@@ -33,0 +33,0 @@ };

export * from "./victory-axis";
//# sourceMappingURL=index.d.ts.map

@@ -41,3 +41,3 @@ import React from "react";

static getAxis: typeof Axis.getAxis;
static getStyles: (props: any) => {
static getStyles(props: any): {
parent: any;

@@ -50,6 +50,6 @@ axis: any;

};
static getBaseProps: (props: any) => {
static getBaseProps(props: any): {
parent: {
style: any;
ticks: string[] | number[];
ticks: number[] | string[];
standalone: any;

@@ -70,3 +70,3 @@ theme: any;

horizontal: any;
ticks: string[] | number[];
ticks: number[] | string[];
stringTicks: any;

@@ -109,3 +109,3 @@ };

animate: boolean | import("victory-core").AnimatePropTypeInterface;
colorScale: "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue" | string[];
colorScale: string[] | "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue";
containerComponent: React.ReactElement<any, string | React.JSXElementConstructor<any>>;

@@ -136,5 +136,5 @@ domainPadding: number | import("victory-core").Tuple<number> | {

};
scale: "linear" | "time" | "log" | "sqrt" | import("victory-core").D3Scale<any> | {
x?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
y?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
scale: import("victory-core").D3Scale<any> | "linear" | "time" | "log" | "sqrt" | {
x?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
y?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
};

@@ -187,3 +187,3 @@ sharedEvents: {

animate: boolean | import("victory-core").AnimatePropTypeInterface;
colorScale: "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue" | string[];
colorScale: string[] | "grayscale" | "qualitative" | "heatmap" | "warm" | "cool" | "red" | "green" | "blue";
containerComponent: React.ReactElement<any, string | React.JSXElementConstructor<any>>;

@@ -214,5 +214,5 @@ domainPadding: number | import("victory-core").Tuple<number> | {

};
scale: "linear" | "time" | "log" | "sqrt" | import("victory-core").D3Scale<any> | {
x?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
y?: import("victory-core").ScaleName | import("victory-core").D3Scale<any> | undefined;
scale: import("victory-core").D3Scale<any> | "linear" | "time" | "log" | "sqrt" | {
x?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
y?: import("victory-core").D3Scale<any> | import("victory-core").ScaleName | undefined;
};

@@ -219,0 +219,0 @@ sharedEvents: {

@@ -66,4 +66,8 @@ "use strict";

static getAxis = _victoryCore.Axis.getAxis;
static getStyles = props => (0, _helperMethods.getStyles)(props);
static getBaseProps = props => (0, _helperMethods.getBaseProps)(props, fallbackProps);
static getStyles(props) {
return (0, _helperMethods.getStyles)(props);
}
static getBaseProps(props) {
return (0, _helperMethods.getBaseProps)(props, fallbackProps);
}
static expectedComponents = ["axisComponent", "axisLabelComponent", "groupComponent", "containerComponent", "tickComponent", "tickLabelComponent", "gridComponent"];

@@ -70,0 +74,0 @@ renderLine(props) {

{
"name": "victory-axis",
"version": "37.0.0",
"version": "37.0.1-next.0",
"description": "Axis Component for Victory",

@@ -24,3 +24,3 @@ "keywords": [

"lodash": "^4.17.19",
"victory-core": "^37.0.0"
"victory-core": "^37.0.1-next.0"
},

@@ -30,5 +30,2 @@ "peerDependencies": {

},
"publishConfig": {
"provenance": true
},
"wireit": {

@@ -35,0 +32,0 @@ "### THESE WIREIT CONFIGS ARE GENERATED ####": {},

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc