@openeuropa/bcl-twig-templates 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.
Files changed (66) hide show
  1. package/package.json +67 -67
  2. package/templates/bcl-accordion/accordion.html.twig +0 -3
  3. package/templates/bcl-alert/alert.html.twig +0 -3
  4. package/templates/bcl-badge/badge.html.twig +0 -3
  5. package/templates/bcl-banner/banner.html.twig +0 -3
  6. package/templates/bcl-base-templates/content-type.html.twig +0 -3
  7. package/templates/bcl-blockquote/blockquote.html.twig +0 -3
  8. package/templates/bcl-breadcrumb/breadcrumb.html.twig +0 -3
  9. package/templates/bcl-button/button.html.twig +0 -3
  10. package/templates/bcl-button-group/button-group.html.twig +0 -3
  11. package/templates/bcl-card/card.html.twig +0 -3
  12. package/templates/bcl-card-layout/card-layout.html.twig +0 -3
  13. package/templates/bcl-carousel/carousel.html.twig +0 -3
  14. package/templates/bcl-content-banner/content-banner.html.twig +0 -3
  15. package/templates/bcl-date-block/date-block.html.twig +0 -3
  16. package/templates/bcl-description-list/description-list-details.html.twig +0 -3
  17. package/templates/bcl-description-list/description-list-title.html.twig +0 -3
  18. package/templates/bcl-description-list/description-list.html.twig +0 -3
  19. package/templates/bcl-dropdown/dropdown.html.twig +0 -3
  20. package/templates/bcl-fact-figures/fact-figures.html.twig +0 -3
  21. package/templates/bcl-featured-media/featured-media.html.twig +0 -3
  22. package/templates/bcl-file/file-translations.html.twig +0 -3
  23. package/templates/bcl-file/file.html.twig +0 -3
  24. package/templates/bcl-footer/footer.html.twig +0 -3
  25. package/templates/bcl-form/form.html.twig +0 -3
  26. package/templates/bcl-form-input/form-input.html.twig +0 -3
  27. package/templates/bcl-gallery/gallery-item.html.twig +0 -3
  28. package/templates/bcl-gallery/gallery.html.twig +0 -3
  29. package/templates/bcl-header/header.html.twig +50 -46
  30. package/templates/bcl-heading/heading.html.twig +0 -3
  31. package/templates/bcl-icon/icon.html.twig +0 -3
  32. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +0 -3
  33. package/templates/bcl-language-list/language-list-grid.html.twig +0 -3
  34. package/templates/bcl-language-list/language-list.html.twig +0 -3
  35. package/templates/bcl-language-switcher/language-switcher.html.twig +0 -3
  36. package/templates/bcl-link/link.html.twig +0 -3
  37. package/templates/bcl-links-block/links-block.html.twig +0 -3
  38. package/templates/bcl-list-group/list-group.html.twig +0 -3
  39. package/templates/bcl-listing/listing.html.twig +0 -3
  40. package/templates/bcl-mega-menu/mega-menu-items.html.twig +0 -3
  41. package/templates/bcl-mega-menu/mega-menu-submenu.html.twig +6 -12
  42. package/templates/bcl-mega-menu/mega-menu.html.twig +0 -3
  43. package/templates/bcl-modal/modal.html.twig +0 -3
  44. package/templates/bcl-navbar/navbar.html.twig +0 -3
  45. package/templates/bcl-navigation/navigation.html.twig +1 -6
  46. package/templates/bcl-offcanvas/offcanvas.html.twig +0 -3
  47. package/templates/bcl-pagination/pagination-item.html.twig +0 -3
  48. package/templates/bcl-pagination/pagination.html.twig +0 -3
  49. package/templates/bcl-pagination-v2/pagination-item.html.twig +0 -3
  50. package/templates/bcl-pagination-v2/pagination.html.twig +0 -3
  51. package/templates/bcl-placeholder/placeholder.html.twig +0 -3
  52. package/templates/bcl-progress/progress.html.twig +0 -3
  53. package/templates/bcl-project/project-lists.html.twig +0 -4
  54. package/templates/bcl-project-status/project-contributions.html.twig +0 -3
  55. package/templates/bcl-project-status/project-status.html.twig +0 -3
  56. package/templates/bcl-recent-activities/recent-activities.html.twig +0 -3
  57. package/templates/bcl-search-form/search-form.html.twig +0 -3
  58. package/templates/bcl-select/select.html.twig +0 -3
  59. package/templates/bcl-spinner/spinner.html.twig +0 -3
  60. package/templates/bcl-subscription-block/subscription-block.html.twig +0 -3
  61. package/templates/bcl-table/table.html.twig +0 -3
  62. package/templates/bcl-textarea/textarea.html.twig +0 -3
  63. package/templates/bcl-timeline/timeline-item.html.twig +0 -3
  64. package/templates/bcl-timeline/timeline.html.twig +0 -3
  65. package/templates/bcl-toasts/toasts.html.twig +0 -3
  66. package/templates/bcl-user/user-compact.html.twig +0 -3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-twig-templates",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.4185.202512021245",
