libreria-astro-lefebvre 0.1.67 → 0.1.69

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.1.67",
3
+ "version": "0.1.69",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -159,7 +159,7 @@ export const metadata: ComponentMetadata = {
159
159
  mandatory: false,
160
160
  exclusive_group: 'media',
161
161
  exclusive_group_label: 'Contenido multimedia',
162
- example_value: 'https://player.vimeo.com/video/1087114916?controls=0&autoplay=1&muted=1&loop=1&badge=0&autopause=0&player_id=0&app_id=58479'
162
+ example_value: ''
163
163
  },
164
164
  {
165
165
  name: 'loading',
@@ -78,10 +78,10 @@ const videoUrl = iframeSrc || '';
78
78
  {(showBtn && linkBtn) || showBtnModal ? (
79
79
  <Fragment>
80
80
  {showBtn && linkBtn && (
81
- <a href={linkBtn} target="_self" class="inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
81
+ <a href={linkBtn} target="_self" class="inline-flex w-fit mr-3 h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
82
82
  )}
83
83
  {showBtnModal && (
84
- <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
84
+ <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-flex w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
85
85
  )}
86
86
  </Fragment>
87
87
  ) : (
@@ -114,10 +114,10 @@ const videoUrl = iframeSrc || '';
114
114
  {(showBtn && linkBtn) || showBtnModal ? (
115
115
  <Fragment>
116
116
  {showBtn && linkBtn && (
117
- <a href={linkBtn} target="_self" class="inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
117
+ <a href={linkBtn} target="_self" class="inline-flex w-fit mr-3 h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
118
118
  )}
119
119
  {showBtnModal && (
120
- <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
120
+ <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-flex w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
121
121
  )}
122
122
  </Fragment>
123
123
  ) : (
@@ -166,7 +166,7 @@ const videoUrl = iframeSrc || '';
166
166
  {(showBtn && linkBtn) || showBtnModal ? (
167
167
  <Fragment>
168
168
  {showBtn && linkBtn && (
169
- <a href={linkBtn} target="_self" class="inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
169
+ <a href={linkBtn} target="_self" class="inline-flex w-fit mr-3 h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
170
170
  )}
171
171
  {showBtnModal && (
172
172
  <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
@@ -189,10 +189,10 @@ const videoUrl = iframeSrc || '';
189
189
  {(showBtn && linkBtn) || showBtnModal ? (
190
190
  <Fragment>
191
191
  {showBtn && linkBtn && (
192
- <a href={linkBtn} target="_self" class="inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
192
+ <a href={linkBtn} target="_self" class="inline-flex w-fit mr-3 h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base">{txtBtn}</a>
193
193
  )}
194
194
  {showBtnModal && (
195
- <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-block w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
195
+ <button id={`js-open-teruel-popup-${randomId}`} class={`popup-modal-trigger-${randomId} inline-flex w-fit h-11 md:h-12 text-[#2134F1] font-inter font-semibold bg-[#ffffff] px-3.5 md:px-5 py-2.5 md:py-3 mt-0 border border-[#2134F1] rounded-lg shadow-md hover:bg-[#DDE0EC] transition-all duration-300 hover:text-[#2134F1] hover:border-[#2134F1] text-sm md:text-base cursor-pointer`}>{txtBtnModal}</button>
196
196
  )}
197
197
  </Fragment>
198
198
  ) : (