-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [M3-7144] - MNTP Dialog Updates for DC-specific pricing (#9692)
* feat: [M3-7144] Transfer Pool Dialog initial changes * feat: [M3-7144] Formatting all the things * feat: [M3-7144] fix tests * Added changeset: Network Transfer Dialog copy and typography updates * feat: [fix-M3-7144] add missing period * feat: [fix-M3-7144] feedback * feat: [fix-M3-7144] feedback * feat: [fix-M3-7144] feedback 2
- Loading branch information
1 parent
09b599e
commit bc25cd6
Showing
9 changed files
with
130 additions
and
32 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
packages/manager/.changeset/pr-9692-upcoming-features-1695054097678.md
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 @@ | ||
--- | ||
"@linode/manager": Upcoming Features | ||
--- | ||
|
||
Update Monthly Network Transfer Pool dialog copy and typography ([#9692](https://github.com/linode/manager/pull/9692)) |
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
39 changes: 39 additions & 0 deletions
39
packages/manager/src/components/TransferDisplay/TransferDisplayDialogHeader.tsx
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,39 @@ | ||
import { useTheme } from '@mui/material/styles'; | ||
import * as React from 'react'; | ||
|
||
import { TooltipIcon } from 'src/components/TooltipIcon'; | ||
import { Typography } from 'src/components/Typography'; | ||
|
||
interface Props { | ||
dataTestId: string; | ||
headerText: string; | ||
tooltipText: string; | ||
} | ||
|
||
export const TransferDisplayDialogHeader = React.memo((props: Props) => { | ||
const { dataTestId, headerText, tooltipText } = props; | ||
const theme = useTheme(); | ||
|
||
return ( | ||
<Typography | ||
data-testid={dataTestId} | ||
fontFamily={theme.font.bold} | ||
fontSize={theme.typography.h3.fontSize} | ||
> | ||
{headerText} | ||
<TooltipIcon | ||
componentsProps={{ | ||
tooltip: { | ||
style: { | ||
marginTop: -8, | ||
minWidth: 250, | ||
}, | ||
}, | ||
}} | ||
status="help" | ||
sxTooltipIcon={{ left: -2, top: -2 }} | ||
text={tooltipText} | ||
/> | ||
</Typography> | ||
); | ||
}); |
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