@openeuropa/bcl-data-carousel 0.19.0 → 0.22.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.
Files changed (2) hide show
  1. package/data.js +28 -4
  2. package/package.json +2 -2
package/data.js CHANGED
@@ -7,13 +7,21 @@ module.exports = {
7
7
  items: [
8
8
  {
9
9
  classes: "item_extra_class",
10
- caption: `<h5>First slide label</h5><p>Some representative placeholder content for the first slide.</p>`,
11
- caption_classes: "d-none d-md-block",
10
+ caption: `<p>Some representative placeholder content for the first slide.</p>`,
11
+ caption_title: "First slide label",
12
12
  image: `<img
13
13
  src="https://picsum.photos/800/400?random=1"
14
14
  alt="First slide"
15
15
  class="d-block w-100"
16
16
  />`,
17
+ link: {
18
+ label: "Link",
19
+ icon_position: "before",
20
+ icon: {
21
+ name: "link",
22
+ path: "/icons.svg",
23
+ },
24
+ },
17
25
  },
18
26
  {
19
27
  image: `<img
@@ -24,12 +32,28 @@ module.exports = {
24
32
  },
25
33
  {
26
34
  classes: "item_extra_class",
27
- caption: `<h5>Third slide label</h5><p>Some representative placeholder content for the third slide.</p>`,
28
- caption_classes: "d-none d-md-block",
35
+ caption_title: "Third slide label",
36
+ caption: `<p>Some representative placeholder content for the third slide.<`,
29
37
  image: `<img
30
38
  src="https://picsum.photos/800/400?random=3"
31
39
  class="d-block w-100"
32
40
  />`,
33
41
  },
42
+ {
43
+ classes: "item_extra_class",
44
+ image: `<img
45
+ src="https://picsum.photos/800/400?random=4"
46
+ alt="First slide"
47
+ class="d-block w-100"
48
+ />`,
49
+ link: {
50
+ label: "Link",
51
+ icon_position: "before",
52
+ icon: {
53
+ name: "link",
54
+ path: "/icons.svg",
55
+ },
56
+ },
57
+ },
34
58
  ],
35
59
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-carousel",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.19.0",
5
+ "version": "0.22.0",
6
6
  "description": "OE - BCL data carousel",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "8bfce06400c8829a46578797f0126b4e9c02e725"
24
+ "gitHead": "57304ad94ae3c234f2f2b904208ce540a7a53f23"
25
25
  }