-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat: remove focusRedesignOptOut feature flag #7076
base: master
Are you sure you want to change the base?
Conversation
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.
suggestion: You may be able to remove theme
from line 156 as it looks like it isn't used elsewhere in the file.
@@ -278,11 +268,7 @@ const StyledDayPicker = styled.div` | |||
${({ theme }) => |
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.
suggestion: It might be the same case here that we can remove the theme
here. From a glance, I cannot see it being used, but I may be wrong, so please double-check 😄
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.
Great work on this @tomdavies73 👍🏼 I noticed a few unused theme
variables in some parts of the code. Could you take a look and remove them?
To identity these, this command should help:
npx eslint ./src --rule "{ '@typescript-eslint/no-unused-vars': 'error' }" --quiet
Thanks!
src/components/duelling-picklist/picklist-item/picklist-item.test.tsx
Outdated
Show resolved
Hide resolved
0e5e02e
This update removes the `focusRedesignOptOut` feature flag, consumers can no longer opt out of the dual outline focus styling BREAKING CHANGE: The `focusRedesignOptOut` feature flag has been removed completely. If passed to the `CarbonProvider` it will need to be removed, if consumers are also relying on previous focus styling this will also no longer be available.
Proposed behaviour
This update removes the
focusRedesignOptOut
feature flag, consumers can no longer opt out of the dual outline focus stylingCurrent behaviour
Currently, consumers can opt out of the dual outline focus styling.
Checklist
d.ts
file added or updated if requiredQA
Additional context
Testing instructions