5
+ "version": "0.4230.202512021730",
6
6
  "description": "OE Bcl Twig Templates",
7
7
  "publishConfig": {
8
8
  "access": "public"
@@ -11,71 +11,71 @@
11
11
  "hoistingLimits": "workspaces"
12
12
  },
13
13
  "devDependencies": {
14
- "@openeuropa/bcl-accordion": "^0.4185.202512021245",
15
- "@openeuropa/bcl-alert": "^0.4185.202512021245",
16
- "@openeuropa/bcl-badge": "^0.4185.202512021245",
17
- "@openeuropa/bcl-banner": "^0.4185.202512021245",
18
- "@openeuropa/bcl-base-templates": "^0.4185.202512021245",
19
- "@openeuropa/bcl-blockquote": "^0.4185.202512021245",
20
- "@openeuropa/bcl-breadcrumb": "^0.4185.202512021245",
21
- "@openeuropa/bcl-button": "^0.4185.202512021245",
22
- "@openeuropa/bcl-button-group": "^0.4185.202512021245",
23
- "@openeuropa/bcl-card": "^0.4185.202512021245",
24
- "@openeuropa/bcl-card-layout": "^0.4185.202512021245",
25
- "@openeuropa/bcl-carousel": "^0.4185.202512021245",
26
- "@openeuropa/bcl-contact-form": "^0.4185.202512021245",
27
- "@openeuropa/bcl-content-banner": "^0.4185.202512021245",
28
- "@openeuropa/bcl-date-block": "^0.4185.202512021245",
29
- "@openeuropa/bcl-description-list": "^0.4185.202512021245",
30
- "@openeuropa/bcl-dropdown": "^0.4185.202512021245",
31
- "@openeuropa/bcl-event": "^0.4185.202512021245",
32
- "@openeuropa/bcl-fact-figures": "^0.4185.202512021245",
33
- "@openeuropa/bcl-featured-media": "^0.4185.202512021245",
34
- "@openeuropa/bcl-file": "^0.4185.202512021245",
35
- "@openeuropa/bcl-footer": "^0.4185.202512021245",
36
- "@openeuropa/bcl-form": "^0.4185.202512021245",
37
- "@openeuropa/bcl-form-input": "^0.4185.202512021245",
38
- "@openeuropa/bcl-gallery": "^0.4185.202512021245",
39
- "@openeuropa/bcl-glossary": "^0.4185.202512021245",
40
- "@openeuropa/bcl-group": "^0.4185.202512021245",
41
- "@openeuropa/bcl-header": "^0.4185.202512021245",
42
- "@openeuropa/bcl-heading": "^0.4185.202512021245",
43
- "@openeuropa/bcl-icon": "^0.4185.202512021245",
44
- "@openeuropa/bcl-inpage-navigation": "^0.4185.202512021245",
45
- "@openeuropa/bcl-landing-page": "^0.4185.202512021245",
46
- "@openeuropa/bcl-language-list": "^0.4185.202512021245",
47
- "@openeuropa/bcl-language-switcher": "^0.4185.202512021245",
48
- "@openeuropa/bcl-link": "^0.4185.202512021245",
49
- "@openeuropa/bcl-links-block": "^0.4185.202512021245",
50
- "@openeuropa/bcl-list-group": "^0.4185.202512021245",
51
- "@openeuropa/bcl-listing": "^0.4185.202512021245",
52
- "@openeuropa/bcl-mega-menu": "^0.4185.202512021245",
53
- "@openeuropa/bcl-modal": "^0.4185.202512021245",
54
- "@openeuropa/bcl-multilingual": "^0.4185.202512021245",
55
- "@openeuropa/bcl-navbar": "^0.4185.202512021245",
56
- "@openeuropa/bcl-navigation": "^0.4185.202512021245",
57
- "@openeuropa/bcl-news": "^0.4185.202512021245",
58
- "@openeuropa/bcl-offcanvas": "^0.4185.202512021245",
59
- "@openeuropa/bcl-page": "^0.4185.202512021245",
60
- "@openeuropa/bcl-pagination": "^0.4185.202512021245",
61
- "@openeuropa/bcl-pagination-v2": "^0.4185.202512021245",
62
- "@openeuropa/bcl-person": "^0.4185.202512021245",
63
- "@openeuropa/bcl-placeholder": "^0.4185.202512021245",
64
- "@openeuropa/bcl-progress": "^0.4185.202512021245",
65
- "@openeuropa/bcl-project": "^0.4185.202512021245",
66
- "@openeuropa/bcl-project-status": "^0.4185.202512021245",
67
- "@openeuropa/bcl-recent-activities": "^0.4185.202512021245",
68
- "@openeuropa/bcl-search": "^0.4185.202512021245",
69
- "@openeuropa/bcl-search-form": "^0.4185.202512021245",
70
- "@openeuropa/bcl-select": "^0.4185.202512021245",
71
- "@openeuropa/bcl-spinner": "^0.4185.202512021245",
72
- "@openeuropa/bcl-subscription": "^0.4185.202512021245",
73
- "@openeuropa/bcl-subscription-block": "^0.4185.202512021245",
74
- "@openeuropa/bcl-table": "^0.4185.202512021245",
75
- "@openeuropa/bcl-textarea": "^0.4185.202512021245",
76
- "@openeuropa/bcl-timeline": "^0.4185.202512021245",
77
- "@openeuropa/bcl-toasts": "^0.4185.202512021245",
78
- "@openeuropa/bcl-user": "^0.4185.202512021245",
14
+ "@openeuropa/bcl-accordion": "^0.4230.202512021730",
15
+ "@openeuropa/bcl-alert": "^0.4230.202512021730",
16
+ "@openeuropa/bcl-badge": "^0.4230.202512021730",
17
+ "@openeuropa/bcl-banner": "^0.4230.202512021730",
18
+ "@openeuropa/bcl-base-templates": "^0.4230.202512021730",
19
+ "@openeuropa/bcl-blockquote": "^0.4230.202512021730",
20
+ "@openeuropa/bcl-breadcrumb": "^0.4230.202512021730",
21
+ "@openeuropa/bcl-button": "^0.4230.202512021730",
22
+ "@openeuropa/bcl-button-group": "^0.4230.202512021730",
23
+ "@openeuropa/bcl-card": "^0.4230.202512021730",
24
+ "@openeuropa/bcl-card-layout": "^0.4230.202512021730",
25
+ "@openeuropa/bcl-carousel": "^0.4230.202512021730",
26
+ "@openeuropa/bcl-contact-form": "^0.4230.202512021730",
27
+ "@openeuropa/bcl-content-banner": "^0.4230.202512021730",
28
+ "@openeuropa/bcl-date-block": "^0.4230.202512021730",
29
+ "@openeuropa/bcl-description-list": "^0.4230.202512021730",
30
+ "@openeuropa/bcl-dropdown": "^0.4230.202512021730",
31
+ "@openeuropa/bcl-event": "^0.4230.202512021730",
32
+ "@openeuropa/bcl-fact-figures": "^0.4230.202512021730",
33
+ "@openeuropa/bcl-featured-media": "^0.4230.202512021730",
34
+ "@openeuropa/bcl-file": "^0.4230.202512021730",
35
+ "@openeuropa/bcl-footer": "^0.4230.202512021730",
36
+ "@openeuropa/bcl-form": "^0.4230.202512021730",
37
+ "@openeuropa/bcl-form-input": "^0.4230.202512021730",
38
+ "@openeuropa/bcl-gallery": "^0.4230.202512021730",
39
+ "@openeuropa/bcl-glossary": "^0.4230.202512021730",
40
+ "@openeuropa/bcl-group": "^0.4230.202512021730",
41
+ "@openeuropa/bcl-header": "^0.4230.202512021730",
42
+ "@openeuropa/bcl-heading": "^0.4230.202512021730",
43
+ "@openeuropa/bcl-icon": "^0.4230.202512021730",
44
+ "@openeuropa/bcl-inpage-navigation": "^0.4230.202512021730",
45
+ "@openeuropa/bcl-landing-page": "^0.4230.202512021730",
46
+ "@openeuropa/bcl-language-list": "^0.4230.202512021730",
47
+ "@openeuropa/bcl-language-switcher": "^0.4230.202512021730",
48
+ "@openeuropa/bcl-link": "^0.4230.202512021730",
49
+ "@openeuropa/bcl-links-block": "^0.4230.202512021730",
50
+ "@openeuropa/bcl-list-group": "^0.4230.202512021730",
51
+ "@openeuropa/bcl-listing": "^0.4230.202512021730",
52
+ "@openeuropa/bcl-mega-menu": "^0.4230.202512021730",
53
+ "@openeuropa/bcl-modal": "^0.4230.202512021730",
54
+ "@openeuropa/bcl-multilingual": "^0.4230.202512021730",
55
+ "@openeuropa/bcl-navbar": "^0.4230.202512021730",
56
+ "@openeuropa/bcl-navigation": "^0.4230.202512021730",
57
+ "@openeuropa/bcl-news": "^0.4230.202512021730",
58
+ "@openeuropa/bcl-offcanvas": "^0.4230.202512021730",
59
+ "@openeuropa/bcl-page": "^0.4230.202512021730",
60
+ "@openeuropa/bcl-pagination": "^0.4230.202512021730",
61
+ "@openeuropa/bcl-pagination-v2": "^0.4230.202512021730",
62
+ "@openeuropa/bcl-person": "^0.4230.202512021730",
63
+ "@openeuropa/bcl-placeholder": "^0.4230.202512021730",
64
+ "@openeuropa/bcl-progress": "^0.4230.202512021730",
65
+ "@openeuropa/bcl-project": "^0.4230.202512021730",
66
+ "@openeuropa/bcl-project-status": "^0.4230.202512021730",
67
+ "@openeuropa/bcl-recent-activities": "^0.4230.202512021730",
68
+ "@openeuropa/bcl-search": "^0.4230.202512021730",
69
+ "@openeuropa/bcl-search-form": "^0.4230.202512021730",
70
+ "@openeuropa/bcl-select": "^0.4230.202512021730",
71
+ "@openeuropa/bcl-spinner": "^0.4230.202512021730",
72
+ "@openeuropa/bcl-subscription": "^0.4230.202512021730",
73
+ "@openeuropa/bcl-subscription-block": "^0.4230.202512021730",
74
+ "@openeuropa/bcl-table": "^0.4230.202512021730",
75
+ "@openeuropa/bcl-textarea": "^0.4230.202512021730",
76
+ "@openeuropa/bcl-timeline": "^0.4230.202512021730",
77
+ "@openeuropa/bcl-toasts": "^0.4230.202512021730",
78
+ "@openeuropa/bcl-user": "^0.4230.202512021730",
79
79
  "copyfiles": "2.4.1",
80
80
  "rimraf": "6.0.1"
81
81
  },
