@openeuropa/bcl-theme-default 0.22.0 → 0.25.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 (565) hide show
  1. package/bcl-builder.config.js +16 -2
  2. package/css/oe-bcl-default.css +543 -1801
  3. package/css/oe-bcl-default.css.map +1 -1
  4. package/css/oe-bcl-default.min.css +1 -1
  5. package/css/oe-bcl-default.min.css.map +1 -1
  6. package/icons/bcl-default-icons.svg +1 -1
  7. package/icons/bootstrap-icons.svg +1 -0
  8. package/icons/world-flags/ad.svg +154 -0
  9. package/icons/world-flags/ae.svg +6 -0
  10. package/icons/world-flags/af.svg +1 -0
  11. package/icons/world-flags/ag.svg +1 -0
  12. package/icons/world-flags/ai.svg +1 -0
  13. package/icons/world-flags/al.svg +1 -0
  14. package/icons/world-flags/am.svg +5 -0
  15. package/icons/world-flags/an.svg +24 -0
  16. package/icons/world-flags/ao.svg +1 -0
  17. package/icons/world-flags/aq.svg +1 -0
  18. package/icons/world-flags/ar.svg +33 -0
  19. package/icons/world-flags/as.svg +1 -0
  20. package/icons/world-flags/at.svg +4 -0
  21. package/icons/world-flags/au.svg +1 -0
  22. package/icons/world-flags/aw.svg +1 -0
  23. package/icons/world-flags/ax.svg +11 -0
  24. package/icons/world-flags/az.svg +8 -0
  25. package/icons/world-flags/ba.svg +11 -0
  26. package/icons/world-flags/bb.svg +7 -0
  27. package/icons/world-flags/bd.svg +4 -0
  28. package/icons/world-flags/be.svg +5 -0
  29. package/icons/world-flags/bf.svg +14 -0
  30. package/icons/world-flags/bg.svg +5 -0
  31. package/icons/world-flags/bh.svg +1 -0
  32. package/icons/world-flags/bi.svg +26 -0
  33. package/icons/world-flags/bj.svg +5 -0
  34. package/icons/world-flags/bl.svg +160 -0
  35. package/icons/world-flags/bm.svg +1 -0
  36. package/icons/world-flags/bn.svg +58 -0
  37. package/icons/world-flags/bo.svg +1 -0
  38. package/icons/world-flags/bq.svg +5 -0
  39. package/icons/world-flags/br.svg +89 -0
  40. package/icons/world-flags/bs.svg +5 -0
  41. package/icons/world-flags/bt.svg +466 -0
  42. package/icons/world-flags/bv.svg +7 -0
  43. package/icons/world-flags/bw.svg +5 -0
  44. package/icons/world-flags/by.svg +14 -0
  45. package/icons/world-flags/bz.svg +1 -0
  46. package/icons/world-flags/ca.svg +1 -0
  47. package/icons/world-flags/cc.svg +19 -0
  48. package/icons/world-flags/cd.svg +5 -0
  49. package/icons/world-flags/cf.svg +8 -0
  50. package/icons/world-flags/cg.svg +5 -0
  51. package/icons/world-flags/ch.svg +5 -0
  52. package/icons/world-flags/ci.svg +5 -0
  53. package/icons/world-flags/ck.svg +1 -0
  54. package/icons/world-flags/cl.svg +14 -0
  55. package/icons/world-flags/cm.svg +15 -0
  56. package/icons/world-flags/cn.svg +11 -0
  57. package/icons/world-flags/co.svg +5 -0
  58. package/icons/world-flags/cr.svg +1 -0
  59. package/icons/world-flags/cu.svg +6 -0
  60. package/icons/world-flags/cv.svg +24 -0
  61. package/icons/world-flags/cw.svg +16 -0
  62. package/icons/world-flags/cx.svg +15 -0
  63. package/icons/world-flags/cy.svg +1 -0
  64. package/icons/world-flags/cz.svg +5 -0
  65. package/icons/world-flags/de.svg +6 -0
  66. package/icons/world-flags/dj.svg +6 -0
  67. package/icons/world-flags/dk.svg +5 -0
  68. package/icons/world-flags/dm.svg +1 -0
  69. package/icons/world-flags/do.svg +1 -0
  70. package/icons/world-flags/dz.svg +5 -0
  71. package/icons/world-flags/ec.svg +519 -0
  72. package/icons/world-flags/ee.svg +5 -0
  73. package/icons/world-flags/eg.svg +78 -0
  74. package/icons/world-flags/eh.svg +9 -0
  75. package/icons/world-flags/er.svg +6 -0
  76. package/icons/world-flags/es.svg +1 -0
  77. package/icons/world-flags/et.svg +16 -0
  78. package/icons/world-flags/eu.svg +29 -0
  79. package/icons/world-flags/fi.svg +5 -0
  80. package/icons/world-flags/fj.svg +1 -0
  81. package/icons/world-flags/fk.svg +1 -0
  82. package/icons/world-flags/fm.svg +16 -0
  83. package/icons/world-flags/fo.svg +11 -0
  84. package/icons/world-flags/fr.svg +1 -0
  85. package/icons/world-flags/ga.svg +5 -0
  86. package/icons/world-flags/gb-eng.svg +7 -0
  87. package/icons/world-flags/gb-nir.svg +1 -0
  88. package/icons/world-flags/gb-sct.svg +1 -0
  89. package/icons/world-flags/gb-wls.svg +9 -0
  90. package/icons/world-flags/gb.svg +1 -0
  91. package/icons/world-flags/gd.svg +27 -0
  92. package/icons/world-flags/ge.svg +17 -0
  93. package/icons/world-flags/gf.svg +5 -0
  94. package/icons/world-flags/gg.svg +8 -0
  95. package/icons/world-flags/gh.svg +6 -0
  96. package/icons/world-flags/gi.svg +54 -0
  97. package/icons/world-flags/gl.svg +4 -0
  98. package/icons/world-flags/gm.svg +7 -0
  99. package/icons/world-flags/gn.svg +5 -0
  100. package/icons/world-flags/gp.svg +5 -0
  101. package/icons/world-flags/gq.svg +75 -0
  102. package/icons/world-flags/gr.svg +4 -0
  103. package/icons/world-flags/gs.svg +1 -0
  104. package/icons/world-flags/gt.svg +214 -0
  105. package/icons/world-flags/gu.svg +1 -0
  106. package/icons/world-flags/gw.svg +13 -0
  107. package/icons/world-flags/gy.svg +7 -0
  108. package/icons/world-flags/hk.svg +12 -0
  109. package/icons/world-flags/hm.svg +1 -0
  110. package/icons/world-flags/hn.svg +18 -0
  111. package/icons/world-flags/hr.svg +240 -0
  112. package/icons/world-flags/ht.svg +196 -0
  113. package/icons/world-flags/hu.svg +5 -0
  114. package/icons/world-flags/id.svg +4 -0
  115. package/icons/world-flags/ie.svg +9 -0
  116. package/icons/world-flags/il.svg +1 -0
  117. package/icons/world-flags/im.svg +59 -0
  118. package/icons/world-flags/in.svg +25 -0
  119. package/icons/world-flags/io.svg +178 -0
  120. package/icons/world-flags/iq.svg +1 -0
  121. package/icons/world-flags/ir.svg +31 -0
  122. package/icons/world-flags/is.svg +5 -0
  123. package/icons/world-flags/it.svg +5 -0
  124. package/icons/world-flags/je.svg +49 -0
  125. package/icons/world-flags/jm.svg +4 -0
  126. package/icons/world-flags/jo.svg +7 -0
  127. package/icons/world-flags/jp.svg +4 -0
  128. package/icons/world-flags/ke.svg +23 -0
  129. package/icons/world-flags/kg.svg +1 -0
  130. package/icons/world-flags/kh.svg +116 -0
  131. package/icons/world-flags/ki.svg +1 -0
  132. package/icons/world-flags/km.svg +13 -0
  133. package/icons/world-flags/kn.svg +1 -0
  134. package/icons/world-flags/kp.svg +16 -0
  135. package/icons/world-flags/kr.svg +1 -0
  136. package/icons/world-flags/kw.svg +6 -0
  137. package/icons/world-flags/ky.svg +1 -0
  138. package/icons/world-flags/kz.svg +37 -0
  139. package/icons/world-flags/la.svg +5 -0
  140. package/icons/world-flags/lb.svg +5 -0
  141. package/icons/world-flags/lc.svg +6 -0
  142. package/icons/world-flags/li.svg +56 -0
  143. package/icons/world-flags/lk.svg +31 -0
  144. package/icons/world-flags/lr.svg +15 -0
  145. package/icons/world-flags/ls.svg +23 -0
  146. package/icons/world-flags/lt.svg +5 -0
  147. package/icons/world-flags/lu.svg +5 -0
  148. package/icons/world-flags/lv.svg +4 -0
  149. package/icons/world-flags/ly.svg +8 -0
  150. package/icons/world-flags/ma.svg +6 -0
  151. package/icons/world-flags/mc.svg +4 -0
  152. package/icons/world-flags/md.svg +140 -0
  153. package/icons/world-flags/me.svg +93 -0
  154. package/icons/world-flags/mf.svg +5 -0
  155. package/icons/world-flags/mg.svg +5 -0
  156. package/icons/world-flags/mh.svg +19 -0
  157. package/icons/world-flags/mk.svg +7 -0
  158. package/icons/world-flags/ml.svg +5 -0
  159. package/icons/world-flags/mm.svg +12 -0
  160. package/icons/world-flags/mn.svg +21 -0
  161. package/icons/world-flags/mo.svg +10 -0
  162. package/icons/world-flags/mp.svg +240 -0
  163. package/icons/world-flags/mq.svg +1 -0
  164. package/icons/world-flags/mr.svg +6 -0
  165. package/icons/world-flags/ms.svg +1 -0
  166. package/icons/world-flags/mt.svg +49 -0
  167. package/icons/world-flags/mu.svg +6 -0
  168. package/icons/world-flags/mv.svg +8 -0
  169. package/icons/world-flags/mw.svg +24 -0
  170. package/icons/world-flags/mx.svg +1 -0
  171. package/icons/world-flags/my.svg +13 -0
  172. package/icons/world-flags/mz.svg +13 -0
  173. package/icons/world-flags/na.svg +1 -0
  174. package/icons/world-flags/nc.svg +18 -0
  175. package/icons/world-flags/ne.svg +6 -0
  176. package/icons/world-flags/nf.svg +5 -0
  177. package/icons/world-flags/ng.svg +4 -0
  178. package/icons/world-flags/ni.svg +161 -0
  179. package/icons/world-flags/nl.svg +5 -0
  180. package/icons/world-flags/no.svg +7 -0
  181. package/icons/world-flags/np.svg +33 -0
  182. package/icons/world-flags/nr.svg +5 -0
  183. package/icons/world-flags/nu.svg +1 -0
  184. package/icons/world-flags/nz.svg +1 -0
  185. package/icons/world-flags/om.svg +226 -0
  186. package/icons/world-flags/pa.svg +20 -0
  187. package/icons/world-flags/pe.svg +320 -0
  188. package/icons/world-flags/pf.svg +55 -0
  189. package/icons/world-flags/pg.svg +13 -0
  190. package/icons/world-flags/ph.svg +30 -0
  191. package/icons/world-flags/pk.svg +8 -0
  192. package/icons/world-flags/pl.svg +4 -0
  193. package/icons/world-flags/pm.svg +5 -0
  194. package/icons/world-flags/pn.svg +1 -0
  195. package/icons/world-flags/pr.svg +1 -0
  196. package/icons/world-flags/ps.svg +6 -0
  197. package/icons/world-flags/pt.svg +66 -0
  198. package/icons/world-flags/pw.svg +4 -0
  199. package/icons/world-flags/py.svg +193 -0
  200. package/icons/world-flags/qa.svg +1 -0
  201. package/icons/world-flags/re.svg +5 -0
  202. package/icons/world-flags/ro.svg +5 -0
  203. package/icons/world-flags/rs.svg +294 -0
  204. package/icons/world-flags/ru.svg +5 -0
  205. package/icons/world-flags/rw.svg +13 -0
  206. package/icons/world-flags/sa.svg +4 -0
  207. package/icons/world-flags/sb.svg +23 -0
  208. package/icons/world-flags/sc.svg +7 -0
  209. package/icons/world-flags/sd.svg +6 -0
  210. package/icons/world-flags/se.svg +5 -0
  211. package/icons/world-flags/sg.svg +11 -0
  212. package/icons/world-flags/sh.svg +1 -0
  213. package/icons/world-flags/si.svg +22 -0
  214. package/icons/world-flags/sj.svg +7 -0
  215. package/icons/world-flags/sk.svg +12 -0
  216. package/icons/world-flags/sl.svg +5 -0
  217. package/icons/world-flags/sm.svg +321 -0
  218. package/icons/world-flags/sn.svg +15 -0
  219. package/icons/world-flags/so.svg +13 -0
  220. package/icons/world-flags/sr.svg +6 -0
  221. package/icons/world-flags/ss.svg +8 -0
  222. package/icons/world-flags/st.svg +16 -0
  223. package/icons/world-flags/sv.svg +1 -0
  224. package/icons/world-flags/sx.svg +94 -0
  225. package/icons/world-flags/sy.svg +17 -0
  226. package/icons/world-flags/sz.svg +1 -0
  227. package/icons/world-flags/tc.svg +1 -0
  228. package/icons/world-flags/td.svg +5 -0
  229. package/icons/world-flags/tf.svg +15 -0
  230. package/icons/world-flags/tg.svg +16 -0
  231. package/icons/world-flags/th.svg +5 -0
  232. package/icons/world-flags/tj.svg +26 -0
  233. package/icons/world-flags/tk.svg +25 -0
  234. package/icons/world-flags/tl.svg +1 -0
  235. package/icons/world-flags/tm.svg +179 -0
  236. package/icons/world-flags/tn.svg +9 -0
  237. package/icons/world-flags/to.svg +8 -0
  238. package/icons/world-flags/tr.svg +6 -0
  239. package/icons/world-flags/tt.svg +5 -0
  240. package/icons/world-flags/tv.svg +1 -0
  241. package/icons/world-flags/tw.svg +9 -0
  242. package/icons/world-flags/tz.svg +6 -0
  243. package/icons/world-flags/ua.svg +4 -0
  244. package/icons/world-flags/ug.svg +24 -0
  245. package/icons/world-flags/um.svg +25 -0
  246. package/icons/world-flags/us.svg +25 -0
  247. package/icons/world-flags/uy.svg +36 -0
  248. package/icons/world-flags/uz.svg +30 -0
  249. package/icons/world-flags/va.svg +205 -0
  250. package/icons/world-flags/vc.svg +10 -0
  251. package/icons/world-flags/ve.svg +28 -0
  252. package/icons/world-flags/vg.svg +1 -0
  253. package/icons/world-flags/vi.svg +1 -0
  254. package/icons/world-flags/vn.svg +12 -0
  255. package/icons/world-flags/vu.svg +15 -0
  256. package/icons/world-flags/wf.svg +7 -0
  257. package/icons/world-flags/ws.svg +14 -0
  258. package/icons/world-flags/xk.svg +1 -0
  259. package/icons/world-flags/ye.svg +5 -0
  260. package/icons/world-flags/yt.svg +5 -0
  261. package/icons/world-flags/za.svg +1 -0
  262. package/icons/world-flags/zm.svg +23 -0
  263. package/icons/world-flags/zw.svg +28 -0
  264. package/js/oe-bcl-default.bundle.js +25 -26
  265. package/js/oe-bcl-default.bundle.js.map +1 -1
  266. package/js/oe-bcl-default.bundle.min.js +1 -1
  267. package/js/oe-bcl-default.bundle.min.js.map +1 -1
  268. package/js/oe-bcl-default.esm.js +25 -26
  269. package/js/oe-bcl-default.esm.js.map +1 -1
  270. package/js/oe-bcl-default.esm.min.js +1 -1
  271. package/js/oe-bcl-default.esm.min.js.map +1 -1
  272. package/js/oe-bcl-default.umd.js +25 -26
  273. package/js/oe-bcl-default.umd.js.map +1 -1
  274. package/js/oe-bcl-default.umd.min.js +1 -1
  275. package/js/oe-bcl-default.umd.min.js.map +1 -1
  276. package/logos/ec/{logo-ec--mute.svg → dist/logo-ec--mute.svg} +0 -0
  277. package/logos/ec/{negative → dist/negative}/logo-ec--ar.svg +0 -0
  278. package/logos/ec/{negative → dist/negative}/logo-ec--bg.svg +0 -0
  279. package/logos/ec/{negative → dist/negative}/logo-ec--ca.svg +0 -0
  280. package/logos/ec/{negative → dist/negative}/logo-ec--cs.svg +0 -0
  281. package/logos/ec/{negative → dist/negative}/logo-ec--da.svg +0 -0
  282. package/logos/ec/{negative → dist/negative}/logo-ec--de.svg +0 -0
  283. package/logos/ec/{negative → dist/negative}/logo-ec--el.svg +0 -0
  284. package/logos/ec/{negative → dist/negative}/logo-ec--en.svg +0 -0
  285. package/logos/ec/{negative → dist/negative}/logo-ec--es.svg +0 -0
  286. package/logos/ec/{negative → dist/negative}/logo-ec--et.svg +0 -0
  287. package/logos/ec/{negative → dist/negative}/logo-ec--fi.svg +0 -0
  288. package/logos/ec/{negative → dist/negative}/logo-ec--fr.svg +0 -0
  289. package/logos/ec/{negative → dist/negative}/logo-ec--ga.svg +0 -0
  290. package/logos/ec/{negative → dist/negative}/logo-ec--hr.svg +0 -0
  291. package/logos/ec/{negative → dist/negative}/logo-ec--hu.svg +0 -0
  292. package/logos/ec/{negative → dist/negative}/logo-ec--is.svg +0 -0
  293. package/logos/ec/{negative → dist/negative}/logo-ec--it.svg +0 -0
  294. package/logos/ec/dist/negative/logo-ec--jp.svg +72 -0
  295. package/logos/ec/dist/negative/logo-ec--lb.svg +93 -0
  296. package/logos/ec/{negative → dist/negative}/logo-ec--lt.svg +0 -0
  297. package/logos/ec/{negative → dist/negative}/logo-ec--lv.svg +0 -0
  298. package/logos/ec/{negative → dist/negative}/logo-ec--mt.svg +0 -0
  299. package/logos/ec/{negative → dist/negative}/logo-ec--nl.svg +0 -0
  300. package/logos/ec/{negative → dist/negative}/logo-ec--no.svg +0 -0
  301. package/logos/ec/{negative → dist/negative}/logo-ec--pl.svg +0 -0
  302. package/logos/ec/{negative → dist/negative}/logo-ec--pt.svg +0 -0
  303. package/logos/ec/{negative → dist/negative}/logo-ec--ro.svg +0 -0
  304. package/logos/ec/dist/negative/logo-ec--ru.svg +91 -0
  305. package/logos/ec/{negative → dist/negative}/logo-ec--sk.svg +0 -0
  306. package/logos/ec/{negative → dist/negative}/logo-ec--sl.svg +0 -0
  307. package/logos/ec/{negative → dist/negative}/logo-ec--sv.svg +0 -0
  308. package/logos/ec/{negative → dist/negative}/logo-ec--tr.svg +0 -0
  309. package/logos/ec/dist/negative/logo-ec--uk.svg +90 -0
  310. package/logos/ec/dist/negative/logo-ec--zh.svg +72 -0
  311. package/logos/ec/{positive → dist/positive}/logo-ec--ar.svg +0 -0
  312. package/logos/ec/{positive → dist/positive}/logo-ec--bg.svg +0 -0
  313. package/logos/ec/{positive → dist/positive}/logo-ec--ca.svg +0 -0
  314. package/logos/ec/{positive → dist/positive}/logo-ec--cs.svg +0 -0
  315. package/logos/ec/{positive → dist/positive}/logo-ec--da.svg +0 -0
  316. package/logos/ec/{positive → dist/positive}/logo-ec--de.svg +0 -0
  317. package/logos/ec/{positive → dist/positive}/logo-ec--el.svg +0 -0
  318. package/logos/ec/{positive → dist/positive}/logo-ec--en.svg +0 -0
  319. package/logos/ec/{positive → dist/positive}/logo-ec--es.svg +0 -0
  320. package/logos/ec/{positive → dist/positive}/logo-ec--et.svg +0 -0
  321. package/logos/ec/{positive → dist/positive}/logo-ec--fi.svg +0 -0
  322. package/logos/ec/{positive → dist/positive}/logo-ec--fr.svg +0 -0
  323. package/logos/ec/{positive → dist/positive}/logo-ec--ga.svg +0 -0
  324. package/logos/ec/{positive → dist/positive}/logo-ec--hr.svg +0 -0
  325. package/logos/ec/{positive → dist/positive}/logo-ec--hu.svg +0 -0
  326. package/logos/ec/{positive → dist/positive}/logo-ec--is.svg +0 -0
  327. package/logos/ec/{positive → dist/positive}/logo-ec--it.svg +0 -0
  328. package/logos/ec/dist/positive/logo-ec--jp.svg +77 -0
  329. package/logos/ec/dist/positive/logo-ec--lb.svg +93 -0
  330. package/logos/ec/{positive → dist/positive}/logo-ec--lt.svg +0 -0
  331. package/logos/ec/{positive → dist/positive}/logo-ec--lv.svg +0 -0
  332. package/logos/ec/{positive → dist/positive}/logo-ec--mt.svg +0 -0
  333. package/logos/ec/{positive → dist/positive}/logo-ec--nl.svg +0 -0
  334. package/logos/ec/{positive → dist/positive}/logo-ec--no.svg +0 -0
  335. package/logos/ec/{positive → dist/positive}/logo-ec--pl.svg +0 -0
  336. package/logos/ec/{positive → dist/positive}/logo-ec--pt.svg +0 -0
  337. package/logos/ec/{positive → dist/positive}/logo-ec--ro.svg +0 -0
  338. package/logos/ec/dist/positive/logo-ec--ru.svg +91 -0
  339. package/logos/ec/{positive → dist/positive}/logo-ec--sk.svg +0 -0
  340. package/logos/ec/{positive → dist/positive}/logo-ec--sl.svg +0 -0
  341. package/logos/ec/{positive → dist/positive}/logo-ec--sv.svg +0 -0
  342. package/logos/ec/{positive → dist/positive}/logo-ec--tr.svg +0 -0
  343. package/logos/ec/dist/positive/logo-ec--uk.svg +90 -0
  344. package/logos/ec/dist/positive/logo-ec--zh.svg +77 -0
  345. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ar.svg +0 -0
  346. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--bg.svg +0 -0
  347. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ca.svg +0 -0
  348. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--cs.svg +0 -0
  349. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--da.svg +0 -0
  350. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--de.svg +0 -0
  351. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--el.svg +0 -0
  352. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--en.svg +0 -0
  353. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--es.svg +0 -0
  354. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--et.svg +0 -0
  355. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--fi.svg +0 -0
  356. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--fr.svg +0 -0
  357. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ga.svg +0 -0
  358. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--hr.svg +0 -0
  359. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--hu.svg +0 -0
  360. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--is.svg +0 -0
  361. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--it.svg +0 -0
  362. package/logos/eu/dist/condensed-version/negative/logo-eu--jp.svg +17 -0
  363. package/logos/eu/dist/condensed-version/negative/logo-eu--lb.svg +19 -0
  364. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--lt.svg +0 -0
  365. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--lv.svg +0 -0
  366. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--mt.svg +0 -0
  367. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--nl.svg +0 -0
  368. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--no.svg +0 -0
  369. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--pl.svg +0 -0
  370. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--pt.svg +0 -0
  371. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--ro.svg +0 -0
  372. package/logos/eu/dist/condensed-version/negative/logo-eu--ru.svg +19 -0
  373. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sk.svg +0 -0
  374. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sl.svg +0 -0
  375. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--sv.svg +0 -0
  376. package/logos/eu/{condensed-version → dist/condensed-version}/negative/logo-eu--tr.svg +0 -0
  377. package/logos/eu/dist/condensed-version/negative/logo-eu--uk.svg +19 -0
  378. package/logos/eu/dist/condensed-version/negative/logo-eu--zh.svg +7 -0
  379. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ar.svg +0 -0
  380. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--bg.svg +0 -0
  381. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ca.svg +0 -0
  382. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--cs.svg +0 -0
  383. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--da.svg +0 -0
  384. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--de.svg +0 -0
  385. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--el.svg +0 -0
  386. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--en.svg +0 -0
  387. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--es.svg +0 -0
  388. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--et.svg +0 -0
  389. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--fi.svg +0 -0
  390. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--fr.svg +0 -0
  391. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ga.svg +0 -0
  392. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--hr.svg +0 -0
  393. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--hu.svg +0 -0
  394. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--is.svg +0 -0
  395. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--it.svg +0 -0
  396. package/logos/eu/dist/condensed-version/positive/logo-eu--jp.svg +6 -0
  397. package/logos/eu/dist/condensed-version/positive/logo-eu--lb.svg +6 -0
  398. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--lt.svg +0 -0
  399. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--lv.svg +0 -0
  400. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--mt.svg +0 -0
  401. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--nl.svg +0 -0
  402. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--no.svg +0 -0
  403. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--pl.svg +0 -0
  404. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--pt.svg +0 -0
  405. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--ro.svg +0 -0
  406. package/logos/eu/dist/condensed-version/positive/logo-eu--ru.svg +6 -0
  407. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sk.svg +0 -0
  408. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sl.svg +0 -0
  409. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--sv.svg +0 -0
  410. package/logos/eu/{condensed-version → dist/condensed-version}/positive/logo-eu--tr.svg +0 -0
  411. package/logos/eu/dist/condensed-version/positive/logo-eu--uk.svg +6 -0
  412. package/logos/eu/dist/condensed-version/positive/logo-eu--zh.svg +6 -0
  413. package/logos/eu/{logo-eu--mute.svg → dist/logo-eu--mute.svg} +0 -0
  414. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ar.svg +0 -0
  415. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--bg.svg +0 -0
  416. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ca.svg +0 -0
  417. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--cs.svg +0 -0
  418. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--da.svg +0 -0
  419. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--de.svg +0 -0
  420. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--el.svg +0 -0
  421. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--en.svg +0 -0
  422. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--es.svg +0 -0
  423. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--et.svg +0 -0
  424. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--fi.svg +0 -0
  425. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--fr.svg +0 -0
  426. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ga.svg +0 -0
  427. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--hr.svg +0 -0
  428. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--hu.svg +0 -0
  429. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--is.svg +0 -0
  430. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--it.svg +0 -0
  431. package/logos/eu/dist/standard-version/negative/logo-eu--jp.svg +9 -0
  432. package/logos/eu/dist/standard-version/negative/logo-eu--lb.svg +21 -0
  433. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--lt.svg +0 -0
  434. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--lv.svg +0 -0
  435. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--mt.svg +0 -0
  436. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--nl.svg +0 -0
  437. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--no.svg +0 -0
  438. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--pl.svg +0 -0
  439. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--pt.svg +0 -0
  440. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--ro.svg +0 -0
  441. package/logos/eu/dist/standard-version/negative/logo-eu--ru.svg +20 -0
  442. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sk.svg +0 -0
  443. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sl.svg +0 -0
  444. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--sv.svg +0 -0
  445. package/logos/eu/{standard-version → dist/standard-version}/negative/logo-eu--tr.svg +0 -0
  446. package/logos/eu/dist/standard-version/negative/logo-eu--uk.svg +21 -0
  447. package/logos/eu/dist/standard-version/negative/logo-eu--zh.svg +9 -0
  448. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ar.svg +0 -0
  449. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--bg.svg +0 -0
  450. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ca.svg +0 -0
  451. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--cs.svg +0 -0
  452. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--da.svg +0 -0
  453. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--de.svg +0 -0
  454. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--el.svg +0 -0
  455. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--en.svg +0 -0
  456. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--es.svg +0 -0
  457. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--et.svg +0 -0
  458. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--fi.svg +0 -0
  459. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--fr.svg +0 -0
  460. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ga.svg +0 -0
  461. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--hr.svg +0 -0
  462. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--hu.svg +0 -0
  463. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--is.svg +0 -0
  464. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--it.svg +0 -0
  465. package/logos/eu/dist/standard-version/positive/logo-eu--jp.svg +8 -0
  466. package/logos/eu/dist/standard-version/positive/logo-eu--lb.svg +20 -0
  467. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--lt.svg +0 -0
  468. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--lv.svg +0 -0
  469. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--mt.svg +0 -0
  470. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--nl.svg +0 -0
  471. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--no.svg +0 -0
  472. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--pl.svg +0 -0
  473. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--pt.svg +0 -0
  474. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--ro.svg +0 -0
  475. package/logos/eu/dist/standard-version/positive/logo-eu--ru.svg +19 -0
  476. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sk.svg +0 -0
  477. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sl.svg +0 -0
  478. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--sv.svg +0 -0
  479. package/logos/eu/{standard-version → dist/standard-version}/positive/logo-eu--tr.svg +0 -0
  480. package/logos/eu/dist/standard-version/positive/logo-eu--uk.svg +20 -0
  481. package/logos/eu/dist/standard-version/positive/logo-eu--zh.svg +8 -0
  482. package/package.json +11 -10
  483. package/src/icons/icons.js +23 -23
  484. package/src/js/gallery/gallery.js +24 -21
  485. package/src/scss/_alert.scss +8 -0
  486. package/src/scss/_badge.scss +76 -58
  487. package/src/scss/_banners.scss +16 -0
  488. package/src/scss/_card.scss +14 -0
  489. package/src/scss/_description_list.scss +18 -0
  490. package/src/scss/_inpage-navigation.scss +8 -2
  491. package/src/scss/_multiselect.scss +30 -9
  492. package/src/scss/_pagination.scss +33 -0
  493. package/src/scss/_tabs.scss +3 -12
  494. package/src/scss/base/_colors.scss +0 -2
  495. package/src/scss/base/_layout.scss +42 -0
  496. package/src/scss/base/_mixins.scss +13 -0
  497. package/src/scss/base/_utilities.scss +36 -12
  498. package/src/scss/base/_variables.scss +9 -0
  499. package/src/scss/oe-bcl-default.scss +7 -0
  500. package/templates/bcl-accordion/accordion.html.twig +21 -5
  501. package/templates/bcl-alert/alert.html.twig +5 -3
  502. package/templates/bcl-badge/badge.html.twig +20 -14
  503. package/templates/bcl-banner/banner.html.twig +9 -5
  504. package/templates/bcl-base-templates/content-type.html.twig +8 -3
  505. package/templates/bcl-base-templates/listing-page.html.twig +21 -9
  506. package/templates/bcl-blockquote/blockquote.html.twig +20 -1
  507. package/templates/bcl-breadcrumb/breadcrumb.html.twig +3 -1
  508. package/templates/bcl-button/button.html.twig +6 -4
  509. package/templates/bcl-button-group/button-group.html.twig +4 -3
  510. package/templates/bcl-card/card.html.twig +32 -31
  511. package/templates/bcl-card-layout/card-layout.html.twig +3 -1
  512. package/templates/bcl-carousel/carousel.html.twig +27 -9
  513. package/templates/bcl-content-banner/content-banner.html.twig +54 -45
  514. package/templates/bcl-description-list/description-list.html.twig +136 -94
  515. package/templates/bcl-dropdown/dropdown.html.twig +3 -1
  516. package/templates/bcl-event/event.html.twig +2 -2
  517. package/templates/bcl-fact-figures/fact-figures.html.twig +30 -26
  518. package/templates/bcl-featured-media/featured-media.html.twig +21 -9
  519. package/templates/bcl-file/file.html.twig +58 -47
  520. package/templates/bcl-footer/footer.html.twig +2 -2
  521. package/templates/bcl-form/form.html.twig +5 -4
  522. package/templates/bcl-form-input/form-input.html.twig +25 -21
  523. package/templates/bcl-gallery/gallery.html.twig +18 -17
  524. package/templates/bcl-glossary/glossary-detail.html.twig +43 -0
  525. package/templates/bcl-glossary/glossary-listing.html.twig +22 -0
  526. package/templates/bcl-group/group-landing.html.twig +7 -7
  527. package/templates/bcl-group/group.html.twig +1 -1
  528. package/templates/bcl-header/header.html.twig +11 -9
  529. package/templates/bcl-heading/heading.html.twig +9 -11
  530. package/templates/bcl-icon/icon.html.twig +3 -2
  531. package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +25 -28
  532. package/templates/bcl-landing-page/landing-page.html.twig +2 -2
  533. package/templates/bcl-language-list/language-list-grid.html.twig +1 -1
  534. package/templates/bcl-link/link.html.twig +6 -4
  535. package/templates/bcl-links-block/links-block.html.twig +28 -19
  536. package/templates/bcl-list-group/list-group.html.twig +3 -1
  537. package/templates/bcl-listing/listing.html.twig +57 -58
  538. package/templates/bcl-modal/modal.html.twig +17 -5
  539. package/templates/bcl-navbar/navbar.html.twig +4 -1
  540. package/templates/bcl-navigation/navigation.html.twig +3 -1
  541. package/templates/bcl-offcanvas/offcanvas.html.twig +21 -23
  542. package/templates/bcl-page/page.html.twig +7 -26
  543. package/templates/bcl-pagination/pagination.html.twig +10 -4
  544. package/templates/bcl-person/person.html.twig +6 -19
  545. package/templates/bcl-placeholder/placeholder.html.twig +4 -3
  546. package/templates/bcl-progress/progress.html.twig +5 -0
  547. package/templates/bcl-project/project-lists.html.twig +8 -5
  548. package/templates/bcl-project/project.html.twig +11 -19
  549. package/templates/bcl-project-status/project-status.html.twig +2 -0
  550. package/templates/bcl-recent-activities/recent-activities.html.twig +9 -7
  551. package/templates/bcl-search/search.html.twig +9 -2
  552. package/templates/bcl-search-form/search-form.html.twig +6 -5
  553. package/templates/bcl-select/select.html.twig +18 -17
  554. package/templates/bcl-spinner/spinner.html.twig +2 -0
  555. package/templates/bcl-subscription-block/subscription-block.html.twig +4 -2
  556. package/templates/bcl-table/table.html.twig +3 -1
  557. package/templates/bcl-textarea/textarea.html.twig +22 -19
  558. package/templates/bcl-timeline/timeline.html.twig +24 -20
  559. package/templates/bcl-toast/toasts.html.twig +15 -15
  560. package/templates/bcl-user/{user-view-compact.html.twig → user-compact.html.twig} +3 -2
  561. package/templates/bcl-user/user-terms.html.twig +11 -0
  562. package/templates/bcl-user/user.html.twig +137 -0
  563. package/yarn-error.log +17973 -0
  564. package/templates/bcl-user/user-edit.html.twig +0 -38
  565. package/templates/bcl-user/user-view.html.twig +0 -86
