libreria-astro-lefebvre 0.0.42 → 0.0.43

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.42",
3
+ "version": "0.0.43",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -1,76 +1,76 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Contenido_2025_Alcorcon',
5
- category: 'Contenido',
6
- name: 'Contenido de vídeo Genial 2025',
7
- description: 'Contenido de vídeo para el directorio de Genial en la corporativa de Lefebvre',
8
- framework: 'Astro',
9
- priority: 1,
10
- tags: ['contenido', 'video', 'genial'],
11
- fields: [
12
- {
13
- name: 'title',
14
- type: 'text',
15
- label: 'Texto del título',
16
- mandatory: false,
17
- example_value: 'Hazlo ahora mismo'
18
- },
19
- {
20
- name: 'subtitle',
21
- type: 'text',
22
- label: 'Texto del subtítulo',
23
- mandatory: false,
24
- example_value: 'Acaricia a tu gato'
25
- },
26
- {
27
- name: 'description',
28
- type: 'text',
29
- label: 'Texto de la descripción',
30
- mandatory: false,
31
- example_value: 'Genera endorfinas'
32
- },
33
- {
34
- name: 'txtBtn',
35
- type: 'text',
36
- label: 'Label del botón',
37
- mandatory: false,
38
- example_value: '¡Miau!'
39
- },
40
- {
41
- name: 'linkBtn',
42
- type: 'text',
43
- label: 'Enlace del botón',
44
- mandatory: false,
45
- example_value: 'https://lefebvre.es'
46
- },
47
- {
48
- name: 'alt',
49
- type: 'text',
50
- label: 'Texto alternativo del botón',
51
- mandatory: false,
52
- example_value: 'Texto alternativo del botón'
53
- },
54
- {
55
- name: 'src',
56
- type: 'text',
57
- label: 'Src de la imagen',
58
- mandatory: false,
59
- example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-3-4.png'
60
- },
61
- {
62
- name: 'iframeSrc',
63
- type: 'text',
64
- label: 'Src del iframe',
65
- mandatory: false,
66
- example_value: 'https://player.vimeo.com/video/1087114916?controls=0&autoplay=1&muted=1&loop=1&badge=0&autopause=0&player_id=0&app_id=58479'
67
- },
68
- {
69
- name: 'showBtn',
70
- type: 'boolean',
71
- label: 'Mostrar botón',
72
- mandatory: false,
73
- example_value: true
74
- }
75
- ]
76
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Contenido_2025_Alcorcon',
5
+ category: 'Contenido',
6
+ name: 'Contenido de vídeo Genial 2025',
7
+ description: 'Contenido de vídeo para el directorio de Genial en la corporativa de Lefebvre',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['contenido', 'video', 'genial'],
11
+ fields: [
12
+ {
13
+ name: 'title',
14
+ type: 'text',
15
+ label: 'Texto del título',
16
+ mandatory: false,
17
+ example_value: 'Hazlo ahora mismo'
18
+ },
19
+ {
20
+ name: 'subtitle',
21
+ type: 'text',
22
+ label: 'Texto del subtítulo',
23
+ mandatory: false,
24
+ example_value: 'Acaricia a tu gato'
25
+ },
26
+ {
27
+ name: 'description',
28
+ type: 'text',
29
+ label: 'Texto de la descripción',
30
+ mandatory: false,
31
+ example_value: 'Genera endorfinas'
32
+ },
33
+ {
34
+ name: 'txtBtn',
35
+ type: 'text',
36
+ label: 'Label del botón',
37
+ mandatory: false,
38
+ example_value: '¡Miau!'
39
+ },
40
+ {
41
+ name: 'linkBtn',
42
+ type: 'text',
43
+ label: 'Enlace del botón',
44
+ mandatory: false,
45
+ example_value: 'https://lefebvre.es'
46
+ },
47
+ {
48
+ name: 'alt',
49
+ type: 'text',
50
+ label: 'Texto alternativo del botón',
51
+ mandatory: false,
52
+ example_value: 'Texto alternativo del botón'
53
+ },
54
+ {
55
+ name: 'src',
56
+ type: 'text',
57
+ label: 'Src de la imagen',
58
+ mandatory: false,
59
+ example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-3-4.png'
60
+ },
61
+ {
62
+ name: 'iframeSrc',
63
+ type: 'text',
64
+ label: 'Src del iframe',
65
+ mandatory: false,
66
+ example_value: 'https://player.vimeo.com/video/1087114916?controls=0&autoplay=1&muted=1&loop=1&badge=0&autopause=0&player_id=0&app_id=58479'
67
+ },
68
+ {
69
+ name: 'showBtn',
70
+ type: 'boolean',
71
+ label: 'Mostrar botón',
72
+ mandatory: false,
73
+ example_value: true
74
+ }
75
+ ]
76
+ };
@@ -1,59 +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: 'Item con un gran icono al principio'
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 que se alinea al centro'
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: 'bigIso2'
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
- };
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: 'Item con un gran icono al principio'
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 que se alinea al centro'
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: 'bigIso2'
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
+ };
@@ -1,67 +1,67 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Contenido_2025_Granada',
5
- category: 'Contenido',
6
- name: 'Contenido con icono Genial 2025',
7
- description: '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
- name: 'title',
14
- type: 'text',
15
- label: 'Texto del título',
16
- mandatory: false,
17
- example_value: 'Contenido sin imagen pero con un icono al principio'
18
- },
19
- {
20
- name: 'description',
21
- type: 'text',
22
- label: 'Texto de la descripción',
23
- mandatory: false,
24
- example_value: 'Esta es una descripción de ejemplo para el contenido con icono en Granada 2025.'
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: 'icon',
36
- type: 'select',
37
- label: 'Icono',
38
- options: ['more', 'shop', 'correct', 'formation', 'case', 'medal'],
39
- options_labels: ['Más', 'Tienda', 'Correcto', 'Formación', 'Caso', 'Medalla'],
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
- 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
- },
66
- ]
67
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Contenido_2025_Granada',
5
+ category: 'Contenido',
6
+ name: 'Contenido con icono Genial 2025',
7
+ description: '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
+ name: 'title',
14
+ type: 'text',
15
+ label: 'Texto del título',
16
+ mandatory: false,
17
+ example_value: 'Contenido sin imagen pero con un icono al principio'
18
+ },
19
+ {
20
+ name: 'description',
21
+ type: 'text',
22
+ label: 'Texto de la descripción',
23
+ mandatory: false,
24
+ example_value: 'Esta es una descripción de ejemplo para el contenido con icono en Granada 2025.'
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: 'icon',
36
+ type: 'select',
37
+ label: 'Icono',
38
+ options: ['more', 'shop', 'correct', 'formation', 'case', 'medal'],
39
+ options_labels: ['Más', 'Tienda', 'Correcto', 'Formación', 'Caso', 'Medalla'],
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
+ 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
+ },
66
+ ]
67
+ };
@@ -1,100 +1,100 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Contenido_2025_Malaga',
5
- category: 'Contenido',
6
- name: 'Contenido con imagen Genial 2025',
7
- description: 'Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre',
8
- framework: 'Astro',
9
- priority: 1,
10
- tags: ['contenido', 'imagen', 'genial'],
11
- fields: [
12
- {
13
- name: 'title',
14
- type: 'text',
15
- label: 'Texto del título',
16
- mandatory: false,
17
- example_value: 'Gatos esfinge'
18
- },
19
- {
20
- name: 'description',
21
- type: 'text',
22
- label: 'Texto de la descripción',
23
- mandatory: false,
24
- example_value: 'Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo.'
25
- },
26
- {
27
- name: 'buttonText',
28
- type: 'text',
29
- label: 'Label del botón',
30
- mandatory: false,
31
- example_value: 'Descubre'
32
- },
33
- {
34
- name: 'buttonUrl',
35
- type: 'text',
36
- label: 'Enlace del botón',
37
- mandatory: false,
38
- example_value: 'https://www.ejemplo.com'
39
- },
40
- {
41
- name: 'image',
42
- type: 'text',
43
- label: 'Src de la imagen',
44
- mandatory: false,
45
- example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png'
46
- },
47
- {
48
- name: 'paddingLeft',
49
- type: 'text',
50
- label: 'Padding izquierdo (en px)',
51
- mandatory: false,
52
- example_value: ''
53
- },
54
- {
55
- name: 'showBtn',
56
- type: 'boolean',
57
- label: 'Mostrar botón',
58
- mandatory: false,
59
- example_value: true
60
- },
61
- {
62
- name: 'showIco',
63
- type: 'boolean',
64
- label: 'Mostrar icono',
65
- mandatory: false,
66
- example_value: true
67
- },
68
- {
69
- name: 'showImage',
70
- type: 'boolean',
71
- label: 'Mostrar imagen',
72
- mandatory: false,
73
- example_value: true
74
- },
75
- {
76
- name: 'flexOrientation',
77
- type: 'select',
78
- label: 'Orientación del contenido',
79
- options: ['row', 'col'],
80
- options_labels: ['Fila', 'Columna'],
81
- example_value: 'row'
82
- },
83
- {
84
- name: 'orientation',
85
- type: 'select',
86
- label: 'Alineación del contenido',
87
- options: ['left', 'right'],
88
- options_labels: ['Izquierda', 'Derecha'],
89
- example_value: 'left'
90
- },
91
- {
92
- name: 'width',
93
- type: 'select',
94
- label: 'Ancho del contenido',
95
- options: ['full', 'w-3/5'],
96
- options_labels: ['Ancho completo', 'Ancho 3/5'],
97
- example_value: 'full'
98
- },
99
- ]
100
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Contenido_2025_Malaga',
5
+ category: 'Contenido',
6
+ name: 'Contenido con imagen Genial 2025',
7
+ description: 'Contenido con imagen para el directorio de Genial en la corporativa de Lefebvre',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['contenido', 'imagen', 'genial'],
11
+ fields: [
12
+ {
13
+ name: 'title',
14
+ type: 'text',
15
+ label: 'Texto del título',
16
+ mandatory: false,
17
+ example_value: 'Gatos esfinge'
18
+ },
19
+ {
20
+ name: 'description',
21
+ type: 'text',
22
+ label: 'Texto de la descripción',
23
+ mandatory: false,
24
+ example_value: 'Comprende la maravillosa mente del gato esfinge y descubre por qué esta raza única ha capturado los corazones de amantes de los gatos en todo el mundo.'
25
+ },
26
+ {
27
+ name: 'buttonText',
28
+ type: 'text',
29
+ label: 'Label del botón',
30
+ mandatory: false,
31
+ example_value: 'Descubre'
32
+ },
33
+ {
34
+ name: 'buttonUrl',
35
+ type: 'text',
36
+ label: 'Enlace del botón',
37
+ mandatory: false,
38
+ example_value: 'https://www.ejemplo.com'
39
+ },
40
+ {
41
+ name: 'image',
42
+ type: 'text',
43
+ label: 'Src de la imagen',
44
+ mandatory: false,
45
+ example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png'
46
+ },
47
+ {
48
+ name: 'paddingLeft',
49
+ type: 'text',
50
+ label: 'Padding izquierdo (en px)',
51
+ mandatory: false,
52
+ example_value: ''
53
+ },
54
+ {
55
+ name: 'showBtn',
56
+ type: 'boolean',
57
+ label: 'Mostrar botón',
58
+ mandatory: false,
59
+ example_value: true
60
+ },
61
+ {
62
+ name: 'showIco',
63
+ type: 'boolean',
64
+ label: 'Mostrar icono',
65
+ mandatory: false,
66
+ example_value: true
67
+ },
68
+ {
69
+ name: 'showImage',
70
+ type: 'boolean',
71
+ label: 'Mostrar imagen',
72
+ mandatory: false,
73
+ example_value: true
74
+ },
75
+ {
76
+ name: 'flexOrientation',
77
+ type: 'select',
78
+ label: 'Orientación del contenido',
79
+ options: ['row', 'col'],
80
+ options_labels: ['Fila', 'Columna'],
81
+ example_value: 'row'
82
+ },
83
+ {
84
+ name: 'orientation',
85
+ type: 'select',
86
+ label: 'Alineación del contenido',
87
+ options: ['left', 'right'],
88
+ options_labels: ['Izquierda', 'Derecha'],
89
+ example_value: 'left'
90
+ },
91
+ {
92
+ name: 'width',
93
+ type: 'select',
94
+ label: 'Ancho del contenido',
95
+ options: ['full', 'w-3/5'],
96
+ options_labels: ['Ancho completo', 'Ancho 3/5'],
97
+ example_value: 'full'
98
+ },
99
+ ]
100
+ };