@openeuropa/bcl-theme-default 1.10.1 → 1.10.2
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/css/oe-bcl-ckeditor5.min.css +1 -1
- package/css/oe-bcl-ckeditor5.min.css.map +1 -1
- package/css/oe-bcl-default.css +139 -124
- package/css/oe-bcl-default.css.map +1 -1
- package/css/oe-bcl-default.min.css +1 -1
- package/css/oe-bcl-default.min.css.map +1 -1
- package/js/oe-bcl-default.bundle.js +17 -14
- package/js/oe-bcl-default.bundle.js.map +1 -1
- package/js/oe-bcl-default.bundle.min.js +1 -1
- package/js/oe-bcl-default.bundle.min.js.map +1 -1
- package/js/oe-bcl-default.esm.js +17 -14
- package/js/oe-bcl-default.esm.js.map +1 -1
- package/js/oe-bcl-default.esm.min.js +1 -1
- package/js/oe-bcl-default.esm.min.js.map +1 -1
- package/js/oe-bcl-default.umd.js +17 -14
- package/js/oe-bcl-default.umd.js.map +1 -1
- package/js/oe-bcl-default.umd.min.js +1 -1
- package/js/oe-bcl-default.umd.min.js.map +1 -1
- package/package.json +5 -5
- package/src/scss/_inpage-navigation.scss +7 -0
- package/src/scss/_multiselect-2.scss +1 -1
- package/src/scss/base/_layout.scss +6 -3
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +10 -6
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-theme-default",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "1.10.
|
|
5
|
+
"version": "1.10.2",
|
|
6
6
|
"description": "OE - BCL theme default",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"align-templates": "lerna --scope \"@openeuropa/bcl-twig-templates\" run prepublish",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@ecl/resources-ec-logo": "3.7.1",
|
|
23
23
|
"@ecl/resources-eu-logo": "3.7.1",
|
|
24
24
|
"@ecl/resources-flag-icons": "3.7.1",
|
|
25
|
-
"@openeuropa/bcl-bootstrap": "^1.10.
|
|
26
|
-
"@openeuropa/bcl-builder": "^1.10.
|
|
27
|
-
"@openeuropa/bcl-twig-templates": "^1.10.
|
|
25
|
+
"@openeuropa/bcl-bootstrap": "^1.10.2",
|
|
26
|
+
"@openeuropa/bcl-builder": "^1.10.2",
|
|
27
|
+
"@openeuropa/bcl-twig-templates": "^1.10.2",
|
|
28
28
|
"@rollup/plugin-replace": "6.0.2",
|
|
29
29
|
"copyfiles": "2.4.1",
|
|
30
30
|
"cross-env": "7.0.3",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"design-system",
|
|
52
52
|
"twig"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d4bb50f58dd038748c618cc2f7bff2674f0b1f2a"
|
|
55
55
|
}
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
justify-content: space-between;
|
|
14
14
|
align-items: center;
|
|
15
15
|
white-space: normal;
|
|
16
|
+
border-left: none;
|
|
17
|
+
border-top: none;
|
|
18
|
+
border-right: none;
|
|
19
|
+
background: transparent;
|
|
16
20
|
border-bottom: 1px solid $gray-300;
|
|
21
|
+
width: 100%;
|
|
22
|
+
padding: map-get($spacers, "3-5");
|
|
17
23
|
&:after {
|
|
18
24
|
display: none;
|
|
19
25
|
}
|
|
@@ -40,6 +46,7 @@
|
|
|
40
46
|
.bcl-heading {
|
|
41
47
|
margin-bottom: 0;
|
|
42
48
|
padding: map-get($spacers, "3-5");
|
|
49
|
+
border-bottom: 1px solid $gray-300;
|
|
43
50
|
}
|
|
44
51
|
ul {
|
|
45
52
|
padding: map-get($spacers, "2-5");
|
|
@@ -29,8 +29,8 @@ Parameters:
|
|
|
29
29
|
{% endif %}
|
|
30
30
|
|
|
31
31
|
{% set attributes = attributes.addClass(['bcl-inpage-navigation', 'position-sticky']).setAttribute('id', _id) %}
|
|
32
|
-
{% set title_attributes = _title_attributes.addClass('mb-0') %}
|
|
33
|
-
{% set
|
|
32
|
+
{% set title_attributes = _title_attributes.addClass(['mb-0', 'd-none', 'd-md-block']) %}
|
|
33
|
+
{% set _button_content %}
|
|
34
34
|
{{ _title }}
|
|
35
35
|
{%- include '@oe-bcl/bcl-icon/icon.html.twig' with {
|
|
36
36
|
name: 'chevron-down',
|
|
@@ -51,13 +51,17 @@ Parameters:
|
|
|
51
51
|
.setAttribute('type', 'button')
|
|
52
52
|
.setAttribute('id', _dropdown_id)
|
|
53
53
|
.setAttribute('data-bs-toggle', 'dropdown')
|
|
54
|
-
.addClass(['dropdown-toggle']) %}
|
|
54
|
+
.addClass(['dropdown-toggle', 'h2', 'd-md-none']) %}
|
|
55
|
+
{% include '@oe-bcl/bcl-button/button.html.twig' with {
|
|
56
|
+
label: _button_content,
|
|
57
|
+
clean_class: true,
|
|
58
|
+
attributes: trigger_attributes,
|
|
59
|
+
} only %}
|
|
55
60
|
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
56
|
-
title:
|
|
61
|
+
title: _title,
|
|
57
62
|
title_tag: _title_tag,
|
|
58
63
|
title_link: _title_link,
|
|
59
|
-
attributes: _title_attributes
|
|
60
|
-
.merge(trigger_attributes),
|
|
64
|
+
attributes: _title_attributes,
|
|
61
65
|
} only %}
|
|
62
66
|
<div class="dropdown-menu" aria-labelledby="{{ _dropdown_id }}">
|
|
63
67
|
{% include '@oe-bcl/bcl-navigation/navigation.html.twig' with {
|