@openeuropa/bcl-theme-default 0.22.0 → 0.23.0

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 (261) hide show
  1. package/css/oe-bcl-default.css +259 -57
  2. package/css/oe-bcl-default.css.map +1 -1
  3. package/css/oe-bcl-default.min.css +1 -1
  4. package/css/oe-bcl-default.min.css.map +1 -1
  5. package/icons/bcl-default-icons.svg +1 -1
  6. package/js/oe-bcl-default.bundle.js.map +1 -1
  7. package/js/oe-bcl-default.bundle.min.js +1 -1
  8. package/js/oe-bcl-default.bundle.min.js.map +1 -1
  9. package/js/oe-bcl-default.esm.js.map +1 -1
  10. package/js/oe-bcl-default.esm.min.js.map +1 -1
  11. package/js/oe-bcl-default.umd.js.map +1 -1
  12. package/js/oe-bcl-default.umd.min.js +1 -1
  13. package/js/oe-bcl-default.umd.min.js.map +1 -1
  14. package/logos/ec/{logo-ec--mute.svg → dist/logo-ec--mute.svg} +0 -0
  15. package/logos/ec/{negative → dist/negative}/logo-ec--ar.svg +0 -0
  16. package/logos/ec/{negative → dist/negative}/logo-ec--bg.svg +0 -0
  17. package/logos/ec/{negative → dist/negative}/logo-ec--ca.svg +0 -0
  18. package/logos/ec/{negative → dist/negative}/logo-ec--cs.svg +0 -0
  19. package/logos/ec/{negative → dist/negative}/logo-ec--da.svg +0 -0
  20. package/logos/ec/{negative → dist/negative}/logo-ec--de.svg +0 -0
  21. package/logos/ec/{negative → dist/negative}/logo-ec--el.svg +0 -0
  22. package/logos/ec/{negative → dist/negative}/logo-ec--en.svg +0 -0
  23. package/logos/ec/{negative → dist/negative}/logo-ec--es.svg +0 -0
  24. package/logos/ec/{negative → dist/negative}/logo-ec--et.svg +0 -0
  25. package/logos/ec/{negative → dist/negative}/logo-ec--fi.svg +0 -0
  26. package/logos/ec/{negative → dist/negative}/logo-ec--fr.svg +0 -0
  27. package/logos/ec/{negative → dist/negative}/logo-ec--ga.svg +0 -0
  28. package/logos/ec/{negative → dist/negative}/logo-ec--hr.svg +0 -0
  29. package/logos/ec/{negative → dist/negative}/logo-ec--hu.svg +0 -0
  30. package/logos/ec/{negative → dist/negative}/logo-ec--is.svg +0 -0
  31. package/logos/ec/{negative → dist/negative}/logo-ec--it.svg +0 -0
  32. package/logos/ec/dist/negative/logo-ec--jp.svg +72 -0
  33. package/logos/ec/dist/negative/logo-ec--lb.svg +93 -0
  34. package/logos/ec/{negative → dist/negative}/logo-ec--lt.svg +0 -0
  35. package/logos/ec/{negative → dist/negative}/logo-ec--lv.svg +0 -0
  36. package/logos/ec/{negative → dist/negative}/logo-ec--mt.svg +0 -0
  37. package/logos/ec/{negative → dist/negative}/logo-ec--nl.svg +0 -0
  38. package/logos/ec/{negative → dist/negative}/logo-ec--no.svg +0 -0
  39. package/logos/ec/{negative → dist/negative}/logo-ec--pl.svg +0 -0
  40. package/logos/ec/{negative → dist/negative}/logo-ec--pt.svg +0 -0
  41. package/logos/ec/{negative → dist/negative}/logo-ec--ro.svg +0 -0
  42. package/logos/ec/dist/negative/logo-ec--ru.svg +91 -0
  43. package/logos/ec/{negative → dist/negative}/logo-ec--sk.svg +0 -0
  44. package/logos/ec/{negative → dist/negative}/logo-ec--sl.svg +0 -0
  45. package/logos/ec/{negative → dist/negative}/logo-ec--sv.svg +0 -0
  46. package/logos/ec/{negative → dist/negative}/logo-ec--tr.svg +0 -0
  47. package/logos/ec/dist/negative/logo-ec--uk.svg +90 -0
  48. package/logos/ec/dist/negative/logo-ec--zh.svg +72 -0
  49. package/logos/ec/{positive → dist/positive}/logo-ec--ar.svg +0 -0
  50. package/logos/ec/{positive → dist/positive}/logo-ec--bg.svg +0 -0
  51. package/logos/ec/{positive → dist/positive}/logo-ec--ca.svg +0 -0
  52. package/logos/ec/{positive → dist/positive}/logo-ec--cs.svg +0 -0
  53. package/logos/ec/{positive → dist/positive}/logo-ec--da.svg +0 -0
  54. package/logos/ec/{positive → dist/positive}/logo-ec--de.svg +0 -0
  55. package/logos/ec/{positive → dist/positive}/logo-ec--el.svg +0 -0
  56. package/logos/ec/{positive → dist/positive}/logo-ec--en.svg +0 -0
  57. package/logos/ec/{positive → dist/positive}/logo-ec--es.svg +0 -0
  58. package/logos/ec/{positive → dist/positive}/logo-ec--et.svg +0 -0
  59. package/logos/ec/{positive → dist/positive}/logo-ec--fi.svg +0 -0
  60. package/logos/ec/{positive → dist/positive}/logo-ec--fr.svg +0 -0
  61. package/logos/ec/{positive → dist/positive}/logo-ec--ga.svg +0 -0
  62. package/logos/ec/{positive → dist/positive}/logo-ec--hr.svg +0 -0
  63. package/logos/ec/{positive → dist/positive}/logo-ec--hu.svg +0 -0
  64. package/logos/ec/{positive → dist/positive}/logo-ec--is.svg +0 -0
  65. package/logos/ec/{positive → dist/positive}/logo-ec--it.svg +0 -0
  66. package/logos/ec/dist/positive/logo-ec--jp.svg +77 -0
  67. package/logos/ec/dist/positive/logo-ec--lb.svg +93 -0
  68. package/logos/ec/{positive → dist/positive}/logo-ec--lt.svg +0 -0
  69. package/logos/ec/{positive → dist/positive}/logo-ec--lv.svg +0 -0
  70. package/logos/ec/{positive → dist/positive}/logo-ec--mt.svg +0 -0
  71. package/logos/ec/{positive → dist/positive}/logo-ec--nl.svg +0 -0
  72. package/logos/ec/{positive → dist/positive}/logo-ec--no.svg +0 -0
  73. package/logos/ec/{positive → dist/positive}/logo-ec--pl.svg +0 -0
  74. package/logos/ec/{positive → dist/positive}/logo-ec--pt.svg +0 -0
  75. package/logos/ec/{positive → dist/positive}/logo-ec--ro.svg +0 -0
  76. package/logos/ec/dist/positive/logo-ec--ru.svg +91 -0
  77. package/logos/ec/{positive → dist/positive}/logo-ec--sk.svg +0 -0
  78. package/logos/ec/{positive → dist/positive}/logo-ec--sl.svg +0 -0
  79. package/logos/ec/{positive → dist/positive}/logo-ec--sv.svg +0 -0
  80. package/logos/ec/{positive → dist/positive}/logo-ec--tr.svg +0 -0
  81. package/logos/ec/dist/positive/logo-ec--uk.svg +90 -0
  82. package/logos/ec/dist/positive/logo-ec--zh.svg +77 -0
  83. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ar.svg +0 -0
  84. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--bg.svg +0 -0
  85. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ca.svg +0 -0
  86. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--cs.svg +0 -0
  87. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--da.svg +0 -0
  88. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--de.svg +0 -0
  89. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--el.svg +0 -0
  90. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--en.svg +0 -0
  91. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--es.svg +0 -0
  92. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--et.svg +0 -0
  93. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--fi.svg +0 -0
  94. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--fr.svg +0 -0
  95. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ga.svg +0 -0
  96. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--hr.svg +0 -0
  97. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--hu.svg +0 -0
  98. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--is.svg +0 -0
  99. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--it.svg +0 -0
  100. package/logos/eu/dist/condensed-version/negative/logo-eu--jp.svg +17 -0
  101. package/logos/eu/dist/condensed-version/negative/logo-eu--lb.svg +19 -0
  102. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--lt.svg +0 -0
  103. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--lv.svg +0 -0
  104. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--mt.svg +0 -0
  105. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--nl.svg +0 -0
  106. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--no.svg +0 -0
  107. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--pl.svg +0 -0
  108. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--pt.svg +0 -0
  109. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ro.svg +0 -0
  110. package/logos/eu/dist/condensed-version/negative/logo-eu--ru.svg +19 -0
  111. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sk.svg +0 -0
  112. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sl.svg +0 -0
  113. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sv.svg +0 -0
  114. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--tr.svg +0 -0
  115. package/logos/eu/dist/condensed-version/negative/logo-eu--uk.svg +19 -0
  116. package/logos/eu/dist/condensed-version/negative/logo-eu--zh.svg +7 -0
  117. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ar.svg +0 -0
  118. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--bg.svg +0 -0
  119. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ca.svg +0 -0
  120. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--cs.svg +0 -0
  121. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--da.svg +0 -0
  122. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--de.svg +0 -0
  123. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--el.svg +0 -0
  124. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--en.svg +0 -0
  125. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--es.svg +0 -0
  126. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--et.svg +0 -0
  127. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--fi.svg +0 -0
  128. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--fr.svg +0 -0
  129. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ga.svg +0 -0
  130. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--hr.svg +0 -0
  131. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--hu.svg +0 -0
  132. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--is.svg +0 -0
  133. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--it.svg +0 -0
  134. package/logos/eu/dist/condensed-version/positive/logo-eu--jp.svg +6 -0
  135. package/logos/eu/dist/condensed-version/positive/logo-eu--lb.svg +6 -0
  136. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--lt.svg +0 -0
  137. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--lv.svg +0 -0
  138. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--mt.svg +0 -0
  139. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--nl.svg +0 -0
  140. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--no.svg +0 -0
  141. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--pl.svg +0 -0
  142. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--pt.svg +0 -0
  143. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ro.svg +0 -0
  144. package/logos/eu/dist/condensed-version/positive/logo-eu--ru.svg +6 -0
  145. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sk.svg +0 -0
  146. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sl.svg +0 -0
  147. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sv.svg +0 -0
  148. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--tr.svg +0 -0
  149. package/logos/eu/dist/condensed-version/positive/logo-eu--uk.svg +6 -0
  150. package/logos/eu/dist/condensed-version/positive/logo-eu--zh.svg +6 -0
  151. package/logos/eu/{logo-eu--mute.svg → dist/logo-eu--mute.svg} +0 -0
  152. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ar.svg +0 -0
  153. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--bg.svg +0 -0
  154. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ca.svg +0 -0
  155. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--cs.svg +0 -0
  156. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--da.svg +0 -0
  157. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--de.svg +0 -0
  158. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--el.svg +0 -0
  159. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--en.svg +0 -0
  160. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--es.svg +0 -0
  161. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--et.svg +0 -0
  162. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--fi.svg +0 -0
  163. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--fr.svg +0 -0
  164. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ga.svg +0 -0
  165. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--hr.svg +0 -0
  166. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--hu.svg +0 -0
  167. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--is.svg +0 -0
  168. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--it.svg +0 -0
  169. package/logos/eu/dist/standard-version/negative/logo-eu--jp.svg +9 -0
  170. package/logos/eu/dist/standard-version/negative/logo-eu--lb.svg +21 -0
  171. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--lt.svg +0 -0
  172. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--lv.svg +0 -0
  173. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--mt.svg +0 -0
  174. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--nl.svg +0 -0
  175. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--no.svg +0 -0
  176. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--pl.svg +0 -0
  177. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--pt.svg +0 -0
  178. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ro.svg +0 -0
  179. package/logos/eu/dist/standard-version/negative/logo-eu--ru.svg +20 -0
  180. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sk.svg +0 -0
  181. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sl.svg +0 -0
  182. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sv.svg +0 -0
  183. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--tr.svg +0 -0
  184. package/logos/eu/dist/standard-version/negative/logo-eu--uk.svg +21 -0
  185. package/logos/eu/dist/standard-version/negative/logo-eu--zh.svg +9 -0
  186. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ar.svg +0 -0
  187. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--bg.svg +0 -0
  188. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ca.svg +0 -0
  189. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--cs.svg +0 -0
  190. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--da.svg +0 -0
  191. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--de.svg +0 -0
  192. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--el.svg +0 -0
  193. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--en.svg +0 -0
  194. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--es.svg +0 -0
  195. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--et.svg +0 -0
  196. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--fi.svg +0 -0
  197. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--fr.svg +0 -0
  198. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ga.svg +0 -0
  199. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--hr.svg +0 -0
  200. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--hu.svg +0 -0
  201. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--is.svg +0 -0
  202. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--it.svg +0 -0
  203. package/logos/eu/dist/standard-version/positive/logo-eu--jp.svg +8 -0
  204. package/logos/eu/dist/standard-version/positive/logo-eu--lb.svg +20 -0
  205. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--lt.svg +0 -0
  206. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--lv.svg +0 -0
  207. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--mt.svg +0 -0
  208. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--nl.svg +0 -0
  209. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--no.svg +0 -0
  210. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--pl.svg +0 -0
  211. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--pt.svg +0 -0
  212. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ro.svg +0 -0
  213. package/logos/eu/dist/standard-version/positive/logo-eu--ru.svg +19 -0
  214. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sk.svg +0 -0
  215. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sl.svg +0 -0
  216. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sv.svg +0 -0
  217. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--tr.svg +0 -0
  218. package/logos/eu/dist/standard-version/positive/logo-eu--uk.svg +20 -0
  219. package/logos/eu/dist/standard-version/positive/logo-eu--zh.svg +8 -0
  220. package/package.json +9 -9
  221. package/src/scss/_alert.scss +8 -0
  222. package/src/scss/_badge.scss +76 -58
  223. package/src/scss/_banners.scss +16 -0
  224. package/src/scss/_inpage-navigation.scss +1 -2
  225. package/src/scss/_multiselect.scss +7 -7
  226. package/src/scss/base/_variables.scss +4 -0
  227. package/src/scss/oe-bcl-default.scss +1 -0
  228. package/templates/bcl-badge/badge.html.twig +13 -9
  229. package/templates/bcl-banner/banner.html.twig +4 -0
  230. package/templates/bcl-base-templates/content-type.html.twig +3 -3
  231. package/templates/bcl-base-templates/listing-page.html.twig +19 -9
  232. package/templates/bcl-card/card.html.twig +22 -19
  233. package/templates/bcl-content-banner/content-banner.html.twig +35 -32
  234. package/templates/bcl-description-list/description-list.html.twig +7 -6
  235. package/templates/bcl-event/event.html.twig +2 -2
  236. package/templates/bcl-fact-figures/fact-figures.html.twig +26 -24
  237. package/templates/bcl-file/file.html.twig +14 -9
  238. package/templates/bcl-form/form.html.twig +3 -0
  239. package/templates/bcl-gallery/gallery.html.twig +15 -14
  240. package/templates/bcl-group/group-landing.html.twig +7 -7
  241. package/templates/bcl-group/group.html.twig +1 -1
  242. package/templates/bcl-heading/heading.html.twig +9 -11
  243. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +16 -8
  244. package/templates/bcl-landing-page/landing-page.html.twig +2 -2
  245. package/templates/bcl-links-block/links-block.html.twig +12 -8
  246. package/templates/bcl-listing/listing.html.twig +11 -4
  247. package/templates/bcl-modal/modal.html.twig +4 -1
  248. package/templates/bcl-offcanvas/offcanvas.html.twig +16 -19
  249. package/templates/bcl-page/page.html.twig +3 -3
  250. package/templates/bcl-person/person.html.twig +11 -11
  251. package/templates/bcl-progress/progress.html.twig +3 -0
  252. package/templates/bcl-project/project-lists.html.twig +7 -4
  253. package/templates/bcl-project/project.html.twig +11 -19
  254. package/templates/bcl-recent-activities/recent-activities.html.twig +9 -7
  255. package/templates/bcl-search/search.html.twig +9 -2
  256. package/templates/bcl-timeline/timeline.html.twig +15 -14
  257. package/templates/bcl-user/{user-view-compact.html.twig → user-compact.html.twig} +0 -0
  258. package/templates/bcl-user/user-terms.html.twig +11 -0
  259. package/templates/bcl-user/user.html.twig +129 -0
  260. package/templates/bcl-user/user-edit.html.twig +0 -38
  261. package/templates/bcl-user/user-view.html.twig +0 -86
