@bendyline/squisq-react 2.12.15 → 2.12.16
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/THIRD_PARTY_LICENSES.txt +3 -3
- package/dist/{chunk-KHWLCMZY.js → chunk-3Y62AJBT.js} +3 -3
- package/dist/{chunk-KL4ORZBF.js → chunk-H3HW6MU5.js} +1 -1
- package/dist/{chunk-FFCQT2UN.js → chunk-MPTT6UJ4.js} +1 -1
- package/dist/{chunk-TGITCMIQ.js → chunk-TOI34QD7.js} +4 -3
- package/dist/{chunk-QVPEJ6YE.js → chunk-Z23W4GCL.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 +417 -417
- package/dist/squisq-player.global.js +84 -84
- package/dist/standalone-player-full.js +1 -1
- package/dist/standalone-source.js +1 -1
- package/package.json +2 -2
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -61,7 +61,7 @@ COMPONENTS
|
|
|
61
61
|
- decode-named-character-reference@1.3.0 (MIT); files: license
|
|
62
62
|
- delaunator@5.1.0 (ISC); files: LICENSE
|
|
63
63
|
- devlop@1.1.0 (MIT); files: license
|
|
64
|
-
- dompurify@3.4.
|
|
64
|
+
- dompurify@3.4.16 ((MPL-2.0 OR Apache-2.0)); files: LICENSE, LICENSE-MPL
|
|
65
65
|
- entities@6.0.1 (BSD-2-Clause); files: LICENSE
|
|
66
66
|
- es-toolkit@1.49.0 (MIT); files: LICENSE
|
|
67
67
|
- escape-string-regexp@5.0.0 (MIT); files: license
|
|
@@ -1571,7 +1571,7 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
1571
1571
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1572
1572
|
|
|
1573
1573
|
==============================================================================
|
|
1574
|
-
dompurify@3.4.
|
|
1574
|
+
dompurify@3.4.16 - LICENSE
|
|
1575
1575
|
==============================================================================
|
|
1576
1576
|
|
|
1577
1577
|
Apache License
|
|
@@ -1777,7 +1777,7 @@ dompurify@3.4.17 - LICENSE
|
|
|
1777
1777
|
limitations under the License.
|
|
1778
1778
|
|
|
1779
1779
|
==============================================================================
|
|
1780
|
-
dompurify@3.4.
|
|
1780
|
+
dompurify@3.4.16 - LICENSE-MPL
|
|
1781
1781
|
==============================================================================
|
|
1782
1782
|
Mozilla Public License Version 2.0
|
|
1783
1783
|
==================================
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LinearDocView
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z23W4GCL.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-MPTT6UJ4.js";
|
|
19
19
|
import {
|
|
20
20
|
isCaptureDrivenVideo,
|
|
21
21
|
seekVideoToFrame
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TOI34QD7.js";
|
|
23
23
|
import {
|
|
24
24
|
useMediaProvider,
|
|
25
25
|
useMediaUrl,
|
|
@@ -514,9 +514,8 @@ function PlainTextLayer({ layer, viewport, blockTime, textScale = 1 }) {
|
|
|
514
514
|
const maxW = boxWidth ?? viewport.width;
|
|
515
515
|
const maxH = boxHeight ?? viewport.height;
|
|
516
516
|
const scale = Math.min(1, maxW / bbox.width, maxH / bbox.height);
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
);
|
|
517
|
+
const cy = dominantBaseline === "middle" ? bbox.y + bbox.height / 2 : dominantBaseline === "text-after-edge" ? bbox.y + bbox.height : bbox.y;
|
|
518
|
+
setFit(scale < 0.995 ? { scale, cx: x, cy } : null);
|
|
520
519
|
} catch {
|
|
521
520
|
}
|
|
522
521
|
};
|
|
@@ -534,6 +533,8 @@ function PlainTextLayer({ layer, viewport, blockTime, textScale = 1 }) {
|
|
|
534
533
|
}, [
|
|
535
534
|
shrinkToFit,
|
|
536
535
|
linesKey,
|
|
536
|
+
x,
|
|
537
|
+
dominantBaseline,
|
|
537
538
|
boxWidth,
|
|
538
539
|
boxHeight,
|
|
539
540
|
viewport.width,
|
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-3Y62AJBT.js";
|
|
21
21
|
import {
|
|
22
22
|
PaginatedDocView
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-H3HW6MU5.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-Z23W4GCL.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-MPTT6UJ4.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-TOI34QD7.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-H3HW6MU5.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-Z23W4GCL.js";
|
|
11
11
|
import "../chunk-TT6ENR6T.js";
|
|
12
12
|
import "../chunk-FLPGMUXM.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-MPTT6UJ4.js";
|
|
14
|
+
import "../chunk-TOI34QD7.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-3Y62AJBT.js";
|
|
16
|
+
import "../chunk-Z23W4GCL.js";
|
|
17
17
|
import "../chunk-BFZAPNGC.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-MPTT6UJ4.js";
|
|
26
|
+
import "../chunk-TOI34QD7.js";
|
|
27
27
|
import "../chunk-BXPGK5VO.js";
|
|
28
28
|
import "../chunk-P6MT4F3R.js";
|
|
29
29
|
export {
|