@openeuropa/bcl-data-header 0.8.0 → 0.12.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 +7 -6
  2. package/data.js +7 -6
  3. package/package.json +2 -2
package/data-ec.js CHANGED
@@ -63,6 +63,7 @@ module.exports = {
63
63
  {
64
64
  label: "<span class='badge bg-danger'>5</span>",
65
65
  path: "#",
66
+ remove_icon_spacers: true,
66
67
  icon_position: "before",
67
68
  icon: {
68
69
  name: "bell-fill",
@@ -88,7 +89,6 @@ module.exports = {
88
89
  icon: {
89
90
  name: "search",
90
91
  size: "xs",
91
- attributes: new drupalAttribute().addClass(["align-self-center"]),
92
92
  },
93
93
  attributes: new drupalAttribute().addClass([
94
94
  "border-start-0",
@@ -233,19 +233,20 @@ module.exports = {
233
233
  },
234
234
  ],
235
235
  breadcrumbs: {
236
- attributes: new drupalAttribute().addClass([
237
- "mt-3",
238
- "d-none",
239
- "d-lg-block",
240
- ]),
236
+ attributes: new drupalAttribute().addClass(["mt-3"]),
241
237
  links: [
242
238
  { label: "Home", path: "/example" },
239
+ {
240
+ label: "European Commission",
241
+ path: "/example",
242
+ },
243
243
  {
244
244
  label: "About the European Commission",
245
245
  path: "/example",
246
246
  },
247
247
  { label: "News" },
248
248
  ],
249
+ icons_path: "/icons.svg",
249
250
  },
250
251
  attributes: new drupalAttribute().addClass("ec__header"),
251
252
  };
package/data.js CHANGED
@@ -68,6 +68,7 @@ module.exports = {
68
68
  {
69
69
  label: "<span class='badge bg-danger'>5</span>",
70
70
  path: "#",
71
+ remove_icon_spacers: true,
71
72
  icon_position: "before",
72
73
  icon: {
73
74
  name: "bell-fill",
@@ -93,7 +94,6 @@ module.exports = {
93
94
  icon: {
94
95
  name: "search",
95
96
  size: "xs",
96
- attributes: new drupalAttribute().addClass(["align-self-center"]),
97
97
  },
98
98
  attributes: new drupalAttribute().addClass([
99
99
  "border-start-0",
@@ -238,18 +238,19 @@ module.exports = {
238
238
  },
239
239
  ],
240
240
  breadcrumbs: {
241
- attributes: new drupalAttribute().addClass([
242
- "mt-3",
243
- "d-none",
244
- "d-lg-block",
245
- ]),
241
+ attributes: new drupalAttribute().addClass(["mt-3"]),
246
242
  links: [
247
243
  { label: "Home", path: "/example" },
244
+ {
245
+ label: "European Commission",
246
+ path: "/example",
247
+ },
248
248
  {
249
249
  label: "About the European Commission",
250
250
  path: "/example",
251
251
  },
252
252
  { label: "News" },
253
253
  ],
254
+ icons_path: "/icons.svg",
254
255
  },
255
256
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-data-header",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.8.0",
5
+ "version": "0.12.0",
6
6
  "description": "OE header data",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -20,5 +20,5 @@
20
20
  "component-library",
21
21
  "design-system"
22
22
  ],
23
- "gitHead": "342427d971c66d581fa09c232221a0e00085781e"
23
+ "gitHead": "b39df646cb20e7faf4564fe7d6bc78aa6bc9022f"
24
24
  }