@social-mail/social-mail-client 1.2.349 → 1.2.351

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