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

rc-picker

Package Overview
Dependencies
Maintainers
1
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-picker - npm Package Compare versions

Comparing version 0.0.1-alpha.40 to 0.0.1-alpha.41

27

es/RangePicker.js

@@ -249,10 +249,15 @@ "use strict";

selectedValue = _useMergeState_1$defa6[0],
setSelectedValue = _useMergeState_1$defa6[1]; // ========================== Hover Range ==========================
setSelectedValue = _useMergeState_1$defa6[1];
var _React$useState3 = React.useState(null),
_React$useState4 = _slicedToArray(_React$useState3, 2),
hoverRangedValue = _React$useState4[0],
setHoverRangedValue = _React$useState4[1];
rangeHoverValue = _React$useState4[0],
setRangeHoverValue = _React$useState4[1]; // ========================== Hover Range ==========================
var _React$useState5 = React.useState(null),
_React$useState6 = _slicedToArray(_React$useState5, 2),
hoverRangedValue = _React$useState6[0],
setHoverRangedValue = _React$useState6[1];
var onDateMouseEnter = function onDateMouseEnter(date) {

@@ -320,6 +325,6 @@ setHoverRangedValue(miscUtil_1.updateValues(selectedValue, date, activePickerIndex));

var _React$useState5 = React.useState(0),
_React$useState6 = _slicedToArray(_React$useState5, 2),
popupMinWidth = _React$useState6[0],
setPopupMinWidth = _React$useState6[1];
var _React$useState7 = React.useState(0),
_React$useState8 = _slicedToArray(_React$useState7, 2),
popupMinWidth = _React$useState8[0],
setPopupMinWidth = _React$useState8[1];

@@ -592,3 +597,3 @@ React.useEffect(function () {

panelPosition: panelPosition,
rangedValue: selectedValue,
rangedValue: rangeHoverValue || selectedValue,
hoverRangedValue: panelHoverRangedValue,

@@ -681,6 +686,6 @@ onSelect: onContextSelect

onMouseEnter: function onMouseEnter() {
setHoverRangedValue(rangeValues);
setRangeHoverValue(rangeValues);
},
onMouseLeave: function onMouseLeave() {
setHoverRangedValue(miscUtil_1.updateValues(selectedValue, null, activePickerIndex));
setRangeHoverValue(null);
}

@@ -687,0 +692,0 @@ }, label));

@@ -249,10 +249,15 @@ "use strict";

selectedValue = _useMergeState_1$defa6[0],
setSelectedValue = _useMergeState_1$defa6[1]; // ========================== Hover Range ==========================
setSelectedValue = _useMergeState_1$defa6[1];
var _React$useState3 = React.useState(null),
_React$useState4 = _slicedToArray(_React$useState3, 2),
hoverRangedValue = _React$useState4[0],
setHoverRangedValue = _React$useState4[1];
rangeHoverValue = _React$useState4[0],
setRangeHoverValue = _React$useState4[1]; // ========================== Hover Range ==========================
var _React$useState5 = React.useState(null),
_React$useState6 = _slicedToArray(_React$useState5, 2),
hoverRangedValue = _React$useState6[0],
setHoverRangedValue = _React$useState6[1];
var onDateMouseEnter = function onDateMouseEnter(date) {

@@ -320,6 +325,6 @@ setHoverRangedValue(miscUtil_1.updateValues(selectedValue, date, activePickerIndex));

var _React$useState5 = React.useState(0),
_React$useState6 = _slicedToArray(_React$useState5, 2),
popupMinWidth = _React$useState6[0],
setPopupMinWidth = _React$useState6[1];
var _React$useState7 = React.useState(0),
_React$useState8 = _slicedToArray(_React$useState7, 2),
popupMinWidth = _React$useState8[0],
setPopupMinWidth = _React$useState8[1];

@@ -592,3 +597,3 @@ React.useEffect(function () {

panelPosition: panelPosition,
rangedValue: selectedValue,
rangedValue: rangeHoverValue || selectedValue,
hoverRangedValue: panelHoverRangedValue,

@@ -681,6 +686,6 @@ onSelect: onContextSelect

onMouseEnter: function onMouseEnter() {
setHoverRangedValue(rangeValues);
setRangeHoverValue(rangeValues);
},
onMouseLeave: function onMouseLeave() {
setHoverRangedValue(miscUtil_1.updateValues(selectedValue, null, activePickerIndex));
setRangeHoverValue(null);
}

@@ -687,0 +692,0 @@ }, label));

{
"name": "rc-picker",
"version": "0.0.1-alpha.40",
"version": "0.0.1-alpha.41",
"description": "React date & time picker",

@@ -5,0 +5,0 @@ "keywords": [

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