@knotx/plugins-canvas-scrollbar 0.4.16 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -223,7 +223,7 @@ class CanvasScrollbar extends (_a = core.BasePlugin, _showScrollbars_dec = [deco
|
|
|
223
223
|
if (this.scrollbarTimeout) {
|
|
224
224
|
clearTimeout(this.scrollbarTimeout);
|
|
225
225
|
}
|
|
226
|
-
this.scrollbarTimeout =
|
|
226
|
+
this.scrollbarTimeout = setTimeout(() => {
|
|
227
227
|
this.showScrollbars = false;
|
|
228
228
|
}, this.config.hideTimeout);
|
|
229
229
|
});
|
package/dist/index.js
CHANGED
|
@@ -221,7 +221,7 @@ class CanvasScrollbar extends (_a = BasePlugin, _showScrollbars_dec = [observabl
|
|
|
221
221
|
if (this.scrollbarTimeout) {
|
|
222
222
|
clearTimeout(this.scrollbarTimeout);
|
|
223
223
|
}
|
|
224
|
-
this.scrollbarTimeout =
|
|
224
|
+
this.scrollbarTimeout = setTimeout(() => {
|
|
225
225
|
this.showScrollbars = false;
|
|
226
226
|
}, this.config.hideTimeout);
|
|
227
227
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/plugins-canvas-scrollbar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Canvas Scrollbar Plugin for Knotx",
|
|
5
5
|
"author": "boenfu",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
],
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"react": ">=17.0.0",
|
|
32
|
-
"@knotx/jsx": "0.
|
|
33
|
-
"@knotx/plugins-canvas": "0.
|
|
32
|
+
"@knotx/jsx": "0.5.0",
|
|
33
|
+
"@knotx/plugins-canvas": "0.5.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@knotx/core": "0.
|
|
37
|
-
"@knotx/decorators": "0.
|
|
36
|
+
"@knotx/core": "0.5.0",
|
|
37
|
+
"@knotx/decorators": "0.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/react": "^17.0.0",
|
|
41
41
|
"react": "^17.0.0",
|
|
42
|
-
"@knotx/build-config": "0.
|
|
43
|
-
"@knotx/eslint-config": "0.
|
|
44
|
-
"@knotx/jsx": "0.
|
|
45
|
-
"@knotx/plugins-canvas": "0.
|
|
46
|
-
"@knotx/typescript-config": "0.
|
|
42
|
+
"@knotx/build-config": "0.5.0",
|
|
43
|
+
"@knotx/eslint-config": "0.5.0",
|
|
44
|
+
"@knotx/jsx": "0.5.0",
|
|
45
|
+
"@knotx/plugins-canvas": "0.5.0",
|
|
46
|
+
"@knotx/typescript-config": "0.5.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "unbuild",
|