Socket
Socket
Sign inDemoInstall

rmc-date-picker

Package Overview
Dependencies
23
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.3.0

2

lib/Popup.js

@@ -33,3 +33,3 @@ 'use strict';

var PROPS = ['onDismiss', 'children', 'style', 'okText', 'dismissText', 'className', 'popupTransitionName', 'maskTransitionName'];
var PROPS = ['onDismiss', 'children', 'style', 'okText', 'dismissText', 'title', 'className', 'popupTransitionName', 'maskTransitionName'];

@@ -36,0 +36,0 @@ var PopupDatePicker = _react2["default"].createClass({

{
"name": "rmc-date-picker",
"version": "2.2.0",
"version": "2.3.0",
"description": "m-date-picker ui component for react",

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

@@ -63,3 +63,2 @@ # rmc-date-picker

|date | The currently selected date. | GregorianCalendar | |
|onDateChange | Date change handler. | Function(date: GregorianCalendar) | '' |
|mode | The date picker mode. | String | 'date' enum('date', 'time', 'datetime') |

@@ -69,2 +68,3 @@ |minDate | min date | [GregorianCalendar](https://github.com/yiminghe/gregorian-calendar) | 2000-1-1 |

|locale | the locale of area | Object | import from 'rmc-date-picker/lib/locale/en_US' |
|onDateChange | Date change handler. | Function(date: GregorianCalendar) | '' |

@@ -76,6 +76,9 @@ ### rmc-date-picker/lib/Popup props

|className | additional css class of modal node | String | '' |
|style | additional modal style | object | {} |
|popupTransitionName | | String | |
|maskTransitionName | | String | |
|prefixCls | prefix class | String | 'rmc-date-picker' |
|pickerPrefixCls | picker prefix class | String | 'rmc-picker' |
|popupPrefixCls | popup's prefix class | String | 'rmc-picker-popup' |
|date | The currently selected date. | GregorianCalendar | |
|onPickerChange | Date inside picker change handler. | Function(date: GregorianCalendar) | '' |
|mode | The date picker mode. | String | 'date' enum('date', 'time', 'datetime') |

@@ -85,13 +88,12 @@ |minDate | min date | [GregorianCalendar](https://github.com/yiminghe/gregorian-calendar) | 2000-1-1 |

|locale | the locale of area | Object | import from 'rmc-date-picker/lib/locale/en_US' |
|style | additional modal style | object | {} |
|visible | whether pop picker is visible | Boolean | false |
|onChange | exec on ok | Function(date: GregorianCalendar) | |
|onPickerChange | Date inside picker change handler. | Function(date: GregorianCalendar) | '' |
|onVisibleChange | called when pop picker visible change | Function | |
|onDismiss | exec on dismiss | function | |
|okText | ok button text | String | 'Ok' |
|dismissText | dismiss button text | String | 'Dismiss' |
|visible | whether pop picker is visible | Boolean | |
|onVisibleChange | called when pop picker visible change | Function | |
|popupPrefixCls | | String | |
|popupTransitionName | | String | |
|maskTransitionName | | String | |
|title | Popup title | String | '' |
## Test Case

@@ -98,0 +100,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc