@bendyline/squisq-react 2.11.20 → 2.11.22

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 CHANGED
@@ -8,9 +8,9 @@ Third-party components remain under their respective license terms.
8
8
 
9
9
  | Package | Version | License | Repository |
10
10
  | ----------------------------- | -------------------- | ----------------------------- | ------------------------------------------- |
11
- | @fortawesome/fontawesome-free | 7.2.0 | CC-BY-4.0 AND OFL-1.1 AND MIT | https://github.com/FortAwesome/Font-Awesome |
12
- | mermaid | 11.16.1 | MIT | https://github.com/mermaid-js/mermaid |
13
- | preact _(bundled)_ | 10.29.0 | MIT | https://github.com/preactjs/preact |
11
+ | @fortawesome/fontawesome-free | 7.3.1 | CC-BY-4.0 AND OFL-1.1 AND MIT | https://github.com/FortAwesome/Font-Awesome |
12
+ | mermaid | 11.17.2 | MIT | https://github.com/mermaid-js/mermaid |
13
+ | preact _(bundled)_ | 10.29.8 | MIT | https://github.com/preactjs/preact |
14
14
  | react _(peer)_ | ^18.0.0 \|\| ^19.0.0 | MIT | https://github.com/facebook/react |
15
15
  | react-dom _(peer)_ | ^18.0.0 \|\| ^19.0.0 | MIT | https://github.com/facebook/react |
16
16
 
@@ -7,7 +7,7 @@ repository license, the pinned upstream copy is vendored and identified below.
7
7
  COMPONENTS
8
8
  - @braintree/sanitize-url@7.1.2 (MIT); files: LICENSE
9
9
  - @iconify/utils@3.1.4 (MIT); files: license.txt
10
- - @mermaid-js/parser@1.2.0 (MIT); files: LICENSE
10
+ - @mermaid-js/parser@1.2.1 (MIT); files: LICENSE
11
11
  - @upsetjs/venn.js@2.0.0 (MIT); files: LICENSE
12
12
  - bail@2.0.2 (MIT); files: license
13
13
  - ccount@2.0.1 (MIT); files: license
@@ -65,6 +65,7 @@ COMPONENTS
65
65
  - es-toolkit@1.49.0 (MIT); files: LICENSE
66
66
  - escape-string-regexp@5.0.0 (MIT); files: license
67
67
  - extend@3.0.2 (MIT); files: LICENSE
68
+ - fastdom@1.0.12 (MIT); files: VENDORED-fastdom-1.0.12.txt
68
69
  - fault@2.0.1 (MIT); files: license
69
70
  - format@0.2.2 (MIT); files: VENDORED-format-0.2.2.txt
70
71
  - hast-util-from-html@2.0.3 (MIT); files: license
@@ -100,7 +101,7 @@ COMPONENTS
100
101
  - mdast-util-phrasing@4.1.0 (MIT); files: license
101
102
  - mdast-util-to-markdown@2.1.2 (MIT); files: license
102
103
  - mdast-util-to-string@4.0.0 (MIT); files: license
103
- - mermaid@11.16.1 (MIT); files: LICENSE
104
+ - mermaid@11.17.2 (MIT); files: LICENSE
104
105
  - micromark-core-commonmark@2.0.3 (MIT); files: license
105
106
  - micromark-extension-directive@3.0.2 (MIT); files: license
106
107
  - micromark-extension-frontmatter@2.0.0 (MIT); files: license
@@ -132,7 +133,7 @@ COMPONENTS
132
133
  - micromark@4.0.2 (MIT); files: license
133
134
  - parse-entities@4.0.2 (MIT); files: license
134
135
  - parse5@7.3.0 (MIT); files: LICENSE
135
- - preact@10.29.0 (MIT); files: LICENSE
136
+ - preact@10.29.8 (MIT); files: LICENSE
136
137
  - property-information@7.1.0 (MIT); files: license
137
138
  - remark-directive@3.0.1 (MIT); files: license
