Merge branch 'next' into react-fix

pull/1663/head
Cory LaViska 2023-10-19 10:30:08 -04:00 zatwierdzone przez GitHub
commit e0ea699089
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -123,7 +123,9 @@ Details are designed to function independently, but you can simulate a group or
// Close all other details when one is shown
container.addEventListener('sl-show', event => {
[...container.querySelectorAll('sl-details')].map(details => (details.open = event.target === details));
if (event.target.localName === 'sl-details') {
[...container.querySelectorAll('sl-details')].map(details => (details.open = event.target === details));
}
});
</script>

Wyświetl plik

@ -16,6 +16,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
- Added the Croatian translation [#1656]
- Fixed a bug that caused the [[Escape]] key to stop propagating when tooltips are disabled [#1607]
- Fixed a bug that made it impossible to style placeholders in `<sl-select>` [#1667]
- Fixed a bug that caused `dist/react/index.js` to be blank [#1659]
## 2.10.0

Wyświetl plik

@ -67,6 +67,10 @@ export default css`
-webkit-appearance: none;
}
.select__display-input::placeholder {
color: var(--sl-input-placeholder-color);
}
.select:not(.select--disabled):hover .select__display-input {
color: var(--sl-input-color-hover);
}