shineout 1.12.6-beta.2 → 1.12.6-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.
- package/css/DatePicker/Range.js +1 -2
- package/css/Dropdown/index.js +2 -0
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +571 -456
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/DatePicker/Range.js +1 -1
- package/es/Dropdown/index.js +2 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/DatePicker/Range.js +1 -2
- package/lib/Dropdown/index.js +2 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/DatePicker/Range.js
CHANGED
|
@@ -123,8 +123,7 @@ function (_PureComponent) {
|
|
|
123
123
|
_proto.handleChange = function handleChange(index, date, change, end, mode, isQuickSelect, areaType) {
|
|
124
124
|
var _this2 = this;
|
|
125
125
|
|
|
126
|
-
var newDate = _utils.default.toDate(date);
|
|
127
|
-
|
|
126
|
+
var newDate = date ? _utils.default.toDate(date, this.getOptions()) : '';
|
|
128
127
|
var _this$props = this.props,
|
|
129
128
|
type = _this$props.type,
|
|
130
129
|
range = _this$props.range,
|
package/css/Dropdown/index.js
CHANGED
|
@@ -175,6 +175,8 @@ function (_PureComponent) {
|
|
|
175
175
|
};
|
|
176
176
|
|
|
177
177
|
_proto.handleToggle = function handleToggle(show) {
|
|
178
|
+
var disabled = this.props.disabled;
|
|
179
|
+
if (disabled === true) return;
|
|
178
180
|
if (this.getTrigger() === 'click') return;
|
|
179
181
|
if (show) this.handleFocus();else this.handleHide();
|
|
180
182
|
};
|
package/css/index.d.ts
CHANGED