import { html, svg } from 'lit'; import { styleMap } from 'lit/directives/style-map.js'; export const ArrowIcon = html` `; const baseStyle = { position: 'absolute', boxShadow: '1px -1px 4px 0px rgba(66, 65, 73, 0.18)', borderRadius: '2px', transition: 'width .2s, height .2s, top .2s, left .2s, transform .2s', }; const CardThree = (expanded: boolean) => html` ${svg` `} `; const CardTwo = (expanded: boolean) => html` ${svg` `} `; const CardOne = (expanded: boolean) => html` ${svg` `} `; export const ArrowDown = (expanded: boolean) => html` `; export function renderIcon(expandingStyle: boolean) { return html` ${CardOne(expandingStyle)} ${CardTwo(expandingStyle)} ${CardThree(expandingStyle)} ${ArrowDown(expandingStyle)} `; } export const defaultPreview = html` `;