Skip to content

Latest commit

 

History

History
309 lines (200 loc) · 9.65 KB

CHANGELOG.md

File metadata and controls

309 lines (200 loc) · 9.65 KB

Changelog

3.7.0 - @slidy/plugins

@slidy/plugins

1.1.0 - add autoplay() plugin

1.0.0 - first release

@slidy/core

3.7.2 - cleanup

3.7.1 - fix duplicated options

3.7.0 - add options.plugins, fix issues & updates

@slidy/element

1.2.2 - update core

1.2.1 - update core

1.2.0 - add options.plugins

@slidy/solid

1.4.0 - add plugins option

@slidy/svelte

3.4.0 - add plugins option

@slidy/react

1.2.0 - add plugins option

3.6.0 - @slidy/element

@slidy/element

1.1.0 - fix issues & updates

1.0.0 - first pre-release

@slidy/core

3.6.0 - on:mutate event, auto reinit, improvments & fixes

@slidy/svelte

3.3.0 - core futures & fixes

3.2.2 - test release

@slidy/solid

1.3.0 - core futures & fixes

@slidy/react

1.1.0 - core futures & fixes

3.5.3 - @slidy/react

@slidy/react

1.0.0

  • first release

@slidy/solid

1.2.1

  • implement groups prop to control the number of items displayed per viewport

@slidy/svelte

3.2.1

  • implement groups prop to control the number of items displayed per viewport;
  • inherit clamp value by control buttons;

@slidy/core

3.5.3

  • decrease bundle size
  • window.Slidy object contain @slidy/core, @slidy/animation, @slidy/easing & @slidy/media functions
window.Slidy = {
    animation, // animation functions
    core, // core function
    easing, // easing functions
    media, // global media store
};

@slidy/media

1.2.7

  • IIFE global name window.SlidyMedia

@slidy/animation

1.0.7

  • IIFE global name window.SlidyAnimation

@slidy/easing

1.0.5

  • IIFE global name window.SlidyEasing

3.5.2 - @slidy/solid

@slidy/solid

1.2.0

  • first release

@slidy/svelte

3.2.0

  • add autoplay action
  • add i18n localization script

3.1.3 - 3.1.5

  • testing releases

@slidy/core

3.5.2

  • remove browser field for modern bundlers & CDN compatibility
  • remove duration from to(index) method

@slidy/media

1.2.6

  • fix window availability

1.2.5

3.5.1 - fix issues & updates

@slidycore

3.5.1

@slidy/svelte

3.1.2

3.1.1

3.5.0 - modulated & fully rethinkin

Simple, configurable, nested & reusable sliding action script with templates, animations, easings & some useful plugins.

Сompletely mimics the behavior of a native scroll with mouse drag, index navigation, acceleration, gravity & infinite loop mode.

Packages

Todo

2.8.2

  • fix index on stop;

2.8.1

  • fix index limits;

2.8.0

  • new option immutable={true};

2.7.1

  • new prop options.sensity: 0.3 for next slidy scroll sensitivity;

2.7.0

  • rename slidyinit to init, now it's true by default. Example;

2.6.9

  • keyExtractor() now key() & by default:
key = (item) => item.id || item[slide.imgsrckey];

Slides may not have id's, but you must have imgsrckey (by default imgsrckey="src"). Svelte needs some unique identifier for {#each} loop.

You can customize key() in template instead:

<Slidy key="{(item) => uid()}" />

2.6.5

  • Add keyExtractor props as function to customize svelte loop key. The default return value is item.id, defaults to array's index if there is no id key.
keyExtractor = (item, i) => item.id || i;

Tx @axmad386👍🏻 for PR & @tehnolog for issue

Usage example:

<Slidy keyExtractor="{(item, index) => item.id + index + uid()}" />

or

<Slidy keyExtractor="{(item) => item.id.toString()}" />

Previous changes (Pre 2.6.5)