@splunk/react-ui 4.11.0 → 4.12.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.
Files changed (100) hide show
  1. package/Accordion.js +2 -2
  2. package/Anchor.js +2 -2
  3. package/Animation.js +4 -4
  4. package/Box.js +2 -2
  5. package/Button.js +23 -23
  6. package/ButtonGroup.js +2 -2
  7. package/CHANGELOG.md +28 -0
  8. package/Calendar.js +20 -20
  9. package/Card.js +17 -17
  10. package/CardLayout.js +2 -2
  11. package/Chip.js +17 -17
  12. package/Clickable.js +7 -7
  13. package/CloseButton.js +15 -15
  14. package/Code.js +4 -4
  15. package/CollapsiblePanel.js +4 -4
  16. package/Color.js +17 -17
  17. package/ColumnLayout.js +7 -7
  18. package/ComboBox.js +12 -11
  19. package/Concertina.js +11 -11
  20. package/ControlGroup.js +4 -4
  21. package/Date.js +8 -8
  22. package/DefinitionList.js +2 -2
  23. package/Dropdown.js +4 -4
  24. package/EventListener.js +4 -4
  25. package/File.js +25 -25
  26. package/FormRows.js +10 -10
  27. package/Heading.js +2 -2
  28. package/Image.js +19 -19
  29. package/Layer.js +8 -8
  30. package/Link.js +9 -9
  31. package/List.js +2 -2
  32. package/Markdown.js +17 -17
  33. package/Menu.js +33 -33
  34. package/Message.js +31 -31
  35. package/MessageBar.js +32 -32
  36. package/Modal.js +8 -8
  37. package/ModalLayer.js +4 -4
  38. package/Monogram.js +2 -2
  39. package/Multiselect.js +93 -89
  40. package/Number.js +4 -4
  41. package/Paginator.js +20 -20
  42. package/Paragraph.js +2 -2
  43. package/Popover.js +6 -6
  44. package/Progress.js +8 -8
  45. package/RadioBar.js +4 -4
  46. package/RadioList.js +2 -2
  47. package/Resize.js +2 -2
  48. package/ResultsMenu.js +60 -39
  49. package/ScreenReaderContent.js +2 -2
  50. package/Scroll.js +4 -4
  51. package/ScrollContainerContext.js +2 -2
  52. package/Search.js +17 -16
  53. package/Select.js +86 -84
  54. package/SidePanel.js +4 -4
  55. package/Slider.js +8 -8
  56. package/SlidingPanels.js +2 -2
  57. package/StaticContent.js +2 -2
  58. package/StepBar.js +8 -8
  59. package/Switch.js +6 -6
  60. package/TabBar.js +6 -6
  61. package/TabLayout.js +4 -4
  62. package/Table.js +114 -82
  63. package/Text.js +109 -236
  64. package/TextArea.js +1444 -0
  65. package/Tooltip.js +4 -4
  66. package/TransitionOpen.js +8 -7
  67. package/Typography.js +225 -0
  68. package/WaitSpinner.js +4 -4
  69. package/cypress.json +1 -0
  70. package/package.json +12 -2
  71. package/test-runner-jest.config.js +38 -0
  72. package/types/src/ComboBox/ComboBox.d.ts +13 -4
  73. package/types/src/Multiselect/Compact.d.ts +11 -4
  74. package/types/src/Multiselect/Multiselect.d.ts +14 -5
  75. package/types/src/Multiselect/Normal.d.ts +11 -4
  76. package/types/src/ResultsMenu/ResultsMenu.d.ts +8 -2
  77. package/types/src/Search/Search.d.ts +4 -0
  78. package/types/src/Select/Select.d.ts +13 -4
  79. package/types/src/Select/SelectBase.d.ts +12 -4
  80. package/types/src/SidePanel/SidePanel.d.ts +2 -1
  81. package/types/src/Table/HeadCell.d.ts +7 -3
  82. package/types/src/Table/Table.d.ts +2 -3
  83. package/types/src/Table/TableContext.d.ts +5 -0
  84. package/types/src/Text/Text.d.ts +21 -12
  85. package/types/src/TextArea/TextArea.d.ts +190 -0
  86. package/types/src/TextArea/docs/examples/Basic.d.ts +2 -0
  87. package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -0
  88. package/types/src/TextArea/docs/examples/Error.d.ts +2 -0
  89. package/types/src/TextArea/docs/examples/Inline.d.ts +2 -0
  90. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -0
  91. package/types/src/TextArea/index.d.ts +2 -0
  92. package/types/src/{Text → TextArea}/syncHeightWithShadow.d.ts +1 -2
  93. package/types/src/TransitionOpen/TransitionOpen.d.ts +1 -0
  94. package/types/src/TransitionOpen/index.d.ts +1 -0
  95. package/types/src/Typography/Typography.d.ts +78 -0
  96. package/types/src/Typography/docs/examples/Basic.d.ts +2 -0
  97. package/types/src/Typography/docs/examples/Variants.d.ts +2 -0
  98. package/types/src/Typography/index.d.ts +2 -0
  99. package/types/src/Typography/test/Typography.unit.d.ts +1 -0
  100. package/usePrevious.js +2 -2
