@openeuropa/bcl-theme-joinup 0.4068.202510062345 → 0.4185.202511191330
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/bcl-builder.config.js +2 -0
- package/css/oe-bcl-joinup.css +225 -119
- 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/fonts/files/roboto-cyrillic-400-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-400-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-400-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-400-normal.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-500-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-500-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-500-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-500-normal.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-700-italic.woff +0 -0
- package/fonts/files/roboto-cyrillic-700-italic.woff2 +0 -0
- package/fonts/files/roboto-cyrillic-700-normal.woff +0 -0
- package/fonts/files/roboto-cyrillic-700-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-400-italic.woff +0 -0
- package/fonts/files/roboto-greek-400-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-400-normal.woff +0 -0
- package/fonts/files/roboto-greek-400-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-500-italic.woff +0 -0
- package/fonts/files/roboto-greek-500-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-500-normal.woff +0 -0
- package/fonts/files/roboto-greek-500-normal.woff2 +0 -0
- package/fonts/files/roboto-greek-700-italic.woff +0 -0
- package/fonts/files/roboto-greek-700-italic.woff2 +0 -0
- package/fonts/files/roboto-greek-700-normal.woff +0 -0
- package/fonts/files/roboto-greek-700-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-400-italic.woff +0 -0
- package/fonts/files/roboto-latin-400-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-400-normal.woff +0 -0
- package/fonts/files/roboto-latin-400-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-500-italic.woff +0 -0
- package/fonts/files/roboto-latin-500-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-500-normal.woff +0 -0
- package/fonts/files/roboto-latin-500-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-700-italic.woff +0 -0
- package/fonts/files/roboto-latin-700-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-700-normal.woff +0 -0
- package/fonts/files/roboto-latin-700-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-400-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-400-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-400-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-400-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-500-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-500-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-500-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-500-normal.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-700-italic.woff +0 -0
- package/fonts/files/roboto-latin-ext-700-italic.woff2 +0 -0
- package/fonts/files/roboto-latin-ext-700-normal.woff +0 -0
- package/fonts/files/roboto-latin-ext-700-normal.woff2 +0 -0
- package/icons/bcl-default-icons.svg +1 -1
- package/icons/bootstrap-icons.svg +1 -1
- package/js/oe-bcl-joinup.bundle.js +18 -13
- 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 +18 -13
- 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 +18 -13
- 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/js/slim-select-2/slimselect.min.js +1 -1
- package/package.json +12 -12
- package/src/scss/oe-bcl-joinup.scss +3 -2
- package/templates/bcl-base-templates/listing-page.html.twig +17 -19
- package/templates/bcl-contact-form/contact-form.html.twig +3 -3
- package/templates/bcl-content-banner/content-banner.html.twig +3 -0
- package/templates/bcl-dropdown/dropdown.html.twig +12 -7
- package/templates/bcl-event/event.html.twig +5 -5
- package/templates/bcl-file/file.html.twig +1 -1
- package/templates/bcl-glossary/glossary-detail.html.twig +4 -5
- package/templates/bcl-glossary/glossary-listing.html.twig +5 -5
- package/templates/bcl-group/group-landing.html.twig +5 -5
- package/templates/bcl-group/group.html.twig +3 -3
- package/templates/bcl-header/header.html.twig +7 -42
- package/templates/bcl-landing-page/landing-page.html.twig +5 -8
- package/templates/bcl-language-list/language-list-modal.html.twig +58 -5
- package/templates/bcl-mega-menu/mega-menu-submenu.html.twig +10 -7
- package/templates/bcl-modal/modal.html.twig +16 -4
- package/templates/bcl-navigation/navigation.html.twig +8 -0
- package/templates/bcl-page/page.html.twig +5 -5
- package/templates/bcl-pagination-v2/pagination-item.html.twig +90 -0
- package/templates/bcl-pagination-v2/pagination.html.twig +213 -0
- package/templates/bcl-person/person.html.twig +5 -5
- package/templates/bcl-project/project.html.twig +7 -7
- package/templates/bcl-project-status/project-contributions.html.twig +1 -1
- package/templates/bcl-search/search.html.twig +3 -3
- package/templates/bcl-subscription/subscription.html.twig +5 -5
- package/templates/{bcl-toast → bcl-toasts}/toasts.html.twig +17 -8
- package/templates/bcl-user/user-terms.html.twig +3 -3
- package/templates/bcl-user/user.html.twig +3 -3
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
- toasts (object[]) format: [
|
|
11
11
|
{
|
|
12
12
|
- body (string) (default: '')
|
|
13
|
+
- body_attributes (drupal attrs)
|
|
14
|
+
- header (string) (default: '')
|
|
15
|
+
- header_attributes (drupal attrs)
|
|
16
|
+
- button_attributes (drupal attrs)
|
|
17
|
+
- custom_content (string) (default: '')
|
|
13
18
|
- role (string) (default: 'alert')
|
|
14
19
|
- with_close (boolean) (default: true)
|
|
15
20
|
- autohide (boolean) (default: false)
|
|
@@ -66,6 +71,9 @@
|
|
|
66
71
|
{% set _with_body_wrapper = _toast.with_body_wrapper ?? false %}
|
|
67
72
|
{% set _body_wrapper_classes = _toast.body_wrapper_classes|default('') %}
|
|
68
73
|
{% set _toast_attributes = _toast.attributes ?: create_attribute() %}
|
|
74
|
+
{% set _body_attributes = _toast.body_attributes ?: create_attribute() %}
|
|
75
|
+
{% set _header_attributes = _toast.header_attributes ?: create_attribute() %}
|
|
76
|
+
{% set _button_attributes = _toast.button_attributes ?: create_attribute() %}
|
|
69
77
|
{% set _toast_attributes = _toast_attributes.addClass(_classes).setAttribute('aria-atomic', 'true') %}
|
|
70
78
|
{% if _aria_live is not empty %}
|
|
71
79
|
{% set _toast_attributes = _toast_attributes.setAttribute('aria-live', _aria_live) %}
|
|
@@ -82,16 +90,16 @@
|
|
|
82
90
|
{% if _with_close or
|
|
83
91
|
(_toast.header is defined and _toast.header is not empty)
|
|
84
92
|
%}
|
|
85
|
-
<div
|
|
93
|
+
<div{{ _header_attributes.addClass(['toast-header']) }}>
|
|
86
94
|
{{- _toast.header|default('') -}}
|
|
87
95
|
{% if _with_close %}
|
|
88
|
-
{%
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
.setAttribute('data-bs-dismiss', 'toast')
|
|
92
|
-
%}
|
|
96
|
+
{% if not _button_attributes.hasAttribute('aria-label') %}
|
|
97
|
+
{% set _button_attributes = _button_attributes.setAttribute('aria-label', 'Close') %}
|
|
98
|
+
{% endif %}
|
|
93
99
|
{%- include '@oe-bcl/bcl-button/button.html.twig' with {
|
|
94
|
-
attributes:
|
|
100
|
+
attributes: _button_attributes
|
|
101
|
+
.addClass(['btn-close'])
|
|
102
|
+
.setAttribute('data-bs-dismiss', 'toast'),
|
|
95
103
|
clean_class: true
|
|
96
104
|
} only -%}
|
|
97
105
|
{% endif %}
|
|
@@ -104,12 +112,13 @@
|
|
|
104
112
|
{% endif %}
|
|
105
113
|
>
|
|
106
114
|
{% endif %}
|
|
107
|
-
<div
|
|
115
|
+
<div{{ _body_attributes.addClass(['toast-body']) }}>
|
|
108
116
|
{{- _body -}}
|
|
109
117
|
</div>
|
|
110
118
|
{% if _with_body_wrapper %}
|
|
111
119
|
</div>
|
|
112
120
|
{% endif %}
|
|
121
|
+
{{- _toast.custom_content|default('') -}}
|
|
113
122
|
</div>
|
|
114
123
|
{% endfor %}
|
|
115
124
|
{% endif %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" -%}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{%- block content %}
|
|
4
4
|
{{ get_dummy_text(4, true) }}
|
|
5
5
|
<ul class="mb-4-5">
|
|
6
6
|
<li>{{ get_dummy_text() }}</li>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
<li>{{ get_dummy_text() }}</li>
|
|
9
9
|
</ul>
|
|
10
10
|
{% include '@oe-bcl/bcl-form/form.html.twig' with terms_form only %}
|
|
11
|
-
{
|
|
11
|
+
{%- endblock -%}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig"
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" -%}
|
|
2
2
|
|
|
3
|
-
{
|
|
3
|
+
{%- block content %}
|
|
4
4
|
{% include "@oe-bcl/bcl-navigation/navigation.html.twig" with navigation only %}
|
|
5
5
|
<div class="tab-content">
|
|
6
6
|
<div class="tab-pane fade show active" id="view" role="tabpanel" aria-labelledby="view-tab">
|
|
@@ -134,4 +134,4 @@
|
|
|
134
134
|
{% include '@oe-bcl/bcl-form/form.html.twig' with cancel.form only %}
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
137
|
-
{
|
|
137
|
+
{%- endblock -%}
|