@@ -2,142 +2,184 @@
2
2
 
3
3
  {#
4
4
  Parameters:
5
- - title: (string) (default: "")
6
- - title_tag: (string) (default: "h2")
5
+ - title: (string) (default: '')
6
+ - title_tag: (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
7
8
  - title_attributes (drupal attrs)
8
- - "items" (array) (default: []): format: [
9
+ - bordered (boolean) (default: '')
10
+ - items (array) (default: []): format: [
9
11
  {
10
- "term" (object or array of object) -format: {
12
+ term (object or array of object) -format: {
11
13
  icon: {} - icon object,
12
- label: ""
14
+ label: ''
13
15
  }
14
- "definition" (block or array of string)
16
+ definition (block or array of string)
15
17
  },
16
18
  ...
17
19
  ]
18
- - "variant" (string) (default: '')
19
- - option: ["horizontal"]
20
+ - variant (string) (default: '')
21
+ - option: ['horizontal']
20
22
  #}
21
23
 
22
- {# Parameters #}
23
-
24
24
  {% set _title = title|default('') %}
25
25
  {% set _title_tag = title_tag|default('h2') %}
26
+ {% set _title_link = title_link|default({}) %}
27
+ {% set _bordered = bordered|default(false) %}
28
+ {% set _title_link = title_link|default({}) %}
26
29
  {% set _title_attributes = title_attributes ?: create_attribute() %}
27
30
  {% set _items = items|default([]) %}
28
31
  {% set _variant = variant|default('') %}
29
32
 
33
+ {% set _classes = ['bcl-description-list'] %}
34
+
30
35
  {% if attributes is empty %}
31
36
  {% set attributes = create_attribute() %}
32
37
  {% endif %}
33
38
 
39
+ {% set _item_classes = '' %}
40
+
34
41
  {% if _variant == 'horizontal' %}
35
- {% set attributes = attributes.addClass(["d-md-grid", "grid-3-9"]) %}
42
+ {% set _item_classes = 'd-md-grid grid-3-9' %}
43
+ {% if _bordered %}
44
+ {% set _item_classes = _item_classes ~ ' mb-2-5 pb-2-5' %}
45
+ {% else %}
46
+ {% set _item_classes = _item_classes ~ ' mb-3' %}
47
+ {% endif %}
48
+ {% else %}
49
+ {% set _item_classes = 'mb-3' %}
50
+ {% if _bordered %}
51
+ {% set _item_classes = 'mb-2-5' %}
52
+ {% set _item_classes = _item_classes ~ ' pb-2-5' %}
53
+ {% endif %}
54
+ {% endif %}
55
+
56
+ {% if _bordered %}
57
+ {% set _item_classes = _item_classes ~ ' border-bottom' %}
36
58
  {% endif %}
37
59
 
38
60
  {% if _title is not empty %}
39
61
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
40
62
  title: _title,
41
63
  title_tag: _title_tag,
64
+ title_link: _title_link,
42
65
  attributes: _title_attributes,
43
66
  } only %}
44
67
  {% endif %}
45
68
 
46
- <dl
69
+ {% set attributes = attributes.addClass(_classes) %}
70
+
71
+ <div
47
72
  {{ attributes }}
48
73
  >
49
74
  {% for _item in _items %}
50
- {% if _item.term is not empty %}
51
- {% if _item.term is iterable %}
52
- {% if _variant == 'horizontal' %}
53
- <div>
54
- {% endif %}
55
- {% for _term in _item.term %}
56
- <dt
57
- {% if _variant == 'horizontal' and _term.icon is not empty %}
58
- class="d-flex"
59
- {% endif %}
60
- >
61
- {%- if _term.icon is not empty -%}
62
- {% set _icon_classes = ["me-2"] %}
63
- {% if _variant == 'horizontal' %}
64
- {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
65
- {% endif %}
66
- {% include '@oe-bcl/bcl-icon/icon.html.twig' with _term.icon|merge({
67
- attributes: create_attribute().addClass(_icon_classes)
68
- }) only %}
69
- <p class="mb-0 d-inline-block">{{ _term.label }}</p>
70
- {%- elseif _term.color is not empty -%}
71
- <div class="d-flex align-items-center">
72
- <span class="p-2 me-2 d-inline-block rounded-1 {{ _term.color }}"></span>{{- _term.label -}}
73
- </div>
74
- {%- else -%}
75
- {{- _term.label -}}
76
- {%- endif -%}
77
- </dt>
78
- {% endfor %}
75
+ {% if loop.last and _variant != 'horizontal' %}
76
+ {% set _item_classes = '' %}
77
+ {% endif %}
78
+ {% if _item.term is not empty %}
79
+ <dl
80
+ {% if _item_classes is not empty %}
81
+ class="{{ _item_classes }}"
82
+ {% endif %}
83
+ >
84
+ {% if _item.term is iterable %}
85
+ <dt>
86
+ {% for _term in _item.term %}
87
+ {%- if _item.term|length > 1 -%}
88
+ <div
89
+ {% if _variant == 'horizontal' and _term.icon is not empty %}
90
+ class="d-flex"
91
+ {% endif %}
92
+ >
93
+ {%- endif -%}
94
+ {%- if _term.icon is not empty -%}
95
+ {% set _icon_classes = ["me-2"] %}
79
96
  {% if _variant == 'horizontal' %}
80
- </div>
97
+ {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
81
98
  {% endif %}
82
- {% else %}
83
- <dt
84
- {% if _variant == 'horizontal' and _item.term.icon is not empty %}
85
- class="d-flex"
86
- {% endif %}
87
- >
88
- {%- if _item.term.icon is not empty -%}
89
- {% set _icon_classes = ["me-2"] %}
90
- {% if _variant == 'horizontal' %}
91
- {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
92
- {% endif %}
93
- {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _item.term.icon|merge({
94
- attributes: create_attribute().addClass(_icon_classes)
95
- }) only -%}
96
- <p class="mb-0 d-inline-block">{{ _item.term.label }}</p>
97
- {%- elseif _item.term.color is not empty -%}
98
- <div class="d-flex align-items-center">
99
- <span class="p-2 me-2 d-inline-block rounded-1 {{ _item.term.color }}"></span>{{- _item.term.label -}}
100
- </div>
101
- {%- else -%}
102
- {{- _item.term.label -}}
103
- {%- endif -%}
104
- </dt>
99
+ {% include '@oe-bcl/bcl-icon/icon.html.twig' with _term.icon|merge({
100
+ attributes: create_attribute().addClass(_icon_classes)
101
+ }) only %}
102
+ <p class="mb-0 d-inline-block">{{ _term.label }}</p>
103
+ {%- elseif _term.color is not empty -%}
104
+ <div class="d-flex align-items-center">
105
+ <span class="p-2 me-2 d-inline-block rounded-1 {{ _term.color }}"></span>{{- _term.label -}}
106
+ </div>
107
+ {%- else -%}
108
+ {{- _term.label -}}
109
+ {%- endif -%}
110
+ {% if _item.term|length > 1 %}
111
+ </div>
112
+ {% endif %}
113
+ {% endfor %}
114
+ </dt>
115
+ {% else %}
116
+ <dt
117
+ {% if _variant == 'horizontal' and _item.term.icon is not empty %}
118
+ class="d-flex"
105
119
  {% endif %}
120
+ >
121
+ {%- if _item.term.icon is not empty -%}
122
+ {% set _icon_classes = ["me-2"] %}
123
+ {% if _variant == 'horizontal' %}
124
+ {% set _icon_classes = _icon_classes|merge(["mt-1"]) %}
125
+ {% endif %}
126
+ {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _item.term.icon|merge({
127
+ attributes: create_attribute().addClass(_icon_classes)
128
+ }) only -%}
129
+ <p class="mb-0 d-inline-block">{{ _item.term.label }}</p>
130
+ {%- elseif _item.term.color is not empty -%}
131
+ <div class="d-flex align-items-center">
132
+ <span class="p-2 me-2 d-inline-block rounded-1 {{ _item.term.color }}"></span>{{- _item.term.label -}}
133
+ </div>
134
+ {%- else -%}
135
+ {{- _item.term.label -}}
136
+ {%- endif -%}
137
+ </dt>
106
138
  {% endif %}
107
- {% if _item.definition is not empty %}
108
- {% if _item.definition is iterable %}
109
- {% if _variant == 'horizontal' %}
110
- <dd>
139
+ {% endif %}
140
+ {% if _item.definition is not empty %}
141
+ {% if _item.definition is iterable %}
142
+ {% if _variant == 'horizontal' %}
143
+ <dd
144
+ {% if _bordered %}
145
+ class="mb-0"
111
146
  {% endif %}
112
- {% for _definition in _item.definition %}
113
- {% if _variant == 'horizontal' %}<div>{% else %}<dd>{% endif %}
114
- {%- if _definition.button is defined -%}
115
- {% include '@oe-bcl/bcl-button/button.html.twig' with _definition.button only %}
116
- {%- elseif _definition.link is defined %}
117
- {% include '@oe-bcl/bcl-link/link.html.twig' with _definition.link only -%}
147
+ >
148
+ {% endif %}
149
+ {% for _definition in _item.definition %}
150
+ {% if _variant == 'horizontal' %}<div>{% else %}<dd>{% endif %}
151
+ {%- if _definition.button is defined -%}
152
+ {% include '@oe-bcl/bcl-button/button.html.twig' with _definition.button only %}
153
+ {%- elseif _definition.link is defined %}
154
+ {% include '@oe-bcl/bcl-link/link.html.twig' with _definition.link only -%}
155
+ {%- else -%}
156
+ {%- if _definition.icon is defined -%}
157
+ {%- set _icon_classes = ["me-2"] -%}
158
+ {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _definition.icon|merge({
159
+ attributes: create_attribute().addClass(_icon_classes)
160
+ }) only -%}
161
+ <p class="mb-0 d-inline-block">{{ _definition.label }}</p>
118
162
  {%- else -%}
119
- {%- if _definition.icon is defined -%}
120
- {%- set _icon_classes = ["me-2"] -%}
121
- {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _definition.icon|merge({
122
- attributes: create_attribute().addClass(_icon_classes)
123
- }) only -%}
124
- <p class="mb-0 d-inline-block">{{ _definition.label }}</p>
125
- {%- else -%}
126
- {{- _definition.label -}}
127
- {%- endif -%}
163
+ {{- _definition.label -}}
128
164
  {%- endif -%}
129
- {% if _variant == 'horizontal' %}</div>{% else %}</dd>{% endif %}
130
- {% endfor %}
131
- {% if _variant == 'horizontal' %}
132
- </dd>
133
- {% endif %}
134
- {% else %}
135
- <dd>
136
- {%- block definition _item.definition -%}
137
- </dd>
165
+ {%- endif -%}
166
+ {% if _variant == 'horizontal' %}</div>{% else %}</dd>{% endif %}
167
+ {% endfor %}
168
+ {% if _variant == 'horizontal' %}
169
+ </dd>
170
+ {% endif %}
171
+ {% else %}
172
+ <dd
173
+ {% if _bordered %}
174
+ class="mb-0"
138
175
  {% endif %}
176
+ >
177
+ {%- block definition _item.definition -%}
178
+ </dd>
139
179
  {% endif %}
180
+ </dl>
181
+ {% endif %}
140
182
  {% endfor %}
141
- </dl>
183
+ </div>
142
184
 
143
185
  {% endspaceless %}
@@ -1,7 +1,7 @@
1
1
  {% spaceless %}
2
2
 
3
3
  {# Parameters:
4
- - id (string) (default: '')
4
+ - id (string) (default: 'dropdown-' random(1000))
5
5
  - trigger (object of Button or Link component)
6
6
  - link (boolean) (default: false)
7
7
  - direction (string) (default: '')
@@ -32,6 +32,7 @@
32
32
  - button (boolean) - set to button
33
33
  }
34
34
  ]
35
+ - attributes (drupal attrs)
35
36
  #}
36
37
 
37
38
  {% set _id = id|default('dropdown-' ~ random(1000)) %}
@@ -42,6 +43,7 @@
42
43
  {% set _dark = dark|default(false) %}
43
44
  {% set _remove_wrapper = remove_wrapper|default(false) %}
44
45
  {% set _items = items|default([]) %}
46
+
45
47
  {% set _class = 'dropdown' %}
46
48
  {% set _dropdown_classes = ['dropdown-menu'] %}
47
49
 
@@ -7,7 +7,7 @@
7
7
  {% block content %}
8
8
  {% include '@oe-bcl/bcl-description-list/description-list.html.twig' with details_list only %}
9
9
 
10
- <h3 id="item-1" class="fw-bold my-4">Description</h3>
10
+ <h2 id="item-1" class="my-4">Description</h2>
11
11
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
12
12
  a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
13
13
  posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
@@ -18,7 +18,7 @@
18
18
  a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet.
19
19
  </p>
20
20
 
21
- <h3 id="item-2" class="fw-bold my-4">Related documents</h3>
21
+ <h2 id="item-2" class="my-4">Related documents</h2>
22
22
  {% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
23
23
  {% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
24
24
  {% endblock %}
@@ -2,33 +2,34 @@
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
- {% set _css_classes = ['bcl-fact-figures', 'bcl-fact-figures--' ~ _variant] %}
32
+ {% set _classes = ['bcl-fact-figures', 'bcl-fact-figures--' ~ _variant] %}
32
33
  {% set _display_icons = display_icons ?? true %}
33
34
  {% set _items = items|default([]) %}
34
35
  {% set _grid_columns = grid_columns|default(1) %}
@@ -65,13 +66,14 @@
65
66
  {% set attributes = create_attribute() %}
66
67
  {% endif %}
67
68
 
68
- {% set attributes = attributes.addClass(_css_classes) %}
69
+ {% set attributes = attributes.addClass(_classes) %}
69
70
 
70
71
  <div {{ attributes }}>
71
72
  {% if _title is not empty %}
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 %}
@@ -85,23 +87,25 @@
85
87
  {% for _item in _items %}
86
88
  <div class="{{ _cols_classes }}">
87
89
  {% if _item.icon is defined and _item.icon is not empty and _display_icons %}
90
+ {% set _icon_attributes = _item.icon.attributes ?: create_attribute() %}
88
91
  {% set _item = _item|merge({
89
92
  icon: _item.icon|merge({
90
93
  path: _icon_path,
91
94
  size: 'l',
95
+ attributes: _icon_attributes.addClass('mb-2'),
92
96
  })
93
97
  }) %}
94
98
  {% include '@oe-bcl/bcl-icon/icon.html.twig' with _item.icon only %}
95
99
  {% endif %}
96
100
  {% if _item.title is defined and _item.title is not empty %}
97
- <h4 class="text-capitalize fw-bold mt-2">
101
+ <div class="fs-4 fw-medium">
98
102
  {{- _item.title -}}
99
- </h4>
103
+ </div>
100
104
  {% endif %}
101
105
  {% if _item.subtitle is defined and _item.subtitle is not empty %}
102
- <h5 class="fw-bold">
106
+ <div class="fs-5 fw-medium">
103
107
  {{- _item.subtitle -}}
104
- </h5>
108
+ </div>
105
109
  {% endif %}
106
110
  {% if _item.description is defined and _item.description is not empty %}
107
111
  <p>
@@ -2,8 +2,10 @@
2
2
 
3
3
  {# Parameters:
4
4
  - with_text (boolean) (default: false)
5
- - title: (string) (default: '')
6
- - title_tag: (string) (default: 'h2')
5
+ - title (string) (default: '')
6
+ - title_tag (string) (default: 'h2')
7
+ - title_link: (link object) (default: {})
8
+ - title_attributes: (drupal attrs)
7
9
  - image: (string) (default: "")
8
10
  - poster_image: (string) (default: "")
9
11
  - content: (string) (default: "")
@@ -34,6 +36,8 @@
34
36
 
35
37
  {% set _title = title|default('') %}
36
38
  {% set _title_tag = title_tag|default('h2') %}
39
+ {% set _title_link = title_link|default({}) %}
40
+ {% set _title_attributes = title_attributes ?: create_attribute() %}
37
41
  {% set _with_text = with_text|default(false) %}
38
42
  {% set _wrapper_classes = 'bcl-featured-item' %}
39
43
  {% set _description = description|default('') %}
@@ -57,19 +61,27 @@
57
61
  {% set attributes = create_attribute() %}
58
62
  {% endif %}
59
63
 
64
+ {% if _with_text %}
65
+ {% set _title_attributes = _title_attributes.addClass(['fw-bold', 'mb-4']) %}
66
+ {% endif %}
67
+
60
68
  {% set attributes = attributes.addClass(["rounded", "overflow-hidden"]) %}
61
69
 
62
70
  {% if _with_text %}
63
71
  <div class="{{ _wrapper_classes }}">
64
-
65
- {% if _title is not empty %}
66
- {% set _title_classes = 'fw-bold mb-4' %}
67
- <{{ _title_tag }} class="{{ _title_classes }}">
68
- {{- _title -}}
69
- </{{ _title_tag }}>
72
+ <div class="row">
70
73
  {% endif %}
71
74
 
72
- <div class="row">
75
+ {%- if _title is not empty -%}
76
+ {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
77
+ title: _title,
78
+ title_tag: _title_tag,
79
+ title_link: _title_link,
80
+ attributes: _title_attributes,
81
+ } only %}
82
+ {%- endif -%}
83
+
84
+ {% if _with_text %}
73
85
  <div class="{{ _col_classes }} order-{{ _alignment == "right" ? '1' : '2' }}">
74
86
  {{- _description|default('') -}}
75
87
 
@@ -4,14 +4,16 @@
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: {})
11
+ - icon_inline (boolean) (deafult: true)
10
12
  - text (string) (default: '')
11
13
  - content (string) (default: '')
12
14
  - image (object) (default: {}) - format: {
13
- path:"",
14
- alt: "",
15
+ path: '',
16
+ alt: '',
15
17
  }
16
18
  - badges (array of badges Object) (default: [])
17
19
  - meta (string) (default: '')
@@ -20,24 +22,27 @@
20
22
  - options: ['default', 'card']
21
23
  - download (link Object) (default: {})
22
24
  - translation (object) (default: {}) format: {
23
- id: "",
25
+ id: '',
24
26
  label: {}, - link Object
25
27
  items: [
26
28
  {
27
- extension: "",
28
- language: "",
29
- size: "",
29
+ extension: '',
30
+ language: '',
31
+ size: '',
30
32
  download: {}, - link Object
31
33
  },
32
34
  }
33
35
  - icon_path (string) (default: '')
36
+ - attributes (drupal attrs)
34
37
  #}
35
38
 
36
39
  {# Internal properties #}
37
40
 
38
41
  {% set _icon = icon|default({}) %}
42
+ {% set _icon_inline = icon_inline|default(true) %}
39
43
  {% set _title = title|default('') %}
40
44
  {% set _title_tag = title_tag|default('h2') %}
45
+ {% set _title_link = title_link|default({}) %}
41
46
  {% set _title_attributes = title_attributes ?: create_attribute() %}
42
47
  {% set _item_title = item_title|default('') %}
43
48
  {% set _text = text|default('') %}
@@ -51,7 +56,14 @@
51
56
  {% set _translation = translation|default({}) %}
52
57
  {% set _icon_path = icon_path|default({}) %}
53
58
 
54
- {% set _container_classes = 'w-100 d-md-flex' %}
59
+ {% set _classes = ['bcl-file'] %}
60
+
61
+ {% if attributes is empty %}
62
+ {% set attributes = create_attribute() %}
63
+ {% endif %}
64
+
65
+ {% set attributes = attributes.addClass(_classes) %}
66
+
55
67
  {% if _icon is not empty %}
56
68
  {% set _container_classes = _container_classes ~ ' ms-2-5' %}
57
69
  {% set _icon = _icon|merge({
@@ -59,65 +71,62 @@
59
71
  }) %}
60
72
  {% endif %}
61
73
 
62
- {% if attributes is empty %}
63
- {% set attributes = create_attribute() %}
64
- {% endif %}
65
-
66
74
  {% if _title is not empty %}
67
75
  {% include '@oe-bcl/bcl-heading/heading.html.twig' with {
68
76
  title: _title,
69
77
  title_tag: _title_tag,
78
+ title_link: _title_link,
70
79
  attributes: _title_attributes,
71
80
  } only %}
72
81
  {% endif %}
73
82
 
74
- {% if _variant == 'card' %}
75
- {% set attributes = attributes.addClass(['border', 'rounded-bottom']) %}
76
- {% set _image = _image|merge({
77
- position: "top",
78
- classes: "mb-3",
79
- rounded: 0,
80
- }) %}
81
- {% include '@oe-bcl/bcl-card/card.html.twig' with {
82
- horizontal: true,
83
- horizontal_grid: {
84
- left_col_classes: "col-12 col-md-4 order-md-2",
85
- right_col_classes: "col-12 col-md-8",
86
- },
87
- badges: _badges,
88
- title: {
89
- content: _item_title,
90
- },
91
- text: {
92
- content: _text,
93
- classes: "mb-2",
94
- },
95
- content: _content,
96
- image: _image,
97
- extra_classes_body: "p-0",
98
- attributes: create_attribute().addClass(['rounded-0', 'rounded-top', 'p-4', 'border-bottom-0'])
99
- } only %}
100
- {% else %}
101
- {% set attributes = attributes.addClass(['border', 'rounded']) %}
102
- {% endif %}
83
+ {% set attributes = attributes.addClass(['border', 'rounded']) %}
84
+
85
+ {% set _container_classes = 'd-md-flex flex-grow-1' %}
103
86
 
104
87
  <div
105
88
  {{ attributes }}
106
89
  >
107
- <div class="px-3-5 py-3">
108
- <div class="d-flex">
90
+ {% if _variant == 'card' %}
91
+ <div class="border-bottom px-3-5 py-3 d-md-flex">
92
+ <div class="pe-2 pb-2">
109
93
  {% if _icon is not empty %}
110
94
  {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _icon|merge({
111
95
  path: _icon_path,
112
96
  }) only -%}
113
97
  {% endif %}
98
+ </div>
99
+ <div>
100
+ {% if _item_title is not empty %}
101
+ <p class="fw-medium mb-2 fs-5">{{ _item_title }}</p>
102
+ {% endif %}
103
+ {% if _text is not empty %}
104
+ <p class="mb-3">{{ _text }}</p>
105
+ {% endif %}
106
+ {% if _content is not empty %}
107
+ {{ _content }}
108
+ {% endif %}
109
+ </div>
110
+ </div>
111
+ {% endif %}
112
+ <div class="px-3-5 py-3">
113
+ <div class="d-flex">
114
+ {% if _icon is not empty and _variant == 'default' %}
115
+ <div class="pe-2 pb-2">
116
+ {% if _icon is not empty %}
117
+ {%- include '@oe-bcl/bcl-icon/icon.html.twig' with _icon|merge({
118
+ path: _icon_path,
119
+ }) only -%}
120
+ {% endif %}
121
+ </div>
122
+ {% endif %}
114
123
  <div class="{{ _container_classes }}">
115
124
  <div class="flex-grow-1">
116
125
  {% if _item_title is not empty and _variant == 'default' %}
117
- <p class="fw-bold m-0">{{ _item_title }}</p>
126
+ <p class="fw-medium m-0 fs-5">{{ _item_title }}</p>
118
127
  {% endif %}
119
128
  {% if _language is not empty or _meta is not empty %}
120
- <small class="fw-bold m-0">
129
+ <small class="fw-medium m-0">
121
130
  {%- if _language is not empty -%}
122
131
  {{- _language -}}
123
132
  {%- endif -%}
@@ -137,8 +146,9 @@
137
146
  path: _icon_path,
138
147
  },
139
148
  attributes: create_attribute()
140
- .setAttribute('download', _download.url)
141
- .addClass(['standalone', 'align-self-center', 'd-inline-block', 'mt-1', 'mt-md-0'])
149
+ .setAttribute('download', true)
150
+ .setAttribute('target', '_blank')
151
+ .addClass(['standalone', 'align-self-center', 'd-inline-block', 'mt-1', 'mt-md-0', 'flex-shrink-0'])
142
152
  }) %}
143
153
  {% include '@oe-bcl/bcl-link/link.html.twig' with _download only %}
144
154
  </div>
@@ -196,7 +206,8 @@
196
206
  path: _icon_path,
197
207
  },
198
208
  attributes: create_attribute()
199
- .setAttribute("download", _item.download.url)
209
+ .setAttribute('download', true)
210
+ .setAttribute('target', '_blank')
200
211
  .addClass(['d-block', 'standalone', 'mt-1'])
201
212
  }) only %}
202
213
  </div>