package/Progress.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 162);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 164);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 162:
104
+ /***/ 164:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -123,18 +123,18 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
123
123
  var external_lodash_ = __webpack_require__(4);
124
124
 
125
125
  // EXTERNAL MODULE: external "@splunk/react-ui/AnimationToggle"
126
- var AnimationToggle_ = __webpack_require__(34);
126
+ var AnimationToggle_ = __webpack_require__(36);
127
127
 
128
128
  // EXTERNAL MODULE: external "styled-components"
129
129
  var external_styled_components_ = __webpack_require__(3);
130
130
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
131
131
 
132
132
  // EXTERNAL MODULE: external "tinycolor2"
133
- var external_tinycolor2_ = __webpack_require__(46);
133
+ var external_tinycolor2_ = __webpack_require__(47);
134
134
  var external_tinycolor2_default = /*#__PURE__*/__webpack_require__.n(external_tinycolor2_);
135
135
 
136
136
  // EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
137
- var Tooltip_ = __webpack_require__(48);
137
+ var Tooltip_ = __webpack_require__(49);
138
138
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
139
139
 
140
140
  // EXTERNAL MODULE: external "@splunk/react-ui/Box"
@@ -326,7 +326,7 @@ module.exports = require("styled-components");
326
326
 
327
327
  /***/ }),
328
328
 
329
- /***/ 34:
329
+ /***/ 36:
330
330
  /***/ (function(module, exports) {
331
331
 
332
332
  module.exports = require("@splunk/react-ui/AnimationToggle");
@@ -340,14 +340,14 @@ module.exports = require("lodash");
340
340
 
341
341
  /***/ }),
342
342
 
343
- /***/ 46:
343
+ /***/ 47:
344
344
  /***/ (function(module, exports) {
345
345
 
346
346
  module.exports = require("tinycolor2");
347
347
 
348
348
  /***/ }),
349
349
 
350
- /***/ 48:
350
+ /***/ 49:
351
351
  /***/ (function(module, exports) {
352
352
 
353
353
  module.exports = require("@splunk/react-ui/Tooltip");
package/RadioBar.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 124);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 125);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 124:
111
+ /***/ 125:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -137,7 +137,7 @@ var keyboard_ = __webpack_require__(9);
137
137
  var themes_ = __webpack_require__(0);
138
138
 
139
139
  // EXTERNAL MODULE: external "@splunk/react-ui/Button"
140
- var Button_ = __webpack_require__(17);
140
+ var Button_ = __webpack_require__(16);
141
141
  var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
142
142
 
143
143
  // EXTERNAL MODULE: external "styled-components"
@@ -595,7 +595,7 @@ RadioBarWithThemeOption.Option = RadioBar_Option;
595
595
 
596
596
  /***/ }),
597
597
 
