Skip to content

Commit

Permalink
Adding avif as format
Browse files Browse the repository at this point in the history
  • Loading branch information
ars committed Apr 3, 2024
1 parent 0f2a2f3 commit d035421
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Andre Rinas
Copyright (c) 2024 Andre Rinas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ Run `gulp watch` to enable continous watching of both src/simple-lightbox.js and
Just call `gulp build` to have all files and variants created inside dist!

### Changelog
**2.14.3 - Adding avif as format**
**2.14.2 - Fixing error with caption sibling matches and added option for captionHTML.**
**2.14.1 - Fixing #314. The captionSelector was to heavy. To not break #61 again I wrote a workaround for css + & > selectors**
**2.14.0 - Merging #309 - thank to @romain25, fixing #305 - removeChild error if overlay option is disabled.**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelightbox",
"version": "2.14.2",
"version": "2.14.3",
"homepage": "https://simplelightbox.com/",
"authors": [
"André Rinas <[email protected]> (https://www.andrerinas.de)"
Expand Down
6 changes: 3 additions & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="../dist/simple-lightbox.css?v2.14.2" />
<link rel="stylesheet" href="../dist/simple-lightbox.css?v2.14.3" />
<link rel="stylesheet" href="demo.css" />
<title>SimpleLightbox by André Rinas</title>
</head>
Expand All @@ -14,7 +14,7 @@
<div class="header-container">
<div class="container demo-container">
<div class="info">
<h1>SimpleLightbox <sup>v2.14.2</sup></h1>
<h1>SimpleLightbox <sup>v2.14.3</sup></h1>
<span class="subline">Touch-friendly image lightbox</span>
<nav>
<a class="btn donate" target="_blank" href="https://www.paypal.me/anrinas">Donate</a>
Expand Down Expand Up @@ -776,7 +776,7 @@ <h2>Author/<br />Contributors</h2>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="../dist/simple-lightbox.js?v2.14.2"></script>
<script src="../dist/simple-lightbox.js?v2.14.3"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-lightbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
body.hidden-scroll {
overflow: hidden;
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-lightbox.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
class SimpleLightbox {

Expand All @@ -25,7 +25,7 @@ class SimpleLightbox {
closeText: '&times;',
swipeClose: true,
showCounter: true,
fileExt: 'png|jpg|jpeg|gif|webp',
fileExt: 'png|jpg|jpeg|gif|webp|avif',
animationSlide: true,
animationSpeed: 250,
preloading: true,
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-lightbox.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
"use strict";
Expand Down Expand Up @@ -59,7 +59,7 @@ var SimpleLightbox = /*#__PURE__*/function () {
closeText: '&times;',
swipeClose: true,
showCounter: true,
fileExt: 'png|jpg|jpeg|gif|webp',
fileExt: 'png|jpg|jpeg|gif|webp|avif',
animationSlide: true,
animationSpeed: 250,
preloading: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-lightbox.jquery.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/simple-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
(function (global){(function (){
Expand Down Expand Up @@ -47,7 +47,7 @@ var SimpleLightbox = /*#__PURE__*/function () {
closeText: '&times;',
swipeClose: true,
showCounter: true,
fileExt: 'png|jpg|jpeg|gif|webp',
fileExt: 'png|jpg|jpeg|gif|webp|avif',
animationSlide: true,
animationSpeed: 250,
preloading: true,
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-lightbox.legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
var isCallable = require('../internals/is-callable');
Expand Down Expand Up @@ -5214,7 +5214,7 @@ var SimpleLightbox = /*#__PURE__*/function () {
closeText: '&times;',
swipeClose: true,
showCounter: true,
fileExt: 'png|jpg|jpeg|gif|webp',
fileExt: 'png|jpg|jpeg|gif|webp|avif',
animationSlide: true,
animationSpeed: 250,
preloading: true,
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-lightbox.legacy.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/simple-lightbox.min.css

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

2 changes: 1 addition & 1 deletion dist/simple-lightbox.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/simple-lightbox.modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/
"use strict";

Expand Down Expand Up @@ -45,7 +45,7 @@ var SimpleLightbox = /*#__PURE__*/function () {
closeText: '&times;',
swipeClose: true,
showCounter: true,
fileExt: 'png|jpg|jpeg|gif|webp',
fileExt: 'png|jpg|jpeg|gif|webp|avif',
animationSlide: true,
animationSpeed: 250,
preloading: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelightbox",
"version": "2.14.2",
"version": "2.14.3",
"description": "Touch-friendly modern image lightbox for mobile and desktop with optional jQuery support",
"main": "dist/simple-lightbox.js",
"style": "dist/simple-lightbox.css",
Expand Down
2 changes: 1 addition & 1 deletion src/license-notice.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
By André Rinas, www.andrerinas.de
Documentation, www.simplelightbox.com
Available for use under the MIT License
Version 2.14.2
Version 2.14.3
*/

0 comments on commit d035421

Please sign in to comment.