@livekit/components-js-docs 0.0.4 → 0.0.5

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 (52) hide show
  1. package/generated-docs/core/encryptionstatusobservable.md +12 -0
  2. package/generated-docs/core/index.md +1 -0
  3. package/generated-docs/react/hook/usechat.md +7 -1
  4. package/generated-docs/react/hook/usechattoggle.md +10 -1
  5. package/generated-docs/react/hook/useclearpinbutton.md +9 -1
  6. package/generated-docs/react/hook/useconnectionqualityindicator.md +63 -1
  7. package/generated-docs/react/hook/useconnectionstate.md +3 -1
  8. package/generated-docs/react/hook/usecreatelayoutcontext.md +3 -1
  9. package/generated-docs/react/hook/usedatachannel.md +3 -1
  10. package/generated-docs/react/hook/usedatachannel_1.md +3 -1
  11. package/generated-docs/react/hook/usedisconnectbutton.md +9 -1
  12. package/generated-docs/react/hook/useensurecreatelayoutcontext.md +3 -1
  13. package/generated-docs/react/hook/useensurelayoutcontext.md +3 -1
  14. package/generated-docs/react/hook/useensureparticipant.md +3 -1
  15. package/generated-docs/react/hook/useensureroom.md +3 -1
  16. package/generated-docs/react/hook/useensuretrackreference.md +3 -1
  17. package/generated-docs/react/hook/usefocustoggle.md +9 -1
  18. package/generated-docs/react/hook/usegridlayout.md +5 -1
  19. package/generated-docs/react/hook/useismuted.md +3 -1
  20. package/generated-docs/react/hook/useisspeaking.md +3 -1
  21. package/generated-docs/react/hook/uselayoutcontext.md +3 -1
  22. package/generated-docs/react/hook/uselivekitroom.md +6 -1
  23. package/generated-docs/react/hook/uselocalparticipant.md +12 -1
  24. package/generated-docs/react/hook/uselocalparticipantpermissions.md +3 -1
  25. package/generated-docs/react/hook/usemaybelayoutcontext.md +3 -1
  26. package/generated-docs/react/hook/usemaybeparticipantcontext.md +3 -1
  27. package/generated-docs/react/hook/usemayberoomcontext.md +3 -1
  28. package/generated-docs/react/hook/usemaybetrackcontext.md +3 -1
  29. package/generated-docs/react/hook/usemediadevices.md +3 -1
  30. package/generated-docs/react/hook/usemediadeviceselect.md +8 -1
  31. package/generated-docs/react/hook/usemediatrack.md +9 -1
  32. package/generated-docs/react/hook/usemediatrackbyname.md +9 -1
  33. package/generated-docs/react/hook/useparticipantcontext.md +3 -1
  34. package/generated-docs/react/hook/useparticipantinfo.md +7 -1
  35. package/generated-docs/react/hook/useparticipantpermissions.md +3 -1
  36. package/generated-docs/react/hook/useparticipants.md +3 -1
  37. package/generated-docs/react/hook/useparticipanttile.md +5 -1
  38. package/generated-docs/react/hook/usepinnedtracks.md +3 -1
  39. package/generated-docs/react/hook/usepreviewdevice.md +7 -1
  40. package/generated-docs/react/hook/useremoteparticipant.md +3 -1
  41. package/generated-docs/react/hook/useremoteparticipants.md +3 -1
  42. package/generated-docs/react/hook/useroomcontext.md +3 -1
  43. package/generated-docs/react/hook/useroominfo.md +6 -1
  44. package/generated-docs/react/hook/usesortedparticipants.md +3 -1
  45. package/generated-docs/react/hook/usespeakingparticipants.md +3 -1
  46. package/generated-docs/react/hook/usetoken.md +3 -1
  47. package/generated-docs/react/hook/usetrackcontext.md +3 -1
  48. package/generated-docs/react/hook/usetrackmutedindicator.md +6 -1
  49. package/generated-docs/react/hook/usetracks.md +3 -1
  50. package/generated-docs/react/hook/usetracktoggle.md +9 -1
  51. package/generated-docs/react/hook/usevisualstableupdate.md +3 -1
  52. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ # encryptionStatusObservable
