11import { html , svg , TemplateResult } from '@nutmeg/seed' ;
2- import { repeat } from 'lit-html/lib /repeat' ;
2+ import { repeat } from 'lit-html/directives /repeat' ;
33import { NodePackage } from './node-package' ;
44import { InstallCommand , InstallSource , Pkg } from './pkg' ;
55
@@ -63,8 +63,8 @@ export class SuccessView {
6363 private installTab ( command : InstallCommand ) : TemplateResult {
6464 const classes = `item tab ${ this . selectedInstallCommand === command . id ? 'selected' : '' } ` ;
6565 return html `
66- <a class$ ="${ classes } " href="#" on- click=${ ( event : MouseEvent ) => this . selectInstallCommand ( event , command ) } >
67- <label for$ ="${ command . id } ">
66+ <a class="${ classes } " href="#" @ click=${ ( event : MouseEvent ) => this . selectInstallCommand ( event , command ) } >
67+ <label for="${ command . id } ">
6868 ${ command . id }
6969 </label>
7070 </a>
@@ -73,7 +73,7 @@ export class SuccessView {
7373
7474 private installCommand ( command : InstallCommand ) : TemplateResult {
7575 return html `
76- <input id="${ command . id } " class$ ="command fixed-width ellipsis item ${ this . selectedInstallCommand !== command . id ? 'hidden' : '' } " readonly value$ ="${ command . command } ">
76+ <input id="${ command . id } " class="command fixed-width ellipsis item ${ this . selectedInstallCommand !== command . id ? 'hidden' : '' } " readonly value="${ command . command } ">
7777 ` ;
7878 }
7979
@@ -86,7 +86,7 @@ export class SuccessView {
8686 <div id="commands" class="row-horizontal">
8787 ${ repeat ( this . pkg . installCommands ( this . component . global ) , command => command . id , ( command , _index ) => this . installCommand ( command ) ) }
8888 <div class="item">
89- <a id="copy" href="#" title="Copy command" on- click=${ ( event : MouseEvent ) => this . copyInstallCommand ( event ) } >${ this . copy } </a>
89+ <a id="copy" href="#" title="Copy command" @ click=${ ( event : MouseEvent ) => this . copyInstallCommand ( event ) } >${ this . copy } </a>
9090 </div>
9191 </div>
9292 </div>
0 commit comments