@social-mail/social-mail-client 1.2.350 → 1.2.352

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.
@@ -47065,10 +47065,6 @@ System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/
47065
47065
  box-sizing: border-box;
47066
47066
  }
47067
47067
 
47068
- body :not(input) {
47069
- caret-color: transparent;
47070
- }
47071
-
47072
47068
  :root{
47073
47069
  ${this.vars.join("\n")}
47074
47070
  }
@@ -47090,10 +47086,6 @@ System.register(["./Styler", "./properties/stylerBorder", "./properties/layouts/
47090
47086
  margin: 20px;
47091
47087
  }
47092
47088
 
47093
- body[editing=true] *:not(input) {
47094
- caret-color: currentColor !important;
47095
- }
47096
-
47097
47089
  ${StylerSets.low.join("\n")}
47098
47090
 
47099
47091
  ${properties.join("\n")}
@@ -50685,16 +50677,23 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
50685
50677
  body.removeAttribute("editing");
50686
50678
  const all = clone.querySelectorAll("*");
50687
50679
  const deleteAll = [];
50680
+ const removeAll = [];
50688
50681
  for (let index = 0; index < all.length; index++) {
50689
50682
  const element = all[index];
50690
50683
  element.removeAttribute("draggable");
50691
50684
  if (element.tagName === "INJECT") {
50692
50685
  deleteAll.push(element);
50693
50686
  }
50687
+ if (element.getAttribute("data-cursor-style") === "editing") {
50688
+ removeAll.push(element);
50689
+ }
50694
50690
  }
50695
50691
  for (const iterator of deleteAll) {
50696
50692
  iterator.innerHTML = "";
50697
50693
  }
50694
+ for (const iterator of removeAll) {
50695
+ iterator.remove();
50696
+ }
50698
50697
  if (clone.querySelector(`[styler-layout="component"]`)) {
50699
50698
  let componentScript = clone.querySelector("[styler-component-script]");
50700
50699
  if (!componentScript) {
@@ -50837,6 +50836,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
50837
50836
  EditorCustomElements.register(this.htmlDocument);
50838
50837
  this.htmlDocument.body.contentEditable = "true";
50839
50838
  this.htmlDocument.body.setAttribute("editing", "true");
50839
+ const cursorStyle = this.htmlDocument.createElement("style");
50840
+ cursorStyle.textContent = `* {
50841
+ caret-color: currentColor !important;
50842
+ }`;
50843
+ cursorStyle.setAttribute("data-cursor-style", "editing");
50844
+ this.htmlDocument.head.append(cursorStyle);
50840
50845
  setTimeout(() => {
50841
50846
  this.app.runAsync(() => __awaiter(this, void 0, void 0, function* () {
50842
50847
  yield this.setStylerSheet();