@social-mail/social-mail-client 1.2.153 → 1.2.155

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.
@@ -35671,7 +35671,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/style/
35671
35671
  color: #555555;
35672
35672
  padding: 5px;
35673
35673
  cursor: pointer;
35674
- max-width: 90%;
35674
+ max-width: 30px;
35675
35675
  &:not([data-disabled]):hover, &[data-disabled=false]:hover {
35676
35676
  background-color: #00800050;
35677
35677
  }
@@ -36139,6 +36139,11 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
36139
36139
  color: transparent;
36140
36140
  display: none;
36141
36141
  }
36142
+ & > nav {
36143
+ display: flex;
36144
+ gap: ${stylerVars.sizeDefault};
36145
+ flex-wrap: wrap;
36146
+ }
36142
36147
  }
36143
36148
 
36144
36149
  @media (max-width: 500px) {
@@ -39266,16 +39271,35 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
39266
39271
  `.expand("image-gallery"));
39267
39272
  StylerSets.register("low", styled.css`
39268
39273
  & image-gallery {
39274
+ display: flex;
39275
+ flex-wrap: wrap;
39276
+ flex-direction: row;
39277
+ gap: 10px;
39269
39278
  & > * {
39270
- max-height: 50vh;
39271
- max-width: 50vw;
39279
+ max-height: 30vh;
39280
+ max-width: 30vw;
39272
39281
  margin: 10px;
39273
39282
  }
39283
+ & > [data-element=add] {
39284
+ background-color: black;
39285
+ color: white;
39286
+ font-size: 16px;
39287
+ font-weight: bold;
39288
+ display: flex;
39289
+ justify-items: center;
39290
+ border-radius: 9999px;
39291
+ white-space: nowrap;
39292
+ overflow: hidden;
39293
+ text-overflow: ellipsis;
39294
+ content: "+ Add";
39295
+ padding: 20px;
39296
+ place-self: center;
39297
+ }
39274
39298
  }
39275
39299
  `.expand("body[editing]"));
39276
39300
  _export("ImageGallery", ImageGallery = Block({
39277
39301
  className: "fad fa-panorama",
39278
- title: "Add Carousel",
39302
+ title: "Add Image Gallery",
39279
39303
  factory: () => XNode.create("image-gallery", null, XNode.create("img", {
39280
39304
  src: defaultImageSrc
39281
39305
  }), XNode.create("img", {
@@ -39291,10 +39315,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
39291
39315
 
39292
39316
  AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/ImageGallery");
39293
39317
 
39294
- System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/web/controls/AtomControl", "../drag-drop/DragDropHelper", "../toolbars/UndoRedoToolbar", "../blocks/WrapGrid", "../toolbars/EditorToolbar", "../properties/Properties", "../styler/StylerSet", "./SelectedElement", "@web-atoms/core/dist/core/AtomBinder", "../styler/Styler", "../blocks/ImageBox", "../blocks/RowBox", "../blocks/ColumnBox", "../blocks/VerticalImageBox", "../blocks/Image", "../blocks/ImageCard", "../blocks/TextBox", "../blocks/Card", "../blocks/List", "../blocks/Components", "@web-atoms/core/dist/core/types", "../blocks/Buttons", "../blocks/Columns2", "../blocks/Columns3", "../blocks/RightImageBox", "@web-atoms/core/dist/web/core/AtomUI", "../blocks/PriceBox", "@web-atoms/core/dist/core/BindableProperty", "../blocks/Billboard", "../blocks/OutlineText", "../blocks/Carousel", "../blocks/ImageGallery"], function (_export, _context) {
39318
+ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/view-model/Action", "@web-atoms/core/dist/web/controls/AtomControl", "../drag-drop/DragDropHelper", "../toolbars/UndoRedoToolbar", "../blocks/WrapGrid", "../toolbars/EditorToolbar", "../properties/Properties", "../styler/StylerSet", "./SelectedElement", "@web-atoms/core/dist/core/AtomBinder", "../styler/Styler", "../blocks/ImageBox", "../blocks/RowBox", "../blocks/ColumnBox", "../blocks/VerticalImageBox", "../blocks/Image", "../blocks/ImageCard", "../blocks/TextBox", "../blocks/Card", "../blocks/List", "../blocks/Components", "@web-atoms/core/dist/core/types", "../blocks/Buttons", "../blocks/Columns2", "../blocks/Columns3", "../blocks/RightImageBox", "@web-atoms/core/dist/web/core/AtomUI", "../blocks/PriceBox", "@web-atoms/core/dist/core/BindableProperty", "../blocks/Billboard", "../blocks/OutlineText", "../blocks/Carousel", "../blocks/ImageGallery", "@web-atoms/web-controls/dist/basic/InlinePopup"], function (_export, _context) {
39295
39319
  "use strict";
39296
39320
 
39297
- var __awaiter, __decorate, __metadata, Bind, XNode, sleep, styled, Action, AtomControl, InstallDragDropHelper, UndoRedoToolbar, WrapGrid, EditorToolbar, Properties, StylerSet, SelectedElement, AtomBinder, StylerVariable, ImageBox, RowBox, ColumnBox, VerticalImageBox, Image, ImageCard, TextBox, Card, List, BlogComponent, TypeWriterComponent, UMD, ImageLink, LinkButton, Columns2, Columns3, RightImageBox, descendentElementIterator, PriceTable, BindableProperty, Billboard, OutlineText, Carousel, ImageGallery, HtmlPageEditor, desktopWidth, tabletWidth, mobileWidth;
39321
+ var __awaiter, __decorate, __metadata, Bind, XNode, sleep, styled, Action, AtomControl, InstallDragDropHelper, UndoRedoToolbar, WrapGrid, EditorToolbar, Properties, StylerSet, SelectedElement, AtomBinder, StylerVariable, ImageBox, RowBox, ColumnBox, VerticalImageBox, Image, ImageCard, TextBox, Card, List, BlogComponent, TypeWriterComponent, UMD, ImageLink, LinkButton, Columns2, Columns3, RightImageBox, descendentElementIterator, PriceTable, BindableProperty, Billboard, OutlineText, Carousel, ImageGallery, InlinePopupButton, HtmlPageEditor, desktopWidth, tabletWidth, mobileWidth;
39298
39322
  _export("default", void 0);
39299
39323
  return {
39300
39324
  setters: [function (_tslib) {
@@ -39377,6 +39401,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
39377
39401
  Carousel = _blocksCarousel.Carousel;
39378
39402
  }, function (_blocksImageGallery) {
39379
39403
  ImageGallery = _blocksImageGallery.ImageGallery;
39404
+ }, function (_webAtomsWebControlsDistBasicInlinePopup) {
39405
+ InlinePopupButton = _webAtomsWebControlsDistBasicInlinePopup.InlinePopupButton;
39380
39406
  }],
39381
39407
  execute: function () {
39382
39408
  styled.css`
@@ -39568,7 +39594,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
39568
39594
  class: "fa-solid fa-code"
39569
39595
  }))), XNode.create(EditorToolbar, {
39570
39596
  "data-element": "left"
39571
- }, XNode.create(TextBox, null), XNode.create(Image, null), XNode.create(WrapGrid, null), XNode.create(VerticalImageBox, null), XNode.create(ImageBox, null), XNode.create(RightImageBox, null), XNode.create(Card, null), XNode.create(ImageCard, null), XNode.create(RowBox, null), XNode.create(ColumnBox, null), XNode.create(Columns2, null), XNode.create(Columns3, null), XNode.create(List, null), XNode.create(BlogComponent, null), XNode.create(ImageLink, null), XNode.create(LinkButton, null), XNode.create(PriceTable, null), XNode.create(TypeWriterComponent, null), XNode.create(Billboard, null), XNode.create(OutlineText, null), XNode.create(Carousel, null), XNode.create(ImageGallery, null)), XNode.create("div", {
39597
+ }, XNode.create(TextBox, null), XNode.create(Image, null), XNode.create(WrapGrid, null), XNode.create(ImageBox, null), XNode.create(RightImageBox, null), XNode.create(Card, null), XNode.create(ImageCard, null), XNode.create(ColumnBox, null), XNode.create(Columns2, null), XNode.create(Columns3, null), XNode.create(List, null), XNode.create(ImageLink, null), XNode.create(LinkButton, null), XNode.create(InlinePopupButton, {
39598
+ icon: "fas fa-plus",
39599
+ "data-layout": "warning-icon-button",
39600
+ alignment: "above",
39601
+ popup: () => XNode.create(EditorToolbar, null, XNode.create(RowBox, null), XNode.create(VerticalImageBox, null), XNode.create(PriceTable, null), XNode.create(TypeWriterComponent, null), XNode.create(Billboard, null), XNode.create(OutlineText, null), XNode.create(Carousel, null), XNode.create(BlogComponent, null), XNode.create(ImageGallery, null))
39602
+ })), XNode.create("div", {
39572
39603
  "data-element": "editor",
39573
39604
  "style-max-width": Bind.oneWay(() => this.maxWidth > 768 ? "" : this.maxWidth + "px")
39574
39605
  }, XNode.create("div", {