@karmo-co/drift-kit-public 25.22.0 → 25.23.0

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/components.js CHANGED
@@ -4634,7 +4634,7 @@
4634
4634
  var node = scope || document;
4635
4635
  if (node.matches && node.matches('.dk-component-select'))
4636
4636
  initSelect(node);
4637
- var nodes = node.querySelectorAll ? node.querySelectorAll('.dk-component-select') : [];
4637
+ var nodes = node.querySelectorAll ? node.querySelectorAll('.dk-component-select:not([data-dk-react])') : [];
4638
4638
  Array.prototype.forEach.call(nodes, initSelect);
4639
4639
  }
4640
4640
  var dk = window.dk = window.dk || {};
@@ -6834,7 +6834,7 @@
6834
6834
  var s = scope || document;
6835
6835
  if (s.matches && s.matches('.' + P))
6836
6836
  initRoot(s);
6837
- Array.prototype.forEach.call(s.querySelectorAll('.' + P), initRoot);
6837
+ Array.prototype.forEach.call(s.querySelectorAll('.' + P + ':not([data-dk-react])'), initRoot);
6838
6838
  }
6839
6839
  function sync(root) { if (root)
6840
6840
  initRoot(root); }
@@ -12404,7 +12404,7 @@
12404
12404
  var s = scope || document;
12405
12405
  if (s.matches && s.matches('.' + P))
12406
12406
  initRoot(s);
12407
- Array.prototype.forEach.call(s.querySelectorAll('.' + P), initRoot);
12407
+ Array.prototype.forEach.call(s.querySelectorAll('.' + P + ':not([data-dk-react])'), initRoot);
12408
12408
  }
12409
12409
  dk.component.sidebar = { init: init };
12410
12410
  if (document.readyState !== 'loading')