mol_view_tree2_lib 1.0.298 → 1.0.300

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_view_tree2_lib",
3
- "version": "1.0.298",
3
+ "version": "1.0.300",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
package/web.test.js CHANGED
@@ -3799,14 +3799,14 @@ var $;
3799
3799
  class $mol_view_selection extends $mol_object {
3800
3800
  static focused(next, notify) {
3801
3801
  const parents = [];
3802
- let element = next?.[0] ?? $mol_dom_context.document.activeElement;
3802
+ let element = next?.[0] ?? $mol_dom.document.activeElement;
3803
3803
  while (element?.shadowRoot) {
3804
3804
  element = element.shadowRoot.activeElement;
3805
3805
  }
3806
3806
  while (element) {
3807
3807
  parents.push(element);
3808
3808
  const parent = element.parentNode;
3809
- if (parent instanceof ShadowRoot)
3809
+ if (parent instanceof $mol_dom.ShadowRoot)
3810
3810
  element = parent.host;
3811
3811
  else
3812
3812
  element = parent;
@@ -3818,7 +3818,7 @@ var $;
3818
3818
  if (element)
3819
3819
  element.focus();
3820
3820
  else
3821
- $mol_dom_context.blur();
3821
+ $mol_dom.blur();
3822
3822
  });
3823
3823
  return parents;
3824
3824
  }