@q9labsai/chalk-react 5.2.1 → 5.2.2
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.
|
@@ -5420,26 +5420,14 @@ var ParticipantsPanel = React13.memo((props) => {
|
|
|
5420
5420
|
ParticipantsPanel.displayName = "ParticipantsPanel";
|
|
5421
5421
|
|
|
5422
5422
|
// src/components/chalk/StatusSurface.tsx
|
|
5423
|
-
import { formatSyncConnectDiagnostic } from "@q9labsai/chalk-client";
|
|
5423
|
+
import { formatSyncConnectDiagnostic, getConnectionFailureDetail } from "@q9labsai/chalk-client";
|
|
5424
5424
|
import { Fragment as Fragment18, jsx as jsx47, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
5425
|
-
var DEFAULT_FAILURE_DETAIL = "Something went wrong while joining. Try again.";
|
|
5426
|
-
var FAILURE_DETAILS = {
|
|
5427
|
-
"access.invalid": "Access to this call was rejected. Refresh the page and try again.",
|
|
5428
|
-
"access.unavailable": "Couldn\u2019t get access to the call. Try again.",
|
|
5429
|
-
"connection.sync_start_failed": "Couldn\u2019t reach the call service. Try again.",
|
|
5430
|
-
"connection.sync_hello_timeout": "The call service did not respond in time. Try again.",
|
|
5431
|
-
"connection.sync_recovery_exhausted": "The call connection could not recover. Try again.",
|
|
5432
|
-
"connection.media_start_failed": "Audio and video could not connect. Try again.",
|
|
5433
|
-
"connection.media_recovery_exhausted": "Audio and video could not reconnect. Try again.",
|
|
5434
|
-
"environment.unsupported": "This browser cannot start the call. Use an up-to-date browser over HTTPS.",
|
|
5435
|
-
"client.internal_error": DEFAULT_FAILURE_DETAIL
|
|
5436
|
-
};
|
|
5437
5425
|
function StatusSurface({ phase, callName = "the call", reason, episodeEndReason, endAction, errorCode, sync, theme, onRejoin, onHome, onRetry, onReportProblem, rejoinDisabled = false, retryPending = false }) {
|
|
5438
5426
|
const copy = {
|
|
5439
5427
|
entering: { title: `Joining ${callName}\u2026`, detail: "" },
|
|
5440
5428
|
left: { title: `You left ${callName}`, detail: "" },
|
|
5441
5429
|
"episode-ended": episodeEndReason === "maximum_duration" ? { title: "The call reached its time limit", detail: "This call has ended for everyone." } : { title: "The call ended", detail: "" },
|
|
5442
|
-
failed: { title: `Couldn\u2019t connect to ${callName}`, detail: (
|
|
5430
|
+
failed: { title: `Couldn\u2019t connect to ${callName}`, detail: getConnectionFailureDetail({ code: errorCode, sync }) },
|
|
5443
5431
|
removed: { title: `You were removed from ${callName}`, detail: "The host removed you from this call." },
|
|
5444
5432
|
full: { title: "This call is full", detail: `${callName} has reached 100 people. Ask the host to make room, then try again.` },
|
|
5445
5433
|
elsewhere: { title: "You joined from another tab", detail: `${callName} is open in another tab or window. Use it here instead?` }
|
package/dist/components/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
RecordingHistoryPanel,
|
|
6
6
|
RecordingSpaceView,
|
|
7
7
|
RecordingWhiteboardView
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-NYP6LNZF.js";
|
|
9
9
|
import {
|
|
10
10
|
loadRecordingWhiteboardFiles,
|
|
11
11
|
parseRecordingWhiteboardStateV1,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
ReactionsOverlay,
|
|
48
48
|
ScreenShareView,
|
|
49
49
|
Stage
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-YLP43HHE.js";
|
|
51
51
|
import {
|
|
52
52
|
buildStageItems
|
|
53
53
|
} from "../chunk-HWQLW4JR.js";
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
RecordingHistoryPanel,
|
|
6
6
|
RecordingSpaceView,
|
|
7
7
|
RecordingWhiteboardView
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NYP6LNZF.js";
|
|
9
9
|
import {
|
|
10
10
|
loadRecordingWhiteboardFiles,
|
|
11
11
|
parseRecordingWhiteboardStateV1,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
useSelf,
|
|
60
60
|
useSpaceClient,
|
|
61
61
|
useWhiteboard
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-YLP43HHE.js";
|
|
63
63
|
import "./chunk-HWQLW4JR.js";
|
|
64
64
|
import "./chunk-4U7QZC72.js";
|
|
65
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@q9labsai/chalk-react",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
"@base-ui/react": "^1.7.0",
|
|
76
76
|
"@hugeicons/core-free-icons": "^4.2.3",
|
|
77
77
|
"@hugeicons/react": "^1.1.9",
|
|
78
|
-
"@q9labsai/chalk-client": "^5.2.
|
|
79
|
-
"@q9labsai/chalk-ui": "^5.2.
|
|
80
|
-
"@q9labsai/chalk-whiteboard": "^5.2.
|
|
81
|
-
"@q9labsai/facehash": "^5.2.
|
|
78
|
+
"@q9labsai/chalk-client": "^5.2.2",
|
|
79
|
+
"@q9labsai/chalk-ui": "^5.2.2",
|
|
80
|
+
"@q9labsai/chalk-whiteboard": "^5.2.2",
|
|
81
|
+
"@q9labsai/facehash": "^5.2.2",
|
|
82
82
|
"@q9labsai/recording-presentation": "^0.1.1",
|
|
83
83
|
"class-variance-authority": "^0.7.1",
|
|
84
84
|
"clsx": "^2.1.1",
|