react-magma-dom 4.10.0-next.3 → 4.10.0-next.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.
@@ -4567,7 +4567,7 @@ var _excluded$q = ["color", "containerStyle", "disabled", "errorMessage", "input
4567
4567
  IndeterminateCheckboxStatus["indeterminate"] = "indeterminate";
4568
4568
  IndeterminateCheckboxStatus["unchecked"] = "unchecked";
4569
4569
  })(exports.IndeterminateCheckboxStatus || (exports.IndeterminateCheckboxStatus = {}));
4570
- var IndeterminateCheckbox = /*#__PURE__*/React.forwardRef(function (props, ref) {
4570
+ var IndeterminateCheckbox = /*#__PURE__*/React.forwardRef(function (props, _ref) {
4571
4571
  var _React$useState = React.useState(props.status === 'indeterminate' ? false : Boolean(props.status === 'checked')),
4572
4572
  isChecked = _React$useState[0],
4573
4573
  updateIsChecked = _React$useState[1];
@@ -4624,7 +4624,10 @@ var IndeterminateCheckbox = /*#__PURE__*/React.forwardRef(function (props, ref)
4624
4624
  "data-testid": testId,
4625
4625
  disabled: disabled,
4626
4626
  id: id,
4627
- ref: ref,
4627
+ ref: function ref(el) {
4628
+ if (el) el.indeterminate = isIndeterminate;
4629
+ if (typeof _ref === 'function') _ref(el);else if (_ref) _ref.current = el;
4630
+ },
4628
4631
  type: "checkbox",
4629
4632
  onChange: handleChange
4630
4633
  })), React.createElement(StyledLabel$1, {