@webqit/oohtml 4.3.2 → 4.3.3
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/bindings-api.js +1 -1
- package/dist/bindings-api.js.map +2 -2
- package/dist/context-api.js +1 -1
- package/dist/context-api.js.map +2 -2
- package/dist/data-binding.js +10 -10
- package/dist/data-binding.js.map +2 -2
- package/dist/html-imports.js +1 -1
- package/dist/html-imports.js.map +2 -2
- package/dist/main.js +2 -2
- package/dist/main.js.map +2 -2
- package/dist/main.lite.js +20 -20
- package/dist/main.lite.js.map +2 -2
- package/dist/namespaced-html.js +1 -1
- package/dist/namespaced-html.js.map +2 -2
- package/dist/scoped-css.js +3 -3
- package/dist/scoped-css.js.map +2 -2
- package/dist/scoped-js.js +1 -1
- package/dist/scoped-js.js.map +2 -2
- package/package.json +2 -2
- package/src/html-imports/index.js +3 -3
- package/src/namespaced-html/index.js +0 -1
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"wicg-proposal"
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://webqit.io/tooling/oohtml",
|
|
17
|
-
"version": "4.3.
|
|
17
|
+
"version": "4.3.3",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@webqit/quantum-js": "^4.5.11",
|
|
43
|
-
"@webqit/realdom": "^2.1.
|
|
43
|
+
"@webqit/realdom": "^2.1.32",
|
|
44
44
|
"@webqit/util": "^0.8.11"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -162,7 +162,7 @@ function realtime(config) {
|
|
|
162
162
|
detachImportsContext(entry);
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
|
-
}, { id: 'imports:template/importscontext', live: true, subtree: 'cross-roots', timing: 'sync', staticSensitivity: true,
|
|
165
|
+
}, { id: 'imports:template/importscontext', live: true, subtree: 'cross-roots', timing: 'sync', staticSensitivity: true, eventDetails: true });
|
|
166
166
|
|
|
167
167
|
// ------------
|
|
168
168
|
// IMPORTS
|
|
@@ -170,7 +170,7 @@ function realtime(config) {
|
|
|
170
170
|
realdom.realtime(window.document).query(config.elements.import, record => {
|
|
171
171
|
record.entrants.forEach(node => handleRealtime(node, true, record));
|
|
172
172
|
record.exits.forEach(node => handleRealtime(node, false, record));
|
|
173
|
-
}, { id: 'imports:import', live: true, subtree: 'cross-roots', timing: 'sync',
|
|
173
|
+
}, { id: 'imports:import', live: true, subtree: 'cross-roots', timing: 'sync', deferred: true });
|
|
174
174
|
function handleRealtime(entry, connectedState) {
|
|
175
175
|
const elInstance = HTMLImportElement.instance(entry);
|
|
176
176
|
if (connectedState) { elInstance['#'].connectedCallback(); }
|
|
@@ -193,5 +193,5 @@ function realtime(config) {
|
|
|
193
193
|
}
|
|
194
194
|
HTMLImportElement.instance(importEl)['#'].hydrate(anchorNode, slottedElements);
|
|
195
195
|
});
|
|
196
|
-
}, { id: 'imports:hydration', live: true, subtree: 'cross-roots', timing: 'sync'
|
|
196
|
+
}, { id: 'imports:hydration', live: true, subtree: 'cross-roots', timing: 'sync' });
|
|
197
197
|
}
|
|
@@ -341,7 +341,6 @@ function realtime( config ) {
|
|
|
341
341
|
}, { id: 'namespace-html:namespace', live: true, subtree: 'cross-roots', timing: 'sync', staticSensitivity: true, eventDetails: true } );
|
|
342
342
|
|
|
343
343
|
// DOM realtime
|
|
344
|
-
// ISSUE implied elements that are direct chidren of shadow roots not caught. Maybe try testing with params.recursiveOk to see.
|
|
345
344
|
realdom.realtime( window.document ).query( `[${ attrList.map( attrName => window.CSS.escape( attrName ) ).join( '],[' ) }]`, record => {
|
|
346
345
|
// We do some caching to prevent redundanct lookups
|
|
347
346
|
const namespaceNodesToTest = { forID: new Map, forOther: new Map, };
|