@bendyline/squisq-react 2.11.1 → 2.11.2
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-G6FVNYNW.js → chunk-4MP7CH3C.js} +1 -1
- package/dist/{chunk-FTXPC5QW.js → chunk-HK7TY64K.js} +1 -1
- package/dist/{chunk-R44JIBV3.js → chunk-ZC7LI5UF.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/layers/index.js +1 -1
- package/dist/page/index.js +2 -2
- package/dist/player/index.js +3 -3
- package/dist/squisq-player.full.global.js +2 -2
- package/dist/squisq-player.global.js +31 -31
- package/dist/standalone-source.js +1 -1
- package/package.json +2 -2
|
@@ -594,7 +594,7 @@ function RichTextLayer({ layer, viewport, blockTime }) {
|
|
|
594
594
|
};
|
|
595
595
|
const cls = `squisq-rich-text-${cssId(layer.id)}`;
|
|
596
596
|
const listStylePosition = style.textAlign === "center" || style.textAlign === "right" ? "inside" : "outside";
|
|
597
|
-
const scopedCss = `.${cls}{margin:0}.${cls} p{margin:0 0 .4em}.${cls} h1,.${cls} h2,.${cls} h3,.${cls} h4,.${cls} h5,.${cls} h6{margin:0 0 .3em;line-height:1.2}.${cls} ul,.${cls} ol{margin:0 0 .7em;padding-left:1.2em;list-style-position:${listStylePosition}}.${cls} li{margin:0}.${cls} li>p{display:inline;margin:0}.${cls} *:first-child{margin-top:0}.${cls} *:last-child{margin-bottom:0}.${cls} a{color:inherit;text-decoration:underline}`;
|
|
597
|
+
const scopedCss = `.${cls}{margin:0}.${cls} p{margin:0 0 .4em}.${cls} h1,.${cls} h2,.${cls} h3,.${cls} h4,.${cls} h5,.${cls} h6{margin:0 0 .3em;line-height:1.2}.${cls} ul,.${cls} ol{margin:0 0 .7em;padding-left:1.2em;list-style-position:${listStylePosition}}.${cls} li{margin:0}.${cls} li>p{display:inline;margin:0}.${cls} table{width:100%;margin:.65em 0;border-collapse:collapse;border-spacing:0;table-layout:fixed}.${cls} th,.${cls} td{box-sizing:border-box;padding:.38em .55em;border:1px solid rgba(127,127,127,.55);border-color:color-mix(in srgb,currentColor 32%,transparent);vertical-align:top;white-space:normal;overflow-wrap:anywhere}.${cls} th{background:rgba(127,127,127,.16);background:color-mix(in srgb,currentColor 12%,transparent);font-weight:600}.${cls} tbody tr:nth-child(even){background:rgba(127,127,127,.07);background:color-mix(in srgb,currentColor 5%,transparent)}.${cls} *:first-child{margin-top:0}.${cls} *:last-child{margin-bottom:0}.${cls} a{color:inherit;text-decoration:underline}`;
|
|
598
598
|
return /* @__PURE__ */ jsx3("g", { className: `block-layer block-layer--text ${animStyle.className}`, "data-layer-id": layer.id, children: /* @__PURE__ */ jsx3(
|
|
599
599
|
"foreignObject",
|
|
600
600
|
{
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatTime,
|
|
16
16
|
resolveDocPlayerAppearance,
|
|
17
17
|
useMediaClipDurations
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HK7TY64K.js";
|
|
19
19
|
import {
|
|
20
20
|
BlockRenderer,
|
|
21
21
|
CanvasSection,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
PageSectionView,
|
|
24
24
|
PageViewContext,
|
|
25
25
|
usePageView
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZC7LI5UF.js";
|
|
27
27
|
import {
|
|
28
28
|
ImageLayer,
|
|
29
29
|
MapLayer,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
VideoLayer,
|
|
37
37
|
getAnimationStyle,
|
|
38
38
|
getTransitionClass
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4MP7CH3C.js";
|
|
40
40
|
import {
|
|
41
41
|
useModalDialog
|
|
42
42
|
} from "./chunk-65POMKHR.js";
|
package/dist/layers/index.js
CHANGED
package/dist/page/index.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
PageSectionView,
|
|
5
5
|
PageViewContext,
|
|
6
6
|
usePageView
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-ZC7LI5UF.js";
|
|
8
|
+
import "../chunk-4MP7CH3C.js";
|
|
9
9
|
import "../chunk-TT6ENR6T.js";
|
|
10
10
|
import "../chunk-ZY5N3JPM.js";
|
|
11
11
|
import "../chunk-WLUZTUNZ.js";
|
package/dist/player/index.js
CHANGED
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
MediaClipLayer,
|
|
13
13
|
SocialCaptionOverlay,
|
|
14
14
|
formatTime
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-HK7TY64K.js";
|
|
16
16
|
import {
|
|
17
17
|
BlockRenderer
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-ZC7LI5UF.js";
|
|
19
|
+
import "../chunk-4MP7CH3C.js";
|
|
20
20
|
import "../chunk-MVJQL2W2.js";
|
|
21
21
|
import "../chunk-TT6ENR6T.js";
|
|
22
22
|
import {
|