@dmanikanta17/chat-ui 0.1.28 → 0.1.29
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 +75 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,81 @@ A modern, highly customizable, and responsive Chat UI component for React applic
|
|
|
17
17
|
|
|
18
18
|
---
|
|
19
19
|
|
|
20
|
+
## 🌐 Supported Frameworks & Platforms
|
|
21
|
+
|
|
22
|
+
@dmanikanta17/chat-ui works in any environment that can install npm packages or load JavaScript & CSS files.
|
|
23
|
+
|
|
24
|
+
### 1. Plain HTML (No Framework)
|
|
25
|
+
**Integration:** `<script>` + `<link>`
|
|
26
|
+
|
|
27
|
+
| Platform | Platform |
|
|
28
|
+
| :--- | :--- |
|
|
29
|
+
| • Static HTML Websites | • Webflow |
|
|
30
|
+
| • Vanilla JavaScript | • Wix (Custom Code) |
|
|
31
|
+
| • WordPress | • Joomla |
|
|
32
|
+
| • Shopify | • Drupal |
|
|
33
|
+
|
|
34
|
+
✅ **Supported**
|
|
35
|
+
|
|
36
|
+
### 2. JavaScript UI Frameworks (npm-based)
|
|
37
|
+
**Install:** `npm install @dmanikanta17/chat-ui`
|
|
38
|
+
|
|
39
|
+
| Modern / Popular | Lightweight / Legacy |
|
|
40
|
+
| :--- | :--- |
|
|
41
|
+
| • React | • Lit |
|
|
42
|
+
| • Angular | • Alpine.js |
|
|
43
|
+
| • Vue.js | • Ember.js |
|
|
44
|
+
| • Svelte | • Backbone.js |
|
|
45
|
+
| • SolidJS | • Knockout.js |
|
|
46
|
+
| • Preact | • Mithril.js |
|
|
47
|
+
|
|
48
|
+
✅ **Supported**
|
|
49
|
+
|
|
50
|
+
### 3. Meta / SSR & Static Frameworks
|
|
51
|
+
|
|
52
|
+
| Framework | Framework |
|
|
53
|
+
| :--- | :--- |
|
|
54
|
+
| • Next.js | • Gatsby |
|
|
55
|
+
| • Nuxt.js | • Astro |
|
|
56
|
+
| • SvelteKit | • Qwik |
|
|
57
|
+
| • Remix | • Meteor |
|
|
58
|
+
|
|
59
|
+
✅ **Supported**
|
|
60
|
+
|
|
61
|
+
### 4. Mobile (JavaScript-based)
|
|
62
|
+
**Note:** Works best via WebView or embedded browser support.
|
|
63
|
+
|
|
64
|
+
| Platform | Platform |
|
|
65
|
+
| :--- | :--- |
|
|
66
|
+
| • React Native | • NativeScript |
|
|
67
|
+
| • Expo | • Cordova |
|
|
68
|
+
| • Ionic | • Capacitor |
|
|
69
|
+
|
|
70
|
+
✅ **Supported**
|
|
71
|
+
|
|
72
|
+
### 5. Desktop (JavaScript-based)
|
|
73
|
+
|
|
74
|
+
| Platform | Platform |
|
|
75
|
+
| :--- | :--- |
|
|
76
|
+
| • Electron | • NW.js |
|
|
77
|
+
| • Tauri | |
|
|
78
|
+
|
|
79
|
+
✅ **Supported**
|
|
80
|
+
|
|
81
|
+
### Support Summary
|
|
82
|
+
|
|
83
|
+
| Category | Support |
|
|
84
|
+
| :--- | :--- |
|
|
85
|
+
| Plain HTML | ✅ Supported |
|
|
86
|
+
| npm-based frameworks | ✅ Supported |
|
|
87
|
+
| SSR / Meta frameworks | ✅ Supported |
|
|
88
|
+
| Mobile (JS-based) | ✅ Supported |
|
|
89
|
+
| Desktop (JS-based) | ✅ Supported |
|
|
90
|
+
|
|
91
|
+
**Total Supported Environments: 30+ platforms**
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
20
95
|
## 📦 Installation & Usage
|
|
21
96
|
|
|
22
97
|
You can use this package in a **React** application or directly in an **HTML** website.
|
package/dist/index.js
CHANGED
|
@@ -1264,7 +1264,7 @@ function ChatUI({
|
|
|
1264
1264
|
setMobileMenuOpen(false);
|
|
1265
1265
|
},
|
|
1266
1266
|
children: [
|
|
1267
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "w-4 h-4 flex items-center justify-center shrink-0", children: showHistory ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.ArrowLeft, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.
|
|
1267
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "w-4 h-4 flex items-center justify-center shrink-0", children: showHistory ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.ArrowLeft, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react3.Plus, { className: "h-4 w-4" }) }),
|
|
1268
1268
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-medium whitespace-nowrap", children: showHistory ? "Back to Chat" : "Start New Chat" })
|
|
1269
1269
|
]
|
|
1270
1270
|
}
|