From 99b1722bea88963e3da48b2676f232095e02a2e7 Mon Sep 17 00:00:00 2001 From: lianahus Date: Thu, 16 Mar 2023 09:43:41 +0100 Subject: [PATCH] tooltips fixes --- .../src/app/components/HeaderWithSettings.tsx | 2 - apps/etherscan/src/app/views/VerifyView.tsx | 2 - apps/remix-ide/src/app/panels/tab-proxy.js | 7 +- .../src/app/tabs/locales/en/udapp.json | 4 +- .../css/themes/bootstrap-cerulean.min.css | 8 +- .../css/themes/bootstrap-cyborg.min.css | 8 +- .../css/themes/bootstrap-flatly.min.css | 8 +- .../css/themes/bootstrap-spacelab.min.css | 9 +- .../assets/css/themes/remix-black_undtds.css | 8 +- .../assets/css/themes/remix-candy_ikhg4m.css | 8 +- .../assets/css/themes/remix-dark_tvx1s2.css | 8 +- .../assets/css/themes/remix-hacker_owl.css | 8 +- .../assets/css/themes/remix-light_powaqg.css | 8 +- .../css/themes/remix-midcentury_hrzph3.css | 10 +- .../debugger-ui/src/lib/debugger-ui.tsx | 35 +++-- .../src/lib/components/custom-tooltip.tsx | 10 +- .../src/lib/components/pluginButton.tsx | 2 +- .../src/lib/remix-ui-modal-dialog.tsx | 2 +- .../panel/src/lib/plugins/panel-header.tsx | 9 +- .../src/lib/components/ActivePluginCard.tsx | 70 +++++++-- .../src/lib/components/InactivePluginCard.tsx | 66 ++++++-- .../src/lib/components/recorderCardUI.tsx | 12 +- .../settings/src/lib/remix-ui-settings.tsx | 41 +++-- .../src/lib/api/compiler-api.ts | 12 +- .../src/lib/compiler-container.tsx | 28 ++-- libs/remix-ui/tabs/src/lib/remix-ui-tabs.css | 73 +++++---- libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx | 143 +++++++++++------- .../src/lib/components/Badge.tsx | 22 ++- .../src/lib/css/remix-ui-workspace.css | 12 -- 29 files changed, 375 insertions(+), 260 deletions(-) diff --git a/apps/etherscan/src/app/components/HeaderWithSettings.tsx b/apps/etherscan/src/app/components/HeaderWithSettings.tsx index 14e048d6cd..fb6fb0dab7 100644 --- a/apps/etherscan/src/app/components/HeaderWithSettings.tsx +++ b/apps/etherscan/src/app/components/HeaderWithSettings.tsx @@ -148,9 +148,7 @@ export const HeaderWithSettings: React.FC = ({
{title}
- -
diff --git a/apps/etherscan/src/app/views/VerifyView.tsx b/apps/etherscan/src/app/views/VerifyView.tsx index f13fea1929..cc71a46418 100644 --- a/apps/etherscan/src/app/views/VerifyView.tsx +++ b/apps/etherscan/src/app/views/VerifyView.tsx @@ -23,8 +23,6 @@ interface FormValues { contractAddress: string } - - export const VerifyView: React.FC = ({ apiKey, client, diff --git a/apps/remix-ide/src/app/panels/tab-proxy.js b/apps/remix-ide/src/app/panels/tab-proxy.js index d9b62256b4..269e48b51a 100644 --- a/apps/remix-ide/src/app/panels/tab-proxy.js +++ b/apps/remix-ide/src/app/panels/tab-proxy.js @@ -244,7 +244,7 @@ export class TabProxy extends Plugin { name, title, icon, - tooltip: name, + tooltip: title || name, iconClass: getPathIcon(name) }) formatPath.shift() @@ -252,6 +252,7 @@ export class TabProxy extends Plugin { const index = this.loadedTabs.findIndex(({ title }) => title === formatPath.join('/')) if (index > -1) { const duplicateTabName = this.loadedTabs[index].name + const duplicateTabTooltip = this.loadedTabs[index].tooltip const duplicateTabPath = duplicateTabName.split('/') const duplicateTabFormatPath = [...duplicateTabPath].reverse() const duplicateTabTitle = duplicateTabFormatPath.slice(0, titleLength).reverse().join('/') @@ -260,7 +261,7 @@ export class TabProxy extends Plugin { name: duplicateTabName, title: duplicateTabTitle, icon, - tooltip: duplicateTabName, + tooltip: duplicateTabTooltip, iconClass: getPathIcon(duplicateTabName) } } @@ -274,7 +275,7 @@ export class TabProxy extends Plugin { name, title, icon, - tooltip: name, + tooltip: title || name, iconClass: getPathIcon(name) }) } diff --git a/apps/remix-ide/src/app/tabs/locales/en/udapp.json b/apps/remix-ide/src/app/tabs/locales/en/udapp.json index c2a864e32b..b820b73f8b 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/udapp.json +++ b/apps/remix-ide/src/app/tabs/locales/en/udapp.json @@ -40,8 +40,8 @@ "udapp.transactionSaveTooltip1": "No transactions to save", "udapp.transactionSaveTooltip2": "Save {count} transaction as scenario file", "udapp.transactionSaveTooltip3": "Save {count} transactions as scenario file", - "udapp.infoRecorderTooltip": "Save transactions (deployed contracts and function executions) {br}and replay them in another environment e.g Transactions created {br}in Remix VM can be replayed in the Injected Provider.", - "udapp.livemodeRecorderTooltip": "If contracts are updated after recording transactions,{br} checking this box will run recorded transactions {br}with the latest copy of the compiled contracts", + "udapp.infoRecorderTooltip": "Save transactions (deployed contracts and function executions) and replay them in another environment e.g Transactions created in Remix VM can be replayed in the Injected Provider.", + "udapp.livemodeRecorderTooltip": "If contracts are updated after recording transactions, checking this box will run recorded transactions with the latest copy of the compiled contracts", "udapp.livemodeRecorderLabel": "Run transactions using the latest compilation result", "udapp.runRecorderTooltip": "Run transaction(s) from the current scenario file", "udapp.save": "Save", diff --git a/apps/remix-ide/src/assets/css/themes/bootstrap-cerulean.min.css b/apps/remix-ide/src/assets/css/themes/bootstrap-cerulean.min.css index 17bdde289a..9542aa513a 100644 --- a/apps/remix-ide/src/assets/css/themes/bootstrap-cerulean.min.css +++ b/apps/remix-ide/src/assets/css/themes/bootstrap-cerulean.min.css @@ -5250,7 +5250,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after { bottom:1px; border-width:.5rem .5rem 0; - border-top-color:#fff + border-top-color: var(--secondary) } .bs-popover-auto[x-placement^=right],.bs-popover-right { margin-left:.5rem @@ -5269,7 +5269,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after { left:1px; border-width:.5rem .5rem .5rem 0; - border-right-color:#fff + border-right-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom],.bs-popover-bottom { margin-top:.5rem @@ -5285,7 +5285,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after { top:1px; border-width:0 .5rem .5rem .5rem; - border-bottom-color:#fff + border-bottom-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before { position:absolute; @@ -5314,7 +5314,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after { right:1px; border-width:.5rem 0 .5rem .5rem; - border-left-color:#fff + border-left-color: var(--secondary) } .popover-header { padding:.5rem .75rem; diff --git a/apps/remix-ide/src/assets/css/themes/bootstrap-cyborg.min.css b/apps/remix-ide/src/assets/css/themes/bootstrap-cyborg.min.css index 918bbb71b7..5e813c6d42 100644 --- a/apps/remix-ide/src/assets/css/themes/bootstrap-cyborg.min.css +++ b/apps/remix-ide/src/assets/css/themes/bootstrap-cyborg.min.css @@ -5252,7 +5252,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after { bottom:1px; border-width:.5rem .5rem 0; - border-top-color:#282828 + border-top-color: var(--secondary); } .bs-popover-auto[x-placement^=right],.bs-popover-right { margin-left:.5rem @@ -5271,7 +5271,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after { left:1px; border-width:.5rem .5rem .5rem 0; - border-right-color:#282828 + border-right-color: var(--secondary); } .bs-popover-auto[x-placement^=bottom],.bs-popover-bottom { margin-top:.5rem @@ -5287,7 +5287,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after { top:1px; border-width:0 .5rem .5rem .5rem; - border-bottom-color:#282828 + border-bottom-color: var(--secondary); } .bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before { position:absolute; @@ -5316,7 +5316,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after { right:1px; border-width:.5rem 0 .5rem .5rem; - border-left-color:#282828 + border-left-color: var(--secondary); } .popover-header { padding:.5rem .75rem; diff --git a/apps/remix-ide/src/assets/css/themes/bootstrap-flatly.min.css b/apps/remix-ide/src/assets/css/themes/bootstrap-flatly.min.css index 5940867b25..648375ddc8 100644 --- a/apps/remix-ide/src/assets/css/themes/bootstrap-flatly.min.css +++ b/apps/remix-ide/src/assets/css/themes/bootstrap-flatly.min.css @@ -4253,7 +4253,7 @@ a.close.disabled { bottom:0; border-width:.5rem .5rem 0; border-top-color:rgba(0,0,0,.25) } .bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after { - bottom:1px; border-width:.5rem .5rem 0; border-top-color:#fff + bottom:1px; border-width:.5rem .5rem 0; border-top-color: var(--secondary) } .bs-popover-auto[x-placement^=right],.bs-popover-right { margin-left:.5rem @@ -4265,7 +4265,7 @@ a.close.disabled { left:0; border-width:.5rem .5rem .5rem 0; border-right-color:rgba(0,0,0,.25) } .bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after { - left:1px; border-width:.5rem .5rem .5rem 0; border-right-color:#fff + left:1px; border-width:.5rem .5rem .5rem 0; border-right-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom],.bs-popover-bottom { margin-top:.5rem @@ -4277,7 +4277,7 @@ a.close.disabled { top:0; border-width:0 .5rem .5rem .5rem; border-bottom-color:rgba(0,0,0,.25) } .bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after { - top:1px; border-width:0 .5rem .5rem .5rem; border-bottom-color:#fff + top:1px; border-width:0 .5rem .5rem .5rem; border-bottom-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before { position:absolute; top:0; left:50%; display:block; width:1rem; margin-left:-.5rem; content:""; border-bottom:1px solid #f7f7f7 @@ -4292,7 +4292,7 @@ a.close.disabled { right:0; border-width:.5rem 0 .5rem .5rem; border-left-color:rgba(0,0,0,.25) } .bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after { - right:1px; border-width:.5rem 0 .5rem .5rem; border-left-color:#fff + right:1px; border-width:.5rem 0 .5rem .5rem; border-left-color: var(--secondary) } .popover-header { padding:.5rem .75rem; margin-bottom:0; font-size:.9375rem; background-color:#f7f7f7; border-bottom:1px solid #ebebeb; border-top-left-radius:calc(.3rem - 1px); border-top-right-radius:calc(.3rem - 1px) diff --git a/apps/remix-ide/src/assets/css/themes/bootstrap-spacelab.min.css b/apps/remix-ide/src/assets/css/themes/bootstrap-spacelab.min.css index b8e90b0107..4c792a1245 100644 --- a/apps/remix-ide/src/assets/css/themes/bootstrap-spacelab.min.css +++ b/apps/remix-ide/src/assets/css/themes/bootstrap-spacelab.min.css @@ -5253,7 +5253,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=top]>.arrow::after,.bs-popover-top>.arrow::after { bottom:1px; border-width:.5rem .5rem 0; - border-top-color:#fff + border-top-color: var(--secondary) } .bs-popover-auto[x-placement^=right],.bs-popover-right { margin-left:.5rem @@ -5272,7 +5272,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=right]>.arrow::after,.bs-popover-right>.arrow::after { left:1px; border-width:.5rem .5rem .5rem 0; - border-right-color:#fff + border-right-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom],.bs-popover-bottom { margin-top:.5rem @@ -5288,7 +5288,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=bottom]>.arrow::after,.bs-popover-bottom>.arrow::after { top:1px; border-width:0 .5rem .5rem .5rem; - border-bottom-color:#fff + border-bottom-color: var(--secondary) } .bs-popover-auto[x-placement^=bottom] .popover-header::before,.bs-popover-bottom .popover-header::before { position:absolute; @@ -5317,7 +5317,7 @@ a.close.disabled { .bs-popover-auto[x-placement^=left]>.arrow::after,.bs-popover-left>.arrow::after { right:1px; border-width:.5rem 0 .5rem .5rem; - border-left-color:#fff + border-left-color: var(--secondary) } .popover-header { padding:.5rem .75rem; @@ -5486,7 +5486,6 @@ a.close.disabled { .carousel-indicators li { transition:none } - } .carousel-indicators .active { opacity:1 diff --git a/apps/remix-ide/src/assets/css/themes/remix-black_undtds.css b/apps/remix-ide/src/assets/css/themes/remix-black_undtds.css index 36381f4163..61dbb692ce 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-black_undtds.css +++ b/apps/remix-ide/src/assets/css/themes/remix-black_undtds.css @@ -5310,7 +5310,7 @@ a.close.disabled { .bs-popover-top > .arrow::after { bottom: 1px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: var(--secondary); } .bs-popover-auto[x-placement^="right"], .bs-popover-right { @@ -5333,7 +5333,7 @@ a.close.disabled { .bs-popover-right > .arrow::after { left: 1px; border-width: 5px 5px 5px 0; - border-right-color: #000; + border-right-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"], .bs-popover-bottom { @@ -5353,7 +5353,7 @@ a.close.disabled { .bs-popover-bottom > .arrow::after { top: 1px; border-width: 0 5px 5px 5px; - border-bottom-color: #000; + border-bottom-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"] .popover-header::before, .bs-popover-bottom .popover-header::before { @@ -5387,7 +5387,7 @@ a.close.disabled { .bs-popover-left > .arrow::after { right: 1px; border-width: 5px 0 5px 5px; - border-left-color: #000; + border-left-color: var(--secondary); } .popover-header { padding: 8px 14px; diff --git a/apps/remix-ide/src/assets/css/themes/remix-candy_ikhg4m.css b/apps/remix-ide/src/assets/css/themes/remix-candy_ikhg4m.css index 14764f2994..fd25e0642d 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-candy_ikhg4m.css +++ b/apps/remix-ide/src/assets/css/themes/remix-candy_ikhg4m.css @@ -5773,7 +5773,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="top"] > .arrow::after { bottom: 1px; border-width: 0.5rem 0.5rem 0; - border-top-color: #fff; + border-top-color: var(--secondary); } .bs-popover-right, @@ -5797,7 +5797,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="right"] > .arrow::after { left: 1px; border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: #fff; + border-right-color: var(--secondary); } .bs-popover-bottom, @@ -5818,7 +5818,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="bottom"] > .arrow::after { top: 1px; border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: #fff; + border-bottom-color: var(--secondary); } .bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { @@ -5853,7 +5853,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="left"] > .arrow::after { right: 1px; border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: #fff; + border-left-color: var(--secondary); } .popover-header { diff --git a/apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css b/apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css index a38163a92c..c53a7e7ac3 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css +++ b/apps/remix-ide/src/assets/css/themes/remix-dark_tvx1s2.css @@ -5312,7 +5312,7 @@ a.close.disabled { .bs-popover-top > .arrow::after { bottom: 1px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: var(--secondary); } .bs-popover-auto[x-placement^="right"], .bs-popover-right { @@ -5335,7 +5335,7 @@ a.close.disabled { .bs-popover-right > .arrow::after { left: 1px; border-width: 5px 5px 5px 0; - border-right-color: #000; + border-right-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"], .bs-popover-bottom { @@ -5355,7 +5355,7 @@ a.close.disabled { .bs-popover-bottom > .arrow::after { top: 1px; border-width: 0 5px 5px 5px; - border-bottom-color: #000; + border-bottom-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"] .popover-header::before, .bs-popover-bottom .popover-header::before { @@ -5389,7 +5389,7 @@ a.close.disabled { .bs-popover-left > .arrow::after { right: 1px; border-width: 5px 0 5px 5px; - border-left-color: #000; + border-left-color: var(--secondary); } .popover-header { padding: 8px 14px; diff --git a/apps/remix-ide/src/assets/css/themes/remix-hacker_owl.css b/apps/remix-ide/src/assets/css/themes/remix-hacker_owl.css index 3db8d66dec..58f3aa64fc 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-hacker_owl.css +++ b/apps/remix-ide/src/assets/css/themes/remix-hacker_owl.css @@ -5323,7 +5323,7 @@ a.close.disabled { .bs-popover-top > .arrow::after { bottom: 1px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: var(--secondary); } .bs-popover-auto[x-placement^="right"], .bs-popover-right { @@ -5346,7 +5346,7 @@ a.close.disabled { .bs-popover-right > .arrow::after { left: 1px; border-width: 5px 5px 5px 0; - border-right-color: #000; + border-right-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"], .bs-popover-bottom { @@ -5366,7 +5366,7 @@ a.close.disabled { .bs-popover-bottom > .arrow::after { top: 1px; border-width: 0 5px 5px 5px; - border-bottom-color: #000; + border-bottom-color: var(--secondary); } .bs-popover-auto[x-placement^="bottom"] .popover-header::before, .bs-popover-bottom .popover-header::before { @@ -5400,7 +5400,7 @@ a.close.disabled { .bs-popover-left > .arrow::after { right: 1px; border-width: 5px 0 5px 5px; - border-left-color: #000; + border-left-color: var(--secondary); } .popover-header { padding: 8px 14px; diff --git a/apps/remix-ide/src/assets/css/themes/remix-light_powaqg.css b/apps/remix-ide/src/assets/css/themes/remix-light_powaqg.css index 66b438c4d6..800b7dc5a8 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-light_powaqg.css +++ b/apps/remix-ide/src/assets/css/themes/remix-light_powaqg.css @@ -5769,7 +5769,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="top"] > .arrow::after { bottom: 1px; border-width: 0.5rem 0.5rem 0; - border-top-color: #fff; + border-top-color: var(--secondary); } .bs-popover-right, @@ -5793,7 +5793,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="right"] > .arrow::after { left: 1px; border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: #fff; + border-right-color: var(--secondary); } .bs-popover-bottom, @@ -5814,7 +5814,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="bottom"] > .arrow::after { top: 1px; border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: #fff; + border-bottom-color: var(--secondary); } .bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { @@ -5849,7 +5849,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="left"] > .arrow::after { right: 1px; border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: #fff; + border-left-color: var(--secondary); } .popover-header { diff --git a/apps/remix-ide/src/assets/css/themes/remix-midcentury_hrzph3.css b/apps/remix-ide/src/assets/css/themes/remix-midcentury_hrzph3.css index c2501b8496..de6be478db 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-midcentury_hrzph3.css +++ b/apps/remix-ide/src/assets/css/themes/remix-midcentury_hrzph3.css @@ -5775,7 +5775,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="top"] > .arrow::after { bottom: 1px; border-width: 0.5rem 0.5rem 0; - border-top-color: #eeede9; + border-top-color: var(--secondary); } .bs-popover-right, @@ -5799,7 +5799,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="right"] > .arrow::after { left: 1px; border-width: 0.5rem 0.5rem 0.5rem 0; - border-right-color: #eeede9; + border-right-color: var(--secondary); } .bs-popover-bottom, @@ -5820,7 +5820,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="bottom"] > .arrow::after { top: 1px; border-width: 0 0.5rem 0.5rem 0.5rem; - border-bottom-color: #eeede9; + border-bottom-color: var(--secondary); } .bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before { @@ -5855,7 +5855,7 @@ a.close.disabled { .bs-popover-auto[x-placement^="left"] > .arrow::after { right: 1px; border-width: 0.5rem 0 0.5rem 0.5rem; - border-left-color: #eeede9; + border-left-color: var(--secondary); } .popover-header { @@ -6141,7 +6141,7 @@ button.bg-primary:focus { } .bg-secondary { - background-color: #EDC2A1 !important; + background-color: #f1f1f100 !important; } a.bg-secondary:hover, diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index 81e3624a00..1dc5f4bbfd 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -384,20 +384,31 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
- } - placement="top-start" - > - {customJSX} - + } + placement="top-start" + > + {customJSX} +
{ state.isLocalNodeUsed &&
- { - setState(prevState => { - return { ...prevState, opt: { ...prevState.opt, debugWithLocalNode: checked } } - }) - }} type="checkbox" title="Force the debugger to use the current local node" /> + + { + setState(prevState => { + return { ...prevState, opt: { ...prevState.opt, debugWithLocalNode: checked } } + }) + }} + type="checkbox" + /> +
} diff --git a/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx index 1f09b43f62..447edcf6dc 100644 --- a/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx +++ b/libs/remix-ui/helper/src/lib/components/custom-tooltip.tsx @@ -2,13 +2,12 @@ import React from 'react'; import { Fragment } from 'react'; import { OverlayTrigger, Popover } from 'react-bootstrap'; import { CustomTooltipType } from '../../types/customtooltip' - - +import './custom-tooltip.css' export function CustomTooltip({ children, placement, tooltipId, tooltipClasses, tooltipText, tooltipTextClasses, delay }: CustomTooltipType) { if (typeof tooltipText !== 'string') { const newTooltipText = React.cloneElement(tooltipText, { - className: " bg-secondary text-wrap p-1 " + className: " bg-secondary text-wrap p-1 px-2 " }) tooltipText = newTooltipText } @@ -19,12 +18,13 @@ export function CustomTooltip({ children, placement, tooltipId, tooltipClasses, placement={placement} overlay={ - - {typeof tooltipText === 'string' ? ({tooltipText}) : (tooltipText)} + + {typeof tooltipText === 'string' ? ({tooltipText}) : (tooltipText)} } delay={delay} + show={true} > {children} diff --git a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx index 1b6bb08092..426c84bf2f 100644 --- a/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/pluginButton.tsx @@ -32,7 +32,7 @@ function PluginButton ({ imgPath, envID, envText, callback, l2, description, rem { remixMaintained && diff --git a/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx b/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx index 66330349b0..bb02249b82 100644 --- a/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx +++ b/libs/remix-ui/modal-dialog/src/lib/remix-ui-modal-dialog.tsx @@ -87,7 +87,7 @@ export const ModalDialog = (props: ModalDialogProps) => { {!props.showCancelIcon && handleHide()}> - + }
diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx index ece0798719..066d664f27 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-header.tsx @@ -72,7 +72,14 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => { {plugin?.profile?.documentation && - + + + } {plugin?.profile?.description && diff --git a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx index 47e35a55db..b5c31302c2 100644 --- a/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx +++ b/libs/remix-ui/plugin-manager/src/lib/components/ActivePluginCard.tsx @@ -1,6 +1,7 @@ // eslint-disable-next-line @typescript-eslint/no-unused-vars, no-use-before-define import React from 'react' import '../remix-ui-plugin-manager.css' +import { CustomTooltip } from '@remix-ui/helper' interface PluginCardProps { profile: any buttonText: string @@ -14,35 +15,72 @@ function ActivePluginCard ({ }: PluginCardProps) { return (
-
+
{ profile.displayName || profile.name } { profile?.maintainedBy?.toLowerCase() == "remix" && - + + + } { profile.documentation && - -