UNPKG

@frsource/tiny-carousel-core

Version:

Core module for @frsource/tiny-carousel, based on CSS scroll snap feature 🚀

250 lines (77 loc) • 5.87 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. # [0.10.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.9.0...@frsource/tiny-carousel-core@0.10.0) (2021-09-05) ### Features * carousel overflow ([96e06af](https://github.com/FRSource/tiny-carousel/commit/96e06af280f358f65dc87117a604b2fdf13a9c47)) * carousel overflow pt2 ([8775761](https://github.com/FRSource/tiny-carousel/commit/8775761891174214dee54cc96908253675d3465e)) ### BREAKING CHANGES * change SCSS variable names # 0.9.0 (2021-05-23) ### Features * **core:** unify blocking of next & prev methods ([17de32c](https://github.com/FRSource/tiny-carousel/commit/17de32c641f6fe2da77bae8743a4eb7af3792de0)) # [0.8.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.7.0...@frsource/tiny-carousel-core@0.8.0) (2021-04-06) ### Features * **core:** make destroy method chainable ([0c8d802](https://github.com/FRSource/tiny-carousel/commit/0c8d80262e6c06018ce0d0ccad16e2cc79c5aa27)) # [0.7.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.6.3...@frsource/tiny-carousel-core@0.7.0) (2021-04-04) ### Features * **core:** add destroy method ([2e40622](https://github.com/FRSource/tiny-carousel/commit/2e40622cd9b4ca25ac7ca04511ee2fb72c1e42fb)) * **core:** detect classes added by tinyCarousel ([ab515fb](https://github.com/FRSource/tiny-carousel/commit/ab515fbf7ae4bba59d267ab2479fe748b0fd746a)) * The following workspace dependencies were updated * dependencies * @frsource/tiny-carousel-utils bumped from ^0.5.0 to ^0.6.0 ## [0.10.1](https://github.com/FRSOURCE/tiny-carousel/compare/@frsource/tiny-carousel-core@0.10.0...@frsource/tiny-carousel-core-v0.10.1) (2022-06-13) ### Bug Fixes * tests typings ([73c1b5f](https://github.com/FRSOURCE/tiny-carousel/commit/73c1b5f37813fc189f0d984f3409362852f9cfac)) ## 0.6.3 (2021-03-31) **Note:** Version bump only for package @frsource/tiny-carousel-core ## [0.6.2](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.6.1...@frsource/tiny-carousel-core@0.6.2) (2021-03-31) ### Bug Fixes * move away from .mjs to avoid webpack bug ([5b01269](https://github.com/FRSource/tiny-carousel/commit/5b01269b8bb2cc607c3323ea54a7fe5d89a0363a)) * snap index calculation for the first slide ([ef26087](https://github.com/FRSource/tiny-carousel/commit/ef2608795b6771100eace86f20548784b42e33f7)) ## 0.6.1 (2021-03-28) **Note:** Version bump only for package @frsource/tiny-carousel-core # 0.6.0 (2021-03-27) ### Features * **core:** make scss files configurable ([d531a0a](https://github.com/FRSource/tiny-carousel/commit/d531a0ac40f001f3bc4d4dc5285ea22829b5f644)) # [0.5.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.4.0...@frsource/tiny-carousel-core@0.5.0) (2021-03-21) ### Features * **core:** use dom utils ([bc89d31](https://github.com/FRSource/tiny-carousel/commit/bc89d31cb0f8e48bcd5ac278ebadebf822b425e9)) # [0.4.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.3.1...@frsource/tiny-carousel-core@0.4.0) (2021-03-14) ### Features * **core:** move the scroll handler setup to init ([a625dc3](https://github.com/FRSource/tiny-carousel/commit/a625dc398824bae4940f32a43cf2884390d668fc)) ## [0.3.1](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.3.0...@frsource/tiny-carousel-core@0.3.1) (2021-03-13) **Note:** Version bump only for package @frsource/tiny-carousel-core # 0.3.0 (2021-03-08) ### Features * support overflowing in the goTo method ([0deaf1d](https://github.com/FRSource/tiny-carousel/commit/0deaf1dfa7f17f55c2d4c454d1cc10f18ad7f8a0)) ### BREAKING CHANGES * `goTo` method now doesn't return boolean, but the carousel instance * `goTo` change in index overflow handling - now it will start again from the start ## [0.2.2](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.2.1...@frsource/tiny-carousel-core@0.2.2) (2021-03-04) **Note:** Version bump only for package @frsource/tiny-carousel-core ## 0.2.1 (2021-03-03) **Note:** Version bump only for package @frsource/tiny-carousel-core # [0.2.0](https://github.com/FRSource/tiny-carousel/compare/@frsource/tiny-carousel-core@0.1.7...@frsource/tiny-carousel-core@0.2.0) (2021-02-28) ### Features * add possibility to provide items in config ([29867e3](https://github.com/FRSource/tiny-carousel/commit/29867e39526acd4d28c1efe0301a745520ca5880)) ## 0.1.7 (2021-02-24) **Note:** Version bump only for package @frsource/tiny-carousel-core ## 0.1.6 (2021-02-22) **Note:** Version bump only for package @frsource/tiny-carousel-core ## 0.1.5 (2021-02-20) **Note:** Version bump only for package @frsource/tiny-carousel-core ## 0.1.4 (2021-02-20) **Note:** Version bump only for package @frsource/tiny-carousel-core ## 0.1.3 (2021-02-20) ### Bug Fixes * core styling output bundle ([ac6e433](https://github.com/FRSource/tiny-carousel/commit/ac6e433d8496b99ab7ffb68cbf58bf8b6d3d0ce0)) ## 0.1.2 (2021-02-20) ### Bug Fixes * **core:** package.json field for styles entry ([8b41287](https://github.com/FRSource/tiny-carousel/commit/8b412873818cc94e6810f3247046477a53d150ed)) ## 0.1.1 (2021-02-20) **Note:** Version bump only for package @frsource/tiny-carousel-core # 0.1.0 (2021-02-17) ### Features * first monorepo implementation ([2312688](https://github.com/FRSource/tiny-carousel/commit/2312688645844099d71c228e9c94c5313fe33a61)) * move docs to the separate package ([b79b174](https://github.com/FRSource/tiny-carousel/commit/b79b174774e401d09ba2fd3877475741282c6eca))