File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @interledger/docs-design-system" ,
3- "version" : " 0.6.2 " ,
3+ "version" : " 0.7.0 " ,
44 "type" : " module" ,
55 "description" : " Shared styles and components used across all Interledger Starlight documentation sites" ,
66 "exports" : {
Original file line number Diff line number Diff line change @@ -61,7 +61,9 @@ span::after {
6161 const blob = new Blob([as_text], { type: 'image/svg+xml' })
6262 const url = URL.createObjectURL(blob)
6363 const win = open(url)
64- win.onload = (evt) => URL.revokeObjectURL(url)
64+ if (win) {
65+ win.onload = (evt) => URL.revokeObjectURL(url);
66+ }
6567 }
6668
6769 const buttons = document.querySelectorAll('[data-mermaid-button]');
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ tooltips.forEach((tooltip) => {
9494 });
9595});
9696
97- const buttons = document.querySelectorAll('[data-tooltip-button]');
97+ const buttons = document.querySelectorAll<HTMLInputElement> ('[data-tooltip-button]');
9898buttons.forEach((button) => {
9999 button.addEventListener('click', function() {
100100 if (this.getAttribute('aria-expanded') === 'true') {
@@ -118,7 +118,7 @@ buttons.forEach((button) => {
118118 });
119119
120120 button.addEventListener('keydown', function(e) {
121- if ((e.keyCode || e.which) === 27 ) {
121+ if (e.key === "Escape" ) {
122122 this.setAttribute('aria-expanded', 'false');
123123 }
124124 });
Original file line number Diff line number Diff line change @@ -510,7 +510,7 @@ input:not([type="submit"]):not([type="file"]):focus {
510510}
511511
512512@media screen and (min-width : 80rem ) {
513- .expressive-code {
513+ .main-pane : not (. full-view ) . expressive-code {
514514 max-width : 48rem ;
515515 }
516516}
You can’t perform that action at this time.
0 commit comments