morse-react-tables
Advanced tools
Comparing version 3.2.0-alpha.1 to 3.2.0
@@ -27,3 +27,5 @@ "use strict"; | ||
} | ||
var allSelected = items.every(pluginConfig.predicate | ||
var allSelected = items | ||
.filter(function (item) { var _a; return !((_a = pluginConfig.disabledValues) === null || _a === void 0 ? void 0 : _a.includes(item[pluginConfig.selectionKey])); }) | ||
.every(pluginConfig.predicate | ||
? function (item) { | ||
@@ -34,3 +36,5 @@ return pluginConfig.selectedValues.some(function (selectedItem) { | ||
} | ||
: function (item) { return pluginConfig.selectedValues.includes(item[pluginConfig.selectionKey]); }); | ||
: function (item) { | ||
return pluginConfig.selectedValues.includes(item[pluginConfig.selectionKey]); | ||
}); | ||
var handleOnClick = function () { | ||
@@ -37,0 +41,0 @@ if (pluginConfig.onSelectAll) { |
{ | ||
"name": "morse-react-tables", | ||
"version": "3.2.0-alpha.1", | ||
"version": "3.2.0", | ||
"description": "Patterns for building tables", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"morse-css": "3.1.8", | ||
"morse-react": "3.2.0-alpha.1", | ||
"morse-react": "3.2.0", | ||
"react": "^18.0.0", | ||
@@ -46,3 +46,3 @@ "react-dom": "^18.0.0", | ||
], | ||
"gitHead": "1abb287a23e29887c3d32d8173c4bae454359aad" | ||
"gitHead": "f8b1b17879a659de3ae19b603dc3735b91dbee33" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
112045
2388
0