kopia lustrzana https://github.com/shoelace-style/shoelace
fix directionality check
rodzic
18861f20e2
commit
966768b858
|
@ -15,6 +15,7 @@ New versions of Shoelace are released as-needed and generally occur when a criti
|
||||||
## Next
|
## Next
|
||||||
|
|
||||||
- Added support for <kbd>Enter</kbd> to `<sl-split-panel>` to align with ARIA APG's [window splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) [#2234]
|
- Added support for <kbd>Enter</kbd> to `<sl-split-panel>` to align with ARIA APG's [window splitter pattern](https://www.w3.org/WAI/ARIA/apg/patterns/windowsplitter/) [#2234]
|
||||||
|
- Fixed a bug in `<sl-carousel>` that caused the navigation icons to be reversed
|
||||||
|
|
||||||
## 2.18.0
|
## 2.18.0
|
||||||
|
|
||||||
|
|
|
@ -512,7 +512,7 @@ export default class SlCarousel extends ShoelaceElement {
|
||||||
const currentPage = this.getCurrentPage();
|
const currentPage = this.getCurrentPage();
|
||||||
const prevEnabled = this.canScrollPrev();
|
const prevEnabled = this.canScrollPrev();
|
||||||
const nextEnabled = this.canScrollNext();
|
const nextEnabled = this.canScrollNext();
|
||||||
const isLtr = this.localize.dir() === 'rtl';
|
const isLtr = this.localize.dir() === 'ltr';
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<div part="base" class="carousel">
|
<div part="base" class="carousel">
|
||||||
|
|
Ładowanie…
Reference in New Issue