@connectycube/chat-widget 0.14.1 → 0.14.3
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 +21 -20
- package/dist/{locales/el/translation.json → public/locales/el/translation.json.d.ts} +4 -1
- package/dist/{locales/en/translation.json → public/locales/en/translation.json.d.ts} +4 -1
- package/dist/{locales/ua/translation.json → public/locales/ua/translation.json.d.ts} +4 -1
- package/package.json +1 -1
- /package/dist/{src/App.d.ts → App.d.ts} +0 -0
- /package/dist/{src/AppContainer.d.ts → AppContainer.d.ts} +0 -0
- /package/dist/{src/components → components}/home/home.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/chat-header.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/chat-info.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/chat-input.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/group-member.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/main.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/message.d.ts +0 -0
- /package/dist/{src/components → components}/home/main/quick-actions.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/chat-item.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/chats-list.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/new-chat/create-group-chat/create-group-chat.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/new-chat/create-group-chat/participant.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/new-chat/new-chat-dialog.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/new-chat/searched-user.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/sidebar.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/tabs/chats-tab.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/tabs/users-tab.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/user-item.d.ts +0 -0
- /package/dist/{src/components → components}/home/sidebar/users-list.d.ts +0 -0
- /package/dist/{src/components → components}/login.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/alert-dialog.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/avatar.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/badge.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/button.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/dialog.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/dropdown-menu.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/input.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/label.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/switch.d.ts +0 -0
- /package/dist/{src/components → components}/shadcn-ui/tabs.d.ts +0 -0
- /package/dist/{src/components → components}/shared/avatar.d.ts +0 -0
- /package/dist/{src/components → components}/shared/confirmation-alert.d.ts +0 -0
- /package/dist/{src/components → components}/shared/empty-content-placeholder.d.ts +0 -0
- /package/dist/{src/components → components}/shared/loader.d.ts +0 -0
- /package/dist/{src/connectycube.d.ts → connectycube.d.ts} +0 -0
- /package/dist/{src/hooks → hooks}/debounce.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/throttle.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/useNotificationSound.d.ts +0 -0
- /package/dist/{src/hooks → hooks}/usePageFocus.d.ts +0 -0
- /package/dist/{src/i18n.d.ts → i18n.d.ts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/lib → lib}/utils.d.ts +0 -0
- /package/dist/{src/main.d.ts → main.d.ts} +0 -0
- /package/dist/{src/redux → redux}/hooks.d.ts +0 -0
- /package/dist/{src/redux → redux}/slices/app.d.ts +0 -0
- /package/dist/{src/redux → redux}/slices/draftMessages.d.ts +0 -0
- /package/dist/{src/redux → redux}/slices/quickActions.d.ts +0 -0
- /package/dist/{src/redux → redux}/slices/unreadCount.d.ts +0 -0
- /package/dist/{src/redux → redux}/store.d.ts +0 -0
- /package/dist/{src/tests → tests}/connectycube.test.d.ts +0 -0
package/README.md
CHANGED
|
@@ -126,26 +126,27 @@ See chat widget code samples <https://github.com/ConnectyCube/connectycube-chat-
|
|
|
126
126
|
|
|
127
127
|
## Props
|
|
128
128
|
|
|
129
|
-
| Prop Name | Type | Description
|
|
130
|
-
| -------------------- | --------------------- |
|
|
131
|
-
| `appId` | `number \| string` | The ConnectyCube Application ID
|
|
132
|
-
| `authKey` | `string` | The ConnectyCube Authentication Key
|
|
133
|
-
| `config` | `object` | _(Optional)_ Configuration options for ConnectyCube SDK
|
|
134
|
-
| `userId` | `string` | A User Id from your system
|
|
135
|
-
| `userName` | `string` | User name. This is how other users will see your user name
|
|
136
|
-
| `userAvatar` | `string` | _(Optional)_ User Avatar URL
|
|
137
|
-
| `userProfileLink` | `string` | _(Optional)_ User profile link URL
|
|
138
|
-
| `muted` | `boolean` | _(Optional)_ Do not play sound on incoming message
|
|
139
|
-
| `splitView` | `boolean` | _(Optional)_ Displays the chats in split view or single view
|
|
140
|
-
| `showOnlineUsersTab` | `boolean` | _(Optional)_ Displays users tab with the list of online users
|
|
141
|
-
| `buttonTitle` | `string` | _(Optional)_ The text displayed on the chat button
|
|
142
|
-
| `buttonStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the button
|
|
143
|
-
| `portalStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the portal
|
|
144
|
-
| `badgeStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the badge
|
|
145
|
-
| `buttonClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the button
|
|
146
|
-
| `portalClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the chat
|
|
147
|
-
| `badgeClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the badge
|
|
148
|
-
| `quickActions` | `object` | _(Optional)_ Configuration for quick actions dialog. See [QuickActions](#quickactions)
|
|
129
|
+
| Prop Name | Type | Description | Default Value |
|
|
130
|
+
| -------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------- | ------------- |
|
|
131
|
+
| `appId` | `number \| string` | The ConnectyCube Application ID | |
|
|
132
|
+
| `authKey` | `string` | The ConnectyCube Authentication Key | |
|
|
133
|
+
| `config` | `object` | _(Optional)_ Configuration options for ConnectyCube SDK | |
|
|
134
|
+
| `userId` | `string` | A User Id from your system | |
|
|
135
|
+
| `userName` | `string` | User name. This is how other users will see your user name | |
|
|
136
|
+
| `userAvatar` | `string` | _(Optional)_ User Avatar URL | |
|
|
137
|
+
| `userProfileLink` | `string` | _(Optional)_ User profile link URL | |
|
|
138
|
+
| `muted` | `boolean` | _(Optional)_ Do not play sound on incoming message | false |
|
|
139
|
+
| `splitView` | `boolean` | _(Optional)_ Displays the chats in split view or single view | false |
|
|
140
|
+
| `showOnlineUsersTab` | `boolean` | _(Optional)_ Displays users tab with the list of online users | false |
|
|
141
|
+
| `buttonTitle` | `string` | _(Optional)_ The text displayed on the chat button | "Chat" |
|
|
142
|
+
| `buttonStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the button | |
|
|
143
|
+
| `portalStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the portal | |
|
|
144
|
+
| `badgeStyle` | `React.CSSProperties` | _(Optional)_ Inline styles for the badge | |
|
|
145
|
+
| `buttonClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the button | |
|
|
146
|
+
| `portalClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the chat | |
|
|
147
|
+
| `badgeClassName` | `string` | _(Optional)_ CSS class or Tailwind CSS classes for the badge | |
|
|
148
|
+
| `quickActions` | `object` | _(Optional)_ Configuration for quick actions dialog. See [QuickActions](#quickactions) | |
|
|
149
|
+
| `translation` | `string` | _(Optional)_ Specifies the language for the chat widget. See [Supported Translations](#supported-translations) | "en" |
|
|
149
150
|
|
|
150
151
|
## Quick Actions
|
|
151
152
|
|
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.14.
|
|
4
|
+
"version": "0.14.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chat-widget",
|
|
7
7
|
"widget",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{src/components → components}/home/sidebar/new-chat/create-group-chat/participant.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|