@@ -98,5 +98,5 @@
98
98
  "design-system",
99
99
  "twig"
100
100
  ],
101
- "gitHead": "795ad40621a91b0fbd8095b9ceed5f6ff30bb127"
101
+ "gitHead": "19735e328b2b53ccefbcc6829e2aaf149a2c438c"
102
102
  }
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title (string) (default: '')
@@ -141,4 +139,3 @@
141
139
  </div>
142
140
  {% endif %}
143
141
 
144
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - message (string) (default: '')
5
3
  - heading (string) (default: '')
@@ -80,4 +78,3 @@
80
78
  {%- endif -%}
81
79
  </div>
82
80
 
83
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - label (string) (default: '')
5
3
  - background: (string) (default: 'primary')
@@ -76,4 +74,3 @@
76
74
  </span>
77
75
  {%- endif -%}
78
76
 
79
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'div')
@@ -93,4 +91,3 @@
93
91
  </div>
94
92
  </div>
95
93
 
96
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - with_header (boolean) (default: false)
@@ -136,4 +134,3 @@
136
134
  {% include '@oe-bcl/bcl-footer/footer.html.twig' with footer only %}
137
135
  {% endif %}
138
136
 
139
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title (string) (default: '')
5
3
  - title_tag (string) (default: 'h2')
