@pie-element/select-text 13.1.2-next.10 → 13.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.
@@ -35138,6 +35138,8 @@ var xV = (e) => {
35138
35138
  classes: t
35139
35139
  }) });
35140
35140
  }, SV = M("div")(() => ({
35141
+ height: 0,
35142
+ overflow: "visible",
35141
35143
  "& .defaultToolbar": {
35142
35144
  display: "flex",
35143
35145
  width: "100%",
@@ -35173,13 +35175,14 @@ var xV = (e) => {
35173
35175
  color: "var(--white)"
35174
35176
  },
35175
35177
  "& .toolbar": {
35176
- position: "absolute",
35178
+ position: "relative",
35179
+ top: "5px",
35177
35180
  zIndex: 20,
35178
35181
  cursor: "pointer",
35179
35182
  justifyContent: "space-between",
35180
35183
  background: "var(--editable-html-toolbar-bg, #efefef)",
35181
35184
  minWidth: "280px",
35182
- margin: "5px 0 0 0",
35185
+ margin: 0,
35183
35186
  padding: "2px",
35184
35187
  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)",
35185
35188
  boxSizing: "border-box",
@@ -35188,7 +35191,10 @@ var xV = (e) => {
35188
35191
  pointerEvents: "none"
35189
35192
  },
35190
35193
  "& .toolbarWithNoDone": { minWidth: "265px" },
35191
- "& .toolbarTop": { top: "-45px" },
35194
+ "& .toolbarTop": {
35195
+ position: "absolute",
35196
+ top: "-45px"
35197
+ },
35192
35198
  "& .toolbarRight": { right: 0 },
35193
35199
  "& .fullWidth": { width: "100%" },
35194
35200
  "& .hidden": { visibility: "hidden" },
@@ -41860,6 +41866,8 @@ var sX = wS.create({
41860
41866
  "--red-light": "#ffebe5",
41861
41867
  "--shadow": "0px 12px 33px 0px rgba(0, 0, 0, .06),\n 0px 3.618px 9.949px 0px rgba(0, 0, 0, .04)"
41862
41868
  }, _X = (e) => ({
41869
+ role: "textbox",
41870
+ "data-pie-editor": "true",
41863
41871
  spellcheck: e ? "true" : "false",
41864
41872
  autocorrect: e ? "on" : "off",
41865
41873
  autocapitalize: e ? "on" : "off"
@@ -42026,7 +42034,10 @@ var sX = wS.create({
42026
42034
  g?.setEditable(!e.disabled);
42027
42035
  }, [e.disabled, g]), kt(() => {
42028
42036
  if (!g) return;
42029
- let e = g.options?.editorProps, t = _X(h);
42037
+ let e = g.options?.editorProps, t = {
42038
+ ...e?.attributes,
42039
+ ..._X(h)
42040
+ };
42030
42041
  e?.attributes?.spellcheck !== t.spellcheck && g.setOptions({ editorProps: {
42031
42042
  ...e,
42032
42043
  attributes: t