libreria-astro-lefebvre 0.0.54 → 0.0.56

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.54",
3
+ "version": "0.0.56",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -60,7 +60,7 @@ const structuredData = `<script type="application/ld+json">
60
60
 
61
61
  <div class={`flex ${positionFlex === 'items-start' ? 'items-start' : 'items-center'} p-0 md:p-6 md:pl-0 gap-4 mb-4 md:mb-0 ${flexOrientationIcoText === 'flex-row'? 'flex-row w-full': `flex-col ${widthBlock}`}`}>
62
62
  {showIco ? (
63
- <div class="flex justify-center bg-[#F2F3F8] p-[12px] w-[48px] h-[48px] rounded-[48px]">
63
+ <div class="flex items-center justify-center bg-[#F2F3F8] p-[12px] w-[48px] h-[48px] rounded-[48px]">
64
64
  {
65
65
  icon === "more" ? (
66
66
  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="#2134F1" class="ico-more">
@@ -95,7 +95,7 @@ const structuredData = `<script type="application/ld+json">
95
95
  )
96
96
 
97
97
  : icon === "medal2" ? (
98
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="#2134F1">
98
+ <svg xmlns="http://www.w3.org/2000/svg" width="19" height="26" viewBox="4 5 22 22" fill="#2134F1">
99
99
  <path fill-rule="evenodd" clip-rule="evenodd" d="M15.3603 3.00792C13.9278 3.14441 12.9648 3.40051 11.8333 3.94591C8.89223 5.36355 6.92705 8.11589 6.53924 11.3604C6.48081 11.8493 6.48908 13.0221 6.55444 13.5185C6.82633 15.5829 7.71985 17.4433 9.12507 18.871C9.42446 19.1751 9.44503 19.2039 9.41644 19.2781C9.37864 19.3763 8.41146 22.8702 8.21582 23.6152C7.68608 25.6326 7.59391 26.4985 7.82881 27.251C8.0675 28.0157 8.74752 28.6805 9.53917 28.9232C9.73475 28.9831 9.84002 28.9948 10.179 28.9939C11.0352 28.9916 11.7358 28.7242 14.2467 27.4413C15.4008 26.8516 15.7629 26.6982 16.0002 26.6982C16.2367 26.6982 16.5986 26.851 17.7189 27.4242C19.6179 28.3957 20.374 28.7299 21.0722 28.9061C21.5416 29.0246 22.1076 29.0316 22.4612 28.9232C23.2541 28.6801 23.9328 28.0158 24.1724 27.2481C24.4057 26.501 24.312 25.6241 23.7845 23.6152C23.5896 22.8727 22.6217 19.3764 22.5841 19.2787C22.5559 19.2053 22.5776 19.1749 22.8791 18.8667C24.2896 17.4246 25.1752 15.5792 25.4457 13.5185C25.5107 13.0233 25.5191 11.8824 25.4614 11.3758C25.0942 8.14789 23.1112 5.36506 20.167 3.94591C19.2155 3.48726 18.2967 3.21242 17.2258 3.0661C16.9065 3.02247 15.6265 2.98255 15.3603 3.00792ZM15.2042 4.96613C14.1503 5.07357 13.0223 5.44827 12.0986 5.99784C9.77289 7.38153 8.36982 9.92917 8.45756 12.609C8.47804 13.2346 8.53278 13.6311 8.67898 14.2128C8.8151 14.7546 8.96002 15.1386 9.24305 15.7074C10.1175 17.4648 11.6933 18.8243 13.5812 19.4499C14.46 19.7411 15.0525 19.8356 16.0002 19.8356C16.8938 19.8356 17.5069 19.7445 18.2849 19.4961C19.4739 19.1164 20.418 18.5506 21.3011 17.6885C21.9447 17.0601 22.3737 16.4764 22.7569 15.7074C23.1372 14.9442 23.3515 14.2757 23.4782 13.4568C23.5576 12.9433 23.5593 11.8438 23.4815 11.345C23.1692 9.34393 22.1308 7.60764 20.5416 6.4289C19.4324 5.60621 18.1155 5.0969 16.7538 4.964C16.3821 4.92774 15.57 4.92882 15.2042 4.96613ZM10.821 21.5111C9.8938 24.8406 9.66402 25.8121 9.66402 26.4025C9.66402 26.6648 9.7134 26.7778 9.89824 26.9385C10.0804 27.0969 10.1842 27.1048 10.5821 26.9909C10.9915 26.8738 11.5699 26.6094 13.1515 25.8165C14.6704 25.055 14.9855 24.9167 15.3915 24.8333C15.7181 24.7662 16.2822 24.7662 16.6088 24.8333C17.0141 24.9166 17.3248 25.0529 18.8467 25.8157C20.4304 26.6094 21.0087 26.8737 21.4183 26.9909C21.8161 27.1048 21.9199 27.0969 22.1021 26.9385C22.1841 26.8672 22.2704 26.7635 22.2938 26.7082C22.4132 26.426 22.2959 25.6671 21.8969 24.1393C21.736 23.5234 20.9003 20.4917 20.8879 20.4789C20.8841 20.475 20.622 20.601 20.3055 20.7588C19.2264 21.2969 18.1621 21.6096 16.9834 21.7349C16.5416 21.7818 15.4587 21.7818 15.017 21.7349C13.8378 21.6096 12.774 21.297 11.6936 20.7582C11.3764 20.6 11.1138 20.4706 11.1138 20.4706C11.1138 20.4706 10.9803 20.9388 10.821 21.5111Z" fill="#2134F1"/>
100
100
  </svg>
101
101
  )
