Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial demo port * reduced motion updates, config updates * update open props to latest * add product images * fixes page scrolling * use the prop * nits and notes * more notes * adds ability to spam next/prev * task note * finish accessible content * bit more prevention for heavy spamming of next/prev * fixes scroll event keypress bubbling by making carousel focusable * adds snap scroll item wrapper for non-janky transforms * demo style updates for multiple carousels * switch from aria-disabled to disabled, use keyframes for keypress animation, adds content visibility * adds hover effect to pagination dots * fixes event bubbling in minimap so items arent accidentally selected * better button hover states * removes viewport units * relative layout * better layouts for when pagination or controls are set to none * hide arrows if user has js turned off * no scrollbar option * fit nits * todo updates * fixes tiny buttons on iOS * best of both worlds: browser event source is correct and container is no longer focusable * adds posinset and setsize on the tabs * update to latest open props * make defaults more obvious they are an api * clean up some notes * fixes scroller gap being slightly shy of the fit needed * fixes firefox next/prev buttons not snapping to next with scrollBy * converted to a class * adds unlisteners * add more demos * note a todo for el removal observation and unlistening * fixes content-visibility affecting document body scroll * updates todos * adds aria-label with position of item via js to unburden devs * handles lots of pagination items and keeps active in view * hide scrollbars on pagination too if config is set * better place to scroll dots into view * add more todos * tabindex -1 doesnt need this fix * page load no longer scrolls to the carousel * add another note * fixes scroll regression after pagination scroll was added * use a row size so no layout shift * pagination hides scrollbars by default * fixes safari not scrolling items into view * adds scroll-hint to pagination area for gallery * add pagination and controls with JS * js setting as much aria as possible * clean up initialization * fixes wide screens * notes * support scroll snap always config option * pagination looks for figcaption text or img alt for labels * move item styles to external stylesheet * adds testimonial demo * fixes horizontal overflow bug when reaching end of pagination * minor pagination style improvements * fixes firefox not supporting scrollIntoViewIfNeeded() * removes duplicate shirt * demo title change * adds 1 at a time demo * first demo has free scroll * move custom layouts to custom stylesheet * adds full width demo * add cascade layers * add scroll hint demo * wraps basics in where for easy overrides * removes some todos * adds paged collection demo * responsive paged collection demo * fixes production build by updating to latest vite and postcss-preset-env and passing custom media to plugin * fixes full width on large monitors * adds node removed observer to remove listeners and stuff * adds touch-action to horizontal scroll areas * more postcss transform cleanup * tiny update to support RTL * add todo * finishes rtl keyboard support * minor refactor of keypress animation handling * support setting scroll start * fixes typo in scroll start logic * style header elements in examples * cleanliness refactor * minor demo style/text nudge * updates state initialization with scrollstart logic * made 2 more methods private * adds goToElement() method so rootscroller is never invoked * remove touch-action * improves forced colors mode pagination and controls * fixes disabled button having subtle shadow * switch to eager in-view class assignment * improves interaction pace with in-view class animation * cruft removal * some renaming and added more comments * easing adjustment to pagination marker * removes concept of scroll-item * better product examples * remove contain-intrinsic-size, shouldnt have that many items * perf fix with will-change (safari desktop benefited the most) * fixes product details alignment * removes guard since no longer using scrollIntoView * updates comment about usage * update open props * fixes rtl regression * more fixes for RTL * adds hubs example * slight improvement to hubs demo * workaround for vite cascade layers import bug vitejs/vite#9368 * adds build workflow and readme entry
- Loading branch information