fix(tree-item): move label outside of checkbox

pull/1239/head
Alessandro 2023-03-13 19:52:12 +00:00 zatwierdzone przez GitHub
rodzic 6e2ea508db
commit b37be46ba3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -263,12 +263,11 @@ export default class SlTreeItem extends ShoelaceElement {
?disabled="${this.disabled}"
?checked="${live(this.selected)}"
?indeterminate="${this.indeterminate}"
>
<slot class="tree-item__label" part="label"></slot>
</sl-checkbox>
`,
() => html` <slot class="tree-item__label" part="label"></slot> `
></sl-checkbox>
`
)}
<slot class="tree-item__label" part="label"></slot>
</div>
<slot