@modochats/widget 0.1.1 → 0.1.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@modochats/widget",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "",
5
5
  "main": "dist/src/app.js",
6
6
  "type": "module",
Binary file
@@ -1,42 +0,0 @@
1
- # Modo Web Component
2
-
3
- A lightweight web component library.
4
-
5
- ## CDN Usage
6
-
7
- ### jsDelivr
8
- ```html
9
- <script src="https://cdn.jsdelivr.net/gh/your-username/modo-web-component@main/cdn-dist/modo-web-component.min.js"></script>
10
- ```
11
-
12
- ### GitHub Raw
13
- ```html
14
- <script src="https://raw.githubusercontent.com/your-username/modo-web-component/main/cdn-dist/modo-web-component.min.js"></script>
15
- ```
16
-
17
- ## Usage
18
-
19
- ```javascript
20
- // Initialize the chat widget
21
- const chat = new ModoChat('your-public-key', {
22
- position: 'right', // 'left' or 'right'
23
- theme: 'dark', // 'dark' or 'light'
24
- primaryColor: '#667eea',
25
- title: 'پشتیبانی چت'
26
- });
27
- ```
28
-
29
- ## Features
30
-
31
- - 🌙 Dark/Light theme support
32
- - 🌐 RTL (Persian/Farsi) language support
33
- - 📱 Mobile responsive design
34
- - 💬 Real-time chat functionality
35
- - 🔗 WebSocket connection status
36
- - 📝 Markdown message support
37
-
38
- ## Files
39
-
40
- - `modo-web-component.js` - Development version
41
- - `modo-web-component.min.js` - Production version (minified)
42
- - `dist/` - Full distribution files