Skip to content

Commit

Permalink
Update FRF components to use updated 'tw:' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneymyers committed Jan 28, 2025
1 parent 86f112b commit c71cf5c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
26 changes: 13 additions & 13 deletions app/client/src/routes/frf2022.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ function FundingRequestForm(props: { email: string }) {
body: (
<>
<p
className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}
className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please notify the helpdesk that a problem exists preventing
the deletion of Payment Request form submission{" "}
<em>{rebate.rebateId}</em>.
Expand All @@ -289,7 +289,7 @@ function FundingRequestForm(props: { email: string }) {
displayInfoNotification({
id: Date.now(),
body: (
<p className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}>
<p className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}>
Deleting Payment Request <em>{rebate.rebateId}</em>...
</p>
),
Expand All @@ -312,12 +312,12 @@ function FundingRequestForm(props: { email: string }) {
<>
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please reload the page to attempt the deletion again, or
contact the helpdesk if the problem persists.
</p>
Expand Down Expand Up @@ -422,16 +422,16 @@ function FundingRequestForm(props: { email: string }) {
</p>

<Dialog as="div" open={dataIsPosting.current} onClose={(_value) => {}}>
<div className={clsx("tw-fixed tw-inset-0 tw-bg-black/30")} />
<div className={clsx("tw-fixed tw-inset-0 tw-z-20")}>
<div className={clsx("tw:fixed tw:inset-0 tw:bg-black/30")} />
<div className={clsx("tw:fixed tw:inset-0 tw:z-20")}>
<div
className={clsx(
"tw-flex tw-min-h-full tw-items-center tw-justify-center",
"tw:flex tw:min-h-full tw:items-center tw:justify-center",
)}
>
<Dialog.Panel
className={clsx(
"tw-rounded-lg tw-bg-white tw-px-4 tw-pb-4 tw-shadow-xl",
"tw:rounded-lg tw:bg-white tw:px-4 tw:pb-4 tw:shadow-xl",
)}
>
<Loading />
Expand Down Expand Up @@ -505,7 +505,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -537,7 +537,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -610,7 +610,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Draft saved successfully.
Expand All @@ -626,7 +626,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error saving draft.
Expand Down
26 changes: 13 additions & 13 deletions app/client/src/routes/frf2023.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ function FundingRequestForm(props: { email: string }) {
body: (
<>
<p
className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}
className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please notify the helpdesk that a problem exists preventing
the deletion of Payment Request form submission{" "}
<em>{rebate.rebateId}</em>.
Expand All @@ -275,7 +275,7 @@ function FundingRequestForm(props: { email: string }) {
displayInfoNotification({
id: Date.now(),
body: (
<p className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}>
<p className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}>
Deleting Payment Request <em>{rebate.rebateId}</em>...
</p>
),
Expand All @@ -298,12 +298,12 @@ function FundingRequestForm(props: { email: string }) {
<>
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please reload the page to attempt the deletion again, or
contact the helpdesk if the problem persists.
</p>
Expand Down Expand Up @@ -408,16 +408,16 @@ function FundingRequestForm(props: { email: string }) {
</p>

<Dialog as="div" open={dataIsPosting.current} onClose={(_value) => {}}>
<div className={clsx("tw-fixed tw-inset-0 tw-bg-black/30")} />
<div className={clsx("tw-fixed tw-inset-0 tw-z-20")}>
<div className={clsx("tw:fixed tw:inset-0 tw:bg-black/30")} />
<div className={clsx("tw:fixed tw:inset-0 tw:z-20")}>
<div
className={clsx(
"tw-flex tw-min-h-full tw-items-center tw-justify-center",
"tw:flex tw:min-h-full tw:items-center tw:justify-center",
)}
>
<Dialog.Panel
className={clsx(
"tw-rounded-lg tw-bg-white tw-px-4 tw-pb-4 tw-shadow-xl",
"tw:rounded-lg tw:bg-white tw:px-4 tw:pb-4 tw:shadow-xl",
)}
>
<Loading />
Expand Down Expand Up @@ -481,7 +481,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -513,7 +513,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -577,7 +577,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Draft saved successfully.
Expand All @@ -593,7 +593,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error saving draft.
Expand Down
26 changes: 13 additions & 13 deletions app/client/src/routes/frf2024.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,11 @@ function FundingRequestForm(props: { email: string }) {
body: (
<>
<p
className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}
className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please notify the helpdesk that a problem exists preventing
the deletion of Payment Request form submission{" "}
<em>{rebate.rebateId}</em>.
Expand All @@ -275,7 +275,7 @@ function FundingRequestForm(props: { email: string }) {
displayInfoNotification({
id: Date.now(),
body: (
<p className={clsx("tw-text-sm tw-font-medium tw-text-gray-900")}>
<p className={clsx("tw:text-sm tw:font-medium tw:text-gray-900")}>
Deleting Payment Request <em>{rebate.rebateId}</em>...
</p>
),
Expand All @@ -298,12 +298,12 @@ function FundingRequestForm(props: { email: string }) {
<>
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error deleting Payment Request <em>{rebate.rebateId}</em>.
</p>
<p className={clsx("tw-mt-1 tw-text-sm tw-text-gray-500")}>
<p className={clsx("tw:mt-1 tw:text-sm tw:text-gray-500")}>
Please reload the page to attempt the deletion again, or
contact the helpdesk if the problem persists.
</p>
Expand Down Expand Up @@ -408,16 +408,16 @@ function FundingRequestForm(props: { email: string }) {
</p>

<Dialog as="div" open={dataIsPosting.current} onClose={(_value) => {}}>
<div className={clsx("tw-fixed tw-inset-0 tw-bg-black/30")} />
<div className={clsx("tw-fixed tw-inset-0 tw-z-20")}>
<div className={clsx("tw:fixed tw:inset-0 tw:bg-black/30")} />
<div className={clsx("tw:fixed tw:inset-0 tw:z-20")}>
<div
className={clsx(
"tw-flex tw-min-h-full tw-items-center tw-justify-center",
"tw:flex tw:min-h-full tw:items-center tw:justify-center",
)}
>
<Dialog.Panel
className={clsx(
"tw-rounded-lg tw-bg-white tw-px-4 tw-pb-4 tw-shadow-xl",
"tw:rounded-lg tw:bg-white tw:px-4 tw:pb-4 tw:shadow-xl",
)}
>
<Loading />
Expand Down Expand Up @@ -481,7 +481,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -513,7 +513,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
{onSubmitSubmission.state === "submitted" ? (
Expand Down Expand Up @@ -577,7 +577,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Draft saved successfully.
Expand All @@ -593,7 +593,7 @@ function FundingRequestForm(props: { email: string }) {
body: (
<p
className={clsx(
"tw-text-sm tw-font-medium tw-text-gray-900",
"tw:text-sm tw:font-medium tw:text-gray-900",
)}
>
Error saving draft.
Expand Down

0 comments on commit c71cf5c

Please sign in to comment.