@blocklet/pages-kit 0.4.16-beta.20250309-3 → 0.4.17
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/builtin/locale.js +15 -4
- package/lib/cjs/builtin/mui/lab.js +15 -3
- package/lib/cjs/builtin/mui/material.js +15 -60
- package/lib/cjs/builtin/session.js +15 -6
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/types/api.js +1 -0
- package/lib/cjs/utils/inject-es-module-shims-options.js +6 -5
- package/lib/cjs/utils/inject-global-components.js +15 -10
- package/lib/esm/builtin/locale.js +1 -1
- package/lib/esm/builtin/mui/lab.js +1 -1
- package/lib/esm/builtin/mui/material.js +1 -1
- package/lib/esm/builtin/session.js +1 -5
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/types/api.js +1 -0
- package/lib/esm/utils/inject-es-module-shims-options.js +6 -5
- package/lib/esm/utils/inject-global-components.js +15 -10
- package/lib/types/builtin/locale.d.ts +1 -1
- package/lib/types/builtin/mui/lab.d.ts +1 -1
- package/lib/types/builtin/mui/material.d.ts +1 -1
- package/lib/types/builtin/session.d.ts +1 -13
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/types/api.d.ts +6 -1
- package/lib/types/utils/inject-es-module-shims-options.d.ts +4 -1
- package/package.json +8 -8
package/lib/types/types/api.d.ts
CHANGED
|
@@ -23,7 +23,8 @@ export interface PreloadComponentsInput {
|
|
|
23
23
|
}
|
|
24
24
|
export declare enum PreloadComponentScriptModule {
|
|
25
25
|
UMD_FN = "umd_fn",
|
|
26
|
-
ESM = "esm"
|
|
26
|
+
ESM = "esm",
|
|
27
|
+
CJS = "cjs"
|
|
27
28
|
}
|
|
28
29
|
export interface PreloadComponentsResult {
|
|
29
30
|
config: {
|
|
@@ -39,6 +40,10 @@ export interface PreloadComponentsResult {
|
|
|
39
40
|
module: PreloadComponentScriptModule.UMD_FN;
|
|
40
41
|
script: string;
|
|
41
42
|
moduleName: string;
|
|
43
|
+
} | {
|
|
44
|
+
module: PreloadComponentScriptModule.CJS;
|
|
45
|
+
script: string;
|
|
46
|
+
moduleName: string;
|
|
42
47
|
} | {
|
|
43
48
|
module: PreloadComponentScriptModule.ESM;
|
|
44
49
|
script: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "Pages Kit components and utils",
|
|
3
|
+
"version": "0.4.17",
|
|
4
|
+
"description": "Pages Kit components and utils for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"url": "git+https://github.com/blocklet/pages-kit.git"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@arcblock/did-connect": "^2.12.
|
|
95
|
+
"@arcblock/did-connect": "^2.12.11",
|
|
96
96
|
"@blocklet/ai-kit": "^0.1.71",
|
|
97
97
|
"@blocklet/js-sdk": "^1.16.39",
|
|
98
98
|
"@blocklet/sdk": "^1.16.39",
|
|
@@ -144,25 +144,25 @@
|
|
|
144
144
|
"@emotion/cache": "^11.11.0",
|
|
145
145
|
"@emotion/css": "^11.11.2",
|
|
146
146
|
"@emotion/react": "^11.11.1",
|
|
147
|
-
"@mui/icons-material": "^5.14
|
|
147
|
+
"@mui/icons-material": "^5.16.14",
|
|
148
148
|
"@mui/lab": "^5.0.0-alpha.146",
|
|
149
|
-
"@mui/material": "^5.14
|
|
149
|
+
"@mui/material": "^5.16.14",
|
|
150
150
|
"axios": "^1.6.5",
|
|
151
151
|
"react": "^18.2.0",
|
|
152
152
|
"react-dom": "^18.2.0",
|
|
153
153
|
"react-router-dom": "^6.16.0"
|
|
154
154
|
},
|
|
155
155
|
"devDependencies": {
|
|
156
|
-
"@arcblock/ux": "^2.12.
|
|
156
|
+
"@arcblock/ux": "^2.12.11",
|
|
157
157
|
"@blocklet/ai-runtime": "^0.4.248",
|
|
158
158
|
"@blocklet/js-sdk": "^1.16.39",
|
|
159
159
|
"@blocklet/sdk": "^1.16.39",
|
|
160
160
|
"@emotion/cache": "^11.13.1",
|
|
161
161
|
"@emotion/css": "^11.13.0",
|
|
162
162
|
"@emotion/react": "^11.13.0",
|
|
163
|
-
"@mui/icons-material": "^5.16.
|
|
163
|
+
"@mui/icons-material": "^5.16.14",
|
|
164
164
|
"@mui/lab": "^5.0.0-alpha.173",
|
|
165
|
-
"@mui/material": "^5.16.
|
|
165
|
+
"@mui/material": "^5.16.14",
|
|
166
166
|
"@types/js-yaml": "^4.0.9",
|
|
167
167
|
"@types/lodash": "^4.17.7",
|
|
168
168
|
"@types/mustache": "^4.2.5",
|