@livekit/components-js-docs 0.1.17 → 0.1.19

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 (29) hide show
  1. package/generated-docs/react/audiotrack.md +30 -0
  2. package/generated-docs/react/{component/audiovisualizer.md → audiovisualizer.md} +6 -11
  3. package/generated-docs/react/chatentry.md +28 -0
  4. package/generated-docs/react/{component/chattoggle.md → chattoggle.md} +6 -4
  5. package/generated-docs/react/{component/clearpinbutton.md → clearpinbutton.md} +6 -4
  6. package/generated-docs/react/{component/connectionqualityindicator.md → connectionqualityindicator.md} +6 -4
  7. package/generated-docs/react/{component/connectionstate.md → connectionstate.md} +6 -11
  8. package/generated-docs/react/{component/disconnectbutton.md → disconnectbutton.md} +6 -11
  9. package/generated-docs/react/{component/focustoggle.md → focustoggle.md} +6 -11
  10. package/generated-docs/react/hook/useclearpinbutton.md +1 -1
  11. package/generated-docs/react/index.md +98 -98
  12. package/generated-docs/react/livekitroom.md +32 -0
  13. package/generated-docs/react/mediadeviceselect.md +30 -0
  14. package/generated-docs/react/meta-data.json +1 -1
  15. package/generated-docs/react/{component/participantaudiotile.md → participantaudiotile.md} +6 -21
  16. package/generated-docs/react/{component/participantname.md → participantname.md} +6 -4
  17. package/generated-docs/react/{component/participanttile.md → participanttile.md} +6 -21
  18. package/generated-docs/react/{component/roomname.md → roomname.md} +4 -11
  19. package/generated-docs/react/{component/startaudio.md → startaudio.md} +6 -9
  20. package/generated-docs/react/{component/trackmutedindicator.md → trackmutedindicator.md} +6 -14
  21. package/generated-docs/react/tracktoggle.md +31 -0
  22. package/generated-docs/react/videotrack.md +28 -0
  23. package/package.json +2 -2
  24. package/generated-docs/react/component/audiotrack.md +0 -50
  25. package/generated-docs/react/component/chatentry.md +0 -50
  26. package/generated-docs/react/component/livekitroom.md +0 -105
  27. package/generated-docs/react/component/mediadeviceselect.md +0 -73
  28. package/generated-docs/react/component/tracktoggle.md +0 -54
  29. package/generated-docs/react/component/videotrack.md +0 -48
