@connectycube/chat-widget 0.10.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.
Files changed (46) hide show
  1. package/README.md +142 -0
  2. package/dist/App.d.ts +19 -0
  3. package/dist/AppContext.d.ts +7 -0
  4. package/dist/AppProvider.d.ts +10 -0
  5. package/dist/components/home/home.d.ts +2 -0
  6. package/dist/components/home/main/chat-header.d.ts +6 -0
  7. package/dist/components/home/main/chat-info.d.ts +7 -0
  8. package/dist/components/home/main/chat-input.d.ts +8 -0
  9. package/dist/components/home/main/group-member.d.ts +8 -0
  10. package/dist/components/home/main/main.d.ts +2 -0
  11. package/dist/components/home/main/message.d.ts +11 -0
  12. package/dist/components/home/sidebar/chat-item.d.ts +7 -0
  13. package/dist/components/home/sidebar/chats-list.d.ts +6 -0
  14. package/dist/components/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +8 -0
  15. package/dist/components/home/sidebar/new-chat/create-group-chat/participant.d.ts +7 -0
  16. package/dist/components/home/sidebar/new-chat/new-chat-dialog.d.ts +9 -0
  17. package/dist/components/home/sidebar/new-chat/searched-user.d.ts +13 -0
  18. package/dist/components/home/sidebar/sidebar.d.ts +5 -0
  19. package/dist/components/home/sidebar/tabs/chats-tab.d.ts +2 -0
  20. package/dist/components/home/sidebar/tabs/users-tab.d.ts +5 -0
  21. package/dist/components/home/sidebar/user-item.d.ts +7 -0
  22. package/dist/components/home/sidebar/users-list.d.ts +7 -0
  23. package/dist/components/login.d.ts +6 -0
  24. package/dist/components/shadcn-ui/alert-dialog.d.ts +20 -0
  25. package/dist/components/shadcn-ui/avatar.d.ts +6 -0
  26. package/dist/components/shadcn-ui/badge.d.ts +9 -0
  27. package/dist/components/shadcn-ui/button.d.ts +11 -0
  28. package/dist/components/shadcn-ui/dialog.d.ts +19 -0
  29. package/dist/components/shadcn-ui/dropdown-menu.d.ts +27 -0
  30. package/dist/components/shadcn-ui/input.d.ts +3 -0
  31. package/dist/components/shadcn-ui/label.d.ts +5 -0
  32. package/dist/components/shadcn-ui/switch.d.ts +4 -0
  33. package/dist/components/shadcn-ui/tabs.d.ts +7 -0
  34. package/dist/components/shared/avatar.d.ts +8 -0
  35. package/dist/components/shared/confirmation-alert.d.ts +8 -0
  36. package/dist/components/shared/loader.d.ts +5 -0
  37. package/dist/connectycube.d.ts +18 -0
  38. package/dist/hooks/useAppContext.d.ts +3 -0
  39. package/dist/hooks/useNotificationSound.d.ts +2 -0
  40. package/dist/hooks/usePageFocus.d.ts +2 -0
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.es.js +12621 -0
  43. package/dist/index.umd.js +116 -0
  44. package/dist/lib/utils.d.ts +2 -0
  45. package/dist/main.d.ts +0 -0
  46. package/package.json +100 -0
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/dist/main.d.ts ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,100 @@
1
+ {
2
+ "name": "@connectycube/chat-widget",
3
+ "description": "A React component that seamlessly integrates ConnectyCube's real-time chat capabilities into your web applications. This widget offers an out-of-the-box solution for embedding chat features—such as instant messaging, user presence, and file sharing—without the overhead of building a complete chat system from scratch.",
4
+ "version": "0.10.0",
5
+ "keywords": [
6
+ "chat-widget",
7
+ "widget",
8
+ "react",
9
+ "chat",
10
+ "instant-messaging",
11
+ "chat-application"
12
+ ],
13
+ "license": "GPL-3.0-only",
14
+ "author": "Garry ConnectyCube <admin@connectycube.com>",
15
+ "contributors": [
16
+ {
17
+ "name": "Vlad ConnectyCube",
18
+ "email": "vlad@connectycube.com"
19
+ },
20
+ {
21
+ "name": "Garry ConnectyCube",
22
+ "email": "admin@connectycube.com"
23
+ }
24
+ ],
25
+ "type": "module",
26
+ "types": "dist/index.d.ts",
27
+ "main": "dist/index.umd.js",
28
+ "module": "dist/index.es.js",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.es.js",
33
+ "require": "./dist/index.umd.js"
34
+ }
35
+ },
36
+ "files": [
37
+ "dist"
38
+ ],
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "scripts": {
43
+ "vite:dev": "vite",
44
+ "vite:build": "tsc -b && vite build",
45
+ "vite:preview": "vite preview",
46
+ "tailwindcss:watch": "npx tailwindcss -i ./src/index.css -o ./src/styles.css --watch",
47
+ "tailwindcss:minify": "npx tailwindcss -i ./src/index.css -o ./src/styles.css --minify",
48
+ "dev": "npm-run-all --parallel vite:dev tailwindcss:watch",
49
+ "build": "npm run tailwindcss:minify & npm run vite:build",
50
+ "preview": "npm run tailwindcss:minify & npm run vite:preview",
51
+ "lint": "eslint ."
52
+ },
53
+ "dependencies": {
54
+ "@connectycube/use-chat": "^0.13.0",
55
+ "@radix-ui/react-alert-dialog": "^1.1.5",
56
+ "@radix-ui/react-avatar": "^1.1.2",
57
+ "@radix-ui/react-dialog": "^1.1.5",
58
+ "@radix-ui/react-dropdown-menu": "^2.1.5",
59
+ "@radix-ui/react-label": "^2.1.1",
60
+ "@radix-ui/react-slot": "^1.1.1",
61
+ "@radix-ui/react-switch": "^1.1.2",
62
+ "@radix-ui/react-tabs": "^1.1.2",
63
+ "class-variance-authority": "^0.7.1",
64
+ "clsx": "^2.1.1",
65
+ "connectycube": "^4.1.0",
66
+ "lucide-react": "^0.474.0",
67
+ "react": "^18.3.1",
68
+ "react-dom": "^18.3.1",
69
+ "react-hook-form": "^7.54.2",
70
+ "react-icons": "^5.4.0",
71
+ "react-intersection-observer": "^9.15.1",
72
+ "react-router": "^7.1.5",
73
+ "react-router-dom": "^7.1.3",
74
+ "react-scroll": "^1.9.0"
75
+ },
76
+ "devDependencies": {
77
+ "@eslint/js": "^9.19.0",
78
+ "@types/node": "^22.13.1",
79
+ "@types/react": "18.3.12",
80
+ "@types/react-dom": "^18.3.5",
81
+ "@types/react-scroll": "^1.8.10",
82
+ "@vitejs/plugin-react": "^4.3.4",
83
+ "autoprefixer": "^10.4.20",
84
+ "eslint": "^9.19.0",
85
+ "eslint-plugin-react-hooks": "^5.1.0",
86
+ "eslint-plugin-react-refresh": "^0.4.18",
87
+ "globals": "^15.14.0",
88
+ "npm-run-all": "^4.1.5",
89
+ "postcss": "^8.5.1",
90
+ "prettier": "3.4.2",
91
+ "tailwind-merge": "^2.6.0",
92
+ "tailwindcss": "^3.4.17",
93
+ "tailwindcss-animate": "^1.0.7",
94
+ "typescript": "~5.7.3",
95
+ "typescript-eslint": "^8.23.0",
96
+ "vite": "^6.0.11",
97
+ "vite-plugin-css-injected-by-js": "^3.5.2",
98
+ "vite-plugin-dts": "^4.5.0"
99
+ }
100
+ }