This repository has been archived by the owner on Jun 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #847 from massgov/release-5.25.0
Release 5.25.0
- Loading branch information
Showing
123 changed files
with
244 additions
and
129 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.75 KB
(100%)
...js/reference/regression_page_G2G-G2G-ORG-Health-Services_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.23 KB
(100%)
...s/reference/regression_page_G2G-G2G-ORG-Health-Services_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.45 KB
(100%)
...ce/regression_page_G2G-G2G-Service-Unemployment-Benefits_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.26 KB
(100%)
...e/regression_page_G2G-G2G-Service-Unemployment-Benefits_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_Homepage_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_Homepage_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.47 KB
(100%)
backstopjs/reference/regression_page_binder-page-cover_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.08 KB
(100%)
backstopjs/reference/regression_page_binder-page-internal_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.47 KB
(100%)
backstopjs/reference/regression_page_bio-page_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.25 KB
(100%)
backstopjs/reference/regression_page_bio-page_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_board-decision_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.76 KB
(100%)
...erence/regression_page_detail-for-service-howto-location_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.22 KB
(100%)
...rence/regression_page_detail-for-service-howto-location_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.48 KB
(100%)
...topjs/reference/regression_page_event-end-date-with-time_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.21 KB
(100%)
...opjs/reference/regression_page_event-end-date-with-time_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.47 KB
(100%)
backstopjs/reference/regression_page_event-end-date_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.33 KB
(100%)
backstopjs/reference/regression_page_event-end-date_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_event-listing_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_event-listing_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.44 KB
(100%)
...js/reference/regression_page_event-public-meeting-agenda_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.4 KB
(100%)
...s/reference/regression_page_event-public-meeting-agenda_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.44 KB
(100%)
...s/reference/regression_page_event-public-meeting-minutes_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.2 KB
(100%)
.../reference/regression_page_event-public-meeting-minutes_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.46 KB
(100%)
backstopjs/reference/regression_page_event-public-meeting_0_document_0_phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.21 KB
(100%)
backstopjs/reference/regression_page_event-public-meeting_0_document_1_tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_event-recurring_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.08 KB
(100%)
backstopjs/reference/regression_page_event-recurring_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.46 KB
(100%)
backstopjs/reference/regression_page_event_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.12 KB
(100%)
backstopjs/reference/regression_page_event_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.76 KB
(100%)
backstopjs/reference/regression_page_executive-order_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.16 KB
(100%)
backstopjs/reference/regression_page_executive-order_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.47 KB
(100%)
backstopjs/reference/regression_page_form-page-example_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
backstopjs/reference/regression_page_form-page-example_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.44 KB
(100%)
...topjs/reference/regression_page_guide-section-all-fields_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.19 KB
(100%)
...opjs/reference/regression_page_guide-section-all-fields_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.23 KB
(100%)
backstopjs/reference/regression_page_guide_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.77 KB
(100%)
backstopjs/reference/regression_page_howto_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
backstopjs/reference/regression_page_howto_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.49 KB
(100%)
...nce/regression_page_information-details-preContent-media_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.21 KB
(100%)
...ce/regression_page_information-details-preContent-media_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.79 KB
(100%)
...ce/regression_page_information-details-table-of-contents_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.27 KB
(100%)
...e/regression_page_information-details-table-of-contents_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.75 KB
(100%)
backstopjs/reference/regression_page_information-details_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_information-details_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.43 KB
(100%)
backstopjs/reference/regression_page_listing-links_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_listing-links_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.8 KB
(100%)
...topjs/reference/regression_page_location-general-content_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+2.64 KB
(100%)
...opjs/reference/regression_page_location-general-content_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.52 KB
(100%)
backstopjs/reference/regression_page_location-listing_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.19 KB
(100%)
backstopjs/reference/regression_page_location-listing_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
backstopjs/reference/regression_page_location-park-content_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.19 KB
(100%)
backstopjs/reference/regression_page_organization-boards_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.75 KB
(100%)
backstopjs/reference/regression_page_organization-detail_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.23 KB
(100%)
backstopjs/reference/regression_page_organization-detail_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.17 KB
(100%)
...reference/regression_page_organization-elected-official_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.74 KB
(100%)
backstopjs/reference/regression_page_organization_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.24 KB
(100%)
backstopjs/reference/regression_page_organization_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_page-alert_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.21 KB
(100%)
backstopjs/reference/regression_page_page-alert_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.8 KB
(100%)
backstopjs/reference/regression_page_people-listing_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_people-listing_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.23 KB
(100%)
...pjs/reference/regression_page_policy-advisory-directive_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_press-listing_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
backstopjs/reference/regression_page_press-listing_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.77 KB
(100%)
...topjs/reference/regression_page_press-release-with-image_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.19 KB
(100%)
...opjs/reference/regression_page_press-release-with-image_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.79 KB
(100%)
...topjs/reference/regression_page_press-release-with-video_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
...opjs/reference/regression_page_press-release-with-video_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.8 KB
(100%)
backstopjs/reference/regression_page_press-release_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.21 KB
(100%)
backstopjs/reference/regression_page_press-release_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.15 KB
(100%)
backstopjs/reference/regression_page_regulation_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_rules-of-court_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_page_section-landing_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.21 KB
(100%)
backstopjs/reference/regression_page_section-landing_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.78 KB
(100%)
backstopjs/reference/regression_page_service_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.22 KB
(100%)
backstopjs/reference/regression_page_service_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.44 KB
(100%)
backstopjs/reference/regression_page_site-alert_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_site-alert_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.46 KB
(100%)
backstopjs/reference/regression_page_topic-your-government_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.18 KB
(100%)
backstopjs/reference/regression_page_topic-your-government_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.46 KB
(100%)
backstopjs/reference/regression_page_topic_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.04 KB
(100%)
backstopjs/reference/regression_page_topic_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.44 KB
(100%)
backstopjs/reference/regression_page_video-transcript_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.2 KB
(100%)
backstopjs/reference/regression_page_video-transcript_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.47 KB
(100%)
...pjs/reference/regression_template_01-content-types-alert_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.21 KB
(100%)
...js/reference/regression_template_01-content-types-alert_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+7 Bytes
(100%)
...opjs/reference/regression_template_01-content-types-bio_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+54 Bytes
(100%)
...erence/regression_template_01-content-types-court-rules_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+7 Bytes
(100%)
...egression_template_01-content-types-information-details_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+4 Bytes
(100%)
.../reference/regression_template_01-content-types-location_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+1.43 KB
(100%)
...regression_template_01-content-types-organization-detail_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.32 KB
(100%)
...egression_template_01-content-types-organization-detail_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+56 Bytes
(100%)
...ce/regression_template_01-content-types-policy-advisory_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+6 Bytes
(100%)
.../reference/regression_template_01-content-types-services_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
-2.08 KB
(99%)
...reference/regression_template_01-content-types-services_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.44 KB
(100%)
backstopjs/reference/regression_template_single-column_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.15 KB
(100%)
backstopjs/reference/regression_template_single-column_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.45 KB
(100%)
...topjs/reference/regression_template_stacked-row-template_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.23 KB
(100%)
...opjs/reference/regression_template_stacked-row-template_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.46 KB
(100%)
...stopjs/reference/regression_template_two-column-reversed_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.08 KB
(100%)
...topjs/reference/regression_template_two-column-reversed_0_document_1_tablet.png
Oops, something went wrong.
Binary file modified
BIN
+1.45 KB
(100%)
backstopjs/reference/regression_template_two-column_0_document_0_phone.png
Oops, something went wrong.
Binary file modified
BIN
+3.07 KB
(100%)
backstopjs/reference/regression_template_two-column_0_document_1_tablet.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
styleguide/source/_patterns/02-molecules/general-teaser-emphasizedText.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"emphasizedText": [ | ||
"An emphasized text field", | ||
"Another emphasized text field" | ||
] | ||
} | ||
|
13 changes: 13 additions & 0 deletions
13
styleguide/source/_patterns/02-molecules/general-teaser-emphasizedText.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Description | ||
Emphasized Text field in block wrapper for the [General Teaser](/?p=molecules-general-teaser) | ||
|
||
### Status | ||
* Stable as of TBA | ||
|
||
### Variables | ||
~~~ | ||
generalTeaser : { | ||
eyebrow: | ||
type: string / optional | ||
} | ||
~~~ |
7 changes: 7 additions & 0 deletions
7
styleguide/source/_patterns/02-molecules/general-teaser-emphasizedText.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="ma__general-teaser__emph-text-wrapper"> | ||
{% for item in emphasizedText %} | ||
<span class="ma__general-teaser__emph-text"> | ||
{{ item }} | ||
</span> | ||
{% endfor %} | ||
</div> |
3 changes: 3 additions & 0 deletions
3
styleguide/source/_patterns/02-molecules/general-teaser-eyebrow.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"eyebrow": "Eyebrow" | ||
} |
14 changes: 14 additions & 0 deletions
14
styleguide/source/_patterns/02-molecules/general-teaser-eyebrow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### Description | ||
Eyebrow field in block wrapper for the [General Teaser](/?p=molecules-general-teaser) | ||
|
||
### Status | ||
* Stable as of TBA | ||
|
||
### Variables | ||
~~~ | ||
generalTeaser : { | ||
emphasizedText: [ | ||
type: array of string / optional, | ||
], | ||
} | ||
~~~ |
3 changes: 3 additions & 0 deletions
3
styleguide/source/_patterns/02-molecules/general-teaser-eyebrow.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="ma__general-teaser__eyebrow"> | ||
<span>{{ eyebrow }}</span> | ||
</div> |
9 changes: 9 additions & 0 deletions
9
styleguide/source/_patterns/02-molecules/general-teaser-title.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"level": "", | ||
"title" : { | ||
"href": "#", | ||
"text": "Link field for a title or name", | ||
"info": "", | ||
"property": "" | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
styleguide/source/_patterns/02-molecules/general-teaser-title.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### Description | ||
Title field in block wrapper for the [General Teaser](/?p=molecules-general-teaser) | ||
|
||
### Status | ||
* Stable as of TBA | ||
|
||
### Pattern Contains | ||
* Decorative Link | ||
|
||
|
||
### Variables | ||
~~~ | ||
generalTeaser : { | ||
title : { | ||
type: decorativeLink / required | ||
}, | ||
level: | ||
type: number / optional | ||
} | ||
~~~ |
9 changes: 9 additions & 0 deletions
9
styleguide/source/_patterns/02-molecules/general-teaser-title.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% set headingLevel = level ? : 2 %} | ||
<h{{ headingLevel }} class="ma__general-teaser__title"> | ||
{% if title.href %} | ||
{% set decorativeLink = title %} | ||
{% include "@atoms/decorative-link.twig" %} | ||
{% else %} | ||
{{ title.text }} | ||
{% endif %} | ||
</h{{ headingLevel }}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.