+
{transactionTabs.map(transactionTab => (
this.setActiveTab(transactionTab)}
>
-
@@ -146,15 +181,25 @@ export class SignTransactionsPanel {
{this.activeTab === TransactionTabsEnum.overview ? (
-
+
) : (
-
+
)}
-
+
-
+
);
}
}
diff --git a/src/components/visual/button/button.scss b/src/components/visual/button/button.scss
deleted file mode 100644
index 0085031b..00000000
--- a/src/components/visual/button/button.scss
+++ /dev/null
@@ -1,69 +0,0 @@
-:host {
- @apply mvx:flex;
-
- .button {
- @apply mvx:flex mvx:items-center mvx:justify-center mvx:font-bold mvx:leading-none mvx:px-4 mvx:max-h-full;
- @apply mvx:rounded-xl mvx:cursor-pointer mvx:transition-all mvx:duration-200 mvx:ease-in-out mvx:gap-2;
-
- &.large {
- @apply mvx:h-12 mvx:text-base mvx:px-6;
- }
-
- &.small {
- @apply mvx:h-10 mvx:text-xs mvx:rounded-xl;
- }
-
- &.primary {
- color: var(--mvx-button-text-primary);
- background-color: var(--mvx-button-bg-primary);
- border: 1px solid var(--mvx-button-bg-primary);
- }
-
- &.secondary {
- @apply mvx:relative;
- color: var(--mvx-button-text-secondary);
- border: 1px solid transparent;
-
- &.small:after {
- @apply mvx:rounded-xl;
- }
-
- &:after {
- @apply mvx:absolute mvx:inset-0 mvx:rounded-lg mvx:opacity-40 mvx:transition-all mvx:duration-200 mvx:ease-in-out;
- background-color: var(--mvx-button-bg-secondary);
- content: '';
- z-index: -1;
- }
-
- &:hover {
- @apply mvx:opacity-100;
- color: var(--mvx-button-text-primary);
-
- &:after {
- @apply mvx:opacity-100;
- background-color: var(--mvx-button-bg-primary);
- }
- }
- }
-
- &.neutral {
- color: var(--mvx-neutral-925);
- background: var(--mvx-white);
- }
-
- &:hover {
- @apply mvx:opacity-75;
- }
-
- &.disabled,
- &:disabled {
- @apply mvx:pointer-events-none mvx:bg-transparent mvx:cursor-default;
- border: 1px solid var(--mvx-text-color-secondary);
- color: var(--mvx-text-color-secondary);
-
- &:hover {
- @apply mvx:opacity-100;
- }
- }
- }
-}
diff --git a/src/components/visual/copy-button/copy-button.tsx b/src/components/visual/copy-button/copy-button.tsx
deleted file mode 100644
index 693b696b..00000000
--- a/src/components/visual/copy-button/copy-button.tsx
+++ /dev/null
@@ -1,68 +0,0 @@
-import { Component, h, Prop, State } from '@stencil/core';
-import { Icon } from 'common/Icon';
-import { copyToClipboard } from 'utils/copyToClipboard';
-
-// prettier-ignore
-const styles = {
- copyButton: 'copy-button mvx:flex',
- copyButtonIcon: 'copy-button-icon mvx:flex mvx:cursor-pointer mvx:justify-center mvx:transition-opacity mvx:duration-200 mvx:ease-in-out mvx:hover:opacity-80',
- copyButtonIconCheck: 'copy-button-icon-check mvx:hover:opacity-100! mvx:cursor-default!',
-} satisfies Record