kopia lustrzana https://github.com/shoelace-style/shoelace
fixes #781
rodzic
7a9e4b0e8f
commit
425f936254
|
|
@ -13,6 +13,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
|||
- Fixed focus rings for `<sl-input>`, `<sl-select>`, and `<sl-textarea>` in Safari since they don't use `:focus-visible` [#767](https://github.com/shoelace-style/shoelace/issues/767)
|
||||
- Fixed a bug where calling `HTMLFormElement.reportValidity()` would skip Shoelace form controls [#772](https://github.com/shoelace-style/shoelace/issues/772)
|
||||
- Fixed a bug that prevented `<sl-tooltip>` from closing when disabled [#775](https://github.com/shoelace-style/shoelace/issues/775)
|
||||
- Fixed a bug that allowed `<sl-icon-button>` to emit a `click` event when disabled [#781](https://github.com/shoelace-style/shoelace/issues/781)
|
||||
- Improved the default icon for `<sl-image-comparer>` so it's more intuitive and removed `grip-vertical` from system icon library
|
||||
- Improved RTL styles for many components [#768](https://github.com/shoelace-style/shoelace/pull/768)
|
||||
- Revert menu item caching due to regression [#766](https://github.com/shoelace-style/shoelace/issues/766)
|
||||
|
|
|
|||
|
|
@ -46,4 +46,8 @@ export default css`
|
|||
outline: var(--sl-focus-ring);
|
||||
outline-offset: var(--sl-focus-ring-offset);
|
||||
}
|
||||
|
||||
.icon-button__icon {
|
||||
pointer-events: none;
|
||||
}
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ export default class SlIconButton extends LitElement {
|
|||
@click=${this.handleClick}
|
||||
>
|
||||
<sl-icon
|
||||
class="icon-button__icon"
|
||||
name=${ifDefined(this.name)}
|
||||
library=${ifDefined(this.library)}
|
||||
src=${ifDefined(this.src)}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue