@rio-cloud/rio-uikit 0.16.1-beta-3 → 0.16.1-beta-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -71,7 +71,6 @@ var DatePicker = function DatePicker(props) {
|
|
|
71
71
|
DatePicker.defaultProps = {
|
|
72
72
|
closeOnSelect: true,
|
|
73
73
|
dropup: false,
|
|
74
|
-
defaultValue: (0, _moment.default)(),
|
|
75
74
|
locale: 'en-GB',
|
|
76
75
|
onChange: function onChange() {},
|
|
77
76
|
clearableInput: false,
|
|
@@ -82,7 +81,7 @@ DatePicker.propTypes = {
|
|
|
82
81
|
className: _propTypes.default.string,
|
|
83
82
|
closeOnSelect: _propTypes.default.bool,
|
|
84
83
|
clearableInput: _propTypes.default.bool,
|
|
85
|
-
|
|
84
|
+
initialValue: _propTypes.default.object,
|
|
86
85
|
locale: _propTypes.default.string,
|
|
87
86
|
onChange: _propTypes.default.func,
|
|
88
87
|
dropup: _propTypes.default.bool,
|
package/lib/types.ts
CHANGED
|
@@ -498,6 +498,7 @@ export interface DatePickerProps extends DatetimepickerProps {
|
|
|
498
498
|
alignRight?: boolean;
|
|
499
499
|
locale?: string;
|
|
500
500
|
closeOnSelect?: boolean;
|
|
501
|
+
initialValue?: Date | Moment;
|
|
501
502
|
value?: Date | string | Moment;
|
|
502
503
|
dateFormat?: string | boolean;
|
|
503
504
|
timeFormat?: string | boolean;
|
package/lib/version.json
CHANGED
package/package.json
CHANGED