libreria-astro-lefebvre 0.0.181 → 0.0.183

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libreria-astro-lefebvre",
3
- "version": "0.0.181",
3
+ "version": "0.0.183",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -126,6 +126,14 @@ export const metadata: ComponentMetadata = {
126
126
  label: 'Nombre del formulario LF2',
127
127
  mandatory: false,
128
128
  example_value: 'formulario-contacto-genial'
129
+ },
130
+ {
131
+ name: 'idebook',
132
+ type: 'text',
133
+ help: 'ID del ebook, whitepaper o documento registrado en BI con formato EXXXXXXX para pasar como parámetro oculto al formulario de LF2. No es obligatorio, solo debe usarse para formularios que acabaran con una descarga',
134
+ label: 'ID de documento en BI (opcional)',
135
+ mandatory: false,
136
+ example_value: ''
129
137
  }
130
138
  ]
131
139
  };
@@ -42,7 +42,7 @@ export const metadata: ComponentMetadata = {
42
42
  mandatory: false,
43
43
  exclusive_group: 'media',
44
44
  exclusive_group_label: 'Contenido multimedia',
45
- example_value: 'https://www.youtube.com/embed/3gJIiEdYKR0'
45
+ example_value: ''
46
46
  },
47
47
  ]
48
48
 
@@ -39,7 +39,7 @@ export const metadata: ComponentMetadata = {
39
39
  help: 'Imagen al compartir en RRSS',
40
40
  label: 'Src de la imagen para compartir',
41
41
  mandatory: false,
42
- example_value: 'https://www.ejemplo.com/imagen.jpg'
42
+ example_value: ''
43
43
  },
44
44
  {
45
45
  name: 'robots',
@@ -18,6 +18,7 @@ const {
18
18
  titleModal = '',
19
19
  descriptionModal = '',
20
20
  lf2FormTitle = '',
21
+ idebook = '',
21
22
 
22
23
  } = Astro.props;
23
24
 
@@ -46,7 +47,7 @@ const hasContent = title || description;
46
47
  <a href={linkBtn} target="_self" class="flex items-center justify-center h-12 gap-4 shrink-0 self-stretch rounded-lg border border-[#2134F1] bg-[rgba(255,255,255,0.01)] text-[#2134F1] text-center font-[Inter] text-base font-semibold leading-6 no-underline hover:underline transition-all duration-300 cursor-pointer shadow-[0_2px_4px_-2px_rgba(0,0,0,0.08),0_4px_8px_-2px_rgba(0,0,0,0.04)]">{txtBtn}</a>
47
48
  )}
48
49
  {showBtnModal && (
49
- <Modal_2025_Sagunto buttonText={txtBtnModal} frontColor="#2134F1" backColor="#fffffff" borderColor="#2134F1" imageModal={imageModal} altModal={altModal} titleModal={titleModal} descriptionModal={descriptionModal} lf2FormTitle={lf2FormTitle} />
50
+ <Modal_2025_Sagunto buttonText={txtBtnModal} frontColor="#2134F1" backColor="#fffffff" borderColor="#2134F1" imageModal={imageModal} altModal={altModal} titleModal={titleModal} descriptionModal={descriptionModal} lf2FormTitle={lf2FormTitle} idebook={idebook} />
50
51
  )}
51
52
  </div>
52
53
  </section>
@@ -94,7 +95,7 @@ const hasContent = title || description;
94
95
  <a href={linkBtn} target="_self" class="flex items-center justify-center h-12 gap-4 shrink-0 self-stretch rounded-lg border border-[#2134F1] bg-[rgba(255,255,255,0.01)] text-[#2134F1] text-center font-[Inter] text-base font-semibold leading-6 no-underline hover:underline transition-all duration-300 cursor-pointer shadow-[0_2px_4px_-2px_rgba(0,0,0,0.08),0_4px_8px_-2px_rgba(0,0,0,0.04)]">{txtBtn}</a>
95
96
  )}
96
97
  {showBtnModal && (
97
- <Modal_2025_Sagunto buttonText={txtBtnModal} frontColor="#2134F1" backColor="#ffffff" borderColor="#2134F1" imageModal={imageModal} altModal={altModal} titleModal={titleModal} descriptionModal={descriptionModal} lf2FormTitle={lf2FormTitle} />
98
+ <Modal_2025_Sagunto buttonText={txtBtnModal} frontColor="#2134F1" backColor="#ffffff" borderColor="#2134F1" imageModal={imageModal} altModal={altModal} titleModal={titleModal} descriptionModal={descriptionModal} lf2FormTitle={lf2FormTitle} idebook={idebook} />
98
99
  )}
99
100
  </div>
100
101
  </section>