-
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(switch): enhances Switch component to allow inline variant in new validation redesign #7023
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
October 21, 2024 15:35
26bf78c
to
bd27ac2
Compare
damienrobson-sage
added
Pending Review
Pending QA
Pending UX QA
Squad Front End
switch
and removed
DO NOT MERGE
labels
Oct 22, 2024
edleeks87
reviewed
Oct 23, 2024
src/components/switch/__internal__/switch-slider-panel.style.ts
Outdated
Show resolved
Hide resolved
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
October 23, 2024 13:19
7869882
to
bcae863
Compare
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
October 24, 2024 07:17
173ea11
to
a720b7e
Compare
edleeks87
previously approved these changes
Oct 24, 2024
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
October 24, 2024 11:40
a720b7e
to
08e1702
Compare
mihai-albu-sage
previously approved these changes
Oct 24, 2024
edleeks87
previously approved these changes
Oct 25, 2024
damienrobson-sage
dismissed stale reviews from mihai-albu-sage and edleeks87
via
October 29, 2024 10:23
e2aa03b
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
2 times, most recently
from
October 29, 2024 10:23
e2aa03b
to
69c6630
Compare
edleeks87
reviewed
Oct 29, 2024
src/__internal__/validation-message/validation-message.style.ts
Outdated
Show resolved
Hide resolved
Looks good to me, wanted to add there is a minor alignment review we need to look at the inline layout but its rendering slightly different in different browsers so that will not impact this ticket. |
mihai-albu-sage
previously approved these changes
Oct 29, 2024
edleeks87
previously approved these changes
Oct 30, 2024
damienrobson-sage
dismissed stale reviews from edleeks87 and mihai-albu-sage
via
October 30, 2024 16:00
785bbb4
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
2 times, most recently
from
October 30, 2024 16:01
785bbb4
to
ba04c3b
Compare
edleeks87
reviewed
Oct 31, 2024
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
October 31, 2024 13:07
ba04c3b
to
d0e81e1
Compare
…w validation redesign
damienrobson-sage
force-pushed
the
FE-6780-inline-switch
branch
from
November 4, 2024 10:21
ddff174
to
baf4ac5
Compare
edleeks87
approved these changes
Nov 5, 2024
mihai-albu-sage
approved these changes
Nov 6, 2024
dariusbercea-sage
approved these changes
Nov 7, 2024
🎉 This PR is included in version 144.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed behaviour
Adds the following enhancements to the
Switch
component:This will allow the inline option to work alongside the
validationRedesignOptIn
flag. If the inline layout does not fit the space provided, it will default to the vertical style layout.Current behaviour
The
Switch
component does not currently support inline layouts if thevalidationRedesignOptIn
flag is set to trueChecklist
d.ts
file added or updated if requiredQA
Additional context
Testing instructions