-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Box] Update border radius props to match web spec (#10100)
### WHY are these changes introduced? Fixes #10064 <details> <summary>Playground</summary> ```jsx import React from 'react'; import {Box, Page, VerticalStack} from '../src'; export function Playground() { return ( <Page title="Playground"> {/* Add the code you want to test in here */} <VerticalStack gap="3"> <Box padding="3" background="bg-caution" borderRadius="3"> control{' '} </Box> <Box padding="3" background="bg-caution" borderStartStartRadius="3"> border start start radius </Box> <Box padding="3" background="bg-caution" borderStartEndRadius="3"> border start end radius </Box> <Box padding="3" background="bg-caution" borderEndStartRadius="3"> border end start radius </Box> <Box padding="3" background="bg-caution" borderEndEndRadius="3"> border end end radius </Box> </VerticalStack> </Page> ); } ``` </details>
- Loading branch information
1 parent
2175f45
commit 4c7b2d4
Showing
5 changed files
with
43 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': major | ||
--- | ||
|
||
Updated `borderRadius` props to match web spec |
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
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