@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.
@@ -47700,16 +47700,6 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
47700
47700
  align-items: center;
47701
47701
  justify-items: stretch;
47702
47702
  flex-wrap: wrap;
47703
-
47704
- & > * {
47705
- max-height: 30vh;
47706
- max-width: 30vw;
47707
- margin: 10px;
47708
- object-fit: contain;
47709
- margin: 20px;
47710
- box-shadow: 0 0 20px 1px black;
47711
- border: solid 1px white;
47712
- }
47713
47703
 
47714
47704
  `.expand("image-grid"));
47715
47705
  StylerSets.register("low", styled.css`
@@ -48643,6 +48633,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
48643
48633
  this.selectedFiles = [];
48644
48634
  }
48645
48635
  init() {
48636
+ var _a;
48646
48637
  return __awaiter(this, void 0, void 0, function* () {
48647
48638
  this.title = "Choose Media";
48648
48639
  const {
@@ -48651,6 +48642,12 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
48651
48642
  this.selectedFolder = this.parameters.folder;
48652
48643
  this.element.style.minWidth = "90%";
48653
48644
  this.element.style.minHeight = "90%";
48645
+ const selected = this.parameters.selected;
48646
+ if ((selected === null || selected === void 0 ? void 0 : selected.tagName) === "IMG") {
48647
+ if (/^image\-grid$/i.test((_a = selected.parentElement) === null || _a === void 0 ? void 0 : _a.tagName)) {
48648
+ this.size = 480;
48649
+ }
48650
+ }
48654
48651
  this.renderer = XNode.create("div", {
48655
48652
  class: css
48656
48653
  }, XNode.create(FolderTreeView, {
@@ -48936,7 +48933,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
48936
48933
  const files = yield PageNavigator.pushPageForResult(ChooseMediaPage, {
48937
48934
  folder: this.folder,
48938
48935
  accept: "image/*",
48939
- multiple: true
48936
+ multiple: true,
48937
+ selected: this.selection.element
48940
48938
  });
48941
48939
  const images = files.map(({
48942
48940
  file,