@@ -180,7 +180,7 @@ const structuredData = `<script type="application/ld+json">
180
180
  </svg>
181
181
  )
182
182
  : icon === "documents" ? (
183
- <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="#2134F1">
183
+ <svg xmlns="http://www.w3.org/2000/svg" width="19" height="26" viewBox="4 5 24 24" fill="#2134F1">
184
184
  <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4341 3.02855C9.33342 3.09827 8.00491 3.35055 7.02996 3.86481C5.87028 4.47654 5.07853 5.46295 4.67274 6.80164C4.40459 7.6863 4.2832 8.67253 4.22485 10.44C4.18366 11.6878 4.18487 20.8698 4.22626 21.2796C4.32935 22.2997 4.74438 23.2058 5.45629 23.9649C5.85644 24.3916 6.46592 24.8183 6.98243 25.0333C7.23193 25.1372 7.82026 25.3133 7.91783 25.3133C8.00139 25.3133 8.01061 25.3312 8.08132 25.6305C8.41652 27.0492 9.19798 28.0019 10.4387 28.5043C11.0028 28.7329 11.7417 28.8767 12.7635 28.957C13.4944 29.0143 22.1125 29.0143 22.8434 28.957C24.7047 28.8107 25.6991 28.4471 26.4982 27.6203C27.1889 26.9058 27.5519 25.9919 27.6967 24.6036C27.7881 23.7265 27.8057 22.6255 27.8055 17.7919C27.8052 12.3384 27.7851 11.4883 27.6332 10.5171C27.3169 8.4943 26.28 7.32145 24.4194 6.88176C24.2775 6.84822 24.154 6.81342 24.145 6.80438C24.136 6.79538 24.0905 6.6387 24.0439 6.45621C23.9331 6.02173 23.8025 5.689 23.6103 5.35121C22.9846 4.25111 21.9565 3.45505 20.7634 3.14676C20.1902 2.99868 20.1216 2.99658 16.0002 3.00114C13.8724 3.00349 11.8177 3.01582 11.4341 3.02855ZM11.2376 4.97092C9.07529 5.06675 7.99427 5.35584 7.30357 6.02302C6.61918 6.68407 6.33047 7.60609 6.19077 9.57688C6.16105 9.99592 6.15144 11.4975 6.15144 15.7111C6.15144 21.0344 6.15403 21.2997 6.20812 21.4909C6.27887 21.7409 6.43731 22.0872 6.57032 22.2824C6.71656 22.4969 7.04691 22.8333 7.26115 22.9857C7.43797 23.1115 7.74089 23.2788 7.79187 23.2788C7.80516 23.2788 7.81601 20.7993 7.81601 17.7687C7.81601 12.095 7.82301 11.7083 7.94205 10.7945C8.04772 9.98341 8.2217 9.37593 8.49771 8.85446C9.14425 7.63291 10.2413 6.96461 11.962 6.74403C12.8725 6.62732 13.3162 6.61764 17.7495 6.61764C20.1273 6.61764 22.0728 6.60679 22.0728 6.59351C22.0728 6.58022 22.0362 6.49699 21.9915 6.40855C21.6659 5.76369 21.0415 5.23972 20.3413 5.02363L20.1154 4.95393L15.9539 4.95014C13.6651 4.94805 11.5428 4.95742 11.2376 4.97092ZM13.2413 8.57728C10.8199 8.69648 10.132 9.16977 9.88236 10.8883C9.76902 11.6686 9.76452 11.8864 9.75123 17.2524C9.73548 23.5954 9.75539 24.3056 9.97462 25.217C10.0922 25.706 10.2494 26.012 10.524 26.2866C11.0157 26.7782 11.6834 26.9604 13.2879 27.0407C14.2199 27.0874 22.4332 27.0644 22.9205 27.0137C23.9946 26.9022 24.5766 26.7325 24.9535 26.421C25.4632 25.9998 25.6731 25.4322 25.8074 24.1111C25.8575 23.6193 25.8818 13.0872 25.8352 12.1354C25.7546 10.4926 25.5748 9.81979 25.0855 9.33062C24.6587 8.904 24.0868 8.71571 22.8742 8.60265C22.409 8.55924 14.0542 8.53724 13.2413 8.57728Z" fill="#2134F1"/>
185
185
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.655 17.9842C12.655 17.4522 13.0863 17.0209 13.6183 17.0209H21.7528C22.2848 17.0209 22.716 17.4522 22.716 17.9842C22.716 18.5162 22.2848 18.9475 21.7528 18.9475H13.6183C13.0863 18.9475 12.655 18.5162 12.655 17.9842Z" fill="#2134F1"/>
186
186
  <path fill-rule="evenodd" clip-rule="evenodd" d="M12.655 13.917C12.655 13.385 13.0863 12.9537 13.6183 12.9537H21.7528C22.2848 12.9537 22.716 13.385 22.716 13.917C22.716 14.449 22.2848 14.8803 21.7528 14.8803H13.6183C13.0863 14.8803 12.655 14.449 12.655 13.917Z" fill="#2134F1"/>
@@ -24,7 +24,7 @@ const imageUrl = extractImageUrl(image);
24
24
 
25
25
  <section class="w-full flex items-center justify-center">
26
26
  {showImage ? (
27
- <article class={`${width === 'full' ? 'w-full' : 'w-3/5'} flex flex-col items-center justify-center py-6`}>
27
+ <article class={`w-${width} flex flex-col items-center justify-center py-6`}>
28
28
  <div class={`flex-col lg:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full md:w-4/5 items-${alignItems} gap-6`}>
29
29
  {showIco ? (
30
30
  <div class={`flex ${flexOrientation === 'row' ? 'flex-row' : 'flex-col'} w-1/2`}>
@@ -95,13 +95,13 @@ const imageUrl = extractImageUrl(image);
95
95
 
96
96
  )}
97
97
 
98
- <div class={`w-full lg:w-1/2 p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'} aspect-square`}>
99
- <img src={imageUrl} alt={title} class="w-[100%] h-[100%] object-cover rounded-lg" loading="lazy"/>
98
+ <div class={`w-full lg:w-1/2 p-4 flex items-center ${orientation === 'left' ? 'justify-end' : 'justify-start'} aspect-auto`}>
99
+ <img src={image} alt={title} class="max-w-xl w-[75%] h-auto object-cover rounded-lg m-auto" loading="lazy" />
100
100
  </div>
101
101
  </div>
102
102
  </article>
103
103
  ) : (
104
- <article class={`${width === 'full' ? 'w-full' : 'w-3/5'} flex flex-col items-center justify-center p-12`}>
104
+ <article class={`w-${width} flex flex-col items-center justify-center p-12`}>
105
105
  <div class={`flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} items-start gap-4`}>
106
106
  {showIco ? (
107
107
  <div class={`flex ${flexOrientation === 'row' ? 'flex-row' : 'flex-col'} w-1/2 p-4 flex flex-wrap`}>