@kdcloudjs/table 1.2.0-canary.12 → 1.2.0-canary.13
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/dist/@kdcloudjs/table.css +1 -1
- package/dist/@kdcloudjs/table.js +6 -4
- package/dist/@kdcloudjs/table.js.map +1 -1
- package/dist/@kdcloudjs/table.min.css +1 -1
- package/dist/@kdcloudjs/table.min.js +2 -2
- package/dist/@kdcloudjs/table.min.js.map +1 -1
- package/es/table/base/table.js +4 -2
- package/es/table/pipeline/features/columnFilter.js +1 -1
- package/lib/table/base/table.js +4 -2
- package/lib/table/pipeline/features/columnFilter.js +1 -1
- package/package.json +1 -1
package/es/table/base/table.js
CHANGED
|
@@ -439,7 +439,8 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
439
439
|
}, /*#__PURE__*/React.createElement("div", {
|
|
440
440
|
className: cx(Classes.horizontalScrollLeftSpacer),
|
|
441
441
|
style: {
|
|
442
|
-
width: info.leftLockTotalWidth
|
|
442
|
+
width: info.leftLockTotalWidth,
|
|
443
|
+
display: hasStickyScroll && hasScroll ? 'block' : 'none'
|
|
443
444
|
}
|
|
444
445
|
}), /*#__PURE__*/React.createElement("div", {
|
|
445
446
|
className: cx(Classes.stickyScroll),
|
|
@@ -452,7 +453,8 @@ export var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
452
453
|
})), /*#__PURE__*/React.createElement("div", {
|
|
453
454
|
className: cx(Classes.horizontalScrollRightSpacer),
|
|
454
455
|
style: {
|
|
455
|
-
width: info.rightLockTotalWidth
|
|
456
|
+
width: info.rightLockTotalWidth,
|
|
457
|
+
display: hasStickyScroll && hasScroll ? 'block' : 'none'
|
|
456
458
|
}
|
|
457
459
|
}));
|
|
458
460
|
}
|
|
@@ -88,7 +88,7 @@ export function filter() {
|
|
|
88
88
|
var colFilterIcon = (_f = (_e = col.features) === null || _e === void 0 ? void 0 : _e.filterIcon) !== null && _f !== void 0 ? _f : filterIcon;
|
|
89
89
|
|
|
90
90
|
var _Filter = /*#__PURE__*/React.createElement(Filter, {
|
|
91
|
-
key: "
|
|
91
|
+
key: "".concat(col.code, "_filter"),
|
|
92
92
|
FilterPanelContent: filterPanel,
|
|
93
93
|
filterIcon: colFilterIcon,
|
|
94
94
|
filterModel: inputFiltersMap.get(col.code),
|
package/lib/table/base/table.js
CHANGED
|
@@ -488,7 +488,8 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
488
488
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
489
489
|
className: (0, _classnames.default)(_styles.Classes.horizontalScrollLeftSpacer),
|
|
490
490
|
style: {
|
|
491
|
-
width: info.leftLockTotalWidth
|
|
491
|
+
width: info.leftLockTotalWidth,
|
|
492
|
+
display: hasStickyScroll && hasScroll ? 'block' : 'none'
|
|
492
493
|
}
|
|
493
494
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
494
495
|
className: (0, _classnames.default)(_styles.Classes.stickyScroll),
|
|
@@ -501,7 +502,8 @@ var BaseTable = /*#__PURE__*/function (_React$Component) {
|
|
|
501
502
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
502
503
|
className: (0, _classnames.default)(_styles.Classes.horizontalScrollRightSpacer),
|
|
503
504
|
style: {
|
|
504
|
-
width: info.rightLockTotalWidth
|
|
505
|
+
width: info.rightLockTotalWidth,
|
|
506
|
+
display: hasStickyScroll && hasScroll ? 'block' : 'none'
|
|
505
507
|
}
|
|
506
508
|
}));
|
|
507
509
|
}
|
|
@@ -111,7 +111,7 @@ function filter() {
|
|
|
111
111
|
var colFilterIcon = (_f = (_e = col.features) === null || _e === void 0 ? void 0 : _e.filterIcon) !== null && _f !== void 0 ? _f : filterIcon;
|
|
112
112
|
|
|
113
113
|
var _Filter = /*#__PURE__*/_react.default.createElement(_filter2.Filter, {
|
|
114
|
-
key: "
|
|
114
|
+
key: "".concat(col.code, "_filter"),
|
|
115
115
|
FilterPanelContent: filterPanel,
|
|
116
116
|
filterIcon: colFilterIcon,
|
|
117
117
|
filterModel: inputFiltersMap.get(col.code),
|