@mxenabled/connect-widget 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +38 -28
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -67415,7 +67415,7 @@ function withProtection(SensitiveComponent) {
|
|
|
67415
67415
|
}
|
|
67416
67416
|
|
|
67417
67417
|
const ProtectedTextField = withProtection(X0);
|
|
67418
|
-
|
|
67418
|
+
withProtection(Radio);
|
|
67419
67419
|
const ProtectedSelect = withProtection(Select);
|
|
67420
67420
|
const ProtectedSelectionBox = withProtection(q0);
|
|
67421
67421
|
withProtection(UserFeedback);
|
|
@@ -84178,33 +84178,43 @@ const DeleteMemberSurvey = (props) => {
|
|
|
84178
84178
|
) })
|
|
84179
84179
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(React__default.Fragment, { children: [
|
|
84180
84180
|
/* @__PURE__ */ jsxRuntimeExports.jsx(D, { sx: { marginBottom: 4 }, truncate: false, variant: "H2", children: __("Disconnect institution") }),
|
|
84181
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
84182
|
-
|
|
84183
|
-
|
|
84184
|
-
|
|
84185
|
-
|
|
84186
|
-
|
|
84187
|
-
|
|
84188
|
-
|
|
84189
|
-
|
|
84190
|
-
|
|
84191
|
-
|
|
84192
|
-
|
|
84193
|
-
|
|
84194
|
-
|
|
84195
|
-
|
|
84196
|
-
|
|
84197
|
-
|
|
84198
|
-
|
|
84199
|
-
|
|
84200
|
-
|
|
84201
|
-
|
|
84202
|
-
|
|
84203
|
-
|
|
84204
|
-
|
|
84205
|
-
|
|
84206
|
-
|
|
84207
|
-
|
|
84181
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(FormControl$1, { children: [
|
|
84182
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FormLabel$1, { id: "disconnect-options-label", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
84183
|
+
D,
|
|
84184
|
+
{
|
|
84185
|
+
component: "p",
|
|
84186
|
+
"data-test": "disconnect-disclaimer",
|
|
84187
|
+
truncate: false,
|
|
84188
|
+
variant: "Paragraph",
|
|
84189
|
+
children: [
|
|
84190
|
+
_p(
|
|
84191
|
+
"connect/deletesurvey/disclaimer/text",
|
|
84192
|
+
"Why do you want to disconnect %1?",
|
|
84193
|
+
member.name
|
|
84194
|
+
),
|
|
84195
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#E32727", fontSize: 15 }, children: "*" })
|
|
84196
|
+
]
|
|
84197
|
+
}
|
|
84198
|
+
) }),
|
|
84199
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.reasons, children: reasonList.map((reason, i) => /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
84200
|
+
q0,
|
|
84201
|
+
{
|
|
84202
|
+
autoFocus: i === 0,
|
|
84203
|
+
"data-test": `selection-${reason.replace(/\s+/g, "-")}`,
|
|
84204
|
+
"data-testid": "disconnect-option",
|
|
84205
|
+
error: isSubmitted && !selectedReason,
|
|
84206
|
+
inputProps: {
|
|
84207
|
+
"aria-labelledby": "disconnect-options-label"
|
|
84208
|
+
},
|
|
84209
|
+
message: reason,
|
|
84210
|
+
name: "selected-reason",
|
|
84211
|
+
onChange: (e) => setSelectedReason(e.target.value),
|
|
84212
|
+
selected: selectedReason === reason,
|
|
84213
|
+
value: reason
|
|
84214
|
+
}
|
|
84215
|
+
) }, reason)) })
|
|
84216
|
+
] }),
|
|
84217
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { style: { color: "#666", fontSize: 13, marginBottom: 12, marginTop: 4 }, children: [
|
|
84208
84218
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#E32727", fontSize: 13 }, children: "*" }),
|
|
84209
84219
|
" ",
|
|
84210
84220
|
__("Required")
|