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