@social-mail/social-mail-client 1.2.324 → 1.2.325

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.
@@ -41670,11 +41670,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
41670
41670
  align-items: center;
41671
41671
  justify-content: space-between;
41672
41672
  z-index: 20;
41673
- &:not([styler-font-weight]) {
41674
- & > h1, & > h2, & > h3, & > h5, & > h6 {
41675
- font-weight: 400;
41676
- }
41677
- }
41678
41673
  & > h1, & > h2, & > h3, & > h5, & > h6 {
41679
41674
  margin-block-start: 0;
41680
41675
  margin-block-end: 0;
@@ -41756,11 +41751,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
41756
41751
  border-radius: ${stylerVars.sizeLarge};
41757
41752
  align-items: center;
41758
41753
  justify-content: space-between;
41759
- &:not([styler-font-weight]) {
41760
- & > h1, & > h2, & > h3, & > h5, & > h6 {
41761
- font-weight: 400;
41762
- }
41763
- }
41764
41754
  & > h1, & > h2, & > h3, & > h5, & > h6 {
41765
41755
  margin-block-start: 0;
41766
41756
  margin-block-end: 0;
@@ -45531,6 +45521,15 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
45531
45521
  StylerSets.register("low", styled.css`
45532
45522
  & pdf-viewer {
45533
45523
  display: inline-block;
45524
+ position: relative;
45525
+ overflow: hidden;
45526
+ &::part(thumb) {
45527
+ width: 100%;
45528
+ height: 100%;
45529
+ object-fit: contain;
45530
+ }
45531
+
45532
+
45534
45533
  & * {
45535
45534
  user-select: none;
45536
45535
  pointer-events: none;
@@ -45584,6 +45583,7 @@ System.register([], function (_export, _context) {
45584
45583
  mode: "closed"
45585
45584
  });
45586
45585
  const img = this.img = document.createElement("img");
45586
+ img.setAttribute("part", "thumb");
45587
45587
  root.appendChild(img);
45588
45588
  this.updatePoster();
45589
45589
  }
@@ -47235,7 +47235,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
47235
47235
  this.htmlDocument.head.appendChild(this.htmlDocument.createTextNode("\n"));
47236
47236
  this.htmlDocument.head.appendChild(script);
47237
47237
  }
47238
- script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.66/dist/components.webpack.js");
47238
+ script.setAttribute("src", "//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.69/dist/components.webpack.js");
47239
47239
  });
47240
47240
  }
47241
47241
  addStyleSheet(file) {
@@ -47897,7 +47897,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
47897
47897
  icon: "fad fa-globe-pointer",
47898
47898
  text: "View Site"
47899
47899
  }), XNode.create("a", {
47900
- href: apiPath(`/api/site/draft/${this.webSite.folderID}/`),
47900
+ href: Bind.oneWay(() => apiPath(`/api/site/draft/${this.webSite.folderID}/${this.selectedFile.name}`)),
47901
47901
  target: "_blank"
47902
47902
  }, XNode.create(EditIconTextButton, {
47903
47903
  icon: "fad fa-globe-pointer",