@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.
@@ -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
  {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BlockRenderer,
3
3
  LinearDocView
4
- } from "./chunk-R44JIBV3.js";
4
+ } from "./chunk-ZC7LI5UF.js";
5
5
  import {
6
6
  useAudioSync,
7
7
  useDocPlayback,
@@ -9,7 +9,7 @@ import {
9
9
  TreeLayer,
10
10
  VideoLayer,
11
11
  getTransitionClass
12
- } from "./chunk-G6FVNYNW.js";
12
+ } from "./chunk-4MP7CH3C.js";
13
13
  import {
14
14
  useAutoSurface
15
15
  } from "./chunk-TT6ENR6T.js";
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
15
  formatTime,
16
16
  resolveDocPlayerAppearance,
17
17
  useMediaClipDurations
18
- } from "./chunk-FTXPC5QW.js";
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-R44JIBV3.js";
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-G6FVNYNW.js";
39
+ } from "./chunk-4MP7CH3C.js";
40
40
  import {
41
41
  useModalDialog
42
42
  } from "./chunk-65POMKHR.js";
@@ -8,7 +8,7 @@ import {
8
8
  TextLayer,
9
9
  TreeLayer,
10
10
  VideoLayer
11
- } from "../chunk-G6FVNYNW.js";
11
+ } from "../chunk-4MP7CH3C.js";
12
12
  import "../chunk-WLUZTUNZ.js";
13
13
  import "../chunk-LR3AIGDD.js";
14
14
  export {
@@ -4,8 +4,8 @@ import {
4
4
  PageSectionView,
5
5
  PageViewContext,
6
6
  usePageView
7
- } from "../chunk-R44JIBV3.js";
8
- import "../chunk-G6FVNYNW.js";
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";
@@ -12,11 +12,11 @@ import {
12
12
  MediaClipLayer,
13
13
  SocialCaptionOverlay,
14
14
  formatTime
15
- } from "../chunk-FTXPC5QW.js";
15
+ } from "../chunk-HK7TY64K.js";
16
16
  import {
17
17
  BlockRenderer
18
- } from "../chunk-R44JIBV3.js";
19
- import "../chunk-G6FVNYNW.js";
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 {