If a component changes between breakpoints, or things show/hide, that gets captured here
As a user, I would like to see a Thumbnail card row, so that I can quickly scan the promo content.
Scenario: User views a page with a thumbnail card row on Widescreen or Desktop
Given a user is viewing a landing page with a thumbnail card row
And the browser width is 1400px or less
Then a thumbnail card row will appear
Then the title of the thumbnail card row will appear and should theme token 2XL
And the 1:1 crop of the image associated with the feature card should appear (following our image rules)
And clicking on the image will take the user to the corresponding page
And the title of the feature card should be font size theme token MD
And the optional description will appear
And the button will appear with the secondary button style
And on hover, the buttons will appear with the secondary button hover style
And clicking on the button will take the user to the corresponding page
Scenario: User views a page with a thumbnail card row on Tablet Large
Given a user is viewing a landing page with a thumbnail card row
And the browser width is 880px or less
Then the thumbnail card row will stack
Then the title of the thumbnail card row will appear and should theme token XL
And the 1:1 crop of the image will appear
And clicking on the image will take the user to the corresponding page
And the title of the thumbnail card should be font size theme token MD
And the optional description will appear
And the button will appear with the secondary button style
And on hover, the buttons will appear with the secondary button hover style
And clicking on the button will take the user to the corresponding page
Scenario: User views a page with a feature card row on Tablet, Mobile Large or Mobile
Given a user is viewing a landing page with a feature card row
And the browser width is 640px or less
Then the thumbnail card row will stack
And the image will not appear
And the title of the thumbnail card should be font size theme token MD
And the optional description will appear
And the button will appear with the secondary button style
And on hover, the buttons will appear with the secondary button hover style
And clicking on the button will take the user to the corresponding page
And the container shadow will not appear
Scenarios
Card 1 w/ Description
Title: NCI Cancer Centers Webinar
Description: September 8, 2021 1:00 PM - 2:30 PM
Button: View Event
Card 2 w/ Description
Title: SBIR x FDA Contract Solicitation Webinar
Description: August 24, 2021 2:00 PM - 3:00 PM
Button: View Event
Card 1 w/o Description
Title: Divisions, Offices & Centers
Button: View NCI Organization
Card 2 w/o Description
Title: Director & Senior Leadership
Button: View NCI Senior Leadership
Solution
Prerequisites
required dependency for identifying the problem, scope and then solution for this issue
[ ] Short Spike Description - Issue #9999
Tasks
[ ] Update Documentation Site (docs)
[ ] Create or update [INSERT DOCUMENTATION PAGE OR SECTION ON PAGE HERE] that includes:
Developer Documentation
What SASS partial to import
(HTML Tab) What is the HTML?
(HTML Tab) (for vanilla js) What is the js library to import?
(React Tab) What is the react library to import?
(React Tab) What is the react markup?
IA Provided Guidance Documentation
Includes when/how the component should be used
[ ] If the component is a global component like the footer, then it needs to be added to the documentation site as well as a real usage.
[ ] Update NCIDS-CSS
Insert list here of partials to be created (There should be a sass partial available for all variants that are being created in this ticket)
[ ] Update NCIDS-JS
Insert requirements/list of components for JS
[ ] Update NCIDS-React
[ ] Insert requirements/list of components for react
(it can also be a separate ticket, should be linked here)
Build Thumbnail Card - Optional Description variation of Feature Card component based on design specs/requirements documented in this ticket
Styling:
Anatomy of a component
Behaviors
InVision:
Acceptance Criteria for Behaviors
If a component changes between breakpoints, or things show/hide, that gets captured here
Scenarios
Card 1 w/ Description
Card 2 w/ Description
Card 1 w/o Description
Card 2 w/o Description
Solution
Prerequisites
required dependency for identifying the problem, scope and then solution for this issue
[ ] Short Spike Description - Issue #9999
Tasks