@sankhyalabs/sankhyablocks 1.1.21 → 1.1.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.
@@ -52,7 +52,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
52
52
  };
53
53
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
54
54
  let scopeId = getScopeId(cmpMeta);
55
- let style = styles.get(scopeId);
55
+ const style = styles.get(scopeId);
56
56
  // if an element is NOT connected then getRootNode() will return the wrong root node
57
57
  // so the fallback is to always use the document for the root node in those cases
58
58
  styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
@@ -127,7 +127,7 @@ const h = (nodeName, vnodeData, ...children) => {
127
127
  let child = null;
128
128
  let simple = false;
129
129
  let lastSimple = false;
130
- let vNodeChildren = [];
130
+ const vNodeChildren = [];
131
131
  const walk = (c) => {
132
132
  for (let i = 0; i < c.length; i++) {
133
133
  child = c[i];
@@ -172,7 +172,7 @@ const Host = {};
172
172
  const isHost = (node) => node && node.$tag$ === Host;
173
173
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
174
174
  // tslint:disable-next-line: prefer-const
175
- let newVNode = newParentVNode.$children$[childIndex];
175
+ const newVNode = newParentVNode.$children$[childIndex];
176
176
  let i = 0;
177
177
  let elm;
178
178
  let childNode;
@@ -649,7 +649,9 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
649
649
  if (module) {
650
650
  return module[exportName];
651
651
  }
652
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
652
653
  return import(
654
+ /* @vite-ignore */
653
655
  /* webpackInclude: /\.entry\.js$/ */
654
656
  /* webpackExclude: /\.system\.entry\.js$/ */
655
657
  /* webpackMode: "lazy" */
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8d3572c4.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-72d4e2e0.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-8d3572c4.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-72d4e2e0.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchBrowser = () => {
7
7
  const importMeta = import.meta.url;