@ecopages/core 0.7.0 → 0.7.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecopages/core",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Core package for Ecopages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ecopages",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@clack/prompts": "^1.7.0",
|
|
27
|
-
"@ecopages/file-system": "0.7.
|
|
27
|
+
"@ecopages/file-system": "0.7.1",
|
|
28
28
|
"@ecopages/logger": "^0.2.3",
|
|
29
29
|
"@ecopages/scripts-injector": "^0.1.5",
|
|
30
30
|
"@jridgewell/remapping": "^2.3.5",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"ws": "^8.20.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@ecopages/dev-toolbar": "0.7.
|
|
40
|
+
"@ecopages/dev-toolbar": "0.7.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"@ecopages/dev-toolbar": {
|
|
@@ -21,6 +21,16 @@ export interface EcoNavigationEvent {
|
|
|
21
21
|
}
|
|
22
22
|
/** Detail for the pre-commit lifecycle event. */
|
|
23
23
|
export interface EcoBeforeSwapEvent extends EcoNavigationEvent {
|
|
24
|
+
/**
|
|
25
|
+
* The parsed incoming document, which a listener may change before the swap.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* Browser-router inserts or replaces custom elements with the nodes of this document, so properties set on
|
|
29
|
+
* them and their descendants survive and the browser upgrades them when they connect. Elements the swap
|
|
30
|
+
* keeps in place, such as persisted elements, ignore properties set on their incoming counterpart. A
|
|
31
|
+
* property set before an element upgrades shadows a class accessor of the same name and is reset by a
|
|
32
|
+
* class field of that name.
|
|
33
|
+
*/
|
|
24
34
|
newDocument: Document;
|
|
25
35
|
reload: () => void;
|
|
26
36
|
}
|