4
+
5
+ **Signature:**
6
+
7
+ ```typescript
8
+ export declare function encryptionStatusObservable(
9
+ room: Room,
10
+ participant: Participant,
11
+ ): Observable<boolean>;
12
+ ```
@@ -32,6 +32,7 @@
32
32
  | [cssPrefix](./core/cssprefix.md) | |
33
33
  | [DataSendOptions](./core/datasendoptions.md) | |
34
34
  | [DataTopic](./core/datatopic.md) | |
35
+ | [encryptionStatusObservable(room, participant)](./core/encryptionstatusobservable.md) | |
35
36
  | [getTrackByIdentifier(options)](./core/gettrackbyidentifier.md) | |
36
37
  | [getTrackReferenceId(trackReference)](./core/gettrackreferenceid.md) | Returns a id to identify the <code>TrackReference</code> based on participant and source. |
37
38
  | [getTrackReferenceSource(trackReference)](./core/gettrackreferencesource.md) | Returns the Source of the TrackReference. |
@@ -20,4 +20,10 @@ import { useChat } from '@livekit/components-react';
20
20
 
21
21
  ## Returns
22
22
 
23
- `{ send: ((message: string) => Promise<void>) | undefined; chatMessages: ReceivedChatMessage[]; isSending: boolean; }`
23
+ ```typescript
24
+ {
25
+ send: ((message: string) => Promise<void>) | undefined;
26
+ chatMessages: ReceivedChatMessage[];
27
+ isSending: boolean;
28
+ }
29
+ ```
@@ -17,4 +17,13 @@ import { useChatToggle } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & { className: string; onClick: () => void; 'aria-pressed': string; 'data-lk-unread-msgs': string; }; }`
20
+ ```typescript
21
+ {
22
+ mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & {
23
+ className: string;
24
+ onClick: () => void;
25
+ 'aria-pressed': string;
26
+ 'data-lk-unread-msgs': string;
27
+ };
28
+ }
29
+ ```
@@ -17,4 +17,12 @@ import { useClearPinButton } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ buttonProps: ClearPinButtonProps & { className: string; disabled: boolean; onClick: () => void; }; }`
20
+ ```typescript
21
+ {
22
+ buttonProps: ClearPinButtonProps & {
23
+ className: string;
24
+ disabled: boolean;
25
+ onClick: () => void;
26
+ };
27
+ }
28
+ ```
@@ -17,4 +17,66 @@ import { useConnectionQualityIndicator } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ className: "lk-rotate" | "lk-audio-conference" | "lk-audio-conference-stage" | "lk-audio-container" | "lk-button" | "lk-button-group" | "lk-button-group-container" | "lk-camera-off-note" | "lk-chat" | "lk-chat-entry" | "lk-chat-form" | "lk-chat-form-input" | "lk-chat-messages" | "lk-control-bar" | "lk-focus-layout-wrapper" | "lk-form-control" | "lk-grid-layout-wrapper" | "lk-join-button" | "lk-list" | "lk-message-body" | "lk-meta-data" | "lk-participant-name" | "lk-prejoin" | "lk-timestamp" | "lk-username-container" | "lk-video-conference" | "lk-video-conference-inner" | "lk-video-container" | "lk-audio-visualizer" | "lk-button-group-menu" | "lk-button-menu" | "lk-carousel" | "lk-chat-toggle" | "lk-connection-quality" | "lk-device-menu" | "lk-device-menu-heading" | "lk-disconnect-button" | "lk-focus-layout" | "lk-focus-toggle-button" | "lk-focused-participant" | "lk-grid-layout" | "lk-media-device-select" | "lk-pagination-control" | "lk-pagination-count" | "lk-pagination-indicator" | "lk-participant-media-audio" | "lk-participant-media-video" | "lk-participant-metadata" | "lk-participant-metadata-item" | "lk-participant-placeholder" | "lk-participant-tile" | "lk-pip-track" | "lk-room-container" | "lk-spinner" | "lk-start-audio-button" | "lk-toast" | "lk-track-muted-indicator-camera" | "lk-track-muted-indicator-microphone"; quality: ConnectionQuality; }`
20
+ ```typescript
21
+ {
22
+ className: 'lk-rotate' |
23
+ 'lk-audio-conference' |
24
+ 'lk-audio-conference-stage' |
25
+ 'lk-audio-container' |
26
+ 'lk-button' |
27
+ 'lk-button-group' |
28
+ 'lk-button-group-container' |
29
+ 'lk-camera-off-note' |
30
+ 'lk-chat' |
31
+ 'lk-chat-entry' |
32
+ 'lk-chat-form' |
33
+ 'lk-chat-form-input' |
34
+ 'lk-chat-messages' |
35
+ 'lk-control-bar' |
36
+ 'lk-focus-layout-wrapper' |
37
+ 'lk-form-control' |
38
+ 'lk-grid-layout-wrapper' |
39
+ 'lk-join-button' |
40
+ 'lk-list' |
41
+ 'lk-message-body' |
42
+ 'lk-meta-data' |
43
+ 'lk-participant-name' |
44
+ 'lk-prejoin' |
45
+ 'lk-timestamp' |
46
+ 'lk-username-container' |
47
+ 'lk-video-conference' |
48
+ 'lk-video-conference-inner' |
49
+ 'lk-video-container' |
50
+ 'lk-audio-visualizer' |
51
+ 'lk-button-group-menu' |
52
+ 'lk-button-menu' |
53
+ 'lk-carousel' |
54
+ 'lk-chat-toggle' |
55
+ 'lk-connection-quality' |
56
+ 'lk-device-menu' |
57
+ 'lk-device-menu-heading' |
58
+ 'lk-disconnect-button' |
59
+ 'lk-focus-layout' |
60
+ 'lk-focus-toggle-button' |
61
+ 'lk-focused-participant' |
62
+ 'lk-grid-layout' |
63
+ 'lk-media-device-select' |
64
+ 'lk-pagination-control' |
65
+ 'lk-pagination-count' |
66
+ 'lk-pagination-indicator' |
67
+ 'lk-participant-media-audio' |
68
+ 'lk-participant-media-video' |
69
+ 'lk-participant-metadata' |
70
+ 'lk-participant-metadata-item' |
71
+ 'lk-participant-placeholder' |
72
+ 'lk-participant-tile' |
73
+ 'lk-pip-track' |
74
+ 'lk-room-container' |
75
+ 'lk-spinner' |
76
+ 'lk-start-audio-button' |
77
+ 'lk-toast' |
78
+ 'lk-track-muted-indicator-camera' |
79
+ 'lk-track-muted-indicator-microphone';
80
+ quality: ConnectionQuality;
81
+ }
82
+ ```
@@ -25,4 +25,6 @@ const connectionState = useConnectionState(room);
25
25
 
26
26
  ## Returns
27
27
 
28
- `import("livekit-client").ConnectionState`
28
+ ```typescript
29
+ import('livekit-client').ConnectionState;
30
+ ```
@@ -12,4 +12,6 @@ import { useCreateLayoutContext } from '@livekit/components-react';
12
12
 
13
13
  ## Returns
14
14
 
15
- `LayoutContextType`
15
+ ```typescript
16
+ LayoutContextType;
17
+ ```
@@ -20,4 +20,6 @@ import { useDataChannel } from '@livekit/components-react';
20
20
 
21
21
  ## Returns
22
22
 
23
- `UseDataChannelReturnType<T>`
23
+ ```typescript
24
+ UseDataChannelReturnType<T>;
25
+ ```
@@ -17,4 +17,6 @@ import { useDataChannel } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `UseDataChannelReturnType`
20
+ ```typescript
21
+ UseDataChannelReturnType;
22
+ ```
@@ -17,4 +17,12 @@ import { useDisconnectButton } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ buttonProps: DisconnectButtonProps & { className: string; onClick: () => void; disabled: boolean; }; }`
20
+ ```typescript
21
+ {
22
+ buttonProps: DisconnectButtonProps & {
23
+ className: string;
24
+ onClick: () => void;
25
+ disabled: boolean;
26
+ };
27
+ }
28
+ ```
@@ -17,4 +17,6 @@ import { useEnsureCreateLayoutContext } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `LayoutContextType`
20
+ ```typescript
21
+ LayoutContextType;
22
+ ```
@@ -19,4 +19,6 @@ import { useEnsureLayoutContext } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `LayoutContextType`
22
+ ```typescript
23
+ LayoutContextType;
24
+ ```
@@ -19,4 +19,6 @@ import { useEnsureParticipant } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `Participant`
22
+ ```typescript
23
+ Participant;
24
+ ```
@@ -19,4 +19,6 @@ import { useEnsureRoom } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `Room`
22
+ ```typescript
23
+ Room;
24
+ ```
@@ -19,4 +19,6 @@ import { useEnsureTrackReference } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `TrackReferenceOrPlaceholder`
22
+ ```typescript
23
+ TrackReferenceOrPlaceholder;
24
+ ```
@@ -17,4 +17,12 @@ import { useFocusToggle } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & { className: string; onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void; }; inFocus: boolean; }`
20
+ ```typescript
21
+ {
22
+ mergedProps: React.ButtonHTMLAttributes<HTMLButtonElement> & {
23
+ className: string;
24
+ onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
25
+ };
26
+ inFocus: boolean;
27
+ }
28
+ ```
@@ -22,4 +22,8 @@ import { useGridLayout } from '@livekit/components-react';
22
22
 
23
23
  ## Returns
24
24
 
25
- `{ layout: GridLayoutDefinition; }`
25
+ ```typescript
26
+ {
27
+ layout: GridLayoutDefinition;
28
+ }
29
+ ```
@@ -20,4 +20,6 @@ import { useIsMuted } from '@livekit/components-react';
20
20
 
21
21
  ## Returns
22
22
 
23
- `boolean`
23
+ ```typescript
24
+ boolean;
25
+ ```
@@ -17,4 +17,6 @@ import { useIsSpeaking } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `boolean`
20
+ ```typescript
21
+ boolean;
22
+ ```
@@ -14,4 +14,6 @@ import { useLayoutContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `LayoutContextType`
17
+ ```typescript
18
+ LayoutContextType;
19
+ ```
@@ -17,4 +17,9 @@ import { useLiveKitRoom } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ room: Room | undefined; htmlProps: HTMLAttributes<T>; }`
20
+ ```typescript
21
+ {
22
+ room: Room | undefined;
23
+ htmlProps: HTMLAttributes<T>;
24
+ }
25
+ ```
@@ -19,4 +19,15 @@ import { useLocalParticipant } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `{ isMicrophoneEnabled: boolean; isScreenShareEnabled: boolean; isCameraEnabled: boolean; microphoneTrack: TrackPublication | undefined; cameraTrack: TrackPublication | undefined; lastMicrophoneError: Error | undefined; lastCameraError: Error | undefined; localParticipant: LocalParticipant; }`
22
+ ```typescript
23
+ {
24
+ isMicrophoneEnabled: boolean;
25
+ isScreenShareEnabled: boolean;
26
+ isCameraEnabled: boolean;
27
+ microphoneTrack: TrackPublication | undefined;
28
+ cameraTrack: TrackPublication | undefined;
29
+ lastMicrophoneError: Error | undefined;
30
+ lastCameraError: Error | undefined;
31
+ localParticipant: LocalParticipant;
32
+ }
33
+ ```
@@ -12,4 +12,6 @@ import { useLocalParticipantPermissions } from '@livekit/components-react';
12
12
 
