@bigbinary/neeto-form-frontend 4.1.8 → 4.1.9

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.
@@ -26,7 +26,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
26
26
  import Check from '@bigbinary/neeto-icons/Check';
27
27
  import { jsx, jsxs } from 'react/jsx-runtime';
28
28
  import { C as CALLOUT_STYLES, b as CALLOUT_POSITIONS, L as LAST_ELEMENTS_THRESHOLD } from './constants-D0zli_cv.js';
29
- import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, f as generateFormResponse, h as clearLocalStorageValues } from './utils-C3nTbYUN.js';
29
+ import { c as clientI18nInstance, d as getWithExpiry, e as clearEmailVerificationDetails, g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, r as renderButtonsInOrder, m as mergeRefs, f as generateFormResponse, h as clearLocalStorageValues } from './utils-CdeIdZRi.js';
30
30
  import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
31
31
  import '@babel/runtime/helpers/toConsumableArray';
32
32
  import '@bigbinary/neeto-commons-frontend/constants';
@@ -10,7 +10,7 @@ import Button from '@bigbinary/neetoui/Button';
10
10
  import NoData from '@bigbinary/neetoui/NoData';
11
11
  import { map, mergeLeft, filter, pluck, isEmpty } from 'ramda';
12
12
  import { useTranslation } from 'react-i18next';
13
- import { g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs } from './utils-C3nTbYUN.js';
13
+ import { g as generateInitValues, F as FormikWrap, a as getFieldComponent, b as buildAutoCompleteAttribute, m as mergeRefs } from './utils-CdeIdZRi.js';
14
14
  import { b as usePublicForm } from './constants-51SEJjzI.js';
15
15
  import { parsePhoneNumber } from 'libphonenumber-js';
16
16
  import { Q as QUESTIONS_WITHOUT_FIELD_CODE, a as QUESTION_KIND } from './constants-D0zli_cv.js';
@@ -1763,15 +1763,18 @@ var VerifyEmails = function VerifyEmails() {
1763
1763
  var _mergeLeft = ramda.mergeLeft(hostSpecificTranslations, EMAIL_VERIFICATION_TRANSLATIONS),
1764
1764
  title = _mergeLeft.title,
1765
1765
  popoverDescription = _mergeLeft.popoverDescription;
1766
- return /*#__PURE__*/jsxRuntime.jsx(Switch, {
1767
- name: "isVerificationEnabled",
1768
- label: /*#__PURE__*/jsxRuntime.jsx(Typography, {
1769
- component: "span",
1770
- style: "body1",
1771
- children: /*#__PURE__*/jsxRuntime.jsx(TitleWithHelpPopover, {
1772
- helpLink: helpLink,
1773
- title: title,
1774
- description: popoverDescription
1766
+ return /*#__PURE__*/jsxRuntime.jsx("div", {
1767
+ "data-cy": "email-verification-switch-container",
1768
+ children: /*#__PURE__*/jsxRuntime.jsx(Switch, {
1769
+ name: "isVerificationEnabled",
1770
+ label: /*#__PURE__*/jsxRuntime.jsx(Typography, {
1771
+ component: "span",
1772
+ style: "body1",
1773
+ children: /*#__PURE__*/jsxRuntime.jsx(TitleWithHelpPopover, {
1774
+ helpLink: helpLink,
1775
+ title: title,
1776
+ description: popoverDescription
1777
+ })
1775
1778
  })
1776
1779
  })
1777
1780
  });