@q9labsai/chalk-react 5.2.4 → 5.2.6

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.
@@ -24,12 +24,12 @@ export declare const MEDIA_FAILURE_POLICY: {
24
24
  "command.rejected": Rule;
25
25
  "connection.invalid_state": {
26
26
  copy: {
27
- test: (context: Context) => string;
28
- request: (context: Context) => string;
29
- start: (context: Context) => string;
30
- stop: (context: Context) => string;
31
- select: (context: Context) => string;
32
- change: (context: Context) => string;
27
+ start: Copy;
28
+ stop: Copy;
29
+ select: Copy;
30
+ test: Copy;
31
+ request: Copy;
32
+ change: Copy;
33
33
  };
34
34
  retry: true;
35
35
  };
@@ -34,9 +34,11 @@ export interface ControlBarSurfaceProps {
34
34
  knockCount?: number;
35
35
  isMuted?: boolean;
36
36
  microphonePending?: boolean;
37
+ onCancelMicrophonePending?: () => void;
37
38
  mediaEnableDisabled?: boolean;
38
39
  reactionsDisabled?: boolean;
39
40
  cameraPending?: boolean;
41
+ onCancelCameraPending?: () => void;
40
42
  isVideoEnabled?: boolean;
41
43
  isScreenSharing?: boolean;
42
44
  isRecording?: boolean;
@@ -126,6 +128,7 @@ export declare function useControlBarSurfaceBehavior({ density, buttons, audioIn
126
128
  interface ConnectedControlBarBehavior {
127
129
  readonly surfaceProps: ControlBarSurfaceProps;
128
130
  readonly commandError: ClientFailure | null;
131
+ readonly mediaNotice?: string;
129
132
  readonly commandSource?: MediaCommandSource;
130
133
  readonly commandAction?: MediaCommandAction;
131
134
  }
@@ -0,0 +1,2 @@
1
+ import type { LocalMedia } from "@q9labsai/chalk-client";
2
+ export declare function mediaToggleTarget(state: LocalMedia["state"], live: boolean): boolean | undefined;
@@ -25,8 +25,9 @@ export interface DevicePopoverProps {
25
25
  disabled?: boolean;
26
26
  toggleDisabled?: boolean;
27
27
  busy?: boolean;
28
+ onCancelPending?: () => void;
28
29
  haptic?: HapticInput | false;
29
30
  size?: "sm" | "md" | "lg";
30
31
  appearance?: "default" | "floating";
31
32
  }
32
- export declare function DevicePopover({ type, isActive, onToggle, devices, selectedDeviceId, onDeviceChange, secondaryDevices, selectedSecondaryDeviceId, onSecondaryDeviceChange, track, captureCameraPreview, warning, speakingWhileMuted, noiseSuppression, onNoiseSuppressionChange, mirrored, onMirrorChange, onTestSpeaker, orientation, className, disabled, toggleDisabled, busy, }: DevicePopoverProps): import("react").JSX.Element;
33
+ export declare function DevicePopover({ type, isActive, onToggle, devices, selectedDeviceId, onDeviceChange, secondaryDevices, selectedSecondaryDeviceId, onSecondaryDeviceChange, track, captureCameraPreview, warning, speakingWhileMuted, noiseSuppression, onNoiseSuppressionChange, mirrored, onMirrorChange, onTestSpeaker, orientation, className, disabled, toggleDisabled, busy, onCancelPending, }: DevicePopoverProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import {
5
5
  RecordingHistoryPanel,
6
6
  RecordingSpaceView,
7
7
  RecordingWhiteboardView
8
- } from "../chunk-IZ44PX4W.js";
8
+ } from "../chunk-26BQBCEI.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-34SIWIY5.js";
50
+ } from "../chunk-JK4JXOGC.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-IZ44PX4W.js";
8
+ } from "./chunk-26BQBCEI.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-34SIWIY5.js";
62
+ } from "./chunk-JK4JXOGC.js";
63
63
  import "./chunk-HWQLW4JR.js";
64
64
  import "./chunk-4U7QZC72.js";
65
65
 
@@ -6,7 +6,7 @@ import {
6
6
  SpaceView,
7
7
  ToastStack,
8
8
  WhiteboardView
9
- } from "../chunk-34SIWIY5.js";
9
+ } from "../chunk-JK4JXOGC.js";
10
10
  import "../chunk-HWQLW4JR.js";
11
11
  import "../chunk-4U7QZC72.js";
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@q9labsai/chalk-react",
3
- "version": "5.2.4",
3
+ "version": "5.2.6",
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.4",
79
- "@q9labsai/chalk-ui": "^5.2.4",
80
- "@q9labsai/chalk-whiteboard": "^5.2.4",
81
- "@q9labsai/facehash": "^5.2.4",
78
+ "@q9labsai/chalk-client": "^5.2.6",
79
+ "@q9labsai/chalk-ui": "^5.2.6",
80
+ "@q9labsai/chalk-whiteboard": "^5.2.6",
81
+ "@q9labsai/facehash": "^5.2.6",
82
82
  "@q9labsai/recording-presentation": "^0.1.1",
83
83
  "class-variance-authority": "^0.7.1",
84
84
  "clsx": "^2.1.1",