Chore: Replace deprecated usage of shape.borderRadius() (#72672)

* properly mark borderRadius() as deprecated, replace borderRadius() with default

* undo a couple of changes

* use radius.pill in FilterPill
This commit is contained in:
Ashley Harrison
2023-08-01 14:46:07 +01:00
committed by GitHub
parent 522f298b27
commit e0587dfb30
106 changed files with 125 additions and 122 deletions

View File

@@ -162,7 +162,7 @@ const getStyles = (theme: GrafanaTheme2) => {
padding: 0 ${theme.spacing(1, 1, 1)};
border: 1px solid ${debugBorder};
background: ${theme.isLight ? theme.v1.palette.white : theme.v1.palette.gray05};
border-radius: ${theme.shape.borderRadius(1)};
border-radius: ${theme.shape.radius.default};
width: 100%;
min-height: 300px;
display: flex;

View File

@@ -41,7 +41,7 @@ export const TransformationFilter = ({ index, data, config, onChange }: Transfor
};
const getStyles = (theme: GrafanaTheme2) => {
const borderRadius = theme.shape.borderRadius();
const borderRadius = theme.shape.radius.default;
return {
wrapper: css`