Socket
Socket
Sign inDemoInstall

victory-polar-axis

Package Overview
Dependencies
Maintainers
3
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-polar-axis - npm Package Compare versions

Comparing version 35.9.3 to 35.10.0

13

es/helper-methods.js

@@ -85,3 +85,3 @@ import _defaults from "lodash/defaults";

var getScale = function (props) {
export var getScale = function (props) {
var axis = Axis.getAxis(props);

@@ -95,4 +95,3 @@ var scale = Scale.getBaseScale(props, axis);

};
var getStyles = function (props, styleObject) {
export var getStyles = function (props, styleObject) {
if (props.disableInlineStyles) {

@@ -304,3 +303,3 @@ return {};

var labelRadius = radius + (labelStyle.padding || 0);
var textAnchor = labelStyle.textAnchor || LabelHelpers.getTextPolarAnchor(_assign({}, props, {
var textAnchor = labelStyle.textAnchor || LabelHelpers.getPolarTextAnchor(_assign({}, props, {
labelPlacement: labelPlacement

@@ -383,3 +382,3 @@ }), axisAngle);

var getBaseProps = function (props, fallbackProps) {
export var getBaseProps = function (props, fallbackProps) {
props = Axis.modifyProps(props, fallbackProps);

@@ -422,4 +421,2 @@ var calculatedValues = getCalculatedValues(props);

}, initialChildProps);
};
export { getScale, getStyles, getBaseProps };
};

@@ -329,3 +329,3 @@ "use strict";

var textAnchor = labelStyle.textAnchor || _victoryCore.LabelHelpers.getTextPolarAnchor((0, _assign2.default)({}, props, {
var textAnchor = labelStyle.textAnchor || _victoryCore.LabelHelpers.getPolarTextAnchor((0, _assign2.default)({}, props, {
labelPlacement: labelPlacement

@@ -332,0 +332,0 @@ }), axisAngle);

{
"name": "victory-polar-axis",
"version": "35.9.3",
"version": "35.10.0",
"description": "Polar Axis Component for Victory",

@@ -24,4 +24,7 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^35.9.3"
"victory-core": "^35.10.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
},
"scripts": {

@@ -28,0 +31,0 @@ "version": "nps build-libs && nps build-dists"

@@ -88,3 +88,3 @@ import { assign, uniqBy, defaults } from "lodash";

// exposed for use by VictoryChart (necessary?)
const getScale = (props) => {
export const getScale = (props) => {
const axis = Axis.getAxis(props);

@@ -99,3 +99,3 @@ const scale = Scale.getBaseScale(props, axis);

const getStyles = (props, styleObject) => {
export const getStyles = (props, styleObject) => {
if (props.disableInlineStyles) {

@@ -332,3 +332,3 @@ return {};

labelStyle.textAnchor ||
LabelHelpers.getTextPolarAnchor(
LabelHelpers.getPolarTextAnchor(
assign({}, props, { labelPlacement }),

@@ -416,3 +416,3 @@ axisAngle

const getBaseProps = (props, fallbackProps) => {
export const getBaseProps = (props, fallbackProps) => {
props = Axis.modifyProps(props, fallbackProps);

@@ -450,3 +450,1 @@ const calculatedValues = getCalculatedValues(props);

};
export { getScale, getStyles, getBaseProps };

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

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

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