@win2win/shared 1.0.208 → 1.0.210

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.
@@ -7,7 +7,7 @@ export declare const TEMPLATES: Readonly<{
7
7
  };
8
8
  readonly "feature-highlights": {
9
9
  readonly label: "Caracteristicas destacadas";
10
- readonly params: readonly ["items", "image", "background", "direction"];
10
+ readonly params: readonly ["items", "image", "background", "direction", "text-lines"];
11
11
  };
12
12
  readonly "telephone-contracting": {
13
13
  readonly label: "Contratación de telefonía";
@@ -15,11 +15,11 @@ export declare const TEMPLATES: Readonly<{
15
15
  };
16
16
  readonly features: {
17
17
  readonly label: "Tarjetas de funcionalidades";
18
- readonly params: readonly ["title", "text", "button", "items"];
18
+ readonly params: readonly ["title", "text", "button", "items", "text-lines"];
19
19
  };
20
20
  readonly "features-presentation": {
21
21
  readonly label: "Presentación de funcionalidades";
22
- readonly params: readonly ["title", "subtitle", "text", "background", "items", "image", "button"];
22
+ readonly params: readonly ["title", "subtitle", "text", "background", "items", "image", "button", "text-lines"];
23
23
  readonly variants: readonly ["default", "images", "hero", "parallel-images", "texts", "simple", "highlight-image", "secondary-highlight-image", "highlight-title", "texts-columns", "images-columns", "secondary-images-columns", "secondary-hero"];
24
24
  };
25
25
  readonly "product-hero-searcher": {
@@ -190,16 +190,17 @@ export interface SectionItem {
190
190
  description: string;
191
191
  icon: string | null;
192
192
  link: string | null;
193
+ value: string | number | null;
194
+ key?: string;
193
195
  image: {
194
196
  src: string;
195
197
  file?: File;
196
198
  } | null;
197
- value: string | number | null;
198
- key?: string;
199
199
  image2?: {
200
200
  src: string;
201
201
  file?: File;
202
202
  } | null;
203
+ order?: number;
203
204
  }
204
205
  export interface CustomConditions {
205
206
  property: string;
@@ -17,7 +17,7 @@ exports.TEMPLATES = Object.freeze({
17
17
  },
18
18
  "feature-highlights": {
19
19
  label: "Caracteristicas destacadas",
20
- params: ["items", "image", "background", "direction"],
20
+ params: ["items", "image", "background", "direction", "text-lines"],
21
21
  },
22
22
  "telephone-contracting": {
23
23
  label: "Contratación de telefonía",
@@ -25,7 +25,7 @@ exports.TEMPLATES = Object.freeze({
25
25
  },
26
26
  features: {
27
27
  label: "Tarjetas de funcionalidades",
28
- params: ["title", "text", "button", "items"],
28
+ params: ["title", "text", "button", "items", "text-lines"],
29
29
  },
30
30
  "features-presentation": {
31
31
  label: "Presentación de funcionalidades",
@@ -37,6 +37,7 @@ exports.TEMPLATES = Object.freeze({
37
37
  "items",
38
38
  "image",
39
39
  "button",
40
+ "text-lines",
40
41
  ],
41
42
  variants: [
42
43
  "default",
@@ -56,7 +56,7 @@ export declare const GAMA_PROP_CONTROL_TYPES: readonly [{
56
56
  readonly label: "Colección";
57
57
  }, {
58
58
  readonly code: "images";
59
- readonly icon: "image";
59
+ readonly icon: "o_image";
60
60
  readonly label: "Imágenes";
61
61
  }];
62
62
  export type GamaPropControlCode = (typeof GAMA_PROP_CONTROL_TYPES)[number]["code"];
@@ -16,7 +16,7 @@ exports.GAMA_PROP_CONTROL_TYPES = [
16
16
  { code: "object", icon: "data_object", label: "Objeto" },
17
17
  { code: "keys_counter", icon: "plus_one", label: "Contador de entradas" },
18
18
  { code: "collection", icon: "o_description", label: "Colección" },
19
- { code: "images", icon: "image", label: "Imágenes" },
19
+ { code: "images", icon: "o_image", label: "Imágenes" },
20
20
  ];
21
21
  var ControlType;
22
22
  (function (ControlType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.208",
3
+ "version": "1.0.210",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",