openapi-explorer 2.4.801 → 2.4.812
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.
|
@@ -491,6 +491,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
491
491
|
behavior: 'auto',
|
|
492
492
|
block: 'start'
|
|
493
493
|
});
|
|
494
|
+
gotoEl.focus();
|
|
494
495
|
replaceState(tmpElementId);
|
|
495
496
|
}
|
|
496
497
|
}, isExpandingNeeded ? 150 : 0);
|
|
@@ -532,6 +533,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
532
533
|
behavior: 'auto',
|
|
533
534
|
block: 'start'
|
|
534
535
|
});
|
|
536
|
+
gotoEl.focus();
|
|
535
537
|
}
|
|
536
538
|
}
|
|
537
539
|
}
|
|
@@ -668,6 +670,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
668
670
|
behavior: 'auto',
|
|
669
671
|
block: 'start'
|
|
670
672
|
});
|
|
673
|
+
contentEl.focus();
|
|
671
674
|
|
|
672
675
|
// Update Location Hash
|
|
673
676
|
replaceState(elementId);
|
|
@@ -677,6 +680,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
677
680
|
behavior: 'auto',
|
|
678
681
|
block: 'start'
|
|
679
682
|
});
|
|
683
|
+
contentEl.focus();
|
|
680
684
|
|
|
681
685
|
// Update Location Hash
|
|
682
686
|
replaceState(elementId);
|
|
@@ -686,7 +690,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
686
690
|
behavior: 'auto',
|
|
687
691
|
block: 'start'
|
|
688
692
|
});
|
|
689
|
-
|
|
693
|
+
this.shadowRoot.getElementById('operations-root').focus();
|
|
690
694
|
// Update Location Hash
|
|
691
695
|
replaceState(elementId);
|
|
692
696
|
newNavEl = this.shadowRoot.getElementById(`link-${elementId}`);
|
|
@@ -718,6 +722,7 @@ export default class OpenApiExplorer extends LitElement {
|
|
|
718
722
|
block: 'center'
|
|
719
723
|
}), 600);
|
|
720
724
|
}
|
|
725
|
+
newNavEl.focus();
|
|
721
726
|
}
|
|
722
727
|
await sleep(0);
|
|
723
728
|
const oldNavEl = this.shadowRoot.querySelector('.nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active');
|
|
@@ -497,6 +497,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
497
497
|
behavior: 'auto',
|
|
498
498
|
block: 'start'
|
|
499
499
|
});
|
|
500
|
+
gotoEl.focus();
|
|
500
501
|
(0, _commonUtils.replaceState)(tmpElementId);
|
|
501
502
|
}
|
|
502
503
|
}, isExpandingNeeded ? 150 : 0);
|
|
@@ -538,6 +539,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
538
539
|
behavior: 'auto',
|
|
539
540
|
block: 'start'
|
|
540
541
|
});
|
|
542
|
+
gotoEl.focus();
|
|
541
543
|
}
|
|
542
544
|
}
|
|
543
545
|
}
|
|
@@ -674,6 +676,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
674
676
|
behavior: 'auto',
|
|
675
677
|
block: 'start'
|
|
676
678
|
});
|
|
679
|
+
contentEl.focus();
|
|
677
680
|
|
|
678
681
|
// Update Location Hash
|
|
679
682
|
(0, _commonUtils.replaceState)(elementId);
|
|
@@ -683,6 +686,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
683
686
|
behavior: 'auto',
|
|
684
687
|
block: 'start'
|
|
685
688
|
});
|
|
689
|
+
contentEl.focus();
|
|
686
690
|
|
|
687
691
|
// Update Location Hash
|
|
688
692
|
(0, _commonUtils.replaceState)(elementId);
|
|
@@ -692,7 +696,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
692
696
|
behavior: 'auto',
|
|
693
697
|
block: 'start'
|
|
694
698
|
});
|
|
695
|
-
|
|
699
|
+
this.shadowRoot.getElementById('operations-root').focus();
|
|
696
700
|
// Update Location Hash
|
|
697
701
|
(0, _commonUtils.replaceState)(elementId);
|
|
698
702
|
newNavEl = this.shadowRoot.getElementById(`link-${elementId}`);
|
|
@@ -724,6 +728,7 @@ class OpenApiExplorer extends _lit.LitElement {
|
|
|
724
728
|
block: 'center'
|
|
725
729
|
}), 600);
|
|
726
730
|
}
|
|
731
|
+
newNavEl.focus();
|
|
727
732
|
}
|
|
728
733
|
await (0, _commonUtils.sleep)(0);
|
|
729
734
|
const oldNavEl = this.shadowRoot.querySelector('.nav-bar-tag.active, .nav-bar-path.active, .nav-bar-info.active, .nav-bar-h1.active, .nav-bar-h2.active');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-explorer",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.812",
|
|
4
4
|
"description": "OpenAPI Explorer - API viewer with dynamically generated components, documentation, and interaction console",
|
|
5
5
|
"author": "Authress Developers <developers@authress.io>",
|
|
6
6
|
"type": "module",
|