@blocklet/pages-kit 0.4.11 → 0.4.13-beta.20250227
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/api/pages-kit.js +4 -2
- package/lib/cjs/components/CustomComponentRenderer/index.js +12 -7
- package/lib/cjs/components/CustomComponentRenderer/state.js +33 -4
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/inject-global-components.js +18 -3
- package/lib/cjs/utils/property.js +4 -2
- package/lib/esm/api/pages-kit.js +4 -2
- package/lib/esm/components/CustomComponentRenderer/index.js +12 -7
- package/lib/esm/components/CustomComponentRenderer/state.js +33 -4
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/inject-global-components.js +18 -3
- package/lib/esm/utils/property.js +4 -2
- package/lib/types/components/CustomComponentRenderer/index.d.ts +1 -0
- package/lib/types/components/CustomComponentRenderer/state.d.ts +1 -0
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/types/core.d.ts +2 -1
- package/package.json +10 -10
|
@@ -36,6 +36,7 @@ export type CustomComponentProperty = CustomComponentCommonProperty | CustomComp
|
|
|
36
36
|
export interface CustomComponentPropertyBase {
|
|
37
37
|
id: string;
|
|
38
38
|
key?: string;
|
|
39
|
+
visible?: boolean;
|
|
39
40
|
locales?: {
|
|
40
41
|
[locale: string]: {
|
|
41
42
|
name?: string;
|
|
@@ -44,7 +45,7 @@ export interface CustomComponentPropertyBase {
|
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
export interface CustomComponentCommonProperty extends CustomComponentPropertyBase {
|
|
47
|
-
type: 'number' | 'boolean' | 'json' | 'url' | 'decimal' | 'yaml' | 'color';
|
|
48
|
+
type: 'number' | 'boolean' | 'json' | 'url' | 'decimal' | 'yaml' | 'color' | 'custom-settings';
|
|
48
49
|
}
|
|
49
50
|
export interface CustomComponentCustomProperty extends CustomComponentPropertyBase {
|
|
50
51
|
type: 'custom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.13-beta.20250227",
|
|
4
4
|
"description": "Pages Kit components and utils",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
"url": "git+https://github.com/blocklet/pages-kit.git"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@arcblock/did-connect": "^2.11.
|
|
96
|
-
"@blocklet/ai-kit": "^0.1.
|
|
97
|
-
"@blocklet/js-sdk": "^1.16.
|
|
98
|
-
"@blocklet/sdk": "^1.16.
|
|
95
|
+
"@arcblock/did-connect": "^2.11.48",
|
|
96
|
+
"@blocklet/ai-kit": "^0.1.71",
|
|
97
|
+
"@blocklet/js-sdk": "^1.16.39",
|
|
98
|
+
"@blocklet/sdk": "^1.16.39",
|
|
99
99
|
"@faker-js/faker": "^9.0.3",
|
|
100
100
|
"@iconify-icons/tabler": "^1.2.95",
|
|
101
101
|
"@iconify/react": "^5.0.2",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"zustand": "^4.5.5"
|
|
137
137
|
},
|
|
138
138
|
"peerDependencies": {
|
|
139
|
-
"@arcblock/ux": "^2.
|
|
139
|
+
"@arcblock/ux": "^2.11.35",
|
|
140
140
|
"@blocklet/ai-runtime": "^0.4.80",
|
|
141
141
|
"@blocklet/js-sdk": "^1.16.33",
|
|
142
142
|
"@blocklet/sdk": "^1.16.33",
|
|
@@ -152,10 +152,10 @@
|
|
|
152
152
|
"react-router-dom": "^6.16.0"
|
|
153
153
|
},
|
|
154
154
|
"devDependencies": {
|
|
155
|
-
"@arcblock/ux": "^2.11.
|
|
156
|
-
"@blocklet/ai-runtime": "^0.4.
|
|
157
|
-
"@blocklet/js-sdk": "^1.16.
|
|
158
|
-
"@blocklet/sdk": "^1.16.
|
|
155
|
+
"@arcblock/ux": "^2.11.48",
|
|
156
|
+
"@blocklet/ai-runtime": "^0.4.241",
|
|
157
|
+
"@blocklet/js-sdk": "^1.16.39",
|
|
158
|
+
"@blocklet/sdk": "^1.16.39",
|
|
159
159
|
"@emotion/cache": "^11.13.1",
|
|
160
160
|
"@emotion/css": "^11.13.0",
|
|
161
161
|
"@emotion/react": "^11.13.0",
|