@copilotkit/react-ui 1.51.5-next.3 → 1.52.0-next.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # ui
2
2
 
3
+ ## 1.52.0-next.5
4
+
5
+ ### Minor Changes
6
+
7
+ - 6dd6c84: Adding new v2 features:
8
+ - useComponent
9
+ - useRenderTool
10
+ - useDefaultRenderTool
11
+
12
+ Also, fixing issues with styles not being
13
+ properly scoped for tailwind.
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [6dd6c84]
18
+ - @copilotkit/react-core@1.52.0-next.5
19
+ - @copilotkit/runtime-client-gql@1.52.0-next.5
20
+ - @copilotkit/shared@1.52.0-next.5
21
+
22
+ ## 1.51.5-next.4
23
+
24
+ ### Patch Changes
25
+
26
+ - 7e32e69: chore: fix up style generation
27
+ - @copilotkit/react-core@1.51.5-next.4
28
+ - @copilotkit/runtime-client-gql@1.51.5-next.4
29
+ - @copilotkit/shared@1.51.5-next.4
30
+
3
31
  ## 1.51.5-next.3
4
32
 
5
33
  ### Patch Changes
@@ -0,0 +1 @@
1
+ @import "@copilotkit/react-core/v2/styles.css";
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "access": "public"
11
11
  },
12
12
  "type": "module",
13
- "version": "1.51.5-next.3",
13
+ "version": "1.52.0-next.5",
14
14
  "sideEffects": [
15
15
  "**/*.css"
16
16
  ],
@@ -22,7 +22,8 @@
22
22
  "require": "./dist/index.cjs"
23
23
  },
24
24
  "./package.json": "./package.json",
25
- "./styles.css": "./dist/index.css"
25
+ "./styles.css": "./dist/index.css",
26
+ "./v2/styles.css": "./dist/v2/index.css"
26
27
  },
27
28
  "unpkg": "./dist/index.umd.js",
28
29
  "jsdelivr": "./dist/index.umd.js",
@@ -52,9 +53,9 @@
52
53
  "rehype-raw": "^7.0.0",
53
54
  "remark-gfm": "^4.0.1",
54
55
  "remark-math": "^6.0.0",
55
- "@copilotkit/react-core": "1.51.5-next.3",
56
- "@copilotkit/shared": "1.51.5-next.3",
57
- "@copilotkit/runtime-client-gql": "1.51.5-next.3"
56
+ "@copilotkit/react-core": "1.52.0-next.5",
57
+ "@copilotkit/runtime-client-gql": "1.52.0-next.5",
58
+ "@copilotkit/shared": "1.52.0-next.5"
58
59
  },
59
60
  "keywords": [
60
61
  "copilotkit",
@@ -69,7 +70,8 @@
69
70
  "textarea"
70
71
  ],
71
72
  "scripts": {
72
- "build": "tsdown",
73
+ "build:css": "node -e \"const fs=require('fs');fs.mkdirSync('./dist/v2',{recursive:true});fs.cpSync('./src/v2/styles.css','./dist/v2/index.css')\"",
74
+ "build": "tsdown && pnpm run build:css",
73
75
  "dev": "tsdown --watch",
74
76
  "test": "vitest run",
75
77
  "test:watch": "vitest",
package/tsdown.config.ts CHANGED
@@ -18,6 +18,7 @@ export default defineConfig([
18
18
  customExports: (exports) => ({
19
19
  ...exports,
20
20
  "./styles.css": "./dist/index.css",
21
+ "./v2/styles.css": "./dist/v2/index.css",
21
22
  }),
22
23
  },
23
24
  },