@enact/ui 4.0.10 → 4.0.11
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/CHANGELOG.md
CHANGED
package/Scrollable/Scrollbar.js
CHANGED
|
@@ -63,7 +63,8 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
63
63
|
|
|
64
64
|
var minThumbSize = 18,
|
|
65
65
|
// Size in pixels
|
|
66
|
-
|
|
66
|
+
nop = function nop() {},
|
|
67
|
+
thumbHidingDelay = 400; // in milliseconds
|
|
67
68
|
|
|
68
69
|
/*
|
|
69
70
|
* Set CSS Varaible value.
|
|
@@ -74,6 +75,7 @@ thumbHidingDelay = 400; // in milliseconds
|
|
|
74
75
|
* @param {String} value - CSS Variable value.
|
|
75
76
|
*/
|
|
76
77
|
|
|
78
|
+
|
|
77
79
|
var setCSSVariable = function setCSSVariable(element, variable, value) {
|
|
78
80
|
_reactDom["default"].findDOMNode(element).style.setProperty(variable, value); // eslint-disable-line react/no-find-dom-node
|
|
79
81
|
|
|
@@ -270,6 +272,8 @@ ScrollbarBase.propTypes =
|
|
|
270
272
|
vertical: _propTypes["default"].bool
|
|
271
273
|
};
|
|
272
274
|
ScrollbarBase.defaultProps = {
|
|
275
|
+
childRenderer: nop,
|
|
276
|
+
// eslint-disable-line react/default-props-match-prop-types
|
|
273
277
|
corner: false,
|
|
274
278
|
css: _ScrollbarModule["default"],
|
|
275
279
|
vertical: true
|
|
@@ -1375,6 +1375,8 @@ var VirtualListBaseFactory = function VirtualListBaseFactory(type) {
|
|
|
1375
1375
|
cbScrollTo: nop,
|
|
1376
1376
|
dataSize: 0,
|
|
1377
1377
|
direction: 'vertical',
|
|
1378
|
+
itemsRenderer: nop,
|
|
1379
|
+
// eslint-disable-line react/default-props-match-prop-types
|
|
1378
1380
|
overhang: 3,
|
|
1379
1381
|
pageScroll: false,
|
|
1380
1382
|
spacing: 0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.11",
|
|
4
4
|
"description": "A collection of simplified unstyled cross-platform UI components for Enact",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@enact/core": "^4.0.
|
|
28
|
+
"@enact/core": "^4.0.11",
|
|
29
29
|
"classnames": "^2.2.5",
|
|
30
30
|
"direction": "^1.0.1",
|
|
31
31
|
"invariant": "^2.2.2",
|