138
139
  - remark-frontmatter@5.0.0 (MIT); files: license
@@ -210,7 +211,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
210
211
  SOFTWARE.
211
212
 
212
213
  ==============================================================================
213
- @mermaid-js/parser@1.2.0 - LICENSE
214
+ @mermaid-js/parser@1.2.1 - LICENSE
214
215
  ==============================================================================
215
216
  The MIT License (MIT)
216
217
 
@@ -2062,6 +2063,19 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2062
2063
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2063
2064
 
2064
2065
 
2066
+ ==============================================================================
2067
+ fastdom@1.0.12 - VENDORED-fastdom-1.0.12.txt
2068
+ ==============================================================================
2069
+ (The MIT License)
2070
+
2071
+ Copyright (c) 2016 Wilson Page <wilsonpage@me.com>
2072
+
2073
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2074
+
2075
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2076
+
2077
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2078
+
2065
2079
  ==============================================================================
2066
2080
  fault@2.0.1 - license
2067
2081
  ==============================================================================
@@ -2985,7 +2999,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
2985
2999
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2986
3000
 
2987
3001
  ==============================================================================
2988
- mermaid@11.16.1 - LICENSE
3002
+ mermaid@11.17.2 - LICENSE
2989
3003
  ==============================================================================
2990
3004
  The MIT License (MIT)
2991
3005
 
@@ -3813,7 +3827,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3813
3827
  THE SOFTWARE.
3814
3828
 
3815
3829
  ==============================================================================
3816
- preact@10.29.0 - LICENSE
3830
+ preact@10.29.8 - LICENSE
3817
3831
  ==============================================================================
3818
3832
  The MIT License (MIT)
3819
3833
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { Theme } from '@bendyline/squisq/schemas';
3
3
  import { FenceRendererMap } from '@bendyline/squisq/fence';
4
4
  import { MarkdownBlockNode, HtmlPolicy } from '@bendyline/squisq/markdown';