@@ -0,0 +1,30 @@
1
+ ---
2
+ {
3
+ "title": "AudioTrack variable",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/participant/AudioTrack.tsx"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # AudioTrack variable
11
+
12
+ The AudioTrack component is responsible for rendering participant audio tracks. This component must have access to the participant's context, or alternatively pass it a `Participant` as a property.
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ AudioTrack: React.ForwardRefExoticComponent<
18
+ AudioTrackProps & React.RefAttributes<HTMLAudioElement>
19
+ >;
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ```tsx
25
+ <ParticipantTile>
26
+ <AudioTrack trackRef={trackRef} />
27
+ </ParticipantTile>
28
+ ```
29
+
30
+ {% partial file="p_usage.md" variables={exampleCount: 1} /%}
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "AudioVisualizer",
3
+ "title": "AudioVisualizer variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/participant/AudioVisualizer.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # AudioVisualizer
10
+ # AudioVisualizer variable
11
11
 
12
12
  The AudioVisualizer component is used to visualize the audio volume of a given audio track.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { AudioVisualizer } from "@livekit/components-react";
17
+ AudioVisualizer: React.ForwardRefExoticComponent<
18
+ AudioVisualizerProps & React.RefAttributes<SVGSVGElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Remarks
@@ -28,10 +30,3 @@ Requires a `TrackReferenceOrPlaceholder` to be provided either as a property or
28
30
  ```
29
31
 
30
32
  {% partial file="p_usage.md" variables={exampleCount: 1} /%}
31
-
32
- ## Properties
33
-
34
- {% parameter name="trackRef" type="TrackReference" optional=true %}
35
- _(Optional)_
36
-
37
- {% /parameter %}
@@ -0,0 +1,28 @@
1
+ ---
2
+ {
3
+ "title": "ChatEntry variable",
4
+ "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/ChatEntry.tsx"
5
+ }
6
+ ---
7
+
8
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
+
10
+ # ChatEntry variable
11
+
12
+ The `ChatEntry` component holds and displays one chat message.
13
+
14
+ **Signature:**
15
+
16
+ ```typescript
17
+ ChatEntry: React.ForwardRefExoticComponent<ChatEntryProps & React.RefAttributes<HTMLLIElement>>;
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ ```tsx
23
+ <Chat>
24
+ <ChatEntry />
25
+ </Chat>
26
+ ```
27
+
28
+ {% partial file="p_usage.md" variables={exampleCount: 1} /%}
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "ChatToggle",
3
+ "title": "ChatToggle variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/controls/ChatToggle.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # ChatToggle
10
+ # ChatToggle variable
11
11
 
12
12
  The `ChatToggle` component is a button that toggles the visibility of the `Chat` component.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { ChatToggle } from "@livekit/components-react";
17
+ ChatToggle: React.ForwardRefExoticComponent<
18
+ ChatToggleProps & React.RefAttributes<HTMLButtonElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Remarks
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "ClearPinButton",
3
+ "title": "ClearPinButton variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/controls/ClearPinButton.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # ClearPinButton
10
+ # ClearPinButton variable
11
11
 
12
12
  The `ClearPinButton` is a basic html button with the added ability to signal the `LayoutContext` that it should display the grid view again.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { ClearPinButton } from "@livekit/components-react";
17
+ ClearPinButton: React.ForwardRefExoticComponent<
18
+ ClearPinButtonProps & React.RefAttributes<HTMLButtonElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Remarks
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "ConnectionQualityIndicator",
3
+ "title": "ConnectionQualityIndicator variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/participant/ConnectionQualityIndicator.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # ConnectionQualityIndicator
10
+ # ConnectionQualityIndicator variable
11
11
 
12
12
  The `ConnectionQualityIndicator` shows the individual connection quality of a participant.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { ConnectionQualityIndicator } from "@livekit/components-react";
17
+ ConnectionQualityIndicator: React.ForwardRefExoticComponent<
18
+ ConnectionQualityIndicatorProps & React.RefAttributes<HTMLDivElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Usage
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "ConnectionState",
3
+ "title": "ConnectionState variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/ConnectionState.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # ConnectionState
10
+ # ConnectionState variable
11
11
 
12
12
  The `ConnectionState` component displays the connection status of the room as strings (`"connected" | "connecting" | "disconnected" | "reconnecting"`<!-- -->).
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { ConnectionState } from "@livekit/components-react";
17
+ ConnectionState: React.ForwardRefExoticComponent<
18
+ ConnectionStatusProps & React.RefAttributes<HTMLDivElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Usage
@@ -26,10 +28,3 @@ import { ConnectionState } from "@livekit/components-react";
26
28
  ```
27
29
 
28
30
  {% partial file="p_usage.md" variables={exampleCount: 1} /%}
29
-
30
- ## Properties
31
-
32
- {% parameter name="room" type="Room" optional=true %}
33
- _(Optional)_ The room from which the connection status should be displayed.
34
-
35
- {% /parameter %}
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "DisconnectButton",
3
+ "title": "DisconnectButton variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/controls/DisconnectButton.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # DisconnectButton
10
+ # DisconnectButton variable
11
11
 
12
12
  The `DisconnectButton` is a basic html button with the added ability to disconnect from a LiveKit room. Normally this is the big red button that allows end users to leave the video or audio call.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { DisconnectButton } from "@livekit/components-react";
17
+ DisconnectButton: React.ForwardRefExoticComponent<
18
+ DisconnectButtonProps & React.RefAttributes<HTMLButtonElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Usage
@@ -26,10 +28,3 @@ import { DisconnectButton } from "@livekit/components-react";
26
28
  ```
27
29
 
28
30
  {% partial file="p_usage.md" variables={exampleCount: 1} /%}
29
-
30
- ## Properties
31
-
32
- {% parameter name="stopTracks" type="boolean" optional=true %}
33
- _(Optional)_
34
-
35
- {% /parameter %}
@@ -1,20 +1,22 @@
1
1
  ---
2
2
  {
3
- "title": "FocusToggle",
3
+ "title": "FocusToggle variable",
4
4
  "linkToSource": "https://github.com/livekit/components-js/blob/main/packages/react/src/components/controls/FocusToggle.tsx"
5
5
  }
6
6
  ---
7
7
 
8
8
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
9
9
 
10
- # FocusToggle
10
+ # FocusToggle variable
11
11
 
12
12
  The `FocusToggle` puts the `ParticipantTile` in focus or removes it from focus.
13
13
 
14
- ## Import
14
+ **Signature:**
15
15
 
16
16
  ```typescript
17
- import { FocusToggle } from "@livekit/components-react";
17
+ FocusToggle: React.ForwardRefExoticComponent<
18
+ FocusToggleProps & React.RefAttributes<HTMLButtonElement>
19
+ >;
18
20
  ```
19
21
 
20
22
  ## Remarks
@@ -30,10 +32,3 @@ This component needs to live inside `LayoutContext` to work properly.
30
32
  ```
31
33
 
32
34
  {% partial file="p_usage.md" variables={exampleCount: 1} /%}
33
-
34
- ## Properties
35
-
36
- {% parameter name="trackRef" type="TrackReferenceOrPlaceholder" optional=true %}
37
- _(Optional)_
38
-
39
- {% /parameter %}
@@ -9,7 +9,7 @@
9
9
 
10
10
  # useClearPinButton
11
11
 
12
- The `useClearPinButton` hook provides props for the [ClearPinButton()](./react/component/clearpinbutton.md) or your custom implementation of it component. It adds the `onClick` handler to signal the `LayoutContext` that the tile in focus should be cleared.
12
+ The `useClearPinButton` hook provides props for the [ClearPinButton](./react/clearpinbutton.md) or your custom implementation of it component. It adds the `onClick` handler to signal the `LayoutContext` that the tile in focus should be cleared.
13
13
 
14
14
  ## Import
15
15