vsn 0.1.109 → 0.1.110
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/demo/examples/events.html +1 -1
- package/demo/vsn.js +2 -2
- package/dist/Component.js +3 -15
- package/dist/Component.js.map +1 -1
- package/dist/DOM.js +1 -1
- package/dist/DOM.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/vsn.min.js +2 -2
- package/package.json +1 -1
- package/src/Component.ts +1 -4
- package/src/DOM.ts +2 -2
- package/src/version.ts +1 -1
package/package.json
CHANGED
package/src/Component.ts
CHANGED
|
@@ -42,11 +42,8 @@ export class Component extends HTMLElement {
|
|
|
42
42
|
async connectedCallback() {
|
|
43
43
|
const tag = await DOM.instance.buildTag(this, true);
|
|
44
44
|
tag.createScope(true);
|
|
45
|
-
|
|
45
|
+
await DOM.instance.buildFrom(this.shadow);
|
|
46
46
|
await DOM.instance.resetBranch(tag);
|
|
47
|
-
for (const componentTag of componentTags) {
|
|
48
|
-
await DOM.instance.resetBranch(componentTag);
|
|
49
|
-
}
|
|
50
47
|
await DOM.instance.setupTags([tag]);
|
|
51
48
|
}
|
|
52
49
|
}
|
package/src/DOM.ts
CHANGED
|
@@ -193,7 +193,7 @@ export class DOM extends EventDispatcher {
|
|
|
193
193
|
async discover(ele: HTMLElement, forComponent: boolean = false): Promise<HTMLElement[]> {
|
|
194
194
|
const discovered: HTMLElement[] = [];
|
|
195
195
|
const checkElement = (e: HTMLElement): boolean => {
|
|
196
|
-
if (Registry.instance.
|
|
196
|
+
if (Registry.instance.tags.has(e?.tagName?.toLowerCase())) {
|
|
197
197
|
return false;
|
|
198
198
|
}
|
|
199
199
|
|
|
@@ -363,7 +363,7 @@ export class DOM extends EventDispatcher {
|
|
|
363
363
|
if (e instanceof Tag)
|
|
364
364
|
e = e.element;
|
|
365
365
|
|
|
366
|
-
const tag = e[Tag.TaggedVariable];
|
|
366
|
+
const tag: Tag = e[Tag.TaggedVariable];
|
|
367
367
|
if (tag) {
|
|
368
368
|
tag.findParentTag();
|
|
369
369
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.
|
|
1
|
+
export const VERSION = '0.1.110';
|
|
2
2
|
|