@ilo-org/twig 0.16.1 → 0.16.2
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @ilo-org/twig@0.16.
|
|
2
|
+
> @ilo-org/twig@0.16.2 build:lib /home/runner/work/designsystem/designsystem/packages/twig
|
|
3
3
|
> node importprefix.js && node importsvgs.js && pnpm output
|
|
4
4
|
|
|
5
5
|
theme prefix added
|
|
6
6
|
|
|
7
|
-
> @ilo-org/twig@0.16.
|
|
7
|
+
> @ilo-org/twig@0.16.2 output /home/runner/work/designsystem/designsystem/packages/twig
|
|
8
8
|
> node outputtwigs.js
|
|
9
9
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @ilo-org/twig
|
|
2
2
|
|
|
3
|
+
## 0.16.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4ed63c1a1: Fix bug in Multilink Card that prevented `alignment` property from being applied was size was set to `fluid`.
|
|
8
|
+
- Updated dependencies [94c28eae7]
|
|
9
|
+
- @ilo-org/styles@0.14.2
|
|
10
|
+
|
|
3
11
|
## 0.16.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/twig",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Twig components for the ILO's Design System",
|
|
6
6
|
"main": "",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@ilo-org/brand-assets": "0.4.0",
|
|
28
28
|
"@ilo-org/fonts": "0.1.2",
|
|
29
29
|
"@ilo-org/icons": "0.2.1",
|
|
30
|
-
"@ilo-org/styles": "0.14.
|
|
31
|
-
"@ilo-org/
|
|
32
|
-
"@ilo-org/
|
|
30
|
+
"@ilo-org/styles": "0.14.2",
|
|
31
|
+
"@ilo-org/utils": "0.0.11",
|
|
32
|
+
"@ilo-org/themes": "0.7.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/core": "^7.20.12",
|
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
{#
|
|
2
|
-
MULTILINK CARD COMPONENT
|
|
3
|
-
#}
|
|
1
|
+
{# card_multilink.twig #}
|
|
4
2
|
|
|
5
|
-
<div class="{{prefix}}--card {{prefix}}--card__type__multilink {% if link|length > 0 %} {{prefix}}--card__action {% endif %} {{prefix}}--card__size__{{size}} {% if isvideo %} {{prefix}}--card__isvideo {% endif %} {% if linklist %} {{prefix}}--card__linklist {% endif %} {% if size == "wide" %} {{prefix}}--card__align__{{alignment}} {% endif %}">
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
<div class="{{prefix}}--card {{prefix}}--card__type__multilink {% if link|length > 0 %} {{prefix}}--card__action {% endif %} {{prefix}}--card__size__{{size}} {% if isvideo %} {{prefix}}--card__isvideo {% endif %} {% if linklist %} {{prefix}}--card__linklist {% endif %} {% if size == "wide" or size == "fluid" %} {{prefix}}--card__align__{{alignment}} {% endif %}">
|
|
4
|
+
{% if link|length > 0 %}
|
|
5
|
+
<a class="{{prefix}}--card--link" href="{{link}}" title="{{title}}">
|
|
6
|
+
<span class="{{prefix}}--card--link--text">{{title}}</span>
|
|
7
|
+
</a>
|
|
8
|
+
{% endif %}
|
|
9
|
+
<div class="{{prefix}}--card--wrap">
|
|
10
|
+
<div class="{{prefix}}--card--image--wrapper">
|
|
11
|
+
{% include "@components/picture/picture.twig" with {
|
|
14
12
|
image: image,
|
|
15
13
|
class: "card"
|
|
16
14
|
}
|
|
17
15
|
%}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
</div>
|
|
17
|
+
<div class="{{prefix}}--card--content">
|
|
18
|
+
{% if eyebrow %}
|
|
19
|
+
<p class="{{prefix}}--card--eyebrow">{{eyebrow}}</p>
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% if title %}
|
|
22
|
+
<h3 class="{{prefix}}--card--title">{{title}}</h3>
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% if image %}
|
|
25
|
+
<div class="{{prefix}}--card--image--wrapper">
|
|
26
|
+
{% include "@components/picture/picture.twig" with {
|
|
29
27
|
image: image,
|
|
30
28
|
class: "card"
|
|
31
29
|
}
|
|
32
30
|
%}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
</div>
|
|
32
|
+
{% endif %}
|
|
33
|
+
{% if intro %}
|
|
34
|
+
<p class="{{prefix}}--card--intro">{{intro}}</p>
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% if linklist %}
|
|
37
|
+
{% include "@components/linklist/linklist.twig" with {
|
|
40
38
|
headline: linklist.headline,
|
|
41
39
|
linkgroup: linklist.linkgroup,
|
|
42
40
|
prefix: prefix
|
|
43
41
|
} only %}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
{% endif %}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
47
45
|
</div>
|