@ilo-org/twig 0.17.1 → 1.0.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/dist/components/{accordion-item → accordion}/accordion-item.twig +2 -2
- package/dist/components/card_detail/card_detail.twig +27 -27
- package/dist/components/card_detail/card_detail.wingsuit.yml +12 -0
- package/dist/components/card_factlist/card_factlist.twig +11 -11
- package/dist/components/card_factlist/card_factlist.wingsuit.yml +12 -0
- package/dist/components/card_feature/card_feature.twig +24 -24
- package/dist/components/card_feature/card_feature.wingsuit.yml +12 -0
- package/dist/components/card_multilink/card_multilink.twig +1 -1
- package/dist/components/card_multilink/card_multilink.wingsuit.yml +12 -0
- package/dist/components/card_promo/card_promo.twig +23 -23
- package/dist/components/card_promo/card_promo.wingsuit.yml +12 -0
- package/dist/components/card_stat/card_stat.twig +1 -1
- package/dist/components/card_stat/card_stat.wingsuit.yml +12 -0
- package/dist/components/card_text/card_text.twig +21 -21
- package/dist/components/card_text/card_text.wingsuit.yml +12 -0
- package/dist/components/cardgroup/cardgroup.twig +16 -18
- package/dist/components/cardgroup/cardgroup.wingsuit.yml +12 -0
- package/dist/components/checkbox/checkbox.twig +1 -1
- package/dist/components/checkbox/checkbox.wingsuit.yml +1 -0
- package/dist/components/datepicker/datepicker.twig +2 -2
- package/dist/components/dropdown/dropdown.twig +1 -1
- package/dist/components/dropdown/dropdown.wingsuit.yml +2 -1
- package/dist/components/fileupload/fileupload.twig +1 -1
- package/dist/components/fileupload/fileupload.wingsuit.yml +1 -0
- package/dist/components/{fieldset → form}/fieldset.twig +1 -1
- package/dist/components/form/form.twig +1 -1
- package/dist/components/{formcontrol → form}/formcontrol.twig +1 -1
- package/dist/components/{input → form}/input.twig +1 -1
- package/dist/components/list/list-item.twig +6 -0
- package/dist/components/list/list.twig +2 -2
- package/dist/components/list/list.wingsuit.yml +11 -11
- package/dist/components/list-item/list-item.wingsuit.yml +1 -1
- package/dist/components/navigation/navigation.behavior.js +1 -1
- package/dist/components/navigation/navigation.css +1 -1
- package/dist/components/navigation/navigation.twig +27 -27
- package/dist/components/navigation/navigation.wingsuit.yml +1 -0
- package/dist/components/numberpicker/numberpicker.twig +2 -2
- package/dist/components/numberpicker/numberpicker.wingsuit.yml +1 -0
- package/dist/components/promocard/promocard.css +1 -1
- package/dist/components/radio/radio.twig +1 -1
- package/dist/components/radio/radio.wingsuit.yml +1 -0
- package/dist/components/search/search.twig +3 -3
- package/dist/components/search/search.wingsuit.yml +1 -0
- package/dist/components/tag/tag.wingsuit.yml +4 -3
- package/dist/components/{tag → tags}/tag.twig +4 -4
- package/dist/components/tags/tags.twig +1 -1
- package/dist/components/tags/tags.wingsuit.yml +3 -3
- package/dist/components/textarea/textarea.twig +1 -1
- package/dist/components/textarea/textarea.wingsuit.yml +1 -0
- package/dist/components/textinput/textinput.twig +1 -1
- package/dist/components/textinput/textinput.wingsuit.yml +1 -0
- package/dist/components/toggle/toggle.twig +1 -1
- package/dist/components/toggle/toggle.wingsuit.yml +1 -0
- package/package.json +3 -3
- package/src/patterns/components/card_detail/card_detail.twig +27 -27
- package/src/patterns/components/card_detail/card_detail.wingsuit.yml +12 -0
- package/src/patterns/components/card_factlist/card_factlist.twig +11 -11
- package/src/patterns/components/card_factlist/card_factlist.wingsuit.yml +12 -0
- package/src/patterns/components/card_feature/card_feature.twig +24 -24
- package/src/patterns/components/card_feature/card_feature.wingsuit.yml +12 -0
- package/src/patterns/components/card_multilink/card_multilink.twig +1 -1
- package/src/patterns/components/card_multilink/card_multilink.wingsuit.yml +12 -0
- package/src/patterns/components/card_promo/card_promo.twig +23 -23
- package/src/patterns/components/card_promo/card_promo.wingsuit.yml +12 -0
- package/src/patterns/components/card_stat/card_stat.twig +1 -1
- package/src/patterns/components/card_stat/card_stat.wingsuit.yml +12 -0
- package/src/patterns/components/card_text/card_text.twig +21 -21
- package/src/patterns/components/card_text/card_text.wingsuit.yml +12 -0
- package/src/patterns/components/cardgroup/cardgroup.twig +16 -18
- package/src/patterns/components/cardgroup/cardgroup.wingsuit.yml +12 -0
- package/src/patterns/components/checkbox/checkbox.wingsuit.yml +1 -0
- package/src/patterns/components/dropdown/dropdown.wingsuit.yml +2 -1
- package/src/patterns/components/fileupload/fileupload.wingsuit.yml +1 -0
- package/src/patterns/components/list/list-item.twig +1 -1
- package/src/patterns/components/list/list-item.wingsuit.yml +1 -1
- package/src/patterns/components/list/list.twig +2 -2
- package/src/patterns/components/list/list.wingsuit.yml +11 -11
- package/src/patterns/components/navigation/navigation.js +27 -3
- package/src/patterns/components/navigation/navigation.twig +27 -27
- package/src/patterns/components/navigation/navigation.wingsuit.yml +1 -0
- package/src/patterns/components/numberpicker/numberpicker.wingsuit.yml +1 -0
- package/src/patterns/components/radio/radio.wingsuit.yml +1 -0
- package/src/patterns/components/search/search.wingsuit.yml +1 -0
- package/src/patterns/components/tags/tag.twig +4 -4
- package/src/patterns/components/tags/tag.wingsuit.yml +4 -3
- package/src/patterns/components/tags/tags.twig +1 -1
- package/src/patterns/components/tags/tags.wingsuit.yml +3 -3
- package/src/patterns/components/textarea/textarea.wingsuit.yml +1 -0
- package/src/patterns/components/textinput/textinput.wingsuit.yml +1 -0
- package/src/patterns/components/toggle/toggle.wingsuit.yml +1 -0
- package/dist/components/list-item/list-item.twig +0 -6
- /package/dist/components/{videoplayer → video}/videoplayer.twig +0 -0
|
@@ -3,35 +3,35 @@
|
|
|
3
3
|
#}
|
|
4
4
|
|
|
5
5
|
<div class="{{prefix}}--card {{prefix}}--card__type__detail {{prefix}}--card__action {{prefix}}--card__size__{{size}} {% if isvideo %} {{prefix}}--card__isvideo {% endif %}">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
<a class="{{prefix}}--card--link" href="{{link}}" title="{{title}}">
|
|
7
|
+
<span class="{{prefix}}--card--link--text">{{title}}</span>
|
|
8
|
+
</a>
|
|
9
|
+
<div class="{{prefix}}--card--wrap">
|
|
10
|
+
{% if image %}
|
|
11
|
+
<div class="{{prefix}}--card--image--wrapper">
|
|
12
|
+
{% include "@components/picture/picture.twig" with {
|
|
13
13
|
image: image,
|
|
14
14
|
class: "card"
|
|
15
15
|
}
|
|
16
16
|
%}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
17
|
+
</div>
|
|
18
|
+
{% endif %}
|
|
19
|
+
<div class="{{prefix}}--card--content">
|
|
20
|
+
{% if eyebrow %}
|
|
21
|
+
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% if title %}
|
|
24
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
25
|
+
{% endif %}
|
|
26
|
+
{% if intro %}
|
|
27
|
+
<p class="{{prefix}}--card--intro">{{intro}}</p>
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if date %}
|
|
30
|
+
<time class="{{prefix}}--card--date" datetime="{{date.unix}}">{{date.human}}</time>
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if dateExtra %}
|
|
33
|
+
<p class="{{prefix}}--card--date-extra">{{dateExtra}}</p>
|
|
34
|
+
{% endif %}
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
37
|
</div>
|
|
@@ -69,3 +69,15 @@ detailcard:
|
|
|
69
69
|
options:
|
|
70
70
|
"true": "true"
|
|
71
71
|
"false": "false"
|
|
72
|
+
titleLevel:
|
|
73
|
+
type: select
|
|
74
|
+
label: Title Element
|
|
75
|
+
description: HTML element used for the title
|
|
76
|
+
required: false
|
|
77
|
+
options:
|
|
78
|
+
p: p
|
|
79
|
+
h1: h1
|
|
80
|
+
h2: h2
|
|
81
|
+
h3: h3
|
|
82
|
+
h4: h4
|
|
83
|
+
h5: h5
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{#
|
|
2
2
|
FACT LIST CARD COMPONENT
|
|
3
3
|
#}
|
|
4
|
-
<div class="{{prefix}}--card {{prefix}}--card__type__factlist
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
<div class="{{prefix}}--card {{prefix}}--card__type__factlist {{prefix}}--card__size__{{size}} {{prefix}}--card__theme__{{theme}}">
|
|
5
|
+
<div class="{{prefix}}--card--wrap">
|
|
6
|
+
<div class="{{prefix}}--card--content">
|
|
7
|
+
{% if title %}
|
|
8
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
9
|
+
{% endif %}
|
|
10
|
+
{% if list %}
|
|
11
|
+
{% include "@components/list/list.twig" with {
|
|
12
12
|
title: list.title,
|
|
13
13
|
ordered: list.ordered,
|
|
14
14
|
alignment: list.alignment,
|
|
15
15
|
items: list.items,
|
|
16
16
|
prefix: prefix,
|
|
17
17
|
} only %}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
{% endif %}
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
21
|
</div>
|
|
@@ -3,37 +3,37 @@
|
|
|
3
3
|
#}
|
|
4
4
|
|
|
5
5
|
<div class="{{prefix}}--card {{prefix}}--card__type__feature {{prefix}}--card__action {{prefix}}--card__theme__{{theme}} {{prefix}}--card__size__{{ size }} {% if isvideo %} {{prefix}}--card__isvideo {% endif %} {% if cta %} {{prefix}}--card__linklist {% endif %}">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
<a class="{{prefix}}--card--link" href="{{link}}" title="{{title}}">
|
|
7
|
+
<span class="{{prefix}}--card--link--text">{{title}}</span>
|
|
8
|
+
</a>
|
|
9
|
+
<div class="{{prefix}}--card--wrap">
|
|
10
|
+
{% if image %}
|
|
11
|
+
<div class="{{prefix}}--card--image--wrapper">
|
|
12
|
+
{% include "@components/picture/picture.twig" with {
|
|
13
13
|
image: image,
|
|
14
14
|
class: "card"
|
|
15
15
|
}
|
|
16
16
|
%}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
</div>
|
|
18
|
+
{% endif %}
|
|
19
|
+
<div class="{{prefix}}--card--content">
|
|
20
|
+
{% if eyebrow %}
|
|
21
|
+
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% if title %}
|
|
24
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
25
|
+
{% endif %}
|
|
26
|
+
{% if date %}
|
|
27
|
+
<time class="{{prefix}}--card--date" datetime="{{date.unix}}">{{date.human}}</time>
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if cta %}
|
|
30
|
+
{% include "@components/linklist/linklist.twig" with {
|
|
31
31
|
linkgroup: [{
|
|
32
32
|
links: [cta]
|
|
33
33
|
}],
|
|
34
34
|
prefix: prefix
|
|
35
35
|
} only %}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
{% endif %}
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
39
|
</div>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
20
20
|
{% endif %}
|
|
21
21
|
{% if title %}
|
|
22
|
-
<
|
|
22
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
23
23
|
{% endif %}
|
|
24
24
|
{% if image %}
|
|
25
25
|
<div class="{{prefix}}--card--image--wrapper">
|
|
@@ -89,3 +89,15 @@ multilinkcard:
|
|
|
89
89
|
narrow: narrow
|
|
90
90
|
wide: wide
|
|
91
91
|
fluid: fluid
|
|
92
|
+
titleLevel:
|
|
93
|
+
type: select
|
|
94
|
+
label: Title Element
|
|
95
|
+
description: HTML element used for the title
|
|
96
|
+
required: false
|
|
97
|
+
options:
|
|
98
|
+
p: p
|
|
99
|
+
h1: h1
|
|
100
|
+
h2: h2
|
|
101
|
+
h3: h3
|
|
102
|
+
h4: h4
|
|
103
|
+
h5: h5
|
|
@@ -3,33 +3,33 @@
|
|
|
3
3
|
#}
|
|
4
4
|
|
|
5
5
|
<div class="{{prefix}}--card--wrapper {{prefix}}--card--wrapper__type__promo {{prefix}}--card--wrapper__type__promo__size__{{ size }}">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
6
|
+
<div class="{{prefix}}--card {{prefix}}--card__type__promo {{prefix}}--card__size__{{ size }} {{prefix}}--card__action {{prefix}}--card__theme__{{theme}} {% if cornercut %}{{prefix}}--card__cornercut{% endif %}">
|
|
7
|
+
<a class="{{prefix}}--card--link" href="{{link}}" title="{{title}}">
|
|
8
|
+
<span class="{{prefix}}--card--link--text">{{title}}</span>
|
|
9
|
+
</a>
|
|
10
|
+
<div class="{{prefix}}--card--wrap">
|
|
11
|
+
<div class="{{prefix}}--card--content">
|
|
12
|
+
{% if eyebrow %}
|
|
13
|
+
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{% if title %}
|
|
16
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if intro %}
|
|
19
|
+
<p class="{{prefix}}--card--intro">{{intro}}</p>
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% if cta %}
|
|
22
|
+
<div class="{{prefix}}--card--cta">
|
|
23
|
+
{% include "@components/button/button.twig" with {
|
|
24
24
|
size: "medium",
|
|
25
25
|
url: cta.url,
|
|
26
26
|
label: cta.label,
|
|
27
27
|
type: "primary",
|
|
28
28
|
prefix: prefix,
|
|
29
29
|
} only %}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
</div>
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
35
|
</div>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="{{prefix}}--card--wrap">
|
|
6
6
|
<div class="{{prefix}}--card--content">
|
|
7
7
|
{% if title %}
|
|
8
|
-
<
|
|
8
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
9
9
|
{% endif %}
|
|
10
10
|
{% if intro %}
|
|
11
11
|
<p class="{{prefix}}--card--intro">{{intro}}</p>
|
|
@@ -42,3 +42,15 @@ statcard:
|
|
|
42
42
|
yellow: yellow
|
|
43
43
|
blue: blue
|
|
44
44
|
preview: "blue"
|
|
45
|
+
titleLevel:
|
|
46
|
+
type: select
|
|
47
|
+
label: Title Element
|
|
48
|
+
description: HTML element used for the title
|
|
49
|
+
required: false
|
|
50
|
+
options:
|
|
51
|
+
p: p
|
|
52
|
+
h1: h1
|
|
53
|
+
h2: h2
|
|
54
|
+
h3: h3
|
|
55
|
+
h4: h4
|
|
56
|
+
h5: h5
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
#}
|
|
4
4
|
|
|
5
5
|
<div class="{{prefix}}--card--wrapper">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
<div class="{{prefix}}--card {{prefix}}--card__type__text {{prefix}}--card__size__{{ size }} {{prefix}}--card__action {{prefix}}--card__theme__{{theme}}">
|
|
7
|
+
<a class="{{prefix}}--card--link" href="{{link}}" title="{{title}}">
|
|
8
|
+
<span class="{{prefix}}--card--link--text">{{title}}</span>
|
|
9
|
+
</a>
|
|
10
|
+
<div class="{{prefix}}--card--wrap">
|
|
11
|
+
<div class="{{prefix}}--card--content">
|
|
12
|
+
{% if eyebrow %}
|
|
13
|
+
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
14
|
+
{% endif %}
|
|
15
|
+
{% if title %}
|
|
16
|
+
<{{titleLevel|default('p')}} class="{{ prefix }}--card--title">{{ title }}</{{titleLevel|default('p')}}>
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% if date %}
|
|
19
|
+
<time class="{{prefix}}--card--date" datetime="{{date.unix}}">{{date.human}}</time>
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% if profile %}
|
|
22
|
+
{% include "@components/profile/profile.twig" with {
|
|
23
23
|
avatar: profile.avatar,
|
|
24
24
|
description: profile.description,
|
|
25
25
|
link: profile.link,
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
prefix: prefix,
|
|
29
29
|
theme: theme,
|
|
30
30
|
} only %}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
35
|
</div>
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
CARDGROUP COMPONENT
|
|
3
3
|
#}
|
|
4
4
|
{% if not cardcount%}
|
|
5
|
-
|
|
5
|
+
{% set cardcount = "three" %}
|
|
6
6
|
{% endif %}
|
|
7
7
|
|
|
8
8
|
<div class="{{prefix}}--cardgroup {{prefix}}--cardgroup__count__{{cardcount}} {% if collapsed %} {{prefix}}--cardgroup__collapsed {% endif %}">
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
<div class="{{prefix}}--cardgroup--inner">
|
|
10
|
+
{% for card in group %}
|
|
11
|
+
<div class="{{prefix}}--cardgroup--card">
|
|
12
|
+
{% include "@components/card/card.twig" with {
|
|
13
13
|
size: size,
|
|
14
14
|
theme: theme,
|
|
15
15
|
type: type,
|
|
@@ -24,23 +24,21 @@
|
|
|
24
24
|
linklist: card.linklist,
|
|
25
25
|
list: card.list,
|
|
26
26
|
title: card.title,
|
|
27
|
+
titleLevel: titleLevel,
|
|
27
28
|
alignment: alignment,
|
|
28
29
|
color: card.color,
|
|
29
30
|
cornercut: card.cornercut,
|
|
30
31
|
source: card.source,
|
|
31
32
|
prefix: prefix
|
|
32
33
|
} only %}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</a>
|
|
44
|
-
</div>
|
|
45
|
-
{% endif %}
|
|
34
|
+
</div>
|
|
35
|
+
{% endfor %}
|
|
36
|
+
</div>
|
|
37
|
+
{% if cta %}
|
|
38
|
+
<div class="{{prefix}}--cardgroup--button-wrap">
|
|
39
|
+
<a class="{{prefix}}--button {{prefix}}--button--medium {{prefix}}--button--secondary" href="{{cta.url}}">
|
|
40
|
+
<span class="button__label">{{ cta.label }}</span>
|
|
41
|
+
</a>
|
|
42
|
+
</div>
|
|
43
|
+
{% endif %}
|
|
46
44
|
</div>
|
|
@@ -53,6 +53,18 @@ cardgroup:
|
|
|
53
53
|
options:
|
|
54
54
|
dark: Dark
|
|
55
55
|
light: Light
|
|
56
|
+
titleLevel:
|
|
57
|
+
type: select
|
|
58
|
+
label: TitleLevel
|
|
59
|
+
description: Sets the heading level of the title for all of the cards. This is not applied to Data Cards which do not have titles
|
|
60
|
+
preview: p
|
|
61
|
+
options:
|
|
62
|
+
p: p
|
|
63
|
+
h1: h1
|
|
64
|
+
h2: h2
|
|
65
|
+
h3: h3
|
|
66
|
+
h4: h4
|
|
67
|
+
h5: h5
|
|
56
68
|
type:
|
|
57
69
|
type: select
|
|
58
70
|
label: Type
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dropdown:
|
|
2
|
-
namespace:
|
|
2
|
+
namespace: Components/Forms
|
|
3
3
|
use: "@components/dropdown/dropdown.twig"
|
|
4
4
|
label: Dropdown
|
|
5
5
|
description: The Dropdown displays a select element with options, and is most
|
|
@@ -13,6 +13,7 @@ dropdown:
|
|
|
13
13
|
preview: "Select a country"
|
|
14
14
|
tooltip:
|
|
15
15
|
type: string
|
|
16
|
+
label: Tooltip
|
|
16
17
|
description: The tooltip for the form element.
|
|
17
18
|
helper:
|
|
18
19
|
type: text
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
prefix: prefix,
|
|
17
17
|
label: item.label,
|
|
18
18
|
content: item.content,
|
|
19
|
-
|
|
19
|
+
elementId: item.id,
|
|
20
20
|
} only %}
|
|
21
21
|
{% endfor %}
|
|
22
22
|
</ol>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
prefix: prefix,
|
|
28
28
|
label: item.label,
|
|
29
29
|
content: item.content,
|
|
30
|
-
|
|
30
|
+
elementId: item.id,
|
|
31
31
|
} only %}
|
|
32
32
|
{% endfor %}
|
|
33
33
|
</ul>
|
|
@@ -16,27 +16,27 @@ list:
|
|
|
16
16
|
required: true
|
|
17
17
|
preview:
|
|
18
18
|
- content: The International Labour Organization (ILO) was founded in 1919 as part of the League of Nations to promote workers' rights, encourage decent employment opportunities, and enhance social protection.
|
|
19
|
-
|
|
19
|
+
elementId: item1
|
|
20
20
|
- content: The ILO aims to promote rights at work, encourage decent job opportunities, enhance social protection, and strengthen dialogue on work-related issues.
|
|
21
|
-
|
|
21
|
+
elementId: item2
|
|
22
22
|
- content: The ILO advocates for social justice and internationally recognized human and labor rights.
|
|
23
|
-
|
|
23
|
+
elementId: item3
|
|
24
24
|
- content: The ILO develops international labor standards in the form of conventions and recommendations to improve working conditions and labor rights.
|
|
25
|
-
|
|
25
|
+
elementId: item4
|
|
26
26
|
- content: The ILO is unique in its tripartite structure that includes representatives from government, employer, and worker organizations.
|
|
27
|
-
|
|
27
|
+
elementId: item5
|
|
28
28
|
- content: The ILO works to eradicate child labor, targeting the worst forms of child labor through conventions and action programs.
|
|
29
|
-
|
|
29
|
+
elementId: item6
|
|
30
30
|
- content: The ILO promotes gender equality and empowers women through targeted policies and programs.
|
|
31
|
-
|
|
31
|
+
elementId: item7
|
|
32
32
|
- content: The ILO’s Decent Work agenda aims to secure fair income, safety at work, social protection, and respect for workers' rights.
|
|
33
|
-
|
|
33
|
+
elementId: item8
|
|
34
34
|
- content: The ILO provides research and data on global employment trends and labor market issues to inform policy development.
|
|
35
|
-
|
|
35
|
+
elementId: item9
|
|
36
36
|
- content: The ILO offers training and education programs to improve occupational skills and competencies.
|
|
37
|
-
|
|
37
|
+
elementId: item10
|
|
38
38
|
- content: The annual International Labor Conference is where ILO members convene to discuss and create labor standards.
|
|
39
|
-
|
|
39
|
+
elementId: item11
|
|
40
40
|
settings:
|
|
41
41
|
ordered:
|
|
42
42
|
type: select
|