rc-picker
Advanced tools
Comparing version 0.0.1-alpha.21 to 0.0.1-alpha.22
@@ -40,2 +40,8 @@ /** | ||
onBlur?: React.FocusEventHandler<HTMLInputElement>; | ||
onMouseDown?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseUp?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>; | ||
onClick?: React.MouseEventHandler<HTMLDivElement>; | ||
onContextMenu?: React.MouseEventHandler<HTMLDivElement>; | ||
/** @private Internal usage, do not use in production mode!!! */ | ||
@@ -42,0 +48,0 @@ inputRef?: React.Ref<HTMLInputElement>; |
@@ -118,3 +118,9 @@ "use strict"; | ||
onFocus = props.onFocus, | ||
onBlur = props.onBlur; // ============================= State ============================= | ||
onBlur = props.onBlur, | ||
onMouseDown = props.onMouseDown, | ||
onMouseUp = props.onMouseUp, | ||
onMouseEnter = props.onMouseEnter, | ||
onMouseLeave = props.onMouseLeave, | ||
onContextMenu = props.onContextMenu, | ||
onClick = props.onClick; // ============================= State ============================= | ||
@@ -420,3 +426,9 @@ var formatList = miscUtil_1.toArray(uiUtil_1.getDefaultFormat(format, picker, showTime, use12Hours)); // Panel ref | ||
className: classnames_1.default(prefixCls, className, (_classnames_1$default2 = {}, _defineProperty(_classnames_1$default2, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default2, "".concat(prefixCls, "-focused"), focused), _classnames_1$default2)), | ||
style: style | ||
style: style, | ||
onMouseDown: onMouseDown, | ||
onMouseUp: onMouseUp, | ||
onMouseEnter: onMouseEnter, | ||
onMouseLeave: onMouseLeave, | ||
onContextMenu: onContextMenu, | ||
onClick: onClick | ||
}, React.createElement(PickerTrigger_1.default, { | ||
@@ -423,0 +435,0 @@ visible: mergedOpen, |
@@ -40,2 +40,8 @@ /** | ||
onBlur?: React.FocusEventHandler<HTMLInputElement>; | ||
onMouseDown?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseUp?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>; | ||
onMouseLeave?: React.MouseEventHandler<HTMLDivElement>; | ||
onClick?: React.MouseEventHandler<HTMLDivElement>; | ||
onContextMenu?: React.MouseEventHandler<HTMLDivElement>; | ||
/** @private Internal usage, do not use in production mode!!! */ | ||
@@ -42,0 +48,0 @@ inputRef?: React.Ref<HTMLInputElement>; |
@@ -118,3 +118,9 @@ "use strict"; | ||
onFocus = props.onFocus, | ||
onBlur = props.onBlur; // ============================= State ============================= | ||
onBlur = props.onBlur, | ||
onMouseDown = props.onMouseDown, | ||
onMouseUp = props.onMouseUp, | ||
onMouseEnter = props.onMouseEnter, | ||
onMouseLeave = props.onMouseLeave, | ||
onContextMenu = props.onContextMenu, | ||
onClick = props.onClick; // ============================= State ============================= | ||
@@ -420,3 +426,9 @@ var formatList = miscUtil_1.toArray(uiUtil_1.getDefaultFormat(format, picker, showTime, use12Hours)); // Panel ref | ||
className: classnames_1.default(prefixCls, className, (_classnames_1$default2 = {}, _defineProperty(_classnames_1$default2, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classnames_1$default2, "".concat(prefixCls, "-focused"), focused), _classnames_1$default2)), | ||
style: style | ||
style: style, | ||
onMouseDown: onMouseDown, | ||
onMouseUp: onMouseUp, | ||
onMouseEnter: onMouseEnter, | ||
onMouseLeave: onMouseLeave, | ||
onContextMenu: onContextMenu, | ||
onClick: onClick | ||
}, React.createElement(PickerTrigger_1.default, { | ||
@@ -423,0 +435,0 @@ visible: mergedOpen, |
{ | ||
"name": "rc-picker", | ||
"version": "0.0.1-alpha.21", | ||
"version": "0.0.1-alpha.22", | ||
"description": "React date & time picker", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
447729
10928