598
- /***/ 17:
598
+ /***/ 16:
599
599
  /***/ (function(module, exports) {
600
600
 
601
601
  module.exports = require("@splunk/react-ui/Button");
package/RadioList.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 125);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 126);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 125:
111
+ /***/ 126:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Resize.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 163);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 165);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -142,7 +142,7 @@ module.exports = require("@splunk/react-ui/EventListener");
142
142
 
143
143
  /***/ }),
144
144
 
145
- /***/ 163:
145
+ /***/ 165:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "use strict";
package/ResultsMenu.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 164);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 166);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,6 +101,13 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
+ /***/ 100:
105
+ /***/ (function(module, exports) {
106
+
107
+ module.exports = require("@splunk/react-ui/WaitSpinner");
108
+
109
+ /***/ }),
110
+
104
111
  /***/ 11:
105
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
113
 
@@ -135,7 +142,7 @@ module.exports = require("@splunk/react-ui/Menu");
135
142
 
136
143
  /***/ }),
137
144
 
138
- /***/ 164:
145
+ /***/ 166:
139
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
140
147
 
141
148
  "use strict";
@@ -160,7 +167,7 @@ var external_lodash_ = __webpack_require__(4);
160
167
  var i18n_ = __webpack_require__(5);
161
168
 
162
169
  // EXTERNAL MODULE: external "@splunk/ui-utils/userAgent"
163
- var userAgent_ = __webpack_require__(98);
170
+ var userAgent_ = __webpack_require__(99);
164
171
 
165
172
  // EXTERNAL MODULE: external "@splunk/react-ui/Menu"
166
173
  var Menu_ = __webpack_require__(13);
@@ -171,7 +178,7 @@ var external_styled_components_ = __webpack_require__(3);
171
178
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
172
179
 
173
180
  // EXTERNAL MODULE: external "@splunk/react-ui/WaitSpinner"
174
- var WaitSpinner_ = __webpack_require__(99);
181
+ var WaitSpinner_ = __webpack_require__(100);
175
182
  var WaitSpinner_default = /*#__PURE__*/__webpack_require__.n(WaitSpinner_);
176
183
 
177
184
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -282,6 +289,7 @@ var propTypes = {
282
289
  loadingMessage: external_prop_types_default.a.node,
283
290
  maxHeight: external_prop_types_default.a.number,
284
291
  noOptionsMessage: external_prop_types_default.a.node,
292
+ onScroll: external_prop_types_default.a.func,
285
293
  onScrollBottom: external_prop_types_default.a.func,
286
294
  placement: external_prop_types_default.a.string
287
295
  };
@@ -336,13 +344,19 @@ var ResultsMenu_ResultsMenu = /*#__PURE__*/function (_Component) {
336
344
  });
337
345
 
