fix(core): update

This commit is contained in:
Philipp Kunz 2021-09-01 22:44:43 +02:00
parent aabda883cd
commit 122c535dec
3 changed files with 10 additions and 10 deletions

14
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.52", "version": "1.0.52",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^1.0.90", "@designestate/dees-domtools": "^1.0.91",
"@designestate/dees-element": "^1.0.19", "@designestate/dees-element": "^1.0.19",
"@designestate/dees-wcctools": "^1.0.57", "@designestate/dees-wcctools": "^1.0.57",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",
@ -1893,9 +1893,9 @@
} }
}, },
"node_modules/@designestate/dees-domtools": { "node_modules/@designestate/dees-domtools": {
"version": "1.0.90", "version": "1.0.91",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.90.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.91.tgz",
"integrity": "sha512-tQ8tlBunWMSza+kvZaCVExJnl45jgNGuqbK9bdPBczwllUAVNLVRNaAucEeMj1SiDAKOg8zwshkQJ4AWcjSidw==", "integrity": "sha512-1lsp3iBfI7dX1sm+TUI7U5xjSsxlaYjs7May9LmOaxg1M8oYJtcwnFsyQ4yeAAw7Nopucm+rOGjmdODcAr8V/Q==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@apiglobal/typedrequest": "^1.0.56", "@apiglobal/typedrequest": "^1.0.56",
@ -17435,9 +17435,9 @@
} }
}, },
"@designestate/dees-domtools": { "@designestate/dees-domtools": {
"version": "1.0.90", "version": "1.0.91",
"resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.90.tgz", "resolved": "https://verdaccio.lossless.one/@designestate%2fdees-domtools/-/dees-domtools-1.0.91.tgz",
"integrity": "sha512-tQ8tlBunWMSza+kvZaCVExJnl45jgNGuqbK9bdPBczwllUAVNLVRNaAucEeMj1SiDAKOg8zwshkQJ4AWcjSidw==", "integrity": "sha512-1lsp3iBfI7dX1sm+TUI7U5xjSsxlaYjs7May9LmOaxg1M8oYJtcwnFsyQ4yeAAw7Nopucm+rOGjmdODcAr8V/Q==",
"requires": { "requires": {
"@apiglobal/typedrequest": "^1.0.56", "@apiglobal/typedrequest": "^1.0.56",
"@designestate/dees-comms": "^1.0.9", "@designestate/dees-comms": "^1.0.9",

View File

@ -13,7 +13,7 @@
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^1.0.90", "@designestate/dees-domtools": "^1.0.91",
"@designestate/dees-element": "^1.0.19", "@designestate/dees-element": "^1.0.19",
"@designestate/dees-wcctools": "^1.0.57", "@designestate/dees-wcctools": "^1.0.57",
"@fortawesome/fontawesome-svg-core": "^1.2.36", "@fortawesome/fontawesome-svg-core": "^1.2.36",

View File

@ -175,7 +175,7 @@ export class DeesStepper extends DeesElement {
this.setScrollStatus(); this.setScrollStatus();
} }
public scroller: typeof domtools.plugins.sweetScroll.prototype; public scroller: typeof domtools.plugins.SweetScroll.prototype;
public async setScrollStatus() { public async setScrollStatus() {
await domtools.plugins.smartdelay.delayFor(50); await domtools.plugins.smartdelay.delayFor(50);
@ -191,7 +191,7 @@ export class DeesStepper extends DeesElement {
console.log(scrollPosition); console.log(scrollPosition);
const domtoolsInstance = await domtools.DomTools.setupDomTools() const domtoolsInstance = await domtools.DomTools.setupDomTools()
if (!this.scroller) { if (!this.scroller) {
this.scroller = new domtools.plugins.sweetScroll({ this.scroller = new domtools.plugins.SweetScroll({
vertical: true, vertical: true,
horizontal: false, horizontal: false,
easing: 'easeInOutQuint' easing: 'easeInOutQuint'