@@ -70,4 +68,3 @@
70
68
  {% endif %}
71
69
  </figure>
72
70
 
73
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - links (link[]) (default: [])
5
3
  - icon_path (string) (default: '')
@@ -59,4 +57,3 @@
59
57
  </nav>
60
58
  {% endif %}
61
59
 
62
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - label (string) (default: '')
@@ -111,4 +109,3 @@
111
109
  {%- endif -%}
112
110
  </button>
113
111
 
114
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - vertical (boolean) (default: false)
5
3
  - size (string) (default: 'md')
@@ -64,4 +62,3 @@
64
62
  </div>
65
63
  {% endif %}
66
64
 
67
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'h1')
@@ -272,4 +270,3 @@
272
270
  {% endif %}
273
271
  </article>
274
272
 
275
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - type (string) (default: 'group')
5
3
  options: ['group', 'grid', 'masonry']
@@ -84,4 +82,3 @@
84
82
  {% endif %}
85
83
  </div>
86
84
 
87
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title (string) (default: '')
5
3
  - title_tag (string) (default: 'h2')
@@ -177,4 +175,3 @@
177
175
  {% endif %}
178
176
  </div>
179
177
 
180
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title: (string) (default: '')
@@ -136,4 +134,3 @@
136
134
  </div>
137
135
  </div>
