@vectojs/core 1.3.0 → 1.4.0

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/index.js CHANGED
@@ -1104,6 +1104,11 @@ var Scene = (_class2 = class _Scene {
1104
1104
  this.activeIds.clear();
1105
1105
  const collect = (node) => {
1106
1106
  if (node.isDOMPortal) return;
1107
+ const contentEl = this.contentElements.get(node.id);
1108
+ if (contentEl) {
1109
+ if (node.a11yFullViewport) this.fullViewportElements.push(contentEl);
1110
+ else this.normalElements.push(contentEl);
1111
+ }
1107
1112
  if (node.interactive && (node.width > 0 || node.a11yFullViewport)) {
1108
1113
  const el = this.a11yElements.get(node.id);
1109
1114
  if (el) {
package/dist/index.mjs CHANGED
@@ -1104,6 +1104,11 @@ var Scene = class _Scene {
1104
1104
  this.activeIds.clear();
1105
1105
  const collect = (node) => {
1106
1106
  if (node.isDOMPortal) return;
1107
+ const contentEl = this.contentElements.get(node.id);
1108
+ if (contentEl) {
1109
+ if (node.a11yFullViewport) this.fullViewportElements.push(contentEl);
1110
+ else this.normalElements.push(contentEl);
1111
+ }
1107
1112
  if (node.interactive && (node.width > 0 || node.a11yFullViewport)) {
1108
1113
  const el = this.a11yElements.get(node.id);
1109
1114
  if (el) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectojs/core",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },