@trailheadai/chat 0.1.4 → 0.1.8
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/dist/bundle-analysis.html +4949 -0
- package/dist/index.css +1 -1
- package/dist/widget.es.js +12789 -54046
- package/dist/widget.umd.js +35 -375
- package/package.json +70 -65
- package/dist/widget.es.js.map +0 -1
- package/dist/widget.umd.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,69 +1,74 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
"./styles": {
|
|
15
|
-
"default": "./dist/index.css"
|
|
16
|
-
}
|
|
2
|
+
"name": "@trailheadai/chat",
|
|
3
|
+
"version": "0.1.8",
|
|
4
|
+
"description": "Embeddable React chat widget for lead qualification",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/widget.umd.js",
|
|
7
|
+
"module": "./dist/widget.es.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/widget.es.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
17
13
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
"README.md"
|
|
21
|
-
],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"dev": "vite build --watch",
|
|
24
|
-
"build": "vite build",
|
|
25
|
-
"preview": "vite preview",
|
|
26
|
-
"test": "vitest --run",
|
|
27
|
-
"test:e2e": "echo 'E2E tests not implemented yet'",
|
|
28
|
-
"lint": "eslint .",
|
|
29
|
-
"typecheck": "tsc --noEmit"
|
|
30
|
-
},
|
|
31
|
-
"keywords": [
|
|
32
|
-
"widget",
|
|
33
|
-
"chat",
|
|
34
|
-
"lead-qualification",
|
|
35
|
-
"embeddable",
|
|
36
|
-
"react"
|
|
37
|
-
],
|
|
38
|
-
"author": "",
|
|
39
|
-
"license": "ISC",
|
|
40
|
-
"peerDependencies": {
|
|
41
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
42
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"@ai-sdk/react": "^2.0.116",
|
|
46
|
-
"@tailwindcss/vite": "^4.1.18",
|
|
47
|
-
"ai": "^5.0.114",
|
|
48
|
-
"clsx": "^2.1.1",
|
|
49
|
-
"color": "^5.0.3",
|
|
50
|
-
"lucide-react": "^0.545.0",
|
|
51
|
-
"react-hook-form": "^7.68.0",
|
|
52
|
-
"tailwindcss": "^4.1.18",
|
|
53
|
-
"uuid": "^13.0.0",
|
|
54
|
-
"zod": "^4.2.1"
|
|
55
|
-
},
|
|
56
|
-
"devDependencies": {
|
|
57
|
-
"@trailheadai/ui": "workspace:*",
|
|
58
|
-
"@types/react": "^19.2.5",
|
|
59
|
-
"@types/react-dom": "^19.2.3",
|
|
60
|
-
"@vitejs/plugin-react": "^5.1.1",
|
|
61
|
-
"react": "^19.2.0",
|
|
62
|
-
"react-dom": "^19.2.0",
|
|
63
|
-
"typescript": "~5.9.3",
|
|
64
|
-
"vite": "^7.2.4",
|
|
65
|
-
"vite-plugin-dts": "^4.5.4",
|
|
66
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
67
|
-
"vitest": "^3.2.4"
|
|
14
|
+
"./styles": {
|
|
15
|
+
"default": "./dist/index.css"
|
|
68
16
|
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md"
|
|
21
|
+
],
|
|
22
|
+
"scripts": {
|
|
23
|
+
"dev": "vite build --watch",
|
|
24
|
+
"dev:test": "vite --config vite.dev.config.ts",
|
|
25
|
+
"build": "vite build",
|
|
26
|
+
"build:cdn": "vite build --config vite.cdn.config.ts",
|
|
27
|
+
"bump": "tsx scripts/bump-version.ts",
|
|
28
|
+
"publish:npm": "bash scripts/publish-npm.sh",
|
|
29
|
+
"publish:cdn": "tsx scripts/publish-cdn.ts",
|
|
30
|
+
"publish:all": "tsx scripts/publish.ts",
|
|
31
|
+
"preview": "vite preview",
|
|
32
|
+
"test": "vitest --run",
|
|
33
|
+
"test:e2e": "echo 'E2E tests not implemented yet'",
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"typecheck": "tsc --noEmit"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"widget",
|
|
39
|
+
"chat",
|
|
40
|
+
"lead-qualification",
|
|
41
|
+
"embeddable",
|
|
42
|
+
"react"
|
|
43
|
+
],
|
|
44
|
+
"author": "",
|
|
45
|
+
"license": "ISC",
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
48
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@ai-sdk/react": "^2.0.116",
|
|
52
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
53
|
+
"ai": "^5.0.114",
|
|
54
|
+
"clsx": "^2.1.1",
|
|
55
|
+
"react-hook-form": "^7.68.0",
|
|
56
|
+
"tailwindcss": "^4.1.18",
|
|
57
|
+
"uuid": "^13.0.0",
|
|
58
|
+
"zod": "^4.2.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/react": "^19.2.5",
|
|
62
|
+
"@types/react-dom": "^19.2.3",
|
|
63
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
64
|
+
"react": "^19.2.0",
|
|
65
|
+
"react-dom": "^19.2.0",
|
|
66
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
67
|
+
"source-map-explorer": "^2.5.3",
|
|
68
|
+
"typescript": "~5.9.3",
|
|
69
|
+
"vite": "^7.2.4",
|
|
70
|
+
"vite-plugin-dts": "^4.5.4",
|
|
71
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
72
|
+
"vitest": "^3.2.4"
|
|
73
|
+
}
|
|
69
74
|
}
|