@@ -2,31 +2,32 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - "title" (string) (default: '')
6
- - "title_tag" (string) (default: 'h2')
7
- - "variant" (string) (default: '') options:
5
+ - title (string) (default: '')
6
+ - title_tag (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
8
+ - title_attributes (drupal attrs)
9
+ - variant (string) (default: '') options:
8
10
  [ default, block ]
9
- - "display_icons" (boolean) (default: true)
10
- - "items" (array) (default: []):
11
- - "icon" (associate array) (default: { size: 'm' })
12
- - "subtitle" (string) (default: '')
13
- - "title" (string) (default: '')
14
- - "description" (string) (default:'')
15
- - "grid_columns" (int) (default: 1)
16
- - "responsiveness" (string) (default: 'md')
17
- - "responsive_columns" (integer) (default: 3)
18
- - "gutter" (int) (default: 4)
19
- - "equal_height" (boolean) (default: false)
20
- - "cols_extra_classes" (string) (default: '')
21
- - "icon_path" (string) (default: '')
22
- - "link_more" (object of type link) (default {})
11
+ - display_icons (boolean) (default: true)
12
+ - items (array) (default: []):
13
+ - icon (associate array) (default: { size: 'm' })
14
+ - subtitle (string) (default: '')
15
+ - title (string) (default: '')
16
+ - description (string) (default:'')
17
+ - grid_columns (int) (default: 1)
18
+ - responsiveness (string) (default: 'md')
19
+ - responsive_columns (integer) (default: 3)
20
+ - gutter (int) (default: 4)
21
+ - equal_height (boolean) (default: false)
22
+ - cols_extra_classes (string) (default: '')
23
+ - icon_path (string) (default: '')
24
+ - link_more (object of type link) (default {})
23
25
  #}
24
26
 
25
- {# Parameters #}
26
-
27
27
  {% set _title = title|default('') %}
28
28
  {% set _title_tag = title_tag|default('h2') %}
29
- {% set _title_attributes = title_attributes ?: create_attribute().addClass(['fw-bold']) %}
29
+ {% set _title_link = title_link|default({}) %}
30
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
30
31
  {% set _variant = variant|default('default') %}
31
32
  {% set _css_classes = ['bcl-fact-figures', 'bcl-fact-figures--' ~ _variant] %}
32
33
  {% set _display_icons = display_icons ?? true %}
@@ -72,6 +73,7 @@
72
73
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
73
74
  title: _title,
74
75
  title_tag: _title_tag,
76
+ title_link: _title_link,
75
77
  attributes: _title_attributes,
76
78
  } only %}
