Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow individual components to be imported into apps #1159

Merged
merged 8 commits into from
Feb 21, 2020
Merged

Commits on Feb 21, 2020

  1. Add list of components used in current application

    - code searches the view for instances of component use and creates a list on the component guide of those components
    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    e07f40b View commit details
    Browse the repository at this point in the history
  2. Add Sass suggestion

    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    d5778e9 View commit details
    Browse the repository at this point in the history
  3. Improve sass suggestion

    - streamline supporting sass into one line
    - only add a component to it if it has a sass file
    - wrap in a textarea for ease of copying and pasting
    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    60d3ead View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffe46f2 View commit details
    Browse the repository at this point in the history
  5. Split component support sass

    - put govuk-frontend import into separate sass file
    - static needs govuk-frontend but not everything else in component support
    - that was fine, but brand colours added weight to the CSS (everything else is mixins and variables)
    - splitting it out like this means that static can import govuk-frontend and use it, all other apps just have to import one extra file
    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    bc9a12d View commit details
    Browse the repository at this point in the history
  6. Change print styles requirement

    - print sass doesn't need component_support, would drastically increase the print css file size
    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    db22dcb View commit details
    Browse the repository at this point in the history
  7. Add test

    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    dfb272c View commit details
    Browse the repository at this point in the history
  8. Update changelog

    andysellick committed Feb 21, 2020
    Configuration menu
    Copy the full SHA
    b211d82 View commit details
    Browse the repository at this point in the history