Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

DP-4325 Final Patterns Documentation #546

Merged
merged 414 commits into from
Sep 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
106f2b6
DP-4176 - Rich text sub patterns - documentation
Jul 26, 2017
71f7096
DP-4167 - figure - documentation and modified to use --left/--right c…
Jul 26, 2017
e4742b1
DP-4167 - Table - documentation
Jul 26, 2017
4ebb61f
DP-4080 - Versioning Documentation (#504)
Jul 26, 2017
dd4bb06
DP-4178 - HowTo / Details - documentation
Jul 26, 2017
bb65bce
Merge branch 'DP-4176-ServicePageDocs' into DP-4178-First5Pages
Jul 26, 2017
a904ef2
DP-4178 - Rich Text - typo in documentation
Jul 26, 2017
7f80fe8
DP-4178 - Page Header - documentation
Jul 26, 2017
60ed039
DP-4178 - Header Tags - documenation
Jul 27, 2017
3842a16
DP-4178 - Publish State - documentation
Jul 27, 2017
0874389
DP-4178 - Divider - documentation
Jul 27, 2017
26bf1ec
DP-4178 - Contact List - updated documentation
Jul 27, 2017
d0d1d2e
DP-4178 - Doc Template - slight tweak
Jul 27, 2017
08a06f7
DP-4178 - Contact Us - documentation
Jul 27, 2017
0f862aa
DP-4178 - Contact Group - documentation
Jul 27, 2017
5858bfa
DP-4178 - Contact Group - removing structured content
Jul 27, 2017
820eaed
DP-4178 - Colored Heading - Documentation
Jul 27, 2017
d7b0ebf
DP-4178 - Sticky Nav - Documentation
Jul 27, 2017
e613c8c
DP-4178 - Tabular Data - documentation
Jul 27, 2017
422d6e7
DP-4178 - Action Step - documentation
Jul 27, 2017
c84d534
DP-4178 - Steps Ordered - documentation
Jul 27, 2017
556f995
DP-4178 - Steps Unordered - documentation
Jul 27, 2017
d3cd55e
DP-4178 - Stacked Row - documentation
Jul 28, 2017
37a85fc
DP-4187 - Guide - Documentation
Jul 28, 2017
8e4eba0
DP-4178 - Emergency Header - documentation
Jul 28, 2017
12201c6
DP-4177 - Emergency Header - switching divs to spans
Jul 28, 2017
66cd9f9
DP-4178 - Emergency Alerts - documentation
Jul 28, 2017
5857236
4178 - Emergency Header - documentation 2
Jul 28, 2017
b3eab14
Merge branch 'C4-Documentation' into DP-4176-ServicePageDocs
Jul 28, 2017
24c9725
DP-4178 - Jump Links - documentation
Jul 28, 2017
4c0d2b2
DP-4177 - Jump Links - Adding missing "info" variable to links
Jul 28, 2017
fd74e9b
DP-4178 - Split Columns - fixing indentation
Jul 28, 2017
a293c64
DP-4178 - Stacked Row Section - documentation
Jul 28, 2017
3eae818
DP-4178 - Illustrated Header - documentation
Jul 28, 2017
7bfbe4e
DP-4177 - Suggested Pages - Fixing variables for decorative and illus…
Jul 28, 2017
bc357bc
DP-4178 - Suggested Pages - documentation
Jul 28, 2017
96e7242
DP-4178 - Callout Stats - documentation
Jul 28, 2017
d415eae
DP-4177 - Guide Page - moving callout stat outside of Rich Text.
Jul 28, 2017
ed186f5
DP-4178 - Callout Alert - documentation
Jul 28, 2017
f03f72c
DP-4177 - Callout Alert - removed unused variables
Jul 28, 2017
b5d1cbd
DP-4178 - Callout Time - documentation
Jul 28, 2017
1976069
DP-4178 - Button Alert - documentation
Jul 28, 2017
372a4ed
DP-4178 - Emergency Alert - documentation
Jul 28, 2017
2412de1
DP-4178 - Emergency Alerts - updating documentation
Jul 28, 2017
496e557
DP-4178 - Link - documentation
Jul 28, 2017
82a11be
DP-4177 - Link - correcting variables to match best practice
Jul 28, 2017
e40855a
DP-4177 - Link - forgot to save a change
Jul 28, 2017
a5694eb
DP-4177 - Button - fixed logic to use old "theme" variable for color.
Jul 31, 2017
34dd40f
DP-4178 - Button - fixing broken links
Jul 31, 2017
9787cf7
DP-4178 - Column Heading - documentation
Jul 31, 2017
c17948e
DP-4177 - Column Heading - cleaning up code
Jul 31, 2017
092cb5f
Merge branch 'DP-4178-HowToPage' into DP-4178-GuidePage
Jul 31, 2017
0e79b84
Merge branch 'DP-4178-GuidePage' into DP-4178-LocationPage
Jul 31, 2017
5b88c9a
DP-4178 - Location Template - documentation
Jul 31, 2017
4f1efc3
DP-4178 - Location Pages - Documentation
Jul 31, 2017
28f24f6
DP-4178 - Header Alert - documentation
Jul 31, 2017
785c098
DP-4177 - Header Alert - adding "info" variable for decorative link
Jul 31, 2017
cdffb8c
DP-4178 - Page Header - location variant documentation
Jul 31, 2017
be99ada
DP-4178 - Location Banner - documentation
Jul 31, 2017
cfdf7b8
DP-4177 - Location Banner - correcting variable name
Jul 31, 2017
1d81b4d
DP-4178 - Google Map - documentation
Jul 31, 2017
009e256
DP-4178 - Image Promos - documentation
Jul 31, 2017
7dbdbe4
DP-4178 - Image Promo - documentation
Jul 31, 2017
75468f5
DP-4177 - Image Promo - switching 'type' for 'info' for the title link
Jul 31, 2017
4c04286
DP-4178 - Image Promos - documentation
Jul 31, 2017
0459669
DP-4177 - Link - still fixing logic to switch from string to boolean
Aug 1, 2017
8852195
DP-4178 - Event Teaser - documentation
Aug 1, 2017
695ea1f
DP-4178 - Event Listing - documentation
Aug 1, 2017
ab23bc0
DP-4178 - Location Icons - documentation
Aug 1, 2017
889aa0c
DP-4178 - Topic Page - documentation
Aug 1, 2017
d2ec619
DP-4177 - Single Column Template - adding header and footer blocks
Aug 1, 2017
cd6457c
DP-4178 - Single Column Template - documentation
Aug 1, 2017
feaed47
DP-4178 - Sections Three Up - documentation
Aug 1, 2017
9982d4b
DP-4178 - Section Links - documentation
Aug 1, 2017
cdcfdff
DP-4178 - Cat Icon - documentation
Aug 1, 2017
ebd35b8
DP-4177 - Icons - removing unneccassary documentations for SVG icons
Aug 1, 2017
e453816
DP-4178 - Page Header for Event - documentation
Aug 1, 2017
54357a2
DP-4178 - Page header for location - fixing documentation
Aug 1, 2017
a9ea9b2
DP-4178 - Events - Documentation
Aug 1, 2017
ade6802
DP-4178 - Page Overview - documentation
Aug 1, 2017
2d9be2c
DP-4178 - Event Template - documentation
Aug 1, 2017
6eb2361
DP-4177 - Event Template - extending sidebar to have optional content
Aug 1, 2017
49df990
Merge remote-tracking branch 'origin/C4-Docs' into DP-4176-ServicePag…
Aug 2, 2017
25790f3
Merge branch 'DP-4176-ServicePageDocs' into DP-4178-HowToPage
Aug 2, 2017
6c3d4af
Merge branch 'DP-4178-HowToPage' into DP-4178-GuidePage
Aug 2, 2017
4c3123d
Merge branch 'DP-4178-GuidePage' into DP-4178-LocationPage
Aug 2, 2017
8452518
Merge branch 'DP-4178-LocationPage' into DP-4178-TopicPage
Aug 2, 2017
65b42b2
Merge branch 'DP-4178-TopicPage' into DP-4178-EventPage
Aug 2, 2017
b8e88e1
DP-4178 - Labelled list - documentation
Aug 2, 2017
c347ba0
Dp-4178 - Event Listing - Post Content versions
Aug 2, 2017
39c93d3
DP-4176 - Callout Link - making CSS backward compatible
Aug 2, 2017
c730918
DP-4176 - Floating Action - making code backward compatible
Aug 2, 2017
1fde32d
DP-4178 - Org Page - documentation
Aug 2, 2017
029d635
DP-4319 - Org and Details - removing breadcrumbs from data object
Aug 2, 2017
6b5c390
DP-4323 - Detail Page - documentation
Aug 2, 2017
5b09021
DP-4323 - Two column templates - documentation
Aug 2, 2017
036280e
DP-4323 - Press Release - documentation
Aug 2, 2017
c2a0005
DP-4323 - Press Template - documentation
Aug 2, 2017
7199589
DP-4323 - Service Template - fixing typo in documentation
Aug 2, 2017
c64903a
DP-4323 - Press Status - documentation
Aug 3, 2017
f40d62a
DP-4323 - Event Listing - tweak to post content variant
Aug 3, 2017
dd26bd9
DP-4323 - Two Column Templates - adding header and footer blocks
Aug 3, 2017
c38094f
DP-4177 - Button - fixed logic to use old "theme" variable for color.
Jul 31, 2017
c385a23
DP-4178 - Button - fixing broken links
Jul 31, 2017
1fe9c27
DP-4176 - Button - switching color back to theme include values
Aug 3, 2017
3ee70c6
DP-4176 - Comp Heading - correcting id value
Aug 3, 2017
cf02035
DP-4176 - Decorative Link - removing schema.org and using title
Aug 3, 2017
a80a0ca
DP-4323 - Press Status - Variant documentation
Aug 3, 2017
9494d06
DP-4323 - Personal Message - documentation
Aug 3, 2017
1c16ad1
DP-4323 - Press Listing - documentation
Aug 3, 2017
71518c0
DP-4323 - Press Teaser - documentation
Aug 3, 2017
b532c65
DP-4176 - Linked List - Update docs
Aug 4, 2017
baac8de
DP-4176 - Mapped Locations - updated docs
Aug 4, 2017
ef3a1a0
DP-4176 - Page Banner - Updated Docs
Aug 4, 2017
5ea0b24
DP-4176 - Services Template - updated docs
Aug 4, 2017
bb73be8
DP-4176 - Action Finder - updated docs
Aug 4, 2017
e485671
DP-4176 - Download Link - removing property
Aug 4, 2017
1117e5e
DP-4176 - Callout Link - Better descriptive text
Aug 4, 2017
05bcc1d
DP-4176 - Video - updated documentation
Aug 4, 2017
2b055fb
DP-4176 - Decorative Link - updated docs
Aug 4, 2017
1cefde3
DP-4176 - Mapped Locations - adding more useage guidelines
Aug 4, 2017
3ab4c27
DP-4323 - Event Listing - documentation
Aug 4, 2017
c6c4504
DP-4323 - Event Filters - documentation
Aug 4, 2017
f64151c
DP-3223 - Results Heading - documentation
Aug 4, 2017
302ec0a
DP-4323 - Pagination - documentation
Aug 4, 2017
e615731
DP-4323 - Sort Results - documentation
Aug 4, 2017
aa8eac7
DP-4323 - Sort Button - documentation
Aug 4, 2017
3dd5b1d
DP-4323 - Input Text - documentation
Aug 4, 2017
4caa928
DP-4323 - Date Range - documentation
Aug 4, 2017
b6ca514
DP-4323 - Documentation Template - updated
Aug 4, 2017
763e8cf
DP-4323 - Input Date - documentation
Aug 4, 2017
0bc745d
DP-4323 - Location Listing page - documentation
Aug 4, 2017
cf60892
DP-4319 - Location Listing - removing breadcrumbs data
Aug 7, 2017
9e7ac8d
Merge branch 'C4-Docs' into DP-4176-ServicePageDocs
Aug 7, 2017
1927def
DP-4176 - Button - updated docs
Aug 7, 2017
6040180
DP-4176 - Table - updated docs
Aug 7, 2017
a511ec8
DP-4178 - Details template - doc updates
Aug 7, 2017
13c44ea
DP-4178 - Page Header - doc updates
Aug 7, 2017
dd7cbcf
Merge branch 'C4-Docs' into DP-4178-HowToPage
Aug 7, 2017
b2eff87
DP-4178 - Contact Us - updating docs
Aug 7, 2017
0b260c8
DP-4177 - removing un-used page header variant
Aug 7, 2017
8023c91
DP-4178 - Contact Group - updated docs
Aug 7, 2017
ba6fc08
DP-4178 - Contact Us - Changing description
Aug 7, 2017
ec0e27b
DP-4178 - Colored Heading - updated docs and examples
Aug 7, 2017
b87e24e
DP-4178 - Column Heading - updated docs
Aug 7, 2017
b95273a
DP-4178 - Column Heading - updated docs
Aug 8, 2017
e06decd
DP-4178 - Stack row sections - updated docs
Aug 8, 2017
9782a93
DP-4178 - Guide page - adding back to top button
Aug 8, 2017
64c6934
DP-4178 - Stack row sections - updated docs
Aug 8, 2017
d6e4106
DP-4178 - Stacked row section - updated docs
Aug 8, 2017
f422774
DP-4178 - Emergency Alerts - updated docs
Aug 8, 2017
674c2e8
DP-4177 - Illustrated Header - renaming bgTitle to bgInfo
Aug 8, 2017
969e676
DP-4178 - Suggested Pages - updated docs
Aug 8, 2017
1debae9
Merge branch 'C4-Docs' into DP-4178-GuidePage
Aug 8, 2017
bf89ce2
Merge branch 'DP-4176-ServicePageDocs' into DP-4178-HowToPage
Aug 8, 2017
e155a5a
Merge branch 'DP-4178-HowToPage' into DP-4178-GuidePage
Aug 8, 2017
45f244d
Merge branch 'DP-4178-GuidePage' into DP-4178-LocationPage
Aug 8, 2017
c1aafe6
DP-4178 - Header Alert - replacing guid with id
Aug 8, 2017
e8d6d80
DP-4177 - location template - fixing data json content
Aug 8, 2017
93f4f42
DP-4178 - Details Template - added twig docs links placeholders
Aug 8, 2017
49b6ff2
DP-4178 - Howto & Location pages - Adding extends copy to description
Aug 8, 2017
30e5433
DP-4178 - Location template - adding twig blocks
Aug 8, 2017
1478dd1
DP-4178 - Google Maps - updated docs
Aug 8, 2017
3e55259
DP-4178 - Image Promos - updated docs
Aug 8, 2017
7d39a95
DP-4178 - Event Teaser - updated docs
Aug 8, 2017
669380e
DP-4178 - Event Listing - updated docs
Aug 8, 2017
6ebf54a
DP-4323 - Location Filters - documentation
Aug 9, 2017
f795582
DP-4323 - Checkbox - documentation
Aug 9, 2017
0a4693b
DP-4323 - Select box - documentation
Aug 9, 2017
143b766
DP-4323 - Page Docs - changing how templates and variants are called out
Aug 9, 2017
b4c6290
DP-4323 - Press Listing Page - documentation
Aug 9, 2017
3ddd69e
DP-4323 - Press Filters - documentation
Aug 9, 2017
d5e5388
DP-4323 - Org Selector - documentation
Aug 10, 2017
0c2b88e
DP-4323 - Executive Order - documentation
Aug 10, 2017
fdd1048
DP-4323 - Listing Table - documentation
Aug 10, 2017
eac7bec
DP-4323 - Board Decisions - documentation
Aug 10, 2017
f356af6
Merge branch 'DP-4178-LocationPage' into DP-4323-PatternDocs75%
Aug 10, 2017
4fe1b57
DP-4323 - Two Column Templates - slight tweak to docs
Aug 10, 2017
72d2aac
DP-4323 - Board Decision - Documentation fixed
Aug 10, 2017
dfcbffb
DP-4323 - Policy Advisory - documentation
Aug 10, 2017
902ad9d
DP-4323 - Footnote List - documentation
Aug 10, 2017
056825d
DP-4319 - Footnote - fixing JS for "#" examples.
Aug 10, 2017
90a8c35
DP-4323 - Footnote List - fixing href
Aug 10, 2017
bdb68e8
DP-4323 - Footnote - documenation
Aug 10, 2017
fd60dde
DP-4323 - Directive page - documentation
Aug 10, 2017
b3c1d5e
DP-4323 - Regulation - documentation
Aug 10, 2017
9e0b6b2
DP-4323 - Section Landing - documentation
Aug 10, 2017
681361f
DP-4323 - back button -documentation
Aug 10, 2017
cecab23
DP-4319 - back button - switched to using 'title'
Aug 10, 2017
ef268d0
DP-4323 - detail page - documentation
Aug 10, 2017
1617ce6
DP4323 - video transcript - documentation
Aug 10, 2017
2e85f8b
DP-4323 - Form Page - documentation
Aug 10, 2017
94d8d23
DP-4323 - Rich Text - fixing documentation
Aug 10, 2017
a8a3caf
DP-4323 - Press Template - changing description
Aug 10, 2017
6cf4445
DP-4323 - Form Page Template - documentation
Aug 10, 2017
61fdc68
DP-4319 - Form PAge Template - removing header and footer
Aug 10, 2017
cd958c1
Merge branch 'C4-Docs' into DP-4178-GuidePage
Aug 10, 2017
29071fe
Merge branch 'DP-4178-GuidePage' into DP-4178-LocationPage
Aug 10, 2017
5c7c925
DP-4323 - Form Requirements - documentation
Aug 11, 2017
d44ae09
DP-4323 - Error List - documentation
Aug 11, 2017
63747ff
DP-4323 - Helper Text - documentation
Aug 11, 2017
57671ba
DP-4323 - Input Group - documentation
Aug 11, 2017
f0704a8
DP-4323 - radio input - documentation
Aug 11, 2017
696eb5c
DP-4323 - textarea - documentation
Aug 11, 2017
ecfdfe7
DP-4323 - Page Banner - correcting Variant docs
Aug 14, 2017
56c0a70
DP-4323 - Page Header - adjusting description
Aug 14, 2017
6ca7204
Merge branch 'C4-Docs' into DP-4178-LocationPage
Aug 14, 2017
0042c0c
DP-4178 - Location Template - removing variants section
Aug 14, 2017
a7738ae
Merge branch 'DP-4178-LocationPage' into DP-4178-TopicPage
Aug 14, 2017
f1292f2
DP-4178 - Section Links - updated docs
Aug 14, 2017
c4ce332
DP-4178 - Sections 3 up - updated docs
Aug 14, 2017
e699767
DP-4178 - Single Column Template - adding Twig block info
Aug 14, 2017
08af652
Merge branch 'DP-4178-TopicPage' into DP-4178-EventPage
Aug 14, 2017
712877a
DP-4177 - Two Column Template - added header and footer blocks
Aug 14, 2017
7fd4949
DP-4178 - Event Listing - forgot to add the as grid variant
Aug 14, 2017
c9ee6b6
DP-4178 - Event Listing - Adding one template variant
Aug 14, 2017
8fd5099
Merge branch 'DP-4178-EventPage' into DP-4323-PatternDocs75%
Aug 14, 2017
96acb2f
DP-4321 - Stacked Row Template - updating blocks
Aug 15, 2017
f29f6eb
DP-4325 - Homepage - documentation
Aug 15, 2017
2cbbeb8
DP-4325 - Stacked Row - updated docs
Aug 15, 2017
fcbdea6
DP-4325 - Search Banner - Documentation
Aug 15, 2017
f057b47
DP-4325 - Search Banner Form - Documentation
Aug 15, 2017
0a3d330
DP-4325 - Helpful Links - documentation
Aug 15, 2017
62a09c3
DP-4325 - Board Decisions - fixed typo in docs
Aug 15, 2017
421fb9d
DP-4325 - Error Pages - documentation
Aug 15, 2017
43c862e
DP-4325 - Narrow Template - documentation
Aug 15, 2017
dd0c5bd
DP-4321 - Narrow Template - fixing how variables are set
Aug 15, 2017
081a3df
DP-4325 - Error Page - documentation
Aug 15, 2017
f9b4422
DP-4325 - Transition Page - documentation
Aug 16, 2017
c11ca36
DP-4325 - Transition Page (organism) - documentation
Aug 16, 2017
bf52dbf
DP-4325 - Callout - documentation
Aug 16, 2017
621f3da
DP-4325 - Location Listing - documentation
Aug 16, 2017
3b5f99a
DP-4325 - Arrow Nav - documentation
Aug 16, 2017
3d88ef5
DP-4325 - Arrow Nav - documentation
Aug 16, 2017
a42e8aa
DP-4319 - Arrow Nav - switching to title attribute on the link
Aug 16, 2017
d84c904
DP4325 - Arrow Button - documentation
Aug 16, 2017
7dc2e82
DP-4319 - Arrow button - fixing styles (broken)
Aug 16, 2017
b94e372
DP-4325 - Image credit - documentation
Aug 16, 2017
b8dac1f
DP-4325 - Tooltip - documentation
Aug 16, 2017
52662f7
DP-4325 - Divided Inputs - documentation
Aug 16, 2017
ed46d05
DP-4325 - Rich Text - removing Title variant
Aug 16, 2017
9e60d27
DP-4319 - Rich Text - Adding optional decorative link (learn more)
Aug 16, 2017
6dc5b86
DP-4325 - Steps Ordered - missing variant documentation
Aug 17, 2017
53d9176
DP-4325 - Press Listing - missing variant documentation
Aug 17, 2017
7506ac3
DP-5177 - Press Teaser - adding optional image to base style
Aug 17, 2017
32697e5
DP-5177 - Action Step - missing docs for accordion variant
Aug 17, 2017
48b2897
Merge branch 'C4-Docs' into DP-4325-FinalPatterns
Aug 18, 2017
3b3e7e4
Merge remote-tracking branch 'origin/C4-Docs' into DP-4325-FinalPatterns
Aug 28, 2017
497e671
DP-4325 - Arrow Button - making info field required
Sep 11, 2017
f639763
Merge branch 'C4-Docs' into DP-4325-FinalPatterns
Sep 11, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"arrowButton": {
"href": "#",
"info": "",
"info": "Navigation to previous page",
"direction": "left"
}
}
28 changes: 12 additions & 16 deletions styleguide/source/_patterns/01-atoms/01-buttons/arrow-button.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
---
title: Arrow Button
---
Description: A link `<a>` element which is styled to look like a button with a chevron.
### Description
This Pattern shows a link styled as a button with a directional arrow.

