@cloudflare/realtimekit-ui 2.0.3-staging.7 → 2.0.3-staging.9

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 (82) hide show
  1. package/dist/browser.js +1 -1
  2. package/dist/cjs/index.cjs.js +1 -1
  3. package/dist/cjs/{notification-BM6CUHyL.js → notification-Bny5fHfy.js} +3 -3
  4. package/dist/cjs/rtk-avatar_26.cjs.entry.js +10 -9
  5. package/dist/cjs/rtk-breakout-rooms-manager_8.cjs.entry.js +2 -2
  6. package/dist/cjs/rtk-message-list-view.cjs.entry.js +3 -3
  7. package/dist/cjs/rtk-notifications.cjs.entry.js +1 -1
  8. package/dist/cjs/rtk-sidebar-ui.cjs.entry.js +2 -2
  9. package/dist/cjs/rtk-spotlight-grid.cjs.entry.js +2 -2
  10. package/dist/collection/components/rtk-ai/rtk-ai.js +2 -4
  11. package/dist/collection/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.js +4 -6
  12. package/dist/collection/components/rtk-chat-composer-view/rtk-chat-composer-view.js +8 -7
  13. package/dist/collection/components/rtk-livestream-toggle/rtk-livestream-toggle.js +2 -4
  14. package/dist/collection/components/rtk-message-list-view/rtk-message-list-view.js +4 -4
  15. package/dist/collection/components/rtk-paginated-list/rtk-paginated-list.js +4 -4
  16. package/dist/collection/components/rtk-participants-stage-queue/rtk-participants-stage-queue.js +2 -4
  17. package/dist/collection/components/rtk-pip-toggle/rtk-pip-toggle.js +2 -4
  18. package/dist/collection/components/rtk-sidebar-ui/rtk-sidebar-ui.js +4 -6
  19. package/dist/collection/components/rtk-spotlight-grid/rtk-spotlight-grid.js +3 -3
  20. package/dist/collection/lib/notification.js +3 -3
  21. package/dist/components/index.js +1 -1
  22. package/dist/components/p-B56IYWsZ.js +1 -0
  23. package/dist/components/{p-EkUCxpDZ.js → p-BoqfUgTL.js} +1 -1
  24. package/dist/components/{p-DbBGSlfQ.js → p-C-dwT3mh.js} +1 -1
  25. package/dist/components/{p-qDy7F0Tr.js → p-C9UuqXCX.js} +1 -1
  26. package/dist/components/{p-Bmk8auxt.js → p-CAsupO2z.js} +1 -1
  27. package/dist/components/{p-CXq0ujSg.js → p-CNaazJXM.js} +1 -1
  28. package/dist/components/{p-DzDWIdoE.js → p-CtSq3DFC.js} +1 -1
  29. package/dist/components/{p-l-tiOHlG.js → p-Ryaxu6vl.js} +1 -1
  30. package/dist/components/{p-A83Jz8rO.js → p-VHRH6fkb.js} +1 -1
  31. package/dist/components/{p-BsgKgxKu.js → p-XaCbiR3F.js} +1 -1
  32. package/dist/components/rtk-broadcast-message-modal.js +1 -1
  33. package/dist/components/rtk-chat-composer-view.js +1 -1
  34. package/dist/components/rtk-chat-header.js +1 -1
  35. package/dist/components/rtk-chat-messages-ui-paginated.js +1 -1
  36. package/dist/components/rtk-chat-search-results.js +1 -1
  37. package/dist/components/rtk-chat-selector.js +1 -1
  38. package/dist/components/rtk-chat.js +1 -1
  39. package/dist/components/rtk-dialog-manager.js +1 -1
  40. package/dist/components/rtk-meeting.js +1 -1
  41. package/dist/components/rtk-message-list-view.js +1 -1
  42. package/dist/components/rtk-notifications.js +1 -1
  43. package/dist/components/rtk-paginated-list.js +1 -1
  44. package/dist/components/rtk-participants.js +1 -1
  45. package/dist/components/rtk-pinned-message-selector.js +1 -1
  46. package/dist/components/rtk-sidebar-ui.js +1 -1
  47. package/dist/components/rtk-sidebar.js +1 -1
  48. package/dist/components/rtk-spotlight-grid.js +1 -1
  49. package/dist/docs/docs-components.json +11 -11
  50. package/dist/docs/docs-vscode.json +8 -8
  51. package/dist/esm/index.js +1 -1
  52. package/dist/esm/loader.js +22 -21
  53. package/dist/esm/{notification-DcR6dHfn.js → notification-DZgheLdK.js} +3 -3
  54. package/dist/esm/rtk-avatar_26.entry.js +10 -9
  55. package/dist/esm/rtk-breakout-rooms-manager_8.entry.js +2 -2
  56. package/dist/esm/rtk-message-list-view.entry.js +3 -3
  57. package/dist/esm/rtk-notifications.entry.js +1 -1
  58. package/dist/esm/rtk-sidebar-ui.entry.js +2 -2
  59. package/dist/esm/rtk-spotlight-grid.entry.js +2 -2
  60. package/dist/realtimekit-ui/index.esm.js +1 -1
  61. package/dist/realtimekit-ui/{p-64bc4514.entry.js → p-20734a3a.entry.js} +1 -1
  62. package/dist/realtimekit-ui/{p-7f45a1cd.entry.js → p-21f69c50.entry.js} +1 -1
  63. package/dist/realtimekit-ui/{p-31c97dcd.entry.js → p-8cdd8307.entry.js} +1 -1
  64. package/dist/realtimekit-ui/p-B56IYWsZ.js +1 -0
  65. package/dist/realtimekit-ui/{p-cf7f7d9c.entry.js → p-aea61c98.entry.js} +1 -1
  66. package/dist/realtimekit-ui/{p-2da96ec3.entry.js → p-b27db286.entry.js} +1 -1
  67. package/dist/realtimekit-ui/{p-2308568a.entry.js → p-ce81ffaa.entry.js} +1 -1
  68. package/dist/realtimekit-ui/realtimekit-ui.esm.js +1 -1
  69. package/dist/types/components/rtk-ai/rtk-ai.d.ts +2 -4
  70. package/dist/types/components/rtk-broadcast-message-modal/rtk-broadcast-message-modal.d.ts +2 -4
  71. package/dist/types/components/rtk-chat-composer-view/rtk-chat-composer-view.d.ts +1 -0
  72. package/dist/types/components/rtk-livestream-toggle/rtk-livestream-toggle.d.ts +2 -4
  73. package/dist/types/components/rtk-message-list-view/rtk-message-list-view.d.ts +1 -1
  74. package/dist/types/components/rtk-paginated-list/rtk-paginated-list.d.ts +1 -1
  75. package/dist/types/components/rtk-participants-stage-queue/rtk-participants-stage-queue.d.ts +2 -4
  76. package/dist/types/components/rtk-pip-toggle/rtk-pip-toggle.d.ts +2 -4
  77. package/dist/types/components/rtk-sidebar-ui/rtk-sidebar-ui.d.ts +2 -4
  78. package/dist/types/components/rtk-spotlight-grid/rtk-spotlight-grid.d.ts +1 -1
  79. package/dist/types/components.d.ts +57 -79
  80. package/package.json +1 -1
  81. package/dist/components/p-BCuMxcZN.js +0 -1
  82. package/dist/realtimekit-ui/p-BCuMxcZN.js +0 -1
