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 #854 from massgov/release-5.26.0
Release 5.26.0
- Loading branch information
Showing
93 changed files
with
3,660 additions
and
2,237 deletions.
There are no files selected for viewing
Binary file modified
BIN
-12.6 KB
(99%)
backstopjs/reference/regression_page_binder-page-internal_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
-1.01 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
-55.6 KB
(92%)
backstopjs/reference/regression_page_organization-boards_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
+147 KB
(110%)
backstopjs/reference/regression_page_organization-boards_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
+463 Bytes
(100%)
...topjs/reference/regression_page_press-release-with-image_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
-20.2 KB
(98%)
backstopjs/reference/regression_page_regulation_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
-1.98 KB
(100%)
backstopjs/reference/regression_page_regulation_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.
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
54 changes: 39 additions & 15 deletions
54
styleguide/source/_patterns/01-atoms/08-lists/ordered-list.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 |
---|---|---|
@@ -1,16 +1,40 @@ | ||
{ | ||
"orderedList": [{ | ||
"text": "This is a list item in an ordered list" | ||
},{ | ||
"text": "An ordered list is a list in which the sequence of items is important." | ||
},{ | ||
"text": "Lists can be nested inside of each other", | ||
"sublist" : [{ | ||
"text":"This is a nested list item" | ||
},{ | ||
"text":"This is another nested list item in an ordered list" | ||
}] | ||
},{ | ||
"text":"This is the last list item" | ||
}] | ||
} | ||
"orderedList": [ | ||
{ | ||
"text": "This is a list item in an ordered list" | ||
}, | ||
{ | ||
"text": "An ordered list is a list in which the sequence of items is important. Top level item counters are digits" | ||
}, | ||
{ | ||
"text": "Lists can be nested inside of each other", | ||
"sublist": [ | ||
{ | ||
"text": "This is a nested list item. After digits list items counters are lower-alpha." | ||
}, | ||
{ | ||
"text": "This is another nested list item in an ordered list", | ||
"sublist": [ | ||
{ | ||
"text": "This is a nested list item. After lower-alpha counters, lower-roman counters are used.", | ||
"sublist": [ | ||
{ | ||
"text": "This is a nested list item. After lower-roman counters, the counters loop back to digits." | ||
}, | ||
{ | ||
"text": "This is another nested list item in an ordered list" | ||
} | ||
] | ||
}, | ||
{ | ||
"text": "This is another nested list item in an ordered list" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"text": "This is the last list item" | ||
} | ||
] | ||
} |
11 changes: 9 additions & 2 deletions
11
styleguide/source/_patterns/01-atoms/08-lists/ordered-list.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
39 changes: 29 additions & 10 deletions
39
styleguide/source/_patterns/01-atoms/08-lists/ordered-list.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 |
---|---|---|
@@ -1,12 +1,31 @@ | ||
<ol> | ||
{% for list in orderedList %} | ||
<li>{{ list.text|raw }}</li> | ||
{% if list.sublist %} | ||
<ol> | ||
{% for sublist in list.sublist %} | ||
<li>{{ sublist.text|raw }}</li> | ||
{% endfor %} | ||
</ol> | ||
{% endif %} | ||
{% endfor %} | ||
{% for list in orderedList %} | ||
<li>{{ list.text|raw }} | ||
{% if list.sublist %} | ||
<ol> | ||
{% for sublist in list.sublist %} | ||
<li>{{ sublist.text|raw }} | ||
{% if sublist.sublist %} | ||
<ol> | ||
{% for sublist in sublist.sublist %} | ||
<li>{{ sublist.text|raw }} | ||
{% if sublist.sublist %} | ||
<ol> | ||
{% for sublist in sublist.sublist %} | ||
<li>{{ sublist.text|raw }}</li> | ||
{% endfor %} | ||
</ol> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ol> | ||
{% endif %} | ||
</li> | ||
{% endfor %} | ||
</ol> | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ol> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,24 @@ | ||
<img | ||
class="ma__image{% if image.shape %} {{ image.shape }}{% endif %}" | ||
alt="{{ image.alt }}" | ||
src="{{ image.src }}" | ||
height="{{ image.height }}" | ||
width="{{ image.width }}" /> | ||
<img | ||
class="ma__image{% if image.shape %} {{ image.shape }}{% endif %}" | ||
alt="{{ image.alt }}" | ||
src="{{ image.src }}" | ||
{% if image.versions %} | ||
srcset=" | ||
{% for version in image.versions %} | ||
{% if version.url and version.width %} | ||
{{ version.url }} {{ version.width }}{% if not loop.last %},{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
" | ||
{% if image.sizes %} | ||
{# Only use sizes if certain breakpoints limit the width of the image to less than approximately full width #} | ||
sizes="{{ image.sizes }}" | ||
{% endif %} | ||
{% endif %} | ||
{% if image.height %} | ||
height="{{ image.height }}" | ||
{% endif %} | ||
{% if image.width %} | ||
width="{{ image.width }}" | ||
{% endif %} | ||
/> |
20 changes: 20 additions & 0 deletions
20
styleguide/source/_patterns/01-atoms/09-media/image~responsive.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,20 @@ | ||
{ | ||
"image": { | ||
"alt": "alt text", | ||
"src": "../../assets/images/placeholder/800x400.png", | ||
"versions": [ | ||
{ | ||
"url": "../../assets/images/placeholder/400x200.png", | ||
"width": "620w" | ||
}, | ||
{ | ||
"url": "../../assets/images/placeholder/700x350.png", | ||
"width": "780w" | ||
}, | ||
{ | ||
"url": "../../assets/images/placeholder/800x400.png", | ||
"width": "910w" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.