export class DisclosureElement extends HTMLElement {
static styles = new CSSStyleSheet();
static disclosureButtonStyles = new CSSStyleSheet();
static {
this.styles.replaceSync(`
:host { display: block; }
:host::part(contents) { display: block; }
`);
this.disclosureButtonStyles.replaceSync(`
button {
appearance: none;
background: none;
border: 0;
font: inherit;
text-align: start;
padding: 0;
display: inline-block
user-select: text;
cursor: text;
overflow: visible;
/* We need to do this instead of display: list-item + ::marker because Blink and WebKit have special handling for