Skip to content

Commit

Permalink
fix(wc): address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipata committed Mar 17, 2022
1 parent 526da0c commit e1f804d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import { customElement } from 'lit/decorators.js';
import {
defineComponents,
IgcChipComponent,
registerIconFromText
registerIconFromText,
} from 'igniteui-webcomponents';

defineComponents(IgcChipComponent);

registerIconFromText(
'select',
'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>'
'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>',
);

registerIconFromText(
'cancel',
'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>'
'<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>',
);

@customElement('app-$(path)')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';
import {
defineComponents,
IgcCircularProgressComponent
IgcCircularProgressComponent,
} from 'igniteui-webcomponents';

defineComponents(IgcCircularProgressComponent);
Expand All @@ -21,13 +21,13 @@ export default class $(ClassName) extends LitElement {
<igc-circular-progress
style="--diameter: 96px; --stroke-thickness: 12px;"
value="92"
animation-duration="500"></igc-circular-progress>
animation-duration="500">
</igc-circular-progress>
<igc-circular-progress
style="--diameter: 96px; --stroke-thickness: 12px;"
value="92"
animation-duration="1500"
variant="success"
>
variant="success">
</igc-circular-progress>
</div>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';
import {
defineComponents,
IgcLinearProgressComponent
IgcLinearProgressComponent,
} from 'igniteui-webcomponents';

defineComponents(IgcLinearProgressComponent);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';
import {
defineComponents,
IgcRatingComponent
IgcRatingComponent,
} from 'igniteui-webcomponents';

defineComponents(IgcRatingComponent);
Expand All @@ -11,7 +11,7 @@ defineComponents(IgcRatingComponent);
export default class $(ClassName) extends LitElement {
render() {
return html`
<igc-rating></igc-rating>
<igc-rating></igc-rating>
`;
}
}

0 comments on commit e1f804d

Please sign in to comment.