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 #863 from massgov/release-5.28.0
Release 5.28.0
- Loading branch information
Showing
16 changed files
with
1,310 additions
and
498 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.16 KB
(100%)
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
-63.5 KB
(96%)
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
-554 Bytes
(100%)
backstopjs/reference/regression_page_people-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
-1.07 KB
(100%)
backstopjs/reference/regression_page_people-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.
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
375 changes: 375 additions & 0 deletions
375
styleguide/source/_patterns/03-organisms/by-author/teaser-listing-group.json
Large diffs are not rendered by default.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
styleguide/source/_patterns/03-organisms/by-author/teaser-listing-group.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,32 @@ | ||
### Description | ||
This Pattern shows a group of multiple General Teaser List patterns. | ||
|
||
### Status | ||
* Stable as of TBD | ||
|
||
### Pattern Contains | ||
* General Teaser | ||
|
||
### JavaScript Used | ||
* Accordion (js/modules/accordions.js) | ||
|
||
### Usage Guidelines | ||
|
||
|
||
### Variables | ||
~~~ | ||
teaserListingGroup: { | ||
totalShown: | ||
type: number / required | ||
moreItemsLabel: | ||
type: string / required | ||
lessItemsLabel: | ||
type: string / required | ||
teaserListings: [ | ||
type: teaserListing / required | ||
], | ||
more: { | ||
type: link / optional | ||
} | ||
} | ||
~~~ |
14 changes: 14 additions & 0 deletions
14
styleguide/source/_patterns/03-organisms/by-author/teaser-listing-group.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,14 @@ | ||
<div class="ma__teaser-listing-group js-teaser-listing-group" data-total-visible="{{ teaserListingGroup.totalShown }}"> | ||
{% block teaserListingGroupItems %} | ||
{% for teaserListing in teaserListingGroup.teaserListings %} | ||
{% include "@organisms/by-author/teaser-listing.twig" %} | ||
{% endfor %} | ||
{% endblock %} | ||
|
||
<button | ||
class="ma__teaser-listing-group__toggle ma__content-link ma__content-link--chevron ma__content-link__acordion-toggle js-teaser-listing-group-toggle" | ||
aria-label="{{ teaserListingGroup.moreItemsLabel }}"> | ||
<div class="more">{{ teaserListingGroup.moreItemsLabel }}</div> | ||
<div class="less">{{ teaserListingGroup.lessItemsLabel }}</div> | ||
</button> | ||
</div> |
375 changes: 375 additions & 0 deletions
375
...guide/source/_patterns/03-organisms/by-author/teaser-listing-group~showing-few-items.json
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.