libreria-astro-lefebvre 0.1.133 → 0.1.134
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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ComponentMetadata } from '../interfaces/types';
|
|
2
|
+
|
|
3
|
+
export const metadata: ComponentMetadata = {
|
|
4
|
+
component_name: 'Texto_2026_Atenas',
|
|
5
|
+
category: 'Contenido de Texto',
|
|
6
|
+
name: 'Caja de texto que permite añadir html',
|
|
7
|
+
description: 'Caja de texto en Astro que ocupa todo el ancho disponible',
|
|
8
|
+
framework: 'Astro',
|
|
9
|
+
priority: 1,
|
|
10
|
+
tags: ['texto'],
|
|
11
|
+
fields: [
|
|
12
|
+
{
|
|
13
|
+
name: 'htmlCode',
|
|
14
|
+
type: 'textArea',
|
|
15
|
+
help: 'Código HTML de la caja',
|
|
16
|
+
label: 'Código HTML',
|
|
17
|
+
mandatory: false,
|
|
18
|
+
example_value: '<p>Lo que quieras...</p>'
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: 'addShadow',
|
|
22
|
+
type: 'boolean',
|
|
23
|
+
help: 'Activar sombra en la caja',
|
|
24
|
+
label: 'Añadir sombra',
|
|
25
|
+
mandatory: false,
|
|
26
|
+
example_value: true
|
|
27
|
+
},
|
|
28
|
+
]
|
|
29
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
const {
|
|
3
|
+
htmlCode = '',
|
|
4
|
+
addShadow = true
|
|
5
|
+
} = Astro.props;
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<div class={`w-full max-w-full overflow-hidden px-6 py-6 ${addShadow ? 'shadow-lg' : ''} bg-slate-100 border-y border-slate-300 text-slate-500 mb-2`}>
|
|
10
|
+
<div class="prose max-w-none w-full break-words [&_img]:max-w-full [&_img]:h-auto [&_iframe]:max-w-full [&_video]:max-w-full [&_table]:w-full [&_table]:block [&_table]:overflow-x-auto [&_pre]:overflow-x-auto" set:html={htmlCode}></div>
|
|
11
|
+
</div>
|
|
@@ -91,6 +91,7 @@ import * as TextImageCard from '../carbins/TextImageCard.ts';
|
|
|
91
91
|
import * as TextImageHeader from '../carbins/TextImageHeader.ts';
|
|
92
92
|
import * as Texto_2025_Kyoto from '../carbins/Texto_2025_Kyoto.ts';
|
|
93
93
|
import * as Texto_2026_Alicante from '../carbins/Texto_2026_Alicante.ts';
|
|
94
|
+
import * as Texto_2026_Atenas from '../carbins/Texto_2026_Atenas.ts';
|
|
94
95
|
import * as Texto_2026_Castellon from '../carbins/Texto_2026_Castellon.ts';
|
|
95
96
|
import * as Tiempo_2025_Londres from '../carbins/Tiempo_2025_Londres.ts';
|
|
96
97
|
import * as Titulo_2025_Algeciras from '../carbins/Titulo_2025_Algeciras.ts';
|
|
@@ -194,6 +195,7 @@ export const components = [
|
|
|
194
195
|
{component: TextImageHeader},
|
|
195
196
|
{component: Texto_2025_Kyoto},
|
|
196
197
|
{component: Texto_2026_Alicante},
|
|
198
|
+
{component: Texto_2026_Atenas},
|
|
197
199
|
{component: Texto_2026_Castellon},
|
|
198
200
|
{component: Tiempo_2025_Londres},
|
|
199
201
|
{component: Titulo_2025_Algeciras},
|
package/src/index.ts
CHANGED
|
@@ -98,6 +98,7 @@ import TextImageCard from './components/Astro/TextImageCard.astro';
|
|
|
98
98
|
import TextImageHeader from './components/Astro/TextImageHeader.astro';
|
|
99
99
|
import Texto_2025_Kyoto from './components/Astro/Texto_2025_Kyoto.astro';
|
|
100
100
|
import Texto_2026_Alicante from './components/Astro/Texto_2026_Alicante.astro';
|
|
101
|
+
import Texto_2026_Atenas from './components/Astro/Texto_2026_Atenas.astro';
|
|
101
102
|
import Texto_2026_Castellon from './components/Astro/Texto_2026_Castellon.astro';
|
|
102
103
|
import Tiempo_2025_Londres from './components/Astro/Tiempo_2025_Londres.astro';
|
|
103
104
|
import Titulo_2025_Algeciras from './components/Astro/Titulo_2025_Algeciras.astro';
|
|
@@ -111,7 +112,7 @@ import ReactButton from './components/React/ReactButton.jsx';
|
|
|
111
112
|
// Exporta todos los componentes uno a uno para que puedan ser usados directamente.
|
|
112
113
|
|
|
113
114
|
|
|
114
|
-
export { VueButton, Author_2025_Algarve, Boton_2026_Elx, Button, CTA_2025_Formentera, Cabecera_2025_Barcelona, Cabecera_2025_Madrid, Cabecera_2026_Bilbao, Cabecera_2026_Dakota, Cabecera_2026_Madrid, Cabecera_2027_Guadalajara, Calculadora_2026_Lisboa, Card_2025_Malta, Contenido_2025_Alcorcon, Contenido_2025_Cordoba, Contenido_2025_Granada, Contenido_2025_Malaga, Contenido_2025_Montevideo, Contenido_2026_Cabra, Contenido_2026_Castellon, Contenido_2026_Denia, Contenido_2026_Dubai, Contenido_2026_Estepona, Contenido_2026_Estocolmo, Contenido_2026_Huesca, Contenido_2026_Jaen, Contenido_2026_Leon, Contenido_2026_Lleida, Contenido_2026_Mallorca, Contenido_2026_Marruecos, Contenido_2026_Menorca, Contenido_2026_Michigan, Contenido_2026_Moraira, Contenido_2026_Mostoles, Contenido_2026_Orcasitas, Contenido_2026_Oslo, Contenido_2026_Quito, Contenido_2026_Seattle, Contenido_2026_Sevilla, Contenido_2026_Tokyo, Contenido_2026_Ubeda, Contenido_2026_Yakarta, CorpFooter, CorpHero, CorpNavigation, Enlace_2025_Venecia, FAQ_2025_Hiroshima, FAQ_2026_Takayama, Footer_2025_Napoles, Footer_2026_Napoles, Footer_2027_Napoles, Formulario_2025_Nara, Formulario_2025_Seul, Formulario_2025_Teruel, Formulario_2026_Carabanchel, Formulario_2026_Wichita, Galeria_2026_Segorbe, GeometricShape, GeometricShapeCard, Grid_2026_Aldaia, HeaderCorporativo, Hero_2025_Benidorm, Hero_2026_Benidorm, Hero_2026_Lliria, ImageTextSimple, Imagen_2025_Bogota, Imagen_2025_Fukushima, Imagen_2026_Algar, Indice_2025_Taiwan, Mapa_2026_Girona, Modal_2025_Sagunto, Modal_2026_Almeria, Paginacion_2025_Paris, RRSS_2025_Pisa, SEO_Head_Section, SEO_Schema_Page, Separador_2025_Reinosa, Separador_2025_Toledo, Separador_2026_Teulada, Share_2025_Florencia, SpectrumSeparator, Sumario_2025_Beijing, Tabla_2025_Fuenlabrada, Tabla_2026_Cadiz, Tag_2025_Bolonia, TestHijo, TestPadre, Test_2026_Gaza, TextBox, TextImageBackground, TextImageBlock, TextImageCard, TextImageHeader, Texto_2025_Kyoto, Texto_2026_Alicante, Texto_2026_Castellon, Tiempo_2025_Londres, Titulo_2025_Algeciras, Titulo_2025_Santorini, VideoAutoplay, Video_2025_Polop, Video_2025_Valencia, Video_2026_Andujar, ReactButton };
|
|
115
|
+
export { VueButton, Author_2025_Algarve, Boton_2026_Elx, Button, CTA_2025_Formentera, Cabecera_2025_Barcelona, Cabecera_2025_Madrid, Cabecera_2026_Bilbao, Cabecera_2026_Dakota, Cabecera_2026_Madrid, Cabecera_2027_Guadalajara, Calculadora_2026_Lisboa, Card_2025_Malta, Contenido_2025_Alcorcon, Contenido_2025_Cordoba, Contenido_2025_Granada, Contenido_2025_Malaga, Contenido_2025_Montevideo, Contenido_2026_Cabra, Contenido_2026_Castellon, Contenido_2026_Denia, Contenido_2026_Dubai, Contenido_2026_Estepona, Contenido_2026_Estocolmo, Contenido_2026_Huesca, Contenido_2026_Jaen, Contenido_2026_Leon, Contenido_2026_Lleida, Contenido_2026_Mallorca, Contenido_2026_Marruecos, Contenido_2026_Menorca, Contenido_2026_Michigan, Contenido_2026_Moraira, Contenido_2026_Mostoles, Contenido_2026_Orcasitas, Contenido_2026_Oslo, Contenido_2026_Quito, Contenido_2026_Seattle, Contenido_2026_Sevilla, Contenido_2026_Tokyo, Contenido_2026_Ubeda, Contenido_2026_Yakarta, CorpFooter, CorpHero, CorpNavigation, Enlace_2025_Venecia, FAQ_2025_Hiroshima, FAQ_2026_Takayama, Footer_2025_Napoles, Footer_2026_Napoles, Footer_2027_Napoles, Formulario_2025_Nara, Formulario_2025_Seul, Formulario_2025_Teruel, Formulario_2026_Carabanchel, Formulario_2026_Wichita, Galeria_2026_Segorbe, GeometricShape, GeometricShapeCard, Grid_2026_Aldaia, HeaderCorporativo, Hero_2025_Benidorm, Hero_2026_Benidorm, Hero_2026_Lliria, ImageTextSimple, Imagen_2025_Bogota, Imagen_2025_Fukushima, Imagen_2026_Algar, Indice_2025_Taiwan, Mapa_2026_Girona, Modal_2025_Sagunto, Modal_2026_Almeria, Paginacion_2025_Paris, RRSS_2025_Pisa, SEO_Head_Section, SEO_Schema_Page, Separador_2025_Reinosa, Separador_2025_Toledo, Separador_2026_Teulada, Share_2025_Florencia, SpectrumSeparator, Sumario_2025_Beijing, Tabla_2025_Fuenlabrada, Tabla_2026_Cadiz, Tag_2025_Bolonia, TestHijo, TestPadre, Test_2026_Gaza, TextBox, TextImageBackground, TextImageBlock, TextImageCard, TextImageHeader, Texto_2025_Kyoto, Texto_2026_Alicante, Texto_2026_Atenas, Texto_2026_Castellon, Tiempo_2025_Londres, Titulo_2025_Algeciras, Titulo_2025_Santorini, VideoAutoplay, Video_2025_Polop, Video_2025_Valencia, Video_2026_Andujar, ReactButton };
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
// Exporta la función listComponents para que sea usado en el Pagebuilder en Vue.
|
|
@@ -221,6 +222,7 @@ export const components = {
|
|
|
221
222
|
TextImageHeader: TextImageHeader,
|
|
222
223
|
Texto_2025_Kyoto: Texto_2025_Kyoto,
|
|
223
224
|
Texto_2026_Alicante: Texto_2026_Alicante,
|
|
225
|
+
Texto_2026_Atenas: Texto_2026_Atenas,
|
|
224
226
|
Texto_2026_Castellon: Texto_2026_Castellon,
|
|
225
227
|
Tiempo_2025_Londres: Tiempo_2025_Londres,
|
|
226
228
|
Titulo_2025_Algeciras: Titulo_2025_Algeciras,
|