338
346
  _defineProperty(_assertThisInitialized(_this), "handleScroll", function (e) {
339
- if (e.target && _this.state.menuEl) {
340
- var bottomScrollMenu = _this.state.menuEl.scrollHeight - _this.state.menuEl.offsetHeight - _this.scrollBottomOffset; // Adding 1 due to border of menu item.
347
+ var _this$props$onScroll, _this$props;
341
348
 
342
- if (_this.state.menuEl.scrollTop + 1 >= bottomScrollMenu) {
343
- _this.handleScrollBottom(e);
349
+ if (_this.props.onScrollBottom != null) {
350
+ if (e.target && _this.state.menuEl) {
351
+ var bottomScrollMenu = _this.state.menuEl.scrollHeight - _this.state.menuEl.offsetHeight - _this.scrollBottomOffset; // Adding 1 due to border of menu item.
352
+
353
+ if (_this.state.menuEl.scrollTop + 1 >= bottomScrollMenu) {
354
+ _this.handleScrollBottom(e);
355
+ }
344
356
  }
345
357
  }
358
+
359
+ (_this$props$onScroll = (_this$props = _this.props).onScroll) === null || _this$props$onScroll === void 0 ? void 0 : _this$props$onScroll.call(_this$props, e);
346
360
  });
347
361
 
348
362
  _defineProperty(_assertThisInitialized(_this), "handleWheelMenu", function (e) {
@@ -355,21 +369,27 @@ var ResultsMenu_ResultsMenu = /*#__PURE__*/function (_Component) {
355
369
  var currentChildrenCount = external_react_["Children"].count(_this.props.children);
356
370
  var _this$state = _this.state,
357
371
  childrenCount = _this$state.childrenCount,
358
- menuEl = _this$state.menuEl,
359
372
  menuMaxHeight = _this$state.menuMaxHeight; // If menu is full length, load more items.
360
373
 
361
- if (menuEl && menuEl.scrollHeight === menuEl.offsetHeight) {
362
- _this.handleScrollBottom();
363
- }
374
+ if (_this.checkFullHeight()) {
375
+ _this.handleScrollBottom(null);
376
+ } // avoid triggering this logic if this.state.childrenCount is null
377
+ // because that's not a real change in the number of children
378
+ // and thus we want to avoid resetting the value of scrollBottomTriggered
364
379
 
365
- if (menuMaxHeight && currentChildrenCount !== childrenCount) {
366
- // Update state if children count differs.
380
+
381
+ if (menuMaxHeight && currentChildrenCount != null && currentChildrenCount !== childrenCount) {
367
382
  _this.setState({
368
383
  numberOfItemsLoaded: currentChildrenCount - (childrenCount !== null && childrenCount !== void 0 ? childrenCount : 0),
369
- childrenCount: currentChildrenCount,
370
384
  scrollBottomTriggered: false
371
385
  });
372
386
  }
387
+
388
+ if (currentChildrenCount !== childrenCount) {
389
+ _this.setState({
390
+ childrenCount: currentChildrenCount
391
+ });
392
+ }
373
393
  });
374
394
 
375
395
  _this.state = {
@@ -420,14 +440,20 @@ var ResultsMenu_ResultsMenu = /*#__PURE__*/function (_Component) {
420
440
  value: function handleScrollBottom(e) {
421
441
  // Prevent multiple calls to onScrollBottom.
422
442
  if (!this.state.scrollBottomTriggered) {
423
- var _this$props$onScrollB, _this$props;
443
+ var _this$props$onScrollB, _this$props2;
424
444
 
425
445
  this.setState({
426
446
  scrollBottomTriggered: true
427
447
  });
428
- (_this$props$onScrollB = (_this$props = this.props).onScrollBottom) === null || _this$props$onScrollB === void 0 ? void 0 : _this$props$onScrollB.call(_this$props, e);
448
+ (_this$props$onScrollB = (_this$props2 = this.props).onScrollBottom) === null || _this$props$onScrollB === void 0 ? void 0 : _this$props$onScrollB.call(_this$props2, e);
429
449
  }
430
450
  }
451
+ }, {
452
+ key: "checkFullHeight",
453
+ value: function checkFullHeight() {
454
+ var menuEl = this.state.menuEl;
455
+ return menuEl && menuEl.scrollHeight === menuEl.offsetHeight;
456
+ }
431
457
  }, {
432
458
  key: "renderFooterMessage",
433
459
  value: function renderFooterMessage() {
@@ -440,24 +466,25 @@ var ResultsMenu_ResultsMenu = /*#__PURE__*/function (_Component) {
440
466
  }, {
441
467
  key: "render",
442
468
  value: function render() {
443
- var _this$props2 = this.props,
444
- animateLoading = _this$props2.animateLoading,
445
- children = _this$props2.children,
446
- controlledExternally = _this$props2.controlledExternally,
447
- childrenStart = _this$props2.childrenStart,
448
- isLoading = _this$props2.isLoading,
449
- loadingMessage = _this$props2.loadingMessage,
450
- noOptionsMessage = _this$props2.noOptionsMessage,
451
- onScrollBottom = _this$props2.onScrollBottom,
452
- placement = _this$props2.placement,
453
- style = _this$props2.style,
454
- tabIndex = _this$props2.tabIndex;
469
+ var _this$props3 = this.props,
470
+ animateLoading = _this$props3.animateLoading,
471
+ children = _this$props3.children,
472
+ controlledExternally = _this$props3.controlledExternally,
473
+ childrenStart = _this$props3.childrenStart,
474
+ isLoading = _this$props3.isLoading,
475
+ loadingMessage = _this$props3.loadingMessage,
476
+ noOptionsMessage = _this$props3.noOptionsMessage,
477
+ onScrollBottom = _this$props3.onScrollBottom,
478
+ placement = _this$props3.placement,
479
+ style = _this$props3.style,
480
+ tabIndex = _this$props3.tabIndex;
455
481
  var otherProps = Object(external_lodash_["omit"])(this.props, Object(external_lodash_["keys"])(ResultsMenu.propTypes));
456
482
  // Assumption: that you cannot be filtered if you are a result
457
483
  var hasResults = external_react_["Children"].toArray(children).filter(external_react_["isValidElement"]).some(function (_ref) {
458
484
  var type = _ref.type;
459
485
  return !(type === Menu_["Divider"] && type.filterFirst || (type === Menu_["Divider"] || type === Menu_["Heading"]) && (type.filterLast || type.filterConsecutive));
460
486
  });
487
+ var fullHeight = this.checkFullHeight();
461
488
  /* eslint-disable jsx-a11y/aria-role */
462
489
 
463
490
  return /*#__PURE__*/external_react_default.a.createElement(Styled, _extends({
@@ -480,16 +507,17 @@ var ResultsMenu_ResultsMenu = /*#__PURE__*/function (_Component) {
480
507
  },
481
508
  controlledExternally: controlledExternally,
482
509
  elementRef: this.handleMenuMount,
483
- onScroll: onScrollBottom ? this.handleScroll : undefined,
510
+ onScroll: this.handleScroll,
484
511
  stopScrollPropagation: true,
485
512
  tabIndex: tabIndex
486
513
  }, !hasResults && noOptionsMessage && !isLoading && /*#__PURE__*/external_react_default.a.createElement(Menu_default.a.Item, {
487
514
  "data-test": "no-results-message",
488
515
  disabled: true
489
- }, noOptionsMessage), children, onScrollBottom &&
516
+ }, noOptionsMessage), children, onScrollBottom && !fullHeight &&
490
517
  /*#__PURE__*/
491
518
  // Bottom spacer fills in the space of new items being loaded by using the minimum possible height x menuItems.
492
519
  external_react_default.a.createElement("div", {
520
+ "data-test": "results-menu-bottom-spacer",
493
521
  style: {
494
522
  height: this.state.scrollBottomTriggered ? this.state.numberOfItemsLoaded * this.itemMinHeight || 0 : 0
495
523
  }
@@ -539,17 +567,10 @@ module.exports = require("@splunk/ui-utils/i18n");
539
567
 
540
568
  /***/ }),
541
569
 
542
- /***/ 98:
543
- /***/ (function(module, exports) {
544
-
545
- module.exports = require("@splunk/ui-utils/userAgent");
546
-
547
- /***/ }),
548
-
549
570
  /***/ 99:
550
571
  /***/ (function(module, exports) {
551
572
 
552
- module.exports = require("@splunk/react-ui/WaitSpinner");
573
+ module.exports = require("@splunk/ui-utils/userAgent");
553
574
 
554
575
  /***/ })
555
576
 
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 165);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 167);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 165:
104
+ /***/ 167:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Scroll.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 140);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 141);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
128
128
 
129
129
  /***/ }),
130
130
 
131
- /***/ 140:
131
+ /***/ 141:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
@@ -167,7 +167,7 @@ var EventListener_ = __webpack_require__(15);
167
167
  var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
168
168
 
169
169
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
170
- var ScrollContainerContext_ = __webpack_require__(35);
170
+ var ScrollContainerContext_ = __webpack_require__(37);
171
171
 
172
172
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
173
173
  var updateReactRef = __webpack_require__(11);
@@ -575,7 +575,7 @@ module.exports = require("@splunk/react-ui/Animation");
575
575
 
576
576
  /***/ }),
577
577
 
578
- /***/ 35:
578
+ /***/ 37:
579
579
  /***/ (function(module, exports) {
580
580
 
581
581
  module.exports = require("@splunk/react-ui/ScrollContainerContext");
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 176);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 178);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 176:
90
+ /***/ 178:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
package/Search.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 166);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 168);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/id");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 100:
104
+ /***/ 101:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/usePrevious");
@@ -142,14 +142,7 @@ module.exports = require("@splunk/react-ui/Menu");
142
142
 