138
136
 
139
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - day (integer) (default: '')
@@ -77,4 +75,3 @@
77
75
  </div>
78
76
  </time>
79
77
 
80
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - button: (button object) (default: {})
@@ -41,4 +39,3 @@
41
39
  {% endblock %}
42
40
  </dd>
43
41
 
44
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - icon: (icon object) (default: {})
@@ -30,4 +28,3 @@
30
28
  </div>
31
29
  </dt>
32
30
 
33
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title: (string) (default: '')
@@ -118,4 +116,3 @@
118
116
  </div>
119
117
  {% endif %}
120
118
 
121
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - id (string) (default: dropdown-random(10000))
5
3
  - trigger (link or button)
@@ -132,4 +130,3 @@
132
130
  </div>
133
131
  {% endif %}
134
132
 
135
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title (string) (default: '')
@@ -125,4 +123,3 @@
125
123
  </div>
126
124
  </div>
127
125
 
128
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title (string) (default: '')
5
3
  - title_tag (string) (default: 'h2')
@@ -169,4 +167,3 @@
169
167
  </div>
170
168
  {% endif %}
171
169
 
172
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - id (string) (default: language-dropdown-random(10000))
5
3
  - label (string) (default: '')
@@ -93,4 +91,3 @@
93
91
  {% endif %}
94
92
  </div>
95
93
 
96
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title (string) (default: '')
@@ -162,4 +160,3 @@
162
160
  {% endif %}
163
161
  </div>
164
162
 
165
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - variant (string) (default: 'neutral')
5
3
  - options: ['eu', 'ec', 'neutral']
@@ -87,4 +85,3 @@
87
85
  </div>
88
86
  </footer>
89
87
 
90
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'h2')
@@ -147,4 +145,3 @@
147
145
  {% endif %}
148
146
  </form>
149
147
 
150
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - id (string) (default: '')
@@ -180,4 +178,3 @@
180
178
  </div>
181
179
  {% endif %}
182
180
 
183
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - item (object) (default: {})
@@ -62,4 +60,3 @@ Parameters:
62
60
  {{ _item.thumbnail }}
63
61
  </a>
