libreria-astro-lefebvre 0.0.113 → 0.0.116

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.113",
3
+ "version": "0.0.116",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -36,6 +36,27 @@ export const metadata: ComponentMetadata = {
36
36
  label: 'Alt de la imagen del autor',
37
37
  mandatory: false,
38
38
  example_value: 'Imagen del autor'
39
+ },
40
+ {
41
+ name: 'minutes',
42
+ type: 'text',
43
+ label: 'Minutos de lectura',
44
+ mandatory: false,
45
+ example_value: '20'
46
+ },
47
+ {
48
+ name: 'borderRadius',
49
+ type: 'text',
50
+ label: 'Border radius de la imagen (ej: full, lg, [48px])',
51
+ mandatory: false,
52
+ example_value: ''
53
+ },
54
+ {
55
+ name: 'full',
56
+ type: 'boolean',
57
+ label: 'Imagen a ancho completo',
58
+ mandatory: false,
59
+ example_value: true
39
60
  }
40
61
  ]
41
62
  };
@@ -75,6 +75,14 @@ export const metadata: ComponentMetadata = {
75
75
  label: 'Mostrar botón',
76
76
  mandatory: false,
77
77
  example_value: true
78
- }
78
+ },
79
+ {
80
+ name: 'loading',
81
+ type: 'select',
82
+ label: 'Carga de la imagen',
83
+ options: ['lazy', 'eager'],
84
+ options_labels: ['Diferida', 'Inmediata'],
85
+ example_value: 'lazy'
86
+ }
79
87
  ]
80
88
  };
@@ -75,6 +75,13 @@ export const metadata: ComponentMetadata = {
75
75
  label: 'Mostrar descripción',
76
76
  mandatory: false,
77
77
  example_value: true
78
+ },
79
+ {
80
+ name: 'color',
81
+ type: 'text',
82
+ label: 'Color del título (en hex)',
83
+ mandatory: false,
84
+ example_value: '#ffffff'
78
85
  }
79
86
  ]
80
87
  };
@@ -3,7 +3,7 @@ import type { ComponentMetadata } from '../interfaces/types';
3
3
  export const metadata: ComponentMetadata = {
4
4
  component_name: 'Indice_2025_Taiwan',
5
5
  category: 'Texto',
6
- name: 'Índice Genial 2025',
6
+ name: 'Componente de índice Genial 2025',
7
7
  description: 'Índice para el directorio de Genial en la corporativa de Lefebvre',
8
8
  framework: 'Astro',
9
9
  priority: 1,
@@ -1,34 +1,27 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Video_2025_Valencia',
5
- category: 'Contenido',
6
- name: 'Item con vídeo Genial 2025',
7
- description: 'Item con vídeo para el directorio de Genial en la corporativa de Lefebvre',
8
- framework: 'Astro',
9
- priority: 1,
10
- tags: ['video', 'genial'],
11
- fields: [
12
- {
13
- name: 'title',
14
- type: 'text',
15
- label: 'Texto del título',
16
- mandatory: false,
17
- example_value: 'Gatos adorables que te alegrarán el día'
18
- },
19
- {
20
- name: 'description',
21
- type: 'text',
22
- label: 'Texto de la descripción',
23
- mandatory: false,
24
- example_value: 'Los gatos son criaturas maravillosas que traen alegría y compañía a nuestras vidas.'
25
- },
26
- {
27
- name: 'iframeSrc',
28
- type: 'video',
29
- label: 'URL del vídeo',
30
- mandatory: false,
31
- example_value: 'https://lefebvre.es/genia-l/videos/genial/video-trazabilidad.mp4'
32
- }
33
- ]
34
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Video_2025_Valencia',
5
+ category: 'Contenido',
6
+ name: 'Item con vídeo Genial 2025',
7
+ description: 'Item con vídeo para el directorio de Genial en la corporativa de Lefebvre',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['video', 'genial'],
11
+ fields: [
12
+ {
13
+ name: 'items',
14
+ type: 'list',
15
+ label: 'Listado de vídeos',
16
+ mandatory: false,
17
+ items: {
18
+ type: 'object',
19
+ fields: [
20
+ { name: 'title', type: 'text', label: 'Texto del título' },
21
+ { name: 'description', type: 'text', label: 'Texto de la descripción' },
22
+ { name: 'iframeSrc', type: 'video', label: 'URL del vídeo' }
23
+ ]
24
+ }
25
+ }
26
+ ]
27
+ };