File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ templ APIDocContent() {
77 The <a href =" /getting-started" >pkgstats CLI</a > uses this API to search and compare packages from the terminal.
88 Please be considerate with request rates to keep the service available for everyone.
99 </p >
10- <swagger-ui-wrapper ></swagger-ui-wrapper >
10+ <swagger-ui ></swagger-ui >
1111}
Original file line number Diff line number Diff line change 1- swagger-ui-wrapper {
1+ swagger-ui {
22 display : block ;
33 min-height : 300px ;
44}
Original file line number Diff line number Diff line change 1- class SwaggerUIWrapper extends HTMLElement {
1+ class SwaggerUIElement extends HTMLElement {
22 connectedCallback ( ) {
33 this . renderSwagger ( ) ;
44 }
@@ -45,4 +45,4 @@ class SwaggerUIWrapper extends HTMLElement {
4545 }
4646}
4747
48- customElements . define ( "swagger-ui-wrapper " , SwaggerUIWrapper ) ;
48+ customElements . define ( "swagger-ui" , SwaggerUIElement ) ;
Original file line number Diff line number Diff line change 77@import " overrides" ;
88@import " fun" ;
99@import " components/popularity-chart" ;
10- @import " components/swagger-ui-wrapper " ;
10+ @import " components/swagger-ui" ;
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ import "./main.scss";
22import "bootstrap/js/src/collapse.js" ;
33import "./components/popularity-chart.ts" ;
44import "./components/country-map.ts" ;
5- import "./components/swagger-ui-wrapper .ts" ;
5+ import "./components/swagger-ui.ts" ;
66import "./compare-packages-redirect" ;
You can’t perform that action at this time.
0 commit comments