libreria-astro-lefebvre 0.1.123 → 0.1.124

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.123",
3
+ "version": "0.1.124",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -13,7 +13,7 @@ interface MenuItem {
13
13
  }
14
14
 
15
15
  const {
16
- label = 'Pruébalo ya',
16
+ label = '',
17
17
  url = '#',
18
18
  subdirectory = '',
19
19
  loading = 'eager' as 'lazy' | 'eager',
@@ -99,12 +99,14 @@ const categories: MenuItem[] = (categoriesProp && categoriesProp.length > 0)
99
99
  <img src="https://assets.lefebvre.es/media/logos-2/svg/lefebvre.svg" class="h-10" alt="GenIA-L Lefebvre" width="160" height="40" loading={loading}>
100
100
  </a>
101
101
  <div class="flex items-center gap-4">
102
+ {label && (
102
103
  <div class="flex items-center gap-4">
103
104
  <a href={url} class="h-12 max-[375px] px-3 md:px-5 py-3 font-body font-semibold max-[375px]:text-sm max-[375px]:leading-[21px] text-base leading-6 border-1 border-[#001978] text-[#001978] hover:text-[#ffffff] hover:border-[#001978] hover:bg-[#001978] transition-all duration-300 rounded-lg cursor-pointer shadow-sm">{label}</a>
104
105
  </div>
105
- <button onclick="document.getElementById('navbar-default').classList.toggle('hidden'); event.target.classList.toggle('bg-gray-50');"
106
- type="button" class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100
107
- focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
106
+ )}
107
+ <button onclick="document.getElementById('navbar-default').classList.toggle('hidden'); event.target.classList.toggle('bg-gray-50');"
108
+ type="button" class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100
109
+ focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
108
110
  aria-controls="navbar-default" aria-expanded="false">
109
111
  <span class="sr-only pointer-events-none">Abrir menú</span>
110
112
  <svg class="w-5 h-5 pointer-events-none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">