diff --git a/package-lock.json b/package-lock.json
index 23aa82ad55..b7b38ad540 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,6 @@
"@emotion/styled": "^11.14.1",
"@kyper/hooks": "^1.0.0",
"@kyper/icon": "^1.18.1",
- "@kyper/messagebox": "^3.1.0",
"@kyper/progressindicators": "^3.1.0",
"@kyper/tag": "^3.0.0",
"@kyper/tokenprovider": "^4.0.1",
@@ -521,10 +520,11 @@
}
},
"node_modules/@commitlint/load/node_modules/cosmiconfig": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz",
- "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==",
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz",
+ "integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==",
"dev": true,
+ "license": "MIT",
"optional": true,
"dependencies": {
"env-paths": "^2.2.1",
@@ -865,7 +865,6 @@
"cpu": [
"ppc64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -882,7 +881,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -899,7 +897,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -916,7 +913,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -933,7 +929,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"optional": true,
"os": [
"darwin"
@@ -949,7 +944,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -966,7 +960,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -983,7 +976,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1000,7 +992,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1017,7 +1008,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1034,7 +1024,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1051,7 +1040,6 @@
"cpu": [
"loong64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1068,7 +1056,6 @@
"cpu": [
"mips64el"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1085,7 +1072,6 @@
"cpu": [
"ppc64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1102,7 +1088,6 @@
"cpu": [
"riscv64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1119,7 +1104,6 @@
"cpu": [
"s390x"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1136,7 +1120,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1153,7 +1136,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1170,7 +1152,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1187,7 +1168,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1204,7 +1184,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1221,7 +1200,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1238,7 +1216,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1255,7 +1232,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1272,7 +1248,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1289,7 +1264,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -1627,19 +1601,6 @@
"@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@kyper/button": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@kyper/button/-/button-4.0.0.tgz",
- "integrity": "sha512-ZGMGW+vpUw6Rt4BZApK5tiaPFn/r5u7LpWomumEKPTrnx/DT10Rqf8wBta/tRs/m9sCUls7uJkAeOIP1oGXvXA==",
- "peer": true,
- "peerDependencies": {
- "@kyper/tokenprovider": "^4.0.0",
- "@mxenabled/cssinjs": "^0.6.0",
- "prop-types": "^15.7.2",
- "react": "^16.14.0 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
- }
- },
"node_modules/@kyper/hooks": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@kyper/hooks/-/hooks-1.0.0.tgz",
@@ -1660,21 +1621,6 @@
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
}
},
- "node_modules/@kyper/messagebox": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@kyper/messagebox/-/messagebox-3.1.0.tgz",
- "integrity": "sha512-0yrRqL+iWAtVs/tcSXNZN3xA5noWUCuO9VWD14kFJHWVK96FlQppkAXFAMRgyLu+tMuCDD7DH8DPZyAMXlN7DQ==",
- "peerDependencies": {
- "@kyper/button": "^4.0.0",
- "@kyper/icon": "^1.7.0",
- "@kyper/text": "^3.0.0",
- "@kyper/tokenprovider": "^4.0.0",
- "@mxenabled/cssinjs": "^0.6.0",
- "prop-types": "^15.7.2",
- "react": "^16.14.0 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
- }
- },
"node_modules/@kyper/progressindicators": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@kyper/progressindicators/-/progressindicators-3.1.0.tgz",
@@ -3349,7 +3295,6 @@
"cpu": [
"arm"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3363,7 +3308,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3377,7 +3321,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3391,7 +3334,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3405,7 +3347,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3419,7 +3360,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3433,7 +3373,9 @@
"cpu": [
"arm"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3447,7 +3389,9 @@
"cpu": [
"arm"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3461,7 +3405,9 @@
"cpu": [
"arm64"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3475,7 +3421,9 @@
"cpu": [
"arm64"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3489,7 +3437,9 @@
"cpu": [
"loong64"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3503,7 +3453,9 @@
"cpu": [
"loong64"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3517,7 +3469,9 @@
"cpu": [
"ppc64"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3531,7 +3485,9 @@
"cpu": [
"ppc64"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3545,7 +3501,9 @@
"cpu": [
"riscv64"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3559,7 +3517,9 @@
"cpu": [
"riscv64"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3573,7 +3533,9 @@
"cpu": [
"s390x"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3587,7 +3549,9 @@
"cpu": [
"x64"
],
- "dev": true,
+ "libc": [
+ "glibc"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3601,7 +3565,9 @@
"cpu": [
"x64"
],
- "dev": true,
+ "libc": [
+ "musl"
+ ],
"license": "MIT",
"optional": true,
"os": [
@@ -3615,7 +3581,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3629,7 +3594,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3643,7 +3607,6 @@
"cpu": [
"arm64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3657,7 +3620,6 @@
"cpu": [
"ia32"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3671,7 +3633,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -3685,7 +3646,6 @@
"cpu": [
"x64"
],
- "dev": true,
"license": "MIT",
"optional": true,
"os": [
@@ -8391,7 +8351,6 @@
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
@@ -9965,7 +9924,6 @@
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
"integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",
- "dev": true,
"optional": true,
"bin": {
"jiti": "lib/jiti-cli.mjs"
@@ -17829,7 +17787,7 @@
"version": "2.8.3",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
- "dev": true,
+ "devOptional": true,
"license": "ISC",
"bin": {
"yaml": "bin.mjs"
diff --git a/package.json b/package.json
index 8ec254fe72..7a57b94f00 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,6 @@
"@emotion/styled": "^11.14.1",
"@kyper/hooks": "^1.0.0",
"@kyper/icon": "^1.18.1",
- "@kyper/messagebox": "^3.1.0",
"@kyper/progressindicators": "^3.1.0",
"@kyper/tag": "^3.0.0",
"@kyper/tokenprovider": "^4.0.1",
diff --git a/src/components/DeleteMemberSurvey.js b/src/components/DeleteMemberSurvey.js
index 8bc60982f2..bab528bd61 100644
--- a/src/components/DeleteMemberSurvey.js
+++ b/src/components/DeleteMemberSurvey.js
@@ -1,9 +1,9 @@
import React, { useState, useEffect, useRef } from 'react'
import PropTypes from 'prop-types'
import { Icon, Text } from '@mxenabled/mxui'
-import { MessageBox } from '@kyper/messagebox'
import { defer } from 'rxjs'
import FocusTrap from 'focus-trap-react'
+import Alert from '@mui/material/Alert'
import { Button, FormLabel, FormControl, Stack } from '@mui/material'
import { SelectionBox } from '@mxenabled/mxui'
@@ -109,13 +109,13 @@ export const DeleteMemberSurvey = (props) => {
>
{__('Something went wrong')}
-
+
{__(
"Oops! We weren't able to disconnect this institution. Please try again later.",
)}
-
+