-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const a=""+new URL("user-placeholder-lantlR8O.png",import.meta.url).href,i={1:{title:"Robin Mercer",abbr:"RM",color:"var(--iui-color-background-sunglow)"},2:{title:"Terry Rivers",abbr:"TR",color:"var(--iui-color-background-skyblue)"}};class l extends HTMLElement{constructor(){super()}connectedCallback(){const t=i[this.getAttribute("type")||1],e=this.getAttribute("status"),r=this.getAttribute("size")||"medium",s=this.getAttribute("showPlaceholder"),o=` | ||
<span | ||
class="iui-avatar iui-${r}" | ||
title="${t.title}" | ||
style="background-color: ${t.color};" | ||
${e?"data-iui-status="+e:""} | ||
> | ||
${t.abbr} | ||
${s?`<img src=${a} alt="" />`:""} | ||
</span>`;this.insertAdjacentHTML("afterend",o),this.remove()}}customElements.define("x-avatar",l); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "iTwinUI", | ||
"description": "An open-source design system that helps us build a unified web experience.", | ||
"icons": [ | ||
{ "src": "pwa-icon-192.png", "type": "image/png", "sizes": "192x192" }, | ||
{ "src": "pwa-icon-512.png", "type": "image/png", "sizes": "512x512" } | ||
], | ||
"start_url": "/iTwinUI", | ||
"display": "minimal-ui" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.