@blocklet/pages-kit 0.2.319 → 0.2.321

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.
Files changed (40) hide show
  1. package/lib/cjs/builtin/async/ai-runtime/components/ThemeProvider.js +11 -4
  2. package/lib/cjs/builtin/async/ai-runtime/locales/index.js +4 -0
  3. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleOutput/index.js +2 -6
  4. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Input.js +29 -17
  5. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Output.js +36 -17
  6. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/Page.js +84 -77
  7. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/CodePreview.js +2 -2
  8. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/Loading.js +7 -5
  9. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/components/UserQuestion.js +4 -4
  10. package/lib/cjs/builtin/async/ai-runtime/runtime-components/V0/contexts/V0Runtime.js +4 -1
  11. package/lib/cjs/builtin/iconify/react.js +8 -2
  12. package/lib/cjs/components/CustomComponentRenderer/BlockletReactComponentRenderer.js +62 -0
  13. package/lib/cjs/components/CustomComponentRenderer/index.js +9 -1
  14. package/lib/cjs/components/CustomComponentRenderer/state.js +14 -0
  15. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  16. package/lib/cjs/utils/inject-global-components-dump-json.js +8 -3
  17. package/lib/esm/builtin/async/ai-runtime/components/ThemeProvider.js +11 -4
  18. package/lib/esm/builtin/async/ai-runtime/locales/index.js +4 -0
  19. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleOutput/index.js +2 -6
  20. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Input.js +29 -17
  21. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Output.js +36 -17
  22. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/Page.js +84 -78
  23. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/components/CodePreview.js +2 -2
  24. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/components/Loading.js +7 -5
  25. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/components/UserQuestion.js +4 -4
  26. package/lib/esm/builtin/async/ai-runtime/runtime-components/V0/contexts/V0Runtime.js +4 -1
  27. package/lib/esm/builtin/iconify/react.js +7 -1
  28. package/lib/esm/components/CustomComponentRenderer/BlockletReactComponentRenderer.js +36 -0
  29. package/lib/esm/components/CustomComponentRenderer/index.js +6 -1
  30. package/lib/esm/components/CustomComponentRenderer/state.js +11 -0
  31. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  32. package/lib/esm/utils/inject-global-components-dump-json.js +8 -3
  33. package/lib/types/builtin/async/ai-runtime/hooks/use-appearances.d.ts +3 -0
  34. package/lib/types/builtin/async/ai-runtime/locales/index.d.ts +4 -0
  35. package/lib/types/builtin/async/ai-runtime/runtime-components/V0/Page.d.ts +1 -5
  36. package/lib/types/builtin/async/ai-runtime/runtime-components/V0/contexts/V0Runtime.d.ts +1 -0
  37. package/lib/types/builtin/iconify/react.d.ts +2 -1
  38. package/lib/types/components/CustomComponentRenderer/BlockletReactComponentRenderer.d.ts +2 -0
  39. package/lib/types/tsconfig.tsbuildinfo +1 -1
  40. package/package.json +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.2.319",
3
+ "version": "0.2.321",
4
4
  "description": "Pages Kit components and utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -85,9 +85,9 @@
85
85
  "url": "git+https://github.com/blocklet/pages-kit.git"
86
86
  },
87
87
  "dependencies": {
88
- "@arcblock/did-connect": "^2.9.85",
88
+ "@arcblock/did-connect": "^2.9.86",
89
89
  "@blocklet/ai-kit": "^0.1.34",
90
- "@blocklet/ai-runtime": "^0.2.9",
90
+ "@blocklet/ai-runtime": "^0.2.13",
91
91
  "@blocklet/js-sdk": "1.16.26",
92
92
  "@blocklet/sdk": "^1.16.26",
93
93
  "@iconify/react": "^4.1.1",
@@ -133,7 +133,7 @@
133
133
  "react-router-dom": "^6.16.0"
134
134
  },
135
135
  "devDependencies": {
136
- "@arcblock/ux": "^2.9.85",
136
+ "@arcblock/ux": "^2.9.86",
137
137
  "@emotion/cache": "^11.11.0",
138
138
  "@emotion/css": "^11.11.2",
139
139
  "@emotion/react": "^11.11.4",