@blocklet/pages-kit 0.2.363 → 0.2.365

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 +4 -1
  4. package/lib/cjs/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +19 -5
  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 +2 -0
  15. package/lib/esm/builtin/async/ai-runtime/runtime-components/AutoForm/index.js +19 -5
  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 +2 -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 +14 -7
@@ -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.363",
3
+ "version": "0.2.365",
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"
@@ -85,9 +92,9 @@
85
92
  "url": "git+https://github.com/blocklet/pages-kit.git"
86
93
  },
87
94
  "dependencies": {
88
- "@arcblock/did-connect": "^2.10.2",
95
+ "@arcblock/did-connect": "^2.10.3",
89
96
  "@blocklet/ai-kit": "^0.1.43",
90
- "@blocklet/ai-runtime": "^0.3.11",
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",
@@ -97,7 +104,7 @@
97
104
  "dayjs": "^1.11.11",
98
105
  "eventsource-parser": "^1.1.2",
99
106
  "file-saver": "^2.0.5",
100
- "html2pdf.js": "^0.10.1",
107
+ "html2pdf.js": "^0.10.2",
101
108
  "immer": "^10.1.1",
102
109
  "joi": "^17.13.3",
103
110
  "js-base64": "^3.7.7",
@@ -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
  },
@@ -134,7 +141,7 @@
134
141
  "react-router-dom": "^6.16.0"
135
142
  },
136
143
  "devDependencies": {
137
- "@arcblock/ux": "^2.10.2",
144
+ "@arcblock/ux": "^2.10.3",
138
145
  "@emotion/cache": "^11.11.0",
139
146
  "@emotion/css": "^11.11.2",
140
147
  "@emotion/react": "^11.11.4",