143
143
  /***/ }),
144
144
 
145
- /***/ 16:
146
- /***/ (function(module, exports) {
147
-
148
- module.exports = require("@splunk/react-ui/Popover");
149
-
150
- /***/ }),
151
-
152
- /***/ 166:
145
+ /***/ 168:
153
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
154
147
 
155
148
  "use strict";
@@ -186,15 +179,15 @@ var keyboard_ = __webpack_require__(9);
186
179
  var Menu_ = __webpack_require__(13);
187
180
 
188
181
  // EXTERNAL MODULE: external "@splunk/react-ui/usePrevious"
189
- var usePrevious_ = __webpack_require__(100);
182
+ var usePrevious_ = __webpack_require__(101);
190
183
  var usePrevious_default = /*#__PURE__*/__webpack_require__.n(usePrevious_);
191
184
 
192
185
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
193
- var Popover_ = __webpack_require__(16);
186
+ var Popover_ = __webpack_require__(17);
194
187
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
195
188
 
196
189
  // EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
197
- var ResultsMenu_ = __webpack_require__(32);
190
+ var ResultsMenu_ = __webpack_require__(33);
198
191
  var ResultsMenu_default = /*#__PURE__*/__webpack_require__.n(ResultsMenu_);
199
192
 
200
193
  // EXTERNAL MODULE: external "@splunk/react-ui/Text"
