@social-mail/social-mail-client 1.2.497 → 1.2.498
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 +31 -6
- 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/properties/groups/BackgroundGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.js +3 -0
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/TextPropertyEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/TextPropertyEditor.js +3 -0
- package/dist/site-editor/properties/groups/TextPropertyEditor.js.map +1 -1
- package/dist/site-editor/styler/Styler.d.ts +7 -1
- package/dist/site-editor/styler/Styler.d.ts.map +1 -1
- package/dist/site-editor/styler/Styler.js +21 -4
- package/dist/site-editor/styler/Styler.js.map +1 -1
- package/dist/site-editor/styler/StylerSet.d.ts +2 -0
- package/dist/site-editor/styler/StylerSet.d.ts.map +1 -1
- package/dist/site-editor/styler/properties/stylerBackground.d.ts +1 -0
- package/dist/site-editor/styler/properties/stylerBackground.d.ts.map +1 -1
- package/dist/site-editor/styler/properties/stylerBackground.js +2 -1
- package/dist/site-editor/styler/properties/stylerBackground.js.map +1 -1
- package/dist/site-editor/styler/properties/text/stylerText.d.ts +1 -0
- package/dist/site-editor/styler/properties/text/stylerText.d.ts.map +1 -1
- package/dist/site-editor/styler/properties/text/stylerText.js +2 -1
- package/dist/site-editor/styler/properties/text/stylerText.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +31 -6
- 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/properties/groups/BackgroundGroupEditor.tsx +5 -1
- package/src/site-editor/properties/groups/TextPropertyEditor.tsx +4 -0
- package/src/site-editor/styler/Styler.ts +24 -3
- package/src/site-editor/styler/properties/stylerBackground.ts +2 -1
- package/src/site-editor/styler/properties/text/stylerText.ts +3 -1
|
@@ -47066,7 +47066,7 @@ System.register([], function (_export, _context) {
|
|
|
47066
47066
|
System.register(["@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/core/AtomBinder"], function (_export, _context) {
|
|
47067
47067
|
"use strict";
|
|
47068
47068
|
|
|
47069
|
-
var styled, AtomBinder, StylerVariable, StylerPropertyOption, StylerProperty, camelToSnakeCase, prepareVariables, stylerVars, sizeVarList, colorVarList, pair, createSet, createVarSet;
|
|
47069
|
+
var styled, AtomBinder, StylerVariable, StylerPropertyOption, StylerProperty, camelToSnakeCase, prepareVariables, stylerVars, sizeVarList, colorVarList, pair, createSet, createVarSet, createVarSetWith;
|
|
47070
47070
|
_export({
|
|
47071
47071
|
StylerVariable: void 0,
|
|
47072
47072
|
StylerPropertyOption: void 0,
|
|
@@ -47295,13 +47295,15 @@ System.register(["@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/core
|
|
|
47295
47295
|
static create(key, styles) {
|
|
47296
47296
|
return new StylerProperty(key, styles);
|
|
47297
47297
|
}
|
|
47298
|
-
constructor(key, values) {
|
|
47298
|
+
constructor(key, values, prefix = "", suffix = "") {
|
|
47299
47299
|
this.key = key;
|
|
47300
|
+
this.prefix = prefix;
|
|
47301
|
+
this.suffix = suffix;
|
|
47300
47302
|
this.values = [];
|
|
47301
47303
|
for (const k in values) {
|
|
47302
47304
|
if (Object.prototype.hasOwnProperty.call(values, k)) {
|
|
47303
47305
|
const element = values[k];
|
|
47304
|
-
this.values.push(new StylerPropertyOption(k, element.expand(
|
|
47306
|
+
this.values.push(new StylerPropertyOption(k, element.expand(`${prefix}[${this.key}=${k}]${suffix}`), element.description));
|
|
47305
47307
|
}
|
|
47306
47308
|
}
|
|
47307
47309
|
}
|
|
@@ -47330,7 +47332,22 @@ System.register(["@web-atoms/core/dist/style/styled", "@web-atoms/core/dist/core
|
|
|
47330
47332
|
}
|
|
47331
47333
|
return r;
|
|
47332
47334
|
});
|
|
47333
|
-
_export("createVarSet", createVarSet = (name, values, addCustom = true) => {
|
|
47335
|
+
_export("createVarSet", createVarSet = (name, values, addCustom = true, addDefaults = false) => {
|
|
47336
|
+
const r = {};
|
|
47337
|
+
if (addCustom) {
|
|
47338
|
+
r.custom = styled.css`${name}: var(--styler-${name});`;
|
|
47339
|
+
}
|
|
47340
|
+
for (const iterator of values) {
|
|
47341
|
+
r[iterator.name] = styled.css`\t${name}: var(--${iterator.name});`.withDescription(iterator.value);
|
|
47342
|
+
}
|
|
47343
|
+
if (addDefaults) {
|
|
47344
|
+
for (const item of ["inherit", "initial", "revert", "revert-layer", "unset"]) {
|
|
47345
|
+
r[item] = styled.css`${name}: ${item}`;
|
|
47346
|
+
}
|
|
47347
|
+
}
|
|
47348
|
+
return r;
|
|
47349
|
+
});
|
|
47350
|
+
_export("createVarSetWith", createVarSetWith = (name, prefix, values, addCustom = true) => {
|
|
47334
47351
|
const r = {};
|
|
47335
47352
|
if (addCustom) {
|
|
47336
47353
|
r.custom = styled.css`${name}: var(--styler-${name});`;
|
|
@@ -48280,7 +48297,8 @@ System.register(["@web-atoms/core/dist/style/styled", "../../Styler"], function
|
|
|
48280
48297
|
}],
|
|
48281
48298
|
execute: function () {
|
|
48282
48299
|
_export("stylerText", stylerText = {
|
|
48283
|
-
stylerColor: new StylerProperty("styler-color", createVarSet("color", colorVarList)),
|
|
48300
|
+
stylerColor: new StylerProperty("styler-color", createVarSet("color", colorVarList, true, true)),
|
|
48301
|
+
stylerHoverColor: new StylerProperty("styler-hover-color", createVarSet("color", colorVarList, true, true), "", ":hover"),
|
|
48284
48302
|
stylerFontFamily: new StylerProperty("styler-font-family", createSet("font-family", [], false, true)),
|
|
48285
48303
|
stylerFontSize: new StylerProperty("styler-font-size", createSet("font-size", ["xx-small", "x-small", "small", "smaller", "medium", "large", "larger", "x-large", "xx-large", ...sizeVarList], false, true)),
|
|
48286
48304
|
stylerFontWeight: new StylerProperty("styler-font-weight", createSet("font-weight", ["normal", "bold", "bolder", "lighter"], false, true)),
|
|
@@ -48388,7 +48406,8 @@ System.register(["@web-atoms/core/dist/style/styled", "../Styler", "../StylerSet
|
|
|
48388
48406
|
animation: gradient 15s ease infinite;
|
|
48389
48407
|
`
|
|
48390
48408
|
}),
|
|
48391
|
-
stylerBackgroundColor: new StylerProperty("styler-background-color", createVarSet("background-color", colorVarList)),
|
|
48409
|
+
stylerBackgroundColor: new StylerProperty("styler-background-color", createVarSet("background-color", colorVarList, true, true)),
|
|
48410
|
+
stylerHoverBackgroundColor: new StylerProperty("styler-background-color", createVarSet("background-color", colorVarList, true, true), "", ":hover"),
|
|
48392
48411
|
stylerBackgroundClip: new StylerProperty("styler-background-clip", {
|
|
48393
48412
|
"none": styled.css`
|
|
48394
48413
|
background-clip: none;
|
|
@@ -48850,6 +48869,9 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../styler/StylerSet", ".
|
|
|
48850
48869
|
}), XNode.create(DropDownProperty, {
|
|
48851
48870
|
label: "Color",
|
|
48852
48871
|
property: properties.stylerColor
|
|
48872
|
+
}), XNode.create(DropDownProperty, {
|
|
48873
|
+
label: "Hover Color",
|
|
48874
|
+
property: properties.stylerHoverColor
|
|
48853
48875
|
}), XNode.create(SizeEditorControl, {
|
|
48854
48876
|
label: "Size",
|
|
48855
48877
|
property: properties.stylerFontSize
|
|
@@ -49125,6 +49147,9 @@ System.register(["@web-atoms/core/dist/core/XNode", "../controls/PropertyEditor"
|
|
|
49125
49147
|
}), XNode.create(DropDownProperty, {
|
|
49126
49148
|
label: "Color",
|
|
49127
49149
|
property: properties.stylerBackgroundColor
|
|
49150
|
+
}), XNode.create(DropDownProperty, {
|
|
49151
|
+
label: "Hover Color",
|
|
49152
|
+
property: properties.stylerHoverBackgroundColor
|
|
49128
49153
|
}), XNode.create(ButtonProperty, {
|
|
49129
49154
|
label: "Image",
|
|
49130
49155
|
eventClick: "change-background-image",
|