@pie-element/multiple-choice 13.3.5-next.4 → 13.3.5-next.6

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.
@@ -32752,6 +32752,8 @@ var ez = (e) => {
32752
32752
  classes: t
32753
32753
  }) });
32754
32754
  }, tz = j("div")(() => ({
32755
+ height: 0,
32756
+ overflow: "visible",
32755
32757
  "& .defaultToolbar": {
32756
32758
  display: "flex",
32757
32759
  width: "100%",
@@ -32787,13 +32789,14 @@ var ez = (e) => {
32787
32789
  color: "var(--white)"
32788
32790
  },
32789
32791
  "& .toolbar": {
32790
- position: "absolute",
32792
+ position: "relative",
32793
+ top: "5px",
32791
32794
  zIndex: 20,
32792
32795
  cursor: "pointer",
32793
32796
  justifyContent: "space-between",
32794
32797
  background: "var(--editable-html-toolbar-bg, #efefef)",
32795
32798
  minWidth: "280px",
32796
- margin: "5px 0 0 0",
32799
+ margin: 0,
32797
32800
  padding: "2px",
32798
32801
  boxShadow: "0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12)",
32799
32802
  boxSizing: "border-box",
@@ -32802,7 +32805,10 @@ var ez = (e) => {
32802
32805
  pointerEvents: "none"
32803
32806
  },
32804
32807
  "& .toolbarWithNoDone": { minWidth: "265px" },
32805
- "& .toolbarTop": { top: "-45px" },
32808
+ "& .toolbarTop": {
32809
+ position: "absolute",
32810
+ top: "-45px"
32811
+ },
32806
32812
  "& .toolbarRight": { right: 0 },
32807
32813
  "& .fullWidth": { width: "100%" },
32808
32814
  "& .hidden": { visibility: "hidden" },
@@ -39474,6 +39480,8 @@ var Bq = zm.create({
39474
39480
  "--red-light": "#ffebe5",
39475
39481
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
39476
39482
  }, Xq = (e) => ({
39483
+ role: "textbox",
39484
+ "data-pie-editor": "true",
39477
39485
  spellcheck: e ? "true" : "false",
39478
39486
  autocorrect: e ? "on" : "off",
39479
39487
  autocapitalize: e ? "on" : "off"
@@ -39640,7 +39648,10 @@ var Bq = zm.create({
39640
39648
  h?.setEditable(!e.disabled);
39641
39649
  }, [e.disabled, h]), wt(() => {
39642
39650
  if (!h) return;
39643
- let e = h.options?.editorProps, t = Xq(m);
39651
+ let e = h.options?.editorProps, t = {
39652
+ ...e?.attributes,
39653
+ ...Xq(m)
39654
+ };
39644
39655
  e?.attributes?.spellcheck !== t.spellcheck && h.setOptions({ editorProps: {
39645
39656
  ...e,
39646
39657
  attributes: t