libreria-astro-lefebvre 0.0.38 → 0.0.39

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.38",
3
+ "version": "0.0.39",
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,127 +1,127 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Contenido_2025_Teruel',
5
- category: 'Contenido',
6
- name: 'Contenido en formato horizontal que abre un popup con formulario e imagen',
7
- description: 'Contenido en formato horizontal que abre un popup con formulario e imagen',
8
- framework: 'Astro',
9
- priority: 1,
10
- tags: ['contenido', 'card','imagen', 'popup', 'genial'],
11
- fields: [
12
- {
13
- name: 'orientation',
14
- label: 'Orientación del contenido',
15
- mandatory: false,
16
- example_value: 'left',
17
- type: 'select',
18
- options: ['left', 'right'],
19
- options_labels: ['Izquierda', 'Derecha'],
20
- },
21
- {
22
- name: 'bottomBorder',
23
- type: 'boolean',
24
- label: 'Mostrar borde inferior',
25
- mandatory: false,
26
- example_value: true
27
- },
28
- {
29
- name: 'title',
30
- type: 'text',
31
- label: 'Texto del título',
32
- mandatory: false,
33
- example_value: 'Pruébalo ya'
34
- },
35
- {
36
- name: 'description',
37
- type: 'text',
38
- label: 'Texto de la descripción',
39
- mandatory: false,
40
- example_value: 'Texto descriptivo del título'
41
- },
42
- {
43
- name: 'showBtn',
44
- type: 'boolean',
45
- label: 'Mostrar botón',
46
- mandatory: false,
47
- example_value: false
48
- },
49
- {
50
- name: 'linkBtn',
51
- type: 'text',
52
- label: 'Url del enlace',
53
- mandatory: false,
54
- example_value: '#'
55
- },
56
- {
57
- name: 'lf2FormTitle',
58
- type: 'text',
59
- label: 'Título del formulario LF2',
60
- mandatory: false,
61
- example_value: ''
62
- },
63
- {
64
- name: 'txtBtn',
65
- type: 'text',
66
- label: 'Texto del botón',
67
- mandatory: false,
68
- example_value: 'Saber más'
69
- },
70
- {
71
- name: 'showBtnModal',
72
- type: 'boolean',
73
- label: 'Mostrar botón modal',
74
- mandatory: false,
75
- example_value: false
76
- },
77
- {
78
- name: 'titleModal',
79
- type: 'text',
80
- label: 'Texto del título modal',
81
- mandatory: false,
82
- example_value: 'Pruébalo ya'
83
- },
84
- {
85
- name: 'subtitleModal',
86
- type: 'text',
87
- label: 'Texto del subtítulo modal',
88
- mandatory: false,
89
- example_value: ''
90
- },
91
- {
92
- name: 'descriptionModal',
93
- type: 'text',
94
- label: 'Texto de la descripción modal',
95
- mandatory: false,
96
- example_value: ''
97
- },
98
- {
99
- name: 'imageModal',
100
- type: 'text',
101
- label: 'Src de la imagen modal',
102
- mandatory: false,
103
- example_value: ''
104
- },
105
- {
106
- name: 'altModal',
107
- type: 'text',
108
- label: 'Alt de la imagen modal',
109
- mandatory: false,
110
- example_value: ''
111
- },
112
- {
113
- name: 'txtBtnModal',
114
- type: 'text',
115
- label: 'Texto del botón modal',
116
- mandatory: false,
117
- example_value: 'Saber más'
118
- },
119
- {
120
- name: 'imageSrc',
121
- type: 'text',
122
- label: 'Src de la imagen',
123
- mandatory: false,
124
- example_value: ''
125
- }
126
- ]
127
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Formulario_2025_Teruel',
5
+ category: 'Formulario',
6
+ name: 'Contenido en formato horizontal que abre un popup con formulario e imagen',
7
+ description: 'Contenido en formato horizontal que abre un popup con formulario e imagen',
8
+ framework: 'Astro',
9
+ priority: 1,
10
+ tags: ['contenido', 'card','imagen', 'popup', 'genial'],
11
+ fields: [
12
+ {
13
+ name: 'orientation',
14
+ label: 'Orientación del contenido',
15
+ mandatory: false,
16
+ example_value: 'left',
17
+ type: 'select',
18
+ options: ['left', 'right'],
19
+ options_labels: ['Izquierda', 'Derecha'],
20
+ },
21
+ {
22
+ name: 'bottomBorder',
23
+ type: 'boolean',
24
+ label: 'Mostrar borde inferior',
25
+ mandatory: false,
26
+ example_value: true
27
+ },
28
+ {
29
+ name: 'title',
30
+ type: 'text',
31
+ label: 'Texto del título',
32
+ mandatory: false,
33
+ example_value: 'Pruébalo ya'
34
+ },
35
+ {
36
+ name: 'description',
37
+ type: 'text',
38
+ label: 'Texto de la descripción',
39
+ mandatory: false,
40
+ example_value: 'Texto descriptivo del título'
41
+ },
42
+ {
43
+ name: 'showBtn',
44
+ type: 'boolean',
45
+ label: 'Mostrar botón',
46
+ mandatory: false,
47
+ example_value: false
48
+ },
49
+ {
50
+ name: 'linkBtn',
51
+ type: 'text',
52
+ label: 'Url del enlace',
53
+ mandatory: false,
54
+ example_value: '#'
55
+ },
56
+ {
57
+ name: 'lf2FormTitle',
58
+ type: 'text',
59
+ label: 'Título del formulario LF2',
60
+ mandatory: false,
61
+ example_value: ''
62
+ },
63
+ {
64
+ name: 'txtBtn',
65
+ type: 'text',
66
+ label: 'Texto del botón',
67
+ mandatory: false,
68
+ example_value: 'Saber más'
69
+ },
70
+ {
71
+ name: 'showBtnModal',
72
+ type: 'boolean',
73
+ label: 'Mostrar botón modal',
74
+ mandatory: false,
75
+ example_value: false
76
+ },
77
+ {
78
+ name: 'titleModal',
79
+ type: 'text',
80
+ label: 'Texto del título modal',
81
+ mandatory: false,
82
+ example_value: 'Pruébalo ya'
83
+ },
84
+ {
85
+ name: 'subtitleModal',
86
+ type: 'text',
87
+ label: 'Texto del subtítulo modal',
88
+ mandatory: false,
89
+ example_value: ''
90
+ },
91
+ {
92
+ name: 'descriptionModal',
93
+ type: 'text',
94
+ label: 'Texto de la descripción modal',
95
+ mandatory: false,
96
+ example_value: ''
97
+ },
98
+ {
99
+ name: 'imageModal',
100
+ type: 'text',
101
+ label: 'Src de la imagen modal',
102
+ mandatory: false,
103
+ example_value: ''
104
+ },
105
+ {
106
+ name: 'altModal',
107
+ type: 'text',
108
+ label: 'Alt de la imagen modal',
109
+ mandatory: false,
110
+ example_value: ''
111
+ },
112
+ {
113
+ name: 'txtBtnModal',
114
+ type: 'text',
115
+ label: 'Texto del botón modal',
116
+ mandatory: false,
117
+ example_value: 'Saber más'
118
+ },
119
+ {
120
+ name: 'imageSrc',
121
+ type: 'text',
122
+ label: 'Src de la imagen',
123
+ mandatory: false,
124
+ example_value: ''
125
+ }
126
+ ]
127
+ };
@@ -1,75 +1,75 @@
1
- import type { ComponentMetadata } from '../interfaces/types';
2
-
3
- export const metadata: ComponentMetadata = {
4
- component_name: 'Repetidor_2025_Menorca',
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
- };
1
+ import type { ComponentMetadata } from '../interfaces/types';
2
+
3
+ export const metadata: ComponentMetadata = {
4
+ component_name: 'Repetidor_2025_Menorca',
5
+ category: 'Repetidor',
6
+ name: 'Otro 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
+ };