@banyan_cloud/roots 1.0.23 → 1.0.24

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/cjs/index.js CHANGED
@@ -35892,12 +35892,13 @@ var TableBody = function TableBody(props) {
35892
35892
  var key = datum === null || datum === void 0 ? void 0 : datum.uuid;
35893
35893
  var setActiveId = function setActiveId() {
35894
35894
  var reset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
35895
- // _setActi(veId(reset ? null : datum?.[uniqueKey]);
35896
35895
  if (reset) {
35897
- // ref.current.blur();
35898
35896
  listRef.current[_index].removeAttribute('data-active');
35899
35897
  } else {
35900
- // listRef.current.focus();
35898
+ var _listRef$current;
35899
+ (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.forEach(function (elem) {
35900
+ elem.removeAttribute('data-active');
35901
+ });
35901
35902
  listRef.current[_index].setAttribute('data-active', true);
35902
35903
  }
35903
35904
  };