-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
components: Remove
@emotion/css
from Divider (#33054)
* Remove `@emotion/css` from Divider * Fix space input types * Fix mysteriously broken type * Change how we parse values so that `px` values are respected * Update snapshots * Handle empty values * Fallback to `Number` parsing when CSS.supports does not exist * Add tests * Follow View naming convention * Handle null so that stories work * Split the stories in two * Rename DividerProps to Props * Combine NaN and CSS.supports check * Update packages/components/src/ui/utils/space.ts Co-authored-by: Marco Ciampini <[email protected]> Co-authored-by: Marco Ciampini <[email protected]>
- Loading branch information
1 parent
d3fb83c
commit 6a21c81
Showing
11 changed files
with
195 additions
and
145 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { default as Divider } from './component'; | ||
export type { DividerProps } from './component'; | ||
export type { Props as DividerProps } from './types'; |
Oops, something went wrong.