## State: ALPHA
### Status
* Stable as of 5.0.0

### Used In:


### Variables:
### Variables
~~~
"arrowButton": {
"href":
type: string/required
"info":
type: string/required - used for screen readers
"direction":
type string/optional
arrowButton: {
href:
type: string (url) / required
info:
type: string (adds more description to the link) / required
direction:
type string ("left","right") / optional
}
~~~
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a
class="ma__arrow-button {{ classDirection }}"
href="{{ arrowButton.href }}"
aria-label="{{ arrowButton.info }}"></a>
title="{{ arrowButton.info }}"></a>



Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Description
This is a variant of the [Action Step](./?p=molecules-action-step) pattern showing an example show it using an accordion.

### How to generate
* set the `accordion` variable to true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Description
This is a variant of the [Arrow Nav](./?p=molecules-arrow-nav) pattern showing an example showing the next page option.

### How to generate
* set the `arrowButton.direction` variable to "right"
43 changes: 20 additions & 23 deletions styleguide/source/_patterns/02-molecules/arrow-nav.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
---
title: Arrow Nav
---
Description: displays a link to the previous or next page
### Description
This pattern displays a link to the previous or next page.

## Status: alpha
### Status
* Stable as of 5.0.0

### Notes:

### Contains
- [@atoms/01-buttons/arrow-button](/?p=atoms-arrow-button)

### Used in:
### Pattern Contains
* Arrow Button

### Variant options
* This can also be view as a [next](./?p=molecules-arrow-nav-as-next-page) page navigation

### Variables
~~~
"arrowNav": {
"arrowButton": {
type: object/required - see arrow-button.twig
arrowNav: {
arrowButton: {
type: arrowButton / required
},
"title":
type: string/required
"link": {
"href":
type: string/url/required
"text":
type: string/required
"info":
type: string/optional - used for screen readers
title:
type: string / required
link: {
href:
type: string (url) / required
text:
type: string / required
info:
type: string (adds more description to the link) / optional
}
}
~~~
3 changes: 2 additions & 1 deletion styleguide/source/_patterns/02-molecules/arrow-nav.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{% set arrowButton = arrowNav.arrowButton %}

<section class="ma__arrow-nav {{ arrowButton.direction ? 'ma__arrow-nav--' ~ arrowButton.direction : '' }}">
{% include "@atoms/01-buttons/arrow-button.twig" %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to relate the arrow button to the arrow nav title/link content? Curious how a screenreader would announce this here...

<h2 class="ma__arrow-nav__title" data-label="{{ arrowNav.label }}"><span>{{ arrowNav.title }}</span></h2>
<a class="ma__arrow-nav__link"
href="{{ arrowNav.link.href }}"
aria-label="{{ arrowNav.link.info }}">{{ arrowNav.link.text }}</a>
title="{{ arrowNav.link.info }}">{{ arrowNav.link.text }}</a>
</section>
27 changes: 11 additions & 16 deletions styleguide/source/_patterns/02-molecules/forms/divided-inputs.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
---
title: Divided inputs
---
Description: a collection of inputs separated by a custom divider
### Description
This pattern shows a collection of inputs separated by a custom divider.

## State: Alpha

### Contains


### Used in:
### Status
* Stable as of 5.0.0

### Pattern Contains
* Any input type pattern can be rendered in this pattern by setting the `path` variable to the location of the pattern and setting the `data` variable to container of the data object of that pattern.
* {% include input.path with input.data %}

### Variables

~~~
dividedInputs: {
title:
type: string/optional
type: string / optional
required:
type: boolean,
divider:
type: string/optional,
type: string / optional,
inputs: [{
path:
type: string/required
type: string / required
data: {
type: object/required (matches the pattern in the path)
type: object / required (matches the pattern in the path)
}
}]
}
~~~

5 changes: 4 additions & 1 deletion styleguide/source/_patterns/02-molecules/press-teaser.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"pressTeaser" : {
"image": null,
"image": {
"src":"/assets/images/placeholder/320x180.png",
"alt": "placeholder image"
},
"eyebrow": "Press Release",
"title" : {
"href":"#",
Expand Down
9 changes: 6 additions & 3 deletions styleguide/source/_patterns/02-molecules/press-teaser.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Description
Short teaser for a related press event
Short teaser for a related press event with an optional image

### Status
* Stable as of 5.0.0
Expand All @@ -12,8 +12,11 @@ Short teaser for a related press event
### Variables
~~~
pressTeaser : {
image: {
type: object/image/optional
image: (optional) {
src:
type: string (image path) / required
alt:
type: string (imgage description) / required
}
eyebrow:
type: string / optional
Expand Down

This file was deleted.

27 changes: 10 additions & 17 deletions styleguide/source/_patterns/02-molecules/search-banner-form.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
---
title: Search Banner Form
---
Description: A form that displays over a banner background image.
### Description
This Pattern is a form with an large search input and button.

## State: ALPHA
### Status
* Stable as of 5.0.0

### Notes
### Pattern Contains
* Input Text

### Used in:
[@organisms/by-author/search-banner.twig](/?p=organisms-search-banner)

### Contains
[@atoms/03-forms/input-text.twig](/?p=atoms-input-text)
[@atoms/05-icons/svg-search.twig](/?p=atoms-svg-search)

### Variables
~~~
### Variables
~~~
form: {
content: {
action:
type: string / required
buttonText:
type: string / required
inputText: {
type: object / inputText / required
type: inputText / required
}
}
}
~~~
~~~
25 changes: 6 additions & 19 deletions styleguide/source/_patterns/02-molecules/tooltip.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
---
title: Tooltip
---
### Description
This pattern show a modal with helpful information.

Description: special text that includes a modal with more information about the text.

## State: Alpha

### Notes


### Contains


### Used in:


### Required Variables
### Status
* Stable as of 5.0.0

### Variables
~~~
tooltip: {
controlId:
type: string / unique ID / required GUID1272384732,
type: string (unique per page) / required,
location:
type: string / optional ('' or above')
info:
Expand All @@ -36,5 +24,4 @@ tooltip: {
message:
type rich text / required.
}

~~~
17 changes: 17 additions & 0 deletions styleguide/source/_patterns/03-organisms/by-author/callout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Description
This patterns shows quoted text along with a citation.

### Status
* Stable as of 2.0.0

### Variables
~~~
callOut: {
text:
type: string / required
author:
type: string / required
title:
type: string / required
}
~~~
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Description
This is a variant of the [Helpful Links](./?p=organisms-helpful-links) pattern showing an example rendered in two columns.

### How to generate
* set the `columns` variable to "true"
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
"info": ""
}]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
### Description
List of links that can be rendered stack or as two columns
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this pattern be a variant of a link list organism?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind - I see this is done in a later PR! 👍


### Status
* Stable as of 5.0.0

### Pattern Contains
* Comp Heading
* Decorative Link

### Variant options
* Rendered as [two columns](./?p=organisms-helpful-links-as-columns)


### Variables
~~~
helpfulLinks: {
columns:
type: string ("", "true") / optional
compHeading: {
type: compHeading / required
},
items: [{
type: array of decorativeLink / required
}]
}
~~~
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% if helpfulLinks.columns == "true" %}
{% set modifier = "ma__helpful-links--columns" %}
{% endif %}
<section class="ma__helpful-links {{modifier}}">
{% set modifierClass = helpfulLinks.columns == "true" ? "ma__helpful-links--columns" : "" %}

<section class="ma__helpful-links {{modifierClass}}">
{% set compHeading = helpfulLinks.compHeading %}
{% include "@atoms/04-headings/comp-heading.twig" %}
<ul class="ma__helpful-links__items">
Expand All @@ -11,4 +10,4 @@
</li>
{% endfor %}
</ul>
</section>
</section>
Loading