@cuadra-ai/uikit 0.1.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/README.md +272 -0
- package/dist/index.cjs +244 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +31068 -0
- package/dist/index.mjs.map +1 -0
- package/dist/uikit.css +1 -0
- package/dist/widget/cuadra-uikit.css +1 -0
- package/dist/widget/cuadra-uikit.umd.js +48 -0
- package/dist/widget/cuadra-uikit.umd.js.map +1 -0
- package/package.json +88 -0
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cuadra-ai/uikit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A production-ready React UI kit for building AI chat experiences with the Cuadra AI API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/cuadra-ai/cuadra-ai-uikit.git"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"react",
|
|
12
|
+
"ui-kit",
|
|
13
|
+
"chat",
|
|
14
|
+
"ai",
|
|
15
|
+
"assistant-ui",
|
|
16
|
+
"cuadra-ai"
|
|
17
|
+
],
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"main": "./dist/index.cjs",
|
|
20
|
+
"module": "./dist/index.mjs",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.mjs",
|
|
26
|
+
"require": "./dist/index.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./widget": {
|
|
29
|
+
"import": "./dist/widget/cuadra-uikit.umd.js",
|
|
30
|
+
"require": "./dist/widget/cuadra-uikit.umd.js"
|
|
31
|
+
},
|
|
32
|
+
"./styles": "./dist/uikit.css",
|
|
33
|
+
"./dist/uikit.css": "./dist/uikit.css"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"README.md"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"dev": "vite",
|
|
41
|
+
"build": "npm run build:library && npm run build:widget",
|
|
42
|
+
"build:library": "vite build --config vite.config.library.ts && tsc -p tsconfig.build.json",
|
|
43
|
+
"build:widget": "vite build --config vite.config.widget.ts",
|
|
44
|
+
"preview": "vite preview",
|
|
45
|
+
"typecheck": "tsc -p tsconfig.app.json --noEmit",
|
|
46
|
+
"lint": "eslint . --max-warnings 0",
|
|
47
|
+
"lint:fix": "eslint . --fix",
|
|
48
|
+
"prepublishOnly": "npm run build"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": "^18.0.0 || >=19.0.0 <19.2.2",
|
|
52
|
+
"react-dom": "^18.0.0 || >=19.0.0 <19.2.2"
|
|
53
|
+
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"react": {
|
|
56
|
+
"optional": false
|
|
57
|
+
},
|
|
58
|
+
"react-dom": {
|
|
59
|
+
"optional": false
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@assistant-ui/react": "^0.11.0",
|
|
64
|
+
"@assistant-ui/react-markdown": "^0.11.6",
|
|
65
|
+
"lucide-react": "^0.555.0",
|
|
66
|
+
"remark-gfm": "^4.0.1"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@eslint/js": "^9.30.1",
|
|
70
|
+
"@types/node": "^20.19.25",
|
|
71
|
+
"@types/react": "^19.1.16",
|
|
72
|
+
"@types/react-dom": "^19.1.9",
|
|
73
|
+
"@vitejs/plugin-react": "^4.1.1",
|
|
74
|
+
"autoprefixer": "^10.4.21",
|
|
75
|
+
"eslint": "^9.33.0",
|
|
76
|
+
"eslint-config-prettier": "^10.1.8",
|
|
77
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
78
|
+
"eslint-plugin-react-refresh": "^0.4.4",
|
|
79
|
+
"globals": "^16.3.0",
|
|
80
|
+
"postcss": "^8.5.6",
|
|
81
|
+
"prettier": "^3.6.2",
|
|
82
|
+
"tailwindcss": "^3.4.17",
|
|
83
|
+
"typescript": "^5.8.3",
|
|
84
|
+
"typescript-eslint": "^8.35.1",
|
|
85
|
+
"vite": "^7.0.7",
|
|
86
|
+
"vite-plugin-dts": "^4.5.4"
|
|
87
|
+
}
|
|
88
|
+
}
|