wethegit / component-library

WTC's internal React component library.
https://wethegit.github.io/component-library/
MIT License
0 stars 0 forks source link

fix(Spacing): adds missing breakpoint classes for non-directional spacing #188

Closed andrewrubin closed 5 months ago

andrewrubin commented 5 months ago

Description

This PR adds a missing collection of breakpoint-specific classes for spacing that doesn't specify a direction. For example, margin[2] and padding[6]. You can now do:

spacing.md.margin[2]
spacing.lg.margin[4]

Notes

Fixes #173

Screenshots

https://github.com/wethegit/component-library/assets/30575213/67af3e26-9485-45e0-9bfc-ef847d7656fd

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 605f054583d01d1cc9b0f334926adff36970e77c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR