@q9labsai/chalk-react 5.0.1 → 5.2.0
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/CHANGELOG.md +186 -0
- package/dist/bindings/context.d.ts +0 -1
- package/dist/bindings/hooks.d.ts +2 -1
- package/dist/{chunk-NPOO7BOX.js → chunk-CYC2G42K.js} +68 -59
- package/dist/{chunk-XN2E352E.js → chunk-G62BKRNX.js} +2999 -774
- package/dist/{chunk-WRAEH24P.js → chunk-HWQLW4JR.js} +56 -6
- package/dist/components/admission-panel/AdmissionPanel.d.ts +0 -1
- package/dist/components/atomic/AudioIndicator.d.ts +0 -1
- package/dist/components/atomic/Avatar.d.ts +0 -1
- package/dist/components/atomic/HandRaiseIndicator.d.ts +0 -1
- package/dist/components/atomic/NameTag.d.ts +0 -1
- package/dist/components/atomic/ReactionBubble.d.ts +0 -1
- package/dist/components/atomic/StatusBadge.d.ts +0 -1
- package/dist/components/atomic/VolumeSlider.d.ts +0 -1
- package/dist/components/atomic/Waveform.d.ts +0 -1
- package/dist/components/atomic/index.d.ts +0 -1
- package/dist/components/audio-output/AudioOutput.d.ts +0 -1
- package/dist/components/board/Board.d.ts +22 -0
- package/dist/components/board/BoardCursors.d.ts +21 -0
- package/dist/components/board/BoardIcon.d.ts +46 -0
- package/dist/components/board/BoardIsland.d.ts +21 -0
- package/dist/components/board/BoardMenu.d.ts +18 -0
- package/dist/components/board/BoardStyles.d.ts +2 -0
- package/dist/components/board/board-draw-policy.d.ts +15 -0
- package/dist/components/board/board-engine.d.ts +31 -0
- package/dist/components/board/board-history.d.ts +7 -0
- package/dist/components/board/board-model.d.ts +90 -0
- package/dist/components/board/board-toasts.d.ts +6 -0
- package/dist/components/board/board-view-versions.d.ts +1 -0
- package/dist/components/call-card/CallCard.d.ts +0 -1
- package/dist/components/call-card/CallCardStyles.d.ts +0 -1
- package/dist/components/call-limbo/CallLimbo.d.ts +3 -2
- package/dist/components/call-limbo/CallReady.d.ts +0 -1
- package/dist/components/call-limbo/qr-code.d.ts +0 -1
- package/dist/components/call-limbo/useCallLink.d.ts +0 -1
- package/dist/components/chalk/Chalk.d.ts +4 -1
- package/dist/components/chalk/ReportProblemDialog.d.ts +12 -0
- package/dist/components/chalk/StatusSurface.d.ts +4 -2
- package/dist/components/chalk-ui/ChalkAlert.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkBackdrop.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkBadge.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkButton.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkCopyButton.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkDialogPanel.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkDivider.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkEmptyState.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkIconButton.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkInput.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkMenu.d.ts +2 -2
- package/dist/components/chalk-ui/ChalkPanel.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkPopover.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkSegmentedControl.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkSheet.d.ts +1 -2
- package/dist/components/chalk-ui/ChalkSpinner.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkTextarea.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkToast.d.ts +7 -2
- package/dist/components/chalk-ui/ChalkToggle.d.ts +0 -1
- package/dist/components/chalk-ui/ChalkTooltip.d.ts +0 -1
- package/dist/components/chalk-ui/common.d.ts +0 -1
- package/dist/components/chalk-ui/index.d.ts +0 -1
- package/dist/components/composite/ChatPanel.d.ts +0 -1
- package/dist/components/composite/CommandErrorAlert.d.ts +0 -1
- package/dist/components/composite/MessageBubble.d.ts +0 -1
- package/dist/components/composite/ReactionPicker.d.ts +0 -1
- package/dist/components/composite/ReactionTray.d.ts +0 -1
- package/dist/components/composite/ReactionsOverlay.d.ts +0 -1
- package/dist/components/composite/ScreenShareView.d.ts +0 -1
- package/dist/components/composite/chat-file-upload.d.ts +0 -1
- package/dist/components/composite/chat-panel-model.d.ts +0 -1
- package/dist/components/composite/chat-types.d.ts +0 -1
- package/dist/components/composite/chat-upload-file.d.ts +0 -1
- package/dist/components/composite/reaction-float.d.ts +0 -1
- package/dist/components/composite/use-chat-attachment-previews.d.ts +0 -1
- package/dist/components/control-bar/CallLinkIcon.d.ts +0 -1
- package/dist/components/control-bar/ControlBar.d.ts +0 -1
- package/dist/components/control-bar/DockLayout.d.ts +0 -1
- package/dist/components/control-bar/LeaveMenu.d.ts +0 -1
- package/dist/components/control-bar/ShareControl.d.ts +3 -2
- package/dist/components/control-bar/ShellIcon.d.ts +0 -1
- package/dist/components/control-bar/ShellStyles.d.ts +0 -1
- package/dist/components/control-bar/command-failure.d.ts +105 -2
- package/dist/components/control-bar/control-bar-behavior.d.ts +9 -3
- package/dist/components/control-bar/control-bar-button.d.ts +0 -1
- package/dist/components/control-bar/next-camera.d.ts +0 -1
- package/dist/components/device-popover/DevicePopover.d.ts +4 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +3 -3
- package/dist/components/lazy.d.ts +0 -1
- package/dist/components/logo/Logo.d.ts +0 -1
- package/dist/components/media-request-dialog/MediaRequestDialog.d.ts +0 -1
- package/dist/components/media-request-dialog/media-request-dialog-state.d.ts +0 -1
- package/dist/components/offline-actions/OfflineActions.d.ts +2 -2
- package/dist/components/participant-grid/ParticipantGrid.d.ts +0 -1
- package/dist/components/participant-tile/ParticipantTile.d.ts +4 -2
- package/dist/components/participant-tile/TileShell.d.ts +3 -2
- package/dist/components/participant-tile/useVideoTrack.d.ts +0 -1
- package/dist/components/participants-panel/ParticipantsPanel.d.ts +0 -1
- package/dist/components/participants-panel/index.d.ts +0 -1
- package/dist/components/participants-panel/participant-options-menu-contract.d.ts +0 -1
- package/dist/components/participants-panel/participant-options-menu.d.ts +0 -1
- package/dist/components/participants-panel/participant-row.d.ts +0 -1
- package/dist/components/participants-panel/participant-volume-context.d.ts +0 -1
- package/dist/components/reconnecting-overlay/ReconnectingOverlay.d.ts +0 -1
- package/dist/components/recording-history/RecordingHistoryPanel.d.ts +0 -1
- package/dist/components/space-header/CallDetails.d.ts +6 -4
- package/dist/components/space-header/LayoutMenu.d.ts +0 -1
- package/dist/components/space-header/SpaceHeader.d.ts +0 -1
- package/dist/components/space-header/call-diagnostics.d.ts +0 -1
- package/dist/components/space-header/share-qr.d.ts +0 -1
- package/dist/components/space-header/space-header-contract.d.ts +5 -1
- package/dist/components/space-header/useCallShortcuts.d.ts +0 -1
- package/dist/components/space-view/RecordingSpaceView.d.ts +0 -1
- package/dist/components/space-view/SpacePresentation.d.ts +0 -1
- package/dist/components/space-view/SpaceView.d.ts +10 -3
- package/dist/components/space-view/useDrawerPresence.d.ts +0 -1
- package/dist/components/stage/SpaceStage.d.ts +3 -2
- package/dist/components/stage/Stage.d.ts +6 -3
- package/dist/components/stage/StageContentTile.d.ts +0 -1
- package/dist/components/stage/StageIcon.d.ts +0 -1
- package/dist/components/stage/StageMotion.d.ts +0 -1
- package/dist/components/stage/stage-items.d.ts +4 -1
- package/dist/components/stage/stage-layout.d.ts +7 -2
- package/dist/components/stage/useStageDimensions.d.ts +0 -1
- package/dist/components/toast-stack/CallEventIcon.d.ts +1 -2
- package/dist/components/toast-stack/NoticeButton.d.ts +7 -0
- package/dist/components/toast-stack/ToastStack.d.ts +13 -3
- package/dist/components/toast-stack/call-events.d.ts +2 -2
- package/dist/components/toast-stack/notice-announcement.d.ts +4 -0
- package/dist/components/toast-stack/toast-layout-snapshot.d.ts +4 -0
- package/dist/components/toast-stack/useCallToasts.d.ts +0 -1
- package/dist/components/toast-stack/useToastCapacity.d.ts +7 -0
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/whiteboard-view/RecordingWhiteboardView.d.ts +0 -1
- package/dist/components/whiteboard-view/WhiteboardView.d.ts +0 -1
- package/dist/components/whiteboard-view/recording-whiteboard-state.d.ts +0 -1
- package/dist/headless.d.ts +0 -1
- package/dist/headless.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +24 -3
- package/dist/internal/call-motion.d.ts +0 -1
- package/dist/internal/sound-cues.d.ts +0 -1
- package/dist/internal/useEpisodeDuration.d.ts +0 -1
- package/dist/internal/useHaptics.d.ts +0 -1
- package/dist/internal/useMediaQuery.d.ts +0 -1
- package/dist/internal/useMirrorSetting.d.ts +0 -1
- package/dist/internal/useSoundCues.d.ts +0 -1
- package/dist/internal/useSoundsSetting.d.ts +0 -1
- package/dist/internal/useWhiteboardSceneSubscription.d.ts +0 -1
- package/dist/internal/whiteboard-view-limits.d.ts +1 -0
- package/dist/public-surface.contract.d.ts +1 -2
- package/dist/selectors/space-selectors.d.ts +0 -1
- package/dist/test-support/index.d.ts +0 -1
- package/dist/test-support/index.js +26 -4
- package/dist/test-support/preview-client.d.ts +0 -1
- package/dist/test-support/preview-devices.d.ts +0 -1
- package/dist/test-support/preview-fixtures.d.ts +0 -1
- package/dist/theme.d.ts +0 -1
- package/dist/utils/cn.d.ts +0 -1
- package/dist/utils/colorGenerator.d.ts +0 -1
- package/dist/utils/icons.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/theme.d.ts +0 -1
- package/dist/whiteboard/wire-adapters.d.ts +0 -1
- package/package.json +6 -5
- package/dist/bindings/context.d.ts.map +0 -1
- package/dist/bindings/hooks.d.ts.map +0 -1
- package/dist/components/admission-panel/AdmissionPanel.d.ts.map +0 -1
- package/dist/components/atomic/AudioIndicator.d.ts.map +0 -1
- package/dist/components/atomic/Avatar.d.ts.map +0 -1
- package/dist/components/atomic/HandRaiseIndicator.d.ts.map +0 -1
- package/dist/components/atomic/NameTag.d.ts.map +0 -1
- package/dist/components/atomic/ReactionBubble.d.ts.map +0 -1
- package/dist/components/atomic/StatusBadge.d.ts.map +0 -1
- package/dist/components/atomic/VolumeSlider.d.ts.map +0 -1
- package/dist/components/atomic/Waveform.d.ts.map +0 -1
- package/dist/components/atomic/index.d.ts.map +0 -1
- package/dist/components/audio-output/AudioOutput.d.ts.map +0 -1
- package/dist/components/call-card/CallCard.d.ts.map +0 -1
- package/dist/components/call-card/CallCardStyles.d.ts.map +0 -1
- package/dist/components/call-limbo/CallLimbo.d.ts.map +0 -1
- package/dist/components/call-limbo/CallReady.d.ts.map +0 -1
- package/dist/components/call-limbo/qr-code.d.ts.map +0 -1
- package/dist/components/call-limbo/useCallLink.d.ts.map +0 -1
- package/dist/components/chalk/Chalk.d.ts.map +0 -1
- package/dist/components/chalk/StatusSurface.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkAlert.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkBackdrop.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkBadge.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkButton.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkCopyButton.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkDialogPanel.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkDivider.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkEmptyState.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkIconButton.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkInput.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkMenu.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkPanel.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkPopover.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkSegmentedControl.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkSheet.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkSpinner.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkTextarea.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkToast.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkToggle.d.ts.map +0 -1
- package/dist/components/chalk-ui/ChalkTooltip.d.ts.map +0 -1
- package/dist/components/chalk-ui/common.d.ts.map +0 -1
- package/dist/components/chalk-ui/index.d.ts.map +0 -1
- package/dist/components/composite/ChatPanel.d.ts.map +0 -1
- package/dist/components/composite/CommandErrorAlert.d.ts.map +0 -1
- package/dist/components/composite/MessageBubble.d.ts.map +0 -1
- package/dist/components/composite/ReactionPicker.d.ts.map +0 -1
- package/dist/components/composite/ReactionTray.d.ts.map +0 -1
- package/dist/components/composite/ReactionsOverlay.d.ts.map +0 -1
- package/dist/components/composite/ScreenShareView.d.ts.map +0 -1
- package/dist/components/composite/chat-file-upload.d.ts.map +0 -1
- package/dist/components/composite/chat-panel-model.d.ts.map +0 -1
- package/dist/components/composite/chat-types.d.ts.map +0 -1
- package/dist/components/composite/chat-upload-file.d.ts.map +0 -1
- package/dist/components/composite/reaction-float.d.ts.map +0 -1
- package/dist/components/composite/use-chat-attachment-previews.d.ts.map +0 -1
- package/dist/components/control-bar/CallLinkIcon.d.ts.map +0 -1
- package/dist/components/control-bar/ControlBar.d.ts.map +0 -1
- package/dist/components/control-bar/DockLayout.d.ts.map +0 -1
- package/dist/components/control-bar/LeaveMenu.d.ts.map +0 -1
- package/dist/components/control-bar/ShareControl.d.ts.map +0 -1
- package/dist/components/control-bar/ShellIcon.d.ts.map +0 -1
- package/dist/components/control-bar/ShellStyles.d.ts.map +0 -1
- package/dist/components/control-bar/command-failure.d.ts.map +0 -1
- package/dist/components/control-bar/control-bar-behavior.d.ts.map +0 -1
- package/dist/components/control-bar/control-bar-button.d.ts.map +0 -1
- package/dist/components/control-bar/next-camera.d.ts.map +0 -1
- package/dist/components/device-popover/DevicePopover.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/lazy.d.ts.map +0 -1
- package/dist/components/logo/Logo.d.ts.map +0 -1
- package/dist/components/media-request-dialog/MediaRequestDialog.d.ts.map +0 -1
- package/dist/components/media-request-dialog/media-request-dialog-state.d.ts.map +0 -1
- package/dist/components/offline-actions/OfflineActions.d.ts.map +0 -1
- package/dist/components/participant-grid/ParticipantGrid.d.ts.map +0 -1
- package/dist/components/participant-tile/ParticipantTile.d.ts.map +0 -1
- package/dist/components/participant-tile/TileShell.d.ts.map +0 -1
- package/dist/components/participant-tile/useVideoTrack.d.ts.map +0 -1
- package/dist/components/participants-panel/ParticipantsPanel.d.ts.map +0 -1
- package/dist/components/participants-panel/index.d.ts.map +0 -1
- package/dist/components/participants-panel/participant-options-menu-contract.d.ts.map +0 -1
- package/dist/components/participants-panel/participant-options-menu.d.ts.map +0 -1
- package/dist/components/participants-panel/participant-row.d.ts.map +0 -1
- package/dist/components/participants-panel/participant-volume-context.d.ts.map +0 -1
- package/dist/components/reconnecting-overlay/ReconnectingOverlay.d.ts.map +0 -1
- package/dist/components/recording-history/RecordingHistoryPanel.d.ts.map +0 -1
- package/dist/components/space-header/CallDetails.d.ts.map +0 -1
- package/dist/components/space-header/LayoutMenu.d.ts.map +0 -1
- package/dist/components/space-header/SpaceHeader.d.ts.map +0 -1
- package/dist/components/space-header/call-diagnostics.d.ts.map +0 -1
- package/dist/components/space-header/share-qr.d.ts.map +0 -1
- package/dist/components/space-header/space-header-contract.d.ts.map +0 -1
- package/dist/components/space-header/useCallShortcuts.d.ts.map +0 -1
- package/dist/components/space-view/RecordingSpaceView.d.ts.map +0 -1
- package/dist/components/space-view/SpacePresentation.d.ts.map +0 -1
- package/dist/components/space-view/SpaceView.d.ts.map +0 -1
- package/dist/components/space-view/useDrawerPresence.d.ts.map +0 -1
- package/dist/components/stage/SpaceStage.d.ts.map +0 -1
- package/dist/components/stage/Stage.d.ts.map +0 -1
- package/dist/components/stage/StageContentTile.d.ts.map +0 -1
- package/dist/components/stage/StageIcon.d.ts.map +0 -1
- package/dist/components/stage/StageMotion.d.ts.map +0 -1
- package/dist/components/stage/stage-items.d.ts.map +0 -1
- package/dist/components/stage/stage-layout.d.ts.map +0 -1
- package/dist/components/stage/useStageDimensions.d.ts.map +0 -1
- package/dist/components/toast-stack/CallEventIcon.d.ts.map +0 -1
- package/dist/components/toast-stack/ToastStack.d.ts.map +0 -1
- package/dist/components/toast-stack/call-events.d.ts.map +0 -1
- package/dist/components/toast-stack/useCallToasts.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/components/whiteboard-view/RecordingWhiteboardView.d.ts.map +0 -1
- package/dist/components/whiteboard-view/WhiteboardView.d.ts.map +0 -1
- package/dist/components/whiteboard-view/recording-whiteboard-state.d.ts.map +0 -1
- package/dist/headless.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/internal/call-motion.d.ts.map +0 -1
- package/dist/internal/sound-cues.d.ts.map +0 -1
- package/dist/internal/useEpisodeDuration.d.ts.map +0 -1
- package/dist/internal/useHaptics.d.ts.map +0 -1
- package/dist/internal/useMediaQuery.d.ts.map +0 -1
- package/dist/internal/useMirrorSetting.d.ts.map +0 -1
- package/dist/internal/useSoundCues.d.ts.map +0 -1
- package/dist/internal/useSoundsSetting.d.ts.map +0 -1
- package/dist/internal/useWhiteboardSceneSubscription.d.ts.map +0 -1
- package/dist/public-surface.contract.d.ts.map +0 -1
- package/dist/selectors/space-selectors.d.ts.map +0 -1
- package/dist/test-support/index.d.ts.map +0 -1
- package/dist/test-support/preview-client.d.ts.map +0 -1
- package/dist/test-support/preview-devices.d.ts.map +0 -1
- package/dist/test-support/preview-fixtures.d.ts.map +0 -1
- package/dist/theme.d.ts.map +0 -1
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/colorGenerator.d.ts.map +0 -1
- package/dist/utils/icons.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/theme.d.ts.map +0 -1
- package/dist/whiteboard/wire-adapters.d.ts.map +0 -1
|
@@ -5,4 +5,3 @@ export interface ChalkIconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButt
|
|
|
5
5
|
readonly size?: "sm" | "md" | "lg";
|
|
6
6
|
}
|
|
7
7
|
export declare const ChalkIconButton: import("react").ForwardRefExoticComponent<ChalkIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
//# sourceMappingURL=ChalkIconButton.d.ts.map
|
|
@@ -5,4 +5,3 @@ export interface ChalkInputProps extends Omit<InputHTMLAttributes<HTMLInputEleme
|
|
|
5
5
|
readonly wrapperClassName?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ChalkInput: import("react").ForwardRefExoticComponent<ChalkInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
-
//# sourceMappingURL=ChalkInput.d.ts.map
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
export interface ChalkMenuProps {
|
|
3
3
|
readonly trigger: ReactElement;
|
|
4
|
+
readonly onOpenChange?: (open: boolean) => void;
|
|
4
5
|
readonly children: ReactNode;
|
|
5
6
|
readonly side?: "top" | "bottom";
|
|
6
7
|
readonly className?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare function ChalkMenu({ trigger, children, side, className }: ChalkMenuProps): import("react").JSX.Element;
|
|
9
|
+
export declare function ChalkMenu({ trigger, children, side, className, onOpenChange }: ChalkMenuProps): import("react").JSX.Element;
|
|
9
10
|
export interface ChalkMenuItemProps {
|
|
10
11
|
readonly children: ReactNode;
|
|
11
12
|
readonly checked?: boolean;
|
|
@@ -17,4 +18,3 @@ export declare function ChalkMenuItem({ children, checked, disabled, onClick, cl
|
|
|
17
18
|
export declare function ChalkMenuLabel({ children }: {
|
|
18
19
|
readonly children: ReactNode;
|
|
19
20
|
}): import("react").JSX.Element;
|
|
20
|
-
//# sourceMappingURL=ChalkMenu.d.ts.map
|
|
@@ -5,4 +5,3 @@ export interface ChalkPanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
5
5
|
readonly contentClassName?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ChalkPanel: import("react").ForwardRefExoticComponent<ChalkPanelProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
-
//# sourceMappingURL=ChalkPanel.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
export interface ChalkSheetProps {
|
|
3
|
-
readonly variant?: "default" | "details" | "panel" | "ready";
|
|
3
|
+
readonly variant?: "default" | "details" | "panel" | "ready" | "stage";
|
|
4
4
|
readonly open: boolean;
|
|
5
5
|
readonly onOpenChange: (open: boolean) => void;
|
|
6
6
|
readonly title: string;
|
|
@@ -9,4 +9,3 @@ export interface ChalkSheetProps {
|
|
|
9
9
|
}
|
|
10
10
|
/** Base UI owns the focus trap, Escape, outside press and return to the opener. */
|
|
11
11
|
export declare function ChalkSheet({ open, onOpenChange, title, accessibleLabel, children, variant }: ChalkSheetProps): import("react").JSX.Element;
|
|
12
|
-
//# sourceMappingURL=ChalkSheet.d.ts.map
|
|
@@ -5,4 +5,3 @@ export interface ChalkSpinnerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
5
5
|
readonly label?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ChalkSpinner: import("react").ForwardRefExoticComponent<ChalkSpinnerProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
//# sourceMappingURL=ChalkSpinner.d.ts.map
|
|
@@ -5,4 +5,3 @@ export interface ChalkTextareaProps extends TextareaHTMLAttributes<HTMLTextAreaE
|
|
|
5
5
|
readonly wrapperClassName?: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const ChalkTextarea: import("react").ForwardRefExoticComponent<ChalkTextareaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
8
|
-
//# sourceMappingURL=ChalkTextarea.d.ts.map
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
export interface ChalkToastProps {
|
|
3
3
|
readonly message: ReactNode;
|
|
4
|
+
/** Stable semantic identity for rich message content. Change it when the message changes. */
|
|
5
|
+
readonly announcementKey?: string;
|
|
6
|
+
/** Plain speech text for custom message components. Literal text and markup are read without mounting them. */
|
|
7
|
+
readonly announcementText?: string;
|
|
4
8
|
readonly icon?: ReactNode;
|
|
5
9
|
readonly type?: "info" | "success" | "warning" | "error";
|
|
6
10
|
readonly duration?: number;
|
|
@@ -8,7 +12,8 @@ export interface ChalkToastProps {
|
|
|
8
12
|
readonly label: string;
|
|
9
13
|
readonly onClick: () => void;
|
|
10
14
|
};
|
|
15
|
+
/** Enables live announcements. Pass false for an already-announced notice; a replacement message can enable the same mounted toast later. */
|
|
16
|
+
readonly announce?: boolean;
|
|
11
17
|
readonly onDismiss: () => void;
|
|
12
18
|
}
|
|
13
|
-
export declare function ChalkToast({ message, type, duration, action, icon, onDismiss }: ChalkToastProps): import("react").JSX.Element;
|
|
14
|
-
//# sourceMappingURL=ChalkToast.d.ts.map
|
|
19
|
+
export declare function ChalkToast({ message, announcementKey, announcementText, type, duration, action, icon, announce, onDismiss }: ChalkToastProps): import("react").JSX.Element;
|
|
@@ -7,4 +7,3 @@ export interface ChalkToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonEl
|
|
|
7
7
|
readonly tone?: ChalkTone;
|
|
8
8
|
}
|
|
9
9
|
export declare const ChalkToggle: import("react").ForwardRefExoticComponent<ChalkToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
//# sourceMappingURL=ChalkToggle.d.ts.map
|
|
@@ -8,4 +8,3 @@ export declare const CLASSIC_FOCUS_WITHIN_CLASSES = "focus-within:border-[var(--
|
|
|
8
8
|
export declare function classicToneSurfaceClasses(tone: ChalkTone): string;
|
|
9
9
|
export declare function classicTonePanelClasses(tone: ChalkTone): string;
|
|
10
10
|
export declare function mergeStyle(style: CSSProperties | undefined, position?: CSSProperties["position"]): CSSProperties;
|
|
11
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -34,4 +34,3 @@ export { ChalkCopyButton } from "./ChalkCopyButton";
|
|
|
34
34
|
export { ChalkSheet, type ChalkSheetProps } from "./ChalkSheet";
|
|
35
35
|
export { ChalkToast, type ChalkToastProps } from "./ChalkToast";
|
|
36
36
|
export { ChalkTooltip } from "./ChalkTooltip";
|
|
37
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -35,4 +35,3 @@ export interface ChatPanelSurfaceProps extends ChatPanelProps {
|
|
|
35
35
|
}
|
|
36
36
|
export declare const ChatPanelSurface: React.MemoExoticComponent<({ messages, pendingMessages, readReceipts, localReadThroughSequence, participantNames, onSendMessage, onReact, onUploadAttachment, pickChatFiles, onResolveAttachmentUrl, onMarkRead, onRetryMessage, onLoadOlder, hasOlder, loadingOlder, localParticipantId, onClose, disabled, placeholder, title, variant, generatedAvatars, error, messageDisplayTime, autoScrollBehavior, className, }: ChatPanelSurfaceProps) => React.JSX.Element>;
|
|
37
37
|
export declare const ChatPanel: React.MemoExoticComponent<(props: ChatPanelProps) => React.JSX.Element>;
|
|
38
|
-
//# sourceMappingURL=ChatPanel.d.ts.map
|
|
@@ -15,4 +15,3 @@ export interface ReactionPickerProps {
|
|
|
15
15
|
size?: "default" | "compact" | "mini";
|
|
16
16
|
}
|
|
17
17
|
export declare const ReactionPicker: React.MemoExoticComponent<({ isHandRaised, onToggleHandRaise, isOpen, onClose, onSelect, recentReactions, allowedReactions, position, participantColorSeed, participantGradientPreference, className, size }: ReactionPickerProps) => React.JSX.Element | null>;
|
|
18
|
-
//# sourceMappingURL=ReactionPicker.d.ts.map
|
|
@@ -13,4 +13,3 @@ export interface ReactionTrayProps {
|
|
|
13
13
|
* emojis, Home/End jump, Escape and clicking outside close. Focus lands on the first emoji.
|
|
14
14
|
*/
|
|
15
15
|
export declare function ReactionTray({ isHandRaised, onToggleHandRaise, reactions, onSelect, onClose, position, className }: ReactionTrayProps): React.JSX.Element;
|
|
16
|
-
//# sourceMappingURL=ReactionTray.d.ts.map
|
|
@@ -22,4 +22,3 @@ interface ReactionsOverlaySurfaceProps extends ReactionsOverlayProps {
|
|
|
22
22
|
export declare function ReactionsOverlaySurface({ reactions, maxVisible, className }: ReactionsOverlaySurfaceProps): React.JSX.Element;
|
|
23
23
|
export declare function ReactionsOverlay(props: ReactionsOverlayProps): React.JSX.Element;
|
|
24
24
|
export {};
|
|
25
|
-
//# sourceMappingURL=ReactionsOverlay.d.ts.map
|
|
@@ -29,4 +29,3 @@ export interface ScreenShareViewSurfaceProps extends Omit<ScreenSharePresentatio
|
|
|
29
29
|
export declare function ScreenSharePresentation({ sharedByName, media, mediaVisible, state, isLocal, hasAudio, capture, primary, pinned, hidden, style, onClick, onDoubleClick, onStopSharing, onChangeShare, switcher, className }: ScreenSharePresentationProps): React.JSX.Element;
|
|
30
30
|
export declare function ScreenShareViewSurface({ screenShareTrack, ...props }: ScreenShareViewSurfaceProps): React.JSX.Element;
|
|
31
31
|
export declare function ScreenShareView(props: ScreenShareViewProps): React.JSX.Element;
|
|
32
|
-
//# sourceMappingURL=ScreenShareView.d.ts.map
|
|
@@ -4,4 +4,3 @@ export interface UploadChatAttachmentOptions {
|
|
|
4
4
|
readonly randomUUID?: () => string;
|
|
5
5
|
}
|
|
6
6
|
export declare function uploadChatAttachment(file: ChatUploadFile, chatFiles: ChatFilesController, _options?: UploadChatAttachmentOptions): Promise<ChatAttachment>;
|
|
7
|
-
//# sourceMappingURL=chat-file-upload.d.ts.map
|
|
@@ -5,4 +5,3 @@ export declare const REACTION_LANES = 6;
|
|
|
5
5
|
export declare function hashReactionId(id: string): number;
|
|
6
6
|
/** Position a reaction directly from recording-relative time, with no CSS clock. */
|
|
7
7
|
export declare function reactionPresentationStyle(eventId: string, progress: number): CSSProperties;
|
|
8
|
-
//# sourceMappingURL=reaction-float.d.ts.map
|
|
@@ -4,4 +4,3 @@ export type { ControlBarProps, ControlBarButtonName } from "./control-bar-behavi
|
|
|
4
4
|
export declare function ControlBarPresentation(props: ControlBarSurfaceProps): React.JSX.Element;
|
|
5
5
|
export declare const ControlBarSurface: React.MemoExoticComponent<(props: ControlBarSurfaceProps) => React.JSX.Element>;
|
|
6
6
|
export declare function ControlBar(props: ControlBarProps): React.JSX.Element;
|
|
7
|
-
//# sourceMappingURL=ControlBar.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ScreenShareOptions } from "@q9labsai/chalk-client";
|
|
2
|
-
export declare function ShareControl({ sharing, onToggle, onStart }: {
|
|
2
|
+
export declare function ShareControl({ sharing, onToggle, onStart, disabled, startDisabled }: {
|
|
3
|
+
readonly disabled?: boolean;
|
|
4
|
+
readonly startDisabled?: boolean;
|
|
3
5
|
readonly sharing: boolean;
|
|
4
6
|
readonly onToggle?: () => void;
|
|
5
7
|
readonly onStart?: (options: ScreenShareOptions) => void;
|
|
6
8
|
}): import("react").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=ShareControl.d.ts.map
|
|
@@ -1,3 +1,106 @@
|
|
|
1
|
-
import { type ClientFailure } from "@q9labsai/chalk-client";
|
|
1
|
+
import { type ClientFailure, type MediaSource } from "@q9labsai/chalk-client";
|
|
2
|
+
export type MediaCommandSource = MediaSource | "speaker";
|
|
3
|
+
export type MediaCommandAction = "start" | "stop" | "select" | "test" | "request";
|
|
4
|
+
type Operation = MediaCommandAction | "change";
|
|
5
|
+
type Context = {
|
|
6
|
+
readonly source?: MediaCommandSource;
|
|
7
|
+
readonly recoverable: boolean;
|
|
8
|
+
};
|
|
9
|
+
type Copy = (context: Context) => string;
|
|
10
|
+
type Rule = {
|
|
11
|
+
readonly copy: Readonly<Record<Operation, Copy>>;
|
|
12
|
+
readonly retry: boolean;
|
|
13
|
+
};
|
|
2
14
|
export declare function commandFailure(cause: unknown): ClientFailure;
|
|
3
|
-
|
|
15
|
+
/** Every client code has a media-context policy. Non-media commands are preserved at the boundary below. */
|
|
16
|
+
export declare const MEDIA_FAILURE_POLICY: {
|
|
17
|
+
"access.invalid": Rule;
|
|
18
|
+
"access.unavailable": Rule;
|
|
19
|
+
"chat.cursor_reset_required": Rule;
|
|
20
|
+
"chat.payload_invalid": Rule;
|
|
21
|
+
"client.internal_error": Rule;
|
|
22
|
+
"collaboration.unavailable": Rule;
|
|
23
|
+
"command.rate_limited": Rule;
|
|
24
|
+
"command.rejected": Rule;
|
|
25
|
+
"connection.invalid_state": {
|
|
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;
|
|
33
|
+
};
|
|
34
|
+
retry: true;
|
|
35
|
+
};
|
|
36
|
+
"connection.join_cleanup_unconfirmed": Rule;
|
|
37
|
+
"connection.leave_unconfirmed": Rule;
|
|
38
|
+
"connection.media_recovery_exhausted": Rule;
|
|
39
|
+
"connection.media_start_failed": Rule;
|
|
40
|
+
"connection.state_digest_recovery_failed": Rule;
|
|
41
|
+
"connection.sync_recovery_exhausted": Rule;
|
|
42
|
+
"connection.sync_start_failed": Rule;
|
|
43
|
+
"connection.sync_hello_timeout": Rule;
|
|
44
|
+
"environment.unsupported": {
|
|
45
|
+
copy: {
|
|
46
|
+
stop: (context: Context) => string;
|
|
47
|
+
start: () => string;
|
|
48
|
+
request: () => string;
|
|
49
|
+
select: (context: Context) => "Media capture is unavailable in this environment. Use a supported browser over HTTPS or the native app." | "This browser can’t change your speaker. Use your system sound settings to choose an output device.";
|
|
50
|
+
test: () => string;
|
|
51
|
+
change: (context: Context) => "Media capture is unavailable in this environment. Use a supported browser over HTTPS or the native app." | "This browser can’t change your speaker. Use your system sound settings to choose an output device.";
|
|
52
|
+
};
|
|
53
|
+
retry: false;
|
|
54
|
+
};
|
|
55
|
+
"episode.ended": {
|
|
56
|
+
copy: {
|
|
57
|
+
start: () => string;
|
|
58
|
+
stop: () => string;
|
|
59
|
+
select: () => string;
|
|
60
|
+
test: () => string;
|
|
61
|
+
request: () => string;
|
|
62
|
+
change: () => string;
|
|
63
|
+
};
|
|
64
|
+
retry: false;
|
|
65
|
+
};
|
|
66
|
+
"media.permission_denied": Rule;
|
|
67
|
+
"media.device_not_found": Rule;
|
|
68
|
+
"media.device_busy": {
|
|
69
|
+
copy: Readonly<Record<Operation, Copy>>;
|
|
70
|
+
retry: true;
|
|
71
|
+
};
|
|
72
|
+
"media.device_constraint_invalid": Rule;
|
|
73
|
+
"media.capture_failed": {
|
|
74
|
+
copy: {
|
|
75
|
+
stop: (context: Context) => string;
|
|
76
|
+
select: (context: Context) => string;
|
|
77
|
+
test: (context: Context) => string;
|
|
78
|
+
start: Copy;
|
|
79
|
+
request: Copy;
|
|
80
|
+
change: (context: Context) => string;
|
|
81
|
+
};
|
|
82
|
+
retry: true;
|
|
83
|
+
};
|
|
84
|
+
"media.request_invalid": {
|
|
85
|
+
copy: {
|
|
86
|
+
test: () => string;
|
|
87
|
+
request: () => string;
|
|
88
|
+
select: (context: Context) => string;
|
|
89
|
+
start: () => string;
|
|
90
|
+
stop: () => string;
|
|
91
|
+
change: () => string;
|
|
92
|
+
};
|
|
93
|
+
retry: false;
|
|
94
|
+
};
|
|
95
|
+
"media.timeout": Rule;
|
|
96
|
+
"offline.discarded": Rule;
|
|
97
|
+
"participant.invalid": Rule;
|
|
98
|
+
"reaction.invalid": Rule;
|
|
99
|
+
"whiteboard.unavailable": Rule;
|
|
100
|
+
};
|
|
101
|
+
export declare function commandFailurePresentation(failure: ClientFailure, source?: MediaCommandSource, operation?: Operation, hasExactRetry?: boolean): {
|
|
102
|
+
readonly message: string;
|
|
103
|
+
readonly retry: boolean;
|
|
104
|
+
};
|
|
105
|
+
export declare function commandFailureMessage(failure: ClientFailure, source?: MediaCommandSource, operation?: MediaCommandAction): string;
|
|
106
|
+
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import
|
|
2
|
+
import { type MediaCommandSource, type MediaCommandAction } from "./command-failure";
|
|
3
|
+
import type { CameraPreview, ClientFailure, MediaSource, ScreenShareOptions } from "@q9labsai/chalk-client";
|
|
3
4
|
import { type ParticipantGradientPreference } from "../../utils/colorGenerator";
|
|
4
5
|
export interface MediaDevice {
|
|
5
6
|
deviceId: string;
|
|
@@ -18,6 +19,7 @@ export interface ControlBarSurfaceProps {
|
|
|
18
19
|
buttons?: ControlBarButtonName[];
|
|
19
20
|
microphoneTrack?: MediaStreamTrack | null;
|
|
20
21
|
cameraTrack?: MediaStreamTrack | null;
|
|
22
|
+
captureCameraPreview?: () => Promise<CameraPreview>;
|
|
21
23
|
microphoneWarning?: boolean;
|
|
22
24
|
cameraWarning?: boolean;
|
|
23
25
|
speakingWhileMuted?: boolean;
|
|
@@ -32,6 +34,8 @@ export interface ControlBarSurfaceProps {
|
|
|
32
34
|
knockCount?: number;
|
|
33
35
|
isMuted?: boolean;
|
|
34
36
|
microphonePending?: boolean;
|
|
37
|
+
mediaEnableDisabled?: boolean;
|
|
38
|
+
reactionsDisabled?: boolean;
|
|
35
39
|
cameraPending?: boolean;
|
|
36
40
|
isVideoEnabled?: boolean;
|
|
37
41
|
isScreenSharing?: boolean;
|
|
@@ -90,7 +94,8 @@ export interface ControlBarProps {
|
|
|
90
94
|
/** Set for hosts: the leave button opens a menu with Leave call and End call for everyone. */
|
|
91
95
|
readonly onEndForEveryone?: () => void;
|
|
92
96
|
readonly onLeft?: () => void;
|
|
93
|
-
|
|
97
|
+
/** The second argument retains the published MediaSource contract; the third also identifies speaker commands. */
|
|
98
|
+
readonly onCommandError?: (failure: ClientFailure | null, source?: MediaSource, commandSource?: MediaCommandSource, action?: MediaCommandAction, retryCommand?: () => Promise<unknown>) => void;
|
|
94
99
|
readonly participantColorSeed?: string;
|
|
95
100
|
readonly participantGradientPreference?: ParticipantGradientPreference;
|
|
96
101
|
readonly className?: string;
|
|
@@ -121,7 +126,8 @@ export declare function useControlBarSurfaceBehavior({ density, buttons, audioIn
|
|
|
121
126
|
interface ConnectedControlBarBehavior {
|
|
122
127
|
readonly surfaceProps: ControlBarSurfaceProps;
|
|
123
128
|
readonly commandError: ClientFailure | null;
|
|
129
|
+
readonly commandSource?: MediaCommandSource;
|
|
130
|
+
readonly commandAction?: MediaCommandAction;
|
|
124
131
|
}
|
|
125
132
|
export declare function useConnectedControlBarBehavior(props: ControlBarProps): ConnectedControlBarBehavior;
|
|
126
133
|
export {};
|
|
127
|
-
//# sourceMappingURL=control-bar-behavior.d.ts.map
|
|
@@ -21,4 +21,3 @@ interface ControlBarButtonProps {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const ControlBarButton: React.MemoExoticComponent<({ icon, label, active, danger, disabled, size, showLabel, inlineLabel, hideTooltip, noBorder, onClick, className, haptic, activeClassName, "data-tour": dataTour, ref }: ControlBarButtonProps) => React.JSX.Element>;
|
|
23
23
|
export {};
|
|
24
|
-
//# sourceMappingURL=control-bar-button.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import type { MediaDevice } from "./control-bar-behavior";
|
|
2
2
|
export declare function nextCamera(devices: readonly MediaDevice[], selectedId?: string, track?: Pick<MediaStreamTrack, "getSettings" | "getCapabilities"> | null): MediaDevice | undefined;
|
|
3
|
-
//# sourceMappingURL=next-camera.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CameraPreview as CameraPreviewHandle } from "@q9labsai/chalk-client";
|
|
1
2
|
import type { HapticInput } from "../../internal/useHaptics";
|
|
2
3
|
import type { MediaDevice } from "../control-bar/control-bar-behavior";
|
|
3
4
|
export interface DevicePopoverProps {
|
|
@@ -11,6 +12,7 @@ export interface DevicePopoverProps {
|
|
|
11
12
|
selectedSecondaryDeviceId?: string;
|
|
12
13
|
onSecondaryDeviceChange?: (deviceId: string) => void;
|
|
13
14
|
track?: MediaStreamTrack | null;
|
|
15
|
+
captureCameraPreview?: () => Promise<CameraPreviewHandle>;
|
|
14
16
|
warning?: boolean;
|
|
15
17
|
speakingWhileMuted?: boolean;
|
|
16
18
|
noiseSuppression?: boolean;
|
|
@@ -21,10 +23,10 @@ export interface DevicePopoverProps {
|
|
|
21
23
|
orientation?: "up" | "down";
|
|
22
24
|
className?: string;
|
|
23
25
|
disabled?: boolean;
|
|
26
|
+
toggleDisabled?: boolean;
|
|
24
27
|
busy?: boolean;
|
|
25
28
|
haptic?: HapticInput | false;
|
|
26
29
|
size?: "sm" | "md" | "lg";
|
|
27
30
|
appearance?: "default" | "floating";
|
|
28
31
|
}
|
|
29
|
-
export declare function DevicePopover({ type, isActive, onToggle, devices, selectedDeviceId, onDeviceChange, secondaryDevices, selectedSecondaryDeviceId, onSecondaryDeviceChange, track, warning, speakingWhileMuted, noiseSuppression, onNoiseSuppressionChange, mirrored, onMirrorChange, onTestSpeaker, orientation, className, disabled, busy, }: DevicePopoverProps): import("react").JSX.Element;
|
|
30
|
-
//# sourceMappingURL=DevicePopover.d.ts.map
|
|
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;
|
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-CYC2G42K.js";
|
|
9
9
|
import {
|
|
10
10
|
loadRecordingWhiteboardFiles,
|
|
11
11
|
parseRecordingWhiteboardStateV1,
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
ReactionsOverlay,
|
|
46
46
|
ScreenShareView,
|
|
47
47
|
Stage
|
|
48
|
-
} from "../chunk-
|
|
48
|
+
} from "../chunk-G62BKRNX.js";
|
|
49
49
|
import {
|
|
50
50
|
buildStageItems
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-HWQLW4JR.js";
|
|
52
52
|
import "../chunk-4U7QZC72.js";
|
|
53
53
|
export {
|
|
54
54
|
AdmissionPanel,
|
|
@@ -2,4 +2,3 @@ import { type ComponentType } from "react";
|
|
|
2
2
|
export declare const LazyChatPanel: import("react").LazyExoticComponent<import("react").MemoExoticComponent<(props: import(".").ChatPanelProps) => React.JSX.Element>>;
|
|
3
3
|
export declare function withSuspense<P extends object>(LazyComponent: ComponentType<P>, fallback?: React.ReactNode): (props: P) => import("react").JSX.Element;
|
|
4
4
|
export declare const SuspenseChatPanel: (props: import(".").ChatPanelProps) => import("react").JSX.Element;
|
|
5
|
-
//# sourceMappingURL=lazy.d.ts.map
|
|
@@ -10,4 +10,3 @@ export interface MediaRequestDialogProps {
|
|
|
10
10
|
}
|
|
11
11
|
export type { MediaRequestAction } from "./media-request-dialog-state";
|
|
12
12
|
export declare function MediaRequestDialog({ request, onDecline, onAllow, onActionError }: MediaRequestDialogProps): React.JSX.Element;
|
|
13
|
-
//# sourceMappingURL=MediaRequestDialog.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface MediaRequestDialogState {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function useMediaRequestDialogState({ request, onDecline, onAllow, onActionError }: MediaRequestDialogStateOptions): MediaRequestDialogState;
|
|
19
19
|
export {};
|
|
20
|
-
//# sourceMappingURL=media-request-dialog-state.d.ts.map
|
|
@@ -3,7 +3,7 @@ import React from "react";
|
|
|
3
3
|
export declare const RECONNECTING_GRACE_MS = 2000;
|
|
4
4
|
export declare function offlineNoticeText(pendingCount: number, online: boolean): string;
|
|
5
5
|
/** Keep queued actions automatic while preserving the reconnecting notice. */
|
|
6
|
-
export declare function OfflineActions({ reconnecting: requestedReconnecting }?: {
|
|
6
|
+
export declare function OfflineActions({ reconnecting: requestedReconnecting, hasNotice }?: {
|
|
7
7
|
readonly reconnecting?: boolean;
|
|
8
|
+
readonly hasNotice?: boolean;
|
|
8
9
|
}): React.JSX.Element | null;
|
|
9
|
-
//# sourceMappingURL=OfflineActions.d.ts.map
|
|
@@ -52,4 +52,3 @@ export declare const ParticipantGridSurface: React.MemoExoticComponent<({ partic
|
|
|
52
52
|
/** Empty stage message shared by the participant grid and the space views. */
|
|
53
53
|
export declare function QuietSpace(): React.JSX.Element;
|
|
54
54
|
export {};
|
|
55
|
-
//# sourceMappingURL=ParticipantGrid.d.ts.map
|
|
@@ -26,6 +26,9 @@ export interface ParticipantTileProps {
|
|
|
26
26
|
onClick?: () => void;
|
|
27
27
|
onDoubleClick?: () => void;
|
|
28
28
|
pinned?: boolean;
|
|
29
|
+
/** While the board is open, a click follows this person's view instead of pinning the tile. */
|
|
30
|
+
clickAction?: "pin" | "follow";
|
|
31
|
+
following?: boolean;
|
|
29
32
|
primary?: boolean;
|
|
30
33
|
className?: string;
|
|
31
34
|
style?: React.CSSProperties;
|
|
@@ -43,7 +46,6 @@ export interface ParticipantTileSurfaceProps extends Omit<ParticipantTileProps,
|
|
|
43
46
|
readonly animatedAvatars?: boolean;
|
|
44
47
|
}
|
|
45
48
|
export declare const ParticipantTile: React.MemoExoticComponent<({ videoTrack, ...props }: ParticipantTileProps) => React.JSX.Element>;
|
|
46
|
-
export declare const ParticipantTileSurface: React.MemoExoticComponent<({ participant, mirror, showName, showStatus, showAvatar, generatedAvatars, aspectRatio, onClick, onDoubleClick, pinned, primary, className, style, children, gradientPreference, hidden, media, mediaVisible, animatedAvatars, }: ParticipantTileSurfaceProps) => React.JSX.Element>;
|
|
49
|
+
export declare const ParticipantTileSurface: React.MemoExoticComponent<({ participant, mirror, showName, showStatus, showAvatar, generatedAvatars, aspectRatio, onClick, onDoubleClick, pinned, clickAction, following, primary, className, style, children, gradientPreference, hidden, media, mediaVisible, animatedAvatars, }: ParticipantTileSurfaceProps) => React.JSX.Element>;
|
|
47
50
|
/** The weak-connection cue shares the mockup's three compact signal bars. */
|
|
48
51
|
export declare function SignalBars(): React.JSX.Element;
|
|
49
|
-
//# sourceMappingURL=ParticipantTile.d.ts.map
|
|
@@ -3,6 +3,8 @@ export interface TileShellProps {
|
|
|
3
3
|
readonly label: string;
|
|
4
4
|
readonly accentColor: string;
|
|
5
5
|
readonly pinned?: boolean;
|
|
6
|
+
/** The 2px ring that marks the person whose view this board follows. */
|
|
7
|
+
readonly ring?: boolean;
|
|
6
8
|
readonly speaking?: boolean;
|
|
7
9
|
readonly audioLevel?: number;
|
|
8
10
|
readonly lift?: boolean;
|
|
@@ -17,5 +19,4 @@ export interface TileShellProps {
|
|
|
17
19
|
readonly children?: ReactNode;
|
|
18
20
|
}
|
|
19
21
|
/** One shared frame and bottom-left name tag for camera, screen and board tiles. */
|
|
20
|
-
export declare function TileShell({ label, accentColor, pinned, speaking, audioLevel, lift, onClick, onDoubleClick, className, style, dataTour, hidden, chip, corner, children }: TileShellProps): React.JSX.Element;
|
|
21
|
-
//# sourceMappingURL=TileShell.d.ts.map
|
|
22
|
+
export declare function TileShell({ label, accentColor, pinned, ring, speaking, audioLevel, lift, onClick, onDoubleClick, className, style, dataTour, hidden, chip, corner, children }: TileShellProps): React.JSX.Element;
|
|
@@ -13,4 +13,3 @@ export type VideoTrackStatus = "idle" | "loading" | "playing" | "muted" | "ended
|
|
|
13
13
|
* Detaches (clears srcObject) on change or unmount so tiles never show a frozen last frame.
|
|
14
14
|
*/
|
|
15
15
|
export declare function useVideoTrack(videoRef: RefObject<HTMLVideoElement | null>, track: MediaStreamTrack | null | undefined, enabled: boolean): VideoTrackStatus;
|
|
16
|
-
//# sourceMappingURL=useVideoTrack.d.ts.map
|
|
@@ -58,4 +58,3 @@ interface ParticipantsPanelSurfaceProps extends ParticipantsPanelProps {
|
|
|
58
58
|
export declare const ParticipantsPanelSurface: React.MemoExoticComponent<({ participants, canManageParticipants, canManageAdmission, admissionCount, admissionEnabled, onMuteEveryone, searchable, className, variant, onAssignRole, onStopParticipantScreenShare, onMuteParticipant, onRequestUnmute, onStopParticipantCamera, onRequestStartCamera, onRemoveParticipant, onUpdateDisplayName, onCommandError, participantVolumes, onParticipantVolumeChange, participantGradientPreference, generatedAvatars, }: ParticipantsPanelSurfaceProps) => React.JSX.Element>;
|
|
59
59
|
export declare const ParticipantsPanel: React.MemoExoticComponent<(props: ParticipantsPanelProps) => React.JSX.Element>;
|
|
60
60
|
export {};
|
|
61
|
-
//# sourceMappingURL=ParticipantsPanel.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface ParticipantOptionsMenuProps {
|
|
|
17
17
|
onCommandError?: (message: string | null) => void;
|
|
18
18
|
}
|
|
19
19
|
export declare function runParticipantAction(action: () => void | Promise<unknown>, onClose: () => void, onCommandError?: (message: string | null) => void): Promise<void>;
|
|
20
|
-
//# sourceMappingURL=participant-options-menu-contract.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { type ParticipantOptionsMenuProps } from "./participant-options-menu-contract";
|
|
2
2
|
export declare function ParticipantOptionsMenu({ participant, variant, canManageParticipants, onClose, onAssignRole, onStopParticipantScreenShare, onMuteParticipant, onRequestUnmute, onStopParticipantCamera, onRequestStartCamera, onRemoveParticipant, onEditName, participantVolumes, onParticipantVolumeChange, onCommandError, }: ParticipantOptionsMenuProps): import("react").JSX.Element;
|
|
3
3
|
export { runParticipantAction, type ParticipantOptionsMenuProps } from "./participant-options-menu-contract";
|
|
4
|
-
//# sourceMappingURL=participant-options-menu.d.ts.map
|
|
@@ -6,4 +6,3 @@ export interface ParticipantVolumeState {
|
|
|
6
6
|
}
|
|
7
7
|
export declare function ParticipantVolumeProvider({ children }: PropsWithChildren): React.JSX.Element;
|
|
8
8
|
export declare function useParticipantVolumeContext(): ParticipantVolumeState | null;
|
|
9
|
-
//# sourceMappingURL=participant-volume-context.d.ts.map
|
|
@@ -10,4 +10,3 @@ export interface ReconnectingOverlayProps {
|
|
|
10
10
|
showNotice?: boolean;
|
|
11
11
|
}
|
|
12
12
|
export declare const ReconnectingOverlay: import("react").MemoExoticComponent<({ isVisible, status, onRetry, onLeft, message, showNotice }: ReconnectingOverlayProps) => import("react").JSX.Element | null>;
|
|
13
|
-
//# sourceMappingURL=ReconnectingOverlay.d.ts.map
|