@openeuropa/bcl-data-header 0.4185.202512021245 → 0.4230.202512021730
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 +1 -6
- package/data--navbar.js +0 -40
- package/data--neutral.js +0 -5
- package/data--no-form.js +1 -4
- package/data--simple.js +1 -7
- package/data--ucpkn.js +1 -6
- package/data.js +1 -6
- package/package.json +4 -4
package/data--ec.js
CHANGED
|
@@ -9,12 +9,7 @@ const modals = require("@openeuropa/bcl-data-header/data--modals");
|
|
|
9
9
|
module.exports = {
|
|
10
10
|
variant: "ec",
|
|
11
11
|
navbar_id: "header-navbar",
|
|
12
|
-
icon_path: "/icons.svg",
|
|
13
12
|
site_name: "Project name",
|
|
14
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
15
|
-
"aria-label",
|
|
16
|
-
"Main navigation toggle",
|
|
17
|
-
),
|
|
18
13
|
project_logo: {
|
|
19
14
|
path: "https://inno-ecl.s3.amazonaws.com/media/examples/placeholder.svg",
|
|
20
15
|
classes: "d-none d-lg-inline-block",
|
|
@@ -23,7 +18,7 @@ module.exports = {
|
|
|
23
18
|
project_link: "/example.html",
|
|
24
19
|
head: {
|
|
25
20
|
attributes: new DrupalAttribute()
|
|
26
|
-
.addClass(["w-100", "bcl-header__top-navbar"])
|
|
21
|
+
.addClass(["w-100", "shadow-sm", "bcl-header__top-navbar"])
|
|
27
22
|
.setAttribute("aria-label", "Top Navigation"),
|
|
28
23
|
brand: {
|
|
29
24
|
link: "/example.html",
|
package/data--navbar.js
CHANGED
|
@@ -57,30 +57,6 @@ module.exports = {
|
|
|
57
57
|
label: "Base Sub Category Item",
|
|
58
58
|
path: "/example.html",
|
|
59
59
|
},
|
|
60
|
-
{
|
|
61
|
-
label: "Base Sub Category Item",
|
|
62
|
-
path: "/example.html",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: "Base Sub Category Item",
|
|
66
|
-
path: "/example.html",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
label: "Base Sub Category Item",
|
|
70
|
-
path: "/example.html",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: "Base Sub Category Item",
|
|
74
|
-
path: "/example.html",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
label: "Base Sub Category Item",
|
|
78
|
-
path: "/example.html",
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
label: "Base Sub Category Item",
|
|
82
|
-
path: "/example.html",
|
|
83
|
-
},
|
|
84
60
|
],
|
|
85
61
|
},
|
|
86
62
|
{
|
|
@@ -194,22 +170,6 @@ module.exports = {
|
|
|
194
170
|
},
|
|
195
171
|
],
|
|
196
172
|
},
|
|
197
|
-
{
|
|
198
|
-
label: "Item 04",
|
|
199
|
-
path: "/example.html",
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
label: "Item 05",
|
|
203
|
-
path: "/example.html",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
label: "Item 06",
|
|
207
|
-
path: "/example.html",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
label: "Item 07",
|
|
211
|
-
path: "/example.html",
|
|
212
|
-
},
|
|
213
173
|
],
|
|
214
174
|
},
|
|
215
175
|
};
|
package/data--neutral.js
CHANGED
|
@@ -9,11 +9,6 @@ const modals = require("@openeuropa/bcl-data-header/data--modals");
|
|
|
9
9
|
module.exports = {
|
|
10
10
|
navbar_id: "header-navbar",
|
|
11
11
|
site_name: "Project name",
|
|
12
|
-
icon_path: "/icons.svg",
|
|
13
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
14
|
-
"aria-label",
|
|
15
|
-
"Main navigation toggle",
|
|
16
|
-
),
|
|
17
12
|
site_name_classes: "h5 d-inline-block d-lg-none",
|
|
18
13
|
head: {
|
|
19
14
|
brand: {
|
package/data--no-form.js
CHANGED
|
@@ -6,13 +6,10 @@ const languageList = require("@openeuropa/bcl-language-list/data/data-modal");
|
|
|
6
6
|
module.exports = {
|
|
7
7
|
variant: "eu",
|
|
8
8
|
navbar_id: "header-navbar",
|
|
9
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
10
|
-
"aria-label",
|
|
11
|
-
"Main navigation toggle",
|
|
12
|
-
),
|
|
13
9
|
head: {
|
|
14
10
|
attributes: new DrupalAttribute().addClass([
|
|
15
11
|
"w-100",
|
|
12
|
+
"shadow-sm",
|
|
16
13
|
"bcl-header__top-navbar",
|
|
17
14
|
]),
|
|
18
15
|
disable_collapse: false,
|
package/data--simple.js
CHANGED
|
@@ -8,15 +8,9 @@ const modals = require("@openeuropa/bcl-data-header/data--modals");
|
|
|
8
8
|
module.exports = {
|
|
9
9
|
variant: "eu",
|
|
10
10
|
navbar_id: "header-navbar",
|
|
11
|
-
icon_path: "/icons.svg",
|
|
12
|
-
site_name: "Project name",
|
|
13
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
14
|
-
"aria-label",
|
|
15
|
-
"Main navigation toggle",
|
|
16
|
-
),
|
|
17
11
|
head: {
|
|
18
12
|
attributes: new DrupalAttribute()
|
|
19
|
-
.addClass(["w-100", "bcl-header__top-navbar"])
|
|
13
|
+
.addClass(["w-100", "shadow-sm", "bcl-header__top-navbar"])
|
|
20
14
|
.setAttribute("aria-label", "Top Navigation"),
|
|
21
15
|
disable_collapse: false,
|
|
22
16
|
collapse_id: "topNavbarDropdown",
|
package/data--ucpkn.js
CHANGED
|
@@ -3,7 +3,6 @@ const { DrupalAttribute } = require("drupal-attribute");
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
navbar_id: "header-navbar",
|
|
5
5
|
variant: "ucpkn",
|
|
6
|
-
icon_path: "/icons.svg",
|
|
7
6
|
site_name: "UCP Knowledge Network: Applied knowledge for action",
|
|
8
7
|
light: true,
|
|
9
8
|
project_logo: {
|
|
@@ -134,13 +133,9 @@ module.exports = {
|
|
|
134
133
|
],
|
|
135
134
|
},
|
|
136
135
|
},
|
|
137
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
138
|
-
"aria-label",
|
|
139
|
-
"Main navigation toggle",
|
|
140
|
-
),
|
|
141
136
|
head: {
|
|
142
137
|
attributes: new DrupalAttribute()
|
|
143
|
-
.addClass(["w-100"])
|
|
138
|
+
.addClass(["w-100", "shadow-sm"])
|
|
144
139
|
.setAttribute("aria-label", "Top Navigation"),
|
|
145
140
|
disable_collapse: true,
|
|
146
141
|
brand: {
|
package/data.js
CHANGED
|
@@ -10,7 +10,6 @@ module.exports = {
|
|
|
10
10
|
navbar_id: "header-navbar",
|
|
11
11
|
variant: "eu",
|
|
12
12
|
site_name: "Project name",
|
|
13
|
-
icon_path: "/icons.svg",
|
|
14
13
|
project_logo: {
|
|
15
14
|
path: "https://inno-ecl.s3.amazonaws.com/media/examples/placeholder.svg",
|
|
16
15
|
classes: "d-none d-lg-inline-block",
|
|
@@ -18,7 +17,7 @@ module.exports = {
|
|
|
18
17
|
},
|
|
19
18
|
head: {
|
|
20
19
|
attributes: new DrupalAttribute()
|
|
21
|
-
.addClass(["w-100", "bcl-header__top-navbar"])
|
|
20
|
+
.addClass(["w-100", "shadow-sm", "bcl-header__top-navbar"])
|
|
22
21
|
.setAttribute("aria-label", "Top Navigation"),
|
|
23
22
|
disable_collapse: false,
|
|
24
23
|
collapse_id: "topNavbarDropdown",
|
|
@@ -43,10 +42,6 @@ module.exports = {
|
|
|
43
42
|
},
|
|
44
43
|
navbar,
|
|
45
44
|
modals,
|
|
46
|
-
toggler_attributes: new DrupalAttribute().setAttribute(
|
|
47
|
-
"aria-label",
|
|
48
|
-
"Main navigation toggle",
|
|
49
|
-
),
|
|
50
45
|
language_modal: { ...languageList, variant: "eu" },
|
|
51
46
|
breadcrumbs: {
|
|
52
47
|
...breadcrumbs,
|
package/package.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-data-header",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.4230.202512021730",
|
|
6
6
|
"description": "OE header data",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openeuropa/bcl-data-breadcrumb": "^0.
|
|
12
|
-
"@openeuropa/bcl-language-list": "^0.
|
|
11
|
+
"@openeuropa/bcl-data-breadcrumb": "^0.4230.202512021730",
|
|
12
|
+
"@openeuropa/bcl-language-list": "^0.4230.202512021730"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"component-library",
|
|
25
25
|
"design-system"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "19735e328b2b53ccefbcc6829e2aaf149a2c438c"
|
|
28
28
|
}
|