@social-mail/social-mail-client 1.2.560 → 1.2.561
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 +9 -3
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +4 -4
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/SelectedElement.d.ts +1 -0
- package/dist/site-editor/editor/SelectedElement.d.ts.map +1 -1
- package/dist/site-editor/editor/SelectedElement.js +6 -0
- package/dist/site-editor/editor/SelectedElement.js.map +1 -1
- package/dist/site-editor/editor/webComponentsPath.js +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.js +2 -2
- package/dist/site-editor/properties/controls/PropertyEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +9 -3
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +4 -4
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/SelectedElement.tsx +6 -0
- package/src/site-editor/editor/webComponentsPath.ts +1 -1
- package/src/site-editor/properties/controls/PropertyEditor.tsx +2 -2
|
@@ -48291,7 +48291,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
48291
48291
|
if (property) {
|
|
48292
48292
|
a["data-item-property"] = property.key;
|
|
48293
48293
|
if (custom) {
|
|
48294
|
-
const binder = c => c.selection.style(property.key).custom;
|
|
48294
|
+
const binder = c => c.selection.style(property.key).custom ? "yes" : "";
|
|
48295
48295
|
binder.toString = () => `(c) => c.selection.styleProperty["${property.key.replace("-", "_")}"]`;
|
|
48296
48296
|
a["data-custom-value"] = Bind.oneWay(binder);
|
|
48297
48297
|
}
|
|
@@ -48516,7 +48516,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
|
|
|
48516
48516
|
padding-right: 10px;
|
|
48517
48517
|
}
|
|
48518
48518
|
|
|
48519
|
-
|
|
48519
|
+
&:not([data-custom]):not([data-custom-value=yes]) > [data-element=custom] {
|
|
48520
48520
|
display: none;
|
|
48521
48521
|
}
|
|
48522
48522
|
|
|
@@ -50197,6 +50197,7 @@ System.register(["@web-atoms/core/dist/core/AtomBinder"], function (_export, _co
|
|
|
50197
50197
|
}
|
|
50198
50198
|
});
|
|
50199
50199
|
this.styles = new Map();
|
|
50200
|
+
this.isEditing = false;
|
|
50200
50201
|
this.empty = {
|
|
50201
50202
|
setAttribute(n, v) {
|
|
50202
50203
|
this[n] = v;
|
|
@@ -50209,6 +50210,9 @@ System.register(["@web-atoms/core/dist/core/AtomBinder"], function (_export, _co
|
|
|
50209
50210
|
this.parentName = "";
|
|
50210
50211
|
this.isImage = false;
|
|
50211
50212
|
this.mo = new MutationObserver(changes => {
|
|
50213
|
+
if (this.isEditing) {
|
|
50214
|
+
return;
|
|
50215
|
+
}
|
|
50212
50216
|
AtomBinder.refreshValue(this, "element");
|
|
50213
50217
|
this.cachedStyle = null;
|
|
50214
50218
|
this.cachedParentStyle = null;
|
|
@@ -50268,6 +50272,7 @@ System.register(["@web-atoms/core/dist/core/AtomBinder"], function (_export, _co
|
|
|
50268
50272
|
if (!e) {
|
|
50269
50273
|
return;
|
|
50270
50274
|
}
|
|
50275
|
+
owner.isEditing = true;
|
|
50271
50276
|
if (!v) {
|
|
50272
50277
|
e.removeAttribute(attributeName);
|
|
50273
50278
|
} else {
|
|
@@ -50280,6 +50285,7 @@ System.register(["@web-atoms/core/dist/core/AtomBinder"], function (_export, _co
|
|
|
50280
50285
|
AtomBinder.refreshValue(owner, "currentStyle");
|
|
50281
50286
|
AtomBinder.refreshValue(owner, "parentStyle");
|
|
50282
50287
|
AtomBinder.refreshValue(this, "styleProperty");
|
|
50288
|
+
owner.isEditing = false;
|
|
50283
50289
|
}, 1);
|
|
50284
50290
|
},
|
|
50285
50291
|
get custom() {
|
|
@@ -52424,7 +52430,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
|
|
|
52424
52430
|
});
|
|
52425
52431
|
}
|
|
52426
52432
|
});
|
|
52427
|
-
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.
|
|
52433
|
+
WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.117`;
|
|
52428
52434
|
}
|
|
52429
52435
|
};
|
|
52430
52436
|
});
|