@aperture-browser/session-react 0.0.0-nightly.94.647ec69595a0 → 0.0.0-nightly.96.6277b64804e5
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/dist/index.d.ts +15 -2
- package/dist/index.js +283 -273
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,19 @@ interface ApertureSessionFeatures extends SessionFeatures {
|
|
|
20
20
|
type ResolvedSessionFeatures = Required<SessionFeatures>;
|
|
21
21
|
declare function resolveSessionFeatures(features?: SessionFeatures): ResolvedSessionFeatures;
|
|
22
22
|
//#endregion
|
|
23
|
+
//#region src/ui-root.d.ts
|
|
24
|
+
type ApertureTheme = "light" | "dark" | "system";
|
|
25
|
+
interface ApertureUIRootProps {
|
|
26
|
+
readonly theme?: ApertureTheme;
|
|
27
|
+
readonly className?: string;
|
|
28
|
+
readonly children?: ReactNode;
|
|
29
|
+
}
|
|
30
|
+
declare function ApertureUIRoot({
|
|
31
|
+
theme,
|
|
32
|
+
className,
|
|
33
|
+
children
|
|
34
|
+
}: ApertureUIRootProps): import("react").JSX.Element;
|
|
35
|
+
//#endregion
|
|
23
36
|
//#region src/aperture-session.d.ts
|
|
24
37
|
interface SessionProps {
|
|
25
38
|
readonly access: SessionAccess$1 | null;
|
|
@@ -28,7 +41,7 @@ interface SessionProps {
|
|
|
28
41
|
}
|
|
29
42
|
interface ApertureSessionProps extends SessionProps {
|
|
30
43
|
readonly features?: ApertureSessionFeatures;
|
|
31
|
-
readonly theme?:
|
|
44
|
+
readonly theme?: ApertureTheme;
|
|
32
45
|
readonly className?: string;
|
|
33
46
|
}
|
|
34
47
|
declare function ApertureSession({
|
|
@@ -93,5 +106,5 @@ declare function BrowserViewport({
|
|
|
93
106
|
//#region src/notices.d.ts
|
|
94
107
|
declare function showNotice(notice: SessionNotice): void;
|
|
95
108
|
//#endregion
|
|
96
|
-
export { ApertureProvider, ApertureProviderProps, ApertureRuntime, ApertureRuntimeOptions, ApertureSession, ApertureSessionFeatures, ApertureSessionProps, BrowserCommands, BrowserControlPane, BrowserMediaPath, BrowserMediaPhase, BrowserViewport, BrowserViewportProps, ClipboardError, CollaborationControl, type CollaborationCursor, type CollaborationError, type CollaborationLeaseMode, type CollaborationPaintEvent, type CollaborationPaintPoint, type CollaborationParticipant, type CollaborationPhase, type CollaborationRole, LiveSessionControl, LiveSessionError, LiveSessionMediaSelection, LiveSessionMediaSize, LiveSessionViewportOwnership, ResolvedSessionFeatures, RuntimeProvider, RuntimeProviderMissingError, Session, type SessionAccess, SessionFeatures, SessionNotice, SessionProps, SessionStatus, SessionViewport, SessionViewportOverlay, SessionViewportPlaceholder, SessionViewportProps, SessionViewportStatus, UseBrowserControlResult, UseSessionOptions, UseSessionResult, collaborationPaintLifetimeMs, copyText, copyTextWithToast, devToolsUrl, makeApertureRuntime, resolveSessionFeatures, shareSessionAccess, showNotice, useBaseUrl, useBrowserControl, useEffectCallback, useFork, useLiveSession, useRunApi, useRuntime, useSession };
|
|
109
|
+
export { ApertureProvider, ApertureProviderProps, ApertureRuntime, ApertureRuntimeOptions, ApertureSession, ApertureSessionFeatures, ApertureSessionProps, ApertureTheme, ApertureUIRoot, ApertureUIRootProps, BrowserCommands, BrowserControlPane, BrowserMediaPath, BrowserMediaPhase, BrowserViewport, BrowserViewportProps, ClipboardError, CollaborationControl, type CollaborationCursor, type CollaborationError, type CollaborationLeaseMode, type CollaborationPaintEvent, type CollaborationPaintPoint, type CollaborationParticipant, type CollaborationPhase, type CollaborationRole, LiveSessionControl, LiveSessionError, LiveSessionMediaSelection, LiveSessionMediaSize, LiveSessionViewportOwnership, ResolvedSessionFeatures, RuntimeProvider, RuntimeProviderMissingError, Session, type SessionAccess, SessionFeatures, SessionNotice, SessionProps, SessionStatus, SessionViewport, SessionViewportOverlay, SessionViewportPlaceholder, SessionViewportProps, SessionViewportStatus, UseBrowserControlResult, UseSessionOptions, UseSessionResult, collaborationPaintLifetimeMs, copyText, copyTextWithToast, devToolsUrl, makeApertureRuntime, resolveSessionFeatures, shareSessionAccess, showNotice, useBaseUrl, useBrowserControl, useEffectCallback, useFork, useLiveSession, useRunApi, useRuntime, useSession };
|
|
97
110
|
//# sourceMappingURL=index.d.ts.map
|