64
62
 
65
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - id (string) (default: gallery-random(10000))
@@ -192,4 +190,3 @@ Parameters:
192
190
  </div>
193
191
  {% endif %}
194
192
 
195
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - variant (string) (default: 'neutral')
5
3
  - options: ['ec', 'eu', 'neutral']
@@ -17,8 +15,6 @@
17
15
  - language_modal (object) (default: {})
18
16
  - light (boolean) (default: false)
19
17
  - modals (modal[]) (default: [])
20
- - toggler_attributes (drupal attrs)
21
- - icon_path (string) (default: '')
22
18
  - attributes (drupal attrs)
23
19
  #}
24
20
 
@@ -32,8 +28,6 @@
32
28
  {% set _breadcrumbs = breadcrumbs|default({}) %}
33
29
  {% set _language_modal = language_modal|default({}) %}
34
30
  {% set _light = light ?? false %}
35
- {% set _toggler_attributes = toggler_attributes ?: create_attribute() %}
36
- {% set _icon_path = icon_path|default('') %}
37
31
  {% set _modals = modals|default([]) %}
38
32
 
39
33
  {% set _site_name_classes = 'bcl-header__site-name' %}
@@ -42,7 +36,7 @@
42
36
  {% set attributes = create_attribute() %}
43
37
  {% endif %}
44
38
 
45
- {% set attributes = attributes.addClass(['bcl-header', 'bcl-header--' ~ _variant, 'shadow-sm']) %}
39
+ {% set attributes = attributes.addClass(['bcl-header', 'bcl-header--' ~ _variant]) %}
46
40
 
47
41
  {% if site_name_classes is not empty %}
48
42
  {% set _site_name_classes = _site_name_classes ~ ' ' ~ site_name_classes %}
@@ -53,33 +47,6 @@
53
47
  {% set _project_classes = _project_classes ~ ' light' %}
54
48
  {% endif %}
55
49
 
56
- {% set toggler_attributes = _toggler_attributes.addClass(['bcl-navbar-toggler', 'd-lg-none'])
57
- .setAttribute('type', 'button')
58
- .setAttribute('data-bs-toggle', 'collapse')
59
- .setAttribute('data-bs-target', '#' ~ navbar_id)
60
- .setAttribute('aria-controls', navbar_id)
61
- .setAttribute('aria-expanded', 'false')
62
- %}
63
-
64
- {% set navbar_toggle_button %}
65
- <button
66
- {{ toggler_attributes }}
67
- >
68
- {% include '@oe-bcl/bcl-icon/icon.html.twig' with {
69
- name: 'list',
70
- size: 'fluid',
71
- path: _icon_path,
72
- attributes: create_attribute().addClass(['default-icon']),
73
- } only %}
74
- {% include '@oe-bcl/bcl-icon/icon.html.twig' with {
75
- name: 'x',
76
- size: 'fluid',
77
- path: _icon_path,
78
- attributes: create_attribute().addClass(['active-icon']),
79
- } only %}
80
- </button>
81
- {% endset %}
82
-
83
50
  <header
84
51
  {{ attributes }}
85
52
  >
@@ -101,16 +68,54 @@
101
68
  {% endfor %}
102
69
  </a>
103
70
  {% endif %}
104
- {{ navbar_toggle_button }}
71
+ <button
72
+ class="navbar-toggler bcl-navbar-toggler"
73
+ type="button"
74
+ data-bs-toggle="collapse"
75
+ data-bs-target='#{{ _navbar_id }}'
76
+ aria-controls='{{ _navbar_id }}'
77
+ aria-expanded="false"
78
+ aria-label="Toggle navigation"
79
+ >
80
+ <span class="navbar-toggler-icon"></span>
81
+ </button>
105
82
  </div>
106
83
  </nav>
107
84
 
108
- <!-- site name -->
109
- <div class="bcl-header__site-name" id="site-name-heading">
85
+
86
+ <!-- project name -->
87
+ {% if _project_logo is not empty or _site_name is not empty %}
88
+ <div class="{{ _project_classes }}">
110
89
  <div class="container">
111
- <span class="h5 py-3-5 border-top-subtle mb-0 d-block">{{ _site_name }}</span>
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 %}
112
116
  </div>
