@bendyline/squisq-react 2.11.19 → 2.11.21
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/NOTICE.md +3 -3
- package/THIRD_PARTY_LICENSES.txt +20 -6
- package/dist/{MarkdownRenderer-CC9dOc6b.d.ts → MarkdownRenderer-C63CQ9Ca.d.ts} +2 -2
- package/dist/{TableLayer-B7ADuUGc.d.ts → TableLayer-CA18rzIJ.d.ts} +2 -2
- package/dist/{chunk-BMQ3EGOP.js → chunk-4HJBKCSY.js} +3 -3
- package/dist/{chunk-SVVPYDV3.js → chunk-7J4YN7EK.js} +1 -1
- package/dist/{chunk-WG7ALU5G.js → chunk-DI7CKFRY.js} +2 -2
- package/dist/{chunk-63G5OJWY.js → chunk-HCKL2AFN.js} +11 -7
- package/dist/{chunk-ZNW3DJAD.js → chunk-JEEBHC5W.js} +1 -1
- package/dist/{chunk-KJZF2U3I.js → chunk-LCBV2SE4.js} +1 -1
- package/dist/{chunk-YLFAOGJF.js → chunk-T7NVETOH.js} +2 -2
- package/dist/{chunk-J4BHV6UO.js → chunk-XQSZ55EQ.js} +1 -1
- package/dist/{chunk-LXOQCAU6.js → chunk-Y4YCIMES.js} +6 -6
- package/dist/{chunk-QXZXQPL3.js → chunk-Z7OW6RGR.js} +1 -1
- package/dist/diagram-pictures/index.js +4 -4
- package/dist/hooks/index.js +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +10 -10
- package/dist/json-view/index.d.ts +2 -2
- package/dist/json-view/index.js +4 -4
- package/dist/layers/index.d.ts +10 -11
- package/dist/layers/index.js +3 -3
- package/dist/markdown/index.d.ts +4 -5
- package/dist/markdown/index.js +3 -3
- package/dist/page/index.d.ts +8 -9
- package/dist/page/index.js +7 -7
- package/dist/player/index.d.ts +4 -5
- package/dist/player/index.js +8 -8
- package/dist/{player-xxe4LWQI.d.ts → player-BONjpRpG.d.ts} +19 -19
- package/dist/squisq-player.full.global.js +552 -492
- package/dist/squisq-player.global.js +85 -71
- package/dist/standalone-icon-styles.js +1 -1
- package/dist/standalone-player-full.js +1 -1
- package/dist/standalone-source.js +1 -1
- package/dist/styles/fa-brands-400-LA6RBN2H.woff2 +0 -0
- package/dist/styles/fa-regular-400-NCGHE5NP.woff2 +0 -0
- package/dist/styles/fa-solid-900-EFITDVWS.woff2 +0 -0
- package/dist/styles/index.css +622 -46
- package/package.json +8 -8
- package/dist/styles/fa-brands-400-AHOAZHCU.woff2 +0 -0
- package/dist/styles/fa-regular-400-VRZYIBIZ.woff2 +0 -0
- package/dist/styles/fa-solid-900-MDEYK55F.woff2 +0 -0
package/dist/page/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
3
|
import { Doc, ViewportConfig, Theme, SurfaceScheme, PageVariant, ThemePageStyle } from '@bendyline/squisq/schemas';
|
|
3
4
|
import { PageTransformHints, PageSectionMaterialization, PageSection, MaterializeBlockLayersOptions } from '@bendyline/squisq/doc';
|
|
4
5
|
import { HtmlPolicy } from '@bendyline/squisq/markdown';
|
|
5
6
|
import { FenceRendererMap } from '@bendyline/squisq/fence';
|
|
6
|
-
import { C as CodeBlockCopyHandler } from '../MarkdownRenderer-
|
|
7
|
-
export { a as CodeBlockCopyContext } from '../MarkdownRenderer-
|
|
8
|
-
import * as react from 'react';
|
|
9
|
-
import { ReactNode, CSSProperties } from 'react';
|
|
7
|
+
import { C as CodeBlockCopyHandler } from '../MarkdownRenderer-C63CQ9Ca.js';
|
|
8
|
+
export { a as CodeBlockCopyContext } from '../MarkdownRenderer-C63CQ9Ca.js';
|
|
10
9
|
|
|
11
10
|
interface LinearDocViewProps {
|
|
12
11
|
/**
|
|
@@ -103,7 +102,7 @@ type ImageDisplayMode = 'inline' | 'thumbnail';
|
|
|
103
102
|
* <LinearDocView doc={doc} basePath="/media/" />
|
|
104
103
|
* ```
|
|
105
104
|
*/
|
|
106
|
-
declare function LinearDocView({ doc, markdown, basePath, viewport, className, theme, surface, animationsEnabled, thinMargins, imageDisplayMode, globalKeyboardShortcuts, showCover, variant, transformPage, showCodeCopyButton, onCopyCode, fenceRenderers, htmlPolicy, linkSchemes, }: LinearDocViewProps):
|
|
105
|
+
declare function LinearDocView({ doc, markdown, basePath, viewport, className, theme, surface, animationsEnabled, thinMargins, imageDisplayMode, globalKeyboardShortcuts, showCover, variant, transformPage, showCodeCopyButton, onCopyCode, fenceRenderers, htmlPolicy, linkSchemes, }: LinearDocViewProps): react.JSX.Element;
|
|
107
106
|
|
|
108
107
|
interface PaginatedDocPage {
|
|
109
108
|
key: string;
|
|
@@ -137,7 +136,7 @@ interface PaginatedDocViewProps {
|
|
|
137
136
|
scrollerStyle?: CSSProperties;
|
|
138
137
|
pageStyle?: CSSProperties;
|
|
139
138
|
}
|
|
140
|
-
declare function PaginatedDocView({ doc, pages, linearViewProps, className, scrollerClassName, pageClassName, previousButtonClassName, nextButtonClassName, indicatorClassName, indicatorTextClassName, renderPreviousIcon, renderNextIcon, ariaLabel, initialPage, focusOnMount, einkMode, onPageChange, style, scrollerStyle, pageStyle: pageStyleOverride, }: PaginatedDocViewProps):
|
|
139
|
+
declare function PaginatedDocView({ doc, pages, linearViewProps, className, scrollerClassName, pageClassName, previousButtonClassName, nextButtonClassName, indicatorClassName, indicatorTextClassName, renderPreviousIcon, renderNextIcon, ariaLabel, initialPage, focusOnMount, einkMode, onPageChange, style, scrollerStyle, pageStyle: pageStyleOverride, }: PaginatedDocViewProps): react.JSX.Element;
|
|
141
140
|
|
|
142
141
|
interface PageSectionViewProps {
|
|
143
142
|
entry: PageSectionMaterialization;
|
|
@@ -146,12 +145,12 @@ interface PageSectionViewProps {
|
|
|
146
145
|
/** True when this is the doc's lead prose section (drop-cap target). */
|
|
147
146
|
isLeadProse?: boolean;
|
|
148
147
|
}
|
|
149
|
-
declare function PageSectionView({ entry, featureFlip, isLeadProse }: PageSectionViewProps):
|
|
148
|
+
declare function PageSectionView({ entry, featureFlip, isLeadProse }: PageSectionViewProps): react.JSX.Element;
|
|
150
149
|
|
|
151
150
|
interface CanvasSectionProps {
|
|
152
151
|
section: PageSection;
|
|
153
152
|
}
|
|
154
|
-
declare function CanvasSection({ section }: CanvasSectionProps):
|
|
153
|
+
declare function CanvasSection({ section }: CanvasSectionProps): react.JSX.Element | null;
|
|
155
154
|
|
|
156
155
|
interface PageViewContextValue {
|
|
157
156
|
theme: Theme;
|
package/dist/page/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaginatedDocView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JEEBHC5W.js";
|
|
4
4
|
import {
|
|
5
5
|
CanvasSection,
|
|
6
6
|
LinearDocView,
|
|
7
7
|
PageSectionView,
|
|
8
8
|
PageViewContext,
|
|
9
9
|
usePageView
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-4HJBKCSY.js";
|
|
11
11
|
import "../chunk-TT6ENR6T.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-T7NVETOH.js";
|
|
13
|
+
import "../chunk-LCBV2SE4.js";
|
|
14
|
+
import "../chunk-DI7CKFRY.js";
|
|
15
|
+
import "../chunk-Z7OW6RGR.js";
|
|
16
|
+
import "../chunk-HCKL2AFN.js";
|
|
17
17
|
export {
|
|
18
18
|
CanvasSection,
|
|
19
19
|
LinearDocView,
|
package/dist/player/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, b as PipPosition, a as PipShape, P as PipSize, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, G as SlideNavActions, H as SocialCaptionOverlay, S as SquisqRenderAPI, V as VideoPresentation, J as formatTime } from '../player-
|
|
2
|
-
export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler } from '../MarkdownRenderer-
|
|
3
|
-
import 'react
|
|
1
|
+
export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, f as CaptionStyle, g as ControlsLayout, D as DisplayMode, h as DocControlsBottom, i as DocControlsOverlay, j as DocControlsSidebar, k as DocControlsSlideshow, l as DocPlayer, m as DocPlayerProps, n as DocPlayerWithSidebar, o as DocProgressBar, F as FlashcardFaceView, p as FlashcardFaceViewProps, q as FlashcardView, r as FlashcardViewProps, I as InlineAudioPlayer, s as InlineAudioPlayerProps, t as InlineVideoPlayer, u as InlineVideoPlayerProps, M as MediaClipLayer, v as MediaClipLayerProps, b as PipPosition, a as PipShape, P as PipSize, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, G as SlideNavActions, H as SocialCaptionOverlay, S as SquisqRenderAPI, V as VideoPresentation, J as formatTime } from '../player-BONjpRpG.js';
|
|
2
|
+
export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler } from '../MarkdownRenderer-C63CQ9Ca.js';
|
|
3
|
+
import 'react';
|
|
4
4
|
import '@bendyline/squisq/schemas';
|
|
5
5
|
import '@bendyline/squisq/doc';
|
|
6
6
|
import '@bendyline/squisq/fence';
|
|
7
7
|
import '../AudioController-DwMsPe38.js';
|
|
8
|
-
import '../TableLayer-
|
|
9
|
-
import 'react';
|
|
8
|
+
import '../TableLayer-CA18rzIJ.js';
|
|
10
9
|
import '@bendyline/squisq/markdown';
|
package/dist/player/index.js
CHANGED
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
MediaClipLayer,
|
|
13
13
|
SocialCaptionOverlay,
|
|
14
14
|
formatTime
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-Y4YCIMES.js";
|
|
16
|
+
import "../chunk-4HJBKCSY.js";
|
|
17
|
+
import "../chunk-7J4YN7EK.js";
|
|
18
18
|
import "../chunk-TT6ENR6T.js";
|
|
19
19
|
import {
|
|
20
20
|
InlineAudioPlayer,
|
|
21
21
|
InlineVideoPlayer
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-T7NVETOH.js";
|
|
23
23
|
import {
|
|
24
24
|
BlockRenderer
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-LCBV2SE4.js";
|
|
26
|
+
import "../chunk-DI7CKFRY.js";
|
|
27
|
+
import "../chunk-Z7OW6RGR.js";
|
|
28
|
+
import "../chunk-HCKL2AFN.js";
|
|
29
29
|
export {
|
|
30
30
|
BlockRenderer,
|
|
31
31
|
CaptionOverlay,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
2
3
|
import { Block, VideoPresentation as VideoPresentation$1, VideoPipSize, VideoPipShape, VideoPipPosition, Doc, MediaScheduleOptions, Theme, MotionSpec, SurfaceScheme, Transition, CaptionTrack, ViewportConfig as ViewportConfig$1, CustomTemplateDefinition, ScheduledClip } from '@bendyline/squisq/schemas';
|
|
3
4
|
import { ViewportConfig, DashboardStyleId, CoverSlideTemplate, CoverSlidePlayback, FlashcardFace, FlashcardSourceMode } from '@bendyline/squisq/doc';
|
|
4
5
|
import { FenceRendererMap } from '@bendyline/squisq/fence';
|
|
5
6
|
import { a as AudioController } from './AudioController-DwMsPe38.js';
|
|
6
|
-
import { C as CodeBlockCopyHandler } from './MarkdownRenderer-
|
|
7
|
-
import { a as TableLayerContentRenderer } from './TableLayer-
|
|
8
|
-
import { CSSProperties } from 'react';
|
|
7
|
+
import { C as CodeBlockCopyHandler } from './MarkdownRenderer-C63CQ9Ca.js';
|
|
8
|
+
import { a as TableLayerContentRenderer } from './TableLayer-CA18rzIJ.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Doc Player Control Types
|
|
@@ -325,7 +325,7 @@ interface DocPlayerProps {
|
|
|
325
325
|
* machinery lives in `DocPlayerContent` so its hook order never changes
|
|
326
326
|
* when a doc appears or disappears.
|
|
327
327
|
*/
|
|
328
|
-
declare function DocPlayer(props: DocPlayerProps):
|
|
328
|
+
declare function DocPlayer(props: DocPlayerProps): react.JSX.Element;
|
|
329
329
|
|
|
330
330
|
type VideoEmbedMode = 'player' | 'poster' | 'placeholder';
|
|
331
331
|
|
|
@@ -372,7 +372,7 @@ interface BlockRendererProps {
|
|
|
372
372
|
*/
|
|
373
373
|
videoEmbeds?: VideoEmbedMode;
|
|
374
374
|
}
|
|
375
|
-
declare function BlockRenderer({ block, blockTime, basePath, isEntering, isExiting, transition, viewport, isPlaying, muted, animationsEnabled, theme, tableContentRenderer, growTextToFit, videoEmbeds, }: BlockRendererProps):
|
|
375
|
+
declare function BlockRenderer({ block, blockTime, basePath, isEntering, isExiting, transition, viewport, isPlaying, muted, animationsEnabled, theme, tableContentRenderer, growTextToFit, videoEmbeds, }: BlockRendererProps): react.JSX.Element;
|
|
376
376
|
|
|
377
377
|
interface CaptionOverlayProps {
|
|
378
378
|
/** Caption track with timestamped phrases */
|
|
@@ -395,7 +395,7 @@ interface CaptionOverlayProps {
|
|
|
395
395
|
/** Viewport config for social-style font scaling */
|
|
396
396
|
viewport?: ViewportConfig$1;
|
|
397
397
|
}
|
|
398
|
-
declare function CaptionOverlay({ captions, currentTime, enabled, fontSize, captionStyle, captionPosition, theme, viewport, }: CaptionOverlayProps):
|
|
398
|
+
declare function CaptionOverlay({ captions, currentTime, enabled, fontSize, captionStyle, captionPosition, theme, viewport, }: CaptionOverlayProps): react.JSX.Element;
|
|
399
399
|
|
|
400
400
|
interface SocialCaptionOverlayProps {
|
|
401
401
|
captions: CaptionTrack | undefined;
|
|
@@ -406,7 +406,7 @@ interface SocialCaptionOverlayProps {
|
|
|
406
406
|
/** Frame placement (default `'bottom'`). */
|
|
407
407
|
position?: CaptionPosition;
|
|
408
408
|
}
|
|
409
|
-
declare function SocialCaptionOverlay({ captions, currentTime, enabled, theme, viewport, position, }: SocialCaptionOverlayProps):
|
|
409
|
+
declare function SocialCaptionOverlay({ captions, currentTime, enabled, theme, viewport, position, }: SocialCaptionOverlayProps): react.JSX.Element | null;
|
|
410
410
|
|
|
411
411
|
interface DocControlsOverlayProps {
|
|
412
412
|
state: PlaybackState;
|
|
@@ -415,7 +415,7 @@ interface DocControlsOverlayProps {
|
|
|
415
415
|
expandedBlocks: Block[];
|
|
416
416
|
getBlockTitle?: (block: Block) => string;
|
|
417
417
|
}
|
|
418
|
-
declare function DocControlsOverlay({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocControlsOverlayProps):
|
|
418
|
+
declare function DocControlsOverlay({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocControlsOverlayProps): react.JSX.Element;
|
|
419
419
|
|
|
420
420
|
interface DocControlsBottomProps {
|
|
421
421
|
state: PlaybackState;
|
|
@@ -424,13 +424,13 @@ interface DocControlsBottomProps {
|
|
|
424
424
|
expandedBlocks: Block[];
|
|
425
425
|
getBlockTitle?: (block: Block) => string;
|
|
426
426
|
}
|
|
427
|
-
declare function DocControlsBottom({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocControlsBottomProps):
|
|
427
|
+
declare function DocControlsBottom({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocControlsBottomProps): react.JSX.Element;
|
|
428
428
|
|
|
429
429
|
interface DocControlsSidebarProps {
|
|
430
430
|
state: PlaybackState;
|
|
431
431
|
actions: PlaybackActions;
|
|
432
432
|
}
|
|
433
|
-
declare function DocControlsSidebar({ state, actions }: DocControlsSidebarProps):
|
|
433
|
+
declare function DocControlsSidebar({ state, actions }: DocControlsSidebarProps): react.JSX.Element;
|
|
434
434
|
|
|
435
435
|
interface SlideshowPickerItem {
|
|
436
436
|
/** Stable identifier for the slide/block. */
|
|
@@ -450,7 +450,7 @@ interface DocControlsSlideshowProps {
|
|
|
450
450
|
/** Called whenever the slide picker should open or close. */
|
|
451
451
|
onPickerOpenChange?: (open: boolean) => void;
|
|
452
452
|
}
|
|
453
|
-
declare function DocControlsSlideshow({ state, slideNav, slides, pickerOpen, onPickerOpenChange, }: DocControlsSlideshowProps):
|
|
453
|
+
declare function DocControlsSlideshow({ state, slideNav, slides, pickerOpen, onPickerOpenChange, }: DocControlsSlideshowProps): react.JSX.Element;
|
|
454
454
|
|
|
455
455
|
interface DocPlayerWithSidebarProps {
|
|
456
456
|
/** The Doc to play */
|
|
@@ -482,7 +482,7 @@ interface DocPlayerWithSidebarProps {
|
|
|
482
482
|
*/
|
|
483
483
|
theme?: Theme;
|
|
484
484
|
}
|
|
485
|
-
declare function DocPlayerWithSidebar({ doc, basePath, autoPlay, loop, onEnded, onTimeUpdate, audioController, animationsEnabled, muted, captionsEnabled, isFullscreen, onFullscreenToggle, forceViewport, onPlayingChange, theme, }: DocPlayerWithSidebarProps):
|
|
485
|
+
declare function DocPlayerWithSidebar({ doc, basePath, autoPlay, loop, onEnded, onTimeUpdate, audioController, animationsEnabled, muted, captionsEnabled, isFullscreen, onFullscreenToggle, forceViewport, onPlayingChange, theme, }: DocPlayerWithSidebarProps): react.JSX.Element;
|
|
486
486
|
|
|
487
487
|
interface DocProgressBarProps {
|
|
488
488
|
state: PlaybackState;
|
|
@@ -493,7 +493,7 @@ interface DocProgressBarProps {
|
|
|
493
493
|
/** Optional: get block title for hover tooltip */
|
|
494
494
|
getBlockTitle?: (block: Block) => string;
|
|
495
495
|
}
|
|
496
|
-
declare function DocProgressBar({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocProgressBarProps):
|
|
496
|
+
declare function DocProgressBar({ state, actions, blockMarkers, expandedBlocks, getBlockTitle, }: DocProgressBarProps): react.JSX.Element;
|
|
497
497
|
|
|
498
498
|
interface FlashcardViewProps {
|
|
499
499
|
doc: Doc;
|
|
@@ -522,8 +522,8 @@ interface FlashcardFaceViewProps {
|
|
|
522
522
|
customTemplates?: readonly CustomTemplateDefinition[];
|
|
523
523
|
}
|
|
524
524
|
/** Rich, theme-aware renderer for one materialized flashcard face. */
|
|
525
|
-
declare function FlashcardFaceView(props: FlashcardFaceViewProps):
|
|
526
|
-
declare function FlashcardView({ doc, theme, basePath, source, shuffle: initialShuffle, globalKeyboardShortcuts, showCodeCopyButton, onCopyCode, fenceRenderers, viewport, className, }: FlashcardViewProps):
|
|
525
|
+
declare function FlashcardFaceView(props: FlashcardFaceViewProps): react.JSX.Element;
|
|
526
|
+
declare function FlashcardView({ doc, theme, basePath, source, shuffle: initialShuffle, globalKeyboardShortcuts, showCodeCopyButton, onCopyCode, fenceRenderers, viewport, className, }: FlashcardViewProps): react.JSX.Element;
|
|
527
527
|
|
|
528
528
|
interface InlineVideoPlayerProps {
|
|
529
529
|
/** Source path — resolved through MediaContext when relative. */
|
|
@@ -545,7 +545,7 @@ interface InlineVideoPlayerProps {
|
|
|
545
545
|
/** Accessible name — a markdown reference's alt text; `<video>` has no `alt`. */
|
|
546
546
|
label?: string;
|
|
547
547
|
}
|
|
548
|
-
declare function InlineVideoPlayer({ src, basePath, width, height, poster, controls, preload, className, label, }: InlineVideoPlayerProps):
|
|
548
|
+
declare function InlineVideoPlayer({ src, basePath, width, height, poster, controls, preload, className, label, }: InlineVideoPlayerProps): react.JSX.Element | null;
|
|
549
549
|
|
|
550
550
|
interface InlineAudioPlayerProps {
|
|
551
551
|
/** Source path — resolved through MediaContext when relative. */
|
|
@@ -561,7 +561,7 @@ interface InlineAudioPlayerProps {
|
|
|
561
561
|
/** Accessible name — a markdown reference's alt text; `<audio>` has no `alt`. */
|
|
562
562
|
label?: string;
|
|
563
563
|
}
|
|
564
|
-
declare function InlineAudioPlayer({ src, basePath, controls, preload, className, label, }: InlineAudioPlayerProps):
|
|
564
|
+
declare function InlineAudioPlayer({ src, basePath, controls, preload, className, label, }: InlineAudioPlayerProps): react.JSX.Element | null;
|
|
565
565
|
|
|
566
566
|
interface MediaClipLayerProps {
|
|
567
567
|
schedule: ScheduledClip[];
|
|
@@ -586,6 +586,6 @@ interface MediaClipLayerProps {
|
|
|
586
586
|
/** Honor each scheduled video's authored placement override. Default true. */
|
|
587
587
|
honorClipPresentation?: boolean;
|
|
588
588
|
}
|
|
589
|
-
declare function MediaClipLayer({ schedule, currentTime, isPlaying, basePath, renderMode, muted, presentation, pipSize, pipShape, pipPosition, pipOrientation, pipFrameStyle, honorClipPresentation, }: MediaClipLayerProps):
|
|
589
|
+
declare function MediaClipLayer({ schedule, currentTime, isPlaying, basePath, renderMode, muted, presentation, pipSize, pipShape, pipPosition, pipOrientation, pipFrameStyle, honorClipPresentation, }: MediaClipLayerProps): react.JSX.Element | null;
|
|
590
590
|
|
|
591
591
|
export { type RenderChapterInfo as A, type BlockMarker as B, type CaptionMode as C, type DisplayMode as D, type RenderVideoFrameSelector as E, FlashcardFaceView as F, type SlideNavActions as G, SocialCaptionOverlay as H, InlineAudioPlayer as I, formatTime as J, MediaClipLayer as M, type PipSize as P, type RenderAudioSegmentInfo as R, type SquisqRenderAPI as S, type VideoPresentation as V, type PipShape as a, type PipPosition as b, BlockRenderer as c, CaptionOverlay as d, type CaptionPosition as e, type CaptionStyle as f, type ControlsLayout as g, DocControlsBottom as h, DocControlsOverlay as i, DocControlsSidebar as j, DocControlsSlideshow as k, DocPlayer as l, type DocPlayerProps as m, DocPlayerWithSidebar as n, DocProgressBar as o, type FlashcardFaceViewProps as p, FlashcardView as q, type FlashcardViewProps as r, type InlineAudioPlayerProps as s, InlineVideoPlayer as t, type InlineVideoPlayerProps as u, type MediaClipLayerProps as v, type PlaybackActions as w, type PlaybackState as x, type RenderBlockInfo as y, type RenderCaptionInfo as z };
|