@htmlbricks/hb-paragraps-around-image 0.71.36 → 0.72.0

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/manifest.json CHANGED
@@ -41,19 +41,22 @@
41
41
  "type": "string"
42
42
  },
43
43
  "paragraphs": {
44
- "items": {
45
- "$ref": "#/definitions/Paragraphs"
46
- },
47
- "type": "array"
44
+ "anyOf": [
45
+ {
46
+ "items": {
47
+ "$ref": "#/definitions/Paragraphs"
48
+ },
49
+ "type": "array"
50
+ },
51
+ {
52
+ "type": "string"
53
+ }
54
+ ]
48
55
  },
49
56
  "style": {
50
57
  "type": "string"
51
58
  }
52
59
  },
53
- "required": [
54
- "paragraphs",
55
- "img"
56
- ],
57
60
  "type": "object"
58
61
  },
59
62
  "Paragraphs": {
@@ -250,7 +253,7 @@
250
253
  }
251
254
  }
252
255
  ],
253
- "iifeIntegrity": "sha384-tj3BNNmOwho9qf+J/GRCjipWpoxNtFF7NA5m0gCL+K0/tB7yhRrTfsknYCIimBuw",
256
+ "iifeIntegrity": "sha384-JE9nYCDSy2HYOGH/d7CJBO6LkkNIFwz5GAwA+kDka7ByomPYmmH+FGvZToOBFGpX",
254
257
  "dependencies": [
255
258
  {
256
259
  "name": "hb-paragraps-around-image-cell",
@@ -275,5 +278,5 @@
275
278
  "size": {},
276
279
  "iifePath": "main.iife.js",
277
280
  "repoName": "@htmlbricks/hb-paragraps-around-image",
278
- "version": "0.71.36"
281
+ "version": "0.72.0"
279
282
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-paragraps-around-image",
3
- "version": "0.71.36",
3
+ "version": "0.72.0",
4
4
  "contributors": [],
5
5
  "description": "Editorial block with a central image and up to six text blocks in two side columns using hb-paragraps-around-image-cell (indices 0,2,4 left; 1,3,5 right). Parses paragraphs from JSON and bubbles paragraphPressed when a cell fires it.",
6
6
  "licenses": [
@@ -12,19 +12,22 @@
12
12
  "type": "string"
13
13
  },
14
14
  "paragraphs": {
15
- "items": {
16
- "$ref": "#/definitions/Paragraphs"
17
- },
18
- "type": "array"
15
+ "anyOf": [
16
+ {
17
+ "items": {
18
+ "$ref": "#/definitions/Paragraphs"
19
+ },
20
+ "type": "array"
21
+ },
22
+ {
23
+ "type": "string"
24
+ }
25
+ ]
19
26
  },
20
27
  "style": {
21
28
  "type": "string"
22
29
  }
23
30
  },
24
- "required": [
25
- "paragraphs",
26
- "img"
27
- ],
28
31
  "type": "object"
29
32
  },
30
33
  "Paragraphs": {
@@ -9,8 +9,8 @@ export type Paragraphs = {
9
9
  export type Component = {
10
10
  id?: string;
11
11
  style?: string;
12
- paragraphs: Paragraphs[];
13
- img: string;
12
+ paragraphs?: Paragraphs[] | string;
13
+ img?: string;
14
14
  };
15
15
 
16
16
  export type Events = {