Skip to content

TWE: Dev: Design System: Create Pagination #753

@kristindailey

Description

@kristindailey

Dependencies

Overview

We need to create Design System Pagination Component HTML and SASS / connect Figma design to finished code, and build microsite page so that developers can see and easily change component examples, states, code and location.

Assumptions

Action Items

  • Review the Microsite page mockup you will be working from (Resource 1.01)
  • Name the Branch you create Pagination
  • Determine if any JS or CSS hacks need to be included to style this component (see Resource 1.02 for examples of prior hacks). If you need to use a hack, don't forget to update the examples.
  • Include necessary files in the /docs folder (Resource 1.03) and project config file mkdocs.yml (Resource 1.04)
  • Determine what variables are needed for this component and add them to variables.scss (Resource 1.05)
  • Code Microsite component page
    • file locations
      • md file goes into the /docs folder (Resource 1.03)
      • SASS file goes into the /docs/components/sass/components folder (Resource 1.06)
    • Create variables in sass sheet as necessary, add color varialbles with name determined by HTML Color Codes (Resource 1.07, 1.08)
    • Create component classes and states within the page
    • Include Files via code snippets to create the code section (see Resource 1.09 for details)
    • Add links to SASS and Markdown files below the code (see examples in Resource 1.10)
  • Review template frontend for errors
  • Make a PR
  • Once PR is merged
    • connect component in Figma to GitHub Files (Resource 1.10)
    • Add links to Resources gathered during the completion of this issue section
      • 2.01 MD file(s) created
      • 2.02 SASS file(s) created
      • 2.03 link to Header Microsite page on live site: If the site is live when this issue is worked on.

Resources

Resources for working on this issue

Resources gathered during the completion of this issue

  • 2.01 MD file(s) created: [pagination.md] - link the name to the file in the repo
  • 2.02 SASS file(s) created: [_pagination.scss] - link the name to the file in the repo
  • 2.03 link to Header Microsite page on live site: [Pagination](Replace with link to the live URL If the site is live when this issue is worked on.

Metadata

Metadata