libreria-astro-lefebvre 0.0.22 → 0.0.24

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.22",
3
+ "version": "0.0.24",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -0,0 +1,59 @@
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Repetidor_2025_Cordoba',
5
+ category: 'Contenido',
6
+ name: 'Contenido con icono grande Genial 2025',
7
+ description: 'Contenido con icono grande para el directorio de Genial en la corporativa de Lefebvre',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['contenido', 'genial', 'icono'],
11
+ fields: [
12
+ {
13
+ name: 'title',
14
+ type: 'text',
15
+ label: 'Texto del título',
16
+ mandatory: false,
17
+ example_value: 'Pruébalo ya'
18
+ },
19
+ {
20
+ name: 'description',
21
+ type: 'text',
22
+ label: 'Texto de la descripción',
23
+ mandatory: false,
24
+ example_value: 'Texto descriptivo del título'
25
+ },
26
+ {
27
+ name: 'tipo',
28
+ type: 'select',
29
+ label: 'Etiqueta del título',
30
+ options: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span'],
31
+ options_labels: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'Span'],
32
+ example_value: 'h2'
33
+ },
34
+ {
35
+ name: 'bigIcon',
36
+ type: 'select',
37
+ label: 'Icono',
38
+ options: ['bigIA', 'bigIso1', 'bigIso2', 'bigGDPR', 'bigIso3'],
39
+ options_labels: ['IA', 'Iso1', 'Iso2', 'GDPR', 'Iso3'],
40
+ example_value: 'more'
41
+ },
42
+ {
43
+ name: 'positionFlex',
44
+ type: 'select',
45
+ label: 'Posición del item',
46
+ options: ['items-start', 'items-center'],
47
+ options_labels: ['Principio', 'Centrado'],
48
+ example_value: 'items-start'
49
+ },
50
+ {
51
+ name: 'flexOrientationIcoText',
52
+ type: 'select',
53
+ label: 'Flex del item',
54
+ options: ['flex-row', 'flex-col'],
55
+ options_labels: ['Horizontal', 'Vertical'],
56
+ example_value: 'flex-row'
57
+ },
58
+ ]
59
+ };
@@ -54,6 +54,14 @@ export const metadata: ComponentMetadata = {
54
54
  options: ['flex-row', 'flex-col'],
55
55
  options_labels: ['Horizontal', 'Vertical'],
56
56
  example_value: 'flex-row'
57
- },
57
+ },
58
+ {
59
+ name: 'widthBlock',
60
+ type: 'select',
61
+ label: 'Tamaño del bloque',
62
+ options: ['lg:w-1/4 md:w-2/4', 'lg:w-1/3'],
63
+ options_labels: ['1/4', '1/3'],
64
+ example_value: 'lg:w-1/4 md:w-2/4'
65
+ },
58
66
  ]
59
67
  };
@@ -64,6 +64,13 @@ export const metadata: ComponentMetadata = {
64
64
  label: 'Mostrar botón',
65
65
  mandatory: false,
66
66
  example_value: true
67
+ },
68
+ {
69
+ name: 'showDescription',
70
+ type: 'boolean',
71
+ label: 'Mostrar descripción',
72
+ mandatory: false,
73
+ example_value: true
67
74
  }
68
75
  ]
69
76
  };
@@ -0,0 +1,75 @@
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Repetidor_2025_Mallorca',
5
+ category: 'Repetidor',
6
+ name: 'Repetidor de contenido con icono Genial 2025',
7
+ description: 'Repetidor de contenido con icono para el directorio de Genial en la corporativa de Lefebvre',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['contenido', 'genial', 'icono'],
11
+ fields: [
12
+
13
+ {
14
+ name: 'positionFlex',
15
+ type: 'select',
16
+ label: 'Posición del item',
17
+ options: ['items-start', 'items-center'],
18
+ options_labels: ['Principio', 'Centrado'],
19
+ example_value: 'items-start'
20
+ },
21
+ {
22
+ name: 'positionBtnFlex',
23
+ type: 'select',
24
+ label: 'Posición del botón',
25
+ options: ['justify-center', 'justify-start'],
26
+ options_labels: ['Centrado', 'Principio'],
27
+ example_value: 'justify-center'
28
+ },
29
+ {
30
+ name: 'flexOrientationIcoText',
31
+ type: 'select',
32
+ label: 'Flex del icono del item',
33
+ options: ['flex-row', 'flex-col'],
34
+ options_labels: ['Horizontal', 'Vertical'],
35
+ example_value: 'flex-row'
36
+ },
37
+ {
38
+ name: 'flexOrientationBlockIcoText',
39
+ type: 'select',
40
+ label: 'Flex del item',
41
+ options: ['flex-row', 'flex-col'],
42
+ options_labels: ['Horizontal', 'Vertical'],
43
+ example_value: 'flex-row'
44
+ },
45
+ {
46
+ name: 'headingType',
47
+ type: 'select',
48
+ label: 'Etiqueta del título',
49
+ options: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'span'],
50
+ options_labels: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'Span'],
51
+ example_value: 'h2'
52
+ },
53
+ {
54
+ name: 'btnLabel',
55
+ type: 'text',
56
+ label: 'Label del botón',
57
+ mandatory: false,
58
+ example_value: 'Texto del botón'
59
+ },
60
+ {
61
+ name: 'buttonUrl',
62
+ type: 'text',
63
+ label: 'Enlace del botón',
64
+ mandatory: false,
65
+ example_value: 'https://www.ejemplo.com'
66
+ },
67
+ {
68
+ name: 'showBtn',
69
+ type: 'boolean',
70
+ label: 'Mostrar botón',
71
+ mandatory: false,
72
+ example_value: true
73
+ }
74
+ ]
75
+ };
@@ -38,6 +38,14 @@ export const metadata: ComponentMetadata = {
38
38
  options: ['justify-start', 'justify-center'],
39
39
  options_labels: ['Izquierda', 'Centro'],
40
40
  example_value: 'justify-start'
41
- }
41
+ },
42
+ {
43
+ name: 'descriptionWidth',
44
+ type: 'select',
45
+ label: 'Ancho de la descripción',
46
+ options: ['1/3', '3/5', 'full'],
47
+ options_labels: ['1/3', '3/5', 'Completo'],
48
+ example_value: '1/3'
49
+ }
42
50
  ]
43
51
  };
@@ -0,0 +1,12 @@
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Video_2025_Valencia',
5
+ category: 'Contenido',
6
+ name: 'Vídeos Genial 2025',
7
+ description: '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
+ };
@@ -16,6 +16,11 @@ const categories = [
16
16
  link: subdirectory + '/conoce-genia-l/',
17
17
  subcategories: [],
18
18
  },
19
+ {
20
+ name: 'Seguridad',
21
+ link: subdirectory + '/seguridad',
22
+ subcategories: [],
23
+ },
19
24
  // {
20
25
  // name: 'IA Jurídica',
21
26
  // link: subdirectory + '/ia-juridica',