77
79
  {% endif %}
@@ -94,14 +96,14 @@
94
96
  {% include '@oe-bcl/bcl-icon/icon.html.twig' with _item.icon only %}
95
97
  {% endif %}
96
98
  {% if _item.title is defined and _item.title is not empty %}
97
- <h4 class="text-capitalize fw-bold mt-2">
99
+ <div class="fs-3 mt-2">
98
100
  {{- _item.title -}}
99
- </h4>
101
+ </div>
100
102
  {% endif %}
101
103
  {% if _item.subtitle is defined and _item.subtitle is not empty %}
102
- <h5 class="fw-bold">
104
+ <div class="fs-5">
103
105
  {{- _item.subtitle -}}
104
- </h5>
106
+ </div>
105
107
  {% endif %}
106
108
  {% if _item.description is defined and _item.description is not empty %}
107
109
  <p>
@@ -4,6 +4,7 @@
4
4
  Parameters:
5
5
  - title (string) (default: '')
6
6
  - title_tag (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
7
8
  - title_attributes (drupal attrs)
8
9
  - item_title (string) (default: '')
9
10
  - icon (icon Object) (default: {})
@@ -38,6 +39,7 @@
38
39
  {% set _icon = icon|default({}) %}
39
40
  {% set _title = title|default('') %}
40
41
  {% set _title_tag = title_tag|default('h2') %}
42
+ {% set _title_link = title_link|default({}) %}
41
43
  {% set _title_attributes = title_attributes ?: create_attribute() %}
42
44
  {% set _item_title = item_title|default('') %}
43
45
  {% set _text = text|default('') %}
@@ -51,6 +53,12 @@
51
53
  {% set _translation = translation|default({}) %}
52
54
  {% set _icon_path = icon_path|default({}) %}
53
55
 
56
+ {% if attributes is empty %}
57
+ {% set attributes = create_attribute() %}
58
+ {% endif %}
59
+
60
+ {% set attributes = attributes.addClass(['bcl-file']) %}
61
+
54
62
  {% set _container_classes = 'w-100 d-md-flex' %}
55
63
  {% if _icon is not empty %}
56
64
  {% set _container_classes = _container_classes ~ ' ms-2-5' %}
@@ -59,14 +67,11 @@
59
67
  }) %}
