@cloudflare/realtimekit-ui 1.1.0-staging.6 → 1.1.0-staging.8
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/dist/browser.js +1 -1
- package/dist/cjs/rtk-avatar_24.cjs.entry.js +240 -213
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +1 -1
- package/dist/cjs/rtk-notifications.cjs.entry.js +4 -1
- package/dist/collection/components/rtk-chat/rtk-chat.js +16 -2
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +36 -16
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +1 -1
- package/dist/collection/components/rtk-notifications/rtk-notifications.js +4 -1
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +213 -200
- package/dist/components/{p-85872241.js → p-7e90e964.js} +18 -4
- package/dist/components/{p-b6781e91.js → p-9213c3fc.js} +17 -17
- package/dist/components/{p-e7e2156a.js → p-ad8282dc.js} +208 -195
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-toggle.js +1 -1
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-meeting.js +3 -3
- package/dist/components/rtk-notifications.js +4 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/docs/docs-components.json +29 -9
- package/dist/esm/loader.js +244 -214
- package/dist/esm/rtk-avatar_24.entry.js +240 -213
- package/dist/esm/rtk-chat-toggle.entry.js +1 -1
- package/dist/esm/rtk-notifications.entry.js +4 -1
- package/dist/realtimekit-ui/p-342b4926.entry.js +1 -0
- package/dist/realtimekit-ui/p-8f4f3160.entry.js +1 -0
- package/dist/realtimekit-ui/{p-421e4c6f.entry.js → p-ec5ed8a4.entry.js} +1 -1
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat/rtk-chat.d.ts +1 -0
- package/dist/types/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.d.ts +2 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +35 -48
- package/dist/types/components.d.ts +8 -3
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-19587963.entry.js +0 -1
- package/dist/realtimekit-ui/p-a859d883.entry.js +0 -1
|
@@ -8,9 +8,9 @@ import { i as index } from './p-f47d4fe8.js';
|
|
|
8
8
|
import { d as defineCustomElement$o } from './p-241a8245.js';
|
|
9
9
|
import { d as defineCustomElement$n } from './p-1391bef0.js';
|
|
10
10
|
import { d as defineCustomElement$m } from './p-a73665b4.js';
|
|
11
|
-
import { d as defineCustomElement$l } from './p-
|
|
11
|
+
import { d as defineCustomElement$l } from './p-7e90e964.js';
|
|
12
12
|
import { d as defineCustomElement$k } from './p-28170a8d.js';
|
|
13
|
-
import { d as defineCustomElement$j } from './p-
|
|
13
|
+
import { d as defineCustomElement$j } from './p-9213c3fc.js';
|
|
14
14
|
import { d as defineCustomElement$i } from './p-1f5a4682.js';
|
|
15
15
|
import { d as defineCustomElement$h } from './p-598dc3f2.js';
|
|
16
16
|
import { d as defineCustomElement$g } from './p-0e5cc539.js';
|
|
@@ -23,7 +23,7 @@ import { d as defineCustomElement$a } from './p-2447a26f.js';
|
|
|
23
23
|
import { d as defineCustomElement$9 } from './p-819cb785.js';
|
|
24
24
|
import { d as defineCustomElement$8 } from './p-7148ec6a.js';
|
|
25
25
|
import { d as defineCustomElement$7 } from './p-0f2de0f8.js';
|
|
26
|
-
import { d as defineCustomElement$6 } from './p-
|
|
26
|
+
import { d as defineCustomElement$6 } from './p-ad8282dc.js';
|
|
27
27
|
import { d as defineCustomElement$5 } from './p-4ebf9684.js';
|
|
28
28
|
import { d as defineCustomElement$4 } from './p-4902c5cf.js';
|
|
29
29
|
import { d as defineCustomElement$3 } from './p-6739a399.js';
|
|
@@ -233,7 +233,10 @@ const RtkNotifications$1 = /*@__PURE__*/ proxyCustomElement(class RtkNotificatio
|
|
|
233
233
|
this.waitlistedParticipantLeftListener = (participant) => {
|
|
234
234
|
this.remove(`${participant.id}-joined-waitlist`);
|
|
235
235
|
};
|
|
236
|
-
this.chatUpdateListener = ({ message }) => {
|
|
236
|
+
this.chatUpdateListener = ({ message, action }) => {
|
|
237
|
+
// NOTE(ikabra): we only want notifications for new messages
|
|
238
|
+
if (action !== 'add')
|
|
239
|
+
return;
|
|
237
240
|
const parsedMessage = parseMessageForTarget(message);
|
|
238
241
|
if (parsedMessage != null) {
|
|
239
242
|
if (parsedMessage.userId === meeting.self.userId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RtkPaginatedList$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RtkPaginatedList$1, d as defineCustomElement$1 } from './p-ad8282dc.js';
|
|
2
2
|
|
|
3
3
|
const RtkPaginatedList = RtkPaginatedList$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-20T09:16:34",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.27.2",
|
|
@@ -50500,6 +50500,26 @@
|
|
|
50500
50500
|
"docs": "Event emitted when a message is deleted",
|
|
50501
50501
|
"docsTags": []
|
|
50502
50502
|
},
|
|
50503
|
+
{
|
|
50504
|
+
"event": "editMessage",
|
|
50505
|
+
"detail": "CustomMessage | FileMessage | ImageMessage | TextMessage",
|
|
50506
|
+
"bubbles": true,
|
|
50507
|
+
"complexType": {
|
|
50508
|
+
"original": "Message",
|
|
50509
|
+
"resolved": "CustomMessage | FileMessage | ImageMessage | TextMessage",
|
|
50510
|
+
"references": {
|
|
50511
|
+
"Message": {
|
|
50512
|
+
"location": "import",
|
|
50513
|
+
"path": "@cloudflare/realtimekit",
|
|
50514
|
+
"id": "node_modules::Message"
|
|
50515
|
+
}
|
|
50516
|
+
}
|
|
50517
|
+
},
|
|
50518
|
+
"cancelable": true,
|
|
50519
|
+
"composed": true,
|
|
50520
|
+
"docs": "Event emitted when a message is edited",
|
|
50521
|
+
"docsTags": []
|
|
50522
|
+
},
|
|
50503
50523
|
{
|
|
50504
50524
|
"event": "editMessageInit",
|
|
50505
50525
|
"detail": "{ payload: TextMessage; flags: { isReply?: boolean; isEdit?: boolean; }; }",
|
|
@@ -151082,15 +151102,15 @@
|
|
|
151082
151102
|
"docs": ""
|
|
151083
151103
|
},
|
|
151084
151104
|
"complexType": {
|
|
151085
|
-
"signature": "(
|
|
151105
|
+
"signature": "(id: string, node: DataNode) => Promise<void>",
|
|
151086
151106
|
"parameters": [
|
|
151087
151107
|
{
|
|
151088
|
-
"name": "
|
|
151108
|
+
"name": "id",
|
|
151089
151109
|
"type": "string",
|
|
151090
151110
|
"docs": "- The id of the node to update"
|
|
151091
151111
|
},
|
|
151092
151112
|
{
|
|
151093
|
-
"name": "
|
|
151113
|
+
"name": "node",
|
|
151094
151114
|
"type": "DataNode",
|
|
151095
151115
|
"docs": "- The updated data node"
|
|
151096
151116
|
}
|
|
@@ -151108,15 +151128,15 @@
|
|
|
151108
151128
|
},
|
|
151109
151129
|
"return": "Promise<void>"
|
|
151110
151130
|
},
|
|
151111
|
-
"signature": "onNodeUpdate(
|
|
151131
|
+
"signature": "onNodeUpdate(id: string, node: DataNode) => Promise<void>",
|
|
151112
151132
|
"parameters": [
|
|
151113
151133
|
{
|
|
151114
|
-
"name": "
|
|
151134
|
+
"name": "id",
|
|
151115
151135
|
"type": "string",
|
|
151116
151136
|
"docs": "- The id of the node to update"
|
|
151117
151137
|
},
|
|
151118
151138
|
{
|
|
151119
|
-
"name": "
|
|
151139
|
+
"name": "node",
|
|
151120
151140
|
"type": "DataNode",
|
|
151121
151141
|
"docs": "- The updated data node"
|
|
151122
151142
|
}
|
|
@@ -151125,11 +151145,11 @@
|
|
|
151125
151145
|
"docsTags": [
|
|
151126
151146
|
{
|
|
151127
151147
|
"name": "param",
|
|
151128
|
-
"text": "
|
|
151148
|
+
"text": "id - The id of the node to update"
|
|
151129
151149
|
},
|
|
151130
151150
|
{
|
|
151131
151151
|
"name": "param",
|
|
151132
|
-
"text": "
|
|
151152
|
+
"text": "node - The updated data node"
|
|
151133
151153
|
}
|
|
151134
151154
|
]
|
|
151135
151155
|
}
|