mam 1.11.1028 → 1.11.1029

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/node.test.js CHANGED
@@ -12992,14 +12992,14 @@ var $;
12992
12992
  class $mol_view_selection extends $mol_object {
12993
12993
  static focused(next, notify) {
12994
12994
  const parents = [];
12995
- let element = next?.[0] ?? $mol_dom_context.document.activeElement;
12995
+ let element = next?.[0] ?? $mol_dom.document.activeElement;
12996
12996
  while (element?.shadowRoot) {
12997
12997
  element = element.shadowRoot.activeElement;
12998
12998
  }
12999
12999
  while (element) {
13000
13000
  parents.push(element);
13001
13001
  const parent = element.parentNode;
13002
- if (parent instanceof ShadowRoot)
13002
+ if (parent instanceof $mol_dom.ShadowRoot)
13003
13003
  element = parent.host;
13004
13004
  else
13005
13005
  element = parent;
@@ -13011,7 +13011,7 @@ var $;
13011
13011
  if (element)
13012
13012
  element.focus();
13013
13013
  else
13014
- $mol_dom_context.blur();
13014
+ $mol_dom.blur();
13015
13015
  });
13016
13016
  return parents;
13017
13017
  }