@enact/ui 4.5.2 → 4.5.4
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/AnnounceDecorator/Announce.js +1 -40
- package/AnnounceDecorator/AnnounceDecorator.js +3 -21
- package/AnnounceDecorator/tests/Announce-specs.js +2 -7
- package/AnnounceDecorator/tests/AnnounceDecorator-specs.js +2 -6
- package/AnnounceDecorator/tests/useAnnounce-specs.js +8 -19
- package/AnnounceDecorator/useAnnounce.js +0 -6
- package/BodyText/BodyText.js +6 -26
- package/BodyText/tests/BodyText-specs.js +0 -19
- package/Button/Button.js +26 -56
- package/Button/tests/Button-specs.js +0 -26
- package/CHANGELOG.md +10 -0
- package/Cancelable/Cancelable.js +8 -47
- package/Cancelable/cancelHandler.js +5 -12
- package/Cancelable/modalHandler.js +3 -11
- package/Cancelable/tests/Cancelable-specs.js +3 -57
- package/Changeable/Changeable.js +2 -34
- package/Changeable/tests/Changeable-specs.js +20 -66
- package/ComponentOverride/ComponentOverride.js +1 -13
- package/FloatingLayer/FloatingLayer.js +17 -73
- package/FloatingLayer/FloatingLayerContainer.js +0 -15
- package/FloatingLayer/FloatingLayerDecorator.js +4 -17
- package/FloatingLayer/Scrim.js +9 -53
- package/FloatingLayer/index.js +0 -4
- package/FloatingLayer/tests/FloatingLayer-specs.js +8 -22
- package/FloatingLayer/tests/Scrim-specs.js +0 -9
- package/FloatingLayer/tests/useFloatingLayerDecorator-specs.js +0 -13
- package/FloatingLayer/useFloatingLayer.js +3 -14
- package/FloatingLayer/useFloatingLayerDecorator.js +3 -11
- package/ForwardRef/ForwardRef.js +1 -10
- package/GridListImageItem/GridListImageItem.js +17 -50
- package/Group/Group.js +4 -35
- package/Group/GroupItem.js +15 -32
- package/Group/tests/Group-specs.js +0 -32
- package/Heading/Heading.js +7 -35
- package/Heading/tests/Heading-specs.js +81 -14
- package/Icon/Icon.js +14 -48
- package/Icon/tests/Icon-specs.js +0 -22
- package/IconButton/IconButton.js +12 -50
- package/IconButton/tests/IconButton-specs.js +0 -7
- package/Image/Image.js +16 -45
- package/Image/tests/Image-specs.js +0 -14
- package/ImageItem/ImageItem.js +17 -46
- package/ImageItem/tests/ImageItem-specs.js +0 -25
- package/Item/Item.js +8 -32
- package/Item/tests/Item-specs.js +0 -24
- package/LabeledIcon/LabeledIcon.js +19 -50
- package/LabeledIcon/tests/LabeledIcon-specs.js +0 -14
- package/Layout/Cell.js +11 -37
- package/Layout/Layout.js +14 -37
- package/Layout/tests/Layout-specs.js +10 -39
- package/Marquee/MarqueeBase.js +29 -63
- package/Marquee/MarqueeController.js +11 -72
- package/Marquee/MarqueeDecorator.js +62 -196
- package/Marquee/index.js +1 -5
- package/Marquee/tests/Marquee-specs.js +258 -87
- package/Measurable/Measurable.js +12 -34
- package/Measurable/tests/Measurable-specs.js +115 -0
- package/Media/Media.js +15 -65
- package/Media/tests/Media-specs.js +168 -0
- package/Placeholder/PlaceholderControllerDecorator.js +7 -43
- package/Placeholder/PlaceholderDecorator.js +7 -38
- package/Placeholder/index.js +0 -4
- package/Placeholder/tests/PlaceholderControllerDecorator-specs.js +25 -0
- package/Placeholder/tests/PlaceholderDecorator-specs.js +28 -0
- package/ProgressBar/ProgressBar.js +13 -44
- package/ProgressBar/tests/ProgressBar-specs.js +0 -17
- package/RadioDecorator/RadioControllerDecorator.js +1 -29
- package/RadioDecorator/RadioDecorator.js +4 -42
- package/RadioDecorator/tests/RadioDecorator-specs.js +12 -49
- package/Repeater/Repeater.js +9 -33
- package/Repeater/tests/Repeater-specs.js +0 -38
- package/Resizable/Resizable.js +7 -35
- package/Resizable/tests/Resizable-specs.js +34 -0
- package/Routable/Link.js +8 -44
- package/Routable/Routable.js +10 -33
- package/Routable/Route.js +0 -6
- package/Routable/Router.js +13 -56
- package/Routable/tests/Routable-specs.js +7 -33
- package/Routable/tests/Router-specs.js +18 -44
- package/Routable/useLink.js +4 -8
- package/Routable/util.js +18 -24
- package/Scrollable/ScrollAnimator.js +49 -65
- package/Scrollable/ScrollThumb.js +2 -13
- package/Scrollable/Scrollable.js +179 -386
- package/Scrollable/ScrollableNative.js +188 -391
- package/Scrollable/Scrollbar.js +28 -100
- package/Scroller/Scroller.js +15 -39
- package/Scroller/ScrollerBasic.js +34 -89
- package/Scroller/UiScrollerBase.js +31 -84
- package/Skinnable/Skinnable.js +11 -38
- package/Skinnable/tests/Skinnable-specs.js +3 -74
- package/Skinnable/tests/useSkins-specs.js +1 -13
- package/Skinnable/tests/util-specs.js +0 -14
- package/Skinnable/useSkins.js +8 -15
- package/Skinnable/util.js +9 -20
- package/Slider/Knob.js +5 -24
- package/Slider/PositionDecorator.js +16 -54
- package/Slider/Slider.js +26 -64
- package/Slider/tests/Slider-specs.js +94 -7
- package/Slider/utils.js +0 -2
- package/SlotItem/SlotItem.js +15 -41
- package/SlotItem/tests/SlotItem-specs.js +0 -5
- package/Slottable/Slottable.js +4 -12
- package/Slottable/tests/Slottable-specs.js +19 -46
- package/Slottable/tests/useSlots-specs.js +27 -65
- package/Slottable/useSlots.js +8 -33
- package/Spinner/Spinner.js +15 -42
- package/Spinner/tests/Spinner-specs.js +0 -15
- package/ToggleIcon/ToggleIcon.js +10 -36
- package/ToggleIcon/tests/ToggleIcon-specs.js +0 -16
- package/ToggleItem/ToggleItem.js +15 -52
- package/ToggleItem/tests/ToggleItem-specs.js +0 -30
- package/Toggleable/Toggle.js +1 -15
- package/Toggleable/Toggleable.js +12 -45
- package/Toggleable/tests/Toggleable-specs.js +28 -96
- package/Toggleable/useToggle.js +3 -19
- package/Touchable/ClickAllow.js +5 -14
- package/Touchable/Drag.js +16 -54
- package/Touchable/Flick.js +11 -42
- package/Touchable/Hold.js +21 -68
- package/Touchable/Touch.js +37 -65
- package/Touchable/Touchable.js +32 -71
- package/Touchable/config.js +8 -22
- package/Touchable/tests/Touchable-specs.js +270 -119
- package/Touchable/tests/useTouch-specs.js +6 -80
- package/Touchable/useTouch.js +17 -34
- package/Transition/Transition.js +37 -118
- package/Transition/tests/Transition-specs.js +20 -60
- package/ViewManager/Arranger.js +10 -22
- package/ViewManager/TransitionGroup.js +31 -106
- package/ViewManager/View.js +35 -91
- package/ViewManager/ViewManager.js +19 -83
- package/ViewManager/tests/View-specs.js +0 -17
- package/ViewManager/tests/ViewManager-specs.js +236 -305
- package/ViewManager/tests/test-utils.js +0 -8
- package/VirtualList/UiVirtualListBase.js +256 -406
- package/VirtualList/VirtualList.js +29 -69
- package/VirtualList/VirtualListBase.js +0 -3
- package/VirtualList/VirtualListBasic.js +270 -428
- package/VirtualList/tests/VirtualList-specs.js +9 -37
- package/internal/IdProvider/IdProvider.js +7 -21
- package/internal/IdProvider/Provider.js +4 -17
- package/internal/IdProvider/tests/IdProvider-specs.js +44 -0
- package/internal/IdProvider/tests/useId-specs.js +7 -22
- package/internal/IdProvider/useId.js +0 -6
- package/internal/Pure/Pure.js +3 -30
- package/internal/Pure/tests/Pure-specs.js +88 -0
- package/internal/localized-fonts/localized-fonts.js +33 -62
- package/internal/localized-fonts/tests/localized-fonts-specs.js +33 -0
- package/internal/selection/selection.js +1 -6
- package/internal/selection/tests/selection-specs.js +6 -4
- package/internal/validators/tests/validators-specs.js +80 -0
- package/internal/validators/validators.js +14 -34
- package/package.json +8 -2
- package/resolution/ResolutionDecorator.js +4 -40
- package/resolution/index.js +0 -7
- package/resolution/resolution.js +42 -80
- package/resolution/tests/ResolutionDecorator-specs.js +4 -11
- package/resolution/tests/resolution-specs.js +2 -2
- package/useControlledState/tests/useControlledState-specs.js +15 -46
- package/useControlledState/useControlledState.js +11 -22
- package/useScroll/ScrollAnimator.js +49 -65
- package/useScroll/Scrollbar.js +22 -58
- package/useScroll/ScrollbarTrack.js +3 -19
- package/useScroll/useScroll.js +325 -502
- package/useScroll/utilDOM.js +8 -14
- package/useScroll/utilEvent.js +0 -4
|
@@ -35,30 +35,19 @@ Object.defineProperty(exports, "itemSizesShape", {
|
|
|
35
35
|
return _VirtualListBasic.itemSizesShape;
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
|
|
39
38
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
40
|
-
|
|
41
39
|
var _Resizable = require("../Resizable");
|
|
42
|
-
|
|
43
40
|
var _useScroll3 = _interopRequireDefault(require("../useScroll"));
|
|
44
|
-
|
|
45
41
|
var _Scrollbar = _interopRequireDefault(require("../useScroll/Scrollbar"));
|
|
46
|
-
|
|
47
42
|
var _UiVirtualListBase = require("./UiVirtualListBase");
|
|
48
|
-
|
|
49
43
|
var _VirtualListBasic = require("./VirtualListBasic");
|
|
50
|
-
|
|
51
44
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
52
|
-
|
|
53
45
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
54
|
-
|
|
55
46
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
56
|
-
|
|
57
47
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
58
|
-
|
|
59
48
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
60
|
-
|
|
61
49
|
var nop = function nop() {};
|
|
50
|
+
|
|
62
51
|
/**
|
|
63
52
|
* An unstyled scrollable virtual list component with touch support.
|
|
64
53
|
*
|
|
@@ -68,23 +57,23 @@ var nop = function nop() {};
|
|
|
68
57
|
* @ui
|
|
69
58
|
* @public
|
|
70
59
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
60
|
var VirtualList = function VirtualList(props) {
|
|
74
61
|
// Hooks
|
|
75
|
-
var _useScroll = (0, _useScroll3["default"])(props),
|
|
76
|
-
scrollContentHandle = _useScroll.scrollContentHandle,
|
|
77
|
-
ScrollContentWrapper = _useScroll.scrollContentWrapper,
|
|
78
|
-
isHorizontalScrollbarVisible = _useScroll.isHorizontalScrollbarVisible,
|
|
79
|
-
isVerticalScrollbarVisible = _useScroll.isVerticalScrollbarVisible,
|
|
80
|
-
resizeContextProps = _useScroll.resizeContextProps,
|
|
81
|
-
scrollContainerProps = _useScroll.scrollContainerProps,
|
|
82
|
-
scrollInnerContainerProps = _useScroll.scrollInnerContainerProps,
|
|
83
|
-
scrollContentWrapperProps = _useScroll.scrollContentWrapperProps,
|
|
84
|
-
scrollContentProps = _useScroll.scrollContentProps,
|
|
85
|
-
verticalScrollbarProps = _useScroll.verticalScrollbarProps,
|
|
86
|
-
horizontalScrollbarProps = _useScroll.horizontalScrollbarProps; // Render
|
|
87
62
|
|
|
63
|
+
var _useScroll = (0, _useScroll3["default"])(props),
|
|
64
|
+
scrollContentHandle = _useScroll.scrollContentHandle,
|
|
65
|
+
ScrollContentWrapper = _useScroll.scrollContentWrapper,
|
|
66
|
+
isHorizontalScrollbarVisible = _useScroll.isHorizontalScrollbarVisible,
|
|
67
|
+
isVerticalScrollbarVisible = _useScroll.isVerticalScrollbarVisible,
|
|
68
|
+
resizeContextProps = _useScroll.resizeContextProps,
|
|
69
|
+
scrollContainerProps = _useScroll.scrollContainerProps,
|
|
70
|
+
scrollInnerContainerProps = _useScroll.scrollInnerContainerProps,
|
|
71
|
+
scrollContentWrapperProps = _useScroll.scrollContentWrapperProps,
|
|
72
|
+
scrollContentProps = _useScroll.scrollContentProps,
|
|
73
|
+
verticalScrollbarProps = _useScroll.verticalScrollbarProps,
|
|
74
|
+
horizontalScrollbarProps = _useScroll.horizontalScrollbarProps;
|
|
75
|
+
|
|
76
|
+
// Render
|
|
88
77
|
|
|
89
78
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Resizable.ResizeContext.Provider, _objectSpread(_objectSpread({}, resizeContextProps), {}, {
|
|
90
79
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({}, scrollContainerProps), {}, {
|
|
@@ -98,12 +87,9 @@ var VirtualList = function VirtualList(props) {
|
|
|
98
87
|
}))
|
|
99
88
|
}));
|
|
100
89
|
};
|
|
101
|
-
|
|
102
90
|
exports.VirtualList = VirtualList;
|
|
103
91
|
VirtualList.displayName = 'ui:VirtualList';
|
|
104
|
-
VirtualList.propTypes =
|
|
105
|
-
/** @lends ui/VirtualList.VirtualList.prototype */
|
|
106
|
-
{
|
|
92
|
+
VirtualList.propTypes = /** @lends ui/VirtualList.VirtualList.prototype */{
|
|
107
93
|
/**
|
|
108
94
|
* A callback function that receives a reference to the `scrollTo` feature.
|
|
109
95
|
*
|
|
@@ -135,7 +121,6 @@ VirtualList.propTypes =
|
|
|
135
121
|
* @public
|
|
136
122
|
*/
|
|
137
123
|
cbScrollTo: _propTypes["default"].func,
|
|
138
|
-
|
|
139
124
|
/**
|
|
140
125
|
* The layout direction of the list.
|
|
141
126
|
*
|
|
@@ -148,7 +133,6 @@ VirtualList.propTypes =
|
|
|
148
133
|
* @public
|
|
149
134
|
*/
|
|
150
135
|
direction: _propTypes["default"].oneOf(['horizontal', 'vertical']),
|
|
151
|
-
|
|
152
136
|
/**
|
|
153
137
|
* Specifies how to show horizontal scrollbar.
|
|
154
138
|
*
|
|
@@ -162,7 +146,6 @@ VirtualList.propTypes =
|
|
|
162
146
|
* @public
|
|
163
147
|
*/
|
|
164
148
|
horizontalScrollbar: _propTypes["default"].oneOf(['auto', 'visible', 'hidden']),
|
|
165
|
-
|
|
166
149
|
/**
|
|
167
150
|
* Prevents scroll by dragging or flicking on the list.
|
|
168
151
|
*
|
|
@@ -171,7 +154,6 @@ VirtualList.propTypes =
|
|
|
171
154
|
* @private
|
|
172
155
|
*/
|
|
173
156
|
noScrollByDrag: _propTypes["default"].bool,
|
|
174
|
-
|
|
175
157
|
/**
|
|
176
158
|
* Prevents scroll by wheeling on the list.
|
|
177
159
|
*
|
|
@@ -180,7 +162,6 @@ VirtualList.propTypes =
|
|
|
180
162
|
* @public
|
|
181
163
|
*/
|
|
182
164
|
noScrollByWheel: _propTypes["default"].bool,
|
|
183
|
-
|
|
184
165
|
/**
|
|
185
166
|
* Called when scrolling.
|
|
186
167
|
*
|
|
@@ -196,7 +177,6 @@ VirtualList.propTypes =
|
|
|
196
177
|
* @public
|
|
197
178
|
*/
|
|
198
179
|
onScroll: _propTypes["default"].func,
|
|
199
|
-
|
|
200
180
|
/**
|
|
201
181
|
* Called when scroll starts.
|
|
202
182
|
*
|
|
@@ -227,7 +207,6 @@ VirtualList.propTypes =
|
|
|
227
207
|
* @public
|
|
228
208
|
*/
|
|
229
209
|
onScrollStart: _propTypes["default"].func,
|
|
230
|
-
|
|
231
210
|
/**
|
|
232
211
|
* Called when scroll stops.
|
|
233
212
|
*
|
|
@@ -258,7 +237,6 @@ VirtualList.propTypes =
|
|
|
258
237
|
* @public
|
|
259
238
|
*/
|
|
260
239
|
onScrollStop: _propTypes["default"].func,
|
|
261
|
-
|
|
262
240
|
/**
|
|
263
241
|
* Specifies overscroll effects shows on which type of inputs.
|
|
264
242
|
*
|
|
@@ -271,7 +249,6 @@ VirtualList.propTypes =
|
|
|
271
249
|
pageKey: _propTypes["default"].bool,
|
|
272
250
|
wheel: _propTypes["default"].bool
|
|
273
251
|
}),
|
|
274
|
-
|
|
275
252
|
/**
|
|
276
253
|
* The ARIA role for the list.
|
|
277
254
|
*
|
|
@@ -280,7 +257,6 @@ VirtualList.propTypes =
|
|
|
280
257
|
* @public
|
|
281
258
|
*/
|
|
282
259
|
role: _propTypes["default"].string,
|
|
283
|
-
|
|
284
260
|
/**
|
|
285
261
|
* Specifies how to scroll.
|
|
286
262
|
*
|
|
@@ -293,7 +269,6 @@ VirtualList.propTypes =
|
|
|
293
269
|
* @public
|
|
294
270
|
*/
|
|
295
271
|
scrollMode: _propTypes["default"].string,
|
|
296
|
-
|
|
297
272
|
/**
|
|
298
273
|
* Specifies how to show vertical scrollbar.
|
|
299
274
|
*
|
|
@@ -326,6 +301,7 @@ VirtualList.defaultProps = {
|
|
|
326
301
|
scrollMode: 'translate',
|
|
327
302
|
verticalScrollbar: 'auto'
|
|
328
303
|
};
|
|
304
|
+
|
|
329
305
|
/**
|
|
330
306
|
* An unstyled scrollable virtual grid list component with touch support.
|
|
331
307
|
*
|
|
@@ -335,21 +311,19 @@ VirtualList.defaultProps = {
|
|
|
335
311
|
* @ui
|
|
336
312
|
* @public
|
|
337
313
|
*/
|
|
338
|
-
|
|
339
314
|
var VirtualGridList = function VirtualGridList(props) {
|
|
340
315
|
var _useScroll2 = (0, _useScroll3["default"])(props),
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
316
|
+
scrollContentHandle = _useScroll2.scrollContentHandle,
|
|
317
|
+
ScrollContentWrapper = _useScroll2.scrollContentWrapper,
|
|
318
|
+
isHorizontalScrollbarVisible = _useScroll2.isHorizontalScrollbarVisible,
|
|
319
|
+
isVerticalScrollbarVisible = _useScroll2.isVerticalScrollbarVisible,
|
|
320
|
+
resizeContextProps = _useScroll2.resizeContextProps,
|
|
321
|
+
scrollContainerProps = _useScroll2.scrollContainerProps,
|
|
322
|
+
scrollInnerContainerProps = _useScroll2.scrollInnerContainerProps,
|
|
323
|
+
scrollContentWrapperProps = _useScroll2.scrollContentWrapperProps,
|
|
324
|
+
scrollContentProps = _useScroll2.scrollContentProps,
|
|
325
|
+
verticalScrollbarProps = _useScroll2.verticalScrollbarProps,
|
|
326
|
+
horizontalScrollbarProps = _useScroll2.horizontalScrollbarProps;
|
|
353
327
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Resizable.ResizeContext.Provider, _objectSpread(_objectSpread({}, resizeContextProps), {}, {
|
|
354
328
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({}, scrollContainerProps), {}, {
|
|
355
329
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", _objectSpread(_objectSpread({}, scrollInnerContainerProps), {}, {
|
|
@@ -362,12 +336,9 @@ var VirtualGridList = function VirtualGridList(props) {
|
|
|
362
336
|
}))
|
|
363
337
|
}));
|
|
364
338
|
};
|
|
365
|
-
|
|
366
339
|
exports.VirtualGridList = VirtualGridList;
|
|
367
340
|
VirtualGridList.displayName = 'ui:VirtualGridList';
|
|
368
|
-
VirtualGridList.propTypes =
|
|
369
|
-
/** @lends ui/VirtualList.VirtualGridList.prototype */
|
|
370
|
-
{
|
|
341
|
+
VirtualGridList.propTypes = /** @lends ui/VirtualList.VirtualGridList.prototype */{
|
|
371
342
|
/**
|
|
372
343
|
* A callback function that receives a reference to the `scrollTo` feature.
|
|
373
344
|
*
|
|
@@ -399,7 +370,6 @@ VirtualGridList.propTypes =
|
|
|
399
370
|
* @public
|
|
400
371
|
*/
|
|
401
372
|
cbScrollTo: _propTypes["default"].func,
|
|
402
|
-
|
|
403
373
|
/**
|
|
404
374
|
* The layout direction of the list.
|
|
405
375
|
*
|
|
@@ -412,7 +382,6 @@ VirtualGridList.propTypes =
|
|
|
412
382
|
* @public
|
|
413
383
|
*/
|
|
414
384
|
direction: _propTypes["default"].oneOf(['horizontal', 'vertical']),
|
|
415
|
-
|
|
416
385
|
/**
|
|
417
386
|
* Specifies how to show horizontal scrollbar.
|
|
418
387
|
*
|
|
@@ -426,7 +395,6 @@ VirtualGridList.propTypes =
|
|
|
426
395
|
* @public
|
|
427
396
|
*/
|
|
428
397
|
horizontalScrollbar: _propTypes["default"].oneOf(['auto', 'visible', 'hidden']),
|
|
429
|
-
|
|
430
398
|
/**
|
|
431
399
|
* Prevents scroll by dragging or flicking on the list.
|
|
432
400
|
*
|
|
@@ -435,7 +403,6 @@ VirtualGridList.propTypes =
|
|
|
435
403
|
* @private
|
|
436
404
|
*/
|
|
437
405
|
noScrollByDrag: _propTypes["default"].bool,
|
|
438
|
-
|
|
439
406
|
/**
|
|
440
407
|
* Prevents scroll by wheeling on the list.
|
|
441
408
|
*
|
|
@@ -444,7 +411,6 @@ VirtualGridList.propTypes =
|
|
|
444
411
|
* @public
|
|
445
412
|
*/
|
|
446
413
|
noScrollByWheel: _propTypes["default"].bool,
|
|
447
|
-
|
|
448
414
|
/**
|
|
449
415
|
* Called when scrolling.
|
|
450
416
|
*
|
|
@@ -460,7 +426,6 @@ VirtualGridList.propTypes =
|
|
|
460
426
|
* @public
|
|
461
427
|
*/
|
|
462
428
|
onScroll: _propTypes["default"].func,
|
|
463
|
-
|
|
464
429
|
/**
|
|
465
430
|
* Called when scroll starts.
|
|
466
431
|
*
|
|
@@ -491,7 +456,6 @@ VirtualGridList.propTypes =
|
|
|
491
456
|
* @public
|
|
492
457
|
*/
|
|
493
458
|
onScrollStart: _propTypes["default"].func,
|
|
494
|
-
|
|
495
459
|
/**
|
|
496
460
|
* Called when scroll stops.
|
|
497
461
|
*
|
|
@@ -522,7 +486,6 @@ VirtualGridList.propTypes =
|
|
|
522
486
|
* @public
|
|
523
487
|
*/
|
|
524
488
|
onScrollStop: _propTypes["default"].func,
|
|
525
|
-
|
|
526
489
|
/**
|
|
527
490
|
* Specifies overscroll effects shows on which type of inputs.
|
|
528
491
|
*
|
|
@@ -535,7 +498,6 @@ VirtualGridList.propTypes =
|
|
|
535
498
|
pageKey: _propTypes["default"].bool,
|
|
536
499
|
wheel: _propTypes["default"].bool
|
|
537
500
|
}),
|
|
538
|
-
|
|
539
501
|
/**
|
|
540
502
|
* The ARIA role for the list.
|
|
541
503
|
*
|
|
@@ -544,7 +506,6 @@ VirtualGridList.propTypes =
|
|
|
544
506
|
* @public
|
|
545
507
|
*/
|
|
546
508
|
role: _propTypes["default"].string,
|
|
547
|
-
|
|
548
509
|
/**
|
|
549
510
|
* Specifies how to scroll.
|
|
550
511
|
*
|
|
@@ -557,7 +518,6 @@ VirtualGridList.propTypes =
|
|
|
557
518
|
* @public
|
|
558
519
|
*/
|
|
559
520
|
scrollMode: _propTypes["default"].string,
|
|
560
|
-
|
|
561
521
|
/**
|
|
562
522
|
* Specifies how to show vertical scrollbar.
|
|
563
523
|
*
|
|
@@ -28,10 +28,7 @@ Object.defineProperty(exports, "itemSizesShape", {
|
|
|
28
28
|
return _VirtualListBasic.itemSizesShape;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
|
|
32
31
|
var _UiVirtualListBase = require("./UiVirtualListBase");
|
|
33
|
-
|
|
34
32
|
var _VirtualListBasic = require("./VirtualListBasic");
|
|
35
|
-
|
|
36
33
|
var _default = _UiVirtualListBase.UiVirtualListBase;
|
|
37
34
|
exports["default"] = _default;
|