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

victory-selection-container

Package Overview
Dependencies
Maintainers
26
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-selection-container - npm Package Compare versions

Comparing version 36.5.0 to 36.5.1

2

es/index.d.ts

@@ -17,3 +17,3 @@ import * as React from "react";

bounds: { x: number | Date; y: number | Date }[],
props: VictorySelectionContainerProps
props: VictorySelectionContainerProps,
) => void;

@@ -20,0 +20,0 @@ onSelectionCleared?: (props: VictorySelectionContainerProps) => void;

export { selectionContainerMixin, default as VictorySelectionContainer } from "./victory-selection-container";
export { default as SelectionHelpers } from "./selection-helpers";
export { default as SelectionHelpers } from "./selection-helpers";
//# sourceMappingURL=index.js.map

@@ -269,2 +269,3 @@ import _includes from "lodash/includes";

})
});
});
//# sourceMappingURL=selection-helpers.js.map

@@ -134,2 +134,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

};
export default selectionContainerMixin(VictoryContainer);
export default selectionContainerMixin(VictoryContainer);
//# sourceMappingURL=victory-selection-container.js.map

@@ -17,3 +17,3 @@ import * as React from "react";

bounds: { x: number | Date; y: number | Date }[],
props: VictorySelectionContainerProps
props: VictorySelectionContainerProps,
) => void;

@@ -20,0 +20,0 @@ onSelectionCleared?: (props: VictorySelectionContainerProps) => void;

@@ -33,2 +33,3 @@ "use strict";

function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
//# sourceMappingURL=index.js.map

@@ -292,2 +292,3 @@ "use strict";

exports.default = _default;
exports.default = _default;
//# sourceMappingURL=selection-helpers.js.map

@@ -152,2 +152,3 @@ "use strict";

exports.default = _default;
exports.default = _default;
//# sourceMappingURL=victory-selection-container.js.map
{
"name": "victory-selection-container",
"version": "36.5.0",
"version": "36.5.1",
"description": "Interactive Selection Component for Victory",

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

"prop-types": "^15.8.1",
"victory-core": "^36.5.0"
"victory-core": "^36.5.1"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1"
"gitHead": "fbe60407533cd7a6da4f8155d2ef8e189583c5a2"
}

@@ -17,3 +17,3 @@ import * as React from "react";

bounds: { x: number | Date; y: number | Date }[],
props: VictorySelectionContainerProps
props: VictorySelectionContainerProps,
) => void;

@@ -20,0 +20,0 @@ onSelectionCleared?: (props: VictorySelectionContainerProps) => void;

export {
selectionContainerMixin,
default as VictorySelectionContainer
default as VictorySelectionContainer,
} from "./victory-selection-container";
export { default as SelectionHelpers } from "./selection-helpers";

@@ -40,3 +40,3 @@ import { Selection, Data, Helpers } from "victory-core";

iteratee,
props
props,
);

@@ -52,3 +52,3 @@ },

eventKey: selectedData.eventKey,
data: selectedData.data
data: selectedData.data,
})

@@ -126,3 +126,3 @@ : memo;

target: "data",
mutation: () => null
mutation: () => null,
};

@@ -155,3 +155,3 @@ })

return { x2, y2, parentSVG };
}
},
};

@@ -172,4 +172,4 @@ }

return { select: false, x1: null, x2: null, y1: null, y2: null };
}
}
},
},
];

@@ -187,3 +187,3 @@ }

y1: null,
y2: null
y2: null,
};

@@ -195,3 +195,3 @@ const callbackMutation =

bounds,
defaults({}, mutatedProps, targetProps)
defaults({}, mutatedProps, targetProps),
)

@@ -202,4 +202,4 @@ : {};

target: "parent",
mutation: () => mutatedProps
}
mutation: () => mutatedProps,
},
];

@@ -216,3 +216,3 @@

return assign({ active: true }, callbackMutation);
}
},
};

@@ -223,3 +223,3 @@ })

return parentMutation.concat(dataMutation);
}
},
};

@@ -234,4 +234,4 @@

16, // eslint-disable-line no-magic-numbers
{ leading: true, trailing: false }
)
{ leading: true, trailing: false },
),
};

@@ -19,3 +19,3 @@ import PropTypes from "prop-types";

selectionDimension: PropTypes.oneOf(["x", "y"]),
selectionStyle: PropTypes.object
selectionStyle: PropTypes.object,
};

@@ -30,4 +30,4 @@ static defaultProps = {

fill: "black",
fillOpacity: 0.1
}
fillOpacity: 0.1,
},
};

@@ -69,5 +69,5 @@

: SelectionHelpers.onMouseUp(evt, targetProps);
}
}
}
},
},
},
];

@@ -90,3 +90,3 @@ };

height,
style: selectionStyle
style: selectionStyle,
})

@@ -93,0 +93,0 @@ : null;

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