libreria-astro-lefebvre 0.2.7 → 0.2.9

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.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -4,7 +4,7 @@ export const metadata: ComponentMetadata = {
4
4
  component_name: 'Contenido_2026_Quito',
5
5
  category: 'Contenido con listas',
6
6
  name: 'Bloque de datos de contacto con iconos teléfono/email/ubicación 2026',
7
- description: 'Bloque vertical de datos de contacto con título h2 y listado de ítems; cada ítem combina un icono SVG (3 variantes fijas: teléfono, email o localización) y un texto HTML. El ÚLTIMO ítem del listado se resalta en rojo. Genera structured data schema.org ContactPoint extrayendo automáticamente el primer ítem de cada tipo (phone/email/locator)',
7
+ description: 'Bloque vertical de datos de contacto con título h2 y listado de ítems; cada ítem combina un icono SVG (3 variantes fijas: teléfono, email o localización) y un texto HTML. Genera structured data schema.org ContactPoint extrayendo automáticamente el primer ítem de cada tipo (phone/email/locator)',
8
8
  framework: 'Astro',
9
9
  priority: 1,
10
10
  tags: ['contenido', 'contacto', 'icono', 'seo', 'listado'],
@@ -28,7 +28,7 @@ export const metadata: ComponentMetadata = {
28
28
  {
29
29
  name: 'items',
30
30
  type: 'list',
31
- help: 'Listado de datos de contacto. Cada item tiene un icono (teléfono, email o localización) y un texto. El structured data SEO extrae el PRIMER item con icono "phone" como teléfono, el PRIMER con "email" como email, y el PRIMER con "locator" como localidad. Además, el ÚLTIMO item del listado se resalta en rojo',
31
+ help: 'Listado de datos de contacto. Cada item tiene un icono (teléfono, email o localización) y un texto. El structured data SEO extrae el PRIMER item con icono "phone" como teléfono, el PRIMER con "email" como email, y el PRIMER con "locator" como localidad',
32
32
  label: 'Listado de items de contacto',
33
33
  mandatory: false,
34
34
  items: {
@@ -49,7 +49,7 @@ const {
49
49
 
50
50
  <div class="max-w-[900px] text-[#403830] font-body font-normal text-lg not-italic flex flex-col gap-2 mb-8">
51
51
  {items.map((item: QuitoItem) => (
52
- <div class="w-auto flex flex-row gap-4 items-center last:text-[#d71635]">
52
+ <div class="w-auto flex flex-row gap-4 items-center">
53
53
  {
54
54
  item.icon === "locator" ? (
55
55
  <svg xmlns="http://www.w3.org/2000/svg" width="14" height="18" viewBox="0 0 14 18" fill="none">
@@ -48,7 +48,7 @@ const structuredData = `<script type="application/ld+json">
48
48
  {showImage ? (
49
49
  <article class="flex flex-col items-center justify-center">
50
50
  <div class={`flex-col md:flex ${orientation === 'left' ? 'flex-row' : 'flex-row-reverse'} w-full items-start gap-4 justify-between`}>
51
- <div class="w-full flex justify-start mb-8 flex-col">
51
+ <div class="w-full flex justify-start mb-8 flex-col p-4 rounded-2xl border border-[#e1c8b4] bg-white shadow-[0_2px_4px_-2px_rgba(107,58,8,0.08),0_4px_8px_-2px_rgba(107,58,8,0.04)]">
52
52
  {forceSkeleton ? (
53
53
  <div class="w-full flex flex-col mt-4 mx-auto gap-6 animate-pulse">
54
54
  <div class="h-6 w-2/3 bg-[#ebe7da] rounded"></div>