@blocklet/pages-kit 0.2.364 → 0.2.366

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 (30) hide show
  1. package/lib/cjs/builtin/async/ai-runtime/components/AgentErrorBoundary.js +2 -2
  2. package/lib/cjs/builtin/async/ai-runtime/contexts/ComponentPreferences.js +7 -2
  3. package/lib/cjs/builtin/async/ai-runtime/index.js +9 -1
  4. package/lib/cjs/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +15 -2
  5. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/MessageView.js +3 -3
  6. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +25 -2
  7. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimpleOutput/index.js +12 -8
  8. package/lib/cjs/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +4 -2
  9. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  10. package/lib/cjs/types/index.js +1 -0
  11. package/lib/cjs/utils/inject-global-components.js +2 -0
  12. package/lib/esm/builtin/async/ai-runtime/components/AgentErrorBoundary.js +2 -2
  13. package/lib/esm/builtin/async/ai-runtime/contexts/ComponentPreferences.js +4 -2
  14. package/lib/esm/builtin/async/ai-runtime/index.js +5 -0
  15. package/lib/esm/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +15 -2
  16. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleChat/MessageView.js +4 -4
  17. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleChat/index.js +1 -1
  18. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimpleOutput/index.js +14 -10
  19. package/lib/esm/builtin/async/ai-runtime/runtime-components/SimplePage/index.js +4 -2
  20. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  21. package/lib/esm/types/index.js +1 -0
  22. package/lib/esm/utils/inject-global-components.js +2 -0
  23. package/lib/types/builtin/async/ai-runtime/components/AgentErrorBoundary.d.ts +4 -1
  24. package/lib/types/builtin/async/ai-runtime/contexts/ComponentPreferences.d.ts +9 -3
  25. package/lib/types/builtin/async/ai-runtime/index.d.ts +5 -0
  26. package/lib/types/builtin/async/ai-runtime/runtime-components/SimpleChat/index.d.ts +2 -2
  27. package/lib/types/builtin/async/ai-runtime/runtime-components/SimplePage/index.d.ts +5 -2
  28. package/lib/types/tsconfig.tsbuildinfo +1 -1
  29. package/lib/types/types/index.d.ts +1 -0
  30. package/package.json +11 -4
@@ -2,3 +2,4 @@ export * from './api';
2
2
  export * from './core';
3
3
  export * from './state';
4
4
  export * from './preload';
5
+ export * from './builtin';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/pages-kit",
3
- "version": "0.2.364",
3
+ "version": "0.2.366",
4
4
  "description": "Pages Kit components and utils",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,6 +40,10 @@
40
40
  "import": "./lib/esm/types/index.js",
41
41
  "require": "./lib/cjs/types/index.js"
42
42
  },
43
+ "./types/*": {
44
+ "import": "./lib/esm/types/*.js",
45
+ "require": "./lib/cjs/types/*.js"
46
+ },
43
47
  "./utils/*": {
44
48
  "import": "./lib/esm/utils/*.js",
45
49
  "require": "./lib/cjs/utils/*.js"
@@ -67,6 +71,9 @@
67
71
  "types": [
68
72
  "./lib/types/types/index.d.ts"
69
73
  ],
74
+ "types/*": [
75
+ "./lib/types/types/*.d.ts"
76
+ ],
70
77
  "utils/*": [
71
78
  "./lib/types/utils/*.d.ts",
72
79
  "./lib/types/utils/*/index.d.ts"
@@ -87,7 +94,7 @@
87
94
  "dependencies": {
88
95
  "@arcblock/did-connect": "^2.10.3",
89
96
  "@blocklet/ai-kit": "^0.1.43",
90
- "@blocklet/ai-runtime": "^0.3.14",
97
+ "@blocklet/ai-runtime": "^0.3.15",
91
98
  "@blocklet/js-sdk": "^1.16.28",
92
99
  "@blocklet/sdk": "^1.16.28",
93
100
  "@iconify/react": "^4.1.1",
@@ -108,7 +115,7 @@
108
115
  "react-error-boundary": "^4.0.13",
109
116
  "react-frame-component": "^5.2.7",
110
117
  "react-helmet": "^6.1.0",
111
- "react-hook-form": "^7.52.0",
118
+ "react-hook-form": "^7.52.1",
112
119
  "react-markdown": "^9.0.1",
113
120
  "react-scroll-to-bottom": "^4.2.0",
114
121
  "react-share": "^5.1.0",
@@ -116,7 +123,7 @@
116
123
  "react-transition-group": "^4.4.5",
117
124
  "react-wrap-balancer": "^1.1.1",
118
125
  "remark-gfm": "^4.0.0",
119
- "typescript": "^5.5.2",
126
+ "typescript": "^5.5.3",
120
127
  "ufo": "^1.5.3",
121
128
  "zustand": "^4.5.4"
122
129
  },