@copilotkit/react-textarea 1.55.0-next.9 → 1.55.1-next.0

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/package.json CHANGED
@@ -1,21 +1,34 @@
1
1
  {
2
2
  "name": "@copilotkit/react-textarea",
3
+ "version": "1.55.1-next.0",
3
4
  "private": false,
5
+ "keywords": [
6
+ "ai",
7
+ "assistant",
8
+ "automation",
9
+ "copilot",
10
+ "copilotkit",
11
+ "javascript",
12
+ "nextjs",
13
+ "nodejs",
14
+ "react",
15
+ "textarea"
16
+ ],
4
17
  "homepage": "https://github.com/CopilotKit/CopilotKit",
18
+ "license": "MIT",
5
19
  "repository": {
6
20
  "type": "git",
7
21
  "url": "https://github.com/CopilotKit/CopilotKit.git"
8
22
  },
9
23
  "type": "module",
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "version": "1.55.0-next.9",
14
24
  "sideEffects": [
15
25
  "**/*.css"
16
26
  ],
17
27
  "main": "./dist/index.cjs",
18
28
  "module": "./dist/index.mjs",
29
+ "types": "./dist/index.d.cts",
30
+ "unpkg": "./dist/index.umd.js",
31
+ "jsdelivr": "./dist/index.umd.js",
19
32
  "exports": {
20
33
  ".": {
21
34
  "import": "./dist/index.mjs",
@@ -24,32 +37,8 @@
24
37
  "./package.json": "./package.json",
25
38
  "./styles.css": "./dist/index.css"
26
39
  },
27
- "unpkg": "./dist/index.umd.js",
28
- "jsdelivr": "./dist/index.umd.js",
29
- "types": "./dist/index.d.cts",
30
- "license": "MIT",
31
- "peerDependencies": {
32
- "react": "^18 || ^19 || ^19.0.0-rc",
33
- "react-dom": "^18 || ^19 || ^19.0.0-rc"
34
- },
35
- "devDependencies": {
36
- "@types/lodash.merge": "^4.6.7",
37
- "@types/react": "^19.1.0",
38
- "@types/react-dom": "^19.0.2",
39
- "@types/react-syntax-highlighter": "^15.5.7",
40
- "autoprefixer": "^10.4.24",
41
- "eslint": "^8.56.0",
42
- "postcss": "^8.4.20",
43
- "postcss-prefix-selector": "^1.16.1",
44
- "react": "^18.2.0",
45
- "react-dom": "^18.2.0",
46
- "tailwindcss": "^3.3.0",
47
- "vitest": "^3.2.4",
48
- "tsdown": "^0.20.3",
49
- "typescript": "^5.2.3",
50
- "eslint-config-custom": "1.4.12",
51
- "tailwind-config": "1.4.12",
52
- "tsconfig": "1.4.12"
40
+ "publishConfig": {
41
+ "access": "public"
53
42
  },
54
43
  "dependencies": {
55
44
  "@emotion/css": "^11.11.2",
@@ -70,22 +59,32 @@
70
59
  "slate-history": "^0.93.0",
71
60
  "slate-react": "^0.98.1",
72
61
  "tailwind-merge": "^1.13.2",
73
- "@copilotkit/react-core": "1.55.0-next.9",
74
- "@copilotkit/runtime-client-gql": "1.55.0-next.9",
75
- "@copilotkit/shared": "1.55.0-next.9"
62
+ "@copilotkit/react-core": "1.55.1-next.0",
63
+ "@copilotkit/runtime-client-gql": "1.55.1-next.0",
64
+ "@copilotkit/shared": "1.55.1-next.0"
65
+ },
66
+ "devDependencies": {
67
+ "@types/lodash.merge": "^4.6.7",
68
+ "@types/react": "^19.1.0",
69
+ "@types/react-dom": "^19.0.2",
70
+ "@types/react-syntax-highlighter": "^15.5.7",
71
+ "autoprefixer": "^10.4.24",
72
+ "eslint": "^8.56.0",
73
+ "postcss": "^8.4.20",
74
+ "postcss-prefix-selector": "^1.16.1",
75
+ "react": "^18.2.0",
76
+ "react-dom": "^18.2.0",
77
+ "tailwindcss": "^3.3.0",
78
+ "tsdown": "^0.20.3",
79
+ "typescript": "^5.2.3",
80
+ "vitest": "^3.2.4",
81
+ "tailwind-config": "1.4.12",
82
+ "tsconfig": "1.4.12"
83
+ },
84
+ "peerDependencies": {
85
+ "react": "^18 || ^19 || ^19.0.0-rc",
86
+ "react-dom": "^18 || ^19 || ^19.0.0-rc"
76
87
  },
77
- "keywords": [
78
- "copilotkit",
79
- "copilot",
80
- "react",
81
- "nextjs",
82
- "nodejs",
83
- "ai",
84
- "assistant",
85
- "javascript",
86
- "automation",
87
- "textarea"
88
- ],
89
88
  "scripts": {
90
89
  "build": "tsdown",
91
90
  "dev": "tsdown --watch",
@@ -1,9 +1,8 @@
1
1
  .copilot-textarea.with-branding::after {
2
- content: ''; /* Initially empty because we overrdie this CSS dynamically and we want to avoid flashing */
3
- position: absolute;
2
+ content: ""; /* Initially empty because we overrdie this CSS dynamically and we want to avoid flashing */
3
+ position: absolute;
4
4
  }
5
-
6
-
5
+
7
6
  .copilot-textarea.no-branding::after {
8
- content: '';
9
- }
7
+ content: "";
8
+ }
@@ -18,13 +18,9 @@ export const Button = React.forwardRef<
18
18
  className as string,
19
19
  css`
20
20
  cursor: pointer;
21
- color: ${reversed
22
- ? active
23
- ? "white"
24
- : "#aaa"
25
- : active
26
- ? "black"
27
- : "#ccc"};
21
+ color: ${
22
+ reversed ? (active ? "white" : "#aaa") : active ? "black" : "#ccc"
23
+ };
28
24
  `,
29
25
  )}
30
26
  />