@visx/marker
Advanced tools
Comparing version 2.12.2 to 2.17.0-alpha.0
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
@@ -11,8 +8,7 @@ import Marker from './Marker'; | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var max = size + strokeWidth * 2; | ||
@@ -19,0 +15,0 @@ var midX = size; |
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
@@ -11,8 +8,7 @@ import Marker from './Marker'; | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var diameter = size * 2; | ||
@@ -19,0 +15,0 @@ var bounds = diameter + strokeWidth; |
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
@@ -11,8 +8,7 @@ import Marker from './Marker'; | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var bounds = size + strokeWidth; | ||
@@ -19,0 +15,0 @@ var mid = size / 2; |
var _excluded = ["id", "size", "fill", "stroke", "strokeWidth"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
@@ -11,10 +8,9 @@ import Marker from './Marker'; | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
fill = _ref.fill, | ||
stroke = _ref.stroke, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
fill = _ref.fill, | ||
stroke = _ref.stroke, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var max = Math.max(size, strokeWidth * 2); | ||
@@ -21,0 +17,0 @@ var midX = max / 2; |
import _pt from "prop-types"; | ||
var _excluded = ["id", "markerWidth", "markerHeight", "markerUnits", "children"]; | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import React from 'react'; | ||
export default function Marker(_ref) { | ||
var id = _ref.id, | ||
_ref$markerWidth = _ref.markerWidth, | ||
markerWidth = _ref$markerWidth === void 0 ? 3 : _ref$markerWidth, | ||
_ref$markerHeight = _ref.markerHeight, | ||
markerHeight = _ref$markerHeight === void 0 ? 3 : _ref$markerHeight, | ||
_ref$markerUnits = _ref.markerUnits, | ||
markerUnits = _ref$markerUnits === void 0 ? 'userSpaceOnUse' : _ref$markerUnits, | ||
children = _ref.children, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$markerWidth = _ref.markerWidth, | ||
markerWidth = _ref$markerWidth === void 0 ? 3 : _ref$markerWidth, | ||
_ref$markerHeight = _ref.markerHeight, | ||
markerHeight = _ref$markerHeight === void 0 ? 3 : _ref$markerHeight, | ||
_ref$markerUnits = _ref.markerUnits, | ||
markerUnits = _ref$markerUnits === void 0 ? 'userSpaceOnUse' : _ref$markerUnits, | ||
children = _ref.children, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("marker", _extends({ | ||
@@ -21,0 +17,0 @@ id: id, |
@@ -1,3 +0,2 @@ | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import React from 'react'; | ||
@@ -4,0 +3,0 @@ import Cross from './Cross'; |
"use strict"; | ||
exports.__esModule = true; | ||
exports.MarkerLine = exports.MarkerCircle = exports.MarkerX = exports.MarkerCross = exports.MarkerArrow = exports.Marker = void 0; | ||
exports.MarkerX = exports.MarkerLine = exports.MarkerCross = exports.MarkerCircle = exports.MarkerArrow = exports.Marker = void 0; | ||
var _Marker = _interopRequireDefault(require("./markers/Marker")); | ||
exports.Marker = _Marker.default; | ||
var _Arrow = _interopRequireDefault(require("./markers/Arrow")); | ||
exports.MarkerArrow = _Arrow.default; | ||
var _Cross = _interopRequireDefault(require("./markers/Cross")); | ||
exports.MarkerCross = _Cross.default; | ||
var _X = _interopRequireDefault(require("./markers/X")); | ||
exports.MarkerX = _X.default; | ||
var _Circle = _interopRequireDefault(require("./markers/Circle")); | ||
exports.MarkerCircle = _Circle.default; | ||
var _Line = _interopRequireDefault(require("./markers/Line")); | ||
exports.MarkerLine = _Line.default; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -5,23 +5,15 @@ "use strict"; | ||
exports.default = MarkerArrow; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _Marker = _interopRequireDefault(require("./Marker")); | ||
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function MarkerArrow(_ref) { | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var max = size + strokeWidth * 2; | ||
@@ -28,0 +20,0 @@ var midX = size; |
@@ -5,23 +5,15 @@ "use strict"; | ||
exports.default = MarkerCircle; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _Marker = _interopRequireDefault(require("./Marker")); | ||
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function MarkerCircle(_ref) { | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var diameter = size * 2; | ||
@@ -28,0 +20,0 @@ var bounds = diameter + strokeWidth; |
@@ -5,23 +5,15 @@ "use strict"; | ||
exports.default = MarkerCross; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _Marker = _interopRequireDefault(require("./Marker")); | ||
var _excluded = ["id", "size", "strokeWidth"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function MarkerCross(_ref) { | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var bounds = size + strokeWidth; | ||
@@ -28,0 +20,0 @@ var mid = size / 2; |
@@ -5,25 +5,17 @@ "use strict"; | ||
exports.default = MarkerLine; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _Marker = _interopRequireDefault(require("./Marker")); | ||
var _excluded = ["id", "size", "fill", "stroke", "strokeWidth"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function MarkerLine(_ref) { | ||
var id = _ref.id, | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
fill = _ref.fill, | ||
stroke = _ref.stroke, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$size = _ref.size, | ||
size = _ref$size === void 0 ? 9 : _ref$size, | ||
fill = _ref.fill, | ||
stroke = _ref.stroke, | ||
_ref$strokeWidth = _ref.strokeWidth, | ||
strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
var max = Math.max(size, strokeWidth * 2); | ||
@@ -30,0 +22,0 @@ var midX = max / 2; |
@@ -5,26 +5,18 @@ "use strict"; | ||
exports.default = Marker; | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireDefault(require("react")); | ||
var _excluded = ["id", "markerWidth", "markerHeight", "markerUnits", "children"]; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
function Marker(_ref) { | ||
var id = _ref.id, | ||
_ref$markerWidth = _ref.markerWidth, | ||
markerWidth = _ref$markerWidth === void 0 ? 3 : _ref$markerWidth, | ||
_ref$markerHeight = _ref.markerHeight, | ||
markerHeight = _ref$markerHeight === void 0 ? 3 : _ref$markerHeight, | ||
_ref$markerUnits = _ref.markerUnits, | ||
markerUnits = _ref$markerUnits === void 0 ? 'userSpaceOnUse' : _ref$markerUnits, | ||
children = _ref.children, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
_ref$markerWidth = _ref.markerWidth, | ||
markerWidth = _ref$markerWidth === void 0 ? 3 : _ref$markerWidth, | ||
_ref$markerHeight = _ref.markerHeight, | ||
markerHeight = _ref$markerHeight === void 0 ? 3 : _ref$markerHeight, | ||
_ref$markerUnits = _ref.markerUnits, | ||
markerUnits = _ref$markerUnits === void 0 ? 'userSpaceOnUse' : _ref$markerUnits, | ||
children = _ref.children, | ||
restProps = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
return /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("marker", _extends({ | ||
@@ -37,3 +29,2 @@ id: id, | ||
} | ||
Marker.propTypes = { | ||
@@ -40,0 +31,0 @@ id: _propTypes.default.string.isRequired, |
@@ -5,11 +5,6 @@ "use strict"; | ||
exports.default = MarkerX; | ||
var _react = _interopRequireDefault(require("react")); | ||
var _Cross = _interopRequireDefault(require("./Cross")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
function MarkerX(props) { | ||
@@ -16,0 +11,0 @@ return /*#__PURE__*/_react.default.createElement(_Cross.default, _extends({ |
{ | ||
"name": "@visx/marker", | ||
"version": "2.12.2", | ||
"version": "2.17.0-alpha.0", | ||
"description": "visx marker", | ||
@@ -32,4 +32,4 @@ "sideEffects": false, | ||
"@types/react": "*", | ||
"@visx/group": "2.10.0", | ||
"@visx/shape": "2.12.2", | ||
"@visx/group": "2.17.0-alpha.0", | ||
"@visx/shape": "2.17.0-alpha.0", | ||
"classnames": "^2.3.1", | ||
@@ -44,3 +44,3 @@ "prop-types": "^15.6.2" | ||
}, | ||
"gitHead": "023354adb0db32840302ebd948181365fead687e" | ||
"gitHead": "77292e262dfe082b554b64839eb3ee141439a95f" | ||
} |
@@ -7,4 +7,4 @@ # @visx/marker | ||
Markers are graphical objects attached to a `<path>`, `<line>`, `<polyline>`, or `<polygon>` element. | ||
[MDN `<marker>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker) | ||
Markers are graphical objects attached to a `<path>`, `<line>`, `<polyline>`, or `<polygon>` | ||
element. [MDN `<marker>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker) | ||
@@ -11,0 +11,0 @@ ## Installation |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
28371
1
+ Added@visx/curve@2.17.0-alpha.0(transitive)
+ Added@visx/group@2.17.0-alpha.0(transitive)
+ Added@visx/scale@2.17.0-alpha.0(transitive)
+ Added@visx/shape@2.17.0-alpha.0(transitive)
- Removed@visx/curve@2.1.0(transitive)
- Removed@visx/group@2.10.0(transitive)
- Removed@visx/scale@2.2.2(transitive)
- Removed@visx/shape@2.12.2(transitive)
Updated@visx/group@2.17.0-alpha.0
Updated@visx/shape@2.17.0-alpha.0