@bendyline/squisq-react 2.12.10 → 2.12.11
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/{chunk-WACTP75S.js → chunk-S73QOMOR.js} +1 -1
- package/dist/{chunk-R7PHQNC7.js → chunk-VT7JZORD.js} +1 -1
- package/dist/{chunk-DN6JZRJI.js → chunk-VX5XFSGI.js} +7 -5
- package/dist/{chunk-4JZJEJNO.js → chunk-WWVCJLRY.js} +3 -3
- package/dist/{chunk-6BKIY72Q.js → chunk-YLTG7BV5.js} +1 -1
- package/dist/diagram-pictures/index.js +2 -2
- package/dist/index.js +5 -5
- package/dist/layers/index.js +1 -1
- package/dist/page/index.js +4 -4
- package/dist/player/index.js +4 -4
- package/dist/squisq-player.full.global.js +361 -357
- package/dist/squisq-player.global.js +77 -73
- package/dist/standalone-player-full.js +1 -1
- package/dist/standalone-source.js +1 -1
- package/package.json +2 -2
|
@@ -613,10 +613,7 @@ function PlainTextLayer({ layer, viewport, blockTime, textScale = 1 }) {
|
|
|
613
613
|
style: textStyles,
|
|
614
614
|
filter: filterId ? `url(#${filterId})` : void 0,
|
|
615
615
|
transform: fitTransform,
|
|
616
|
-
children: lines.map((line, i) => /* @__PURE__ */
|
|
617
|
-
renderLine(line),
|
|
618
|
-
" "
|
|
619
|
-
] }, i))
|
|
616
|
+
children: lines.map((line, i) => /* @__PURE__ */ jsx3("tspan", { x, dy: i === 0 ? firstLineDy + baselineShiftPx : lineHeightPx, children: renderLine(line) }, i))
|
|
620
617
|
}
|
|
621
618
|
)
|
|
622
619
|
}
|
|
@@ -856,7 +853,11 @@ function ShapeLayer({ layer, viewport, blockTime }) {
|
|
|
856
853
|
const animStyle = getAnimationStyle(animation, blockTime);
|
|
857
854
|
const fill = content.fill || "none";
|
|
858
855
|
const isCSSGradient = typeof fill === "string" && fill.includes("gradient(");
|
|
859
|
-
|
|
856
|
+
const backdropFilter = content.shape === "rect" ? [
|
|
857
|
+
content.backdropBlur ? `blur(${content.backdropBlur}px)` : "",
|
|
858
|
+
content.backdropContrast !== void 0 ? `contrast(${content.backdropContrast})` : ""
|
|
859
|
+
].filter(Boolean).join(" ") : "";
|
|
860
|
+
if (content.shape === "rect" && (isCSSGradient && !content.gradient || backdropFilter)) {
|
|
860
861
|
return (
|
|
861
862
|
// Shape layers are visual primitives. In particular, theme top-layers
|
|
862
863
|
// can cover the whole slide; they must not shield interactive table,
|
|
@@ -876,6 +877,7 @@ function ShapeLayer({ layer, viewport, blockTime }) {
|
|
|
876
877
|
height: `${paintHeight}px`,
|
|
877
878
|
background: fill,
|
|
878
879
|
borderRadius: content.borderRadius ? `${content.borderRadius}px` : void 0,
|
|
880
|
+
...backdropFilter ? { backdropFilter, WebkitBackdropFilter: backdropFilter } : {},
|
|
879
881
|
pointerEvents: "none"
|
|
880
882
|
}
|
|
881
883
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LinearDocView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YLTG7BV5.js";
|
|
4
4
|
import {
|
|
5
5
|
useAudioSync,
|
|
6
6
|
useDocPlayback,
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
} from "./chunk-FLPGMUXM.js";
|
|
16
16
|
import {
|
|
17
17
|
BlockRenderer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-S73QOMOR.js";
|
|
19
19
|
import {
|
|
20
20
|
isCaptureDrivenVideo,
|
|
21
21
|
seekVideoToFrame
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VX5XFSGI.js";
|
|
23
23
|
import {
|
|
24
24
|
useMediaProvider,
|
|
25
25
|
useMediaUrl,
|
package/dist/index.js
CHANGED
|
@@ -17,17 +17,17 @@ import {
|
|
|
17
17
|
resolveDocPlayerAppearance,
|
|
18
18
|
useBuildNavigation,
|
|
19
19
|
useMediaClipDurations
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WWVCJLRY.js";
|
|
21
21
|
import {
|
|
22
22
|
PaginatedDocView
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VT7JZORD.js";
|
|
24
24
|
import {
|
|
25
25
|
CanvasSection,
|
|
26
26
|
LinearDocView,
|
|
27
27
|
PageSectionView,
|
|
28
28
|
PageViewContext,
|
|
29
29
|
usePageView
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-YLTG7BV5.js";
|
|
31
31
|
import {
|
|
32
32
|
useModalDialog
|
|
33
33
|
} from "./chunk-JP457U6N.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-FLPGMUXM.js";
|
|
58
58
|
import {
|
|
59
59
|
BlockRenderer
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-S73QOMOR.js";
|
|
61
61
|
import {
|
|
62
62
|
ImageLayer,
|
|
63
63
|
MapLayer,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
VideoLayer,
|
|
72
72
|
getAnimationStyle,
|
|
73
73
|
getTransitionClass
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-VX5XFSGI.js";
|
|
75
75
|
import {
|
|
76
76
|
MermaidDiagram
|
|
77
77
|
} from "./chunk-BXPGK5VO.js";
|
package/dist/layers/index.js
CHANGED
package/dist/page/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PaginatedDocView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-VT7JZORD.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-YLTG7BV5.js";
|
|
11
11
|
import "../chunk-TT6ENR6T.js";
|
|
12
12
|
import "../chunk-FLPGMUXM.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-S73QOMOR.js";
|
|
14
|
+
import "../chunk-VX5XFSGI.js";
|
|
15
15
|
import "../chunk-BXPGK5VO.js";
|
|
16
16
|
import "../chunk-P6MT4F3R.js";
|
|
17
17
|
export {
|
package/dist/player/index.js
CHANGED
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
MediaClipLayer,
|
|
13
13
|
SocialCaptionOverlay,
|
|
14
14
|
formatTime
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-WWVCJLRY.js";
|
|
16
|
+
import "../chunk-YLTG7BV5.js";
|
|
17
17
|
import "../chunk-M44RDTSG.js";
|
|
18
18
|
import "../chunk-TT6ENR6T.js";
|
|
19
19
|
import {
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
} from "../chunk-FLPGMUXM.js";
|
|
23
23
|
import {
|
|
24
24
|
BlockRenderer
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-S73QOMOR.js";
|
|
26
|
+
import "../chunk-VX5XFSGI.js";
|
|
27
27
|
import "../chunk-BXPGK5VO.js";
|
|
28
28
|
import "../chunk-P6MT4F3R.js";
|
|
29
29
|
export {
|