-
Notifications
You must be signed in to change notification settings - Fork 328
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
chore(packages): copy changes to packages #421
Conversation
packages/all/package.json
Outdated
@@ -1,31 +1,31 @@ | |||
{ | |||
"name": "@govuk-frontend/all", | |||
"version": "0.0.19-alpha", | |||
"version": "0.0.20-alpha", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this normally done by lerna? Do we need to do this manually?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 After consulting Lerna documentation it appears it's not necessary to change package.json manually. Have taken this out.
e36cb87
to
1f7b816
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of things that need fixing, and some larger issues I'm not sure we can address right now.
@@ -5,7 +5,7 @@ | |||
"@govuk-frontend/back-link": "^0.0.19-alpha", | |||
"@govuk-frontend/breadcrumbs": "^0.0.19-alpha", | |||
"@govuk-frontend/button": "^0.0.19-alpha", | |||
"@govuk-frontend/checkbox": "^0.0.19-alpha", | |||
"@govuk-frontend/checkboxes": "^0.0.20-alpha", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this bump intentional when renaming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as npm is concerned, we've published a new package, not renamed one.
@NickColley was looking into this and added a note to dev time to discuss how we should handle removing npm packages such as govuk-frontend/checkbox
@@ -55,6 +63,21 @@ | |||
color: $govuk-text-colour; | |||
} | |||
} | |||
|
|||
// The following adjustments do not work for <input type="button"> as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think postcss-nested
is doing crazy things here. It's removed the nesting of the ::before
and ::active::before
by shunting them down the file, taking the immediately preceding comment line, but leaving the rest of the comment here, divorced from its context.
Not sure what we can do about this in the short term, but… this is not great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As just discussed in person, we should review why we're using postcss-nested
when @igloosi is back.
|
||
background: transparent; | ||
} | ||
// 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/components/radios/package.json
Outdated
@@ -0,0 +1,7 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is meant to be added? None of the other components have package.json files in the src
directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes indeed. I've taken it out.
1f7b816
to
a87bd74
Compare
…jan-18 Fix to #421 - restore correct FE version for radios and checkboxes
Update with all the latest changes from source:
width
classes, which were based onform-control
classes that werespecific to form control in Elements. (PR #413)
Note: this step of the publishing process is not perfect right now, it's hard to check that this contains the correct changes. We will have some tests eventually to verify.