@@ -2,10 +2,8 @@ import { UIConfig, Size, IconPack, RtkI18n } from '../../exports';
2
2
  import { Meeting, Peer } from '../../types/rtk-client';
3
3
  import { ParticipantsViewMode } from '../rtk-participants/rtk-participants';
4
4
  /**
5
- * A component that displays participants waiting in the stage queue.
6
- *
7
- * Shows users who are waiting to be promoted to the stage in meetings
8
- * with stage functionality enabled.
5
+ * Displays participants who have requested access to the stage. The list includes
6
+ * controls for accepting or denying their requests.
9
7
  */
10
8
  export declare class RtkParticipantsStaged {
11
9
  /** Meeting object */
@@ -4,10 +4,8 @@ import { RtkI18n } from '../../lib/lang';
4
4
  import { Meeting } from '../../types/rtk-client';
5
5
  import { ControlBarVariant } from '../rtk-controlbar-button/rtk-controlbar-button';
6
6
  /**
7
- * A toggle button for enabling/disabling Picture-in-Picture mode.
8
- *
9
- * Allows users to switch the video display to a floating window that stays
10
- * on top of other applications.
7
+ * A button to turn Picture-in-Picture mode on or off when available. For example,
8
+ * a participant can keep the meeting video visible while using another app.
11
9
  */
12
10
  export declare class RtkPipToggle {
13
11
  /** Variant */
@@ -6,10 +6,8 @@ export interface RtkSidebarTab {
6
6
  }
7
7
  export type RtkSidebarView = 'sidebar' | 'full-screen';
8
8
  /**
9
- * A sidebar UI component with tabbed navigation.
10
- *
11
- * Provides a container for sidebar content with tab switching functionality.
12
- * Can be displayed as a sidebar or in full-screen mode.
9
+ * A tabbed container for meeting panels, such as chat and participants. It shows
10
+ * the selected panel in a sidebar or full-screen view.
13
11
  */
14
12
  export declare class RtkSidebarUi {
15
13
  /** View */
@@ -7,7 +7,7 @@ import { GridLayout, GridSize } from '../rtk-grid/rtk-grid';
7
7
  /**
8
8
  * A grid component that renders two lists of participants: `pinnedParticipants` and `participants`.
9
9
  *
10
- * You can customize the layout to a `column` view, by default is is `row`.
10
+ * You can customize the layout to a `column` view, by default is `row`.
11
11
  *
12
12
  * - Participants from `pinnedParticipants[]` are rendered inside a larger grid.
13
13
  * - Participants from `participants[]` array are rendered in a smaller grid.
@@ -87,9 +87,8 @@ export { ViewerCountVariant } from "./components/rtk-viewer-count/rtk-viewer-cou
87
87
  export { Peer as Peer1 } from ".";
88
88
  export namespace Components {
89
89
  /**
90
- * An AI assistant component for meeting interactions.
91
- * Provides AI-powered features like transcription, summarization, and
92
- * intelligent meeting assistance. Rendered inside rtk-sidebar as the 'ai' section.
90
+ * The AI panel shows meeting transcriptions. For example, participants can
91
+ * read the conversation in the sidebar during a meeting.
93
92
  */
94
93
  interface RtkAi {
95
94
  /**
@@ -437,9 +436,8 @@ export namespace Components {
437
436
  "variant": ControlBarVariant;
438
437
  }
439
438
  /**
440
- * A modal for sending broadcast messages to all meeting participants.
441
- * Allows hosts and moderators to send important announcements that
442
- * appear prominently to all users in the meeting.
439
+ * A modal for writing a broadcast message, such as an announcement to everyone
440
+ * in a meeting. It currently shows a confirmation without sending the message.
443
441
  */
444
442
  interface RtkBroadcastMessageModal {
445
443
  /**
@@ -709,6 +707,7 @@ export namespace Components {
709
707
  */
710
708
  "isEditing": boolean;
711
709
  /**
710
+ * Whether a message is being sent
712
711
  * @default false
713
712
  */
714
713
  "isSending": boolean;
@@ -2021,9 +2020,8 @@ export namespace Components {
2021
2020
  "t": RtkI18n1;
2022
2021
  }
2023
2022
  /**
2024
- * A toggle button for starting/stopping livestream broadcasting.
2025
- * Only visible to users with livestream permissions. Allows hosts to
2026
- * broadcast the meeting to external streaming platforms.
2023
+ * A button for starting or stopping a meeting livestream. It appears only for
2024
+ * participants who have permission to host the livestream.
2027
2025
  */
2028
2026
  interface RtkLivestreamToggle {
2029
2027
  /**
@@ -2256,7 +2254,7 @@ export namespace Components {
2256
2254
  */
2257
2255
  "iconPack": IconPack1;
2258
2256
  /**
2259
- * Function to load more messages. Messages returned from this will be preprended
2257
+ * Function to load more messages. Messages returned from this will be prepended
2260
2258
  */
2261
2259
  "loadMore": (lastMessage: Message) => Promise<Message[]>;
2262
2260
  /**
@@ -2730,7 +2728,7 @@ export namespace Components {
2730
2728
  */
2731
2729
  "onNodeDelete": (id: string) => Promise<void>;
2732
2730
  /**
2733
- * Updates a new node anywhere in the list
2731
+ * Updates an existing node in the paginated list.
2734
2732
  * @param id - The id of the node to update
2735
2733
  * @param node - The updated data node
2736
2734
  */
@@ -3036,9 +3034,8 @@ export namespace Components {
3036
3034
  "view": ParticipantsViewMode;
3037
3035
  }
3038
3036
  /**
3039
- * A component that displays participants waiting in the stage queue.
3040
- * Shows users who are waiting to be promoted to the stage in meetings
3041
- * with stage functionality enabled.
3037
+ * Displays participants who have requested access to the stage. The list includes
3038
+ * controls for accepting or denying their requests.
3042
3039
  */
3043
3040
  interface RtkParticipantsStageQueue {
3044
3041
  /**
@@ -3218,9 +3215,8 @@ export namespace Components {
3218
3215
  "t": RtkI18n;
3219
3216
  }
3220
3217
  /**
3221
- * A toggle button for enabling/disabling Picture-in-Picture mode.
3222
- * Allows users to switch the video display to a floating window that stays
3223
- * on top of other applications.
3218
+ * A button to turn Picture-in-Picture mode on or off when available. For example,
3219
+ * a participant can keep the meeting video visible while using another app.
3224
3220
  */
3225
3221
  interface RtkPipToggle {
3226
3222
  /**
@@ -3810,9 +3806,8 @@ export namespace Components {
3810
3806
  "view": RtkSidebarView;
3811
3807
  }
3812
3808
  /**
3813
- * A sidebar UI component with tabbed navigation.
3814
- * Provides a container for sidebar content with tab switching functionality.
3815
- * Can be displayed as a sidebar or in full-screen mode.
3809
+ * A tabbed container for meeting panels, such as chat and participants. It shows
3810
+ * the selected panel in a sidebar or full-screen view.
3816
3811
  */
3817
3812
  interface RtkSidebarUi {
3818
3813
  /**
@@ -3959,7 +3954,7 @@ export namespace Components {
3959
3954
  }
3960
3955
  /**
3961
3956
  * A grid component that renders two lists of participants: `pinnedParticipants` and `participants`.
3962
- * You can customize the layout to a `column` view, by default is is `row`.
3957
+ * You can customize the layout to a `column` view, by default is `row`.
3963
3958
  * - Participants from `pinnedParticipants[]` are rendered inside a larger grid.
3964
3959
  * - Participants from `participants[]` array are rendered in a smaller grid.
3965
3960
  */
@@ -4755,9 +4750,8 @@ export interface RtkUiProviderCustomEvent<T> extends CustomEvent<T> {
4755
4750
  }
4756
4751
  declare global {
4757
4752
  /**
4758
- * An AI assistant component for meeting interactions.
4759
- * Provides AI-powered features like transcription, summarization, and
4760
- * intelligent meeting assistance. Rendered inside rtk-sidebar as the 'ai' section.
4753
+ * The AI panel shows meeting transcriptions. For example, participants can
4754
+ * read the conversation in the sidebar during a meeting.
4761
4755
  */
4762
4756
  interface HTMLRtkAiElement extends Components.RtkAi, HTMLStencilElement {
4763
4757
  }
@@ -4910,9 +4904,8 @@ declare global {
4910
4904
  "rtkStateUpdate": States1;
4911
4905
  }
4912
4906
  /**
4913
- * A modal for sending broadcast messages to all meeting participants.
4914
- * Allows hosts and moderators to send important announcements that
4915
- * appear prominently to all users in the meeting.
4907
+ * A modal for writing a broadcast message, such as an announcement to everyone
4908
+ * in a meeting. It currently shows a confirmation without sending the message.
4916
4909
  */
4917
4910
  interface HTMLRtkBroadcastMessageModalElement extends Components.RtkBroadcastMessageModal, HTMLStencilElement {
4918
4911
  addEventListener<K extends keyof HTMLRtkBroadcastMessageModalElementEventMap>(type: K, listener: (this: HTMLRtkBroadcastMessageModalElement, ev: RtkBroadcastMessageModalCustomEvent<HTMLRtkBroadcastMessageModalElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -5725,9 +5718,8 @@ declare global {
5725
5718
  };
5726
5719
  }
5727
5720
  /**
5728
- * A toggle button for starting/stopping livestream broadcasting.
5729
- * Only visible to users with livestream permissions. Allows hosts to
5730
- * broadcast the meeting to external streaming platforms.
5721
+ * A button for starting or stopping a meeting livestream. It appears only for
5722
+ * participants who have permission to host the livestream.
5731
5723
  */
5732
5724
  interface HTMLRtkLivestreamToggleElement extends Components.RtkLivestreamToggle, HTMLStencilElement {
5733
5725
  addEventListener<K extends keyof HTMLRtkLivestreamToggleElementEventMap>(type: K, listener: (this: HTMLRtkLivestreamToggleElement, ev: RtkLivestreamToggleCustomEvent<HTMLRtkLivestreamToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6135,9 +6127,8 @@ declare global {
6135
6127
  new (): HTMLRtkParticipantsStageListElement;
6136
6128
  };
6137
6129
  /**
6138
- * A component that displays participants waiting in the stage queue.
6139
- * Shows users who are waiting to be promoted to the stage in meetings
6140
- * with stage functionality enabled.
6130
+ * Displays participants who have requested access to the stage. The list includes
6131
+ * controls for accepting or denying their requests.
6141
6132
  */
6142
6133
  interface HTMLRtkParticipantsStageQueueElement extends Components.RtkParticipantsStageQueue, HTMLStencilElement {
6143
6134
  }
@@ -6224,9 +6215,8 @@ declare global {
6224
6215
  "rtkStateUpdate": States1;
6225
6216
  }
6226
6217
  /**
6227
- * A toggle button for enabling/disabling Picture-in-Picture mode.
6228
- * Allows users to switch the video display to a floating window that stays
6229
- * on top of other applications.
6218
+ * A button to turn Picture-in-Picture mode on or off when available. For example,
6219
+ * a participant can keep the meeting video visible while using another app.
6230
6220
  */
6231
6221
  interface HTMLRtkPipToggleElement extends Components.RtkPipToggle, HTMLStencilElement {
6232
6222
  addEventListener<K extends keyof HTMLRtkPipToggleElementEventMap>(type: K, listener: (this: HTMLRtkPipToggleElement, ev: RtkPipToggleCustomEvent<HTMLRtkPipToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6613,9 +6603,8 @@ declare global {
6613
6603
  "sidebarClose": void;
6614
6604
  }
6615
6605
  /**
6616
- * A sidebar UI component with tabbed navigation.
6617
- * Provides a container for sidebar content with tab switching functionality.
6618
- * Can be displayed as a sidebar or in full-screen mode.
6606
+ * A tabbed container for meeting panels, such as chat and participants. It shows
6607
+ * the selected panel in a sidebar or full-screen view.
6619
6608
  */
6620
6609
  interface HTMLRtkSidebarUiElement extends Components.RtkSidebarUi, HTMLStencilElement {
6621
6610
  addEventListener<K extends keyof HTMLRtkSidebarUiElementEventMap>(type: K, listener: (this: HTMLRtkSidebarUiElement, ev: RtkSidebarUiCustomEvent<HTMLRtkSidebarUiElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6668,7 +6657,7 @@ declare global {
6668
6657
  };
6669
6658
  /**
6670
6659
  * A grid component that renders two lists of participants: `pinnedParticipants` and `participants`.
6671
- * You can customize the layout to a `column` view, by default is is `row`.
6660
+ * You can customize the layout to a `column` view, by default is `row`.
6672
6661
  * - Participants from `pinnedParticipants[]` are rendered inside a larger grid.
6673
6662
  * - Participants from `participants[]` array are rendered in a smaller grid.
6674
6663
  */
@@ -7035,9 +7024,8 @@ declare namespace LocalJSX {
7035
7024
  type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
7036
7025
 
7037
7026
  /**
7038
- * An AI assistant component for meeting interactions.
7039
- * Provides AI-powered features like transcription, summarization, and
7040
- * intelligent meeting assistance. Rendered inside rtk-sidebar as the 'ai' section.
7027
+ * The AI panel shows meeting transcriptions. For example, participants can
7028
+ * read the conversation in the sidebar during a meeting.
7041
7029
  */
7042
7030
  interface RtkAi {
7043
7031
  /**
@@ -7434,9 +7422,8 @@ declare namespace LocalJSX {
7434
7422
  "variant"?: ControlBarVariant;
7435
7423
  }
7436
7424
  /**
7437
- * A modal for sending broadcast messages to all meeting participants.
7438
- * Allows hosts and moderators to send important announcements that
7439
- * appear prominently to all users in the meeting.
7425
+ * A modal for writing a broadcast message, such as an announcement to everyone
7426
+ * in a meeting. It currently shows a confirmation without sending the message.
7440
7427
  */
7441
7428
  interface RtkBroadcastMessageModal {
7442
7429
  /**
@@ -7737,6 +7724,7 @@ declare namespace LocalJSX {
7737
7724
  */
7738
7725
  "isEditing"?: boolean;
7739
7726
  /**
7727
+ * Whether a message is being sent
7740
7728
  * @default false
7741
7729
  */
7742
7730
  "isSending"?: boolean;
@@ -9212,9 +9200,8 @@ declare namespace LocalJSX {
9212
9200
  "t"?: RtkI18n1;
9213
9201
  }
9214
9202
  /**
9215
- * A toggle button for starting/stopping livestream broadcasting.
9216
- * Only visible to users with livestream permissions. Allows hosts to
9217
- * broadcast the meeting to external streaming platforms.
9203
+ * A button for starting or stopping a meeting livestream. It appears only for
9204
+ * participants who have permission to host the livestream.
9218
9205
  */
9219
9206
  interface RtkLivestreamToggle {
9220
9207
  /**
@@ -9462,7 +9449,7 @@ declare namespace LocalJSX {
9462
9449
  */
9463
9450
  "iconPack"?: IconPack1;
9464
9451
  /**
9465
- * Function to load more messages. Messages returned from this will be preprended
9452
+ * Function to load more messages. Messages returned from this will be prepended
9466
9453
  */
9467
9454
  "loadMore"?: (lastMessage: Message) => Promise<Message[]>;
9468
9455
  /**
@@ -10269,9 +10256,8 @@ declare namespace LocalJSX {
10269
10256
  "view"?: ParticipantsViewMode;
10270
10257
  }
10271
10258
  /**
10272
- * A component that displays participants waiting in the stage queue.
10273
- * Shows users who are waiting to be promoted to the stage in meetings
10274
- * with stage functionality enabled.
10259
+ * Displays participants who have requested access to the stage. The list includes
10260
+ * controls for accepting or denying their requests.
10275
10261
  */
10276
10262
  interface RtkParticipantsStageQueue {
10277
10263
  /**
@@ -10463,9 +10449,8 @@ declare namespace LocalJSX {
10463
10449
  "t"?: RtkI18n;
10464
10450
  }
10465
10451
  /**
10466
- * A toggle button for enabling/disabling Picture-in-Picture mode.
10467
- * Allows users to switch the video display to a floating window that stays
10468
- * on top of other applications.
10452
+ * A button to turn Picture-in-Picture mode on or off when available. For example,
10453
+ * a participant can keep the meeting video visible while using another app.
10469
10454
  */
10470
10455
  interface RtkPipToggle {
10471
10456
  /**
@@ -11135,9 +11120,8 @@ declare namespace LocalJSX {
11135
11120
  "view"?: RtkSidebarView;
11136
11121
  }
11137
11122
  /**
11138
- * A sidebar UI component with tabbed navigation.
11139
- * Provides a container for sidebar content with tab switching functionality.
11140
- * Can be displayed as a sidebar or in full-screen mode.
11123
+ * A tabbed container for meeting panels, such as chat and participants. It shows
11124
+ * the selected panel in a sidebar or full-screen view.
11141
11125
  */
11142
11126
  interface RtkSidebarUi {
11143
11127
  /**
@@ -11292,7 +11276,7 @@ declare namespace LocalJSX {
11292
11276
  }
11293
11277
  /**
11294
11278
  * A grid component that renders two lists of participants: `pinnedParticipants` and `participants`.
11295
- * You can customize the layout to a `column` view, by default is is `row`.
11279
+ * You can customize the layout to a `column` view, by default is `row`.
11296
11280
  * - Participants from `pinnedParticipants[]` are rendered inside a larger grid.
11297
11281
  * - Participants from `participants[]` array are rendered in a smaller grid.
11298
11282
  */
@@ -12485,9 +12469,8 @@ declare module "@stencil/core" {
12485
12469
  export namespace JSX {
12486
12470
  interface IntrinsicElements {
12487
12471
  /**
12488
- * An AI assistant component for meeting interactions.
12489
- * Provides AI-powered features like transcription, summarization, and
12490
- * intelligent meeting assistance. Rendered inside rtk-sidebar as the 'ai' section.
12472
+ * The AI panel shows meeting transcriptions. For example, participants can
12473
+ * read the conversation in the sidebar during a meeting.
12491
12474
  */
12492
12475
  "rtk-ai": LocalJSX.IntrinsicElements["rtk-ai"] & JSXBase.HTMLAttributes<HTMLRtkAiElement>;
12493
12476
  "rtk-ai-toggle": LocalJSX.IntrinsicElements["rtk-ai-toggle"] & JSXBase.HTMLAttributes<HTMLRtkAiToggleElement>;
@@ -12516,9 +12499,8 @@ declare module "@stencil/core" {
12516
12499
  */
12517
12500
  "rtk-breakout-rooms-toggle": LocalJSX.IntrinsicElements["rtk-breakout-rooms-toggle"] & JSXBase.HTMLAttributes<HTMLRtkBreakoutRoomsToggleElement>;
12518
12501
  /**
12519
- * A modal for sending broadcast messages to all meeting participants.
12520
- * Allows hosts and moderators to send important announcements that
12521
- * appear prominently to all users in the meeting.
12502
+ * A modal for writing a broadcast message, such as an announcement to everyone
12503
+ * in a meeting. It currently shows a confirmation without sending the message.
12522
12504
  */
12523
12505
  "rtk-broadcast-message-modal": LocalJSX.IntrinsicElements["rtk-broadcast-message-modal"] & JSXBase.HTMLAttributes<HTMLRtkBroadcastMessageModalElement>;
12524
12506
  /**
@@ -12700,9 +12682,8 @@ declare module "@stencil/core" {
12700
12682
  "rtk-livestream-indicator": LocalJSX.IntrinsicElements["rtk-livestream-indicator"] & JSXBase.HTMLAttributes<HTMLRtkLivestreamIndicatorElement>;
12701
12683
  "rtk-livestream-player": LocalJSX.IntrinsicElements["rtk-livestream-player"] & JSXBase.HTMLAttributes<HTMLRtkLivestreamPlayerElement>;
12702
12684
  /**
12703
- * A toggle button for starting/stopping livestream broadcasting.
12704
- * Only visible to users with livestream permissions. Allows hosts to
12705
- * broadcast the meeting to external streaming platforms.
12685
+ * A button for starting or stopping a meeting livestream. It appears only for
12686
+ * participants who have permission to host the livestream.
12706
12687
  */
12707
12688
  "rtk-livestream-toggle": LocalJSX.IntrinsicElements["rtk-livestream-toggle"] & JSXBase.HTMLAttributes<HTMLRtkLivestreamToggleElement>;
12708
12689
  /**
@@ -12821,9 +12802,8 @@ declare module "@stencil/core" {
12821
12802
  */
12822
12803
  "rtk-participants-stage-list": LocalJSX.IntrinsicElements["rtk-participants-stage-list"] & JSXBase.HTMLAttributes<HTMLRtkParticipantsStageListElement>;
12823
12804
  /**
12824
- * A component that displays participants waiting in the stage queue.
12825
- * Shows users who are waiting to be promoted to the stage in meetings
12826
- * with stage functionality enabled.
12805
+ * Displays participants who have requested access to the stage. The list includes
12806
+ * controls for accepting or denying their requests.
12827
12807
  */
12828
12808
  "rtk-participants-stage-queue": LocalJSX.IntrinsicElements["rtk-participants-stage-queue"] & JSXBase.HTMLAttributes<HTMLRtkParticipantsStageQueueElement>;
12829
12809
  /**
@@ -12843,9 +12823,8 @@ declare module "@stencil/core" {
12843
12823
  "rtk-permissions-message": LocalJSX.IntrinsicElements["rtk-permissions-message"] & JSXBase.HTMLAttributes<HTMLRtkPermissionsMessageElement>;
12844
12824
  "rtk-pinned-message-selector": LocalJSX.IntrinsicElements["rtk-pinned-message-selector"] & JSXBase.HTMLAttributes<HTMLRtkPinnedMessageSelectorElement>;
12845
12825
  /**
12846
- * A toggle button for enabling/disabling Picture-in-Picture mode.
12847
- * Allows users to switch the video display to a floating window that stays
12848
- * on top of other applications.
12826
+ * A button to turn Picture-in-Picture mode on or off when available. For example,
12827
+ * a participant can keep the meeting video visible while using another app.
12849
12828
  */
12850
12829
  "rtk-pip-toggle": LocalJSX.IntrinsicElements["rtk-pip-toggle"] & JSXBase.HTMLAttributes<HTMLRtkPipToggleElement>;
12851
12830
  /**
@@ -12962,9 +12941,8 @@ declare module "@stencil/core" {
12962
12941
  */
12963
12942
  "rtk-sidebar": LocalJSX.IntrinsicElements["rtk-sidebar"] & JSXBase.HTMLAttributes<HTMLRtkSidebarElement>;
12964
12943
  /**
12965
- * A sidebar UI component with tabbed navigation.
12966
- * Provides a container for sidebar content with tab switching functionality.
12967
- * Can be displayed as a sidebar or in full-screen mode.
12944
+ * A tabbed container for meeting panels, such as chat and participants. It shows
12945
+ * the selected panel in a sidebar or full-screen view.
12968
12946
  */
12969
12947
  "rtk-sidebar-ui": LocalJSX.IntrinsicElements["rtk-sidebar-ui"] & JSXBase.HTMLAttributes<HTMLRtkSidebarUiElement>;
12970
12948
  /**
@@ -12989,7 +12967,7 @@ declare module "@stencil/core" {
12989
12967
  "rtk-spinner": LocalJSX.IntrinsicElements["rtk-spinner"] & JSXBase.HTMLAttributes<HTMLRtkSpinnerElement>;
12990
12968
  /**
12991
12969
  * A grid component that renders two lists of participants: `pinnedParticipants` and `participants`.
12992
- * You can customize the layout to a `column` view, by default is is `row`.
12970
+ * You can customize the layout to a `column` view, by default is `row`.
12993
12971
  * - Participants from `pinnedParticipants[]` are rendered inside a larger grid.
12994
12972
  * - Participants from `participants[]` array are rendered in a smaller grid.
12995
12973
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-ui",
3
- "version": "2.0.3-staging.7",
3
+ "version": "2.0.3-staging.9",
4
4
  "description": "Pre-built, ready-to-use UI components and utilities for integrating with Cloudflare RealtimeKit",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{i as t}from"./p-CAqYddlg.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}
@@ -1 +0,0 @@
1
- import{i as t}from"./p-CAqYddlg.js";const i={joined:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",left:"https://rtk-uploads.realtime.cloudflare.com/notification_join.mp3",message:"https://rtk-uploads.realtime.cloudflare.com/notification_message.mp3"};class o{constructor(t){this.meeting=t,this.audio=document.createElement("audio"),this.audio.volume=.3}play(t,o=3e3){var s;this.playing||(this.playing=!0,this.audio.src=i[t],this.audio.volume=.3,null===(s=this.audio.play())||void 0===s||s.catch((()=>{})),setTimeout((()=>{this.playing=!1}),o))}async setDevice(i){var o,s,a;t(this.meeting)||await(null===(a=null===(s=null===(o=this.audio)||void 0===o?void 0:o.setSinkId)||void 0===s?void 0:s.call(o,i))||void 0===a?void 0:a.catch((()=>{})))}}export{o as R}