@uniweb/core 0.5.6 → 0.5.7

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/block.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/core",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,7 +30,7 @@
30
30
  "jest": "^29.7.0"
31
31
  },
32
32
  "dependencies": {
33
- "@uniweb/semantic-parser": "1.1.4"
33
+ "@uniweb/semantic-parser": "1.1.5"
34
34
  },
35
35
  "scripts": {
36
36
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
package/src/block.js CHANGED
@@ -49,7 +49,7 @@ export default class Block {
49
49
  }
50
50
 
51
51
  // Flat content structure - no more nested main/items
52
- // parsedContent now has: title, pretitle, paragraphs, links, imgs, items, etc.
52
+ // parsedContent now has: title, pretitle, paragraphs, links, images, items, etc.
53
53
  this.items = this.parsedContent.items || []
54
54
 
55
55
  // Block configuration
@@ -212,7 +212,7 @@ export default class Block {
212
212
  subtitle: '',
213
213
  paragraphs: [],
214
214
  links: [],
215
- imgs: [],
215
+ images: [],
216
216
  lists: [],
217
217
  icons: [],
218
218
  items: [],
@@ -292,7 +292,7 @@ export default class Block {
292
292
  subtitle: c.subtitle || '',
293
293
  description: c.subtitle2 || '',
294
294
  paragraphs: c.paragraphs || [],
295
- images: c.imgs || [],
295
+ images: c.images || [],
296
296
  links: c.links || [],
297
297
  icons: c.icons || [],
298
298
  properties: c.propertyBlocks?.[0] || c.properties || {},