@ons/design-system 70.0.10 → 70.0.12
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/README.md +36 -0
- package/components/address-output/example-address-output.njk +11 -0
- package/components/card/_macro.njk +1 -1
- package/components/document-list/{document-list.scss → _document-list.scss} +4 -4
- package/components/header/_macro.spec.js +513 -721
- package/components/header/_test_examples.js +157 -0
- package/components/hero/_macro.njk +1 -1
- package/components/input/_macro.njk +1 -1
- package/components/label/_label.scss +1 -1
- package/components/list/_list.scss +20 -11
- package/components/list/_macro.njk +11 -6
- package/components/list/_macro.spec.js +29 -6
- package/components/list/example-bare-list.njk +21 -0
- package/components/list/example-bulleted-list.njk +17 -0
- package/components/list/example-dashed-list.njk +20 -0
- package/components/list/example-inline-list-with-social-icon-prefix.njk +42 -0
- package/components/list/example-inline-list.njk +20 -0
- package/components/list/example-list-with-icon-prefix.njk +18 -0
- package/components/list/example-list-with-icon-suffix.njk +18 -0
- package/components/list/example-nested-list.njk +39 -0
- package/components/list/example-numbered-list.njk +17 -0
- package/components/list/example-prefixed-list.njk +19 -0
- package/components/list/example-suffixed-list.njk +19 -0
- package/components/list/example-summary-list.njk +17 -0
- package/components/navigation/_macro.njk +1 -1
- package/components/navigation/_macro.spec.js +1 -1
- package/components/quote/example-quote.njk +7 -0
- package/components/related-content/example-related-content-social-media.njk +0 -1
- package/components/summary/_macro.njk +1 -1
- package/components/text-indent/example-text-indent.njk +6 -0
- package/css/main.css +1 -1
- package/img/large/placeholder-card.png +0 -0
- package/img/small/placeholder-card.png +0 -0
- package/layout/_dsTemplate.njk +1 -1
- package/package.json +1 -1
- package/scss/main.scss +1 -1
- package/scss/utilities/_index.scss +1 -1
- package/scss/utilities/{_pad.scss → _padding.scss} +6 -6
- package/scss/vars/_colors.scss +1 -2
- package/components/back-link/example-back-link.njk +0 -17
- package/components/helpers/_grid.scss +0 -6
- package/components/helpers/grid.njk +0 -20
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
|
|
136
136
|
{% if group.summaryLink %}
|
|
137
137
|
<div
|
|
138
|
-
class="ons-summary__link{{ ' ons-u-pt-s' if group.placeholderText or group.rows }}{{ ' ons-u-bt' if group.placeholderText is not defined and group.rows | length > 1 and params.variant != 'card' }}{{ ' ons-u-mb-xl' if not group.last }}"
|
|
138
|
+
class="ons-summary__link{{ ' ons-u-pt-s' if params.variant != 'card' and (group.placeholderText or group.rows) }}{{ ' ons-u-bt' if group.placeholderText is not defined and group.rows | length > 1 and params.variant != 'card' }}{{ ' ons-u-mb-xl' if not group.last }}"
|
|
139
139
|
>
|
|
140
140
|
{% set link %}
|
|
141
141
|
<a
|