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 Splide from '@splidejs/splide';
import create from 'swipe-events'; import create from 'swiped-events';
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// DATA // DATA
@ -56,8 +56,8 @@ function setUpSlider() {
rewind: true, rewind: true,
rewindByDrag: true, rewindByDrag: true,
speed: 400, speed: 400,
fixedWidth: '100vw', width: '100vw',
fixedHeight: '100vh', height: '100vh',
arrows: false, arrows: false,
pagination: false, pagination: false,
easing: 'ease-in-out', 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" "not dead"
], ],
"devDependencies": { "devDependencies": {
"@splidejs/splide": "^4.0.7", "@splidejs/splide": "^4.1.4",
"@symfony/webpack-encore": "^3.0.0", "@symfony/webpack-encore": "^3.1.0",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.13",
"core-js": "^3.23.4", "core-js": "^3.26.1",
"postcss-loader": "^7.0.1", "postcss-loader": "^7.0.1",
"sass": "^1.53.0", "sass": "^1.56.1",
"sass-loader": "^13.0.2", "sass-loader": "^13.2.0",
"swipe-events": "^1.0.0", "swiped-events": "^1.1.7",
"ts-loader": "^9.3.1", "ts-loader": "^9.4.1",
"typescript": "^4.7.4", "typescript": "^4.9.3",
"webpack-notifier": "^1.15.0" "webpack-notifier": "^1.15.0"
}, },
"private": true, "private": true,

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,15 @@
/*! /*!
* Splide.js * Splide.js
* Version : 4.0.7 * Version : 4.1.4
* License : MIT * License : MIT
* Copyright: 2022 Naotoshi Fujita * 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