shineout 2.0.5-beta.2 → 2.0.5-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/Cascader/Cascader.js +1 -0
- package/css/Cascader/filter.js +3 -1
- package/css/Table/Table.js +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +1509 -1496
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Cascader/Cascader.js +1 -0
- package/es/Cascader/filter.js +3 -1
- package/es/Table/Table.js +1 -1
- package/es/index.js +1 -1
- package/lib/Cascader/Cascader.js +1 -0
- package/lib/Cascader/filter.js +3 -1
- package/lib/Table/Table.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Cascader/Cascader.js
CHANGED
|
@@ -157,6 +157,7 @@ function (_PureComponent) {
|
|
|
157
157
|
|
|
158
158
|
_proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {
|
|
159
159
|
this.datum.mode = this.props.mode;
|
|
160
|
+
this.datum.updateDisabled(this.props.disabled);
|
|
160
161
|
this.setOpenEvent();
|
|
161
162
|
var _this$props = this.props,
|
|
162
163
|
onFilter = _this$props.onFilter,
|
package/css/Cascader/filter.js
CHANGED
|
@@ -96,7 +96,9 @@ var _default = function _default(Origin) {
|
|
|
96
96
|
var _this$state = this.state,
|
|
97
97
|
filterText = _this$state.filterText,
|
|
98
98
|
filter = _this$state.filter;
|
|
99
|
-
if (!onFilter) return _react.default.createElement(Origin, this.props
|
|
99
|
+
if (!onFilter) return _react.default.createElement(Origin, (0, _extends2.default)({}, this.props, {
|
|
100
|
+
sourceData: this.props.data
|
|
101
|
+
}));
|
|
100
102
|
var data = this.getData();
|
|
101
103
|
return _react.default.createElement(Origin, (0, _extends2.default)({}, this.props, {
|
|
102
104
|
data: data,
|
package/css/Table/Table.js
CHANGED
|
@@ -98,7 +98,7 @@ function (_Component) {
|
|
|
98
98
|
_proto.componentDidMount = function componentDidMount() {
|
|
99
99
|
var _this2 = this;
|
|
100
100
|
|
|
101
|
-
if (this.props.sticky && this.table &&
|
|
101
|
+
if (this.props.sticky && this.table && window.IntersectionObserver) {
|
|
102
102
|
var observer = new IntersectionObserver(function (entries) {
|
|
103
103
|
var entry = entries[0];
|
|
104
104
|
|