@twistedandy/better-carousel 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <p>A small, fast and accessible JavaScript carousel.<br />The CSS sets the layout, and the motion runs on the compositor, also on slow phones.</p>
6
6
 
7
- [![Gzip size](https://flat.badgen.net/static/gzip/12.6%20KB/green)](dist/better-carousel.min.js)
7
+ [![Gzip size](https://flat.badgen.net/static/gzip/12.4%20KB/green)](dist/better-carousel.min.js)
8
8
  [![MIT license](https://flat.badgen.net/static/license/MIT/purple)](LICENSE)
9
9
  [![No dependencies](https://flat.badgen.net/static/dependencies/0/blue)](package.json)
10
10
 
@@ -16,7 +16,7 @@
16
16
 
17
17
  - **Layout from CSS** - Your CSS sets the sizes of the slides, the space between them, the axis and the alignment. One carousel can show 1 slide on a phone and 4 slides on a desktop.
18
18
  - **Smooth** - Each motion is a Web Animations API animation of `translate`. No script runs on each frame, also during the auto scroll.
19
- - **Small** - <!-- generated:gzip -->12.6 KB<!-- /generated --> gzip with loop, autoplay, auto scroll, auto height, sync and the mouse wheel.
19
+ - **Small** - <!-- generated:gzip -->12.4 KB<!-- /generated --> gzip with loop, autoplay, auto scroll, auto height, sync and the mouse wheel.
20
20
  - **Loop** - The loop moves the original slides. It adds clones only if the slides are too few.
21
21
  - **Vertical and grid** - A column layout makes a vertical carousel. A CSS grid with more rows also works.
22
22
  - **Accessible** - WCAG 2.1 AA: names for the carousel, the slides and the buttons, the keyboard focus, a live region and reduced motion.
@@ -29,13 +29,13 @@ Load the minified script and the stylesheet from jsDelivr. The script adds the g
29
29
  ```html
30
30
  <link
31
31
  rel="stylesheet"
32
- href="https://cdn.jsdelivr.net/gh/TwistedAndy/better-carousel@v1.1.0/dist/better-carousel.css"
32
+ href="https://cdn.jsdelivr.net/gh/TwistedAndy/better-carousel@v1.1.1/dist/better-carousel.css"
33
33
  integrity="sha384-3ROtqpAC1ZPhSpDul73SGiTOv1L5kTr/08sUr6FPY6S79RIDi7mpI22ttbuxI/w8"
34
34
  crossorigin="anonymous"
35
35
  />
36
36
  <script
37
- src="https://cdn.jsdelivr.net/gh/TwistedAndy/better-carousel@v1.1.0/dist/better-carousel.min.js"
38
- integrity="sha384-UjCkof+Hhn4+1TwAy29U/sKHOeabjJs4q+6SKn0GrTEDkuWVfGy0vkZncDkmjlzZ"
37
+ src="https://cdn.jsdelivr.net/gh/TwistedAndy/better-carousel@v1.1.1/dist/better-carousel.min.js"
38
+ integrity="sha384-iAm/5iXDxHA5oHmRJqH1xjWnZzqQsmfklYM5v0iVGvJx/3cWrzFZ67xjIHyTVIz1"
39
39
  crossorigin="anonymous"
40
40
  ></script>
41
41
  ```
@@ -718,9 +718,9 @@ The library is made for slow phones. A motion runs on the compositor, and a caro
718
718
  <!-- generated:sizes -->
719
719
  | File | Minified | Gzip | Brotli |
720
720
  | --- | --- | --- | --- |
721
- | `better-carousel.min.js` | 31.6 KB | 12.6 KB | 11.5 KB |
721
+ | `better-carousel.min.js` | 30.3 KB | 12.4 KB | 11.4 KB |
722
722
  | `better-carousel.css` | 4.7 KB | 1.3 KB | 1.1 KB |
723
- | Total | 36.3 KB | 13.9 KB | 12.6 KB |
723
+ | Total | 35.0 KB | 13.8 KB | 12.5 KB |
724
724
  <!-- /generated -->
725
725
 
726
726
  The [Comparison](#comparison) section gives the sizes and the runtime costs of other carousel libraries.