sag_components 2.0.0-beta353 → 2.0.0-beta354

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/index.js CHANGED
@@ -41980,7 +41980,10 @@ const TableHeader = _ref => {
41980
41980
  "data-column": column.key
41981
41981
  }), column.fieldType?.toLowerCase() === 'checkbox' && column.showCheckboxInTitle === true && /*#__PURE__*/React__default["default"].createElement(ColumnCheckbox, {
41982
41982
  type: "checkbox",
41983
- checked: headerCheckboxStates[column.key] || false,
41983
+ checked: headerCheckboxStates[column.key] !== "partial" && Boolean(headerCheckboxStates[column.key]),
41984
+ ref: el => {
41985
+ if (el) el.indeterminate = headerCheckboxStates[column.key] === "partial";
41986
+ },
41984
41987
  onChange: e => handleHeaderCheckboxClick(column.key, e),
41985
41988
  "data-column": column.key,
41986
41989
  style: {