@openeuropa/bcl-theme-joinup 0.4185.202511191330 → 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/css/oe-bcl-joinup.css +149 -83
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/package.json +6 -6
- package/templates/bcl-accordion/accordion.html.twig +0 -3
- package/templates/bcl-alert/alert.html.twig +0 -3
- package/templates/bcl-badge/badge.html.twig +0 -3
- package/templates/bcl-banner/banner.html.twig +0 -3
- package/templates/bcl-base-templates/content-type.html.twig +0 -3
- package/templates/bcl-blockquote/blockquote.html.twig +0 -3
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +0 -3
- package/templates/bcl-button/button.html.twig +0 -3
- package/templates/bcl-button-group/button-group.html.twig +0 -3
- package/templates/bcl-card/card.html.twig +0 -3
- package/templates/bcl-card-layout/card-layout.html.twig +0 -3
- package/templates/bcl-carousel/carousel.html.twig +0 -3
- package/templates/bcl-content-banner/content-banner.html.twig +0 -3
- package/templates/bcl-date-block/date-block.html.twig +0 -3
- package/templates/bcl-description-list/description-list-details.html.twig +0 -3
- package/templates/bcl-description-list/description-list-title.html.twig +0 -3
- package/templates/bcl-description-list/description-list.html.twig +0 -3
- package/templates/bcl-dropdown/dropdown.html.twig +0 -3
- package/templates/bcl-fact-figures/fact-figures.html.twig +0 -3
- package/templates/bcl-featured-media/featured-media.html.twig +0 -3
- package/templates/bcl-file/file-translations.html.twig +0 -3
- package/templates/bcl-file/file.html.twig +0 -3
- package/templates/bcl-footer/footer.html.twig +0 -3
- package/templates/bcl-form/form.html.twig +0 -3
- package/templates/bcl-form-input/form-input.html.twig +0 -3
- package/templates/bcl-gallery/gallery-item.html.twig +0 -3
- package/templates/bcl-gallery/gallery.html.twig +0 -3
- package/templates/bcl-header/header.html.twig +42 -10
- package/templates/bcl-heading/heading.html.twig +0 -3
- package/templates/bcl-icon/icon.html.twig +0 -3
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +0 -3
- package/templates/bcl-language-list/language-list-grid.html.twig +0 -3
- package/templates/bcl-language-list/language-list.html.twig +0 -3
- package/templates/bcl-language-switcher/language-switcher.html.twig +0 -3
- package/templates/bcl-link/link.html.twig +0 -3
- package/templates/bcl-links-block/links-block.html.twig +1 -4
- package/templates/bcl-list-group/list-group.html.twig +0 -3
- package/templates/bcl-listing/listing.html.twig +0 -3
- package/templates/bcl-mega-menu/mega-menu-items.html.twig +0 -3
- package/templates/bcl-mega-menu/mega-menu-submenu.html.twig +6 -12
- package/templates/bcl-mega-menu/mega-menu.html.twig +0 -3
- package/templates/bcl-modal/modal.html.twig +4 -6
- package/templates/bcl-navbar/navbar.html.twig +0 -3
- package/templates/bcl-navigation/navigation.html.twig +1 -6
- package/templates/bcl-offcanvas/offcanvas.html.twig +0 -3
- package/templates/bcl-pagination/pagination-item.html.twig +0 -3
- package/templates/bcl-pagination/pagination.html.twig +0 -3
- package/templates/bcl-pagination-v2/pagination-item.html.twig +0 -3
- package/templates/bcl-pagination-v2/pagination.html.twig +0 -3
- package/templates/bcl-placeholder/placeholder.html.twig +0 -3
- package/templates/bcl-progress/progress.html.twig +0 -3
- package/templates/bcl-project/project-lists.html.twig +0 -4
- package/templates/bcl-project-status/project-contributions.html.twig +0 -3
- package/templates/bcl-project-status/project-status.html.twig +0 -3
- package/templates/bcl-recent-activities/recent-activities.html.twig +0 -3
- package/templates/bcl-search-form/search-form.html.twig +0 -3
- package/templates/bcl-select/select.html.twig +0 -3
- package/templates/bcl-spinner/spinner.html.twig +0 -3
- package/templates/bcl-subscription-block/subscription-block.html.twig +0 -3
- package/templates/bcl-table/table.html.twig +0 -3
- package/templates/bcl-textarea/textarea.html.twig +0 -3
- package/templates/bcl-timeline/timeline-item.html.twig +0 -3
- package/templates/bcl-timeline/timeline.html.twig +0 -3
- package/templates/bcl-toasts/toasts.html.twig +0 -3
- package/templates/bcl-user/user-compact.html.twig +0 -3
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-theme-joinup",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.4230.202512021730",
|
|
6
6
|
"description": "OE - BCL theme joinup",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"align-templates": "lerna --scope \"@openeuropa/bcl-twig-templates\" run prepublish",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@ecl/resources-eu-logo": "3.7.1",
|
|
29
29
|
"@ecl/resources-flag-icons": "3.7.1",
|
|
30
30
|
"@fontsource/roboto": "5.2.8",
|
|
31
|
-
"@openeuropa/bcl-bootstrap": "^0.
|
|
32
|
-
"@openeuropa/bcl-builder": "^0.
|
|
33
|
-
"@openeuropa/bcl-theme-default": "^0.
|
|
34
|
-
"@openeuropa/bcl-twig-templates": "^0.
|
|
31
|
+
"@openeuropa/bcl-bootstrap": "^0.4230.202512021730",
|
|
32
|
+
"@openeuropa/bcl-builder": "^0.4230.202512021730",
|
|
33
|
+
"@openeuropa/bcl-theme-default": "^0.4230.202512021730",
|
|
34
|
+
"@openeuropa/bcl-twig-templates": "^0.4230.202512021730",
|
|
35
35
|
"@rollup/plugin-replace": "6.0.2",
|
|
36
36
|
"copyfiles": "2.4.1",
|
|
37
37
|
"cross-env": "10.1.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"design-system",
|
|
58
58
|
"twig"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "19735e328b2b53ccefbcc6829e2aaf149a2c438c"
|
|
61
61
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
{% apply spaceless %}
|
|
2
|
-
|
|
3
1
|
{# Parameters:
|
|
4
2
|
- variant (string) (default: 'neutral')
|
|
5
3
|
- options: ['ec', 'eu', 'neutral']
|
|
@@ -84,6 +82,41 @@
|
|
|
84
82
|
</div>
|
|
85
83
|
</nav>
|
|
86
84
|
|
|
85
|
+
|
|
86
|
+
<!-- project name -->
|
|
87
|
+
{% if _project_logo is not empty or _site_name is not empty %}
|
|
88
|
+
<div class="{{ _project_classes }}">
|
|
89
|
+
<div class="container">
|
|
90
|
+
{% if _project_link is not empty %}
|
|
91
|
+
<a
|
|
92
|
+
href="{{ _project_link }}"
|
|
93
|
+
>
|
|
94
|
+
{% endif %}
|
|
95
|
+
{% if _project_logo is not empty %}
|
|
96
|
+
<img
|
|
97
|
+
{% if _project_logo.path is not empty %}
|
|
98
|
+
src="{{ _project_logo.path }}"
|
|
99
|
+
{% endif %}
|
|
100
|
+
{% if _project_logo.alt is not empty %}
|
|
101
|
+
alt="{{ _project_logo.alt }}"
|
|
102
|
+
{% endif %}
|
|
103
|
+
{% if _project_logo.classes is not empty %}
|
|
104
|
+
class="{{ _project_logo.classes }}"
|
|
105
|
+
{% endif %}
|
|
106
|
+
/>
|
|
107
|
+
{% endif %}
|
|
108
|
+
{% if _site_name is not empty %}
|
|
109
|
+
<span class="{{ _site_name_classes }}">
|
|
110
|
+
{{- _site_name -}}
|
|
111
|
+
</span>
|
|
112
|
+
{% endif %}
|
|
113
|
+
{% if _project_link is not empty %}
|
|
114
|
+
</a>
|
|
115
|
+
{% endif %}
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
{% endif %}
|
|
119
|
+
|
|
87
120
|
<!-- navbar -->
|
|
88
121
|
{% if _navbar is not empty %}
|
|
89
122
|
{% include '@oe-bcl/bcl-navbar/navbar.html.twig' with _navbar|merge({
|
|
@@ -91,14 +124,14 @@
|
|
|
91
124
|
attributes: create_attribute().addClass('bcl-header__navbar collapse navbar-collapse').setAttribute('id', _navbar_id).setAttribute('aria-label', 'Main Navigation'),
|
|
92
125
|
}) only %}
|
|
93
126
|
{% endif %}
|
|
94
|
-
</header>
|
|
95
127
|
|
|
96
|
-
<!-- breadcrumbs -->
|
|
97
|
-
{% if _breadcrumbs is not empty %}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
{% endif %}
|
|
128
|
+
<!-- breadcrumbs -->
|
|
129
|
+
{% if _breadcrumbs is not empty %}
|
|
130
|
+
<div class="container">
|
|
131
|
+
{% include '@oe-bcl/bcl-breadcrumb/breadcrumb.html.twig' with _breadcrumbs only %}
|
|
132
|
+
</div>
|
|
133
|
+
{% endif %}
|
|
134
|
+
</header>
|
|
102
135
|
|
|
103
136
|
{% for modal in _modals %}
|
|
104
137
|
{% include '@oe-bcl/bcl-modal/modal.html.twig' with modal only %}
|
|
@@ -108,4 +141,3 @@
|
|
|
108
141
|
{% include '@oe-bcl/bcl-language-list/language-list.html.twig' with _language_modal only %}
|
|
109
142
|
{% endif %}
|
|
110
143
|
|
|
111
|
-
{% endapply %}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
{% apply spaceless %}
|
|
2
|
-
|
|
3
1
|
{# Parameters:
|
|
4
2
|
- title: (string) (default: '')
|
|
5
3
|
- title_tag: (string) (default: 'h2')
|
|
@@ -56,7 +54,7 @@
|
|
|
56
54
|
{% endif %}
|
|
57
55
|
{% set _link = _link|merge({
|
|
58
56
|
clean_class: true,
|
|
59
|
-
attributes: _link.attributes.addClass(['
|
|
57
|
+
attributes: _link.attributes.addClass(['mb-3', 'd-inline-block', 'standalone'])
|
|
60
58
|
}) %}
|
|
61
59
|
{% set _list_item_classes = 'list-unstyled' %}
|
|
62
60
|
{% if _variant == 'horizontal' %}
|
|
@@ -73,4 +71,3 @@
|
|
|
73
71
|
</div>
|
|
74
72
|
{% endif %}
|
|
75
73
|
|
|
76
|
-
{% endapply %}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
{% apply spaceless %}
|
|
2
|
-
|
|
3
1
|
{% set _items = items ?? [] %}
|
|
4
2
|
{% set _trigger = trigger ?? null %}
|
|
5
3
|
{% set _icon_path = icon_path ?? '' %}
|
|
@@ -21,24 +19,26 @@
|
|
|
21
19
|
}) %}
|
|
22
20
|
{% include '@oe-bcl/bcl-button/button.html.twig' with _trigger only %}
|
|
23
21
|
|
|
24
|
-
{
|
|
25
|
-
{# Prepare an optional "See all" link rendered outside the list. #}
|
|
22
|
+
{# Add an optional "See all" link as last item. #}
|
|
26
23
|
{% if _see_all is not empty %}
|
|
24
|
+
{# Wrap the label for an ellipsis. #}
|
|
27
25
|
{% set _see_all_label %}
|
|
28
26
|
<span>{{- _see_all.label -}}</span>
|
|
29
27
|
{% endset %}
|
|
30
28
|
{% set _see_all_attr = (_see_all.attributes is defined ? _see_all.attributes : create_attribute()) %}
|
|
31
|
-
{% set
|
|
29
|
+
{% set _see_all = _see_all|merge({
|
|
32
30
|
label: _see_all_label,
|
|
33
31
|
icon: {
|
|
34
|
-
size: 'xs',
|
|
35
32
|
name: 'arrow-right',
|
|
36
33
|
path: _icon_path,
|
|
37
34
|
},
|
|
35
|
+
li_attributes: create_attribute()
|
|
36
|
+
.addClass('__see_all'),
|
|
38
37
|
attributes: _see_all_attr
|
|
39
38
|
.addClass(['see-all-button'])
|
|
40
39
|
.setAttribute('aria-label', 'See all items in ‘' ~ _trigger.label ~ '’')
|
|
41
40
|
}) %}
|
|
41
|
+
{% set _items = _items|merge([_see_all]) %}
|
|
42
42
|
{% endif %}
|
|
43
43
|
{% set submenu_attributes = create_attribute()
|
|
44
44
|
.setAttribute('id', _panel_id)
|
|
@@ -58,11 +58,5 @@
|
|
|
58
58
|
icon_path: _icon_path,
|
|
59
59
|
level: _level,
|
|
60
60
|
} only %}
|
|
61
|
-
{% if _see_all_link %}
|
|
62
|
-
<div class="__see_all">
|
|
63
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with _see_all_link only %}
|
|
64
|
-
</div>
|
|
65
|
-
{% endif %}
|
|
66
61
|
</div>
|
|
67
62
|
|
|
68
|
-
{% endapply %}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
{% apply spaceless %}
|
|
2
|
-
|
|
3
1
|
{# Parameters:
|
|
4
2
|
- size (string) default('')
|
|
5
3
|
options: sm, lg, xl, fullscreen
|
|
@@ -7,7 +5,8 @@
|
|
|
7
5
|
- fullscreen_responsive (string) (default: '')
|
|
8
6
|
options: sm, md, lg, xl, xxl
|
|
9
7
|
- static_backdrop (boolean) (default: false)
|
|
10
|
-
-
|
|
8
|
+
- vertically_centered (boolean) (default: false)
|
|
9
|
+
- verticaly_centered (boolean) (default: false) // deprecated typo
|
|
11
10
|
- scrollable (boolean) (default: false)
|
|
12
11
|
- header (block) (default: '')
|
|
13
12
|
- messages (block) (default: '')
|
|
@@ -29,7 +28,7 @@
|
|
|
29
28
|
{% set _id = id|default('modal-' ~ random(10000)) %}
|
|
30
29
|
{% set _fullscreen_responsive = fullscreen_responsive|default('') %}
|
|
31
30
|
{% set _static_backdrop = static_backdrop ?? false %}
|
|
32
|
-
{% set
|
|
31
|
+
{% set _vertically_centered = vertically_centered ?? verticaly_centered ?? false %}
|
|
33
32
|
{% set _scrollable = scrollable ?? false %}
|
|
34
33
|
{% set _header = header|default('') %}
|
|
35
34
|
{% set _header_attributes = header_attributes ?: create_attribute() %}
|
|
@@ -63,7 +62,7 @@
|
|
|
63
62
|
<div class="modal-dialog
|
|
64
63
|
{{- _size ? ' modal-' ~ size -}}
|
|
65
64
|
{{- _fullscreen_responsive ? ' modal-fullscreen-' ~ _fullscreen_responsive ~ '-down' -}}
|
|
66
|
-
{{-
|
|
65
|
+
{{- _vertically_centered ? ' modal-dialog-centered' -}}
|
|
67
66
|
{{- _scrollable ? ' modal-dialog-scrollable' -}}"
|
|
68
67
|
>
|
|
69
68
|
<div class="modal-content">
|
|
@@ -91,4 +90,3 @@
|
|
|
91
90
|
</div>
|
|
92
91
|
</div>
|
|
93
92
|
|
|
94
|
-
{% endapply %}
|