hof 20.3.6-timeout-beta → 20.3.7-timeout-beta
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.
| 
         @@ -308,7 +308,8 @@ aria.KeyCode = { 
     | 
|
| 
       308 
308 
     | 
    
         
             
                this.backdropNode.classList.remove('active');
         
     | 
| 
       309 
309 
     | 
    
         | 
| 
       310 
310 
     | 
    
         
             
                const focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;
         
     | 
| 
       311 
     | 
    
         
            -
                 
     | 
| 
      
 311 
     | 
    
         
            +
                // eslint-disable-next-line no-new
         
     | 
| 
      
 312 
     | 
    
         
            +
                new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);
         
     | 
| 
       312 
313 
     | 
    
         
             
              }; // end replace
         
     | 
| 
       313 
314 
     | 
    
         | 
| 
       314 
315 
     | 
    
         
             
              aria.Dialog.prototype.addListeners = function () {
         
     | 
| 
         @@ -336,7 +337,8 @@ aria.KeyCode = { 
     | 
|
| 
       336 
337 
     | 
    
         
             
              }; // end trapFocus
         
     | 
| 
       337 
338 
     | 
    
         | 
| 
       338 
339 
     | 
    
         
             
              window.openDialog = function (dialogId, focusAfterClosed, focusFirst) {
         
     | 
| 
       339 
     | 
    
         
            -
                 
     | 
| 
      
 340 
     | 
    
         
            +
                // eslint-disable-next-line no-new
         
     | 
| 
      
 341 
     | 
    
         
            +
                new aria.Dialog(dialogId, focusAfterClosed, focusFirst);
         
     | 
| 
       340 
342 
     | 
    
         
             
              };
         
     | 
| 
       341 
343 
     | 
    
         | 
| 
       342 
344 
     | 
    
         
             
              window.closeDialog = function (closeButton) {
         
     | 
    
        package/package.json
    CHANGED
    
    
| 
         @@ -264,6 +264,7 @@ aria.KeyCode = { 
     | 
|
| 
       264 
264 
     | 
    
         
             
                if (aria.OpenDialogList && aria.OpenDialogList.length) {
         
     | 
| 
       265 
265 
     | 
    
         
             
                  return aria.OpenDialogList[aria.OpenDialogList.length - 1];
         
     | 
| 
       266 
266 
     | 
    
         
             
                }
         
     | 
| 
      
 267 
     | 
    
         
            +
                return null;
         
     | 
| 
       267 
268 
     | 
    
         
             
              };
         
     | 
| 
       268 
269 
     | 
    
         | 
| 
       269 
270 
     | 
    
         
             
              aria.closeCurrentDialog = function () {
         
     | 
| 
         @@ -21634,7 +21635,6 @@ require('../../../frontend/themes/gov-uk/client-js'); 
     | 
|
| 
       21634 
21635 
     | 
    
         
             
            var $ = require('jquery');
         
     | 
| 
       21635 
21636 
     | 
    
         
             
            var typeahead = require('typeahead-aria');
         
     | 
| 
       21636 
21637 
     | 
    
         
             
            var Bloodhound = require('typeahead-aria').Bloodhound;
         
     | 
| 
       21637 
     | 
    
         
            -
            var timers = [];
         
     | 
| 
       21638 
21638 
     | 
    
         | 
| 
       21639 
21639 
     | 
    
         
             
            typeahead.loadjQueryPlugin();
         
     | 
| 
       21640 
21640 
     | 
    
         | 
| 
         @@ -21696,10 +21696,6 @@ $('.typeahead').each(function applyTypeahead() { 
     | 
|
| 
       21696 
21696 
     | 
    
         
             
                }),
         
     | 
| 
       21697 
21697 
     | 
    
         
             
                limit: 100
         
     | 
| 
       21698 
21698 
     | 
    
         
             
              });
         
     | 
| 
       21699 
     | 
    
         
            -
              $(function setTimeout() {
         
     | 
| 
       21700 
     | 
    
         
            -
                console.log('TEST');
         
     | 
| 
       21701 
     | 
    
         
            -
                $("#dialog_layer").show();
         
     | 
| 
       21702 
     | 
    
         
            -
              }, 10 * 1000);
         
     | 
| 
       21703 
21699 
     | 
    
         
             
            });
         
     | 
| 
       21704 
21700 
     | 
    
         | 
| 
       21705 
21701 
     | 
    
         
             
            },{"../../../frontend/themes/gov-uk/client-js":5,"jquery":19,"typeahead-aria":22}],19:[function(require,module,exports){
         
     |