-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
ref(checkout): Rework CheckoutOption #106220
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
Conversation
| direction="column" | ||
| gap="lg" | ||
| data-test-id="product-option-description" | ||
| > |
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.
SEER description missing paddingTop after refactoring
Low Severity
The SEER product's optionDescription is missing paddingTop="xl" that was present in the old code. The original code had paddingTop="xl" on the description Flex, but during the refactoring to use the new CheckoutOption API, this padding was accidentally omitted. The LEGACY_SEER option correctly preserved this padding. This will result in inconsistent vertical spacing between the separator and description content for the SEER option compared to LEGACY_SEER.
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.
this is intentional, it was no longer necessary
This PR:
CheckoutOptioncomponent by including the radio/checkbox depending on the designatedariaRole(rather than leaving the onus on the author using the component)CheckoutOptioninstances so that the instances are always equal width