@win2win/shared 1.0.196 → 1.0.198
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Prettify } from "../shared/shared-types";
|
|
1
|
+
import { JsonObject, Prettify } from "../shared/shared-types";
|
|
2
2
|
export declare const TEMPLATES: Readonly<{
|
|
3
3
|
readonly "single-feature": {
|
|
4
4
|
readonly label: "Funcionalidad";
|
|
@@ -48,7 +48,7 @@ export declare const TEMPLATES: Readonly<{
|
|
|
48
48
|
};
|
|
49
49
|
readonly banner: {
|
|
50
50
|
readonly label: "Banner";
|
|
51
|
-
readonly params: readonly ["title", "text", "background", "image", "height", "text-lines"];
|
|
51
|
+
readonly params: readonly ["title", "text", "background", "image", "height", "text-lines", "items"];
|
|
52
52
|
readonly variants: readonly ["default", "image", "colored"];
|
|
53
53
|
};
|
|
54
54
|
readonly hero: {
|
|
@@ -234,6 +234,9 @@ export interface SectionParams {
|
|
|
234
234
|
button?: {
|
|
235
235
|
text: string;
|
|
236
236
|
link: string;
|
|
237
|
+
props?: JsonObject;
|
|
238
|
+
classes?: string;
|
|
239
|
+
styles?: string;
|
|
237
240
|
} | null;
|
|
238
241
|
height?: string;
|
|
239
242
|
children?: number[];
|
|
@@ -88,7 +88,15 @@ exports.TEMPLATES = Object.freeze({
|
|
|
88
88
|
},
|
|
89
89
|
banner: {
|
|
90
90
|
label: "Banner",
|
|
91
|
-
params: [
|
|
91
|
+
params: [
|
|
92
|
+
"title",
|
|
93
|
+
"text",
|
|
94
|
+
"background",
|
|
95
|
+
"image",
|
|
96
|
+
"height",
|
|
97
|
+
"text-lines",
|
|
98
|
+
"items",
|
|
99
|
+
],
|
|
92
100
|
variants: ["default", "image", "colored"],
|
|
93
101
|
},
|
|
94
102
|
hero: {
|
package/package.json
CHANGED