@win2win/shared 1.0.178 → 1.0.181
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.
|
@@ -121,7 +121,7 @@ function formatContactName(contact) {
|
|
|
121
121
|
return k.toLowerCase();
|
|
122
122
|
});
|
|
123
123
|
return capitalize([nombre, apellido, apellido2]
|
|
124
|
-
.map((v) => (v || "").trim())
|
|
124
|
+
.map((v) => String(v || "").trim())
|
|
125
125
|
.filter(Boolean)
|
|
126
126
|
.join(" "), true).trim();
|
|
127
127
|
}
|
|
@@ -54,7 +54,7 @@ export declare const TEMPLATES: Readonly<{
|
|
|
54
54
|
readonly hero: {
|
|
55
55
|
readonly label: "Hero";
|
|
56
56
|
readonly params: readonly ["text", "title", "background", "items", "image", "custom"];
|
|
57
|
-
readonly variants: readonly ["default", "dense", "banner"];
|
|
57
|
+
readonly variants: readonly ["default", "dense", "banner", "contact"];
|
|
58
58
|
};
|
|
59
59
|
readonly image: {
|
|
60
60
|
readonly label: "Imagen";
|
|
@@ -127,7 +127,7 @@ export declare const TEMPLATES: Readonly<{
|
|
|
127
127
|
readonly "ecommerce-banner": {
|
|
128
128
|
readonly label: "Banner para Ecommerce";
|
|
129
129
|
readonly params: readonly ["title", "text", "background", "image", "height", "custom", "button"];
|
|
130
|
-
readonly variants: readonly ["default", "text-image", "text-centered", "text-image-background"];
|
|
130
|
+
readonly variants: readonly ["default", "text-image", "text-centered", "text-image-background", "contact"];
|
|
131
131
|
};
|
|
132
132
|
readonly "ecommerce-filters": {
|
|
133
133
|
readonly label: "Filtros para Ecommerce";
|
|
@@ -86,7 +86,7 @@ exports.TEMPLATES = Object.freeze({
|
|
|
86
86
|
hero: {
|
|
87
87
|
label: "Hero",
|
|
88
88
|
params: ["text", "title", "background", "items", "image", "custom"],
|
|
89
|
-
variants: ["default", "dense", "banner"],
|
|
89
|
+
variants: ["default", "dense", "banner", "contact"],
|
|
90
90
|
},
|
|
91
91
|
image: {
|
|
92
92
|
label: "Imagen",
|
|
@@ -189,6 +189,7 @@ exports.TEMPLATES = Object.freeze({
|
|
|
189
189
|
"text-image",
|
|
190
190
|
"text-centered",
|
|
191
191
|
"text-image-background",
|
|
192
|
+
"contact",
|
|
192
193
|
],
|
|
193
194
|
},
|
|
194
195
|
"ecommerce-filters": {
|
package/package.json
CHANGED