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

Bring in new toolkit with new input fields #626

Merged
merged 4 commits into from
Feb 24, 2017

Conversation

pcraig3
Copy link
Contributor

@pcraig3 pcraig3 commented Feb 22, 2017

This pull request

  • updates the govuk_frontend toolkit to the latest
  • updates the digitalmarketplace frontend toolkit to the latest
  • treats links with a role="button" as buttons (ie, "Apply for this opportunity" link)
  • removes some unused classnames

💥 Explosion noise 💥

@pcraig3 pcraig3 force-pushed the pc-try-terrific-new-toolkit branch from f9ccf7c to ce37650 Compare February 22, 2017 12:30
@pcraig3 pcraig3 changed the title [WIP] Bring in new toolkit with new input fields Bring in new toolkit with new input fields Feb 22, 2017
@tombye
Copy link
Contributor

tombye commented Feb 23, 2017

👍

@pcraig3 pcraig3 force-pushed the pc-try-terrific-new-toolkit branch from ce37650 to e5be685 Compare February 23, 2017 13:29
Brings in the latest govuk_frontend_toolkit available
on NPM, and the latest digitalmarketplace toolkit.

Also:
- removes external link styles, as these will no longer compile
- removes custom focused/selected classes for radios/checks
The govuk_frontend_toolkit stuff uses different javascript
formatting than us where they begin their files with
semicolons but don't end files with them.

Our JS does the opposite, and so concatenating the files
results in a compilation bug somewhere in the middle.

I've also changed the way everything is imported
to more closely resemble the way the imports work in the
buyer app.
The digitalmarketplace toolkit is no longer using this
class, so let's get rid of it.
Javascript will automatically treat links with a
`role="button"` and a `.link-button` class as buttons.

This is part of the govuk_frontend_toolkit, not the
digitalmarketplace one.
@pcraig3 pcraig3 force-pushed the pc-try-terrific-new-toolkit branch from e5be685 to 4e7f5d8 Compare February 24, 2017 10:26
@pcraig3 pcraig3 merged commit a871e4f into master Feb 24, 2017
@pcraig3 pcraig3 deleted the pc-try-terrific-new-toolkit branch February 24, 2017 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants