@bendyline/squisq-react 2.12.11 → 2.12.12
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/VideoLayer-sT0mrnNQ.d.ts +53 -0
- package/dist/{chunk-YLTG7BV5.js → chunk-4CMA33X3.js} +1 -1
- package/dist/{chunk-VX5XFSGI.js → chunk-BESMDAOC.js} +20 -9
- package/dist/{chunk-M44RDTSG.js → chunk-BFZAPNGC.js} +5 -2
- package/dist/{chunk-S73QOMOR.js → chunk-KT5524OQ.js} +6 -2
- package/dist/{chunk-WWVCJLRY.js → chunk-KTDEA4WA.js} +5 -4
- package/dist/{chunk-VT7JZORD.js → chunk-WIJP7FUN.js} +1 -1
- package/dist/diagram-pictures/index.js +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/layers/index.d.ts +3 -21
- package/dist/layers/index.js +1 -1
- package/dist/page/index.js +4 -4
- package/dist/player/index.d.ts +2 -2
- package/dist/player/index.js +5 -5
- package/dist/{player-BdckuwwB.d.ts → player-C-k_8OaA.d.ts} +8 -2
- package/dist/squisq-player.full.global.js +372 -371
- package/dist/squisq-player.global.js +78 -77
- package/dist/standalone-player-full.js +1 -1
- package/dist/standalone-source.js +1 -1
- package/package.json +2 -2
- package/dist/TableLayer-CA18rzIJ.d.ts +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bendyline/squisq-react",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.12",
|
|
4
4
|
"description": "React component library for doc playback, block rendering, and media layers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Bendyline",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@bendyline/squisq": "2.13.
|
|
106
|
+
"@bendyline/squisq": "2.13.3",
|
|
107
107
|
"@bendyline/squisq-graph": "2.13.0",
|
|
108
108
|
"@fortawesome/fontawesome-free": "7.3.1",
|
|
109
109
|
"mermaid": "11.17.2"
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
import { ComponentType, ReactNode } from 'react';
|
|
3
|
-
import { Block, TableLayer as TableLayer$1 } from '@bendyline/squisq/schemas';
|
|
4
|
-
|
|
5
|
-
interface TableLayerContentRendererProps {
|
|
6
|
-
/** Owning block, including sourceBlockId for transformed projections. */
|
|
7
|
-
block: Block;
|
|
8
|
-
layer: TableLayer$1;
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
/** Native themed table used while custom data is unavailable. */
|
|
12
|
-
fallback: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
type TableLayerContentRenderer = ComponentType<TableLayerContentRendererProps>;
|
|
15
|
-
interface TableLayerProps {
|
|
16
|
-
/** Owning block (custom renderers use its id to resolve sidecar data). */
|
|
17
|
-
block?: Block;
|
|
18
|
-
layer: TableLayer$1;
|
|
19
|
-
/** Viewport dimensions for percentage calculations */
|
|
20
|
-
viewport: {
|
|
21
|
-
width: number;
|
|
22
|
-
height: number;
|
|
23
|
-
};
|
|
24
|
-
/** Current time relative to block start (for animation) */
|
|
25
|
-
blockTime: number;
|
|
26
|
-
/** Optional host renderer for interactive table content. */
|
|
27
|
-
contentRenderer?: TableLayerContentRenderer;
|
|
28
|
-
}
|
|
29
|
-
declare function TableLayer({ block, layer, viewport, blockTime, contentRenderer, }: TableLayerProps): react.JSX.Element;
|
|
30
|
-
|
|
31
|
-
export { TableLayer as T, type TableLayerContentRenderer as a, type TableLayerContentRendererProps as b };
|