@openeuropa/bcl-theme-joinup 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/css/oe-bcl-joinup.css +48 -50
- 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/js/oe-bcl-joinup.bundle.js +1 -68
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +1 -67
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +1 -68
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/package.json +6 -6
- package/src/js/index.esm.js +0 -2
- package/src/js/index.umd.js +0 -2
- 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 +50 -46
- 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 +0 -3
- 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 +0 -3
- 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
|
@@ -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,6 +1,4 @@
|
|
|
1
1
|
{% import _self as navigation %}
|
|
2
|
-
{% apply spaceless %}
|
|
3
|
-
|
|
4
2
|
{# Parameters:
|
|
5
3
|
- id (string) (default: '')
|
|
6
4
|
- pills (boolean) (default: false)
|
|
@@ -27,8 +25,7 @@
|
|
|
27
25
|
|
|
28
26
|
{# Define main macro #}
|
|
29
27
|
{% macro render(items, pills, tabs, tabs_content, vertical, full_width, alignment, id, nav, navbar, attributes) %}
|
|
30
|
-
{%
|
|
31
|
-
{% import _self as navigation %}
|
|
28
|
+
{% import _self as navigation %}
|
|
32
29
|
|
|
33
30
|
{% set _id = id|default('') %}
|
|
34
31
|
{% set _pills = pills ?? false %}
|
|
@@ -181,9 +178,7 @@
|
|
|
181
178
|
{%- endblock -%}
|
|
182
179
|
</div>
|
|
183
180
|
{% endif %}
|
|
184
|
-
{% endapply %}
|
|
185
181
|
{% endmacro %}
|
|
186
182
|
|
|
187
183
|
{{ navigation.render(items, pills, tabs, tabs_content, vertical, full_width, alignment, id, nav, navbar, attributes) }}
|
|
188
184
|
|
|
189
|
-
{% endapply %}
|