obi-sdk 0.19.59-beta.0 → 0.19.59-beta.1

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.
@@ -0,0 +1,36 @@
1
+ import React from "react";
2
+ import { type ControlBarProps, CoursePanel, type CoursePanelCourse, type DialogCloseReason, type DialogProps } from "@obi/cor-components";
3
+ export type MobileCourseDialogContentProps = {
4
+ /**
5
+ * Props forwarded to the meeting ControlBar beneath the main panel.
6
+ */
7
+ controlBarProps: ControlBarProps;
8
+ /**
9
+ * Courses shown in the course selection panel when no custom main panel is supplied.
10
+ */
11
+ courses: CoursePanelCourse[];
12
+ /**
13
+ * Props forwarded to CoursePanel to control selection behaviour/state.
14
+ */
15
+ coursePanelProps?: Omit<React.ComponentProps<typeof CoursePanel>, "courses">;
16
+ /**
17
+ * Optional replacement content for the main panel.
18
+ * When provided, this replaces the default CoursePanel.
19
+ */
20
+ mainPanel?: React.ReactNode;
21
+ /**
22
+ * Called when the return to PiP button is clicked.
23
+ * The button is only shown when this callback is provided.
24
+ */
25
+ onReturnToPiP?: () => void;
26
+ className?: string;
27
+ };
28
+ /**
29
+ * MobileCourseDialogContent renders the mobile-optimized course dialog layout without owning state.
30
+ */
31
+ export declare function MobileCourseDialogContent(props: MobileCourseDialogContentProps): import("react/jsx-runtime").JSX.Element;
32
+ export type MobileCourseDialogProps = MobileCourseDialogContentProps & Pick<DialogProps, "open"> & {
33
+ onClose?: (reason: DialogCloseReason) => void;
34
+ dialogProps?: Omit<DialogProps, "open" | "onClose" | "variant" | "children">;
35
+ };
36
+ export declare function MobileCourseDialog(props: MobileCourseDialogProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obi-sdk",
3
- "version": "0.19.59-beta.0",
3
+ "version": "0.19.59-beta.1",
4
4
  "description": "JavaScript SDK for Obi",
5
5
  "type": "module",
6
6
  "main": "dist/obi-sdk.umd.js",