@cloudflare/realtimekit-ui 1.1.0-staging.12 → 1.1.0-staging.14
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/loader.cjs.js +1 -1
- package/dist/cjs/realtimekit-ui.cjs.js +1 -1
- package/dist/cjs/rtk-avatar_26.cjs.entry.js +50 -21
- package/dist/cjs/rtk-chat-toggle.cjs.entry.js +5 -12
- package/dist/collection/components/rtk-chat-messages-ui-paginated/rtk-chat-messages-ui-paginated.js +2 -2
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.css +7 -8
- package/dist/collection/components/rtk-chat-selector/rtk-chat-selector.js +34 -10
- package/dist/collection/components/rtk-chat-toggle/rtk-chat-toggle.js +5 -12
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.css +6 -0
- package/dist/collection/components/rtk-markdown-view/rtk-markdown-view.js +1 -1
- package/dist/collection/components/rtk-message-view/rtk-message-view.css +11 -0
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.css +20 -4
- package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +25 -2
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.css +2 -7
- package/dist/collection/components/rtk-pinned-message-selector/rtk-pinned-message-selector.js +2 -2
- package/dist/components/{p-f5aecaad.js → p-15d2291f.js} +1 -1
- package/dist/components/{p-90420dc5.js → p-27029836.js} +2 -2
- package/dist/components/{p-469f4396.js → p-298aa8be.js} +2 -2
- package/dist/components/{p-862ec1f9.js → p-2f68e7bb.js} +1 -1
- package/dist/components/{p-54e0acc1.js → p-7f71b3c7.js} +9 -9
- package/dist/components/{p-db5556c3.js → p-881e5548.js} +6 -6
- package/dist/components/{p-d9fa18db.js → p-c39c6e12.js} +4 -4
- package/dist/components/{p-793f074d.js → p-c3bfa8f1.js} +10 -3
- package/dist/components/{p-7fcbd2dd.js → p-c9ee0428.js} +35 -11
- package/dist/components/{p-321a4aef.js → p-e93218b8.js} +3 -3
- package/dist/components/rtk-chat-composer-view.js +1 -1
- package/dist/components/rtk-chat-header.js +1 -1
- package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
- package/dist/components/rtk-chat-messages-ui.js +3 -3
- package/dist/components/rtk-chat-search-results.js +1 -1
- package/dist/components/rtk-chat-selector.js +1 -1
- package/dist/components/rtk-chat-toggle.js +5 -12
- package/dist/components/rtk-chat.js +1 -1
- package/dist/components/rtk-markdown-view.js +1 -1
- package/dist/components/rtk-meeting.js +10 -10
- package/dist/components/rtk-message-view.js +1 -1
- package/dist/components/rtk-paginated-list.js +1 -1
- package/dist/components/rtk-pinned-message-selector.js +1 -1
- package/dist/components/rtk-text-message-view.js +1 -1
- package/dist/docs/docs-components.json +23 -1
- package/dist/esm/loader.js +56 -34
- package/dist/esm/realtimekit-ui.js +1 -1
- package/dist/esm/rtk-avatar_26.entry.js +50 -21
- package/dist/esm/rtk-chat-toggle.entry.js +5 -12
- package/dist/realtimekit-ui/p-7c6cdccf.entry.js +1 -0
- package/dist/realtimekit-ui/p-9e27670a.entry.js +1 -0
- package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
- package/dist/types/components/rtk-chat-selector/rtk-chat-selector.d.ts +2 -0
- package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +4 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +1 -1
- package/dist/realtimekit-ui/p-8cc26ae0.entry.js +0 -1
- package/dist/realtimekit-ui/p-d1256212.entry.js +0 -1
|
@@ -11,7 +11,7 @@ import { d as defineCustomElement$8 } from './p-0a36cb4b.js';
|
|
|
11
11
|
import { d as defineCustomElement$7 } from './p-e7b7abfe.js';
|
|
12
12
|
import { d as defineCustomElement$6 } from './p-cd6f04ae.js';
|
|
13
13
|
import { d as defineCustomElement$5 } from './p-8a66a347.js';
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-c3bfa8f1.js';
|
|
15
15
|
import { d as defineCustomElement$3 } from './p-dfdbb665.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './p-4a5d3b4c.js';
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RtkChatSelector$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RtkChatSelector$1, d as defineCustomElement$1 } from './p-c9ee0428.js';
|
|
2
2
|
|
|
3
3
|
const RtkChatSelector = RtkChatSelector$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -92,20 +92,13 @@ const RtkChatToggle$1 = /*@__PURE__*/ proxyCustomElement(class RtkChatToggle ext
|
|
|
92
92
|
const chat = this.meeting.chat;
|
|
93
93
|
if (!chat)
|
|
94
94
|
return;
|
|
95
|
-
const
|
|
96
|
-
|
|
95
|
+
const meetingStartedTimeMs = (_b = (_a = this.meeting.meta) === null || _a === void 0 ? void 0 : _a.meetingStartedTimestamp.getTime()) !== null && _b !== void 0 ? _b : 0;
|
|
96
|
+
const messages = await chat.fetchPublicMessages({
|
|
97
|
+
timestamp: meetingStartedTimeMs,
|
|
97
98
|
limit: this.pageSize,
|
|
98
|
-
direction: '
|
|
99
|
+
direction: 'after',
|
|
99
100
|
});
|
|
100
|
-
|
|
101
|
-
const newMessages = messages.filter((m) => m.timeMs > meetingStartedTimeMs);
|
|
102
|
-
if (newMessages.length === this.pageSize && newMessages.length > 0) {
|
|
103
|
-
// all messages are new, so we can't know the exact count, but we know there are at least pageSize - 1 new messages
|
|
104
|
-
this.unreadMessageCount = newMessages.length;
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
this.unreadMessageCount = newMessages.length;
|
|
108
|
-
}
|
|
101
|
+
this.unreadMessageCount = messages.length;
|
|
109
102
|
}
|
|
110
103
|
handleChatActiveChange() {
|
|
111
104
|
// Chat sidebar closed without opening a different sidebar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RtkMarkdownView$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RtkMarkdownView$1, d as defineCustomElement$1 } from './p-27029836.js';
|
|
2
2
|
|
|
3
3
|
const RtkMarkdownView = RtkMarkdownView$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -7,11 +7,11 @@ import './p-a83ccdbd.js';
|
|
|
7
7
|
import { i as index } from './p-f47d4fe8.js';
|
|
8
8
|
import { d as defineCustomElement$q } from './p-c9db1b82.js';
|
|
9
9
|
import { d as defineCustomElement$p } from './p-e229128b.js';
|
|
10
|
-
import { d as defineCustomElement$o } from './p-
|
|
11
|
-
import { d as defineCustomElement$n } from './p-
|
|
12
|
-
import { d as defineCustomElement$m } from './p-
|
|
13
|
-
import { d as defineCustomElement$l } from './p-
|
|
14
|
-
import { d as defineCustomElement$k } from './p-
|
|
10
|
+
import { d as defineCustomElement$o } from './p-7f71b3c7.js';
|
|
11
|
+
import { d as defineCustomElement$n } from './p-298aa8be.js';
|
|
12
|
+
import { d as defineCustomElement$m } from './p-e93218b8.js';
|
|
13
|
+
import { d as defineCustomElement$l } from './p-881e5548.js';
|
|
14
|
+
import { d as defineCustomElement$k } from './p-c9ee0428.js';
|
|
15
15
|
import { d as defineCustomElement$j } from './p-e0ef3893.js';
|
|
16
16
|
import { d as defineCustomElement$i } from './p-d029dd2f.js';
|
|
17
17
|
import { d as defineCustomElement$h } from './p-9e1478a0.js';
|
|
@@ -19,16 +19,16 @@ import { d as defineCustomElement$g } from './p-154bed23.js';
|
|
|
19
19
|
import { d as defineCustomElement$f } from './p-06de876f.js';
|
|
20
20
|
import { d as defineCustomElement$e } from './p-a3cc7425.js';
|
|
21
21
|
import { d as defineCustomElement$d } from './p-7384c20c.js';
|
|
22
|
-
import { d as defineCustomElement$c } from './p-
|
|
22
|
+
import { d as defineCustomElement$c } from './p-27029836.js';
|
|
23
23
|
import { d as defineCustomElement$b } from './p-e7b7abfe.js';
|
|
24
24
|
import { d as defineCustomElement$a } from './p-cd6f04ae.js';
|
|
25
25
|
import { d as defineCustomElement$9 } from './p-8a66a347.js';
|
|
26
|
-
import { d as defineCustomElement$8 } from './p-
|
|
27
|
-
import { d as defineCustomElement$7 } from './p-
|
|
28
|
-
import { d as defineCustomElement$6 } from './p-
|
|
26
|
+
import { d as defineCustomElement$8 } from './p-2f68e7bb.js';
|
|
27
|
+
import { d as defineCustomElement$7 } from './p-c3bfa8f1.js';
|
|
28
|
+
import { d as defineCustomElement$6 } from './p-c39c6e12.js';
|
|
29
29
|
import { d as defineCustomElement$5 } from './p-dfdbb665.js';
|
|
30
30
|
import { d as defineCustomElement$4 } from './p-7adb3504.js';
|
|
31
|
-
import { d as defineCustomElement$3 } from './p-
|
|
31
|
+
import { d as defineCustomElement$3 } from './p-15d2291f.js';
|
|
32
32
|
import { d as defineCustomElement$2 } from './p-15156a2c.js';
|
|
33
33
|
|
|
34
34
|
const sm = 640;
|
|
@@ -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-c3bfa8f1.js';
|
|
2
2
|
|
|
3
3
|
const RtkPaginatedList = RtkPaginatedList$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RtkPinnedMessageSelector$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RtkPinnedMessageSelector$1, d as defineCustomElement$1 } from './p-c39c6e12.js';
|
|
2
2
|
|
|
3
3
|
const RtkPinnedMessageSelector = RtkPinnedMessageSelector$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RtkTextMessageView$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { R as RtkTextMessageView$1, d as defineCustomElement$1 } from './p-15d2291f.js';
|
|
2
2
|
|
|
3
3
|
const RtkTextMessageView = RtkTextMessageView$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-01-
|
|
2
|
+
"timestamp": "2026-01-30T08:36:14",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.27.2",
|
|
@@ -142666,6 +142666,28 @@
|
|
|
142666
142666
|
}
|
|
142667
142667
|
]
|
|
142668
142668
|
},
|
|
142669
|
+
{
|
|
142670
|
+
"name": "rerenderList",
|
|
142671
|
+
"returns": {
|
|
142672
|
+
"type": "Promise<void>",
|
|
142673
|
+
"docs": ""
|
|
142674
|
+
},
|
|
142675
|
+
"complexType": {
|
|
142676
|
+
"signature": "() => Promise<void>",
|
|
142677
|
+
"parameters": [],
|
|
142678
|
+
"references": {
|
|
142679
|
+
"Promise": {
|
|
142680
|
+
"location": "global",
|
|
142681
|
+
"id": "global::Promise"
|
|
142682
|
+
}
|
|
142683
|
+
},
|
|
142684
|
+
"return": "Promise<void>"
|
|
142685
|
+
},
|
|
142686
|
+
"signature": "rerenderList() => Promise<void>",
|
|
142687
|
+
"parameters": [],
|
|
142688
|
+
"docs": "Rerender paginated list",
|
|
142689
|
+
"docsTags": []
|
|
142690
|
+
},
|
|
142669
142691
|
{
|
|
142670
142692
|
"name": "reset",
|
|
142671
142693
|
"returns": {
|