@openeuropa/bcl-theme-default 0.23.0 → 0.24.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.
- package/bcl-builder.config.js +6 -2
- package/css/oe-bcl-default.css +239 -1744
- package/css/oe-bcl-default.css.map +1 -1
- package/css/oe-bcl-default.min.css +1 -1
- package/css/oe-bcl-default.min.css.map +1 -1
- package/icons/world-flags/ad.svg +154 -0
- package/icons/world-flags/ae.svg +6 -0
- package/icons/world-flags/af.svg +1 -0
- package/icons/world-flags/ag.svg +1 -0
- package/icons/world-flags/ai.svg +1 -0
- package/icons/world-flags/al.svg +1 -0
- package/icons/world-flags/am.svg +5 -0
- package/icons/world-flags/an.svg +24 -0
- package/icons/world-flags/ao.svg +1 -0
- package/icons/world-flags/aq.svg +1 -0
- package/icons/world-flags/ar.svg +33 -0
- package/icons/world-flags/as.svg +1 -0
- package/icons/world-flags/at.svg +4 -0
- package/icons/world-flags/au.svg +1 -0
- package/icons/world-flags/aw.svg +1 -0
- package/icons/world-flags/ax.svg +11 -0
- package/icons/world-flags/az.svg +8 -0
- package/icons/world-flags/ba.svg +11 -0
- package/icons/world-flags/bb.svg +7 -0
- package/icons/world-flags/bd.svg +4 -0
- package/icons/world-flags/be.svg +5 -0
- package/icons/world-flags/bf.svg +14 -0
- package/icons/world-flags/bg.svg +5 -0
- package/icons/world-flags/bh.svg +1 -0
- package/icons/world-flags/bi.svg +26 -0
- package/icons/world-flags/bj.svg +5 -0
- package/icons/world-flags/bl.svg +160 -0
- package/icons/world-flags/bm.svg +1 -0
- package/icons/world-flags/bn.svg +58 -0
- package/icons/world-flags/bo.svg +1 -0
- package/icons/world-flags/bq.svg +5 -0
- package/icons/world-flags/br.svg +89 -0
- package/icons/world-flags/bs.svg +5 -0
- package/icons/world-flags/bt.svg +466 -0
- package/icons/world-flags/bv.svg +7 -0
- package/icons/world-flags/bw.svg +5 -0
- package/icons/world-flags/by.svg +14 -0
- package/icons/world-flags/bz.svg +1 -0
- package/icons/world-flags/ca.svg +1 -0
- package/icons/world-flags/cc.svg +19 -0
- package/icons/world-flags/cd.svg +5 -0
- package/icons/world-flags/cf.svg +8 -0
- package/icons/world-flags/cg.svg +5 -0
- package/icons/world-flags/ch.svg +5 -0
- package/icons/world-flags/ci.svg +5 -0
- package/icons/world-flags/ck.svg +1 -0
- package/icons/world-flags/cl.svg +14 -0
- package/icons/world-flags/cm.svg +15 -0
- package/icons/world-flags/cn.svg +11 -0
- package/icons/world-flags/co.svg +5 -0
- package/icons/world-flags/cr.svg +1 -0
- package/icons/world-flags/cu.svg +6 -0
- package/icons/world-flags/cv.svg +24 -0
- package/icons/world-flags/cw.svg +16 -0
- package/icons/world-flags/cx.svg +15 -0
- package/icons/world-flags/cy.svg +1 -0
- package/icons/world-flags/cz.svg +5 -0
- package/icons/world-flags/de.svg +6 -0
- package/icons/world-flags/dj.svg +6 -0
- package/icons/world-flags/dk.svg +5 -0
- package/icons/world-flags/dm.svg +1 -0
- package/icons/world-flags/do.svg +1 -0
- package/icons/world-flags/dz.svg +5 -0
- package/icons/world-flags/ec.svg +519 -0
- package/icons/world-flags/ee.svg +5 -0
- package/icons/world-flags/eg.svg +78 -0
- package/icons/world-flags/eh.svg +9 -0
- package/icons/world-flags/er.svg +6 -0
- package/icons/world-flags/es.svg +1 -0
- package/icons/world-flags/et.svg +16 -0
- package/icons/world-flags/eu.svg +29 -0
- package/icons/world-flags/fi.svg +5 -0
- package/icons/world-flags/fj.svg +1 -0
- package/icons/world-flags/fk.svg +1 -0
- package/icons/world-flags/fm.svg +16 -0
- package/icons/world-flags/fo.svg +11 -0
- package/icons/world-flags/fr.svg +1 -0
- package/icons/world-flags/ga.svg +5 -0
- package/icons/world-flags/gb-eng.svg +7 -0
- package/icons/world-flags/gb-nir.svg +1 -0
- package/icons/world-flags/gb-sct.svg +1 -0
- package/icons/world-flags/gb-wls.svg +9 -0
- package/icons/world-flags/gb.svg +1 -0
- package/icons/world-flags/gd.svg +27 -0
- package/icons/world-flags/ge.svg +17 -0
- package/icons/world-flags/gf.svg +5 -0
- package/icons/world-flags/gg.svg +8 -0
- package/icons/world-flags/gh.svg +6 -0
- package/icons/world-flags/gi.svg +54 -0
- package/icons/world-flags/gl.svg +4 -0
- package/icons/world-flags/gm.svg +7 -0
- package/icons/world-flags/gn.svg +5 -0
- package/icons/world-flags/gp.svg +5 -0
- package/icons/world-flags/gq.svg +75 -0
- package/icons/world-flags/gr.svg +4 -0
- package/icons/world-flags/gs.svg +1 -0
- package/icons/world-flags/gt.svg +214 -0
- package/icons/world-flags/gu.svg +1 -0
- package/icons/world-flags/gw.svg +13 -0
- package/icons/world-flags/gy.svg +7 -0
- package/icons/world-flags/hk.svg +12 -0
- package/icons/world-flags/hm.svg +1 -0
- package/icons/world-flags/hn.svg +18 -0
- package/icons/world-flags/hr.svg +240 -0
- package/icons/world-flags/ht.svg +196 -0
- package/icons/world-flags/hu.svg +5 -0
- package/icons/world-flags/id.svg +4 -0
- package/icons/world-flags/ie.svg +9 -0
- package/icons/world-flags/il.svg +1 -0
- package/icons/world-flags/im.svg +59 -0
- package/icons/world-flags/in.svg +25 -0
- package/icons/world-flags/io.svg +178 -0
- package/icons/world-flags/iq.svg +1 -0
- package/icons/world-flags/ir.svg +31 -0
- package/icons/world-flags/is.svg +5 -0
- package/icons/world-flags/it.svg +5 -0
- package/icons/world-flags/je.svg +49 -0
- package/icons/world-flags/jm.svg +4 -0
- package/icons/world-flags/jo.svg +7 -0
- package/icons/world-flags/jp.svg +4 -0
- package/icons/world-flags/ke.svg +23 -0
- package/icons/world-flags/kg.svg +1 -0
- package/icons/world-flags/kh.svg +116 -0
- package/icons/world-flags/ki.svg +1 -0
- package/icons/world-flags/km.svg +13 -0
- package/icons/world-flags/kn.svg +1 -0
- package/icons/world-flags/kp.svg +16 -0
- package/icons/world-flags/kr.svg +1 -0
- package/icons/world-flags/kw.svg +6 -0
- package/icons/world-flags/ky.svg +1 -0
- package/icons/world-flags/kz.svg +37 -0
- package/icons/world-flags/la.svg +5 -0
- package/icons/world-flags/lb.svg +5 -0
- package/icons/world-flags/lc.svg +6 -0
- package/icons/world-flags/li.svg +56 -0
- package/icons/world-flags/lk.svg +31 -0
- package/icons/world-flags/lr.svg +15 -0
- package/icons/world-flags/ls.svg +23 -0
- package/icons/world-flags/lt.svg +5 -0
- package/icons/world-flags/lu.svg +5 -0
- package/icons/world-flags/lv.svg +4 -0
- package/icons/world-flags/ly.svg +8 -0
- package/icons/world-flags/ma.svg +6 -0
- package/icons/world-flags/mc.svg +4 -0
- package/icons/world-flags/md.svg +140 -0
- package/icons/world-flags/me.svg +93 -0
- package/icons/world-flags/mf.svg +5 -0
- package/icons/world-flags/mg.svg +5 -0
- package/icons/world-flags/mh.svg +19 -0
- package/icons/world-flags/mk.svg +7 -0
- package/icons/world-flags/ml.svg +5 -0
- package/icons/world-flags/mm.svg +12 -0
- package/icons/world-flags/mn.svg +21 -0
- package/icons/world-flags/mo.svg +10 -0
- package/icons/world-flags/mp.svg +240 -0
- package/icons/world-flags/mq.svg +1 -0
- package/icons/world-flags/mr.svg +6 -0
- package/icons/world-flags/ms.svg +1 -0
- package/icons/world-flags/mt.svg +49 -0
- package/icons/world-flags/mu.svg +6 -0
- package/icons/world-flags/mv.svg +8 -0
- package/icons/world-flags/mw.svg +24 -0
- package/icons/world-flags/mx.svg +1 -0
- package/icons/world-flags/my.svg +13 -0
- package/icons/world-flags/mz.svg +13 -0
- package/icons/world-flags/na.svg +1 -0
- package/icons/world-flags/nc.svg +18 -0
- package/icons/world-flags/ne.svg +6 -0
- package/icons/world-flags/nf.svg +5 -0
- package/icons/world-flags/ng.svg +4 -0
- package/icons/world-flags/ni.svg +161 -0
- package/icons/world-flags/nl.svg +5 -0
- package/icons/world-flags/no.svg +7 -0
- package/icons/world-flags/np.svg +33 -0
- package/icons/world-flags/nr.svg +5 -0
- package/icons/world-flags/nu.svg +1 -0
- package/icons/world-flags/nz.svg +1 -0
- package/icons/world-flags/om.svg +226 -0
- package/icons/world-flags/pa.svg +20 -0
- package/icons/world-flags/pe.svg +320 -0
- package/icons/world-flags/pf.svg +55 -0
- package/icons/world-flags/pg.svg +13 -0
- package/icons/world-flags/ph.svg +30 -0
- package/icons/world-flags/pk.svg +8 -0
- package/icons/world-flags/pl.svg +4 -0
- package/icons/world-flags/pm.svg +5 -0
- package/icons/world-flags/pn.svg +1 -0
- package/icons/world-flags/pr.svg +1 -0
- package/icons/world-flags/ps.svg +6 -0
- package/icons/world-flags/pt.svg +66 -0
- package/icons/world-flags/pw.svg +4 -0
- package/icons/world-flags/py.svg +193 -0
- package/icons/world-flags/qa.svg +1 -0
- package/icons/world-flags/re.svg +5 -0
- package/icons/world-flags/ro.svg +5 -0
- package/icons/world-flags/rs.svg +294 -0
- package/icons/world-flags/ru.svg +5 -0
- package/icons/world-flags/rw.svg +13 -0
- package/icons/world-flags/sa.svg +4 -0
- package/icons/world-flags/sb.svg +23 -0
- package/icons/world-flags/sc.svg +7 -0
- package/icons/world-flags/sd.svg +6 -0
- package/icons/world-flags/se.svg +5 -0
- package/icons/world-flags/sg.svg +11 -0
- package/icons/world-flags/sh.svg +1 -0
- package/icons/world-flags/si.svg +22 -0
- package/icons/world-flags/sj.svg +7 -0
- package/icons/world-flags/sk.svg +12 -0
- package/icons/world-flags/sl.svg +5 -0
- package/icons/world-flags/sm.svg +321 -0
- package/icons/world-flags/sn.svg +15 -0
- package/icons/world-flags/so.svg +13 -0
- package/icons/world-flags/sr.svg +6 -0
- package/icons/world-flags/ss.svg +8 -0
- package/icons/world-flags/st.svg +16 -0
- package/icons/world-flags/sv.svg +1 -0
- package/icons/world-flags/sx.svg +94 -0
- package/icons/world-flags/sy.svg +17 -0
- package/icons/world-flags/sz.svg +1 -0
- package/icons/world-flags/tc.svg +1 -0
- package/icons/world-flags/td.svg +5 -0
- package/icons/world-flags/tf.svg +15 -0
- package/icons/world-flags/tg.svg +16 -0
- package/icons/world-flags/th.svg +5 -0
- package/icons/world-flags/tj.svg +26 -0
- package/icons/world-flags/tk.svg +25 -0
- package/icons/world-flags/tl.svg +1 -0
- package/icons/world-flags/tm.svg +179 -0
- package/icons/world-flags/tn.svg +9 -0
- package/icons/world-flags/to.svg +8 -0
- package/icons/world-flags/tr.svg +6 -0
- package/icons/world-flags/tt.svg +5 -0
- package/icons/world-flags/tv.svg +1 -0
- package/icons/world-flags/tw.svg +9 -0
- package/icons/world-flags/tz.svg +6 -0
- package/icons/world-flags/ua.svg +4 -0
- package/icons/world-flags/ug.svg +24 -0
- package/icons/world-flags/um.svg +25 -0
- package/icons/world-flags/us.svg +25 -0
- package/icons/world-flags/uy.svg +36 -0
- package/icons/world-flags/uz.svg +30 -0
- package/icons/world-flags/va.svg +205 -0
- package/icons/world-flags/vc.svg +10 -0
- package/icons/world-flags/ve.svg +28 -0
- package/icons/world-flags/vg.svg +1 -0
- package/icons/world-flags/vi.svg +1 -0
- package/icons/world-flags/vn.svg +12 -0
- package/icons/world-flags/vu.svg +15 -0
- package/icons/world-flags/wf.svg +7 -0
- package/icons/world-flags/ws.svg +14 -0
- package/icons/world-flags/xk.svg +1 -0
- package/icons/world-flags/ye.svg +5 -0
- package/icons/world-flags/yt.svg +5 -0
- package/icons/world-flags/za.svg +1 -0
- package/icons/world-flags/zm.svg +23 -0
- package/icons/world-flags/zw.svg +28 -0
- package/js/oe-bcl-default.bundle.js +25 -26
- package/js/oe-bcl-default.bundle.js.map +1 -1
- package/js/oe-bcl-default.bundle.min.js +1 -1
- package/js/oe-bcl-default.bundle.min.js.map +1 -1
- package/js/oe-bcl-default.esm.js +25 -26
- package/js/oe-bcl-default.esm.js.map +1 -1
- package/js/oe-bcl-default.esm.min.js +1 -1
- package/js/oe-bcl-default.esm.min.js.map +1 -1
- package/js/oe-bcl-default.umd.js +25 -26
- package/js/oe-bcl-default.umd.js.map +1 -1
- package/js/oe-bcl-default.umd.min.js +1 -1
- package/js/oe-bcl-default.umd.min.js.map +1 -1
- package/package.json +10 -9
- package/src/icons/icons.js +23 -23
- package/src/js/gallery/gallery.js +24 -21
- package/src/scss/_card.scss +14 -0
- package/src/scss/_description_list.scss +6 -0
- package/src/scss/_inpage-navigation.scss +7 -0
- package/src/scss/_multiselect.scss +23 -2
- package/src/scss/_pagination.scss +33 -0
- package/src/scss/_tabs.scss +3 -12
- package/src/scss/base/_colors.scss +0 -2
- package/src/scss/base/_layout.scss +5 -0
- package/src/scss/base/_mixins.scss +13 -0
- package/src/scss/base/_utilities.scss +36 -12
- package/src/scss/oe-bcl-default.scss +6 -0
- package/templates/bcl-accordion/accordion.html.twig +4 -5
- package/templates/bcl-alert/alert.html.twig +5 -3
- package/templates/bcl-badge/badge.html.twig +7 -5
- package/templates/bcl-banner/banner.html.twig +5 -5
- package/templates/bcl-base-templates/content-type.html.twig +5 -0
- package/templates/bcl-base-templates/listing-page.html.twig +2 -0
- package/templates/bcl-blockquote/blockquote.html.twig +3 -1
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +3 -1
- package/templates/bcl-button/button.html.twig +6 -4
- package/templates/bcl-button-group/button-group.html.twig +4 -3
- package/templates/bcl-card/card.html.twig +5 -9
- package/templates/bcl-card-layout/card-layout.html.twig +3 -1
- package/templates/bcl-carousel/carousel.html.twig +10 -8
- package/templates/bcl-content-banner/content-banner.html.twig +14 -11
- package/templates/bcl-dropdown/dropdown.html.twig +3 -1
- package/templates/bcl-fact-figures/fact-figures.html.twig +4 -2
- package/templates/bcl-file/file.html.twig +43 -39
- package/templates/bcl-footer/footer.html.twig +2 -2
- package/templates/bcl-form/form.html.twig +2 -4
- package/templates/bcl-form-input/form-input.html.twig +25 -21
- package/templates/bcl-gallery/gallery.html.twig +5 -5
- package/templates/bcl-glossary/glossary-detail.html.twig +43 -0
- package/templates/bcl-glossary/glossary-listing.html.twig +22 -0
- package/templates/bcl-header/header.html.twig +11 -9
- package/templates/bcl-heading/heading.html.twig +1 -1
- package/templates/bcl-icon/icon.html.twig +3 -2
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +19 -30
- package/templates/bcl-language-list/language-list-grid.html.twig +1 -1
- package/templates/bcl-link/link.html.twig +6 -4
- package/templates/bcl-links-block/links-block.html.twig +17 -16
- package/templates/bcl-list-group/list-group.html.twig +3 -1
- package/templates/bcl-listing/listing.html.twig +8 -6
- package/templates/bcl-modal/modal.html.twig +12 -3
- package/templates/bcl-navbar/navbar.html.twig +4 -1
- package/templates/bcl-navigation/navigation.html.twig +3 -1
- package/templates/bcl-offcanvas/offcanvas.html.twig +8 -7
- package/templates/bcl-pagination/pagination.html.twig +10 -4
- package/templates/bcl-person/person.html.twig +0 -13
- package/templates/bcl-placeholder/placeholder.html.twig +4 -3
- package/templates/bcl-progress/progress.html.twig +2 -0
- package/templates/bcl-project-status/project-status.html.twig +2 -0
- package/templates/bcl-search-form/search-form.html.twig +5 -4
- package/templates/bcl-select/select.html.twig +18 -17
- package/templates/bcl-spinner/spinner.html.twig +2 -0
- package/templates/bcl-subscription-block/subscription-block.html.twig +1 -1
- package/templates/bcl-table/table.html.twig +3 -1
- package/templates/bcl-textarea/textarea.html.twig +22 -19
- package/templates/bcl-timeline/timeline.html.twig +17 -14
- package/templates/bcl-toast/toasts.html.twig +15 -15
- package/templates/bcl-user/user.html.twig +10 -2
- package/yarn-error.log +17973 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
5
|
+
title: 'Description',
|
|
6
|
+
title_tag: 'h2',
|
|
7
|
+
} only %}
|
|
8
|
+
|
|
9
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
10
|
+
volutpat ultricies massa, a dapibus libero porta nec. Sed facilisis dictum vestibulum.
|
|
11
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
12
|
+
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero
|
|
13
|
+
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non.
|
|
14
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
15
|
+
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero orci semper lacus.
|
|
16
|
+
Duis tristique fringilla magna, eu egestas dolor molestie non.</p>
|
|
17
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa,
|
|
18
|
+
a dapibus libero porta nec. Sed facilisis dictum vestibulum. Fusce commodo hendrerit diam, pretium tempus
|
|
19
|
+
leo varius sit amet. Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero
|
|
20
|
+
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </p>
|
|
21
|
+
<p>Lorem ipsum dolor
|
|
22
|
+
sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa, a dapibus libero porta nec.
|
|
23
|
+
Sed facilisis dictum vestibulum.
|
|
24
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. Etiam interdum, orci at sagittis luctus,
|
|
25
|
+
lorem libero tempus mauris, a fermentum libero orci semper lacus. Duis tristique fringilla magna,
|
|
26
|
+
eu egestas dolor molestie non. </p>
|
|
27
|
+
|
|
28
|
+
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
29
|
+
title: 'File Downloads',
|
|
30
|
+
title_tag: 'h2',
|
|
31
|
+
attributes: create_attribute().addClass('mt-5', 'mb-4'),
|
|
32
|
+
} only %}
|
|
33
|
+
|
|
34
|
+
{% for file in files %}
|
|
35
|
+
{% if loop.last %}
|
|
36
|
+
{% set file_classes = 'mt-4' %}
|
|
37
|
+
{% endif %}
|
|
38
|
+
<div {{ file_classes ? 'class="' ~ file_classes ~ '"' }}>
|
|
39
|
+
{% include '@oe-bcl/bcl-file/file.html.twig' with file only %}
|
|
40
|
+
</div>
|
|
41
|
+
{% endfor %}
|
|
42
|
+
|
|
43
|
+
{% endblock %}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/listing-page.html.twig' %}
|
|
2
|
+
|
|
3
|
+
{% block content_row %}
|
|
4
|
+
<div class="col-lg-4 col-md-6 col-12 mb-5">
|
|
5
|
+
{% include '@oe-bcl/bcl-search-form/search-form.html.twig' with search only %}
|
|
6
|
+
</div>
|
|
7
|
+
{% include '@oe-bcl/bcl-pagination/pagination.html.twig' with glossary only %}
|
|
8
|
+
<div class="col-12">
|
|
9
|
+
<div class="d-md-flex justify-content-end mb-md-5 align-items-center border-bottom-md border-top-md border-gray-300 py-5">
|
|
10
|
+
{% include '@oe-bcl/bcl-select/select.html.twig' with sortBy only %}
|
|
11
|
+
{% include '@oe-bcl/bcl-select/select.html.twig' with itemsPerPage only %}
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
{% endblock %}
|
|
15
|
+
|
|
16
|
+
{% block content_top %}
|
|
17
|
+
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
18
|
+
title: 'Starting with "A" (48)',
|
|
19
|
+
title_tag: 'h2',
|
|
20
|
+
} only %}
|
|
21
|
+
|
|
22
|
+
{% endblock %}
|
|
@@ -5,31 +5,33 @@
|
|
|
5
5
|
- navbar (Navbar object) (default: {})
|
|
6
6
|
- project_logo (object) (default: {})
|
|
7
7
|
format: {
|
|
8
|
-
path:
|
|
9
|
-
alt:
|
|
10
|
-
classes:
|
|
8
|
+
path: '',
|
|
9
|
+
alt: '',
|
|
10
|
+
classes: ''
|
|
11
11
|
}
|
|
12
|
-
- site_name (string) (default:
|
|
13
|
-
- project_link (string) (default:
|
|
12
|
+
- site_name (string) (default: '')
|
|
13
|
+
- project_link (string) (default: '')
|
|
14
14
|
- head (Navbar object) (default: {})
|
|
15
15
|
- breadcrumbs (Breadcrumbs object) (default: {})
|
|
16
|
-
- light (boolean) (default: false)
|
|
17
|
-
- modals (Array of modal objects) (default: [])
|
|
18
16
|
- language_modal (object) (default: {})
|
|
17
|
+
- modals (Array of modal objects) (default: [])
|
|
18
|
+
- light (boolean) (default: false)
|
|
19
|
+
- attributes (drupal attrs)
|
|
19
20
|
#}
|
|
20
21
|
|
|
21
22
|
{% set _variant = variant|default('neutral') %}
|
|
22
23
|
{% set _navbar = navbar|default({}) %}
|
|
23
24
|
{% set _project_logo = project_logo|default({}) %}
|
|
24
|
-
{% set _project_link = project_link|default('') %}
|
|
25
25
|
{% set _site_name = site_name|default('') %}
|
|
26
|
-
{% set
|
|
26
|
+
{% set _project_link = project_link|default('') %}
|
|
27
27
|
{% set _head = head|default({}) %}
|
|
28
28
|
{% set _breadcrumbs = breadcrumbs|default({}) %}
|
|
29
29
|
{% set _language_modal = language_modal|default({}) %}
|
|
30
30
|
{% set _modals = modals|default([]) %}
|
|
31
31
|
{% set _light = light|default(false) %}
|
|
32
32
|
|
|
33
|
+
{% set _site_name_classes = 'bcl-header__site-name' %}
|
|
34
|
+
|
|
33
35
|
{% if attributes is empty %}
|
|
34
36
|
{% set attributes = create_attribute() %}
|
|
35
37
|
{% endif %}
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
- name (string) (default: '')
|
|
5
5
|
- path (string) (default: '')
|
|
6
6
|
- size (string) (default: 's')
|
|
7
|
-
- options [
|
|
7
|
+
- options ['2xs', 'xs', 's', 'm', 'l', 'xl', '2xl', 'fluid']
|
|
8
8
|
- transformation (string) (default: '')
|
|
9
|
-
- options [
|
|
9
|
+
- options ['rotate-90', 'rotate-180', 'rotate-270', 'flip-horizontal', 'flip-vertical']
|
|
10
|
+
- attributes (drupal attrs)
|
|
10
11
|
#}
|
|
11
12
|
|
|
12
13
|
{% set _name = name|default('') %}
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
{#
|
|
4
4
|
Parameters:
|
|
5
5
|
- title: (string) (default: '')
|
|
6
|
-
- title_tag: (string) (default: '
|
|
6
|
+
- title_tag: (string) (default: 'h3')
|
|
7
7
|
- title_link: (link object) (default: {})
|
|
8
8
|
- title_attributes (drupal attrs)
|
|
9
|
-
- full_layout: (boolean) (default: false)
|
|
10
9
|
- links: (array of link objects) (default: [])
|
|
11
|
-
-
|
|
10
|
+
- id (string) (default: 'bcl-inpage-navigation-' random(10))
|
|
11
|
+
- attributes (drupal attrs)
|
|
12
12
|
#}
|
|
13
13
|
|
|
14
14
|
{% set _title = title|default('') %}
|
|
15
|
-
{% set _title_tag = title_tag|default('
|
|
15
|
+
{% set _title_tag = title_tag|default('h2') %}
|
|
16
16
|
{% set _title_link = title_link|default({}) %}
|
|
17
17
|
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
18
18
|
{% set _links = links|default([]) %}
|
|
19
19
|
{% set _content = content|default('') %}
|
|
20
|
-
{% set _id = id|default('bcl-inpage-navigation-' ~ random(
|
|
20
|
+
{% set _id = id|default('bcl-inpage-navigation-' ~ random(10)) %}
|
|
21
21
|
{% set _full_layout = full_layout|default(false) %}
|
|
22
22
|
|
|
23
23
|
{% if attributes is empty %}
|
|
@@ -25,31 +25,20 @@ Parameters:
|
|
|
25
25
|
{% endif %}
|
|
26
26
|
|
|
27
27
|
{% set attributes = attributes.addClass(['bcl-inpage-navigation', 'position-sticky']).setAttribute('id', _id) %}
|
|
28
|
+
{% set title_attributes = _title_attributes.addClass('mb-0') %}
|
|
28
29
|
|
|
29
|
-
{
|
|
30
|
-
{%
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
'pills': true,
|
|
43
|
-
'vertical': true,
|
|
44
|
-
'items': _links,
|
|
45
|
-
} only %}
|
|
46
|
-
</nav>
|
|
47
|
-
{% if _full_layout %}
|
|
48
|
-
</div>
|
|
49
|
-
<div class="col-md-9">
|
|
50
|
-
{{ _content }}
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
{% endif %}
|
|
30
|
+
<nav {{ attributes }}>
|
|
31
|
+
{% include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
32
|
+
title: _title,
|
|
33
|
+
title_tag: _title_tag,
|
|
34
|
+
title_link: _title_link,
|
|
35
|
+
attributes: _title_attributes.addClass('mb-0'),
|
|
36
|
+
} only %}
|
|
37
|
+
{% include '@oe-bcl/bcl-navigation/navigation.html.twig' with {
|
|
38
|
+
'pills': true,
|
|
39
|
+
'vertical': true,
|
|
40
|
+
'items': _links,
|
|
41
|
+
} only %}
|
|
42
|
+
</nav>
|
|
54
43
|
|
|
55
44
|
{% endspaceless %}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
#}
|
|
16
16
|
|
|
17
17
|
{% set _items = items|default([]) %}
|
|
18
|
-
{% set _icon_path = icon_path|default('') %}
|
|
19
18
|
{% set _category = category|default('') %}
|
|
19
|
+
{% set _icon_path = icon_path|default('') %}
|
|
20
20
|
|
|
21
21
|
{% set _columns = [] %}
|
|
22
22
|
{% set _columns = _columns|merge([_items|slice(0, (items|length / 2)|round(0, 'ceil'))]) %}
|
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
- label (string) (default: '')
|
|
5
5
|
- path (string) (default: '#')
|
|
6
6
|
- variant (string) (default: '')
|
|
7
|
-
- options [
|
|
7
|
+
- options ['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark']
|
|
8
8
|
- id (string) (default: '')
|
|
9
9
|
- disabled (boolean) (default: false)
|
|
10
|
-
- remove_icon_spacers (boolean) (default: false)
|
|
11
10
|
- standalone (boolean) (default: false)
|
|
12
|
-
- icon (icon object) (default: {})
|
|
11
|
+
- icon (icon object) (default: {})
|
|
13
12
|
- icon_position (string) (default: after)
|
|
14
|
-
- options [
|
|
13
|
+
- options ['after', 'before']
|
|
14
|
+
- remove_icon_spacers (boolean) (default: false)
|
|
15
|
+
- attributes (drupal attrs)
|
|
15
16
|
#}
|
|
16
17
|
|
|
17
18
|
{% set _label = label|default('') %}
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
{% set _icon = icon|default({}) %}
|
|
24
25
|
{% set _icon_position = icon_position|default('after') %}
|
|
25
26
|
{% set _remove_icon_spacers = remove_icon_spacers|default(false) %}
|
|
27
|
+
|
|
26
28
|
{% set _classes = [] %}
|
|
27
29
|
|
|
28
30
|
{% if _icon is not empty %}
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{% spaceless %}
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
|
-
- title: (string) (default:
|
|
5
|
-
- title_tag: (string) (default:
|
|
4
|
+
- title: (string) (default: '')
|
|
5
|
+
- title_tag: (string) (default: 'h2')
|
|
6
6
|
- title_link: (link object) (default: {})
|
|
7
7
|
- title_attributes (drupal attrs)
|
|
8
|
-
- background: (string) (default:
|
|
9
|
-
- options [
|
|
10
|
-
- variant: (string) (default:
|
|
11
|
-
- options [
|
|
8
|
+
- background: (string) (default: 'gray')
|
|
9
|
+
- options ['gray', 'transparent']
|
|
10
|
+
- variant: (string) (default: 'vertical')
|
|
11
|
+
- options ['vertical', 'horizontal']
|
|
12
12
|
- links (array of link objects) (default: [])
|
|
13
|
+
- attributes (drupal attrs)
|
|
13
14
|
#}
|
|
14
15
|
|
|
15
|
-
{% set _title = title|default(
|
|
16
|
-
{% set _title_tag = title_tag|default(
|
|
16
|
+
{% set _title = title|default('') %}
|
|
17
|
+
{% set _title_tag = title_tag|default('h2') %}
|
|
17
18
|
{% set _title_link = title_link|default({}) %}
|
|
18
19
|
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
19
|
-
{% set _background = background|default(
|
|
20
|
-
{% set _variant = variant|default(
|
|
20
|
+
{% set _background = background|default('gray') %}
|
|
21
|
+
{% set _variant = variant|default('vertical') %}
|
|
21
22
|
{% set _links = links|default([])%}
|
|
22
23
|
|
|
23
24
|
{% set _title_classes = ['pb-3', 'mb-3', 'border-bottom'] %}
|
|
@@ -26,8 +27,8 @@
|
|
|
26
27
|
{% set attributes = create_attribute() %}
|
|
27
28
|
{% endif %}
|
|
28
29
|
|
|
29
|
-
{% if _background ==
|
|
30
|
-
{% set attributes = attributes.addClass([
|
|
30
|
+
{% if _background == 'gray' %}
|
|
31
|
+
{% set attributes = attributes.addClass(['bg-light', 'px-4', 'py-3', 'rounded-2']) %}
|
|
31
32
|
{% endif %}
|
|
32
33
|
|
|
33
34
|
<div
|
|
@@ -51,17 +52,17 @@
|
|
|
51
52
|
{% endif %}
|
|
52
53
|
{% set _link = _link|merge({
|
|
53
54
|
clean_class: true,
|
|
54
|
-
attributes: _link.attributes.addClass([
|
|
55
|
+
attributes: _link.attributes.addClass(['pb-3', 'd-inline-block', 'standalone'])
|
|
55
56
|
}) %}
|
|
56
|
-
{% set _list_item_classes =
|
|
57
|
-
{% if _variant ==
|
|
57
|
+
{% set _list_item_classes = 'list-unstyled' %}
|
|
58
|
+
{% if _variant == 'horizontal' %}
|
|
58
59
|
{% set _list_item_classes = _list_item_classes ~ ' d-inline' %}
|
|
59
60
|
{% endif %}
|
|
60
61
|
{% if loop.last == false %}
|
|
61
62
|
{% set _list_item_classes = _list_item_classes ~ ' me-4-5' %}
|
|
62
63
|
{% endif %}
|
|
63
64
|
<li class="{{ _list_item_classes }}">
|
|
64
|
-
{% include
|
|
65
|
+
{% include '@oe-bcl/bcl-link/link.html.twig' with _link only %}
|
|
65
66
|
</li>
|
|
66
67
|
{% endfor %}
|
|
67
68
|
</ul>
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
- flush (boolean) (default: false)
|
|
5
5
|
- horizontal (string) (default: '')
|
|
6
6
|
- options ['none', 'horizontal', 'horizontal-sm', 'horizontal-md', 'horizontal-lg', 'horizontal-xl', 'horizontal-xxl']
|
|
7
|
+
- id (string) (default: '')
|
|
7
8
|
- type (string) (default: 'unordered')
|
|
8
9
|
- options ['unordered', 'ordered', 'actionable']
|
|
9
10
|
- items (array of objects: list item object or Button and Link component object if type actionable)
|
|
10
11
|
format: [
|
|
11
|
-
('list item')
|
|
12
12
|
{
|
|
13
13
|
- html (string)
|
|
14
14
|
- variant (string)
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
...
|
|
26
26
|
]
|
|
27
|
+
- attributes (drupal attrs)
|
|
27
28
|
#}
|
|
28
29
|
|
|
29
30
|
{% set _flush = flush|default(false) %}
|
|
@@ -31,6 +32,7 @@
|
|
|
31
32
|
{% set _id = id|default('') %}
|
|
32
33
|
{% set _type = type|default('unordered') %}
|
|
33
34
|
{% set _items = items|default([]) %}
|
|
35
|
+
|
|
34
36
|
{% set _classes = ['list-group'] %}
|
|
35
37
|
|
|
36
38
|
{% if _flush %}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{% spaceless %}
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
|
-
- title: (string) (default:
|
|
5
|
-
- title_tag: (string) (default:
|
|
4
|
+
- title: (string) (default: '')
|
|
5
|
+
- title_tag: (string) (default: 'h2')
|
|
6
6
|
- title_link: (link object) (default: {})
|
|
7
7
|
- title_attributes (drupal attrs)
|
|
8
|
-
- variant: (string) (default:
|
|
9
|
-
|
|
8
|
+
- variant: (string) (default: 'horizontal')
|
|
9
|
+
options [ default-1-col, highlight-1-col, default-2-col, default-3-col, highlight-2-col, highlight-3-col ]
|
|
10
10
|
- items: (array of objects of type card)
|
|
11
11
|
- link: (object of type link)
|
|
12
|
-
- alignment: (string) (default: '')
|
|
13
|
-
|
|
12
|
+
- alignment: (string) (default: '')
|
|
13
|
+
options ['start', 'end', 'center', 'baseline', 'stretch']
|
|
14
|
+
- attributes (drupal attrs)
|
|
14
15
|
#}
|
|
15
16
|
|
|
16
17
|
{% set _title = title|default('') %}
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
{% set _variant = variant|default('default-1-col') %}
|
|
22
23
|
{% set _alignment = alignment|default('') %}
|
|
23
24
|
{% set _link = link|default({}) %}
|
|
25
|
+
|
|
24
26
|
{% set _classes = ['bcl-listing', 'bcl-listing--' ~ _variant] %}
|
|
25
27
|
{% set _cards = [] %}
|
|
26
28
|
{% set _card_layout = {
|
|
@@ -12,17 +12,26 @@
|
|
|
12
12
|
- messages (block) (default: '')
|
|
13
13
|
- body (block) (default: '')
|
|
14
14
|
- footer (block) (default: '')
|
|
15
|
+
- attributes (drupal attrs)
|
|
16
|
+
|
|
17
|
+
Blocks
|
|
18
|
+
- header
|
|
19
|
+
- messages
|
|
20
|
+
- body
|
|
21
|
+
- footer
|
|
15
22
|
#}
|
|
23
|
+
|
|
16
24
|
{% set _size = size|default('') %}
|
|
17
25
|
{% set _id = id|default('modal-' ~ random(1000)) %}
|
|
18
26
|
{% set _fullscreen_responsive = fullscreen_responsive|default('') %}
|
|
19
|
-
{% set _header = header|default('') %}
|
|
20
|
-
{% set _body = body|default('') %}
|
|
21
|
-
{% set _messages = messages|default('') %}
|
|
22
27
|
{% set _static_backdrop = static_backdrop|default(false) %}
|
|
23
28
|
{% set _verticaly_centered = verticaly_centered|default(false) %}
|
|
24
29
|
{% set _scrollable = scrollable|default(false) %}
|
|
30
|
+
{% set _header = header|default('') %}
|
|
31
|
+
{% set _messages = messages|default('') %}
|
|
32
|
+
{% set _body = body|default('') %}
|
|
25
33
|
{% set _footer = footer|default('') %}
|
|
34
|
+
|
|
26
35
|
{% set _classes = ['modal fade'] %}
|
|
27
36
|
|
|
28
37
|
{% if attributes is empty %}
|
|
@@ -18,20 +18,23 @@
|
|
|
18
18
|
- color_set (string) (default: 'light')
|
|
19
19
|
options ['light', 'dark']
|
|
20
20
|
- disable_collapse (boolean) (default: false)
|
|
21
|
+
- attributes (drupal attrs)
|
|
21
22
|
|
|
22
23
|
Blocks
|
|
23
24
|
- branding
|
|
24
25
|
- navigation
|
|
25
26
|
- right
|
|
26
27
|
#}
|
|
28
|
+
|
|
27
29
|
{% set _collapse_id = collapse_id|default('') %}
|
|
28
30
|
{% set _background = background|default('') %}
|
|
31
|
+
{% set _brand = brand|default({}) %}
|
|
29
32
|
{% set _navigation = navigation|default({}) %}
|
|
30
33
|
{% set _form = form|default({}) %}
|
|
31
34
|
{% set _expand = expand|default('lg') %}
|
|
32
|
-
{% set _brand = brand|default({}) %}
|
|
33
35
|
{% set _color_set = color_set|default('light') %}
|
|
34
36
|
{% set _disable_collapse = disable_collapse|default(false) %}
|
|
37
|
+
|
|
35
38
|
{% set _classes = ['navbar', 'navbar-expand-' ~ _expand] %}
|
|
36
39
|
{% if _background is not empty %}
|
|
37
40
|
{% set _classes = _classes|merge(['bg-' ~ _background]) %}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
{% spaceless %}
|
|
3
3
|
|
|
4
4
|
{# Parameters:
|
|
5
|
+
- id (string) (default: '')
|
|
5
6
|
- pills (boolean) (default: false)
|
|
6
7
|
- tabs (boolean) (default: false) - If tabs is set to true, the nav should also be set to true for accessibility reasons
|
|
7
8
|
- vertical (boolean) (default: false)
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
- navigation (navigation Object) - set for multiple level or navigation, items inside is required
|
|
22
23
|
}
|
|
23
24
|
]
|
|
25
|
+
- attributes (drupal attrs)
|
|
24
26
|
#}
|
|
25
27
|
|
|
26
28
|
{# Define main macro #}
|
|
@@ -28,12 +30,12 @@
|
|
|
28
30
|
{% spaceless %}
|
|
29
31
|
{% import _self as navigation %}
|
|
30
32
|
|
|
33
|
+
{% set _id = id|default('') %}
|
|
31
34
|
{% set _pills = pills|default(false) %}
|
|
32
35
|
{% set _tabs = tabs|default(false) %}
|
|
33
36
|
{% set _vertical = vertical|default(false) %}
|
|
34
37
|
{% set _full_width = full_width|default(false) %}
|
|
35
38
|
{% set _alignment = alignment|default('') %}
|
|
36
|
-
{% set _id = id|default('') %}
|
|
37
39
|
{% set _tabs_content = tabs_content|default(false) %}
|
|
38
40
|
{% set _nav = nav|default(false) %}
|
|
39
41
|
{% set _navbar = navbar|default(false) %}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{% spaceless %}
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
|
-
- title: (string) (default:
|
|
5
|
-
- title_tag: (string) (default:
|
|
4
|
+
- title: (string) (default: '')
|
|
5
|
+
- title_tag: (string) (default: 'h3')
|
|
6
6
|
- title_link: (link object) (default: {})
|
|
7
7
|
- title_attributes (drupal attrs)
|
|
8
8
|
- placement (string) (default: '') (start, end, top, bottom)
|
|
@@ -14,18 +14,19 @@
|
|
|
14
14
|
- extra_classes_body (string) (default: '')
|
|
15
15
|
- extra_classes_header (string) (default: '')
|
|
16
16
|
- extra_classes_close (string) (default: '')
|
|
17
|
+
- attributes (drupal attrs)
|
|
17
18
|
#}
|
|
18
19
|
|
|
19
20
|
{% set _title = title|default('') %}
|
|
20
|
-
{% set _title_tag = title_tag|default('
|
|
21
|
+
{% set _title_tag = title_tag|default('h2') %}
|
|
21
22
|
{% set _title_link = title_link|default({}) %}
|
|
22
23
|
{% set _title_attributes = title_attributes ?: create_attribute() %}
|
|
24
|
+
{% set _placement = placement|default('') %}
|
|
25
|
+
{% set _id = id|default('') %}
|
|
23
26
|
{% set _body = body|default('') %}
|
|
24
|
-
{% set _with_close = with_close ?? true %}
|
|
25
|
-
{% set _with_backdrop = with_backdrop ?? true %}
|
|
26
27
|
{% set _with_body_scroll = with_body_scroll|default(false) %}
|
|
27
|
-
{% set
|
|
28
|
-
{% set
|
|
28
|
+
{% set _with_backdrop = with_backdrop|default(true) %}
|
|
29
|
+
{% set _with_close = with_close|default(true) %}
|
|
29
30
|
{% set _extra_classes_body = extra_classes_body|default('') %}
|
|
30
31
|
{% set _extra_classes_header = extra_classes_header|default('') %}
|
|
31
32
|
{% set _extra_classes_close = extra_classes_close|default('') %}
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
4
|
- size (string) (default: '')
|
|
5
|
-
- options [
|
|
5
|
+
- options ['sm', 'lg']
|
|
6
6
|
- alignment (string) (default: '')
|
|
7
|
-
- options [
|
|
7
|
+
- options ['end', 'center']
|
|
8
8
|
- aria_label (string) (default: '')
|
|
9
|
+
- variant: (string) (default: '')
|
|
9
10
|
- enable_prev_next_icon (boolean) (default: false)
|
|
10
11
|
- enable_first_last_icon (boolean) (default: true)
|
|
11
12
|
- first (object)
|
|
@@ -49,24 +50,29 @@
|
|
|
49
50
|
- active (boolean)
|
|
50
51
|
}
|
|
51
52
|
- icon_path (string) (default: '')
|
|
52
|
-
-
|
|
53
|
+
- attributes (drupal attrs)
|
|
53
54
|
#}
|
|
54
55
|
|
|
55
56
|
{% set _size = size|default('') %}
|
|
56
57
|
{% set _alignment = alignment|default('') %}
|
|
57
58
|
{% set _aria_label = aria_label|default('') %}
|
|
58
59
|
{% set _enable_prev_next_icon = enable_prev_next_icon|default(false) %}
|
|
59
|
-
{% set _enable_first_last_icon = enable_first_last_icon
|
|
60
|
+
{% set _enable_first_last_icon = enable_first_last_icon|default(true) %}
|
|
60
61
|
{% set _items = items|default([]) %}
|
|
61
62
|
{% set _first = first|default({}) %}
|
|
62
63
|
{% set _next = next|default({}) %}
|
|
63
64
|
{% set _prev = prev|default({}) %}
|
|
64
65
|
{% set _last = last|default({}) %}
|
|
66
|
+
{% set _variant = variant|default('') %}
|
|
65
67
|
{% set _icon_path = icon_path|default({}) %}
|
|
68
|
+
|
|
66
69
|
{% set _classes = 'pagination' %}
|
|
67
70
|
{% if _size is not empty %}
|
|
68
71
|
{% set _classes = _classes ~ ' pagination-' ~ _size %}
|
|
69
72
|
{% endif %}
|
|
73
|
+
{% if _variant is not empty %}
|
|
74
|
+
{% set _classes = _classes ~ ' pagination--' ~ _variant %}
|
|
75
|
+
{% endif %}
|
|
70
76
|
{% if _alignment is not empty %}
|
|
71
77
|
{% set _classes = _classes ~ ' justify-content-' ~ _alignment %}
|
|
72
78
|
{% endif %}
|
|
@@ -5,19 +5,6 @@
|
|
|
5
5
|
{% endblock %}
|
|
6
6
|
|
|
7
7
|
{% block content %}
|
|
8
|
-
{# {% if social_media.main_title is not empty %}
|
|
9
|
-
<h2
|
|
10
|
-
class="mb-4"
|
|
11
|
-
>{{- social_media.main_title -}}</h2>
|
|
12
|
-
{% endif %}
|
|
13
|
-
{% if social_media.links is defined and social_media.links is not empty %}
|
|
14
|
-
<div class="mb-4-5">
|
|
15
|
-
{% for link in social_media.links %}
|
|
16
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with link only %}
|
|
17
|
-
{% endfor %}
|
|
18
|
-
</div>
|
|
19
|
-
{% endif %} #}
|
|
20
|
-
|
|
21
8
|
{% if information.main_title is not empty %}
|
|
22
9
|
<h2
|
|
23
10
|
class="mb-4"
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
{# Parameters:
|
|
4
4
|
- width (int) (default: 0) - between 0-100
|
|
5
5
|
- variant (string) (default: '')
|
|
6
|
-
- options
|
|
6
|
+
- options ['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark']
|
|
7
7
|
- size (string) (default: '')
|
|
8
|
-
- options
|
|
8
|
+
- options ['xs', 'lg']
|
|
9
9
|
- animation (string) (default: '')
|
|
10
|
-
- options
|
|
10
|
+
- options ['glow', 'wave']
|
|
11
|
+
- attributes (drupal attrs)
|
|
11
12
|
#}
|
|
12
13
|
|
|
13
14
|
{% set _width = width|default(0) %}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
- bar_label (string) (default: '')
|
|
12
12
|
- variant (string) (default: '')
|
|
13
13
|
- message (string) (default: '')
|
|
14
|
+
- attributes (drupal attrs)
|
|
14
15
|
#}
|
|
15
16
|
|
|
16
17
|
{% set _progress = progress|default(0) %}
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
{% set _bar_label = bar_label|default('') %}
|
|
24
25
|
{% set _variant = variant|default('') %}
|
|
25
26
|
{% set _message = message|default('') %}
|
|
27
|
+
|
|
26
28
|
{% set _classes = 'progress-bar' %}
|
|
27
29
|
{% if _striped is not empty %}
|
|
28
30
|
{% set _classes = _classes ~ ' progress-bar-striped' %}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
- label (string) (default: '')
|
|
10
10
|
- badge (string) (default: ''),
|
|
11
11
|
- progress (string) (default: '')
|
|
12
|
+
- attributes (drupal attrs)
|
|
12
13
|
#}
|
|
13
14
|
|
|
14
15
|
{% set _label = label|default('') %}
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
{% if _badge is not empty %}
|
|
50
51
|
{% include '@oe-bcl/bcl-badge/badge.html.twig' with {
|
|
51
52
|
label: _badge,
|
|
53
|
+
rounded_pill: true,
|
|
52
54
|
background: _bg,
|
|
53
55
|
attributes: create_attribute().addClass(['mb-3', 'mb-md-0']),
|
|
54
56
|
} only %}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{% spaceless %}
|
|
2
2
|
|
|
3
3
|
{# Parameters:
|
|
4
|
-
- pill
|
|
5
|
-
- icon
|
|
6
|
-
- submit
|
|
7
|
-
- input
|
|
4
|
+
- pill (boolean) (default: false)
|
|
5
|
+
- icon (icon Object) (default: {})
|
|
6
|
+
- submit (button Object) (default: {})
|
|
7
|
+
- input (form input Object) (default: {})
|
|
8
|
+
- attributes (drupal attrs)
|
|
8
9
|
]
|
|
9
10
|
#}
|
|
10
11
|
|