diff --git a/packages/ui/package.json b/packages/ui/package.json index fc3c294726..35a1e48b00 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -58,6 +58,7 @@ "@faker-js/faker": "8.0.2", "@geometricpanda/storybook-addon-badges": "2.0.0", "@hookform/devtools": "4.3.1", + "@hookform/error-message": "2.0.1", "@hookform/resolvers": "3.3.1", "@iconify-json/carbon": "1.1.21", "@iconify-json/fluent-mdl2": "1.1.3", @@ -176,6 +177,7 @@ "peerDependencies": { "@emotion/react": "^11", "@emotion/server": "^11", + "@hookform/error-message": "2.0.1", "@hookform/resolvers": "^3.2.0", "@iconify-json/carbon": "^1.1.20", "@iconify-json/simple-icons": "^1.1.67", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2422196641..36179e7469 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1391,6 +1391,9 @@ importers: '@hookform/devtools': specifier: 4.3.1 version: 4.3.1(@types/react@18.2.21)(react-dom@18.2.0)(react@18.2.0) + '@hookform/error-message': + specifier: 2.0.1 + version: 2.0.1(react-dom@18.2.0)(react-hook-form@7.46.1)(react@18.2.0) '@hookform/resolvers': specifier: 3.3.1 version: 3.3.1(react-hook-form@7.46.1) @@ -5037,6 +5040,18 @@ packages: - '@types/react' dev: true + /@hookform/error-message@2.0.1(react-dom@18.2.0)(react-hook-form@7.46.1)(react@18.2.0): + resolution: {integrity: sha512-U410sAr92xgxT1idlu9WWOVjndxLdgPUHEB8Schr27C9eh7/xUnITWpCMF93s+lGiG++D4JnbSnrb5A21AdSNg==} + peerDependencies: + react: ^18 || 18 + react-dom: ^18 || 18 + react-hook-form: ^7.0.0 + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + react-hook-form: 7.46.1(react@18.2.0) + dev: true + /@hookform/resolvers@3.3.1(react-hook-form@7.46.1): resolution: {integrity: sha512-K7KCKRKjymxIB90nHDQ7b9nli474ru99ZbqxiqDAWYsYhOsU3/4qLxW91y+1n04ic13ajjZ66L3aXbNef8PELQ==} peerDependencies: @@ -5616,7 +5631,7 @@ packages: dependencies: '@mantine/ssr': 6.0.20(@emotion/react@11.11.1)(@emotion/server@11.11.0)(react-dom@18.2.0)(react@18.2.0) '@mantine/styles': 6.0.20(@emotion/react@11.11.1)(react-dom@18.2.0)(react@18.2.0) - next: 13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.19(@babel/core@7.22.15)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: @@ -10317,7 +10332,7 @@ packages: '@trpc/client': 10.38.1(@trpc/server@10.38.1) '@trpc/react-query': 10.38.1(@tanstack/react-query@4.33.0)(@trpc/client@10.38.1)(@trpc/server@10.38.1)(react-dom@18.2.0)(react@18.2.0) '@trpc/server': 10.38.1 - next: 13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.19(@babel/core@7.22.15)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-ssr-prepass: 1.5.0(react@18.2.0) @@ -19857,7 +19872,7 @@ packages: '@panva/hkdf': 1.1.1 cookie: 0.5.0 jose: 4.14.4 - next: 13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.19(@babel/core@7.22.15)(react-dom@18.2.0)(react@18.2.0) oauth: 0.9.15 openid-client: 5.4.3 preact: 10.17.0 @@ -19881,7 +19896,7 @@ packages: hoist-non-react-statics: 3.3.2 i18next: 23.4.9 i18next-fs-backend: 2.1.5 - next: 13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.19(@babel/core@7.22.15)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-i18next: 13.2.2(i18next@23.4.9)(react-dom@18.2.0)(react@18.2.0) @@ -19935,7 +19950,6 @@ packages: transitivePeerDependencies: - '@babel/core' - babel-plugin-macros - dev: true /next@13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-HuPSzzAbJ1T4BD8e0bs6B9C1kWQ6gv8ykZoRWs5AQoiIuqbGHHdQO7Ljuvg05Q0Z24E2ABozHe6FxDvI6HfyAw==} @@ -19984,7 +19998,7 @@ packages: next: '*' dependencies: chokidar: 3.5.3 - next: 13.4.19(@opentelemetry/api@1.4.1)(react-dom@18.2.0)(react@18.2.0) + next: 13.4.19(@babel/core@7.22.15)(react-dom@18.2.0)(react@18.2.0) dev: false /nice-try@1.0.5: