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 f512a127c8..de97d73757 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 @@ -1,4 +1,3 @@ -@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,600&display=swap'); :root { --blue: #007aa6; --indigo: #6610f2; diff --git a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx index e28d5a2962..99262d6049 100644 --- a/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx +++ b/libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx @@ -3,7 +3,7 @@ import {FormattedMessage, useIntl} from 'react-intl' import semver from 'semver' import {CompilerContainerProps} from './types' import {ConfigurationSettings} from '@remix-project/remix-lib' -import {checkSpecialChars, CustomTooltip, extractNameFromKey} from '@remix-ui/helper' +import {checkSpecialChars, CustomMenu, CustomToggle, CustomTooltip, extractNameFromKey} from '@remix-ui/helper' import {canUseWorker, baseURLBin, baseURLWasm, urlFromVersion, pathToURL} from '@remix-project/remix-solidity' import {compilerReducer, compilerInitialState} from './reducers/compiler' import {resetEditorMode, listenToEvents} from './actions/compiler' @@ -14,6 +14,7 @@ import axios, {AxiosResponse} from 'axios' import './css/style.css' import isElectron from 'is-electron' +import { Dropdown } from 'react-bootstrap' const defaultPath = 'compiler_config.json' declare global { @@ -765,6 +766,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => { + { }> showCompilerLicense()}> + + + {state.allversions.map((build, i) => { + + if ((state.selectedVersion || state.defaultVersion) === build.path) { + return ({build.longVersion}) + }})} + + + + + {state.allversions.map((build, i) => { + return _shouldBeAdded(build.longVersion) ? ( + + + + {build.longVersion} + + + + + ) : null + })} + + handleLoadVersion(e.target.value)}