@q9labsai/chalk-react 5.2.2 → 5.2.4
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/README.md +10 -2
- package/dist/{chunk-YLP43HHE.js → chunk-34SIWIY5.js} +349 -319
- package/dist/{chunk-NYP6LNZF.js → chunk-IZ44PX4W.js} +2 -1
- package/dist/components/index.js +2 -2
- package/dist/components/participant-tile/ParticipantTile.d.ts +2 -3
- package/dist/components/participants-panel/ParticipantsPanel.d.ts +2 -1
- package/dist/components/participants-panel/participant-row.d.ts +2 -1
- package/dist/components/space-view/SpaceView.d.ts +1 -0
- package/dist/components/stage/SpaceStage.d.ts +3 -1
- package/dist/components/stage/Stage.d.ts +2 -3
- package/dist/index.js +2 -2
- package/dist/internal/sound-cues.d.ts +1 -1
- package/dist/test-support/index.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -44,6 +44,14 @@ as the final `participants.issueAccess` argument with the server-only state from
|
|
|
44
44
|
`getAccessRefreshState`; Chalk selects replacement only when recovery needs it.
|
|
45
45
|
See the [web quickstart](../../../docs/sdk-web-quickstart.md) for the endpoint call.
|
|
46
46
|
|
|
47
|
+
Sound cues are on by default. People already in a call hear a quiet chime when
|
|
48
|
+
a new participant joins, at most once every three seconds. Initial rosters,
|
|
49
|
+
your own joins, and reconnects do not chime. Playback follows browser autoplay
|
|
50
|
+
rules: the Join click enables audio, with later clicks or key presses retrying
|
|
51
|
+
blocked audio. A refusal never interrupts the call or queues old chimes.
|
|
52
|
+
Embedding apps can disable all cues with `features={{ sounds: false }}` on
|
|
53
|
+
`Chalk` or `SpaceView`. A participant's Sounds preference also applies.
|
|
54
|
+
|
|
47
55
|
Pass an existing client when its lifecycle belongs to the embedding
|
|
48
56
|
application. Chalk will use it without disposing it.
|
|
49
57
|
|
|
@@ -107,7 +115,7 @@ returns it unchanged, and `SpaceClient` handles refresh and recovery.
|
|
|
107
115
|
|
|
108
116
|
## Component maintenance
|
|
109
117
|
|
|
110
|
-
`control-bar-behavior.ts` owns the shared contracts, state, and commands for the
|
|
118
|
+
`sdks/typescript/react/src/components/control-bar/control-bar-behavior.ts` owns the shared contracts, state, and commands for the
|
|
111
119
|
controls. The component files own presentation.
|
|
112
120
|
|
|
113
121
|
The SDK-owned `@q9labsai/chalk-react/preview` dev-tool entrypoint exposes the
|
|
@@ -131,4 +139,4 @@ Each message's `reactions` contains `{ emoji, count, participantIds }`; IDs iden
|
|
|
131
139
|
|
|
132
140
|
Message reactions are stored separately from recording facts and are not rendered or added to recording timelines yet. Recording validators accept all 24 call-reaction emoji.
|
|
133
141
|
|
|
134
|
-
`useChat()` returns the same state and `react(input)` action. Each hook message always has a reactions array; each group adds `isMine` for the current participant. Public types are `MessageReaction`, `ReactChatMessage`, and `UseChatResult`.
|
|
142
|
+
`useChat()` returns the same state and `react(input)` action. Each hook message always has a reactions array; each group adds `isMine` for the current participant. Public types are `MessageReaction`, `ReactChatMessage`, and `UseChatResult`.
|