60
68
  {% endif %}
61
69
 
62
- {% if attributes is empty %}
63
- {% set attributes = create_attribute() %}
64
- {% endif %}
65
-
66
70
  {% if _title is not empty %}
67
71
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
68
72
  title: _title,
69
73
  title_tag: _title_tag,
74
+ title_link: _title_link,
70
75
  attributes: _title_attributes,
71
76
  } only %}
72
77
  {% endif %}
@@ -85,9 +90,7 @@
85
90
  right_col_classes: "col-12 col-md-8",
86
91
  },
87
92
  badges: _badges,
88
- title: {
89
- content: _item_title,
90
- },
93
+ title: _item_title,
91
94
  text: {
92
95
  content: _text,
93
96
  classes: "mb-2",
@@ -137,7 +140,8 @@
137
140
  path: _icon_path,
138
141
  },
139
142
  attributes: create_attribute()
140
- .setAttribute('download', _download.url)
143
+ .setAttribute('download', true)
144
+ .setAttribute('target', '_blank')
141
145
  .addClass(['standalone', 'align-self-center', 'd-inline-block', 'mt-1', 'mt-md-0'])
142
146
  }) %}
143
147
  {% include '@oe-bcl/bcl-link/link.html.twig' with _download only %}
@@ -196,7 +200,8 @@
196
200
  path: _icon_path,
