UNPKG

11.7 kBMarkdownView Raw
1# 5.0.36 (2024-04-10)
2
3### Bug Fixes
4
5- **Fancybox** Content flashes on close with Safari 17.4 ([642](https://github.com/fancyapps/ui/issues/642))
6- **Fancybox** Issue with `:empty` selector ([631](https://github.com/fancyapps/ui/issues/631))
7
8# 5.0.35 (2024-03-13)
9
10### Bug Fixes
11
12- **Fancybox** Scroll position after closing ([628](https://github.com/fancyapps/ui/issues/628))
13
14### Features
15
16- **Fancybox** Add option `closeExisting` ([629](https://github.com/fancyapps/ui/issues/629))
17
18# 5.0.34 (2024-03-12)
19
20### Bug Fixes
21
22- **Carousel** Animation direction of synchronized carousels ([622](https://github.com/fancyapps/ui/issues/622))
23- **Fancybox** Tweak CSS to work for Shopify
24
25### Features
26
27- **Fancybox** Support `data-width` and `data-height` attributes for images
28
29# 5.0.33 (2024-01-03)
30
31### Bug Fixes
32
33- **Panzoom** Refactored code to correctly show the zoom-in cursor when click action is "iterateZoom"
34
35# 5.0.32 (2023-12-21)
36
37### Bug Fixes
38
39- **Fancybox** Improved Hash plugin, see [264](https://github.com/fancyapps/ui/issues/264)
40
41# 5.0.31 (2023-12-18)
42
43### Bug Fixes
44
45- **Fancybox** Fix an issue with fullscreen and multiple instances
46- **Carousel** Fix incorrect page selection when using margins, infinite navigation and `dragFree`
47
48# 5.0.30 (2023-12-14)
49
50### Bug Fixes
51
52- Fix l10n TS files ([598](https://github.com/fancyapps/ui/issues/598))
53
54### Features
55
56- **Carousel** Added new method `setPageFromPosition`, see [597](https://github.com/fancyapps/ui/issues/597)
57
58# 5.0.29 (2023-12-12)
59
60### Bug Fixes
61
62- **Fancybox** Fix an issue with Carousel dimensions in Fancybox modal ([589](https://github.com/fancyapps/ui/issues/589))
63- **Fancybox** Fix an issue with Youtube video start time containing minutes ([596](https://github.com/fancyapps/ui/issues/596))
64- **Fancybox** Slideshow needs to restart after manually changing a gallery item
65- **Fancybox** Fix an issue with container custom position and closing animation
66
67# 5.0.28 (2023-11-15)
68
69### Features
70
71- **Fancybox** Added additional CSS variables to control transition durations ([523](https://github.com/fancyapps/ui/issues/523))
72- **Carousel** The navigation plugin reuses existing DOM elements
73- Improved TypeScript support
74
75# 5.0.27 (2023-11-09)
76
77### Bug Fixes
78
79- **Fancybox** Fix an issue with keyboard navigation ([583](https://github.com/fancyapps/ui/issues/583))
80- **Fancybox** Fix an issue with scrollable content when using `wheel:slide` ([582](https://github.com/fancyapps/ui/issues/582))
81
82# 5.0.26 (2023-11-06)
83
84### Bug Fixes
85
86- **Carousel** Fix classic thumbnail CSS affecting dimensions
87
88# 5.0.25 (2023-11-03)
89
90### Bug Fixes
91
92- **Fancybox** Fix an issue with animations ([579](https://github.com/fancyapps/ui/issues/579))
93
94### Features
95
96- **Carousel** Added new method `addSlide()` that allows to add a new slide at a selected location
97- **Carousel** A completely reworked thumbail plugin:
98 1. Modern thumbnails can now be infinite, this also improves overall performance with large number of items.
99 2. New thumbnails are also created when new slides are added to the carousel. This allows, for example, to create a Fancybox gallery with an infinite number of images.
100
101# 5.0.24 (2023-10-05)
102
103### Bug Fixes
104
105- **Fancybox** Exit fullscreen mode only if started by Fancybox ([520](https://github.com/fancyapps/ui/issues/520))
106- **Fancybox** Fix an issue with elements inside the content that contain Panzoom data attributes
107
108### Features
109
110- Added Slovak translations
111- **Carousel** Added event `beforeChange`, can be used to prevent slide change
112
113# 5.0.23 (2023-09-28)
114
115### Bug Fixes
116
117- **Fancybox** Fix close button click event not working when text is selected ([565](https://github.com/fancyapps/ui/issues/565))
118- **Fancybox** Fix repetition of events ([554](https://github.com/fancyapps/ui/issues/554))
119- **Fancybox** Fix an issue with not yet loaded image after very fast clicks on toolbar buttons
120- **Fancybox** Fix an issue with captions containing only numbers
121- **Fancybox** HTML5 videos should support `data-width` and `data-height` attributes
122- **Carousel** Fix scrolling in Safari when using a mouse ([529](https://github.com/fancyapps/ui/issues/529))
123- **Carousel** Fix an issue when combining Carousel with Panzoom and using lazy image loading
124- **Panzoom** Fix pin position after resizing window in full screen mode
125- **Panzoom** Allow the click event of the Pins plugin to be executed in order to combine with Fancybox
126
127# 5.0.22 (2023-08-09)
128
129### Bug Fixes
130
131- **Fancybox** Classic thumbnails doesn't work on click ([535](https://github.com/fancyapps/ui/issues/535))
132- **Fancybox** The cursor should indicate whether the carousel is draggable or currently being dragged
133
134# 5.0.21 (2023-08-08)
135
136### Features
137
138- **Fancybox** Allow Caption to be an Element ([531](https://github.com/fancyapps/ui/issues/531))
139- **Carousel** `appendSlide()` supports a custom element ([537](https://github.com/fancyapps/ui/issues/537))
140- **Panzoom** Zoom in on the current display area centered around the axis ([519](https://github.com/fancyapps/ui/issues/519))
141
142### Bug Fixes
143
144- **Fancybox** Videos wrong size when scrolling through carousel ([535](https://github.com/fancyapps/ui/issues/535))
145- **Fancybox** Classic mode thumbnails are refreshed repeatedly ([540](https://github.com/fancyapps/ui/issues/540))
146- **Fancybox** Carousel swipe doesn't work with links ([524](https://github.com/fancyapps/ui/issues/524))
147- **Fancybox** Focus outline for thumbnails after using keyboard
148
149# 5.0.20 (2023-07-04)
150
151### Features
152
153- **Fancybox** Add ability to position elements (for example, navigation arrows) relative to the image
154- **Fancybox** Add ability to place caption anywhere (including toolbar)
155- **Fancybox** Add ability to dynamically add new content (example: `Fancybox.getInstance().carousel.appendSlide({src : "https://lipsum.app/id/1/800x600/"});`)
156- Add Latvian translations
157- **Fancybox** Add CSS variable `--f-transition-duration` to control transition duration more easily
158
159# 5.0.19 (2023-05-25)
160
161### Bug Fixes
162
163- **Carousel** In specific cases, an incorrect position occurs after a click ([498](https://github.com/fancyapps/ui/issues/498))
164
165### Features
166
167- **Fancybox** Add `createSlide` event to the thumbnail plugin
168
169# 5.0.18 (2023-05-22)
170
171### Features
172
173- **Fancybox** Add `startSlideshow` and `endSlideshow` events
174- **Fancybox** Add navigation using the mouse wheel above the thumbnails
175- **Fancybox** Add option to show custom content instead of default error message ([388](https://github.com/fancyapps/ui/issues/388))
176- Add Czech translations
177- Add Chinese (Simplified) translations
178
179# 5.0.17 (2023-04-26)
180
181### Features
182
183- **Fancybox** Scale the container to maintain dimensions regardless of the pinch zoom level of the device
184- **Fancybox** Add `Slideshow.progressParentEl` option to more easily specify the location of progress bar
185- **Fancybox** Add support for YouTube Shorts
186- **Carousel** Remove infinite navigation restriction in specific cases
187
188# 5.0.16 (2023-04-14)
189
190### Features
191
192- **Fancybox** Add `Html.iframeAttr` option that allows to customize the attributes of an iframe element
193- **Carousel** The `slidesPerPage` option now respects the actual width of each slide element
194- Fancybox and Carousel components now expose the components they use and thus they do not need to be loaded separately
195
196# 5.0.15 (2023-04-06)
197
198### Bug Fixes
199
200- **Fancybox** Fix `parentEl` option
201- **Fancybox** Fix click event while highlighting text in input ([471](https://github.com/fancyapps/ui/issues/471))
202- **Fancybox** Fix close button not showing in HTML5 Video ([469](https://github.com/fancyapps/ui/issues/469))
203
204### Features
205
206- **Fancybox** Add `fromSelector()` static method
207- **Fancybox** Improve zoom-in animation performance
208- **Carousel** Improve guesture handling
209
210# 5.0.14 (2023-03-30)
211
212### Bug Fixes
213
214- **Panzoom** Fix issue with rotation animation after quick click
215- **Panzoom** Fix the original image size rounding issue
216
217### Features
218
219- **Carousel** New `load` event for lazy loaded images
220- **Carousel** Add support for viewport element padding
221- **Fancybox** Add support for HTML content as a simple text string as well as multiple elements
222
223# 5.0.13 (2023-03-27)
224
225### Features
226
227- Add Japanese translations
228- **Fancybox** Add support for the `<picture>` element using a new `Images.content` option
229
230# 5.0.12 (2023-03-24)
231
232### Bug Fixes
233
234- **Carousel** Fix scrolling issue on Macbook using Firefox
235
236### Features
237
238- **Panzoom** Add support for the `<picture>` element
239
240# 5.0.11 (2023-03-23)
241
242### Bug Fixes
243
244- Fix French translations
245- **Panzoom** Don't add `is-draggable` class name if content fits
246
247# 5.0.10 (2023-03-22)
248
249### Bug Fixes
250
251- **Fancybox** Reverse the scroll direction of the mouse wheel ([425](https://github.com/fancyapps/ui/issues/425))
252
253### Features
254
255- Add Spanish translations
256- Add French translations
257
258# 5.0.9 (2023-03-21)
259
260### Bug Fixes
261
262- **Fancybox** Background scrolls behind dialog ([450](https://github.com/fancyapps/ui/issues/450))
263- **Fancybox** Fixed unwanted double click in specific scenarios
264
265### Features
266
267- Added Italian translations
268- **Fancybox** Opt out of youtube nocookie ([447](https://github.com/fancyapps/ui/issues/447))
269- **Fancybox** Allow to download as different names ([440](https://github.com/fancyapps/ui/issues/440))
270
271# 5.0.8 (2023-03-16)
272
273### Bug Fixes
274
275- **Fancybox** Improved focus handling
276
277### Features
278
279- Added language template and Polish translations
280- **Fancybox** Support private Vimeo videos ([436](https://github.com/fancyapps/ui/issues/436))
281- **Carousel** Added `getProgress(slideIndex)` method that can be used for tweening (parallax effects, etc)
282
283# 5.0.7 (2023-03-12)
284
285### Bug Fixes
286
287- **Fancybox** Use image src as fallback for thumbnail source ([434](https://github.com/fancyapps/ui/issues/434))
288- **Fancybox** Link focus on opening ([424](https://github.com/fancyapps/ui/issues/424))
289- **Fancybox** Typescript warnings ([427](https://github.com/fancyapps/ui/issues/427) and [429](https://github.com/fancyapps/ui/issues/429))
290
291### Features
292
293- **Fancybox** Add `mainClass` option ([432](https://github.com/fancyapps/ui/issues/432))
294- **Carousel** Revised flick gesture recognition
295- **Carousel** Revised thumbnail size and spacing
296- **Carousel** Improved positioning when changing container width
297
298# 5.0.6 (2023-03-03)
299
300### Bug Fixes
301
302- **Fancybox** Fix issue with page scrolling when using `wheel: "slide"` and `hideScrollbar: false` options
303
304### Features
305
306- **Fancybox** Changed navigation order when using `wheel: "slide"` option
307- **Fancybox** Added class name for thumbnails to indicate content type (`type-image`, `type-video`, etc)
308
309# 5.0.5 (2023-03-02)
310
311### Bug Fixes
312
313- **Fancybox** Fix issue with zoom-in animation from large images
314
315# 5.0.4 (2023-03-01)
316
317### Bug Fixes
318
319- **Fancybox** Fix blurry images in Safari
320
321### Features
322
323- **Fancybox** Improved accessibility
324
325# 5.0.3 (2023-02-26)
326
327### Bug Fixes
328
329- **Fancybox** Fix `Images.protected` option
330
331# 5.0.2 (2023-02-24)
332
333### Bug Fixes
334
335- **Fancybox** Typos in the template ([406](https://github.com/fancyapps/ui/issues/406))
336
337## Features
338
339- **Fancybox** Added `dnt` option for Vimeo videos
340
341# 5.0.1 (2023-02-23)
342
343### Bug Fixes
344
345- **Fancybox** Problem with preloading images ([403](https://github.com/fancyapps/ui/issues/403))
346
347# 5.0.0 (2023-02-22)
348
349Initial release