UNPKG

@authduo/authduo

Version:

Free User-sovereign Authentication for the World

24 lines 769 B
import { html, shadowView, svgSlate } from "@benev/slate"; import stylesCss from "./styles.css.js"; import { whence } from "../../../../tools/whence.js"; import themeCss from "../../../../common/theme.css.js"; import userIcon from "../../../../common/icons/tabler/user.icon.js"; export const Breakdown = shadowView(use => (passports) => { use.name("breakdown"); use.styles([themeCss, stylesCss]); return html ` <ul part="ul"> ${passports.map(passport => html ` <li> ${svgSlate(userIcon)} <span class=name>${passport.name}</span> <span class=details> <small>${whence(passport.created)}</small> <small>${passport.thumbprint.slice(0, 8)}</small> </span> </li> `)} </ul> `; }); //# sourceMappingURL=view.js.map