@openeuropa/bcl-data-carousel 0.1.3 → 0.1.202411051450

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 +42 -13
  2. package/package.json +2 -2
package/data.js CHANGED
@@ -7,25 +7,54 @@ 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",
12
- image: {
13
- src: "https://picsum.photos/800/400?random=1",
14
- alt: "First slide",
10
+ caption: `<p>Some representative placeholder content for the first slide.</p>`,
11
+ caption_title: "First slide label",
12
+ image: `<img
13
+ src="https://picsum.photos/800/400?random=1"
14
+ alt="First slide"
15
+ class="d-block w-100"
16
+ />`,
17
+ link: {
18
+ label: "Link",
19
+ path: "/example.html",
20
+ icon_position: "before",
21
+ icon: {
22
+ name: "link",
23
+ path: "/icons.svg",
24
+ },
15
25
  },
16
26
  },
17
27
  {
18
- image: {
19
- src: "https://picsum.photos/800/400?random=2",
20
- alt: "Second slide",
21
- },
28
+ image: `<img
29
+ src="https://picsum.photos/800/400?random=2"
30
+ alt="Second slide"
31
+ class="d-block w-100"
32
+ />`,
33
+ },
34
+ {
35
+ classes: "item_extra_class",
36
+ caption_title: "Third slide label",
37
+ caption: `<p>Some representative placeholder content for the third slide.</p>`,
38
+ image: `<img
39
+ src="https://picsum.photos/800/400?random=3"
40
+ class="d-block w-100"
41
+ alt="Third slide"
42
+ />`,
22
43
  },
23
44
  {
24
45
  classes: "item_extra_class",
25
- caption: `<h5>Third slide label</h5><p>Some representative placeholder content for the third slide.</p>`,
26
- caption_classes: "d-none d-md-block",
27
- image: {
28
- src: "https://picsum.photos/800/400?random=3",
46
+ image: `<img
47
+ src="https://picsum.photos/800/400?random=4"
48
+ alt="Fourth slide"
49
+ class="d-block w-100"
50
+ />`,
51
+ link: {
52
+ label: "Link",
53
+ icon_position: "before",
54
+ icon: {
55
+ name: "link",
56
+ path: "/icons.svg",
57
+ },
29
58
  },
30
59
  },
31
60
  ],
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.1.3",
5
+ "version": "0.1.202411051450",
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": "ab1587b9ba4971ea0ca72c3de6b632f2c314c200"
24
+ "gitHead": "d553864c2d2214729cf74aa765606f2c447bb456"
25
25
  }