well-waterfall 1.3.2 → 1.4.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 +4 -4
- package/dist/lib/attributes.d.ts +3 -20
- package/dist/well-waterfall.es.js +4383 -4817
- package/dist/well-waterfall.es.js.map +1 -1
- package/dist/well-waterfall.umd.js +6 -6
- package/dist/well-waterfall.umd.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Waterfall is a free-forever JavaScript library for Webflow that lets you build [
|
|
|
9
9
|
3. **Full Documentation.** Every attribute is listed below, and each setting is explained directly in the Wellspring App.
|
|
10
10
|
4. **Turn Swipers into Components.** After creating a swiper, you can turn it into a Webflow component for reuse.
|
|
11
11
|
|
|
12
|
-
Current version: **v<!-- version -->1.
|
|
12
|
+
Current version: **v<!-- version -->1.4.1<!-- /version -->** · Bundled SwiperJS: **<!-- swiper-version -->14.3.0<!-- /swiper-version -->**
|
|
13
13
|
|
|
14
14
|
## Table of contents
|
|
15
15
|
|
|
@@ -57,7 +57,7 @@ Current version: **v<!-- version -->1.3.1<!-- /version -->** · Bundled SwiperJS
|
|
|
57
57
|
|
|
58
58
|
## Dependencies
|
|
59
59
|
|
|
60
|
-
Waterfall bundles SwiperJS <!-- swiper-version -->
|
|
60
|
+
Waterfall bundles SwiperJS <!-- swiper-version -->14.3.0<!-- /swiper-version --> (JavaScript and CSS) directly. If you already load SwiperJS on your site, you can remove it and just use Waterfall.
|
|
61
61
|
|
|
62
62
|
## Installation
|
|
63
63
|
|
|
@@ -66,7 +66,7 @@ Use the Wellspring App to install the code onto your site. If you are installing
|
|
|
66
66
|
**Specific Version (Stable - Recommended)**
|
|
67
67
|
|
|
68
68
|
```html
|
|
69
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/well-waterfall@1.
|
|
69
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/well-waterfall@1.4.1"></script>
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
**Latest Version**
|
|
@@ -634,7 +634,7 @@ npm run build
|
|
|
634
634
|
|
|
635
635
|
## Built With
|
|
636
636
|
|
|
637
|
-
- [SwiperJS <!-- swiper-version -->
|
|
637
|
+
- [SwiperJS <!-- swiper-version -->14.3.0<!-- /swiper-version -->](https://github.com/nolimits4web/swiper)
|
|
638
638
|
- TypeScript
|
|
639
639
|
- Vite
|
|
640
640
|
|
package/dist/lib/attributes.d.ts
CHANGED
|
@@ -20,26 +20,9 @@ export declare const ATTR_A11Y_PREV_SLIDE_MESSAGE = "waterfall-a11y-prev-slide-m
|
|
|
20
20
|
export declare const ATTR_A11Y_SCROLL_ON_FOCUS = "waterfall-a11y-scroll-on-focus";
|
|
21
21
|
export declare const ATTR_A11Y_SLIDE_LABEL_MESSAGE = "waterfall-a11y-slide-label-message";
|
|
22
22
|
export declare const ATTR_A11Y_SLIDE_ROLE = "waterfall-a11y-slide-role";
|
|
23
|
-
export declare const
|
|
24
|
-
export
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const ATTR_LMOBILE_SPACE_BETWEEN = "waterfall-space-between-lmobile";
|
|
27
|
-
export declare const ATTR_TABLET_CENTERED_SLIDES = "waterfall-centered-slides-tablet";
|
|
28
|
-
export declare const ATTR_TABLET_SLIDES_PER_VIEW = "waterfall-slides-per-view-tablet";
|
|
29
|
-
export declare const ATTR_TABLET_SLIDES_PER_GROUP = "waterfall-slides-per-group-tablet";
|
|
30
|
-
export declare const ATTR_TABLET_SPACE_BETWEEN = "waterfall-space-between-tablet";
|
|
31
|
-
export declare const ATTR_DESKTOP_CENTERED_SLIDES = "waterfall-centered-slides-desktop";
|
|
32
|
-
export declare const ATTR_DESKTOP_SLIDES_PER_VIEW = "waterfall-slides-per-view-desktop";
|
|
33
|
-
export declare const ATTR_DESKTOP_SLIDES_PER_GROUP = "waterfall-slides-per-group-desktop";
|
|
34
|
-
export declare const ATTR_DESKTOP_SPACE_BETWEEN = "waterfall-space-between-desktop";
|
|
35
|
-
export declare const ATTR_LARGE_CENTERED_SLIDES = "waterfall-centered-slides-large";
|
|
36
|
-
export declare const ATTR_LARGE_SLIDES_PER_VIEW = "waterfall-slides-per-view-large";
|
|
37
|
-
export declare const ATTR_LARGE_SLIDES_PER_GROUP = "waterfall-slides-per-group-large";
|
|
38
|
-
export declare const ATTR_LARGE_SPACE_BETWEEN = "waterfall-space-between-large";
|
|
39
|
-
export declare const ATTR_XLARGE_CENTERED_SLIDES = "waterfall-centered-slides-xlarge";
|
|
40
|
-
export declare const ATTR_XLARGE_SLIDES_PER_VIEW = "waterfall-slides-per-view-xlarge";
|
|
41
|
-
export declare const ATTR_XLARGE_SLIDES_PER_GROUP = "waterfall-slides-per-group-xlarge";
|
|
42
|
-
export declare const ATTR_XLARGE_SPACE_BETWEEN = "waterfall-space-between-xlarge";
|
|
23
|
+
export declare const BREAKPOINTS: readonly ["mobile", "mobile-large", "tablet", "desktop", "desktop-small", "desktop-large"];
|
|
24
|
+
export type Breakpoint = (typeof BREAKPOINTS)[number];
|
|
25
|
+
export declare const breakpointAttr: (attr: string, breakpoint: Breakpoint) => string;
|
|
43
26
|
export declare const ATTR_CONTROLLER = "waterfall-controller";
|
|
44
27
|
export declare const ATTR_CONTROLLER_BY = "waterfall-controller-by";
|
|
45
28
|
export declare const ATTR_CONTROLLER_INVERSE = "waterfall-controller-inverse";
|