@ecl/site-header 5.0.0-alpha.20 → 5.0.0-alpha.22

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@ecl/site-header",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "5.0.0-alpha.20",
5
+ "version": "5.0.0-alpha.22",
6
6
  "description": "ECL Site Header",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -10,21 +10,21 @@
10
10
  "main": "site-header.js",
11
11
  "module": "site-header.js",
12
12
  "dependencies": {
13
- "@ecl/button": "5.0.0-alpha.20",
14
- "@ecl/dom-utils": "5.0.0-alpha.20",
15
- "@ecl/grid": "5.0.0-alpha.20",
16
- "@ecl/icon": "5.0.0-alpha.20",
17
- "@ecl/link": "5.0.0-alpha.20",
18
- "@ecl/menu": "5.0.0-alpha.20",
19
- "@ecl/mixins-typography": "5.0.0-alpha.20",
20
- "@ecl/notification": "5.0.0-alpha.20",
21
- "@ecl/picture": "5.0.0-alpha.20",
22
- "@ecl/search-form": "5.0.0-alpha.20",
23
- "focus-trap": "7.6.5"
13
+ "@ecl/button": "5.0.0-alpha.22",
14
+ "@ecl/dom-utils": "5.0.0-alpha.22",
15
+ "@ecl/grid": "5.0.0-alpha.22",
16
+ "@ecl/icon": "5.0.0-alpha.22",
17
+ "@ecl/link": "5.0.0-alpha.22",
18
+ "@ecl/menu": "5.0.0-alpha.22",
19
+ "@ecl/mixins-typography": "5.0.0-alpha.22",
20
+ "@ecl/notification": "5.0.0-alpha.22",
21
+ "@ecl/picture": "5.0.0-alpha.22",
22
+ "@ecl/search-form": "5.0.0-alpha.22",
23
+ "focus-trap": "7.6.6"
24
24
  },
25
25
  "devDependencies": {
26
- "@ecl/resources-ec-logo": "5.0.0-alpha.20",
27
- "@ecl/resources-eu-logo": "5.0.0-alpha.20"
26
+ "@ecl/resources-ec-logo": "5.0.0-alpha.22",
27
+ "@ecl/resources-eu-logo": "5.0.0-alpha.22"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "design-system",
41
41
  "twig"
42
42
  ],
43
- "gitHead": "47aedb8e6c7b15ce6acc9cbd2284c4a52ba1014b"
43
+ "gitHead": "61e1409a0388aa095e08280e768633e41cf57d01"
44
44
  }
@@ -394,6 +394,10 @@ $menu-top: calc(44px + 2 * var(--s-xs));
394
394
  right: 0;
395
395
  top: 0;
396
396
  width: 100%;
397
+
398
+ &.ecl-mega-menu--rtl {
399
+ right: 0;
400
+ }
397
401
  }
398
402
 
399
403
  .ecl-menu__overlay,
@@ -121,8 +121,7 @@
121
121
  {% include '@ecl/link/link.html.twig' with {
122
122
  link: _item|merge({
123
123
  label: _link_label,
124
- type: 'standalone',
125
- no_visited: true
124
+ type: 'standalone'
126
125
  }),
127
126
  extra_classes: _link_classes,
128
127
  extra_attributes: [
@@ -476,7 +476,7 @@
476
476
  <div class="ecl-site-header__banner-top">
477
477
  {%- if banner_top.link is defined and banner_top.link is not empty %}
478
478
  {% include '@ecl/link/link.html.twig' with banner_top|merge({
479
- link: banner_top.link|merge({ type: 'standalone', no_visited: true}),
479
+ link: banner_top.link|merge({ type: 'standalone' }),
480
480
  }) only %}
481
481
  {% else %}
482
482
  {{ banner_top }}
@@ -502,7 +502,7 @@
502
502
  {% if _cta_link is not empty and _cta_link.link is not empty %}
503
503
  {% include '@ecl/link/link.html.twig' with _cta_link|merge({
504
504
  link: _cta_link.link|merge({
505
- type: 'cta',
505
+ type: 'primary-highlight',
506
506
  }),
507
507
  extra_classes: 'ecl-site-header__cta',
508
508
  }) only %}