@pie-element/passage 7.1.2-next.10 → 7.1.2-next.12
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.
|
@@ -33070,6 +33070,8 @@ var jz = (e) => {
|
|
|
33070
33070
|
classes: t
|
|
33071
33071
|
}) });
|
|
33072
33072
|
}, Mz = S("div")(() => ({
|
|
33073
|
+
height: 0,
|
|
33074
|
+
overflow: "visible",
|
|
33073
33075
|
"& .defaultToolbar": {
|
|
33074
33076
|
display: "flex",
|
|
33075
33077
|
width: "100%",
|
|
@@ -33105,13 +33107,14 @@ var jz = (e) => {
|
|
|
33105
33107
|
color: "var(--white)"
|
|
33106
33108
|
},
|
|
33107
33109
|
"& .toolbar": {
|
|
33108
|
-
position: "
|
|
33110
|
+
position: "relative",
|
|
33111
|
+
top: "5px",
|
|
33109
33112
|
zIndex: 20,
|
|
33110
33113
|
cursor: "pointer",
|
|
33111
33114
|
justifyContent: "space-between",
|
|
33112
33115
|
background: "var(--editable-html-toolbar-bg, #efefef)",
|
|
33113
33116
|
minWidth: "280px",
|
|
33114
|
-
margin:
|
|
33117
|
+
margin: 0,
|
|
33115
33118
|
padding: "2px",
|
|
33116
33119
|
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)",
|
|
33117
33120
|
boxSizing: "border-box",
|
|
@@ -33120,7 +33123,10 @@ var jz = (e) => {
|
|
|
33120
33123
|
pointerEvents: "none"
|
|
33121
33124
|
},
|
|
33122
33125
|
"& .toolbarWithNoDone": { minWidth: "265px" },
|
|
33123
|
-
"& .toolbarTop": {
|
|
33126
|
+
"& .toolbarTop": {
|
|
33127
|
+
position: "absolute",
|
|
33128
|
+
top: "-45px"
|
|
33129
|
+
},
|
|
33124
33130
|
"& .toolbarRight": { right: 0 },
|
|
33125
33131
|
"& .fullWidth": { width: "100%" },
|
|
33126
33132
|
"& .hidden": { visibility: "hidden" },
|
|
@@ -39792,6 +39798,8 @@ var _J = Ib.create({
|
|
|
39792
39798
|
"--red-light": "#ffebe5",
|
|
39793
39799
|
"--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
|
|
39794
39800
|
}, DJ = (e) => ({
|
|
39801
|
+
role: "textbox",
|
|
39802
|
+
"data-pie-editor": "true",
|
|
39795
39803
|
spellcheck: e ? "true" : "false",
|
|
39796
39804
|
autocorrect: e ? "on" : "off",
|
|
39797
39805
|
autocapitalize: e ? "on" : "off"
|
|
@@ -39958,7 +39966,10 @@ var _J = Ib.create({
|
|
|
39958
39966
|
h?.setEditable(!e.disabled);
|
|
39959
39967
|
}, [e.disabled, h]), ht(() => {
|
|
39960
39968
|
if (!h) return;
|
|
39961
|
-
let e = h.options?.editorProps, t =
|
|
39969
|
+
let e = h.options?.editorProps, t = {
|
|
39970
|
+
...e?.attributes,
|
|
39971
|
+
...DJ(m)
|
|
39972
|
+
};
|
|
39962
39973
|
e?.attributes?.spellcheck !== t.spellcheck && h.setOptions({ editorProps: {
|
|
39963
39974
|
...e,
|
|
39964
39975
|
attributes: t
|