From 36a18b8bd9b4ed3b3ad0512e24a41a50516bc1d6 Mon Sep 17 00:00:00 2001 From: dan437 <80175477+dan437@users.noreply.github.com> Date: Thu, 4 Dec 2025 14:21:31 +0100 Subject: [PATCH 1/2] feat: Update row key colors in Confirmations Signed-off-by: dan437 <80175477+dan437@users.noreply.github.com> --- .../info/row/__snapshots__/row.test.tsx.snap | 4 +- ui/components/app/confirm/info/row/row.tsx | 2 +- .../info/__snapshots__/info.test.tsx.snap | 54 ++++----- .../__snapshots__/approve.test.tsx.snap | 16 +-- .../approve-static-simulation.test.tsx.snap | 8 +- .../native-transfer.test.tsx.snap | 2 +- .../nft-token-transfer.test.tsx.snap | 2 +- .../__snapshots__/siwe-sign.test.tsx.snap | 38 +++--- .../set-approval-for-all-info.test.tsx.snap | 4 +- ...al-for-all-static-simulation.test.tsx.snap | 6 +- ...al-for-all-static-simulation.test.tsx.snap | 4 +- .../advanced-details.test.tsx.snap | 8 +- .../__snapshots__/gas-fees-row.test.tsx.snap | 2 +- .../transaction-data.test.tsx.snap | 110 +++++++++--------- .../token-details-section.test.tsx.snap | 2 +- .../token-transfer.test.tsx.snap | 2 +- .../__snapshots__/typed-sign-v1.test.tsx.snap | 6 +- .../__snapshots__/typed-sign.test.tsx.snap | 94 +++++++-------- .../permit-simulation.test.tsx.snap | 8 +- .../row/__snapshots__/dataTree.test.tsx.snap | 56 ++++----- .../typedSignDataV1.test.tsx.snap | 4 +- .../__snapshots__/typedSignData.test.tsx.snap | 30 ++--- .../__snapshots__/confirm.test.tsx.snap | 108 ++++++++--------- 23 files changed, 285 insertions(+), 285 deletions(-) diff --git a/ui/components/app/confirm/info/row/__snapshots__/row.test.tsx.snap b/ui/components/app/confirm/info/row/__snapshots__/row.test.tsx.snap index 607c263d95b8..d268b47aca15 100644 --- a/ui/components/app/confirm/info/row/__snapshots__/row.test.tsx.snap +++ b/ui/components/app/confirm/info/row/__snapshots__/row.test.tsx.snap @@ -7,7 +7,7 @@ exports[`ConfirmInfoRow should match snapshot 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
= ({ flexDirection={FlexDirection.Row} justifyContent={JustifyContent.center} alignItems={AlignItems.flexStart} - color={color} + color={color ?? TextColor.textAlternative} paddingRight={contentPaddingRight || null} onClick={onClick} className={onClick && 'hoverable'} diff --git a/ui/pages/confirmations/components/confirm/info/__snapshots__/info.test.tsx.snap b/ui/pages/confirmations/components/confirm/info/__snapshots__/info.test.tsx.snap index 3ee7e932fd71..dd2a93559436 100644 --- a/ui/pages/confirmations/components/confirm/info/__snapshots__/info.test.tsx.snap +++ b/ui/pages/confirmations/components/confirm/info/__snapshots__/info.test.tsx.snap @@ -11,7 +11,7 @@ exports[`Info renders info section for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` />
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when token is an NFT 1`] style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when token is an NFT 1`] style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when token is not an NFT style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when token is not an NFT style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve request 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for setAp style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for setAp style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for setAp style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve req style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component for approve req style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when the prop override is passed style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when the prop override is passed style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when the state property is true 1 style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component when the state property is true 1 style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
renders component 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >
Date: Thu, 4 Dec 2025 15:01:14 +0100 Subject: [PATCH 2/2] Update a snapshot Signed-off-by: dan437 <80175477+dan437@users.noreply.github.com> --- .../confirm/info/row/__snapshots__/expandable-row.test.tsx.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/components/app/confirm/info/row/__snapshots__/expandable-row.test.tsx.snap b/ui/components/app/confirm/info/row/__snapshots__/expandable-row.test.tsx.snap index 6db2cb117876..5401bbbc82a8 100644 --- a/ui/components/app/confirm/info/row/__snapshots__/expandable-row.test.tsx.snap +++ b/ui/components/app/confirm/info/row/__snapshots__/expandable-row.test.tsx.snap @@ -7,7 +7,7 @@ exports[`ConfirmInfoExpandableRow should match snapshot 1`] = ` style="overflow-wrap: anywhere; min-height: 24px; position: relative;" >