113
117
  </div>
118
+ {% endif %}
114
119
 
115
120
  <!-- navbar -->
116
121
  {% if _navbar is not empty %}
@@ -119,14 +124,14 @@
119
124
  attributes: create_attribute().addClass('bcl-header__navbar collapse navbar-collapse').setAttribute('id', _navbar_id).setAttribute('aria-label', 'Main Navigation'),
120
125
  }) only %}
121
126
  {% endif %}
122
- </header>
123
127
 
124
- <!-- breadcrumbs -->
125
- {% if _breadcrumbs is not empty %}
126
- <div class="container">
127
- {% include '@oe-bcl/bcl-breadcrumb/breadcrumb.html.twig' with _breadcrumbs only %}
128
- </div>
129
- {% 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>
130
135
 
131
136
  {% for modal in _modals %}
132
137
  {% include '@oe-bcl/bcl-modal/modal.html.twig' with modal only %}
@@ -136,4 +141,3 @@
136
141
  {% include '@oe-bcl/bcl-language-list/language-list.html.twig' with _language_modal only %}
137
142
  {% endif %}
138
143
 
139
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title (string) (default: '')
5
3
  - title_tag (string) (default: 'h2')
@@ -37,4 +35,3 @@
37
35
  </{{ _title_tag }}>
38
36
  {% endif -%}
39
37
 
40
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - name (string) (default: '')
5
3
  - path (string) (default: '')
@@ -33,4 +31,3 @@
33
31
  <use xlink:href="{{ _path ~ "#" ~ _name }}"/>
34
32
  </svg>
35
33
 
36
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - title: (string) (default: '')
@@ -77,4 +75,3 @@ Parameters:
77
75
  </div>
78
76
  </nav>
79
77
 
80
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - items (array) (default: []) format: [
@@ -65,4 +63,3 @@
65
63
  {% endif %}
66
64
  </div>
67
65
 
68
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - overlay (boolean) (default: false)
5
3
  - inside_container (boolean) (default: false)
@@ -108,4 +106,3 @@
108
106
  </div>
109
107
  {% endif %}
110
108
 
111
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - id (string) (default: collapse-random(10000), optional)
5
3
  - message (alert object) (default: {})
@@ -47,4 +45,3 @@
47
45
  </div>
48
46
  </div>
49
47
 
50
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - label (string) (default: '')
5
3
  - path (string) (default: '#')
@@ -86,4 +84,3 @@
86
84
  {%- endif -%}
87
85
  </a>
88
86
 
89
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'h2')
@@ -73,4 +71,3 @@
73
71
  </div>
74
72
  {% endif %}
75
73
 
76
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - flush (boolean) (default: false)
5
3
  - horizontal (string) (default: '')
@@ -117,4 +115,3 @@
117
115
  </div>
118
116
  {% endif %}
119
117
 
120
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'h2')
@@ -196,4 +194,3 @@
196
194
  {% endif %}
197
195
  </div>
198
196
 
199
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {% set _label = label ?? null %}
4
2
  {% set _items = items ?? [] %}
5
3
  {% set _icon_path = icon_path ?? '' %}
@@ -32,4 +30,3 @@
32
30
  {% endfor %}
33
31
  </ul>
34
32
 
