-
Notifications
You must be signed in to change notification settings - Fork 137
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
Fastlane Card Component signup #3043
base: fastlane
Are you sure you want to change the base?
Conversation
|
Size Change: +10.8 kB (+1.39%) Total Size: 788 kB
ℹ️ View Unchanged
|
size-limit report 📦
|
I know you say we don't validate the mobile number - but it feels wrong that you can submit this PM whilst the field is visible, but clearly not filled |
Yea I agree. It is weird.. the main point for now is to not ruin the conversion if the shopper didn't enter the phone or entered the wrong phone.. |
Quality Gate passedIssues Measures |
&-header { | ||
grid-area: header; | ||
margin: 0; | ||
line-height: token('text-title-m-line-height'); |
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 think no need to add '
when using the token for the consistency reason, I believe it's still working.
@@ -1,5 +1,7 @@ | |||
@use 'mixins'; | |||
@use 'styles/mixins'; | |||
@import 'styles/variable-generator'; |
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 think no need to import styles/variable-generator
? No token is used in this file.
Summary
This PR introduces the Fastlane UI inside the Card component.
How it works:
fastlaneConfiguration
objectSome highlights:
Link
component which we can use for hyperlinksstaticValue
to theField
component, so we can display static values (similar to how Bento does)fastlaneData
property, which is an encoded blob containing the data for the paymentThis flow can be tested through Storybook on the Fastlane stories.
Tests
Next PR's: