resetFocus(true)}>
@@ -296,13 +260,13 @@ export function Workspace (props: WorkspaceProps) {
diff --git a/libs/remix-ui/workspace/src/lib/types/index.ts b/libs/remix-ui/workspace/src/lib/types/index.ts
index 8b1364e406..caca5a1856 100644
--- a/libs/remix-ui/workspace/src/lib/types/index.ts
+++ b/libs/remix-ui/workspace/src/lib/types/index.ts
@@ -40,12 +40,11 @@ export interface WorkspaceState {
}
export interface Modal {
- hide: boolean
+ hide?: boolean
title: string
message: string | JSX.Element
okLabel: string
okFn: () => void
cancelLabel: string
cancelFn: () => void
- handleHide: () => void
}
diff --git a/nx.json b/nx.json
index f7d1a98e4d..a5cae4682b 100644
--- a/nx.json
+++ b/nx.json
@@ -132,6 +132,9 @@
},
"remix-ui-editor": {
"tags": []
+ },
+ "remix-ui-helper": {
+ "tags": []
}
},
"targetDependencies": {
diff --git a/tsconfig.base.json b/tsconfig.base.json
index 8339f5d9e5..07d0225fe0 100644
--- a/tsconfig.base.json
+++ b/tsconfig.base.json
@@ -47,10 +47,11 @@
"@remix-project/core-plugin": ["libs/remix-core-plugin/src/index.ts"],
"@remix-ui/solidity-compiler": ["libs/remix-ui/solidity-compiler/src/index.ts"],
"@remix-ui/publish-to-storage": ["libs/remix-ui/publish-to-storage/src/index.ts"],
+ "@remix-ui/plugin-manager": ["libs/remix-ui/plugin-manager/src/index.ts"],
"@remix-ui/renderer": ["libs/remix-ui/renderer/src/index.ts"],
"@remix-ui/terminal": ["libs/remix-ui/terminal/src/index.ts"],
- "@remix-ui/plugin-manager": ["libs/remix-ui/plugin-manager/src/index.ts"],
- "@remix-ui/editor": ["libs/remix-ui/editor/src/index.ts"]
+ "@remix-ui/editor": ["libs/remix-ui/editor/src/index.ts"],
+ "@remix-ui/helper": ["libs/remix-ui/helper/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]
diff --git a/workspace.json b/workspace.json
index 4fbb8eb54c..890d74e2fc 100644
--- a/workspace.json
+++ b/workspace.json
@@ -1051,6 +1051,22 @@
}
}
}
+ },
+ "remix-ui-helper": {
+ "root": "libs/remix-ui/helper",
+ "sourceRoot": "libs/remix-ui/helper/src",
+ "projectType": "library",
+ "schematics": {},
+ "architect": {
+ "lint": {
+ "builder": "@nrwl/linter:lint",
+ "options": {
+ "linter": "eslint",
+ "tsConfig": ["libs/remix-ui/helper/tsconfig.lib.json"],
+ "exclude": ["**/node_modules/**", "!libs/remix-ui/helper/**/*"]
+ }
+ }
+ }
}
},
"cli": {