@blocklet/pages-kit 0.6.0 → 0.6.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/lib/cjs/components/CustomComponentRenderer/state.js +2 -1
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/builtin.js +2 -0
- package/lib/cjs/utils/inject-global-components.js +1 -0
- package/lib/cjs/utils/preload.js +11 -9
- package/lib/esm/components/CustomComponentRenderer/state.js +2 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/builtin.js +2 -0
- package/lib/esm/utils/inject-global-components.js +1 -0
- package/lib/esm/utils/preload.js +11 -9
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/types/core.d.ts +4 -0
- package/lib/types/utils/builtin.d.ts +2 -0
- package/package.json +9 -9
|
@@ -16,6 +16,7 @@ export type CustomComponent = {
|
|
|
16
16
|
description?: string;
|
|
17
17
|
tags?: string[];
|
|
18
18
|
previewImage?: string;
|
|
19
|
+
version?: number;
|
|
19
20
|
renderer?: {
|
|
20
21
|
type: 'web-component';
|
|
21
22
|
script?: string;
|
|
@@ -24,6 +25,9 @@ export type CustomComponent = {
|
|
|
24
25
|
script?: string;
|
|
25
26
|
chunks?: string[];
|
|
26
27
|
editComponent?: string;
|
|
28
|
+
aigneOutputValueSchema?: string;
|
|
29
|
+
PROPERTIES_SCHEMA?: string;
|
|
30
|
+
getServerSideProps?: string;
|
|
27
31
|
} | {
|
|
28
32
|
type: 'component';
|
|
29
33
|
componentId?: string;
|
|
@@ -3,6 +3,8 @@ import * as dayjs from '../builtin/dayjs';
|
|
|
3
3
|
import * as stream from '../builtin/stream';
|
|
4
4
|
import * as utils from '../builtin/utils';
|
|
5
5
|
export declare const BuiltinModules: {
|
|
6
|
+
React: {};
|
|
7
|
+
ReactDOM: {};
|
|
6
8
|
'@blocklet/pages-kit/builtin/pages-kit': {};
|
|
7
9
|
'@blocklet/pages-kit/builtin/react': {};
|
|
8
10
|
'@blocklet/pages-kit/builtin/react-dom': {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Pages Kit components and utils for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
"url": "git+https://github.com/blocklet/pages-kit.git"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@arcblock/did-connect": "^3.0.
|
|
103
|
+
"@arcblock/did-connect": "^3.0.14",
|
|
104
104
|
"@blocklet/ai-kit": "^0.1.79",
|
|
105
|
-
"@blocklet/js-sdk": "^1.16.
|
|
106
|
-
"@blocklet/sdk": "^1.16.
|
|
107
|
-
"@blocklet/uploader": "^0.2.
|
|
105
|
+
"@blocklet/js-sdk": "^1.16.45",
|
|
106
|
+
"@blocklet/sdk": "^1.16.45",
|
|
107
|
+
"@blocklet/uploader": "^0.2.2",
|
|
108
108
|
"@blocklet/xss": "^0.2.0",
|
|
109
109
|
"@faker-js/faker": "^9.0.3",
|
|
110
110
|
"@iconify-icons/tabler": "^1.2.95",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"ufo": "^1.5.4",
|
|
152
152
|
"yaml": "^2.5.0",
|
|
153
153
|
"zustand": "^4.5.5",
|
|
154
|
-
"@blocklet/pages-kit-core": "^0.6.
|
|
154
|
+
"@blocklet/pages-kit-core": "^0.6.2"
|
|
155
155
|
},
|
|
156
156
|
"peerDependencies": {
|
|
157
157
|
"@arcblock/ux": "^3.0.8",
|
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
"react-router-dom": "^6.16.0"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
|
-
"@arcblock/ux": "^3.0.
|
|
175
|
+
"@arcblock/ux": "^3.0.14",
|
|
176
176
|
"@blocklet/ai-runtime": "^0.4.275",
|
|
177
|
-
"@blocklet/js-sdk": "^1.16.
|
|
178
|
-
"@blocklet/sdk": "^1.16.
|
|
177
|
+
"@blocklet/js-sdk": "^1.16.45",
|
|
178
|
+
"@blocklet/sdk": "^1.16.45",
|
|
179
179
|
"@emotion/cache": "^11.14.0",
|
|
180
180
|
"@emotion/css": "^11.13.5",
|
|
181
181
|
"@emotion/react": "^11.14.0",
|