@win2win/shared 1.0.135 → 1.0.137
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.
|
@@ -134,6 +134,10 @@ export declare const TEMPLATES: Readonly<{
|
|
|
134
134
|
readonly "ecommerce-checkout": {
|
|
135
135
|
readonly label: "Checkout de Ecommerce";
|
|
136
136
|
};
|
|
137
|
+
readonly "ecommerce-highlights": {
|
|
138
|
+
readonly label: "Catálogo productos destacados";
|
|
139
|
+
readonly params: readonly ["title", "text", "background", "custom"];
|
|
140
|
+
};
|
|
137
141
|
}>;
|
|
138
142
|
export type Template = keyof typeof TEMPLATES;
|
|
139
143
|
export type TemplateConfig = Prettify<(typeof TEMPLATES)[Template]>;
|
|
@@ -176,6 +180,7 @@ export interface SectionItem {
|
|
|
176
180
|
src: string;
|
|
177
181
|
file?: File;
|
|
178
182
|
} | null;
|
|
183
|
+
value: string | number | null;
|
|
179
184
|
image2?: {
|
|
180
185
|
src: string;
|
|
181
186
|
file?: File;
|
|
@@ -178,6 +178,10 @@ exports.TEMPLATES = Object.freeze({
|
|
|
178
178
|
"ecommerce-checkout": {
|
|
179
179
|
label: "Checkout de Ecommerce",
|
|
180
180
|
},
|
|
181
|
+
"ecommerce-highlights": {
|
|
182
|
+
label: "Catálogo productos destacados",
|
|
183
|
+
params: ["title", "text", "background", "custom"],
|
|
184
|
+
},
|
|
181
185
|
});
|
|
182
186
|
exports.PRODUCT_TEMPLATES_LABELS = [
|
|
183
187
|
"product-carousel",
|
package/package.json
CHANGED