@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.
- package/dist/admin/AdminAppIndex.pack.js +38 -7
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +29 -5
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/blocks/Block.js +5 -0
- package/dist/site-editor/blocks/Block.js.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.js +22 -3
- package/dist/site-editor/blocks/ImageGallery.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +10 -3
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/site-editor/toolbars/EditorToolbar.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +38 -7
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +29 -5
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/blocks/Block.tsx +5 -0
- package/src/site-editor/blocks/ImageGallery.tsx +22 -3
- package/src/site-editor/editor/HtmlPageEditor.tsx +15 -8
- package/src/site-editor/toolbars/EditorToolbar.tsx +1 -1
|
@@ -39132,7 +39132,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/style/
|
|
|
39132
39132
|
color: #555555;
|
|
39133
39133
|
padding: 5px;
|
|
39134
39134
|
cursor: pointer;
|
|
39135
|
-
max-width:
|
|
39135
|
+
max-width: 30px;
|
|
39136
39136
|
&:not([data-disabled]):hover, &[data-disabled=false]:hover {
|
|
39137
39137
|
background-color: #00800050;
|
|
39138
39138
|
}
|
|
@@ -39600,6 +39600,11 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
|
|
|
39600
39600
|
color: transparent;
|
|
39601
39601
|
display: none;
|
|
39602
39602
|
}
|
|
39603
|
+
& > nav {
|
|
39604
|
+
display: flex;
|
|
39605
|
+
gap: ${stylerVars.sizeDefault};
|
|
39606
|
+
flex-wrap: wrap;
|
|
39607
|
+
}
|
|
39603
39608
|
}
|
|
39604
39609
|
|
|
39605
39610
|
@media (max-width: 500px) {
|
|
@@ -42727,16 +42732,35 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
42727
42732
|
`.expand("image-gallery"));
|
|
42728
42733
|
StylerSets.register("low", styled.css`
|
|
42729
42734
|
& image-gallery {
|
|
42735
|
+
display: flex;
|
|
42736
|
+
flex-wrap: wrap;
|
|
42737
|
+
flex-direction: row;
|
|
42738
|
+
gap: 10px;
|
|
42730
42739
|
& > * {
|
|
42731
|
-
max-height:
|
|
42732
|
-
max-width:
|
|
42740
|
+
max-height: 30vh;
|
|
42741
|
+
max-width: 30vw;
|
|
42733
42742
|
margin: 10px;
|
|
42734
42743
|
}
|
|
42744
|
+
& > [data-element=add] {
|
|
42745
|
+
background-color: black;
|
|
42746
|
+
color: white;
|
|
42747
|
+
font-size: 16px;
|
|
42748
|
+
font-weight: bold;
|
|
42749
|
+
display: flex;
|
|
42750
|
+
justify-items: center;
|
|
42751
|
+
border-radius: 9999px;
|
|
42752
|
+
white-space: nowrap;
|
|
42753
|
+
overflow: hidden;
|
|
42754
|
+
text-overflow: ellipsis;
|
|
42755
|
+
content: "+ Add";
|
|
42756
|
+
padding: 20px;
|
|
42757
|
+
place-self: center;
|
|
42758
|
+
}
|
|
42735
42759
|
}
|
|
42736
42760
|
`.expand("body[editing]"));
|
|
42737
42761
|
_export("ImageGallery", ImageGallery = Block({
|
|
42738
42762
|
className: "fad fa-panorama",
|
|
42739
|
-
title: "Add
|
|
42763
|
+
title: "Add Image Gallery",
|
|
42740
42764
|
factory: () => XNode.create("image-gallery", null, XNode.create("img", {
|
|
42741
42765
|
src: defaultImageSrc
|
|
42742
42766
|
}), XNode.create("img", {
|
|
@@ -42752,10 +42776,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "./Block", "../styler/Styler
|
|
|
42752
42776
|
|
|
42753
42777
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/site-editor/blocks/ImageGallery");
|
|
42754
42778
|
|
|
42755
|
-
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) {
|
|
42779
|
+
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) {
|
|
42756
42780
|
"use strict";
|
|
42757
42781
|
|
|
42758
|
-
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;
|
|
42782
|
+
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;
|
|
42759
42783
|
_export("default", void 0);
|
|
42760
42784
|
return {
|
|
42761
42785
|
setters: [function (_tslib) {
|
|
@@ -42838,6 +42862,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42838
42862
|
Carousel = _blocksCarousel.Carousel;
|
|
42839
42863
|
}, function (_blocksImageGallery) {
|
|
42840
42864
|
ImageGallery = _blocksImageGallery.ImageGallery;
|
|
42865
|
+
}, function (_webAtomsWebControlsDistBasicInlinePopup) {
|
|
42866
|
+
InlinePopupButton = _webAtomsWebControlsDistBasicInlinePopup.InlinePopupButton;
|
|
42841
42867
|
}],
|
|
42842
42868
|
execute: function () {
|
|
42843
42869
|
styled.css`
|
|
@@ -43029,7 +43055,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
43029
43055
|
class: "fa-solid fa-code"
|
|
43030
43056
|
}))), XNode.create(EditorToolbar, {
|
|
43031
43057
|
"data-element": "left"
|
|
43032
|
-
}, XNode.create(TextBox, null), XNode.create(Image, null), XNode.create(WrapGrid, null), XNode.create(
|
|
43058
|
+
}, 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, {
|
|
43059
|
+
icon: "fas fa-plus",
|
|
43060
|
+
"data-layout": "warning-icon-button",
|
|
43061
|
+
alignment: "above",
|
|
43062
|
+
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))
|
|
43063
|
+
})), XNode.create("div", {
|
|
43033
43064
|
"data-element": "editor",
|
|
43034
43065
|
"style-max-width": Bind.oneWay(() => this.maxWidth > 768 ? "" : this.maxWidth + "px")
|
|
43035
43066
|
}, XNode.create("div", {
|