@social-mail/social-mail-client 1.2.285 → 1.2.286

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.
@@ -49711,25 +49711,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
49711
49711
  }
49712
49712
  setStylerSheet() {
49713
49713
  return __awaiter(this, void 0, void 0, function* () {
49714
- const stylerCSS = yield this.createFile("styler.css", StylerSet.instance.toString());
49715
- yield this.addStyleSheet(stylerCSS);
49716
- let vars = yield this.cloudFileService.children(this.folder.appFileID, "styles/vars.css").firstOrDefault();
49717
- if (!vars) {
49718
- vars = yield this.createFile("vars.css", `* {
49719
- ${StylerSet.instance.varsCss}
49720
- }`);
49721
- }
49722
- yield this.addStyleSheet(vars);
49723
- let script = this.htmlDocument.querySelector("script[web-components]");
49724
- if (!script) {
49725
- script = this.htmlDocument.createElement("script");
49726
- script.setAttribute("web-components", "social");
49727
- script.setAttribute("async", "true");
49728
- script.setAttribute("defer", "true");
49729
- this.htmlDocument.head.appendChild(this.htmlDocument.createTextNode("\n"));
49730
- this.htmlDocument.head.appendChild(script);
49731
- }
49732
- script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.54/dist/components.webpack.js");
49733
49714
  for (const e of Array.from(this.htmlDocument.querySelectorAll("inject"))) {
49734
49715
  let src = e.getAttribute("src");
49735
49716
  if (src.startsWith("/")) {
@@ -49749,6 +49730,25 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
49749
49730
  e.appendChild(iterator);
49750
49731
  }
49751
49732
  }
49733
+ const stylerCSS = yield this.createFile("styler.css", StylerSet.instance.toString());
49734
+ yield this.addStyleSheet(stylerCSS);
49735
+ let vars = yield this.cloudFileService.children(this.folder.appFileID, "styles/vars.css").firstOrDefault();
49736
+ if (!vars) {
49737
+ vars = yield this.createFile("vars.css", `* {
49738
+ ${StylerSet.instance.varsCss}
49739
+ }`);
49740
+ }
49741
+ yield this.addStyleSheet(vars);
49742
+ let script = this.htmlDocument.querySelector("script[web-components]");
49743
+ if (!script) {
49744
+ script = this.htmlDocument.createElement("script");
49745
+ script.setAttribute("web-components", "social");
49746
+ script.setAttribute("async", "true");
49747
+ script.setAttribute("defer", "true");
49748
+ this.htmlDocument.head.appendChild(this.htmlDocument.createTextNode("\n"));
49749
+ this.htmlDocument.head.appendChild(script);
49750
+ }
49751
+ script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.54/dist/components.webpack.js");
49752
49752
  });
49753
49753
  }
49754
49754
  addStyleSheet(file) {