@myinterview/widget-react 1.1.55-development-08dc601 → 1.1.56-development-895ff69

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/cjs/index.js CHANGED
@@ -35475,7 +35475,7 @@ const configGenerator = () => {
35475
35475
  let release;
35476
35476
  try {
35477
35477
  environment !== null && environment !== void 0 ? environment : (environment = "staging");
35478
- release !== null && release !== void 0 ? release : (release = "1.1.55");
35478
+ release !== null && release !== void 0 ? release : (release = "1.1.56");
35479
35479
  }
35480
35480
  catch (_a) {
35481
35481
  console.error('sentry configGenerator error');
@@ -55598,6 +55598,7 @@ const useAccessibility = () => {
55598
55598
  React.useEffect(() => {
55599
55599
  if (sitekey) {
55600
55600
  const position = window.innerWidth <= 800 ? 'Right' : 'Left';
55601
+ 'interdeal' in window && delete window.interdeal;
55601
55602
  // @ts-ignore
55602
55603
  window.interdeal = {
55603
55604
  sitekey,
@@ -55634,8 +55635,8 @@ const useAccessibility = () => {
55634
55635
  var _a;
55635
55636
  (_a = scriptEl.current) === null || _a === void 0 ? void 0 : _a.remove();
55636
55637
  scriptEl.current = null;
55637
- document.querySelectorAll('[id^="IND"]').forEach((el) => el.remove());
55638
- 'interdeal' in window && delete window.interdeal;
55638
+ // document.querySelectorAll('[id^="IND"]').forEach((el) => el.remove());
55639
+ // 'interdeal' in window && delete window.interdeal;
55639
55640
  };
55640
55641
  }, [sitekey]);
55641
55642
  const shutdown = () => setSitekey('');
@@ -55650,7 +55651,7 @@ const FOCUSABLE_SELECTORS = Object.freeze([
55650
55651
  'a[href]', 'button:not([disabled]):not([tabindex="-1"])', 'textarea', 'input', 'select', '[tabindex]:not([tabindex="-1"])',
55651
55652
  ]);
55652
55653
  const Widget = React.forwardRef(({ candidate, job, video, config, disabled = false, buttonText = 'START INTERVIEW', buttonStyle = {}, children, styleUrls = [], fontsUrls = [], }, clientRef) => {
55653
- const widget_version = "1.1.55";
55654
+ const widget_version = "1.1.56";
55654
55655
  const [isWidgetOpen, setIsWidgetOpen] = React.useState(false);
55655
55656
  const [isWidgetMinimized, setIsWidgetMinimized] = React.useState(false);
55656
55657
  const [isIncognitoMode, setIsIncognitoMode] = React.useState(false);