proto-ikons-wc 0.0.120 → 0.0.122

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-32725b2a.js');
5
+ const index = require('./index-f1bf25d7.js');
6
6
 
7
7
  const acuraIkonCss = "";
8
8
 
@@ -1428,12 +1428,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1428
1428
  // If we have styles, add them to the DOM
1429
1429
  if (dataStyles.innerHTML.length) {
1430
1430
  dataStyles.setAttribute('data-styles', '');
1431
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1432
1431
  // Apply CSP nonce to the style tag if it exists
1433
1432
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1434
1433
  if (nonce != null) {
1435
1434
  dataStyles.setAttribute('nonce', nonce);
1436
1435
  }
1436
+ // Insert the styles into the document head
1437
+ // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
1438
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1437
1439
  }
1438
1440
  // Process deferred connectedCallbacks now all components have been registered
1439
1441
  isBootstrapping = false;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-32725b2a.js');
5
+ const index = require('./index-f1bf25d7.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-32725b2a.js');
5
+ const index = require('./index-f1bf25d7.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.8.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikons-wc.cjs.js', document.baseURI).href));
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.8.0",
125
+ "version": "4.8.1",
126
126
  "typescriptVersion": "5.2.2"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-ee038cc8.js';
1
+ import { r as registerInstance, h } from './index-8f3312cf.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
 
@@ -1406,12 +1406,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1406
1406
  // If we have styles, add them to the DOM
1407
1407
  if (dataStyles.innerHTML.length) {
1408
1408
  dataStyles.setAttribute('data-styles', '');
1409
- head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1410
1409
  // Apply CSP nonce to the style tag if it exists
1411
1410
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1412
1411
  if (nonce != null) {
1413
1412
  dataStyles.setAttribute('nonce', nonce);
1414
1413
  }
1414
+ // Insert the styles into the document head
1415
+ // NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
1416
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1415
1417
  }
1416
1418
  // Process deferred connectedCallbacks now all components have been registered
1417
1419
  isBootstrapping = false;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-ee038cc8.js';
2
- export { s as setNonce } from './index-ee038cc8.js';
1
+ import { b as bootstrapLazy } from './index-8f3312cf.js';
2
+ export { s as setNonce } from './index-8f3312cf.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-ee038cc8.js';
2
- export { s as setNonce } from './index-ee038cc8.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-8f3312cf.js';
2
+ export { s as setNonce } from './index-8f3312cf.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.8.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.8.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;