Skip to content

Commit 04649ff

Browse files
committed
6.1.10
1 parent 59cd97a commit 04649ff

27 files changed

+67
-31
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1+
# 6.1.10 (2026-01-29)
2+
3+
### Bug Fixes
4+
5+
- **Carousel** Fix an issue with non-infinite carousels when swiping the page vertically
6+
- **Fancybox** Fix an issue with the Hash plugin when an iframe element is active
7+
8+
### Features
9+
10+
- **Carousel** Add `preload` and `autosize` options for iframes to the HTML plugin
11+
112
# 6.1.9 (2026-01-23)
213

314
### Features
415

5-
- **Fancybox** Add `slug` option to Hash plugin ([821](https://github.com/fancyapps/ui/issues/821))
16+
- **Fancybox** Add `slug` option to the Hash plugin ([821](https://github.com/fancyapps/ui/issues/821))
617

718
# 6.1.8 (2026-01-19)
819

dist/carousel/carousel.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ export interface CarouselEventArgs {
127127
* Click event has been detected
128128
*/
129129
click: [MouseEvent | TouchEvent];
130+
/**
131+
* Content is loading on one of the slides
132+
*/
133+
contentLoading: [CarouselSlide];
130134
/**
131135
* Content is loaded on one of the slides
132136
*/

dist/carousel/carousel.dots.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/carousel/carousel.dots.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/carousel/carousel.html.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/carousel/carousel.html.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
import { type CarouselInstance } from "./carousel";
22
export type HtmlOptions = {
3+
/**
4+
* If resize the iframe element to match the dimensions of the iframe page content
5+
*/
6+
autosize: boolean;
37
/**
48
* Attributes of an iframe element
59
*/
610
iframeAttr: Record<string, string>;
11+
/**
12+
* If wait for iframe content to load before displaying
13+
*/
14+
preload: boolean;
715
};
816
export type HtmlInstance = ReturnType<typeof Html>;
917
declare module "./carousel" {
@@ -14,9 +22,11 @@ declare module "./carousel" {
1422
Html: CarouselPlugin & HtmlInstance;
1523
}
1624
interface CarouselSlide {
25+
autosize?: boolean;
1726
aspectRatio?: string;
1827
contentEl?: HTMLElement;
1928
height?: string | number;
29+
preload?: boolean | string;
2030
src?: string;
2131
type?: "iframe" | "pdf" | "map" | string;
2232
width?: string | number;

dist/carousel/carousel.html.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)