-
Notifications
You must be signed in to change notification settings - Fork 15
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: [FX-4259] add new spacing values to picasso #3835
Conversation
🦋 Changeset detectedLatest commit: 3287cab The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@toptal-bot run package:alpha-release |
Your alpha package is ready 🎉 |
@toptal-anvil ping reviewers |
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.
The implementation should work, but I still think we are leaking too much information for users as of now. The intention of using classes is to prevent users from depending on the values directly, so we should keep the design of the API as poka-yoke as possible
@toptal-anvil ping reviewers |
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.
Looks good! Thank you for extending theme as well
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.
LGTM!
* feat: add new spacing values to picasso * chore: enhance spacings * chore: update spacings * chore: add unit tests for spacings * chore: update changeset * chore: fix story
* feat: add new spacing values to picasso * chore: enhance spacings * chore: update spacings * chore: add unit tests for spacings * chore: update changeset * chore: fix story
* feat: add new spacing values to picasso * chore: enhance spacings * chore: update spacings * chore: add unit tests for spacings * chore: update changeset * chore: fix story
* feat: add new spacing values to picasso * chore: enhance spacings * chore: update spacings * chore: add unit tests for spacings * chore: update changeset * chore: fix story
FX-4259
Description
Add new spacing values to Picasso, described in BASE.
RFC: https://github.com/toptal/picasso/blob/master/docs/decisions/18-spacings.md#technical-details
How to test
Example:
Example of new
spacings
variable coming from the theme:Development checks
PR commands
List of available commands:
@toptal-bot run package:alpha-release
- Release alpha version@toptal-anvil ping reviewers
- Ping FX team for reviewPR Review Guidelines
When to approve? ✅
You are OK with merging this PR and
nit:
to your comment. (ex.nit: I'd rename this variable from makeCircle to getCircle
)When to request changes? ❌
You are not OK with merging this PR because
When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:
How to handle the comments?