From b46501cc0dc84e211d2517680f6ed87fab2cd785 Mon Sep 17 00:00:00 2001 From: Monalisha Mishra <42746736+mishramonalisha76@users.noreply.github.com> Date: Fri, 4 Aug 2023 00:53:47 +0530 Subject: [PATCH] migration of button icon to use TS box version (#20227) * migration of button icon to use TS box version * fixed lint issues * Some convention and linting updates * README fixes * Updating snapshot * snapshot updates --------- Co-authored-by: georgewrmarshall --- .../__snapshots__/beta-header.test.js.snap | 2 +- .../customize-nonce.test.js.snap | 2 +- .../__snapshots__/eth-sign-modal.test.js.snap | 2 +- .../__snapshots__/nft-details.test.js.snap | 4 +- .../avatar-icon/avatar-icon.types.ts | 4 +- .../component-library/button-icon/README.mdx | 35 ++++++------ .../__snapshots__/button-icon.test.tsx.snap | 2 +- .../button-icon/button-icon.scss | 1 + .../button-icon/button-icon.stories.tsx | 56 +++++-------------- .../button-icon/button-icon.test.tsx | 4 +- .../button-icon/button-icon.tsx | 30 +++++----- .../button-icon/button-icon.types.ts | 11 +++- .../modal-header/modal-header.types.ts | 4 +- .../popover-header/popover-header.types.ts | 4 +- .../account-list-item.test.js.snap | 2 +- .../__snapshots__/app-header.test.js.snap | 2 +- .../network-list-item.test.js.snap | 2 +- .../add-ethereum-chain.test.js.snap | 4 +- .../switch-ethereum-chain.test.js.snap | 2 +- .../__snapshots__/index.test.tsx.snap | 2 +- .../__snapshots__/custody.test.js.snap | 2 +- .../token-allowance.test.js.snap | 4 +- 22 files changed, 83 insertions(+), 98 deletions(-) diff --git a/ui/components/app/beta-header/__snapshots__/beta-header.test.js.snap b/ui/components/app/beta-header/__snapshots__/beta-header.test.js.snap index 8414d4d29..723696ccf 100644 --- a/ui/components/app/beta-header/__snapshots__/beta-header.test.js.snap +++ b/ui/components/app/beta-header/__snapshots__/beta-header.test.js.snap @@ -24,7 +24,7 @@ exports[`Beta Header should match snapshot 1`] = `