proto-ikons-wc 0.0.110 → 0.0.111
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/dist/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-f60de1b5.js → index-0bc5ea4a.js} +4 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-2cc584a9.js → index-34f9dd90.js} +4 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-b951b1e2.entry.js → p-d1a58874.entry.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -3
- package/package.json +2 -2
- /package/dist/proto-ikons-wc/{p-61361063.js → p-25f9d786.js} +0 -0
|
@@ -124,6 +124,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
124
124
|
};
|
|
125
125
|
walk(children);
|
|
126
126
|
if (vnodeData) {
|
|
127
|
+
// normalize class / className attributes
|
|
127
128
|
{
|
|
128
129
|
const classData = vnodeData.className || vnodeData.class;
|
|
129
130
|
if (classData) {
|
|
@@ -1112,12 +1113,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1112
1113
|
// customElements.define('my-component', MyComponent);
|
|
1113
1114
|
// </script>
|
|
1114
1115
|
// ```
|
|
1115
|
-
// In this case if we do not
|
|
1116
|
+
// In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1116
1117
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1117
1118
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1118
|
-
// the connectedCallback attempts to
|
|
1119
|
+
// the connectedCallback attempts to un-shadow it will use "some-value" as the initial value rather than "another-value"
|
|
1119
1120
|
//
|
|
1120
|
-
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/
|
|
1121
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed
|
|
1121
1122
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
1122
1123
|
//
|
|
1123
1124
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0bc5ea4a.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-
|
|
5
|
+
const index = require('./index-0bc5ea4a.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.2.
|
|
8
|
+
Stencil Client Patch Browser v4.2.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));
|
|
@@ -102,6 +102,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
102
102
|
};
|
|
103
103
|
walk(children);
|
|
104
104
|
if (vnodeData) {
|
|
105
|
+
// normalize class / className attributes
|
|
105
106
|
{
|
|
106
107
|
const classData = vnodeData.className || vnodeData.class;
|
|
107
108
|
if (classData) {
|
|
@@ -1090,12 +1091,12 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1090
1091
|
// customElements.define('my-component', MyComponent);
|
|
1091
1092
|
// </script>
|
|
1092
1093
|
// ```
|
|
1093
|
-
// In this case if we do not
|
|
1094
|
+
// In this case if we do not un-shadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1094
1095
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1095
1096
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1096
|
-
// the connectedCallback attempts to
|
|
1097
|
+
// the connectedCallback attempts to un-shadow it will use "some-value" as the initial value rather than "another-value"
|
|
1097
1098
|
//
|
|
1098
|
-
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/
|
|
1099
|
+
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/un-shadowed
|
|
1099
1100
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
1100
1101
|
//
|
|
1101
1102
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-34f9dd90.js';
|
|
2
|
+
export { s as setNonce } from './index-34f9dd90.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-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-34f9dd90.js';
|
|
2
|
+
export { s as setNonce } from './index-34f9dd90.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.2.
|
|
5
|
+
Stencil Client Patch Browser v4.2.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|