From 21b687f2984fa526aea1ed55061b861c4ec9fa3b Mon Sep 17 00:00:00 2001 From: evavirseda Date: Thu, 24 Oct 2024 10:55:26 +0200 Subject: [PATCH] feat(wallet): remove buttonUI component and replace it with uikit (#3453) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Begoña Álvarez de la Cruz Co-authored-by: Eugene P. --- .../ui/app/components/PasswordInputDialog.tsx | 21 ++- .../accounts-finder/AccountsFinderView.tsx | 29 ++-- apps/wallet/src/ui/app/shared/ButtonUI.tsx | 148 ------------------ 3 files changed, 21 insertions(+), 177 deletions(-) delete mode 100644 apps/wallet/src/ui/app/shared/ButtonUI.tsx diff --git a/apps/wallet/src/ui/app/components/PasswordInputDialog.tsx b/apps/wallet/src/ui/app/components/PasswordInputDialog.tsx index fecf3763104..6e07e0534a6 100644 --- a/apps/wallet/src/ui/app/components/PasswordInputDialog.tsx +++ b/apps/wallet/src/ui/app/components/PasswordInputDialog.tsx @@ -3,15 +3,14 @@ // SPDX-License-Identifier: Apache-2.0 import { useBackgroundClient } from '_src/ui/app/hooks/useBackgroundClient'; -import { Button } from '_src/ui/app/shared/ButtonUI'; import { Text } from '_src/ui/app/shared/text'; import classNames from 'clsx'; import { Form, Formik } from 'formik'; import { toast } from 'react-hot-toast'; import { useNavigate } from 'react-router-dom'; import { object, string as YupString } from 'yup'; -import { ArrowLeft, ArrowRight } from '@iota/ui-icons'; -import { Header, InputType } from '@iota/apps-ui-kit'; +import { Loader } from '@iota/ui-icons'; +import { Button, ButtonHtmlType, ButtonType, Header, InputType } from '@iota/apps-ui-kit'; import { PasswordInputField } from '../shared/input/password'; const validation = object({ @@ -86,10 +85,7 @@ export function PasswordInputDialog({ {showBackButton ? (