@connectycube/chat-widget 0.26.1 → 0.28.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.
@@ -14,6 +14,7 @@ export declare const tryReuseSession: (userName?: string, userId?: string, userA
14
14
  export declare const tryRestoreSession: () => Promise<Auth.Session | null>;
15
15
  export declare const createUserSession: (login: string, password: string) => Promise<Auth.Session>;
16
16
  export declare const createSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
+ export declare const restoreSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
18
  export declare const destroyUserSession: () => Promise<void>;
18
19
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
20
  export declare const chatCredentials: () => Chat.ConnectionParams | null;
@@ -4,3 +4,5 @@ export declare enum dataPrefix {
4
4
  WRAPPER = "data-connectycube-chat-widget-wrapper",
5
5
  FOCUSED = "data-connectycube-chat-widget-focused"
6
6
  }
7
+ export declare const widgetFontSize = "15px";
8
+ export declare const widgetFontWeight = "400";
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Συνομιλία",
9
9
  "Chats": "Συνομιλίες",
10
10
  "ChooseChat": "Επιλέξτε συνομιλία",
11
- "continue": "Συνέχεια",
11
+ "Continue": "Συνέχεια",
12
12
  "CreateGroupChat": "Δημιουργία ομαδικής συνομιλίας",
13
13
  "Delete": "Διαγραφή",
14
14
  "Draft": "Πρόχειρο",
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Chat",
9
9
  "Chats": "Chats",
10
10
  "ChooseChat": "Choose a chat",
11
- "continue": "Continue",
11
+ "Continue": "Continue",
12
12
  "CreateGroupChat": "Create group chat",
13
13
  "Delete": "Delete",
14
14
  "Draft": "Draft",
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Чат",
9
9
  "Chats": "Чати",
10
10
  "ChooseChat": "Оберіть чат",
11
- "continue": "Продовжити",
11
+ "Continue": "Продовжити",
12
12
  "CreateGroupChat": "Створити груповий чат",
13
13
  "Delete": "Видалити",
14
14
  "Draft": "Чернетка",
@@ -14,6 +14,7 @@ export declare const tryReuseSession: (userName?: string, userId?: string, userA
14
14
  export declare const tryRestoreSession: () => Promise<Auth.Session | null>;
15
15
  export declare const createUserSession: (login: string, password: string) => Promise<Auth.Session>;
16
16
  export declare const createSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
+ export declare const restoreSession: (userId?: string, userName?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session | null>;
17
18
  export declare const destroyUserSession: () => Promise<void>;
18
19
  export declare const userSignup: (login: string, password: string, name?: string, externalId?: string, userAvatar?: string, userProfileLink?: string) => Promise<Auth.Session>;
19
20
  export declare const chatCredentials: () => Chat.ConnectionParams | null;
@@ -4,3 +4,5 @@ export declare enum dataPrefix {
4
4
  WRAPPER = "data-connectycube-chat-widget-wrapper",
5
5
  FOCUSED = "data-connectycube-chat-widget-focused"
6
6
  }
7
+ export declare const widgetFontSize = "15px";
8
+ export declare const widgetFontWeight = "400";
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Συνομιλία",
9
9
  "Chats": "Συνομιλίες",
10
10
  "ChooseChat": "Επιλέξτε συνομιλία",
11
- "continue": "Συνέχεια",
11
+ "Continue": "Συνέχεια",
12
12
  "CreateGroupChat": "Δημιουργία ομαδικής συνομιλίας",
13
13
  "Delete": "Διαγραφή",
14
14
  "Draft": "Πρόχειρο",
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Chat",
9
9
  "Chats": "Chats",
10
10
  "ChooseChat": "Choose a chat",
11
- "continue": "Continue",
11
+ "Continue": "Continue",
12
12
  "CreateGroupChat": "Create group chat",
13
13
  "Delete": "Delete",
14
14
  "Draft": "Draft",
@@ -8,7 +8,7 @@ declare const _default: {
8
8
  "Chat": "Чат",
9
9
  "Chats": "Чати",
10
10
  "ChooseChat": "Оберіть чат",
11
- "continue": "Продовжити",
11
+ "Continue": "Продовжити",
12
12
  "CreateGroupChat": "Створити груповий чат",
13
13
  "Delete": "Видалити",
14
14
  "Draft": "Чернетка",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@connectycube/chat-widget",
3
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.26.1",
4
+ "version": "0.28.0",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://github.com/ConnectyCube/connectycube-chat-widget#readme",
7
7
  "bugs": {
@@ -97,13 +97,14 @@
97
97
  "jsdom": "^26.1.0",
98
98
  "linkify-react": "^4.3.1",
99
99
  "linkifyjs": "^4.3.1",
100
- "lucide-react": "^0.511.0",
100
+ "lucide-react": "^0.513.0",
101
101
  "next-themes": "^0.4.6",
102
- "react-hook-form": "^7.56.4",
102
+ "react-hook-form": "^7.57.0",
103
103
  "react-i18next": "^15.5.2",
104
104
  "react-icons": "^5.5.0",
105
105
  "react-intersection-observer": "^9.16.0",
106
106
  "react-player": "^2.16.0",
107
+ "sonner": "^2.0.5",
107
108
  "zustand": "^5.0.5"
108
109
  },
109
110
  "peerDependencies": {
@@ -111,33 +112,32 @@
111
112
  "react-dom": "^18 || ^19"
112
113
  },
113
114
  "devDependencies": {
114
- "@eslint/js": "^9.27.0",
115
+ "@eslint/js": "^9.28.0",
115
116
  "@tailwindcss/postcss": "^4.1.8",
116
117
  "@tailwindcss/vite": "^4.1.8",
117
- "@types/node": "^22.15.27",
118
+ "@types/node": "^22.15.30",
118
119
  "@types/react": "^19.1.6",
119
- "@types/react-dom": "^19.1.5",
120
- "@vitejs/plugin-react": "^4.5.0",
121
- "@vitest/coverage-v8": "^3.1.4",
122
- "eslint": "^9.27.0",
120
+ "@types/react-dom": "^19.1.6",
121
+ "@vitejs/plugin-react": "^4.5.1",
122
+ "@vitest/coverage-v8": "^3.2.3",
123
+ "eslint": "^9.28.0",
123
124
  "eslint-plugin-react-hooks": "^5.2.0",
124
125
  "eslint-plugin-react-refresh": "^0.4.20",
125
126
  "globals": "^16.2.0",
126
127
  "prettier": "3.5.3",
127
- "sonner": "^2.0.3",
128
128
  "tailwind-merge": "^3.3.0",
129
129
  "tailwind-scrollbar": "^4.0.2",
130
130
  "tailwindcss": "^4.1.8",
131
- "tw-animate-css": "^1.3.2",
131
+ "tw-animate-css": "^1.3.4",
132
132
  "typescript": "^5.8.3",
133
- "typescript-eslint": "^8.33.0",
133
+ "typescript-eslint": "^8.33.1",
134
134
  "vite": "^6.3.5",
135
135
  "vite-plugin-css-injected-by-js": "^3.5.2",
136
136
  "vite-plugin-dts": "^4.5.4",
137
- "vitest": "^3.1.4"
137
+ "vitest": "^3.2.3"
138
138
  },
139
139
  "optionalDependencies": {
140
- "@rollup/rollup-linux-x64-gnu": "4.41.1",
140
+ "@rollup/rollup-linux-x64-gnu": "4.42.0",
141
141
  "@tailwindcss/oxide-linux-x64-gnu": "^4.1.8",
142
142
  "lightningcss-linux-x64-gnu": "^1.30.1"
143
143
  },