@@ -57,6 +57,6 @@ interface MarkdownRendererProps {
57
57
  * <MarkdownRenderer nodes={block.contents} />
58
58
  * ```
59
59
  */
60
- declare function MarkdownRenderer({ nodes, className, htmlPolicy, linkSchemes, theme, showCodeCopyButton, onCopyCode, fenceRenderers, }: MarkdownRendererProps): react_jsx_runtime.JSX.Element | null;
60
+ declare function MarkdownRenderer({ nodes, className, htmlPolicy, linkSchemes, theme, showCodeCopyButton, onCopyCode, fenceRenderers, }: MarkdownRendererProps): react.JSX.Element | null;
61
61
 
62
62
  export { type CodeBlockCopyHandler as C, MarkdownRenderer as M, type CodeBlockCopyContext as a, type MarkdownRendererProps as b };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ComponentType, ReactNode } from 'react';
3
3
  import { Block, TableLayer as TableLayer$1 } from '@bendyline/squisq/schemas';
4
4
 
@@ -26,6 +26,6 @@ interface TableLayerProps {
26
26
  /** Optional host renderer for interactive table content. */
27
27
  contentRenderer?: TableLayerContentRenderer;
28
28
  }
29
- declare function TableLayer({ block, layer, viewport, blockTime, contentRenderer, }: TableLayerProps): react_jsx_runtime.JSX.Element;
29
+ declare function TableLayer({ block, layer, viewport, blockTime, contentRenderer, }: TableLayerProps): react.JSX.Element;
30
30
 
31
31
  export { TableLayer as T, type TableLayerContentRenderer as a, type TableLayerContentRendererProps as b };
@@ -3615,7 +3615,7 @@ function DocPlayerContent({
3615
3615
  isEntering: false,
3616
3616
  viewport: activeViewport,
3617
3617
  muted: renderMode || muted,
3618
- animationsEnabled,
3618
+ animationsEnabled: animationsEnabled && !renderMode,
3619
3619
  theme: effectiveTheme,
3620
3620
  tableContentRenderer,
3621
3621
  growTextToFit: isSlideshowMode,
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- import { S as SquisqRenderAPI, V as VideoPresentation$1, P as PipSize, a as PipShape, b as PipPosition } from './player-xxe4LWQI.js';
2
- export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, e as CaptionPosition, 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, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, E as RenderVideoFrameSelector, G as SlideNavActions, H as SocialCaptionOverlay, J as formatTime } from './player-xxe4LWQI.js';
1
+ import { S as SquisqRenderAPI, V as VideoPresentation$1, P as PipSize, a as PipShape, b as PipPosition } from './player-BONjpRpG.js';
2
+ export { B as BlockMarker, c as BlockRenderer, C as CaptionMode, d as CaptionOverlay, e as CaptionPosition, 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, w as PlaybackActions, x as PlaybackState, R as RenderAudioSegmentInfo, y as RenderBlockInfo, z as RenderCaptionInfo, A as RenderChapterInfo, E as RenderVideoFrameSelector, G as SlideNavActions, H as SocialCaptionOverlay, J as formatTime } from './player-BONjpRpG.js';
3
3
  import { Theme, VideoPresentation, VideoPipSize, VideoPipShape, VideoPipPosition, MotionSpec, Doc, ScheduledClip, MediaProvider } from '@bendyline/squisq/schemas';
4
4
  import { DashboardStyleId, ViewportConfig, CoverSlideTemplate, CoverSlidePlayback } from '@bendyline/squisq/doc';
5
5
  export { getAnimationStyle, getTransitionClass } from '@bendyline/squisq/doc';
6
- import { C as CodeBlockCopyHandler } from './MarkdownRenderer-CC9dOc6b.js';
7
- export { a as CodeBlockCopyContext, M as MarkdownRenderer, b as MarkdownRendererProps } from './MarkdownRenderer-CC9dOc6b.js';
6
+ import { C as CodeBlockCopyHandler } from './MarkdownRenderer-C63CQ9Ca.js';
7
+ export { a as CodeBlockCopyContext, M as MarkdownRenderer, b as MarkdownRendererProps } from './MarkdownRenderer-C63CQ9Ca.js';
8
8
  export { FenceRendererContext, MermaidDiagram, MermaidDiagramProps, VideoEmbedFrame, VideoEmbedFrameProps, useFenceRenderers } from './markdown/index.js';
9
9
  export { CanvasSection, CanvasSectionProps, ImageDisplayMode, LinearDocView, LinearDocViewProps, PageSectionView, PageSectionViewProps, PageViewContext, PageViewContextValue, PaginatedDocPage, PaginatedDocView, PaginatedDocViewProps, usePageView } from './page/index.js';
10
- import * as react_jsx_runtime from 'react/jsx-runtime';
10
+ import * as react from 'react';
11
11
  import { RefObject } from 'react';
12
12
  import { AnimatedImageInfo } from '@bendyline/squisq/imageEdit';
13
13
  export { ImageLayer, MapLayer, MermaidLayer, PathLayer, ShapeLayer, TextLayer, TreeLayer, VideoLayer } from './layers/index.js';
14
- export { T as TableLayer, a as TableLayerContentRenderer, b as TableLayerContentRendererProps } from './TableLayer-B7ADuUGc.js';
14
+ export { T as TableLayer, a as TableLayerContentRenderer, b as TableLayerContentRendererProps } from './TableLayer-CA18rzIJ.js';
15
15
  export { MediaContext, MediaScheduleController, ModalDialogOptions, ResourcePolicyContext, UseDocPlaybackOptions, useAudioSync, useAutoSurface, useDocPlayback, useMediaProvider, useMediaSchedule, useMediaUrl, useModalDialog, useResourcePolicy, useViewportOrientation } from './hooks/index.js';
16
16
  export { FenceRenderContext, FenceRenderer, FenceRendererMap } from '@bendyline/squisq/fence';
17
17
  export { A as AudioActions, a as AudioController, b as AudioState } from './AudioController-DwMsPe38.js';
@@ -172,7 +172,7 @@ interface DashboardViewProps {
172
172
  onRenderAPIReady?: (api: SquisqRenderAPI | null) => void;
173
173
  className?: string;
174
174
  }
175
- declare function DashboardView({ doc, theme, viewport, layout, showTitle, style, documentTitle, basePath, animationsEnabled, muted, renderMode, onRenderAPIReady, className, }: DashboardViewProps): react_jsx_runtime.JSX.Element;
175
+ declare function DashboardView({ doc, theme, viewport, layout, showTitle, style, documentTitle, basePath, animationsEnabled, muted, renderMode, onRenderAPIReady, className, }: DashboardViewProps): react.JSX.Element;
176
176
 
177
177
  type AnimatedImageStatus = 'playing' | 'paused' | 'ended';
178
178
  interface AnimatedImagePlayback {
@@ -203,7 +203,7 @@ interface AnimatedImageControlsProps {
203
203
  * positioned box the image fills. */
204
204
  imageRef: RefObject<HTMLImageElement | null>;
205
205
  }
206
- declare function AnimatedImageControls({ playback, imageRef }: AnimatedImageControlsProps): react_jsx_runtime.JSX.Element | null;
206
+ declare function AnimatedImageControls({ playback, imageRef }: AnimatedImageControlsProps): react.JSX.Element | null;
207
207
 
208
208
  interface DocPlayerAppearanceOverrides {
209
209
  theme?: Theme;
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  formatTime,
16
16
  resolveDocPlayerAppearance,
17
17
  useMediaClipDurations
18
- } from "./chunk-Y4YCIMES.js";
18
+ } from "./chunk-SIAUVDFB.js";
19
19
  import {
20
20
  PaginatedDocView
21
21
  } from "./chunk-JEEBHC5W.js";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { SquisqAnnotatedSchema } from '@bendyline/squisq/jsonForm';
3
3
  import { Theme, SurfaceScheme } from '@bendyline/squisq/schemas';
4
4
  import { FenceRenderContext, FenceRenderer } from '@bendyline/squisq/fence';
@@ -17,7 +17,7 @@ interface JsonViewProps {
17
17
  /** Optional CSS class for the outer container. */
18
18
  className?: string;
19
19
  }
20
- declare function JsonView(props: JsonViewProps): react_jsx_runtime.JSX.Element;
20
+ declare function JsonView(props: JsonViewProps): react.JSX.Element;
21
21
 
22
22
  /**
23
23
  * Built-in fence renderer: a fence's JSON / YAML-subset body rendered
@@ -1,7 +1,6 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
2
  import { ImageLayer as ImageLayer$1, TextLayer as TextLayer$1, ShapeLayer as ShapeLayer$1, PathLayer as PathLayer$1, VideoLayer as VideoLayer$1, TreeLayer as TreeLayer$1, MapLayer as MapLayer$1, MermaidLayer as MermaidLayer$1, Theme } from '@bendyline/squisq/schemas';
3
- export { T as TableLayer, a as TableLayerContentRenderer, b as TableLayerContentRendererProps } from '../TableLayer-B7ADuUGc.js';
4
- import 'react';
3
+ export { T as TableLayer, a as TableLayerContentRenderer, b as TableLayerContentRendererProps } from '../TableLayer-CA18rzIJ.js';
5
4
 
6
5
  interface ImageLayerProps {
7
6
  layer: ImageLayer$1;
@@ -17,7 +16,7 @@ interface ImageLayerProps {
17
16
  /** Whether authored and responsive image motion should run. */
18
17
  animationsEnabled?: boolean;
19
18
  }
20
- declare function ImageLayer({ layer, basePath, viewport, blockTime, animationsEnabled, }: ImageLayerProps): react_jsx_runtime.JSX.Element;
19
+ declare function ImageLayer({ layer, basePath, viewport, blockTime, animationsEnabled, }: ImageLayerProps): react.JSX.Element;
21
20
 
22
21
  interface TextLayerProps {
23
22
  layer: TextLayer$1;
@@ -35,7 +34,7 @@ interface TextLayerProps {
35
34
  * Dispatch between the plain SVG-text renderer and the rich HTML renderer
36
35
  * based on whether the layer carries `content.html`.
37
36
  */
38
- declare function TextLayer(props: TextLayerProps): react_jsx_runtime.JSX.Element;
37
+ declare function TextLayer(props: TextLayerProps): react.JSX.Element;
39
38
 
40
39
  interface ShapeLayerProps {
41
40
  layer: ShapeLayer$1;
@@ -47,7 +46,7 @@ interface ShapeLayerProps {
47
46
  /** Current time relative to block start */
48
47
  blockTime: number;
49
48
  }
50
- declare function ShapeLayer({ layer, viewport, blockTime }: ShapeLayerProps): react_jsx_runtime.JSX.Element;
49
+ declare function ShapeLayer({ layer, viewport, blockTime }: ShapeLayerProps): react.JSX.Element;
51
50
 
52
51
  interface PathLayerProps {
53
52
  layer: PathLayer$1;
@@ -59,7 +58,7 @@ interface PathLayerProps {
59
58
  /** Current time relative to block start. */
60
59
  blockTime: number;
61
60
  }
62
- declare function PathLayer({ layer, viewport, blockTime }: PathLayerProps): react_jsx_runtime.JSX.Element;
61
+ declare function PathLayer({ layer, viewport, blockTime }: PathLayerProps): react.JSX.Element;
63
62
 
64
63
  interface VideoLayerProps {
65
64
  layer: VideoLayer$1;
@@ -77,7 +76,7 @@ interface VideoLayerProps {
77
76
  /** Silence the video's own audio track. */
78
77
  muted?: boolean;
79
78
  }
80
- declare function VideoLayer({ layer, basePath, viewport, blockTime, isPlaying, muted, }: VideoLayerProps): react_jsx_runtime.JSX.Element;
79
+ declare function VideoLayer({ layer, basePath, viewport, blockTime, isPlaying, muted, }: VideoLayerProps): react.JSX.Element;
81
80
 
82
81
  interface TreeLayerProps {
83
82
  layer: TreeLayer$1;
@@ -87,7 +86,7 @@ interface TreeLayerProps {
87
86
  };
88
87
  blockTime: number;
89
88
  }
90
- declare function TreeLayer({ layer, viewport, blockTime }: TreeLayerProps): react_jsx_runtime.JSX.Element;
89
+ declare function TreeLayer({ layer, viewport, blockTime }: TreeLayerProps): react.JSX.Element;
91
90
 
92
91
  interface MapLayerProps {
93
92
  layer: MapLayer$1;
@@ -101,7 +100,7 @@ interface MapLayerProps {
101
100
  /** Current time relative to block start (for animation timing) */
102
101
  blockTime: number;
103
102
  }
104
- declare function MapLayer({ layer, basePath, viewport, blockTime }: MapLayerProps): react_jsx_runtime.JSX.Element;
103
+ declare function MapLayer({ layer, basePath, viewport, blockTime }: MapLayerProps): react.JSX.Element;
105
104
 
106
105
  interface MermaidLayerProps {
107
106
  layer: MermaidLayer$1;
@@ -113,6 +112,6 @@ interface MermaidLayerProps {
113
112
  theme?: Theme;
114
113
  }
115
114
  /** Mermaid diagram hosted in HTML inside the slide SVG. */
116
- declare function MermaidLayer({ layer, viewport, blockTime, theme }: MermaidLayerProps): react_jsx_runtime.JSX.Element;
115
+ declare function MermaidLayer({ layer, viewport, blockTime, theme }: MermaidLayerProps): react.JSX.Element;
117
116
 
118
117
  export { ImageLayer, MapLayer, MermaidLayer, PathLayer, ShapeLayer, TextLayer, TreeLayer, VideoLayer };
@@ -1,8 +1,7 @@
1
- export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler, M as MarkdownRenderer, b as MarkdownRendererProps } from '../MarkdownRenderer-CC9dOc6b.js';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler, M as MarkdownRenderer, b as MarkdownRendererProps } from '../MarkdownRenderer-C63CQ9Ca.js';
2
+ import * as react from 'react';
3
3
  import { Theme } from '@bendyline/squisq/schemas';
4
4
  import { VideoEmbed } from '@bendyline/squisq/markdown';
5
- import * as react from 'react';
6
5
  import { FenceRendererMap } from '@bendyline/squisq/fence';
7
6
  export { FenceRenderContext, FenceRenderer, FenceRendererMap } from '@bendyline/squisq/fence';
8
7
 
@@ -14,7 +13,7 @@ interface MermaidDiagramProps {
14
13
  theme?: Theme;
15
14
  }
16
15
  /** Read-only Mermaid rendering for page bodies and slide layers. */
17
- declare function MermaidDiagram({ source, className, ariaLabel, theme, }: MermaidDiagramProps): react_jsx_runtime.JSX.Element;
16
+ declare function MermaidDiagram({ source, className, ariaLabel, theme, }: MermaidDiagramProps): react.JSX.Element;
18
17
 
19
18
  interface VideoEmbedFrameProps {
20
19
  /** The recognized video (`parseVideoEmbedUrl` / `findBlockVideoEmbed`). */
@@ -34,7 +33,7 @@ interface VideoEmbedFrameProps {
34
33
  /** Extra className on the root element. */
35
34
  className?: string;
36
35
  }
37
- declare function VideoEmbedFrame({ embed, title, showCaption, inline, className, }: VideoEmbedFrameProps): react_jsx_runtime.JSX.Element;
36
+ declare function VideoEmbedFrame({ embed, title, showCaption, inline, className, }: VideoEmbedFrameProps): react.JSX.Element;
38
37
 
39
38
  declare const FenceRendererContext: react.Context<FenceRendererMap | null>;
40
39
  /** The ambient registry, or null when no provider wraps this subtree. */
@@ -1,12 +1,11 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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-CC9dOc6b.js';
7
- export { a as CodeBlockCopyContext } from '../MarkdownRenderer-CC9dOc6b.js';
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element | null;
153
+ declare function CanvasSection({ section }: CanvasSectionProps): react.JSX.Element | null;
155
154
 
156
155
  interface PageViewContextValue {
157
156
  theme: Theme;
@@ -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-xxe4LWQI.js';
2
- export { a as CodeBlockCopyContext, C as CodeBlockCopyHandler } from '../MarkdownRenderer-CC9dOc6b.js';
3
- import 'react/jsx-runtime';
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-B7ADuUGc.js';
9
- import 'react';
8
+ import '../TableLayer-CA18rzIJ.js';
10
9
  import '@bendyline/squisq/markdown';
@@ -12,7 +12,7 @@ import {
12
12
  MediaClipLayer,
13
13
  SocialCaptionOverlay,
14
14
  formatTime
15
- } from "../chunk-Y4YCIMES.js";
15
+ } from "../chunk-SIAUVDFB.js";
16
16
  import "../chunk-4HJBKCSY.js";
17
17
  import "../chunk-7J4YN7EK.js";
18
18
  import "../chunk-TT6ENR6T.js";
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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-CC9dOc6b.js';
7
- import { a as TableLayerContentRenderer } from './TableLayer-B7ADuUGc.js';
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element | null;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element;
526
- declare function FlashcardView({ doc, theme, basePath, source, shuffle: initialShuffle, globalKeyboardShortcuts, showCodeCopyButton, onCopyCode, fenceRenderers, viewport, className, }: FlashcardViewProps): react_jsx_runtime.JSX.Element;
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): react_jsx_runtime.JSX.Element | null;
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): react_jsx_runtime.JSX.Element | null;
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): react_jsx_runtime.JSX.Element | null;
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 };