Skip to content

Commit

Permalink
5.3.3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Oct 25, 2022
1 parent 3109654 commit 55c63cf
Show file tree
Hide file tree
Showing 18 changed files with 63 additions and 48 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions demo-docs-website/static/photoswipe/photoswipe.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo-docs-website/static/photoswipe/photoswipe.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo-docs-website/static/photoswipe/photoswipe.esm.min.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo-docs-website/static/photoswipe/umd/photoswipe.umd.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/photoswipe-lightbox.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/photoswipe-lightbox.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/photoswipe-lightbox.esm.min.js

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions dist/photoswipe.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/photoswipe.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/photoswipe.esm.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions dist/types/photoswipe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export type PhotoSwipeModule = Type<PhotoSwipe> | {
default: Type<PhotoSwipe>;
};
export type PhotoSwipeModuleOption = PhotoSwipeModule | Promise<PhotoSwipeModule> | (() => Promise<PhotoSwipeModule>);
export type ElementProvider = string | NodeListOf<HTMLElement> | HTMLElement[] | HTMLElement;
/**
* https://photoswipe.com/options/
*/
Expand Down Expand Up @@ -231,9 +232,9 @@ export type PhotoSwipeOptions = {
pswpModule?: PhotoSwipeModuleOption;
openPromise?: () => Promise<any>;
preloadFirstSlide?: boolean | undefined;
gallery?: string | undefined;
gallery?: ElementProvider | undefined;
gallerySelector?: string | undefined;
children?: string | undefined;
children?: ElementProvider | undefined;
childSelector?: string | undefined;
thumbSelector?: string | false;
};
Expand Down
4 changes: 2 additions & 2 deletions dist/types/util/util.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ export function specialKeyUsed(e: MouseEvent | KeyboardEvent): boolean;
/**
* Parse `gallery` or `children` options.
*
* @param {HTMLElement | NodeListOf<HTMLElement> | string} option
* @param {import('../photoswipe.js').ElementProvider} option
* @param {string=} legacySelector
* @param {HTMLElement | Document} [parent]
* @returns HTMLElement[]
*/
export function getElementsFromOption(option: HTMLElement | NodeListOf<HTMLElement> | string, legacySelector?: string | undefined, parent?: HTMLElement | Document): HTMLElement[];
export function getElementsFromOption(option: import('../photoswipe.js').ElementProvider, legacySelector?: string | undefined, parent?: HTMLElement | Document): HTMLElement[];
/**
* Check if variable is PhotoSwipe class
*
Expand Down

0 comments on commit 55c63cf

Please sign in to comment.