@@ -400,6 +393,7 @@ var Search_propTypes = {
400
393
  onFocus: external_prop_types_default.a.func,
401
394
  onKeyDown: external_prop_types_default.a.func,
402
395
  onOpen: external_prop_types_default.a.func,
396
+ onScroll: external_prop_types_default.a.func,
403
397
  placeholder: external_prop_types_default.a.string,
404
398
  value: external_prop_types_default.a.string
405
399
  };
@@ -678,7 +672,7 @@ function Search(_ref2) {
678
672
  controlledExternally: true,
679
673
  maxHeight: maxHeight !== null && maxHeight !== void 0 ? maxHeight : undefined,
680
674
  isLoading: isLoadingOptions
681
- }, Object(external_lodash_["pick"])(otherProps, 'className'), {
675
+ }, Object(external_lodash_["pick"])(otherProps, 'className', 'onScroll'), {
682
676
  noOptionsMessage: noOptionsMessage,
683
677
  footerMessage: footerMessage,
684
678
  animateLoading: animateLoading,
@@ -702,7 +696,7 @@ function Search(_ref2) {
702
696
 
703
697
  return /*#__PURE__*/external_react_default.a.createElement(Text_default.a, Search_extends({
704
698
  "data-test": "search"
705
- }, Object(external_lodash_["omit"])(otherProps, 'className'), {
699
+ }, Object(external_lodash_["omit"])(otherProps, 'className', 'onScroll'), {
706
700
  appearance: "search",
707
701
  autoCapitalize: "off",
708
702
  autoComplete: "off",
@@ -750,6 +744,13 @@ Search.Heading = Menu_["Heading"];
750
744
 
751
745
 
752
746
 
747
+ /***/ }),
748
+
749
+ /***/ 17:
750
+ /***/ (function(module, exports) {
751
+
752
+ module.exports = require("@splunk/react-ui/Popover");
753
+
753
754
  /***/ }),
754
755
 
755
756
  /***/ 2:
@@ -766,7 +767,7 @@ module.exports = require("@splunk/react-ui/Text");
766
767
 
767
768
  /***/ }),
768
769
 
769
- /***/ 32:
770
+ /***/ 33:
770
771
  /***/ (function(module, exports) {
771
772
 
772
773
  module.exports = require("@splunk/react-ui/ResultsMenu");