197
201
  },
198
202
  attributes: create_attribute()
199
- .setAttribute("download", _item.download.url)
203
+ .setAttribute('download', true)
204
+ .setAttribute('target', '_blank')
200
205
  .addClass(['d-block', 'standalone', 'mt-1'])
201
206
  }) only %}
202
207
  </div>
@@ -3,6 +3,7 @@
3
3
  {# Parameters:
4
4
  - title: (string) (default: '')
5
5
  - title_tag: (string) (default: 'h2')
6
+ - title_link: (link object) (default: {})
6
7
  - title_attributes (drupal attrs)
7
8
  - helper_text (string) (default: '')
8
9
  - antispam (string) (default: '')
@@ -27,6 +28,7 @@
27
28
 
28
29
  {% set _title = title|default('') %}
29
30
  {% set _title_tag = title_tag|default('h2') %}
31
+ {% set _title_link = title_link|default({}) %}
30
32
  {% set _title_attributes = title_attributes ?: create_attribute() %}
31
33
  {% set _helper_text = helper_text|default('') %}
32
34
  {% set _items = items|default([]) %}
@@ -41,6 +43,7 @@
41
43
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
42
44
  title: _title,
43
45
  title_tag: _title_tag,
46
+ title_link: _title_link,
44
47
  attributes: _title_attributes,
45
48
  } only %}
46
49
  {% endif %}
@@ -2,17 +2,18 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - "id" (string) (default: '')
6
- - "title" (string) (default: '')
7
- - "title_tag" (string) (default: 'h2')
8
- - "title_attributes" (drupal attrs)
9
- - "counter" (string) (default: '')
10
- - "toggle_collapsed" (string) (default: '')
11
- - "toggle_expanded" (string) (default: '')
12
- - "previous_label" (string) (default: '')
13
- - "next_label" (string) (default: '')
14
- - "max_visible_thumbnails" (int) (default: 5)
15
- - "items" (array of objects) format: [
5
+ - id (string) (default: '')
6
+ - title (string) (default: '')
7
+ - title_tag (string) (default: 'h2')
8
+ - title_link: (link object) (default: {})
9
+ - title_attributes (drupal attrs)
10
+ - counter (string) (default: '')
11
+ - toggle_collapsed (string) (default: '')
12
+ - toggle_expanded (string) (default: '')
13
+ - previous_label (string) (default: '')
14
+ - next_label (string) (default: '')
15
+ - max_visible_thumbnails (int) (default: 5)
16
+ - items (array of objects) format: [
16
17
  {
17
18
  thumbnails (string) img path
18
19
  media: (string) <img> tag
@@ -23,14 +24,13 @@ Parameters:
23
24
  }
24
25
  ...
25
26
  ],
26
- - "icon_path" (string) (default: '')
27
+ - icon_path (string) (default: '')
27
28
  #}
28
29
 
29
- {# Internal properties #}
30
-
31
30
  {% set _id = id|default('gallery-' ~ random(1000)) %}
32
31
  {% set _title = title|default('') %}
33
32
  {% set _title_tag = title_tag|default('h2') %}
33
+ {% set _title_link = title_link|default({}) %}
34
34
  {% set _title_attributes = title_attributes ?: create_attribute() %}
35
35
  {% set _counter = counter|default('') %}
36
36
  {% set _toggle_collapsed = toggle_collapsed|default('') %}
@@ -65,6 +65,7 @@ Parameters:
65
65
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
66
66
  title: _title,
67
67
  title_tag: _title_tag,
68
+ title_link: _title_link,
68
69
  attributes: _title_attributes,
69
70
  } only %}
70
71
  {% endif %}
@@ -17,7 +17,7 @@
17
17
  {% endif %}
18
18
  {% if banner.title is not empty %}
19
19
  <div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">
20
- <h2 class="mb-0 d-inline-block fw-bold">{{ banner.title }}</h2>
20
+ <h1 class="mb-0 d-inline-block">{{ banner.title }}</h1>
21
21
  {% if banner.actions is not empty and banner.actions is iterable %}
22
22
  <div class="d-grid d-md-block ms-auto">
23
23
  {% for _action in banner.actions %}
@@ -56,10 +56,10 @@
56
56
  </div>
57
57
  </div>
58
58
  <div class="col-md-4">
59
- <h4 class="mb-3 pb-2">{{ contact.title }}</h4>
59
+ <h2 class="mb-3 pb-2">{{ contact.title }}</h2>
60
60
  {% if contact.profiles is not empty and contact.profiles is iterable %}
61
61
  {% for _profile in contact.profiles %}
62
- {% include '@oe-bcl/bcl-user/user-view-compact.html.twig' with _profile only %}
62
+ {% include '@oe-bcl/bcl-user/user-compact.html.twig' with _profile only %}
63
63
  {% endfor %}
64
64
  {% endif %}
65
65
  {% if contact.more_link is not empty %}
@@ -76,14 +76,14 @@
76
76
  {% if recent is not empty and members is not empty %}
77
77
  <div class="row mt-3">
78
78
  <div class="col-md-8">
