@ons/design-system 45.1.3 → 45.1.4
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.
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
{% endif %}
|
|
12
12
|
<div class="{{ className }}">
|
|
13
13
|
{% for summary in params.summaries %}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{%
|
|
14
|
+
{% if summary.summaryTitle is defined and summary.summaryTitle %}
|
|
15
|
+
<h2 class="ons-summary__title ons-u-mb-m">{{ summary.summaryTitle }}</h2>
|
|
16
|
+
{% set titleSize = "3" %}
|
|
17
|
+
{% endif %}
|
|
18
|
+
{% for group in summary.groups %}
|
|
19
|
+
<div {% if group.id is defined and group.id %}id="{{ group.id }}" {% endif %} class="ons-summary__group">
|
|
20
20
|
{% if group.groupTitle is defined and group.groupTitle %}
|
|
21
21
|
<h{{ titleSize }} class="ons-summary__group-title">{{ group.groupTitle }}</h{{ titleSize }}>
|
|
22
22
|
{% endif %}
|
|
@@ -122,8 +122,8 @@
|
|
|
122
122
|
<a {% if group.summaryLink.attributes is defined and group.summaryLink.attributes %}{% for attribute, value in (group.summaryLink.attributes.items() if group.summaryLink.attributes is mapping and group.summaryLink.attributes.items else group.summaryLink.attributes) %}{{attribute}}="{{value}}" {% endfor %}{% endif %} href="{{ group.summaryLink.url }}">{{ group.summaryLink.text }}</a>
|
|
123
123
|
</div>
|
|
124
124
|
{% endif %}
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
</div>
|
|
126
|
+
{% endfor %}
|
|
127
127
|
{% endfor %}
|
|
128
128
|
</div>
|
|
129
129
|
{% endmacro %}
|