@sankhyalabs/sankhyablocks 1.1.23 → 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.
@@ -74,7 +74,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
74
74
  };
75
75
  const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
76
76
  let scopeId = getScopeId(cmpMeta);
77
- let style = styles.get(scopeId);
77
+ const style = styles.get(scopeId);
78
78
  // if an element is NOT connected then getRootNode() will return the wrong root node
79
79
  // so the fallback is to always use the document for the root node in those cases
80
80
  styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
@@ -149,7 +149,7 @@ const h = (nodeName, vnodeData, ...children) => {
149
149
  let child = null;
150
150
  let simple = false;
151
151
  let lastSimple = false;
152
- let vNodeChildren = [];
152
+ const vNodeChildren = [];
153
153
  const walk = (c) => {
154
154
  for (let i = 0; i < c.length; i++) {
155
155
  child = c[i];
@@ -194,7 +194,7 @@ const Host = {};
194
194
  const isHost = (node) => node && node.$tag$ === Host;
195
195
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
196
196
  // tslint:disable-next-line: prefer-const
197
- let newVNode = newParentVNode.$children$[childIndex];
197
+ const newVNode = newParentVNode.$children$[childIndex];
198
198
  let i = 0;
199
199
  let elm;
200
200
  let childNode;
@@ -671,7 +671,9 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
671
671
  if (module) {
672
672
  return module[exportName];
673
673
  }
674
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
674
675
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
676
+ /* @vite-ignore */
675
677
  /* webpackInclude: /\.entry\.js$/ */
676
678
  /* webpackExclude: /\.system\.entry\.js$/ */
677
679
  /* webpackMode: "lazy" */
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-20a7d705.js');
5
+ const index = require('./index-4720dab8.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Esm v2.15.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchEsm = () => {
11
11
  return index.promiseResolve();
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-20a7d705.js');
3
+ const index = require('./index-4720dab8.js');
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v2.15.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.16.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  const patchBrowser = () => {
9
9
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('sankhyablocks.cjs.js', document.baseURI).href));