From e5dfd9ad02ac0c8567af7eb432ce12816f26e9e8 Mon Sep 17 00:00:00 2001 From: benedettadavico Date: Mon, 15 Sep 2025 12:29:00 +0200 Subject: [PATCH] . --- sdk/typescript/packages/react-components/package.json | 6 ++++-- sdk/typescript/packages/react-components/src/index.ts | 5 ++++- yarn.lock | 8 ++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sdk/typescript/packages/react-components/package.json b/sdk/typescript/packages/react-components/package.json index fd6a641402..b18ebbb0a9 100644 --- a/sdk/typescript/packages/react-components/package.json +++ b/sdk/typescript/packages/react-components/package.json @@ -56,11 +56,11 @@ "@storybook/testing-library": "0.2.1", "@svgr/webpack": "^6.1.1", "@types/flat": "^5.0.2", + "@types/minimatch": "^5.1.2", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.10", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", - "@types/minimatch": "^3.0.5", "babel-loader": "^8.2.3", "babel-plugin-root-import": "^5.1.0", "eslint": "^8.10.0", @@ -80,7 +80,9 @@ "rimraf": "^3.0.2", "ts-jest": "^27.0.5", "tsconfig-paths-webpack-plugin": "^3.5.2", - "typescript": "^4.6.2" + "typescript": "^4.6.2", + "@nymproject/types": "1.0.0", + "@nymproject/mui-theme": "1.0.0" }, "scripts": { "clean": "rimraf dist", diff --git a/sdk/typescript/packages/react-components/src/index.ts b/sdk/typescript/packages/react-components/src/index.ts index e89c38a7a0..55e359567d 100644 --- a/sdk/typescript/packages/react-components/src/index.ts +++ b/sdk/typescript/packages/react-components/src/index.ts @@ -1 +1,4 @@ -// no-op +import '@nymproject/mui-theme'; + +export { CurrencyFormField } from './components/currency/CurrencyFormField'; +export { IdentityKeyFormField } from './components/mixnodes/IdentityKeyFormField'; diff --git a/yarn.lock b/yarn.lock index b17cffc474..b8aed130a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6250,10 +6250,10 @@ dependencies: minimatch "*" -"@types/minimatch@^3.0.5": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== +"@types/minimatch@^5.1.2": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== "@types/ms@*": version "2.1.0"