@social-mail/social-mail-client 1.2.247 → 1.2.249

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.
@@ -43864,16 +43864,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
43864
43864
  align-items: center;
43865
43865
  justify-items: stretch;
43866
43866
  flex-wrap: wrap;
43867
-
43868
- & > * {
43869
- max-height: 30vh;
43870
- max-width: 30vw;
43871
- margin: 10px;
43872
- object-fit: contain;
43873
- margin: 20px;
43874
- box-shadow: 0 0 20px 1px black;
43875
- border: solid 1px white;
43876
- }
43877
43867
 
43878
43868
  `.expand("image-grid"));
43879
43869
  StylerSets.register("low", styled.css`
@@ -44957,6 +44947,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
44957
44947
  this.selectedFiles = [];
44958
44948
  }
44959
44949
  init() {
44950
+ var _a;
44960
44951
  return __awaiter(this, void 0, void 0, function* () {
44961
44952
  this.title = "Choose Media";
44962
44953
  const {
@@ -44965,6 +44956,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
44965
44956
  this.selectedFolder = this.parameters.folder;
44966
44957
  this.element.style.minWidth = "90%";
44967
44958
  this.element.style.minHeight = "90%";
44959
+ const selected = this.parameters.selected;
44960
+ if ((selected === null || selected === void 0 ? void 0 : selected.tagName) === "IMG") {
44961
+ if (/^image\-grid$/i.test((_a = selected.parentElement) === null || _a === void 0 ? void 0 : _a.tagName)) {
44962
+ this.size = 480;
44963
+ }
44964
+ }
44968
44965
  this.renderer = XNode.create("div", {
44969
44966
  class: css
44970
44967
  }, XNode.create(FolderTreeView, {
@@ -45250,7 +45247,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
45250
45247
  const files = yield PageNavigator.pushPageForResult(ChooseMediaPage, {
45251
45248
  folder: this.folder,
45252
45249
  accept: "image/*",
45253
- multiple: true
45250
+ multiple: true,
45251
+ selected: this.selection.element
45254
45252
  });
45255
45253
  const images = files.map(({
45256
45254
  file,