orbital-list
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -372,2 +372,6 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var onMouseUp = React.useCallback(function (e) { | ||
if (dragInfo.start === null || dragInfo.current === null) { | ||
return; | ||
} | ||
e.preventDefault(); | ||
@@ -661,3 +665,5 @@ setDragInfo(function (before) { | ||
var color = "rgba(255, 255, 255, " + opacity + ")"; | ||
return React__default.createElement(React__default.Fragment, null, React__default.createElement(Label, { | ||
return React__default.createElement(React__default.Fragment, { | ||
key: hour | ||
}, React__default.createElement(Label, { | ||
angle: asAngle(hour), | ||
@@ -732,3 +738,3 @@ distance: 0.9, | ||
distance: distance(layer) | ||
}, children ? children : null); | ||
}, children); | ||
})); | ||
@@ -735,0 +741,0 @@ }; |
@@ -369,2 +369,6 @@ import React, { useRef, useState, useCallback, useEffect, createContext, useLayoutEffect, useContext } from 'react'; | ||
var onMouseUp = useCallback(function (e) { | ||
if (dragInfo.start === null || dragInfo.current === null) { | ||
return; | ||
} | ||
e.preventDefault(); | ||
@@ -658,3 +662,5 @@ setDragInfo(function (before) { | ||
var color = "rgba(255, 255, 255, " + opacity + ")"; | ||
return React.createElement(React.Fragment, null, React.createElement(Label, { | ||
return React.createElement(React.Fragment, { | ||
key: hour | ||
}, React.createElement(Label, { | ||
angle: asAngle(hour), | ||
@@ -729,3 +735,3 @@ distance: 0.9, | ||
distance: distance(layer) | ||
}, children ? children : null); | ||
}, children); | ||
})); | ||
@@ -732,0 +738,0 @@ }; |
{ | ||
"name": "orbital-list", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A React library to display data using circles, orbits, and planets.", | ||
@@ -5,0 +5,0 @@ "author": "lsenta", |
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
151455
1695