@openeuropa/bcl-data-header 0.22.0 → 0.25.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/data--ec.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
+ const { getDummyText } = require("@openeuropa/bcl-data-utils");
2
3
 
3
4
  module.exports = {
4
5
  variant: "ec",
@@ -15,6 +16,7 @@ module.exports = {
15
16
  .setAttribute("aria-label", "Top Navigation"),
16
17
  disable_collapse: true,
17
18
  brand: {
19
+ link: "/example.html",
18
20
  logos: [
19
21
  {
20
22
  src: "https://cdn1.fpfis.tech.ec.europa.eu/ecl/v3.0.2/ec/images/logo/logo-ec--en.svg",
@@ -27,6 +29,7 @@ module.exports = {
27
29
  {
28
30
  label: "Link",
29
31
  icon_position: "before",
32
+ path: "/example.html",
30
33
  icon: {
31
34
  name: "link",
32
35
  path: "/icons.svg",
@@ -36,6 +39,7 @@ module.exports = {
36
39
  {
37
40
  label: "Link",
38
41
  icon_position: "before",
42
+ path: "/example.html",
39
43
  icon: {
40
44
  name: "link",
41
45
  path: "/icons.svg",
@@ -44,7 +48,7 @@ module.exports = {
44
48
  },
45
49
  {
46
50
  label: "<span class='d-block d-lg-inline-block'>English</span>",
47
- path: "#",
51
+ path: "/example.html",
48
52
  icon_position: "before",
49
53
  remove_icon_spacers: true,
50
54
  icon: {
@@ -60,7 +64,7 @@ module.exports = {
60
64
  },
61
65
  {
62
66
  label: "<span class='d-block d-lg-inline-block'>Log in</span>",
63
- path: "#",
67
+ path: "/example.html",
64
68
  icon_position: "before",
65
69
  remove_icon_spacers: true,
66
70
  icon: {
@@ -76,7 +80,7 @@ module.exports = {
76
80
  },
77
81
  {
78
82
  label: "<span class='badge bg-danger'>5</span>",
79
- path: "#",
83
+ path: "/example.html",
80
84
  remove_icon_spacers: true,
81
85
  icon_position: "before",
82
86
  icon: {
@@ -137,7 +141,7 @@ module.exports = {
137
141
  items: [
138
142
  {
139
143
  label: "Home",
140
- path: "/example",
144
+ path: "/example.html",
141
145
  active: true,
142
146
  attributes: new drupalAttribute().setAttribute(
143
147
  "aria-current",
@@ -146,11 +150,11 @@ module.exports = {
146
150
  },
147
151
  {
148
152
  label: "Item 01",
149
- path: "/example",
153
+ path: "/example.html",
150
154
  },
151
155
  {
152
156
  label: "Item 02",
153
- path: "/example",
157
+ path: "/example.html",
154
158
  },
155
159
  {
156
160
  id: "navbarDropdownMenuLink",
@@ -187,17 +191,14 @@ module.exports = {
187
191
  modals: [
188
192
  {
189
193
  id: "loginModal",
190
- header:
191
- '<h5 class="modal-title" id="loginModalLabel">Log in</h5>' +
192
- '<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>',
193
- body:
194
- "<h5>Disclaimer 1</h5>" +
195
- "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan eget orci eu aliquet. Suspendisse potenti. Integer volutpat, nisl et placerat tincidunt</p>" +
196
- "<h5>Disclaimer 2</h5>" +
197
- "<p>Duis bibendum tristique lobortis. Nam luctus nisi sit amet turpis faucibus, ut dapibus elit sollicitudin. Phasellus a massa magna. Nullam ac imperdiet leo.</p>",
198
- footer:
199
- '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>' +
200
- '<button type="button" class="btn btn-primary">Access EU login</button>',
194
+ header: `<h5 class="modal-title" id="loginModalLabel">Log in</h5>
195
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>`,
196
+ body: `<h5>Disclaimer 1</h5>
197
+ ${getDummyText(3, true)}
198
+ <h5>Disclaimer 2</h5>
199
+ ${getDummyText(3, true)}`,
200
+ footer: `<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
201
+ <button type="button" class="btn btn-primary">Access EU login</button>`,
201
202
  },
202
203
  ],
203
204
  language_modal: {
@@ -334,14 +335,14 @@ module.exports = {
334
335
  breadcrumbs: {
335
336
  attributes: new drupalAttribute().addClass(["mt-3"]),
336
337
  links: [
337
- { label: "Home", path: "/example" },
338
+ { label: "Home", path: "/example.html" },
338
339
  {
339
340
  label: "European Commission",
340
- path: "/example",
341
+ path: "/example.html",
341
342
  },
342
343
  {
343
344
  label: "About the European Commission",
344
- path: "/example",
345
+ path: "/example.html",
345
346
  },
346
347
  { label: "News" },
347
348
  ],
package/data--neutral.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
+ const { getDummyText } = require("@openeuropa/bcl-data-utils");
2
3
 
3
4
  module.exports = {
4
5
  site_name: "Project name",
@@ -12,6 +13,7 @@ module.exports = {
12
13
  },
13
14
  ],
14
15
  label: "Project name",
16
+ link: "/example.html",
15
17
  },
16
18
  attributes: new drupalAttribute()
17
19
  .addClass(["w-100"])
@@ -22,6 +24,7 @@ module.exports = {
22
24
  {
23
25
  label: "Link",
24
26
  icon_position: "before",
27
+ path: "/example.html",
25
28
  icon: {
26
29
  name: "link",
27
30
  path: "/icons.svg",
@@ -31,6 +34,7 @@ module.exports = {
31
34
  {
32
35
  label: "Link",
33
36
  icon_position: "before",
37
+ path: "/example.html",
34
38
  icon: {
35
39
  name: "link",
36
40
  path: "/icons.svg",
@@ -39,7 +43,7 @@ module.exports = {
39
43
  },
40
44
  {
41
45
  label: "<span class='d-block d-lg-inline-block'>English</span>",
42
- path: "#",
46
+ path: "/example.html",
43
47
  icon_position: "before",
44
48
  remove_icon_spacers: true,
45
49
  icon: {
@@ -55,7 +59,7 @@ module.exports = {
55
59
  },
56
60
  {
57
61
  label: "<span class='d-block d-lg-inline-block'>Log in</span>",
58
- path: "#",
62
+ path: "/example.html",
59
63
  icon_position: "before",
60
64
  remove_icon_spacers: true,
61
65
  icon: {
@@ -71,7 +75,7 @@ module.exports = {
71
75
  },
72
76
  {
73
77
  label: "<span class='badge bg-danger'>5</span>",
74
- path: "#",
78
+ path: "/example.html",
75
79
  remove_icon_spacers: true,
76
80
  icon_position: "before",
77
81
  icon: {
@@ -132,7 +136,7 @@ module.exports = {
132
136
  items: [
133
137
  {
134
138
  label: "Home",
135
- path: "/example",
139
+ path: "/example.html",
136
140
  active: true,
137
141
  attributes: new drupalAttribute().setAttribute(
138
142
  "aria-current",
@@ -141,11 +145,11 @@ module.exports = {
141
145
  },
142
146
  {
143
147
  label: "Item 01",
144
- path: "/example",
148
+ path: "/example.html",
145
149
  },
146
150
  {
147
151
  label: "Item 02",
148
- path: "/example",
152
+ path: "/example.html",
149
153
  },
150
154
  {
151
155
  id: "navbarDropdownMenuLink",
@@ -177,17 +181,14 @@ module.exports = {
177
181
  modals: [
178
182
  {
179
183
  id: "loginModal",
180
- header:
181
- '<h5 class="modal-title" id="loginModalLabel">Log in</h5>' +
182
- '<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>',
183
- body:
184
- "<h5>Disclaimer 1</h5>" +
185
- "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan eget orci eu aliquet. Suspendisse potenti. Integer volutpat, nisl et placerat tincidunt</p>" +
186
- "<h5>Disclaimer 2</h5>" +
187
- "<p>Duis bibendum tristique lobortis. Nam luctus nisi sit amet turpis faucibus, ut dapibus elit sollicitudin. Phasellus a massa magna. Nullam ac imperdiet leo.</p>",
188
- footer:
189
- '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>' +
190
- '<button type="button" class="btn btn-primary">Access EU login</button>',
184
+ header: `<h5 class="modal-title" id="loginModalLabel">Log in</h5>
185
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>`,
186
+ body: `<h5>Disclaimer 1</h5>
187
+ ${getDummyText(3, true)}
188
+ <h5>Disclaimer 2</h5>
189
+ ${getDummyText(3, true)}`,
190
+ footer: `<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
191
+ <button type="button" class="btn btn-primary">Access EU login</button>`,
191
192
  },
192
193
  ],
193
194
  language_modal: {
@@ -299,14 +300,14 @@ module.exports = {
299
300
  breadcrumbs: {
300
301
  attributes: new drupalAttribute().addClass(["mt-3"]),
301
302
  links: [
302
- { label: "Home", path: "/example" },
303
+ { label: "Home", path: "/example.html" },
303
304
  {
304
305
  label: "European Commission",
305
- path: "/example",
306
+ path: "/example.html",
306
307
  },
307
308
  {
308
309
  label: "About the European Commission",
309
- path: "/example",
310
+ path: "/example.html",
310
311
  },
311
312
  { label: "News" },
312
313
  ],
package/data--no-form.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
+ const { getDummyText } = require("@openeuropa/bcl-data-utils");
2
3
 
3
4
  module.exports = {
4
5
  variant: "eu",
@@ -6,6 +7,7 @@ module.exports = {
6
7
  attributes: new drupalAttribute().addClass(["w-100", "shadow-sm"]),
7
8
  disable_collapse: true,
8
9
  brand: {
10
+ link: "/example.html",
9
11
  logos: [
10
12
  {
11
13
  class: "d-none d-lg-block",
@@ -23,7 +25,7 @@ module.exports = {
23
25
  items: [
24
26
  {
25
27
  label: "<span class='d-block d-lg-inline-block'>English</span>",
26
- path: "#",
28
+ path: "/example.html",
27
29
  icon_position: "before",
28
30
  remove_icon_spacers: true,
29
31
  icon: {
@@ -39,7 +41,7 @@ module.exports = {
39
41
  },
40
42
  {
41
43
  label: "<span class='d-block d-lg-inline-block'>Log in</span>",
42
- path: "#",
44
+ path: "/example.html",
43
45
  icon_position: "before",
44
46
  remove_icon_spacers: true,
45
47
  icon: {
@@ -66,7 +68,7 @@ module.exports = {
66
68
  items: [
67
69
  {
68
70
  label: "Home",
69
- path: "/example",
71
+ path: "/example.html",
70
72
  active: true,
71
73
  attributes: new drupalAttribute().setAttribute(
72
74
  "aria-current",
@@ -75,11 +77,11 @@ module.exports = {
75
77
  },
76
78
  {
77
79
  label: "Item 01",
78
- path: "/example",
80
+ path: "/example.html",
79
81
  },
80
82
  {
81
83
  label: "Item 02",
82
- path: "/example",
84
+ path: "/example.html",
83
85
  },
84
86
  {
85
87
  id: "navbarDropdownMenuLink",
@@ -87,7 +89,7 @@ module.exports = {
87
89
  dropdown: true,
88
90
  trigger: {
89
91
  label: "Dropdown link",
90
- path: "#",
92
+ path: "/example.html",
91
93
  attributes: new drupalAttribute().addClass("nav-link"),
92
94
  },
93
95
  items: [
@@ -111,17 +113,14 @@ module.exports = {
111
113
  modals: [
112
114
  {
113
115
  id: "loginModal",
114
- header:
115
- '<h5 class="modal-title" id="loginModalLabel">Log in</h5>' +
116
- '<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>',
117
- body:
118
- "<h5>Disclaimer 1</h5>" +
119
- "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan eget orci eu aliquet. Suspendisse potenti. Integer volutpat, nisl et placerat tincidunt</p>" +
120
- "<h5>Disclaimer 2</h5>" +
121
- "<p>Duis bibendum tristique lobortis. Nam luctus nisi sit amet turpis faucibus, ut dapibus elit sollicitudin. Phasellus a massa magna. Nullam ac imperdiet leo.</p>",
122
- footer:
123
- '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>' +
124
- '<button type="button" class="btn btn-primary">Access EU login</button>',
116
+ header: `<h5 class="modal-title" id="loginModalLabel">Log in</h5>
117
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>`,
118
+ body: `<h5>Disclaimer 1</h5>
119
+ ${getDummyText(3, true)}
120
+ <h5>Disclaimer 2</h5>
121
+ ${getDummyText(3, true)}`,
122
+ footer: `<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
123
+ <button type="button" class="btn btn-primary">Access EU login</button>`,
125
124
  },
126
125
  ],
127
126
  language_modal: {
@@ -233,14 +232,14 @@ module.exports = {
233
232
  breadcrumbs: {
234
233
  attributes: new drupalAttribute().addClass(["mt-3"]),
235
234
  links: [
236
- { label: "Home", path: "/example" },
235
+ { label: "Home", path: "/example.html" },
237
236
  {
238
237
  label: "European Union",
239
- path: "/example",
238
+ path: "/example.html",
240
239
  },
241
240
  {
242
241
  label: "About the European Union",
243
- path: "/example",
242
+ path: "/example.html",
244
243
  },
245
244
  { label: "News" },
246
245
  ],
package/data--simple.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
+ const { getDummyText } = require("@openeuropa/bcl-data-utils");
2
3
 
3
4
  module.exports = {
4
5
  variant: "eu",
@@ -8,6 +9,7 @@ module.exports = {
8
9
  .setAttribute("aria-label", "Top Navigation"),
9
10
  disable_collapse: true,
10
11
  brand: {
12
+ link: "/example.html",
11
13
  logos: [
12
14
  {
13
15
  class: "d-none d-lg-block",
@@ -25,7 +27,7 @@ module.exports = {
25
27
  items: [
26
28
  {
27
29
  label: "<span class='d-block d-lg-inline-block'>English</span>",
28
- path: "#",
30
+ path: "/example.html",
29
31
  icon_position: "before",
30
32
  remove_icon_spacers: true,
31
33
  icon: {
@@ -41,7 +43,7 @@ module.exports = {
41
43
  },
42
44
  {
43
45
  label: "<span class='d-block d-lg-inline-block'>Log in</span>",
44
- path: "#",
46
+ path: "/example.html",
45
47
  icon_position: "before",
46
48
  remove_icon_spacers: true,
47
49
  icon: {
@@ -104,7 +106,7 @@ module.exports = {
104
106
  items: [
105
107
  {
106
108
  label: "Home",
107
- path: "/example",
109
+ path: "/example.html",
108
110
  active: true,
109
111
  attributes: new drupalAttribute()
110
112
  .setAttribute("aria-current", "page")
@@ -112,11 +114,11 @@ module.exports = {
112
114
  },
113
115
  {
114
116
  label: "Item 01",
115
- path: "/example",
117
+ path: "/example.html",
116
118
  },
117
119
  {
118
120
  label: "Item 02",
119
- path: "/example",
121
+ path: "/example.html",
120
122
  },
121
123
  {
122
124
  id: "navbarDropdownMenuLink",
@@ -124,7 +126,7 @@ module.exports = {
124
126
  dropdown: true,
125
127
  trigger: {
126
128
  label: "Dropdown link",
127
- path: "#",
129
+ path: "/example.html",
128
130
  attributes: new drupalAttribute().addClass("nav-link"),
129
131
  },
130
132
  items: [
@@ -148,17 +150,14 @@ module.exports = {
148
150
  modals: [
149
151
  {
150
152
  id: "loginModal",
151
- header:
152
- '<h5 class="modal-title" id="loginModalLabel">Log in</h5>' +
153
- '<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>',
154
- body:
155
- "<h5>Disclaimer 1</h5>" +
156
- "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan eget orci eu aliquet. Suspendisse potenti. Integer volutpat, nisl et placerat tincidunt</p>" +
157
- "<h5>Disclaimer 2</h5>" +
158
- "<p>Duis bibendum tristique lobortis. Nam luctus nisi sit amet turpis faucibus, ut dapibus elit sollicitudin. Phasellus a massa magna. Nullam ac imperdiet leo.</p>",
159
- footer:
160
- '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>' +
161
- '<button type="button" class="btn btn-primary">Access EU login</button>',
153
+ header: `<h5 class="modal-title" id="loginModalLabel">Log in</h5>
154
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>`,
155
+ body: `<h5>Disclaimer 1</h5>
156
+ ${getDummyText(3, true)}
157
+ <h5>Disclaimer 2</h5>
158
+ ${getDummyText(3, true)}`,
159
+ footer: `<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
160
+ <button type="button" class="btn btn-primary">Access EU login</button>`,
162
161
  },
163
162
  ],
164
163
  language_modal: {
@@ -272,7 +271,7 @@ module.exports = {
272
271
  links: [
273
272
  {
274
273
  label: "Home",
275
- path: "/example",
274
+ path: "/example.html",
276
275
  attributes: new drupalAttribute().setAttribute(
277
276
  "aria-label",
278
277
  "homepage"
@@ -280,11 +279,11 @@ module.exports = {
280
279
  },
281
280
  {
282
281
  label: "European Union",
283
- path: "/example",
282
+ path: "/example.html",
284
283
  },
285
284
  {
286
285
  label: "About the European Union",
287
- path: "/example",
286
+ path: "/example.html",
288
287
  },
289
288
  { label: "News" },
290
289
  ],
package/data--ucpkn.js CHANGED
@@ -57,7 +57,7 @@ module.exports = {
57
57
  dropdown: true,
58
58
  trigger: {
59
59
  label: "Knowledge & Capacity",
60
- path: "#",
60
+ path: "/example.html",
61
61
  attributes: new drupalAttribute().addClass("nav-link"),
62
62
  },
63
63
  items: [
@@ -89,7 +89,7 @@ module.exports = {
89
89
  dropdown: true,
90
90
  trigger: {
91
91
  label: "Science & Research",
92
- path: "#",
92
+ path: "/example.html",
93
93
  attributes: new drupalAttribute().addClass("nav-link"),
94
94
  },
95
95
  items: [
@@ -117,7 +117,7 @@ module.exports = {
117
117
  dropdown: true,
118
118
  trigger: {
119
119
  label: "Projects",
120
- path: "#",
120
+ path: "/example.html",
121
121
  attributes: new drupalAttribute().addClass("nav-link"),
122
122
  },
123
123
  items: [
@@ -137,7 +137,7 @@ module.exports = {
137
137
  },
138
138
  {
139
139
  label: "Stories",
140
- path: "/example",
140
+ path: "/example.html",
141
141
  },
142
142
  {
143
143
  id: "navbarDropdownMenuLinkProjects",
package/data.js CHANGED
@@ -1,4 +1,5 @@
1
1
  const drupalAttribute = require("drupal-attribute");
2
+ const { getDummyText } = require("@openeuropa/bcl-data-utils");
2
3
 
3
4
  module.exports = {
4
5
  variant: "eu",
@@ -14,6 +15,7 @@ module.exports = {
14
15
  .setAttribute("aria-label", "Top Navigation"),
15
16
  disable_collapse: true,
16
17
  brand: {
18
+ link: "/example.html",
17
19
  logos: [
18
20
  {
19
21
  class: "d-none d-lg-block",
@@ -32,6 +34,7 @@ module.exports = {
32
34
  {
33
35
  label: "Link",
34
36
  icon_position: "before",
37
+ path: "/example.html",
35
38
  icon: {
36
39
  path: "/icons.svg",
37
40
  name: "link",
@@ -41,6 +44,7 @@ module.exports = {
41
44
  {
42
45
  label: "Link",
43
46
  icon_position: "before",
47
+ path: "/example.html",
44
48
  icon: {
45
49
  path: "/icons.svg",
46
50
  name: "link",
@@ -49,7 +53,7 @@ module.exports = {
49
53
  },
50
54
  {
51
55
  label: "<span class='d-block d-lg-inline-block'>English</span>",
52
- path: "#",
56
+ path: "/example.html",
53
57
  icon_position: "before",
54
58
  remove_icon_spacers: true,
55
59
  icon: {
@@ -65,7 +69,7 @@ module.exports = {
65
69
  },
66
70
  {
67
71
  label: "<span class='d-block d-lg-inline-block'>Log in</span>",
68
- path: "#",
72
+ path: "/example.html",
69
73
  icon_position: "before",
70
74
  remove_icon_spacers: true,
71
75
  icon: {
@@ -81,7 +85,7 @@ module.exports = {
81
85
  },
82
86
  {
83
87
  label: "<span class='badge bg-danger'>5</span>",
84
- path: "#",
88
+ path: "/example.html",
85
89
  remove_icon_spacers: true,
86
90
  icon_position: "before",
87
91
  icon: {
@@ -142,7 +146,7 @@ module.exports = {
142
146
  items: [
143
147
  {
144
148
  label: "Home",
145
- path: "/example",
149
+ path: "/example.html",
146
150
  active: true,
147
151
  attributes: new drupalAttribute().setAttribute(
148
152
  "aria-current",
@@ -151,11 +155,11 @@ module.exports = {
151
155
  },
152
156
  {
153
157
  label: "Item 01",
154
- path: "/example",
158
+ path: "/example.html",
155
159
  },
156
160
  {
157
161
  label: "Item 02",
158
- path: "/example",
162
+ path: "/example.html",
159
163
  },
160
164
  {
161
165
  id: "navbarDropdownMenuLink",
@@ -187,17 +191,14 @@ module.exports = {
187
191
  modals: [
188
192
  {
189
193
  id: "loginModal",
190
- header:
191
- '<h5 class="modal-title" id="loginModalLabel">Log in</h5>' +
192
- '<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>',
193
- body:
194
- "<h5>Disclaimer 1</h5>" +
195
- "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum accumsan eget orci eu aliquet. Suspendisse potenti. Integer volutpat, nisl et placerat tincidunt</p>" +
196
- "<h5>Disclaimer 2</h5>" +
197
- "<p>Duis bibendum tristique lobortis. Nam luctus nisi sit amet turpis faucibus, ut dapibus elit sollicitudin. Phasellus a massa magna. Nullam ac imperdiet leo.</p>",
198
- footer:
199
- '<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>' +
200
- '<button type="button" class="btn btn-primary">Access EU login</button>',
194
+ header: `<h5 class="modal-title" id="loginModalLabel">Log in</h5>
195
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>`,
196
+ body: `<h5>Disclaimer 1</h5>
197
+ ${getDummyText(3, true)}
198
+ <h5>Disclaimer 2</h5>
199
+ ${getDummyText(3, true)}`,
200
+ footer: `<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
201
+ <button type="button" class="btn btn-primary">Access EU login</button>`,
201
202
  },
202
203
  ],
203
204
  language_modal: {
@@ -310,14 +311,14 @@ module.exports = {
310
311
  breadcrumbs: {
311
312
  attributes: new drupalAttribute().addClass(["mt-3"]),
312
313
  links: [
313
- { label: "Home", path: "/example" },
314
+ { label: "Home", path: "/example.html" },
314
315
  {
315
316
  label: "European Commission",
316
- path: "/example",
317
+ path: "/example.html",
317
318
  },
318
319
  {
319
320
  label: "About the European Commission",
320
- path: "/example",
321
+ path: "/example.html",
321
322
  },
322
323
  { label: "News" },
323
324
  ],
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.22.0",
5
+ "version": "0.25.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": "57304ad94ae3c234f2f2b904208ce540a7a53f23"
23
+ "gitHead": "f50c7dfeab8695bbb5c18d5f7d5304509512268a"
24
24
  }