79
- <h4 class="mb-4 pb-2">{{ recent.title }}</h4>
79
+ <h2 class="mb-4 pb-2">{{ recent.title }}</h2>
80
80
  {% include '@oe-bcl/bcl-recent-activities/recent-activities.html.twig' with recent.block_data only %}
81
81
  </div>
82
82
  <div class="col-md-4">
83
- <h4 class="mt-4 mt-md-0 mb-4 pb-2">{{ members.title}}</h4>
83
+ <h2 class="mt-4 mt-md-0 mb-4 pb-2">{{ members.title}}</h2>
84
84
  {% if members.profiles is not empty and members.profiles is iterable %}
85
85
  {% for _profile in members.profiles %}
86
- {% include '@oe-bcl/bcl-user/user-view-compact.html.twig' with _profile only %}
86
+ {% include '@oe-bcl/bcl-user/user-compact.html.twig' with _profile only %}
87
87
  {% endfor %}
88
88
  {% endif %}
89
89
  {% if members.more_link is not empty %}
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  {% endif %}
95
95
  {% if contributions is not empty %}
96
- <h4 class="my-4 pt-3 pb-2">{{ contributions.title}}</h4>
96
+ <h2 class="my-4 pt-3 pb-2">{{ contributions.title}}</h2>
97
97
  {% if contributions.listing is not empty %}
98
98
  {% include '@oe-bcl/bcl-listing/listing.html.twig' with contributions.listing only %}
99
99
  {% endif %}
@@ -4,7 +4,7 @@
4
4
  <div class="container mt-4 mt-md-5">
5
5
  <div class="col-xxl-11">
6
6
  <div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">
7
- <h2 class="mb-0 d-inline-block fw-bold">{{ banner.title }}</h2>
7
+ <h1 class="mb-0 d-inline-block">{{ banner.main_title }}</h1>
8
8
  {% if banner.actions is not empty and banner.actions is iterable %}
9
9
  <div class="d-grid d-md-block ms-auto">
10
10
  {% for _action in banner.actions %}
@@ -3,40 +3,38 @@
3
3
  {# Parameters:
4
4
  - title (string) (default: '')
5
5
  - title_tag (string) (default: 'h2')
6
- - path (string) (default: '')
7
- - link: (object) (default: {})
6
+ - title_link: (object) (default: {})
8
7
  - attributes (drupal attrs)
9
8
  #}
10
9
 
11
10
  {% set _title = title|default('') %}
12
- {% set _path = path|default('') %}
13
11
  {% set _title_tag = title_tag|default('h2') %}
14
- {% set _link = link|default({}) %}
12
+ {% set _title_link = title_link|default({}) %}
15
13
 
16
14
  {% if attributes is empty %}
17
15
  {% set attributes = create_attribute() %}
18
16
  {% endif %}
19
17
 
20
18
  {% if attributes.class is empty %}
21
- {% set attributes = attributes.addClass(['fw-bold', 'mb-4']) %}
19
+ {% set attributes = attributes.addClass(['mb-4']) %}
22
20
  {% endif %}
23
21
 
24
22
  {% set attributes = attributes.addClass(['bcl-heading']) %}
25
23
 
26
- {% if _link is not empty and _title is not empty and _link.label is empty %}
27
- {% set _link = _link|merge({ label: _title }) %}
24
+ {% if _title_link is not empty and _title is not empty and _title_link.label is empty %}
25
+ {% set _title_link = _title_link|merge({ label: _title }) %}
28
26
  {% endif %}
29
27
 
30
- {% if _title is not empty or _link is not empty %}
28
+ {% if _title is not empty or _title_link is not empty %}
31
29
  <{{ _title_tag }}
32
30
  {{- attributes -}}
33
31
  >
34
- {%- if _link is not empty -%}
35
- {% include '@oe-bcl/bcl-link/link.html.twig' with _link only %}
32
+ {%- if _title_link is not empty -%}
33
+ {% include '@oe-bcl/bcl-link/link.html.twig' with _title_link|merge({ standalone: true }) only %}
36
34
  {%- else -%}
37
35
  {{- _title -}}
38
36
  {%- endif %}
39
37
  </{{ _title_tag }}>
40
38
  {% endif -%}
41
39
 
42
- {% endspaceless %}
40
+ {% endspaceless %}
@@ -2,14 +2,19 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - "title": (string) (default: '')
6
- - "full_layout": (boolean) (default: false)
7
- - "links": (array of link objects) (default: [])
8
- - "content": (string) (default: '')
5
+ - title: (string) (default: '')
6
+ - title_tag: (string) (default: 'h5')
7
+ - title_link: (link object) (default: {})
8
+ - title_attributes (drupal attrs)
9
+ - full_layout: (boolean) (default: false)
10
+ - links: (array of link objects) (default: [])
11
+ - content: (string) (default: '')
9
12
  #}
10
13
 
11
- {# Internal properties #}
12
14
  {% set _title = title|default('') %}
15
+ {% set _title_tag = title_tag|default('h3') %}
16
+ {% set _title_link = title_link|default({}) %}
17
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
13
18
  {% set _links = links|default([]) %}
14
19
  {% set _content = content|default('') %}
15
20
  {% set _id = id|default('bcl-inpage-navigation-' ~ random(5)) %}
@@ -27,9 +32,12 @@ Parameters:
27
32
  <div class="col-md-3 d-none d-md-block">
28
33
  {% endif %}
29
34
  <nav {{ attributes }}>
30
- {% if _title is defined and _title is not empty %}
31
- <h5>{{ _title }}</h5>
32
- {% endif %}
35
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
36
+ title: _title,
37
+ title_tag: _title_tag,
38
+ title_link: _title_link,
39
+ attributes: _title_attributes,
40
+ } only %}
33
41
  {% include '@oe-bcl/bcl-navigation/navigation.html.twig' with {
34
42
  'pills': true,
35
43
  'vertical': true,
@@ -11,7 +11,7 @@
11
11
  <div class="container">
12
12
  {% if featured_section is defined %}
13
13
  <div class="my-4">
14
- <h2 class="mb-4 fw-bold">{{ featured_section.title }}</h2>
14
+ <h2 class="mb-4">{{ featured_section.title }}</h2>
15
15
  <div class="row">
16
16
  <div class="col-12 col-md-6">
17
17
  {{ featured_section.content }}
@@ -37,7 +37,7 @@
37
37
 
38
38
  {% if activity_featured is defined %}
39
39
  <div class="my-4">
40
- <h2 class="mb-4 fw-bold">{{ activity_featured.title }}</h2>
40
+ <h2 class="mb-4">{{ activity_featured.title }}</h2>
41
41
  <div class="row">
42
42
  <div class="col-12 col-md-6">
43
43
  {{ activity_featured.content }}
@@ -1,24 +1,27 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
+ - title: (string) (default: "")
5
+ - title_tag: (string) (default: "h2")
6
+ - title_link: (link object) (default: {})
7
+ - title_attributes (drupal attrs)
4
8
  - background: (string) (default: "gray")
5
9
  - options ["gray", "transparent"]
6
10
  - variant: (string) (default: "vertical")
7
11
  - options ["vertical", "horizontal"]
8
- - title: (string) (default: "")
9
- - title_tag: (string) (default: "h2")
10
- - title_attributes (drupal attrs)
11
12
  - links (array of link objects) (default: [])
12
13
  #}
13
14
 
14
- {% set _background = background|default("gray") %}
15
- {% set _variant = variant|default("vertical") %}
16
15
  {% set _title = title|default("") %}
17
16
  {% set _title_tag = title_tag|default("h2") %}
18
- {% set _title_classes = ['fw-bold', 'pb-3', 'mb-3', 'border-bottom'] %}
19
- {% set _title_attributes = title_attributes ?: create_attribute().addClass(_title_classes) %}
17
+ {% set _title_link = title_link|default({}) %}
18
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
19
+ {% set _background = background|default("gray") %}
20
+ {% set _variant = variant|default("vertical") %}
20
21
  {% set _links = links|default([])%}
21
22
 
23
+ {% set _title_classes = ['pb-3', 'mb-3', 'border-bottom'] %}
24
+
22
25
  {% if attributes is empty %}
23
26
  {% set attributes = create_attribute() %}
24
27
  {% endif %}
@@ -34,7 +37,8 @@
34
37
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
35
38
  title: _title,
36
39
  title_tag: _title_tag,
37
- attributes: _title_attributes,
40
+ title_link: _title_link,
41
+ attributes: _title_attributes.addClass(_title_classes),
38
42
  } only %}
