@livekit/components-js-docs 0.1.9 → 0.1.10

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.
@@ -15,6 +15,7 @@
15
15
  export type WidgetState = {
16
16
  showChat: boolean;
17
17
  unreadMessages: number;
18
+ showSettings?: boolean;
18
19
  };
19
20
  ```
20
21
 
@@ -47,3 +47,8 @@ _(Optional)_
47
47
  _(Optional)_
48
48
 
49
49
  {% /parameter %}
50
+
51
+ {% parameter name="SettingsComponent" type="React.ComponentType" optional=true %}
52
+ _(Optional)_
53
+
54
+ {% /parameter %}
@@ -18,6 +18,7 @@ export type ControlBarControls = {
18
18
  chat?: boolean;
19
19
  screenShare?: boolean;
20
20
  leave?: boolean;
21
+ settings?: boolean;
21
22
  };
22
23
  ```
23
24
 
@@ -50,7 +50,7 @@
50
50
  | [ControlBar({ variation, controls, saveUserChoices, ...props })](./react/component/controlbar.md) | The <code>ControlBar</code> prefab gives the user the basic user interface to control their media devices (camera, microphone and screen share), open the <code>Chat</code> and leave the room. |
51
51
  | [MediaDeviceMenu({ kind, initialSelection, onActiveDeviceChange, tracks, requestPermissions, ...props })](./react/component/mediadevicemenu.md) | The <code>MediaDeviceMenu</code> component is a button that opens a menu that lists all media devices and allows the user to select them. |
52
52
  | [PreJoin({ defaults, onValidate, onSubmit, onError, debug, joinLabel, micLabel, camLabel, userLabel, persistUserChoices, ...htmlProps })](./react/component/prejoin.md) | The <code>PreJoin</code> prefab component is normally presented to the user before he enters a room. This component allows the user to check and select the preferred media device (camera und microphone). On submit the user decisions are returned, which can then be passed on to the <code>LiveKitRoom</code> so that the user enters the room with the correct media devices. |
53
- | [VideoConference({ chatMessageFormatter, chatMessageDecoder, chatMessageEncoder, ...props })](./react/component/videoconference.md) | The <code>VideoConference</code> ready-made component is your drop-in solution for a classic video conferencing application. It provides functionality such as focusing on one participant, grid view with pagination to handle large numbers of participants, basic non-persistent chat, screen sharing, and more. |
53
+ | [VideoConference({ chatMessageFormatter, chatMessageDecoder, chatMessageEncoder, SettingsComponent, ...props })](./react/component/videoconference.md) | The <code>VideoConference</code> ready-made component is your drop-in solution for a classic video conferencing application. It provides functionality such as focusing on one participant, grid view with pagination to handle large numbers of participants, basic non-persistent chat, screen sharing, and more. |
54
54
 
55
55
  ## Hooks
56
56
 
@@ -14,7 +14,7 @@
14
14
  ```typescript
15
15
  export type LayoutContextType = {
16
16
  pin: PinContextType;
17
- widget: ChatContextType;
17
+ widget: WidgetContextType;
18
18
  };
19
19
  ```
20
20
 
@@ -26,3 +26,4 @@ export interface VideoConferenceProps extends React.HTMLAttributes<HTMLDivElemen
26
26
  | [chatMessageDecoder?](./react/videoconferenceprops.chatmessagedecoder.md) | [MessageDecoder](./react/messagedecoder.md) | _(Optional)_ |
27
27
  | [chatMessageEncoder?](./react/videoconferenceprops.chatmessageencoder.md) | [MessageEncoder](./react/messageencoder.md) | _(Optional)_ |
28
28
  | [chatMessageFormatter?](./react/videoconferenceprops.chatmessageformatter.md) | [MessageFormatter](./react/messageformatter.md) | _(Optional)_ |
29
+ | [SettingsComponent?](./react/videoconferenceprops.settingscomponent.md) | React.ComponentType | _(Optional)_ |
@@ -0,0 +1,15 @@
1
+ ---
2
+ { "title": "VideoConferenceProps.SettingsComponent property" }
3
+ ---
4
+
5
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
6
+
7
+ # VideoConferenceProps.SettingsComponent property
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ SettingsComponent?: React.ComponentType;
13
+ ```
14
+
15
+ {% partial file="p_usage.md" variables={exampleCount: 0} /%}
@@ -15,6 +15,7 @@
15
15
  export type WidgetState = {
16
16
  showChat: boolean;
17
17
  unreadMessages: number;
18
+ showSettings?: boolean;
18
19
  };
19
20
  ```
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Automatically generated documentation pages for LiveKit Components JS. Intended to be consumed by the documentation page.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  "directory": "/docs/beta-docs"
9
9
  },
10
10
  "dependencies": {
11
- "@livekit/components-react": "2.0.0"
11
+ "@livekit/components-react": "2.0.1"
12
12
  },
13
13
  "author": "",
14
14
  "license": "Apache-2.0",