generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 943-disable-ufp-rssd-id
- Loading branch information
Showing
6 changed files
with
159 additions
and
121 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
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,7 @@ | ||
export const TIMEOUT_XXS = 500; | ||
export const TIMEOUT_XS = 1000; | ||
export const TIMEOUT_SM = 10_000; | ||
export const TIMEOUT_MD = 30_000; | ||
export const TIMEOUT_LG = 60_000; | ||
export const TIMEOUT_XL = 120_000; | ||
export const TIMEOUT_XXL = 180_000; |
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,32 +1,29 @@ | ||
import { Link } from 'components/Link'; | ||
import { Alert, Heading, Paragraph } from 'design-system-react'; | ||
import { Alert } from 'design-system-react'; | ||
import type { ReactElement } from 'react'; | ||
|
||
export default function BetaAndLegalNotice(): ReactElement { | ||
return ( | ||
<Alert | ||
className='mb-[2.813rem]' | ||
message={ | ||
<> | ||
<Heading type='2' className='h4 mb-[0.313rem]'> | ||
This is a beta for the Small Business Lending Data Filing Platform | ||
</Heading> | ||
<Paragraph> | ||
Thank you for participating. The beta platform is available to | ||
upload, test, and validate data. All uploaded data is for testing | ||
purposes only and may be removed at any time. For questions or | ||
feedback,{' '} | ||
<Link href='mailto:SBLHelp@cfpb.gov?subject=[BETA] Home page: Questions or feedback'> | ||
email our support staff | ||
</Link> | ||
. | ||
</Paragraph> | ||
</> | ||
} | ||
message='This is a beta for the Small Business Lending Data Filing Platform' | ||
status='warning' | ||
// TODO: allow setting to strip heading formatting in Alerts post-mvp | ||
// @ts-expect-error - See issue: https://github.com/cfpb/design-system-react/issues/351 | ||
headingLevel={null} | ||
/> | ||
// headingLevel={null} | ||
> | ||
<span className='inline-block max-w-[41.875rem]'> | ||
Thank you for participating. The beta platform is available to upload, | ||
test, and validate data. All uploaded data is for testing purposes only | ||
and may be removed at any time. For questions or feedback,{' '} | ||
<Link | ||
href='mailto:SBLHelp@cfpb.gov?subject=[BETA] Home page: Questions or feedback' | ||
className='border-b-[1px]' | ||
> | ||
email our support staff | ||
</Link> | ||
. | ||
</span> | ||
</Alert> | ||
); | ||
} |
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