35
- {% 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
- {% set _see_all_link = null %}
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 _see_all_link = _see_all|merge({
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
  - id (string) (default: dropdown-random(1000))
5
3
  - link (boolean) (default: false) - sets trigger to link, default is button
@@ -112,4 +110,3 @@
112
110
  </nav>
113
111
  </div>
114
112
 
115
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - size (string) default('')
5
3
  options: sm, lg, xl, fullscreen
@@ -92,4 +90,3 @@
92
90
  </div>
93
91
  </div>
94
92
 
95
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - collapse_id (string) (default: '')
5
3
  - background (string) (default: '')
@@ -106,4 +104,3 @@
106
104
  </div>
107
105
  </nav>
108
106
 
109
- {% 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
- {% apply spaceless %}
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 %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - title_tag: (string) (default: 'h2')
@@ -119,4 +117,3 @@
119
117
  {%- endif -%}
120
118
  </div>
121
119
 
122
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - path (string) (default: '')
5
3
  - label (string) (default: '')
@@ -70,4 +68,3 @@
70
68
  <div {{ attributes }}>{{- _label -}}</div>
71
69
  {% endif %}
72
70
 
73
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - size (string) (default: '')
5
3
  - options ['sm', 'lg']
@@ -158,4 +156,3 @@
158
156
  </ul>
159
157
  </nav>
160
158
 
161
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - path (string) (default: '')
5
3
  - label (string) (default: '')
@@ -87,4 +85,3 @@
87
85
  </div>
88
86
  {% endif %}
89
87
 
90
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - size (string) (default: '')
5
3
  - options ['sm', 'lg']
@@ -210,4 +208,3 @@
210
208
  </ul>
211
209
  </nav>
212
210
 
213
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - width (int) (default: 0) - between 0-100
5
3
  - variant (string) (default: '')
@@ -42,4 +40,3 @@
42
40
  </p>
43
41
  {% endif %}
44
42
 
45
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - progress (int) (default: 0)
5
3
  - min (int) (default: 0)
@@ -70,4 +68,3 @@
70
68
  <small class="form-text text-muted progress-bar-message">{{ _message }}</small>
71
69
  {% endif %}
72
70
 
73
- {% endapply %}
@@ -1,6 +1,3 @@
1
- {% apply spaceless %}
2
-
3
-
4
1
  {#
5
2
  Parameters:
6
3
  - title: (string) (default: '')
@@ -70,4 +67,3 @@
70
67
  {% endif %}
71
68
  </div>
72
69
 
73
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - corporate_contributions (string) (default: '') // value every 5 percent
5
3
  - legend (description list object) (default: {})
@@ -53,4 +51,3 @@
53
51
  </div>
54
52
  </div>
55
53
 
56
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - label (string) (default: '')
5
3
  - status (string) (default: 'planned')
@@ -96,4 +94,3 @@
96
94
 
97
95
 
98
96
 
99
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - activities (object[]) (default: [])
5
3
  format: [
@@ -60,4 +58,3 @@
60
58
  {% endif %}
61
59
  </div>
62
60
 
63
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - pill (boolean) (default: false)
5
3
  - icon (icon Object) (default: {})
@@ -50,4 +48,3 @@
50
48
  </div>
51
49
  </form>
52
50
 
53
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - id (string) (default: '')
@@ -181,4 +179,3 @@
181
179
  </div>
182
180
  {% endif %}
183
181
 
184
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - type (string) (default: 'border')
5
3
  - options ['border', 'grow']
@@ -37,4 +35,3 @@
37
35
  {% endif %}
38
36
  </div>
39
37
 
40
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - title: (string) (default: '')
5
3
  - content: (string) (default: '')
@@ -35,4 +33,3 @@
35
33
  {% endif %}
36
34
  </div>
37
35
 
38
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - striped (boolean) (default: false)
5
3
  - hoverable (boolean) (default: false)
@@ -192,4 +190,3 @@
192
190
  </div>
193
191
  {% endif %}
194
192
 
195
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - id (string) (default: '')
@@ -146,4 +144,3 @@
146
144
  {% if _floating or _horizontal %}
147
145
  </div>
148
146
  {% endif %}
149
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - id (string) (default: '')
5
3
  - label (string) (default: '')
@@ -31,4 +29,3 @@
31
29
  {% endif %}
32
30
  </li>
33
31
 
34
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - id: (integer) (default: random(10000))
@@ -112,4 +110,3 @@ Parameters:
112
110
  {% endif %}
113
111
  </ol>
114
112
 
115
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {#
4
2
  Parameters:
5
3
  - with_wrapper (boolean) (default: false)
@@ -129,4 +127,3 @@
129
127
  </div>
130
128
  {% endif %}
131
129
 
132
- {% endapply %}
@@ -1,5 +1,3 @@
1
- {% apply spaceless %}
2
-
3
1
  {# Parameters:
4
2
  - picture (object) (default: {})
5
3
  format: {
@@ -61,4 +59,3 @@
61
59
  </div>
62
60
  </div>
63
61
 
64
- {% endapply %}