All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Slides not re-rendering on prop change
- New
centerMode
prop.
- Proper support for dynamic
slider-layout
s.
- Unity tests for individual components.
ADJUST_ON_RESIZE
reducer action settingtransform
to incorrect values, not based ontransformMap
.
- New
SliderLayoutGroup
component and itsslider-layout-group
interface.
- Full support for
responsive-values
in theitemsPerPage
prop, through the use ofvtex.responsive-values
.
slidesPerPage
miscalculation in situations where the total number of slides to render where less than the value fromitemsPerPage
for the current device.
SliderTrack
component miscalculating its own width.
- Infinite loops now happen without "rewinding" effects.
- Dampening effect during touch movement, making the slider more responsive on mobile devices.
- Navigation using
PaginationDots
would result in elements not being rendered.
- Modifiers
firstVisible
andlastVisible
for theslide
CSS Handles
- New CSS Handle
paginationDot--isActive
.
fullWidth
toSliderLayout
schema definition and allow it to be controlled by the Site Editor.autoplay
anditemsPerPage
toSliderLayout
schema aslayout
properties.
- Prevent unvisited slides from rendering, improving performance.
- Touch handlers not working as expected.
- Slider would "flash" when transitioning from SSR to CSR.
- New
sliderTrackContainer
CSS handle. - New props
fullWidth
andarrowSize
.
- Recipe about how to use slider-layout as carousel
- Support for
autoplay
feature via a newautoplay
prop.
- CSS handles.
- Support for consuming
list-context
s.
- Support for customization via Site Editor.
- Prevent slides from rendering before
slideWidth
is calculated.
README
file.
- Unnecessary
.sliderContainer
CSS class.
- CSS handles.
children
rendered on a slide hasw-100
token.
- Support for swipeable navigation on mobile.
- Support for
usePagination
prop.
- Rename enum values for
showPaginationDots
.
- First implementation of
slider-layout
.