Skip to content

Commit

Permalink
5.3.6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimsemenov committed Feb 23, 2023
1 parent 637f2e7 commit 05e2193
Show file tree
Hide file tree
Showing 18 changed files with 79 additions and 59 deletions.
17 changes: 11 additions & 6 deletions demo-docs-website/static/photoswipe/photoswipe-lightbox.esm.js

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.

27 changes: 16 additions & 11 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.

17 changes: 11 additions & 6 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.

27 changes: 16 additions & 11 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.

2 changes: 1 addition & 1 deletion dist/types/photoswipe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export type PreparedPhotoSwipeOptions = {
/**
* A function that should return slide viewport width and height, in format {x: 100, y: 100}.
*/
getViewportSizeFn?: ((options: PhotoSwipeOptions, pswp: PhotoSwipe) => Point) | undefined;
getViewportSizeFn?: ((options: PhotoSwipeOptions, pswp: PhotoSwipeBase) => Point) | undefined;
/**
* Message to display when the image wasn't able to load. If you need to display HTML - use contentErrorElement filter.
*/
Expand Down
8 changes: 4 additions & 4 deletions dist/types/util/viewport-size.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/** @typedef {import('../photoswipe.js').PhotoSwipeOptions} PhotoSwipeOptions */
/** @typedef {import('../photoswipe.js').default} PhotoSwipe */
/** @typedef {import('../core/base.js').default} PhotoSwipeBase */
/** @typedef {import('../photoswipe.js').Point} Point */
/** @typedef {import('../slide/slide.js').SlideData} SlideData */
/**
* @param {PhotoSwipeOptions} options
* @param {PhotoSwipe} pswp
* @param {PhotoSwipeBase} pswp
* @returns {Point}
*/
export function getViewportSize(options: PhotoSwipeOptions, pswp: PhotoSwipe): Point;
export function getViewportSize(options: PhotoSwipeOptions, pswp: PhotoSwipeBase): Point;
/**
* Parses padding option.
* Supported formats:
Expand Down Expand Up @@ -53,6 +53,6 @@ export function parsePaddingOption(prop: 'left' | 'top' | 'bottom' | 'right', op
*/
export function getPanAreaSize(options: PhotoSwipeOptions, viewportSize: Point, itemData: SlideData, index: number): Point;
export type PhotoSwipeOptions = import('../photoswipe.js').PhotoSwipeOptions;
export type PhotoSwipe = import('../photoswipe.js').default;
export type PhotoSwipeBase = import('../core/base.js').default;
export type Point = import('../photoswipe.js').Point;
export type SlideData = import('../slide/slide.js').SlideData;
Loading

0 comments on commit 05e2193

Please sign in to comment.