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

Use the details polyfill from frontend toolkit #562

Merged
merged 3 commits into from
Oct 3, 2017

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented Oct 3, 2017

The details polyfill has been copied to the frontend toolkit and released as v7.1.0.

This updates Elements to use the details polyfill from there instead.

What problem does the pull request solve?

If you npm install the gov template, the toolkit and elements (govuk-elements-sass), the expectation is that you should have everything you need to use the gov styles. However, the element polyfill is missing since govuk-elements-sass only includes the sass.

Raised in issue #400

How has this been tested?

I ran Elements locally and ensured that the details polyfill was loading correctly from Frontend Toolkit.

I tested that the details/summary elements worked as expected in Firefox 48 using Browserstack.

Screenshots (if appropriate):

What type of change is it?

  • Bug fix (non-breaking change which fixes an issue)

Has the documentation been updated?

  • I have read the CONTRIBUTING document.

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-elements-review-pr-562 October 3, 2017 10:29 Inactive
The details polyfill has been moved to Frontend Toolkit as part of v7.1.0. This is so that users of Elements and Frontend Toolkit can make use of it, as Elements only includes the Sass in its packages.

This was raised as part of #400
@36degrees 36degrees force-pushed the use-details-polyfill-from-frontend-toolkit branch from 2f8c154 to 1007a56 Compare October 3, 2017 10:36
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-elements-review-pr-562 October 3, 2017 10:36 Inactive
@36degrees 36degrees force-pushed the use-details-polyfill-from-frontend-toolkit branch from 1007a56 to 88e0f9f Compare October 3, 2017 10:53
@36degrees 36degrees changed the title [WIP] Use the details polyfill from frontend toolkit Use the details polyfill from frontend toolkit Oct 3, 2017
Copy link
Contributor

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with various IE versions using BrowserStack as well. Works well.

@36degrees 36degrees merged commit 28d2b53 into master Oct 3, 2017
@36degrees 36degrees deleted the use-details-polyfill-from-frontend-toolkit branch October 3, 2017 11:14
@36degrees 36degrees mentioned this pull request Oct 3, 2017
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.

3 participants