39
43
  {% endif %}
40
44
  {% if _links is not empty and _links is iterable %}
@@ -1,22 +1,24 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
- - variant: (string) (default: "horizontal") options:
5
- [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
6
4
  - title: (string) (default: "")
7
5
  - title_tag: (string) (default: "h2")
6
+ - title_link: (link object) (default: {})
8
7
  - title_attributes (drupal attrs)
8
+ - variant: (string) (default: "horizontal") options:
9
+ [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
9
10
  - items: (array of objects of type card)
10
11
  - link: (object of type link)
11
12
  - alignment: (string) (default: '') options:
12
13
  ['start', 'end', 'center', 'baseline', 'stretch']
13
14
  #}
14
15
 
15
- {% set _items = items|default([]) %}
16
- {% set _variant = variant|default('default-1-col') %}
17
16
  {% set _title = title|default('') %}
18
17
  {% set _title_tag = title_tag|default('h2') %}
18
+ {% set _title_link = title_link|default({}) %}
19
19
  {% set _title_attributes = title_attributes ?: create_attribute() %}
20
+ {% set _items = items|default([]) %}
21
+ {% set _variant = variant|default('default-1-col') %}
20
22
  {% set _alignment = alignment|default('') %}
21
23
  {% set _link = link|default({}) %}
22
24
  {% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
@@ -40,6 +42,7 @@
40
42
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
41
43
  title: _title,
42
44
  title_tag: _title_tag,
45
+ title_link: _title_link,
43
46
  title_attributes: _title_attributes,
44
47
  } only %}
45
48
  {% endif %}
@@ -66,6 +69,10 @@
66
69
  {% endif %}
67
70
  {% set _card_classes = [] %}
68
71
  {% set _card_attributes = card.attributes ? card.attributes : create_attribute() %}
72
+ {% set _card_title_attributes = card.title_attributes ? card.title_attributes : create_attribute() %}
73
+ {% set _card = _card|merge({
74
+ title_attributes: _card_title_attributes.addClass(['fs-5'])
75
+ }) %}
69
76
 
70
77
  {% if _variant == 'default-1-col' %}
71
78
  {% set _card_classes = [
@@ -37,6 +37,10 @@
37
37
  .addClass(_classes)
38
38
  %}
39
39
 
40
+ {% if _static_backdrop %}
41
+ {% set attributes = attributes.setAttribute('data-bs-backdrop', 'static') %}
42
+ {% endif %}
43
+
40
44
  <div
41
45
  {{ attributes }}
42
46
  >
@@ -45,7 +49,6 @@
45
49
  {{- _fullscreen_responsive ? ' modal-fullscreen-' ~ _fullscreen_responsive ~ '-down' -}}
46
50
  {{- _verticaly_centered ? ' modal-dialog-centered' -}}
47
51
  {{- _scrollable ? ' modal-dialog-scrollable' -}}"
48
- {{- _static_backdrop ? ' data-bs-backdrop="static"' -}}
49
52
  >
50
53
  <div class="modal-content">
51
54
  {% if header is not empty %}
@@ -1,12 +1,10 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
- - title (object) (default: {}) format: {
5
- label (string)
6
- id (string) (default: '')
7
- heading (string) (1, 2, 3, 4, 5, 6)
8
- extra_classes(string) (default: '')
9
- }
4
+ - title: (string) (default: "")
5
+ - title_tag: (string) (default: "h3")
6
+ - title_link: (link object) (default: {})
7
+ - title_attributes (drupal attrs)
10
8
  - placement (string) (default: '') (start, end, top, bottom)
11
9
  - id (string) (default: '')
12
10
  - body (string) (default: '')
@@ -18,7 +16,10 @@
18
16
  - extra_classes_close (string) (default: '')
19
17
  #}
20
18
 
21
- {% set _title = title|default({}) %}
19
+ {% set _title = title|default('') %}
20
+ {% set _title_tag = title_tag|default('h3') %}
21
+ {% set _title_link = title_link|default({}) %}
22
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
22
23
  {% set _body = body|default('') %}
23
24
  {% set _with_close = with_close ?? true %}
24
25
  {% set _with_backdrop = with_backdrop ?? true %}
@@ -66,19 +67,15 @@
66
67
  <div
67
68
  {{ attributes }}
68
69
  >
69
- {% if _with_close or
70
- (_title.label is defined and _title.label is not empty)
71
- %}
70
+ {% if _with_close or _title is not empty %}
72
71
  <div class="{{ _class_header }}">
73
- {% if _title.label is defined and _title.label is not empty %}
74
- <h{{ _title.heading|default(5) }}
75
- class="{{ 'offcanvas-title' ~ (_title.extra_classes ? ' ' ~ _title.extra_classes : '') }}"
76
- {% if _title.id is defined and _title.id is not empty %}
77
- id="{{ _title.id }}"
78
- {% endif %}
79
- >
80
- {{- _title.label -}}
81
- </h{{ _title.heading|default(5) }}>
72
+ {% if _title is not empty %}
73
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
74
+ title: _title,
75
+ title_tag: _title_tag,
76
+ title_link: _title_link,
77
+ attributes: _title_attributes.addClass(['offcanvas-title']),
78
+ } only %}
82
79
  {% endif %}
83
80
  {% if _with_close %}
84
81
  {% set button_attributes = create_attribute()
@@ -11,7 +11,7 @@
11
11
  Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
12
12
  sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
13
13
  </p>
14
- <h3 id="item-1" class="fw-bold my-4">Section 1</h3>
14
+ <h2 id="item-1" class="my-4">Section 1</h2>
15
15
  {% if featured_item %}
16
16
  {% include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with featured_item only %}
17
17
  {% endif %}
@@ -24,7 +24,7 @@
24
24
  {% include '@oe-bcl/bcl-listing/listing.html.twig' with listing only %}
25
25
  {% endif %}
26
26
 
27
- <h3 id="item-2" class="fw-bold my-4">Section 2</h3>
27
+ <h2 id="item-2" class="my-4">Section 2</h2>
28
28
 
29
29
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
30
30
  a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
@@ -50,7 +50,7 @@
50
50
  sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
51
51
  </p>
52
52
 
53
- <h3 id="item-3" class="fw-bold my-4">Section 3</h3>
53
+ <h2 id="item-3" class="my-4">Section 3</h2>
54
54
 
55
55
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
56
56
  a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
@@ -5,10 +5,10 @@
5
5
  {% endblock %}
6
6
 
7
7
  {% block content %}
8
- {% if social_media.main_title is not empty %}
9
- <h3
10
- class="fw-bold mb-4"
11
- >{{- social_media.main_title -}}</h3>
8
+ {# {% if social_media.main_title is not empty %}
9
+ <h2
10
+ class="mb-4"
11
+ >{{- social_media.main_title -}}</h2>
12
12
  {% endif %}
13
13
  {% if social_media.links is defined and social_media.links is not empty %}
14
14
  <div class="mb-4-5">
@@ -16,12 +16,12 @@
16
16
  {% include '@oe-bcl/bcl-link/link.html.twig' with link only %}
17
17
  {% endfor %}
18
18
  </div>
19
- {% endif %}
19
+ {% endif %} #}
20
20
 
21
21
  {% if information.main_title is not empty %}
22
- <h3
23
- class="fw-bold mb-4"
24
- >{{- information.main_title -}}</h3>
22
+ <h2
23
+ class="mb-4"
24
+ >{{- information.main_title -}}</h2>
25
25
  {% endif %}
26
26
  {% if information.content is not empty %}
27
27
  <div class="mb-4-5">
@@ -30,9 +30,9 @@
30
30
  {% endif %}
31
31
 
32
32
  {% if files.main_title is not empty %}
33
- <h3
34
- class="fw-bold mb-4"
35
- >{{- files.main_title -}}</h3>
33
+ <h2
34
+ class="mb-4"
35
+ >{{- files.main_title -}}</h2>
36
36
  {% endif %}
37
37
  {% if files.listing is defined and files.listing is not empty %}
38
38
  <div class="mb-4-5">
@@ -33,6 +33,9 @@
33
33
  {% if _variant is not empty %}
34
34
  {% set _classes = _classes ~ ' bg-' ~ _variant %}
35
35
  {% endif %}
36
+ {% if _variant == 'light' %}
37
+ {% set _classes = _classes ~ ' text-dark' %}
38
+ {% endif %}
36
39
 
37
40
  {% if attributes is empty %}
38
41
  {% set attributes = create_attribute() %}