Update npm packages and install swiped-events

This commit is contained in:
Paul Nicoué 2022-11-22 12:13:21 +01:00
parent 0aeb6105ea
commit 9592df66b9
6 changed files with 1197 additions and 1126 deletions

View file

@ -1,5 +1,5 @@
import Splide from '@splidejs/splide';
import create from 'swipe-events';
import create from 'swiped-events';
// ----------------------------------------------------------------------------
// DATA
@ -56,8 +56,8 @@ function setUpSlider() {
rewind: true,
rewindByDrag: true,
speed: 400,
fixedWidth: '100vw',
fixedHeight: '100vh',
width: '100vw',
height: '100vh',
arrows: false,
pagination: false,
easing: 'ease-in-out',

2284
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,16 +6,16 @@
"not dead"
],
"devDependencies": {
"@splidejs/splide": "^4.0.7",
"@symfony/webpack-encore": "^3.0.0",
"autoprefixer": "^10.4.7",
"core-js": "^3.23.4",
"@splidejs/splide": "^4.1.4",
"@symfony/webpack-encore": "^3.1.0",
"autoprefixer": "^10.4.13",
"core-js": "^3.26.1",
"postcss-loader": "^7.0.1",
"sass": "^1.53.0",
"sass-loader": "^13.0.2",
"swipe-events": "^1.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"sass": "^1.56.1",
"sass-loader": "^13.2.0",
"swiped-events": "^1.1.7",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack-notifier": "^1.15.0"
},
"private": true,

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,15 @@
/*!
* Splide.js
* Version : 4.0.7
* Version : 4.1.4
* License : MIT
* Copyright: 2022 Naotoshi Fujita
*/
/*!
* swiped-events.js - v@version@
* Pure JavaScript swipe events
* https://github.com/john-doherty/swiped-events
* @inspiration https://stackoverflow.com/questions/16348031/disable-scrolling-when-touch-moving-certain-element
* @author John Doherty <www.johndoherty.info>
* @license MIT
*/

File diff suppressed because one or more lines are too long