lwc 8.20.0 → 8.20.2
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/README.md +31 -0
- package/package.json +22 -19
package/README.md
CHANGED
|
@@ -79,3 +79,34 @@ import { renderComponent } from '@lwc/engine-server';
|
|
|
79
79
|
## Experimental Packages
|
|
80
80
|
|
|
81
81
|
The `@lwc/ssr-compiler` and `@lwc/ssr-runtime` packages are still considered experimental, and may break without notice.
|
|
82
|
+
|
|
83
|
+
## Experimental APIs
|
|
84
|
+
|
|
85
|
+
### setTrustedSignalSet()
|
|
86
|
+
|
|
87
|
+
This experimental API enables the addition of a signal as a trusted signal. If the [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled, any signal value change will trigger a re-render.
|
|
88
|
+
|
|
89
|
+
If `setTrustedSignalSet` is called more than once, it will throw an error. If it is never called, then no trusted signal validation will be performed. The same `setTrustedSignalSet` API must be called on both `@lwc/engine-dom` and `@lwc/signals`.
|
|
90
|
+
|
|
91
|
+
### isTrustedSignal()
|
|
92
|
+
|
|
93
|
+
Not intended for external use. This experimental API enables the caller to determine if an object is a trusted signal. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
|
|
94
|
+
|
|
95
|
+
### setContextKeys
|
|
96
|
+
|
|
97
|
+
Not intended for external use. Enables another library to establish contextful relationships via the LWC component tree. The `connectContext` and `disconnectContext` symbols that are provided are later used to identify methods that facilitate the establishment and dissolution of these contextful relationships. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
|
|
98
|
+
|
|
99
|
+
### setTrustedContextSet()
|
|
100
|
+
|
|
101
|
+
Not intended for external use. This experimental API enables the addition of context as trusted context. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
|
|
102
|
+
|
|
103
|
+
If `setTrustedContextSet` is called more than once, it will throw an error. If it is never called, then context will not be connected.
|
|
104
|
+
|
|
105
|
+
### ContextBinding
|
|
106
|
+
|
|
107
|
+
The context object's `connectContext` and `disconnectContext` methods are called with this object when contextful components are connected and disconnected. The ContextBinding exposes `provideContext` and `consumeContext`,
|
|
108
|
+
enabling the provision/consumption of a contextful Signal of a specified variety for the associated component. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
|
|
109
|
+
|
|
110
|
+
### SignalBaseClass
|
|
111
|
+
|
|
112
|
+
Not intended for external use. Signals that extend SignalBaseClass will be added to set of trusted signals. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lwc",
|
|
3
|
-
"version": "8.20.
|
|
3
|
+
"version": "8.20.2",
|
|
4
4
|
"description": "Lightning Web Components (LWC)",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -21,24 +21,24 @@
|
|
|
21
21
|
"!vitest.config.*"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@lwc/aria-reflection": "8.20.
|
|
25
|
-
"@lwc/babel-plugin-component": "8.20.
|
|
26
|
-
"@lwc/compiler": "8.20.
|
|
27
|
-
"@lwc/engine-core": "8.20.
|
|
28
|
-
"@lwc/engine-dom": "8.20.
|
|
29
|
-
"@lwc/engine-server": "8.20.
|
|
30
|
-
"@lwc/errors": "8.20.
|
|
31
|
-
"@lwc/features": "8.20.
|
|
32
|
-
"@lwc/module-resolver": "8.20.
|
|
33
|
-
"@lwc/rollup-plugin": "8.20.
|
|
34
|
-
"@lwc/shared": "8.20.
|
|
35
|
-
"@lwc/ssr-compiler": "8.20.
|
|
36
|
-
"@lwc/ssr-runtime": "8.20.
|
|
37
|
-
"@lwc/style-compiler": "8.20.
|
|
38
|
-
"@lwc/synthetic-shadow": "8.20.
|
|
39
|
-
"@lwc/template-compiler": "8.20.
|
|
40
|
-
"@lwc/types": "8.20.
|
|
41
|
-
"@lwc/wire-service": "8.20.
|
|
24
|
+
"@lwc/aria-reflection": "8.20.2",
|
|
25
|
+
"@lwc/babel-plugin-component": "8.20.2",
|
|
26
|
+
"@lwc/compiler": "8.20.2",
|
|
27
|
+
"@lwc/engine-core": "8.20.2",
|
|
28
|
+
"@lwc/engine-dom": "8.20.2",
|
|
29
|
+
"@lwc/engine-server": "8.20.2",
|
|
30
|
+
"@lwc/errors": "8.20.2",
|
|
31
|
+
"@lwc/features": "8.20.2",
|
|
32
|
+
"@lwc/module-resolver": "8.20.2",
|
|
33
|
+
"@lwc/rollup-plugin": "8.20.2",
|
|
34
|
+
"@lwc/shared": "8.20.2",
|
|
35
|
+
"@lwc/ssr-compiler": "8.20.2",
|
|
36
|
+
"@lwc/ssr-runtime": "8.20.2",
|
|
37
|
+
"@lwc/style-compiler": "8.20.2",
|
|
38
|
+
"@lwc/synthetic-shadow": "8.20.2",
|
|
39
|
+
"@lwc/template-compiler": "8.20.2",
|
|
40
|
+
"@lwc/types": "8.20.2",
|
|
41
|
+
"@lwc/wire-service": "8.20.2"
|
|
42
42
|
},
|
|
43
43
|
"lwc": {
|
|
44
44
|
"modules": [
|
|
@@ -76,5 +76,8 @@
|
|
|
76
76
|
"./synthetic-shadow": "./synthetic-shadow.js",
|
|
77
77
|
"./template-compiler": "./template-compiler.js",
|
|
78
78
|
"./wire-service": "./wire-service.js"
|
|
79
|
+
},
|
|
80
|
+
"volta": {
|
|
81
|
+
"extends": "../../package.json"
|
|
79
82
|
}
|
|
80
83
|
}
|