@appsemble/preact 0.20.19 → 0.20.20
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 +4 -4
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.tsx +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble Preact SDK
|
|
2
2
|
|
|
3
3
|
> Build your own blocks using Preact
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/preact)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.20)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -89,5 +89,5 @@ export function MyButton({ name }: MyButtonProps): VNode {
|
|
|
89
89
|
|
|
90
90
|
## License
|
|
91
91
|
|
|
92
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
92
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.20/LICENSE.md) ©
|
|
93
93
|
[Appsemble](https://appsemble.com)
|
package/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare function bootstrap(Component: ComponentType<BlockProps>): void;
|
|
|
17
17
|
/**
|
|
18
18
|
* A HOC which passes the Appsemble block values to he wrapped Preact component.
|
|
19
19
|
*
|
|
20
|
-
* @param Component The Preact
|
|
20
|
+
* @param Component The Preact component to wrap.
|
|
21
21
|
* @returns The wrapper component.
|
|
22
22
|
* @deprecated Use `useBlock()` instead.
|
|
23
23
|
*/
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export function bootstrap(Component) {
|
|
|
26
26
|
/**
|
|
27
27
|
* A HOC which passes the Appsemble block values to he wrapped Preact component.
|
|
28
28
|
*
|
|
29
|
-
* @param Component The Preact
|
|
29
|
+
* @param Component The Preact component to wrap.
|
|
30
30
|
* @returns The wrapper component.
|
|
31
31
|
* @deprecated Use `useBlock()` instead.
|
|
32
32
|
*/
|
package/index.tsx
CHANGED
|
@@ -43,7 +43,7 @@ export function bootstrap(Component: ComponentType<BlockProps>): void {
|
|
|
43
43
|
/**
|
|
44
44
|
* A HOC which passes the Appsemble block values to he wrapped Preact component.
|
|
45
45
|
*
|
|
46
|
-
* @param Component The Preact
|
|
46
|
+
* @param Component The Preact component to wrap.
|
|
47
47
|
* @returns The wrapper component.
|
|
48
48
|
* @deprecated Use `useBlock()` instead.
|
|
49
49
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/preact",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.20",
|
|
4
4
|
"description": "Build your own blocks using Preact",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@appsemble/sdk": "0.20.
|
|
38
|
+
"@appsemble/sdk": "0.20.20",
|
|
39
39
|
"preact": "^10"
|
|
40
40
|
}
|
|
41
41
|
}
|