@openeuropa/bcl-data-footer 0.24.1 → 0.26.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 +23 -2
- package/data--eu.js +40 -3
- package/data.js +17 -2
- package/package.json +2 -2
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",
|
|
@@ -11,8 +12,10 @@ module.exports = {
|
|
|
11
12
|
items: [
|
|
12
13
|
{
|
|
13
14
|
type: "content",
|
|
14
|
-
content:
|
|
15
|
-
|
|
15
|
+
content: `<p class='fw-bold mb-2'>[Project name]</p>${getDummyText(
|
|
16
|
+
2,
|
|
17
|
+
true
|
|
18
|
+
)}`,
|
|
16
19
|
},
|
|
17
20
|
],
|
|
18
21
|
},
|
|
@@ -38,6 +41,7 @@ module.exports = {
|
|
|
38
41
|
links: [
|
|
39
42
|
{
|
|
40
43
|
label: "Facebook",
|
|
44
|
+
path: "/example.html",
|
|
41
45
|
icon_position: "before",
|
|
42
46
|
icon: {
|
|
43
47
|
path: "/icons.svg",
|
|
@@ -47,6 +51,7 @@ module.exports = {
|
|
|
47
51
|
},
|
|
48
52
|
{
|
|
49
53
|
label: "Twitter",
|
|
54
|
+
path: "/example.html",
|
|
50
55
|
icon_position: "before",
|
|
51
56
|
icon: {
|
|
52
57
|
path: "/icons.svg",
|
|
@@ -56,6 +61,7 @@ module.exports = {
|
|
|
56
61
|
},
|
|
57
62
|
{
|
|
58
63
|
label: "Linkedin",
|
|
64
|
+
path: "/example.html",
|
|
59
65
|
icon_position: "before",
|
|
60
66
|
icon: {
|
|
61
67
|
name: "linkedin",
|
|
@@ -88,15 +94,19 @@ module.exports = {
|
|
|
88
94
|
type: "links",
|
|
89
95
|
links: [
|
|
90
96
|
{
|
|
97
|
+
path: "/example.html",
|
|
91
98
|
label: "Link",
|
|
92
99
|
},
|
|
93
100
|
{
|
|
101
|
+
path: "/example.html",
|
|
94
102
|
label: "Link",
|
|
95
103
|
},
|
|
96
104
|
{
|
|
105
|
+
path: "/example.html",
|
|
97
106
|
label: "Link",
|
|
98
107
|
},
|
|
99
108
|
{
|
|
109
|
+
path: "/example.html",
|
|
100
110
|
label: "Link",
|
|
101
111
|
},
|
|
102
112
|
],
|
|
@@ -120,15 +130,19 @@ module.exports = {
|
|
|
120
130
|
links: [
|
|
121
131
|
{
|
|
122
132
|
label: "Link",
|
|
133
|
+
path: "/example.html",
|
|
123
134
|
},
|
|
124
135
|
{
|
|
125
136
|
label: "Link",
|
|
137
|
+
path: "/example.html",
|
|
126
138
|
},
|
|
127
139
|
{
|
|
128
140
|
label: "Link",
|
|
141
|
+
path: "/example.html",
|
|
129
142
|
},
|
|
130
143
|
{
|
|
131
144
|
label: "Link",
|
|
145
|
+
path: "/example.html",
|
|
132
146
|
},
|
|
133
147
|
],
|
|
134
148
|
},
|
|
@@ -156,9 +170,11 @@ module.exports = {
|
|
|
156
170
|
links: [
|
|
157
171
|
{
|
|
158
172
|
label: "European Commission",
|
|
173
|
+
path: "/example.html",
|
|
159
174
|
},
|
|
160
175
|
{
|
|
161
176
|
label: "Follow the EC on social media",
|
|
177
|
+
path: "/example.html",
|
|
162
178
|
icon_position: "after",
|
|
163
179
|
icon: {
|
|
164
180
|
name: "box-arrow-up-right",
|
|
@@ -169,6 +185,7 @@ module.exports = {
|
|
|
169
185
|
},
|
|
170
186
|
{
|
|
171
187
|
label: "Resources for partners",
|
|
188
|
+
path: "/example.html",
|
|
172
189
|
},
|
|
173
190
|
],
|
|
174
191
|
},
|
|
@@ -182,15 +199,19 @@ module.exports = {
|
|
|
182
199
|
links: [
|
|
183
200
|
{
|
|
184
201
|
label: "Language policy",
|
|
202
|
+
path: "/example.html",
|
|
185
203
|
},
|
|
186
204
|
{
|
|
187
205
|
label: "Cookies",
|
|
206
|
+
path: "/example.html",
|
|
188
207
|
},
|
|
189
208
|
{
|
|
190
209
|
label: "Privacy policy",
|
|
210
|
+
path: "/example.html",
|
|
191
211
|
},
|
|
192
212
|
{
|
|
193
213
|
label: "Legal notice",
|
|
214
|
+
path: "/example.html",
|
|
194
215
|
},
|
|
195
216
|
],
|
|
196
217
|
},
|
package/data--eu.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const { getDummyText } = require("@openeuropa/bcl-data-utils");
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
variant: "eu",
|
|
3
5
|
rows: [
|
|
@@ -9,8 +11,10 @@ module.exports = {
|
|
|
9
11
|
items: [
|
|
10
12
|
{
|
|
11
13
|
type: "content",
|
|
12
|
-
content:
|
|
13
|
-
|
|
14
|
+
content: `<p class='fw-bold mb-2'>[Project name]</p>${getDummyText(
|
|
15
|
+
2,
|
|
16
|
+
true
|
|
17
|
+
)}`,
|
|
14
18
|
},
|
|
15
19
|
],
|
|
16
20
|
},
|
|
@@ -27,6 +31,7 @@ module.exports = {
|
|
|
27
31
|
links: [
|
|
28
32
|
{
|
|
29
33
|
label: "Link",
|
|
34
|
+
path: "/example.html",
|
|
30
35
|
},
|
|
31
36
|
],
|
|
32
37
|
},
|
|
@@ -41,6 +46,7 @@ module.exports = {
|
|
|
41
46
|
{
|
|
42
47
|
label: "Facebook",
|
|
43
48
|
icon_position: "before",
|
|
49
|
+
path: "/example.html",
|
|
44
50
|
icon: {
|
|
45
51
|
name: "facebook",
|
|
46
52
|
size: "xs",
|
|
@@ -50,6 +56,7 @@ module.exports = {
|
|
|
50
56
|
{
|
|
51
57
|
label: "Twitter",
|
|
52
58
|
icon_position: "before",
|
|
59
|
+
path: "/example.html",
|
|
53
60
|
icon: {
|
|
54
61
|
name: "twitter",
|
|
55
62
|
size: "xs",
|
|
@@ -58,6 +65,7 @@ module.exports = {
|
|
|
58
65
|
},
|
|
59
66
|
{
|
|
60
67
|
label: "Linkedin",
|
|
68
|
+
path: "/example.html",
|
|
61
69
|
icon_position: "before",
|
|
62
70
|
icon: {
|
|
63
71
|
path: "/icons.svg",
|
|
@@ -82,15 +90,19 @@ module.exports = {
|
|
|
82
90
|
links: [
|
|
83
91
|
{
|
|
84
92
|
label: "Link",
|
|
93
|
+
path: "/example.html",
|
|
85
94
|
},
|
|
86
95
|
{
|
|
87
96
|
label: "Link",
|
|
97
|
+
path: "/example.html",
|
|
88
98
|
},
|
|
89
99
|
{
|
|
90
100
|
label: "Link",
|
|
101
|
+
path: "/example.html",
|
|
91
102
|
},
|
|
92
103
|
{
|
|
93
104
|
label: "Link",
|
|
105
|
+
path: "/example.html",
|
|
94
106
|
},
|
|
95
107
|
],
|
|
96
108
|
},
|
|
@@ -124,15 +136,19 @@ module.exports = {
|
|
|
124
136
|
links: [
|
|
125
137
|
{
|
|
126
138
|
label: "Call us 00 800 6 7 8 9 10 11",
|
|
139
|
+
path: "/example.html",
|
|
127
140
|
},
|
|
128
141
|
{
|
|
129
142
|
label: "Use other telephone options",
|
|
143
|
+
path: "/example.html",
|
|
130
144
|
},
|
|
131
145
|
{
|
|
132
146
|
label: "Write us via our contact form",
|
|
147
|
+
path: "/example.html",
|
|
133
148
|
},
|
|
134
149
|
{
|
|
135
150
|
label: "Meet us at a local EU office",
|
|
151
|
+
path: "/example.html",
|
|
136
152
|
},
|
|
137
153
|
],
|
|
138
154
|
},
|
|
@@ -144,7 +160,7 @@ module.exports = {
|
|
|
144
160
|
{
|
|
145
161
|
type: "content",
|
|
146
162
|
content:
|
|
147
|
-
"<p>Search for <a href='
|
|
163
|
+
"<p>Search for <a href='/example.html' class='mb-2'>EU social media channels</a></p>",
|
|
148
164
|
},
|
|
149
165
|
{
|
|
150
166
|
type: "content",
|
|
@@ -156,15 +172,19 @@ module.exports = {
|
|
|
156
172
|
links: [
|
|
157
173
|
{
|
|
158
174
|
label: "Language policy",
|
|
175
|
+
path: "/example.html",
|
|
159
176
|
},
|
|
160
177
|
{
|
|
161
178
|
label: "Privacy policy",
|
|
179
|
+
path: "/example.html",
|
|
162
180
|
},
|
|
163
181
|
{
|
|
164
182
|
label: "Legal notice",
|
|
183
|
+
path: "/example.html",
|
|
165
184
|
},
|
|
166
185
|
{
|
|
167
186
|
label: "Cookies",
|
|
187
|
+
path: "/example.html",
|
|
168
188
|
},
|
|
169
189
|
],
|
|
170
190
|
},
|
|
@@ -183,54 +203,71 @@ module.exports = {
|
|
|
183
203
|
links: [
|
|
184
204
|
{
|
|
185
205
|
label: "European Parliament",
|
|
206
|
+
path: "/example.html",
|
|
186
207
|
},
|
|
187
208
|
{
|
|
188
209
|
label: "European Council",
|
|
210
|
+
path: "/example.html",
|
|
189
211
|
},
|
|
190
212
|
{
|
|
191
213
|
label: "Council of the European Union",
|
|
214
|
+
path: "/example.html",
|
|
192
215
|
},
|
|
193
216
|
{
|
|
194
217
|
label: "European Commission",
|
|
218
|
+
path: "/example.html",
|
|
195
219
|
},
|
|
196
220
|
{
|
|
197
221
|
label: "Court of Justice of the European Union",
|
|
222
|
+
path: "/example.html",
|
|
198
223
|
},
|
|
199
224
|
{
|
|
200
225
|
label: "European Central Bank",
|
|
226
|
+
path: "/example.html",
|
|
201
227
|
},
|
|
202
228
|
{
|
|
203
229
|
label: "European Court of Auditors",
|
|
230
|
+
path: "/example.html",
|
|
204
231
|
},
|
|
205
232
|
{
|
|
206
233
|
label: "European External Action Service",
|
|
234
|
+
path: "/example.html",
|
|
207
235
|
},
|
|
208
236
|
{
|
|
209
237
|
label: "European Economic and Social Committee",
|
|
238
|
+
path: "/example.html",
|
|
210
239
|
},
|
|
211
240
|
{
|
|
212
241
|
label: "European Committee of the Region",
|
|
242
|
+
path: "/example.html",
|
|
213
243
|
},
|
|
214
244
|
{
|
|
215
245
|
label: "European Investment Bank",
|
|
246
|
+
path: "/example.html",
|
|
216
247
|
},
|
|
217
248
|
{
|
|
218
249
|
label: "European Ombudsman",
|
|
250
|
+
path: "/example.html",
|
|
219
251
|
},
|
|
220
252
|
{
|
|
221
253
|
label: "European Data Protection Supervisor",
|
|
254
|
+
path: "/example.html",
|
|
222
255
|
},
|
|
223
256
|
{
|
|
224
257
|
label: "European Data Protection Board",
|
|
258
|
+
path: "/example.html",
|
|
225
259
|
},
|
|
226
260
|
{
|
|
227
261
|
label: "European Personnel Selection Office",
|
|
262
|
+
path: "/example.html",
|
|
228
263
|
},
|
|
229
264
|
{
|
|
230
265
|
label: "Publications Office of the European Union",
|
|
266
|
+
path: "/example.html",
|
|
231
267
|
},
|
|
232
268
|
{
|
|
233
269
|
label: "Agencies",
|
|
270
|
+
path: "/example.html",
|
|
234
271
|
},
|
|
235
272
|
],
|
|
236
273
|
},
|
package/data.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
const { getDummyText } = require("@openeuropa/bcl-data-utils");
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
rows: [
|
|
3
5
|
{
|
|
@@ -8,8 +10,10 @@ module.exports = {
|
|
|
8
10
|
items: [
|
|
9
11
|
{
|
|
10
12
|
type: "content",
|
|
11
|
-
content:
|
|
12
|
-
|
|
13
|
+
content: `<p class='fw-bold mb-2'>[Project name]</p>${getDummyText(
|
|
14
|
+
2,
|
|
15
|
+
true
|
|
16
|
+
)}`,
|
|
13
17
|
},
|
|
14
18
|
],
|
|
15
19
|
},
|
|
@@ -36,6 +40,7 @@ module.exports = {
|
|
|
36
40
|
{
|
|
37
41
|
label: "Facebook",
|
|
38
42
|
icon_position: "before",
|
|
43
|
+
path: "/example.html",
|
|
39
44
|
icon: {
|
|
40
45
|
path: "/icons.svg",
|
|
41
46
|
name: "facebook",
|
|
@@ -44,6 +49,7 @@ module.exports = {
|
|
|
44
49
|
},
|
|
45
50
|
{
|
|
46
51
|
label: "Twitter",
|
|
52
|
+
path: "/example.html",
|
|
47
53
|
icon_position: "before",
|
|
48
54
|
icon: {
|
|
49
55
|
path: "/icons.svg",
|
|
@@ -53,6 +59,7 @@ module.exports = {
|
|
|
53
59
|
},
|
|
54
60
|
{
|
|
55
61
|
label: "Linkedin",
|
|
62
|
+
path: "/example.html",
|
|
56
63
|
icon_position: "before",
|
|
57
64
|
icon: {
|
|
58
65
|
name: "linkedin",
|
|
@@ -86,15 +93,19 @@ module.exports = {
|
|
|
86
93
|
links: [
|
|
87
94
|
{
|
|
88
95
|
label: "Link",
|
|
96
|
+
path: "/example.html",
|
|
89
97
|
},
|
|
90
98
|
{
|
|
91
99
|
label: "Link",
|
|
100
|
+
path: "/example.html",
|
|
92
101
|
},
|
|
93
102
|
{
|
|
94
103
|
label: "Link",
|
|
104
|
+
path: "/example.html",
|
|
95
105
|
},
|
|
96
106
|
{
|
|
97
107
|
label: "Link",
|
|
108
|
+
path: "/example.html",
|
|
98
109
|
},
|
|
99
110
|
],
|
|
100
111
|
},
|
|
@@ -117,15 +128,19 @@ module.exports = {
|
|
|
117
128
|
links: [
|
|
118
129
|
{
|
|
119
130
|
label: "Link",
|
|
131
|
+
path: "/example.html",
|
|
120
132
|
},
|
|
121
133
|
{
|
|
122
134
|
label: "Link",
|
|
135
|
+
path: "/example.html",
|
|
123
136
|
},
|
|
124
137
|
{
|
|
125
138
|
label: "Link",
|
|
139
|
+
path: "/example.html",
|
|
126
140
|
},
|
|
127
141
|
{
|
|
128
142
|
label: "Link",
|
|
143
|
+
path: "/example.html",
|
|
129
144
|
},
|
|
130
145
|
],
|
|
131
146
|
},
|
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.
|
|
5
|
+
"version": "0.26.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": "
|
|
23
|
+
"gitHead": "94d89cc379780cfce06178959194b3bc1b4c5eda"
|
|
24
24
|
}
|