@openeuropa/bcl-data-footer 0.11.0 → 0.15.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 (3) hide show
  1. package/data-ec.js +4 -0
  2. package/data.js +5 -1
  3. package/package.json +2 -2
package/data-ec.js CHANGED
@@ -40,6 +40,7 @@ module.exports = {
40
40
  label: "Facebook",
41
41
  icon_position: "before",
42
42
  icon: {
43
+ path: "/icons.svg",
43
44
  name: "facebook",
44
45
  size: "xs",
45
46
  attributes: new drupalAttribute().addClass(["me-2"]),
@@ -49,6 +50,7 @@ module.exports = {
49
50
  label: "Twitter",
50
51
  icon_position: "before",
51
52
  icon: {
53
+ path: "/icons.svg",
52
54
  name: "twitter",
53
55
  size: "xs",
54
56
  attributes: new drupalAttribute().addClass(["me-2"]),
@@ -59,6 +61,7 @@ module.exports = {
59
61
  icon_position: "before",
60
62
  icon: {
61
63
  name: "linkedin",
64
+ path: "/icons.svg",
62
65
  size: "xs",
63
66
  attributes: new drupalAttribute().addClass(["me-2"]),
64
67
  },
@@ -163,6 +166,7 @@ module.exports = {
163
166
  icon: {
164
167
  name: "box-arrow-up-right",
165
168
  size: "xs",
169
+ path: "/icons.svg",
166
170
  attributes: new drupalAttribute().addClass(["ms-2"]),
167
171
  },
168
172
  },
package/data.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
2
 
3
3
  module.exports = {
4
+ attributes: new drupalAttribute(),
4
5
  rows: [
5
6
  {
6
7
  extra_classes: "pt-4 pt-lg-5",
@@ -45,6 +46,7 @@ module.exports = {
45
46
  icon: {
46
47
  name: "facebook",
47
48
  size: "xs",
49
+ path: "/icons.svg",
48
50
  attributes: new drupalAttribute().addClass(["me-2"]),
49
51
  },
50
52
  },
@@ -54,6 +56,7 @@ module.exports = {
54
56
  icon: {
55
57
  name: "twitter",
56
58
  size: "xs",
59
+ path: "/icons.svg",
57
60
  attributes: new drupalAttribute().addClass(["me-2"]),
58
61
  },
59
62
  },
@@ -61,6 +64,7 @@ module.exports = {
61
64
  label: "Linkedin",
62
65
  icon_position: "before",
63
66
  icon: {
67
+ path: "/icons.svg",
64
68
  name: "linkedin",
65
69
  size: "xs",
66
70
  attributes: new drupalAttribute().addClass(["me-2"]),
@@ -145,7 +149,7 @@ module.exports = {
145
149
  {
146
150
  type: "content",
147
151
  content:
148
- "<p>Search for <a href='#' class='text-decoration-none mb-2'>EU social media channels</a></p>",
152
+ "<p>Search for <a href='#' class='text-underline-hover mb-2'>EU social media channels</a></p>",
149
153
  },
150
154
  {
151
155
  type: "content",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-footer",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.11.0",
5
+ "version": "0.15.0",
6
6
  "description": "OE footer data",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -20,5 +20,5 @@
20
20
  "component-library",
21
21
  "design-system"
22
22
  ],
23
- "gitHead": "1c86da7d3aeb5e36ed8bf00ae38f3540285cfccb"
23
+ "gitHead": "97a9f0822ee0d4d800e40aa17bf87dc698c5906c"
24
24
  }