(app-desk) create mailbox for a mail domain

Add form to create a mailbox for a mail domain. It sends a http
POST request mail-domains/<mail-domain-id>/mailboxes/ on form
submit. The form appears inside a modal.
Installs react-hook-form, zod, and @hookform/resolvers for form
manipulation and field validation.
This commit is contained in:
daproclaima
2024-05-24 22:53:49 +02:00
committed by Sebastien Nobour
parent 37d32888f5
commit 6981ef17df
9 changed files with 512 additions and 27 deletions

View File

@@ -16,6 +16,7 @@
},
"dependencies": {
"@gouvfr-lasuite/integration": "0.1.3",
"@hookform/resolvers": "3.4.2",
"@openfun/cunningham-react": "2.9.0",
"@tanstack/react-query": "5.36.0",
"i18next": "23.11.4",
@@ -25,12 +26,15 @@
"react": "*",
"react-aria-components": "1.2.0",
"react-dom": "*",
"react-hook-form": "7.51.5",
"react-i18next": "14.1.1",
"react-select": "5.8.0",
"styled-components": "6.1.11",
"zod": "3.23.8",
"zustand": "4.5.2"
},
"devDependencies": {
"@hookform/devtools": "4.3.1",
"@svgr/webpack": "8.1.0",
"@tanstack/react-query-devtools": "5.36.0",
"@testing-library/jest-dom": "6.4.5",