cfpb / design-system

CFPB's work-in-progress design system
https://cfpb.github.io/design-system
Creative Commons Zero v1.0 Universal
37 stars 12 forks source link

Consolidate packages into cfpb-design-system #2005

Closed anselmbradford closed 1 month ago

anselmbradford commented 1 month ago

This PR seeks to simplify distribution of the DS by consolidating all the packages into the single @cfpb/cfpb-design-system package and deprecating the other packages. The /dist/ folder contains all packages merged together, as well as each individual component as their own built files. This will be released as v3.0.0 of the DS.

The file structure is inspired by https://sass-guidelin.es/#architecture

packages
  cfpb-design-system
    dist
      ā€¦
    src
      abstracts
      base
      components
        cfpb-buttons
        cfpb-expandables
        cfpb-forms
        cfpb-icons
        cfpb-layout
        cfpb-notifications
        cfpb-pagination
        cfpb-tables
        cfpb-typography
      utilities
        behavior
        transition

Changes

Testing

  1. Visit PR preview site and compare to github pages.

Todos

netlify[bot] commented 1 month ago

Thanks for the improvements! Browse a preview of your changes using the link below.

Name Link
Latest commit 2c0940d5f65d50bb65a2d62fc74c7927ff3a69c7
Latest deploy log https://app.netlify.com/sites/cfpb-design-system/deploys/66b3edda1a2b4800084530fc
Deploy Preview https://deploy-preview-2005--cfpb-design-system.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

anselmbradford commented 1 month ago

This is cool! Things generally seem correct to me. Are you planning on getting the TODOs in this PR or another?

I will get to them in another!