13
13
  ## Returns
14
14
 
15
- `import("livekit-client/dist/src/proto/livekit_models_pb").ParticipantPermission | undefined`
15
+ ```typescript
16
+ import('livekit-client/dist/src/proto/livekit_models_pb').ParticipantPermission | undefined;
17
+ ```
@@ -14,4 +14,6 @@ import { useMaybeLayoutContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `LayoutContextType | undefined`
17
+ ```typescript
18
+ LayoutContextType | undefined;
19
+ ```
@@ -14,4 +14,6 @@ import { useMaybeParticipantContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `Participant | undefined`
17
+ ```typescript
18
+ Participant | undefined;
19
+ ```
@@ -14,4 +14,6 @@ import { useMaybeRoomContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `Room | undefined`
17
+ ```typescript
18
+ Room | undefined;
19
+ ```
@@ -14,4 +14,6 @@ import { useMaybeTrackContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `TrackReferenceOrPlaceholder | undefined`
17
+ ```typescript
18
+ TrackReferenceOrPlaceholder | undefined;
19
+ ```
@@ -19,4 +19,6 @@ import { useMediaDevices } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `MediaDeviceInfo[]`
22
+ ```typescript
23
+ MediaDeviceInfo[]
24
+ ```
@@ -17,4 +17,11 @@ import { useMediaDeviceSelect } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ devices: MediaDeviceInfo[]; className: string; activeDeviceId: string; setActiveMediaDevice: (id: string, options?: import("@livekit/components-core").SetMediaDeviceOptions | undefined) => Promise<void>; }`
20
+ ```typescript
21
+ {
22
+ devices: MediaDeviceInfo[];
23
+ className: string;
24
+ activeDeviceId: string;
25
+ setActiveMediaDevice: (id: string, options?: import("@livekit/components-core").SetMediaDeviceOptions | undefined) => Promise<void>;
26
+ }
27
+ ```
@@ -23,4 +23,12 @@ import { useMediaTrack } from '@livekit/components-react';
23
23
 
24
24
  ## Returns
25
25
 
26
- `{ publication: import("livekit-client").TrackPublication | undefined; isMuted: boolean | undefined; isSubscribed: boolean | undefined; track: import("livekit-client").Track | undefined; elementProps: React.HTMLAttributes<HTMLElement>; }`
26
+ ```typescript
27
+ {
28
+ publication: import('livekit-client').TrackPublication | undefined;
29
+ isMuted: boolean | undefined;
30
+ isSubscribed: boolean | undefined;
31
+ track: import('livekit-client').Track | undefined;
32
+ elementProps: React.HTMLAttributes<HTMLElement>;
33
+ }
34
+ ```
@@ -23,4 +23,12 @@ import { useMediaTrackByName } from '@livekit/components-react';
23
23
 
24
24
  ## Returns
25
25
 
26
- `{ publication: import("livekit-client").TrackPublication | undefined; isMuted: boolean | undefined; isSubscribed: boolean | undefined; track: import("livekit-client").Track | undefined; elementProps: import("react").HTMLAttributes<HTMLElement>; }`
26
+ ```typescript
27
+ {
28
+ publication: import('livekit-client').TrackPublication | undefined;
29
+ isMuted: boolean | undefined;
30
+ isSubscribed: boolean | undefined;
31
+ track: import('livekit-client').Track | undefined;
32
+ elementProps: import('react').HTMLAttributes<HTMLElement>;
33
+ }
34
+ ```
@@ -14,4 +14,6 @@ import { useParticipantContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `Participant`
17
+ ```typescript
18
+ Participant;
19
+ ```
@@ -17,4 +17,10 @@ import { useParticipantInfo } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ identity: string; name: string | undefined; metadata: string | undefined; }`
20
+ ```typescript
21
+ {
22
+ identity: string;
23
+ name: string | undefined;
24
+ metadata: string | undefined;
25
+ }
26
+ ```
@@ -17,4 +17,6 @@ import { useParticipantPermissions } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `import("livekit-client/dist/src/proto/livekit_models_pb").ParticipantPermission | undefined`
20
+ ```typescript
21
+ import('livekit-client/dist/src/proto/livekit_models_pb').ParticipantPermission | undefined;
22
+ ```
@@ -19,4 +19,6 @@ import { useParticipants } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `(import("livekit-client").RemoteParticipant | import("livekit-client").LocalParticipant)[]`
22
+ ```typescript
23
+ (import("livekit-client").RemoteParticipant | import("livekit-client").LocalParticipant)[]
24
+ ```
@@ -17,4 +17,8 @@ import { useParticipantTile } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ elementProps: React.HTMLAttributes<T>; }`
20
+ ```typescript
21
+ {
22
+ elementProps: React.HTMLAttributes<T>;
23
+ }
24
+ ```
@@ -17,4 +17,6 @@ import { usePinnedTracks } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `TrackReferenceOrPlaceholder[]`
20
+ ```typescript
21
+ TrackReferenceOrPlaceholder[]
22
+ ```
@@ -23,4 +23,10 @@ import { usePreviewDevice } from '@livekit/components-react';
23
23
 
24
24
  ## Returns
25
25
 
26
- `{ selectedDevice: MediaDeviceInfo | undefined; localTrack: T | undefined; deviceError: Error | null; }`
26
+ ```typescript
27
+ {
28
+ selectedDevice: MediaDeviceInfo | undefined;
29
+ localTrack: T | undefined;
30
+ deviceError: Error | null;
31
+ }
32
+ ```
@@ -20,4 +20,6 @@ import { useRemoteParticipant } from '@livekit/components-react';
20
20
 
21
21
  ## Returns
22
22
 
23
- `RemoteParticipant | undefined`
23
+ ```typescript
24
+ RemoteParticipant | undefined;
25
+ ```
@@ -19,4 +19,6 @@ import { useRemoteParticipants } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `RemoteParticipant[]`
22
+ ```typescript
23
+ RemoteParticipant[]
24
+ ```
@@ -14,4 +14,6 @@ import { useRoomContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `Room`
17
+ ```typescript
18
+ Room;
19
+ ```
@@ -17,4 +17,9 @@ import { useRoomInfo } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ name: string; metadata: string | undefined; }`
20
+ ```typescript
21
+ {
22
+ name: string;
23
+ metadata: string | undefined;
24
+ }
25
+ ```
@@ -19,4 +19,6 @@ import { useSortedParticipants } from '@livekit/components-react';
19
19
 
20
20
  ## Returns
21
21
 
22
- `Participant[]`
22
+ ```typescript
23
+ Participant[]
24
+ ```
@@ -14,4 +14,6 @@ import { useSpeakingParticipants } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `import("livekit-client").Participant[]`
17
+ ```typescript
18
+ import("livekit-client").Participant[]
19
+ ```
@@ -23,4 +23,6 @@ import { useToken } from '@livekit/components-react';
23
23
 
24
24
  ## Returns
25
25
 
26
- `string | undefined`
26
+ ```typescript
27
+ string | undefined;
28
+ ```
@@ -14,4 +14,6 @@ import { useTrackContext } from '@livekit/components-react';
14
14
 
15
15
  ## Returns
16
16
 
17
- `TrackReferenceOrPlaceholder`
17
+ ```typescript
18
+ TrackReferenceOrPlaceholder;
19
+ ```
@@ -20,4 +20,9 @@ import { useTrackMutedIndicator } from '@livekit/components-react';
20
20
 
21
21
  ## Returns
22
22
 
23
- `{ isMuted: boolean; className: string; }`
23
+ ```typescript
24
+ {
25
+ isMuted: boolean;
26
+ className: string;
27
+ }
28
+ ```
@@ -39,4 +39,6 @@ const trackReferencesWithPlaceholders: TrackReferenceOrPlaceholder[] = useTracks
39
39
 
40
40
  ## Returns
41
41
 
42
- `UseTracksHookReturnType<T>`
42
+ ```typescript
43
+ UseTracksHookReturnType<T>;
44
+ ```
@@ -17,4 +17,12 @@ import { useTrackToggle } from '@livekit/components-react';
17
17
 
18
18
  ## Returns
19
19
 
20
- `{ toggle: ((forceState?: boolean | undefined) => void) | ((forceState?: boolean | undefined, captureOptions?: import("@livekit/components-core").CaptureOptionsBySource<T> | undefined) => Promise<void>); enabled: boolean; pending: boolean; track: import("livekit-client").LocalTrackPublication | undefined; buttonProps: React.ButtonHTMLAttributes<HTMLButtonElement>; }`
20
+ ```typescript
21
+ {
22
+ toggle: ((forceState?: boolean | undefined) => void) | ((forceState?: boolean | undefined, captureOptions?: import("@livekit/components-core").CaptureOptionsBySource<T> | undefined) => Promise<void>);
23
+ enabled: boolean;
24
+ pending: boolean;
25
+ track: import("livekit-client").LocalTrackPublication | undefined;
26
+ buttonProps: React.ButtonHTMLAttributes<HTMLButtonElement>;
27
+ }
28
+ ```
@@ -29,4 +29,6 @@ import { useVisualStableUpdate } from '@livekit/components-react';
29
29
 
30
30
  ## Returns
31
31
 
32
- `TrackReferenceOrPlaceholder[]`
32
+ ```typescript
33
+ TrackReferenceOrPlaceholder[]
34
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Automatically generated documentation pages for LiveKit Components JS. Intended to be consumed by the documentation page.",
5
5
  "scripts": {
6
6
  "yalc:publish": "yalc publish --private --push --replace",