libreria-astro-lefebvre 0.0.52 → 0.0.54

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.52",
3
+ "version": "0.0.54",
4
4
  "description": "Librería de componentes Astro, React y Vue para Lefebvre",
5
5
  "author": "Equipo web desarrollo Lefebvre",
6
6
  "type": "module",
@@ -42,7 +42,21 @@ export const metadata: ComponentMetadata = {
42
42
  type: 'image',
43
43
  label: 'Src de la imagen',
44
44
  mandatory: false,
45
- example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png'
45
+ example_value: 'https://assets.lefebvre.es/media/img/preview-comp/comp-w-4-3.png',
46
+ image_cuts: [
47
+ {
48
+ width: 300,
49
+ height: 100,
50
+ label: 'base',
51
+ required: true
52
+ },
53
+ {
54
+ width: 100,
55
+ height: 400,
56
+ label: 'skyscraper',
57
+ required: false
58
+ },
59
+ ],
46
60
  },
47
61
  {
48
62
  name: 'paddingLeft',
@@ -41,7 +41,7 @@ const structuredData = `<script type="application/ld+json">
41
41
  <div class="absolute inset-0">
42
42
 
43
43
  {src ? (
44
- <LimboImage // Esto es como un <IMG>
44
+ <LimboImage
45
45
  src={src}
46
46
  alt={alt || title || ''}
47
47
  title={title}