This release updates the API, making the default icons overideable via HTML and adding slots inside of buttons. It also fixes some minor bugs.
- Provides slots inside of navigation and fullscreen buttons for override of icons and text
- Moves icons from background CSS to inline SVGs that serve as default content inside those slots
- Default SVGs inherit stroke and fill properties from their parent
::part()
s, making them easily styleable - Removes
::part(fullscreen-button-active)
(WARNING: potentially breaking change. Fullscreen state should be styled with the :fullscreen and :-webkit-full-screen pseudo classes) - Slide show now internally display: flex to automatically accommodate height of controls
- Fix: as we cannot guarantee a slide-show is visible (user may have set display: none), protects against DOM measurements that cause errors when not visible
- Fix: tracks device type used for last input in order to avoid scrolling to focused slide if it was focused via a pointer - previously this was making non-active slides hard to click on as they would scroll away on
mousedown
- Fix: Stream library tested for .stop() problems on .merge(), .combine(), .broadcast()