@splunk/react-ui 4.12.1 → 4.14.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 (122) hide show
  1. package/.storybook-visual/config/snapshotResolver.js +29 -0
  2. package/.storybook-visual/main.js +22 -0
  3. package/.storybook-visual/preview.jsx +31 -0
  4. package/.storybook-visual/scripts/test.sh +108 -0
  5. package/.storybook-visual/test-runner.js +108 -0
  6. package/Accordion.js +4 -4
  7. package/Anchor.js +2 -2
  8. package/Animation.js +6 -6
  9. package/AnimationToggle.js +2 -2
  10. package/Box.js +2 -2
  11. package/Button.js +23 -23
  12. package/ButtonGroup.js +2 -2
  13. package/ButtonSimple.js +7 -7
  14. package/CHANGELOG.md +33 -0
  15. package/Calendar.js +390 -95
  16. package/Card.js +25 -23
  17. package/CardLayout.js +2 -2
  18. package/Chip.js +17 -17
  19. package/Clickable.js +4 -4
  20. package/CloseButton.js +15 -15
  21. package/Code.js +4 -4
  22. package/CollapsiblePanel.js +15 -11
  23. package/Color.js +26 -26
  24. package/ColumnLayout.js +6 -6
  25. package/ComboBox.js +19 -19
  26. package/Concertina.js +6 -6
  27. package/ControlGroup.js +14 -13
  28. package/Date.js +118 -55
  29. package/DefinitionList.js +2 -2
  30. package/Divider.js +194 -0
  31. package/Dropdown.js +17 -13
  32. package/EventListener.js +4 -4
  33. package/File.js +23 -23
  34. package/FormRows.js +14 -14
  35. package/Heading.js +2 -2
  36. package/Image.js +19 -19
  37. package/JSONTree.js +2 -2
  38. package/Layer.js +85 -8
  39. package/Link.js +4 -4
  40. package/List.js +2 -2
  41. package/Markdown.js +18 -18
  42. package/Menu.js +51 -52
  43. package/Message.js +39 -39
  44. package/MessageBar.js +29 -29
  45. package/Modal.js +63 -37
  46. package/ModalLayer.js +11 -11
  47. package/Monogram.js +2 -2
  48. package/Multiselect.js +134 -125
  49. package/Number.js +8 -6
  50. package/Paginator.js +48 -48
  51. package/Paragraph.js +2 -2
  52. package/Popover.js +186 -19
  53. package/Progress.js +8 -8
  54. package/RadioBar.js +2 -2
  55. package/RadioList.js +4 -4
  56. package/Resize.js +4 -4
  57. package/ResultsMenu.js +20 -20
  58. package/ScreenReaderContent.js +2 -2
  59. package/Scroll.js +13 -13
  60. package/ScrollContainerContext.js +154 -3
  61. package/Search.js +25 -25
  62. package/Select.js +114 -105
  63. package/SidePanel.js +6 -6
  64. package/Slider.js +14 -14
  65. package/SlidingPanels.js +11 -11
  66. package/SplitButton.js +511 -0
  67. package/StaticContent.js +2 -2
  68. package/StepBar.js +10 -10
  69. package/Switch.js +8 -8
  70. package/TabBar.js +15 -15
  71. package/TabLayout.js +6 -6
  72. package/Table.js +275 -76
  73. package/Text.js +51 -42
  74. package/TextArea.js +41 -33
  75. package/Tooltip.js +17 -11
  76. package/TransitionOpen.js +39 -15
  77. package/Typography.js +4 -4
  78. package/WaitSpinner.js +4 -4
  79. package/package.json +12 -14
  80. package/test-runner-jest.config.js +18 -5
  81. package/types/src/Button/Button.d.ts +1 -1
  82. package/types/src/Calendar/Calendar.d.ts +15 -2
  83. package/types/src/Calendar/DateTable.d.ts +7 -3
  84. package/types/src/Calendar/Day.d.ts +14 -5
  85. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +7 -3
  86. package/types/src/Date/Date.d.ts +17 -8
  87. package/types/src/Date/docs/examples/CustomDate.d.ts +2 -2
  88. package/types/src/Date/docs/examples/Disabled.d.ts +2 -2
  89. package/types/src/Date/docs/examples/prisma/WithoutCalendar.d.ts +2 -0
  90. package/types/src/Divider/Divider.d.ts +20 -0
  91. package/types/src/Divider/docs/examples/AriaHidden.d.ts +2 -0
  92. package/types/src/Divider/docs/examples/Basic.d.ts +2 -0
  93. package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -0
  94. package/types/src/Divider/docs/examples/Vertical.d.ts +2 -0
  95. package/types/src/Divider/index.d.ts +1 -0
  96. package/types/src/Dropdown/Dropdown.d.ts +11 -3
  97. package/types/src/Modal/Modal.d.ts +7 -3
  98. package/types/src/Modal/ModalContext.d.ts +1 -0
  99. package/types/src/Number/Number.d.ts +5 -1
  100. package/types/src/Popover/Popover.d.ts +5 -1
  101. package/types/src/Popover/getPlacement.d.ts +1 -1
  102. package/types/src/SplitButton/Item.d.ts +45 -0
  103. package/types/src/SplitButton/SplitButton.d.ts +41 -0
  104. package/types/src/SplitButton/docs/examples/Basic.d.ts +1 -0
  105. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +1 -0
  106. package/types/src/SplitButton/docs/examples/Disabled.d.ts +1 -0
  107. package/types/src/SplitButton/docs/examples/prisma/Basic.d.ts +1 -0
  108. package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +1 -0
  109. package/types/src/SplitButton/index.d.ts +2 -0
  110. package/types/src/Table/HeadCell.d.ts +4 -1
  111. package/types/src/Table/HeadDropdownCell.d.ts +10 -3
  112. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +14 -0
  113. package/types/src/Text/Text.d.ts +5 -1
  114. package/types/src/TextArea/TextArea.d.ts +5 -1
  115. package/types/src/Tooltip/Tooltip.d.ts +10 -5
  116. package/types/src/TransitionOpen/TransitionOpen.d.ts +7 -3
  117. package/types/src/useForceUpdate/index.d.ts +2 -0
  118. package/types/src/useForceUpdate/useForceUpdate.d.ts +9 -0
  119. package/types/src/useKeyPress/index.d.ts +37 -0
  120. package/useForceUpdate.js +151 -0
  121. package/useKeyPress.js +160 -0
  122. package/usePrevious.js +2 -2
package/Table.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 = 110);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 115);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -271,12 +271,6 @@ module.exports = require("@splunk/ui-utils/keyboard");
271
271
 
272
272
  /***/ }),
273
273
  /* 10 */
274
- /***/ (function(module, exports) {
275
-
276
- module.exports = require("@splunk/ui-utils/id");
277
-
278
- /***/ }),
279
- /* 11 */
280
274
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
281
275
 
282
276
  "use strict";
@@ -301,6 +295,12 @@ function updateReactRef(ref, current) {
301
295
 
302
296
 
303
297
 
298
+ /***/ }),
299
+ /* 11 */
300
+ /***/ (function(module, exports) {
301
+
302
+ module.exports = require("@splunk/ui-utils/id");
303
+
304
304
  /***/ }),
305
305
  /* 12 */,
306
306
  /* 13 */,
@@ -322,14 +322,88 @@ module.exports = require("@splunk/react-ui/EventListener");
322
322
  module.exports = require("@splunk/react-ui/Button");
323
323
 
324
324
  /***/ }),
325
- /* 17 */
325
+ /* 17 */,
326
+ /* 18 */
326
327
  /***/ (function(module, exports) {
327
328
 
328
329
  module.exports = require("@splunk/react-ui/Popover");
329
330
 
330
331
  /***/ }),
331
- /* 18 */,
332
- /* 19 */,
332
+ /* 19 */
333
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
334
+
335
+ "use strict";
336
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getWindow; });
337
+ /* unused harmony export ssrWindow */
338
+ /* harmony import */ var _ssrDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27);
339
+ /* eslint-disable @typescript-eslint/no-empty-function */
340
+
341
+ var ssrWindow = {
342
+ document: _ssrDocument__WEBPACK_IMPORTED_MODULE_0__[/* ssrDocument */ "b"],
343
+ navigator: {
344
+ userAgent: ''
345
+ },
346
+ location: {
347
+ hash: '',
348
+ host: '',
349
+ hostname: '',
350
+ href: '',
351
+ origin: '',
352
+ pathname: '',
353
+ protocol: '',
354
+ search: ''
355
+ },
356
+ history: {
357
+ replaceState: function replaceState() {},
358
+ pushState: function pushState() {},
359
+ go: function go() {},
360
+ back: function back() {}
361
+ },
362
+ CustomEvent: function CustomEvent() {
363
+ return this;
364
+ },
365
+ addEventListener: function addEventListener() {},
366
+ removeEventListener: function removeEventListener() {},
367
+ getComputedStyle: function getComputedStyle() {
368
+ return {
369
+ getPropertyValue: function getPropertyValue() {
370
+ return '';
371
+ }
372
+ };
373
+ },
374
+ Image: function Image() {},
375
+ Date: function Date() {},
376
+ screen: {},
377
+ setTimeout: function setTimeout() {},
378
+ clearTimeout: function clearTimeout() {},
379
+ matchMedia: function matchMedia() {
380
+ return {};
381
+ },
382
+ requestAnimationFrame: function requestAnimationFrame(callback) {
383
+ if (typeof setTimeout === 'undefined') {
384
+ callback();
385
+ return null;
386
+ }
387
+
388
+ return setTimeout(callback, 0);
389
+ },
390
+ cancelAnimationFrame: function cancelAnimationFrame(id) {
391
+ if (typeof setTimeout === 'undefined') {
392
+ return;
393
+ }
394
+
395
+ clearTimeout(id);
396
+ }
397
+ };
398
+
399
+ function getWindow() {
400
+ var win = typeof window !== 'undefined' ? window : ssrWindow;
401
+ return win;
402
+ }
403
+
404
+
405
+
406
+ /***/ }),
333
407
  /* 20 */
334
408
  /***/ (function(module, exports) {
335
409
 
@@ -345,11 +419,82 @@ module.exports = require("@splunk/react-ui/Dropdown");
345
419
  /* 27 */
346
420
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
347
421
 
422
+ "use strict";
423
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDocument; });
424
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ssrDocument; });
425
+ /* eslint-disable @typescript-eslint/no-empty-function */
426
+ var ssrDocument = {
427
+ body: {
428
+ appendChild: function appendChild() {
429
+ return [];
430
+ }
431
+ },
432
+ addEventListener: function addEventListener() {},
433
+ removeEventListener: function removeEventListener() {},
434
+ activeElement: {
435
+ blur: function blur() {},
436
+ nodeName: ''
437
+ },
438
+ querySelector: function querySelector() {
439
+ return null;
440
+ },
441
+ querySelectorAll: function querySelectorAll() {
442
+ return [];
443
+ },
444
+ getElementById: function getElementById() {
445
+ return null;
446
+ },
447
+ createEvent: function createEvent() {
448
+ return {
449
+ initEvent: function initEvent() {}
450
+ };
451
+ },
452
+ createElement: function createElement() {
453
+ return {
454
+ children: [],
455
+ childNodes: [],
456
+ style: {},
457
+ setAttribute: function setAttribute() {},
458
+ getElementsByTagName: function getElementsByTagName() {
459
+ return [];
460
+ }
461
+ };
462
+ },
463
+ createElementNS: function createElementNS() {
464
+ return {};
465
+ },
466
+ importNode: function importNode() {
467
+ return null;
468
+ },
469
+ location: {
470
+ hash: '',
471
+ host: '',
472
+ hostname: '',
473
+ href: '',
474
+ origin: '',
475
+ pathname: '',
476
+ protocol: '',
477
+ search: ''
478
+ }
479
+ };
480
+
481
+ function getDocument() {
482
+ var doc = typeof document !== 'undefined' ? document : ssrDocument;
483
+ return doc;
484
+ }
485
+
486
+
487
+
488
+ /***/ }),
489
+ /* 28 */,
490
+ /* 29 */
491
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
492
+
348
493
  "use strict";
349
494
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
350
495
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
351
496
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
352
- /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33);
497
+ /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35);
353
498
  /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
354
499
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
355
500
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -391,34 +536,34 @@ function ChevronRight(props) {
391
536
  }
392
537
 
393
538
  /***/ }),
394
- /* 28 */,
395
- /* 29 */,
396
539
  /* 30 */,
397
540
  /* 31 */,
398
541
  /* 32 */,
399
- /* 33 */
542
+ /* 33 */,
543
+ /* 34 */,
544
+ /* 35 */
400
545
  /***/ (function(module, exports) {
401
546
 
402
547
  module.exports = require("@splunk/react-icons/ChevronRight");
403
548
 
404
549
  /***/ }),
405
- /* 34 */,
406
- /* 35 */,
407
550
  /* 36 */,
408
- /* 37 */
551
+ /* 37 */,
552
+ /* 38 */,
553
+ /* 39 */
409
554
  /***/ (function(module, exports) {
410
555
 
411
556
  module.exports = require("@splunk/react-ui/ScrollContainerContext");
412
557
 
413
558
  /***/ }),
414
- /* 38 */
559
+ /* 40 */
415
560
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
416
561
 
417
562
  "use strict";
418
563
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CaretDown; });
419
564
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
420
565
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
421
- /* harmony import */ var _splunk_react_icons_Caret__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39);
566
+ /* harmony import */ var _splunk_react_icons_Caret__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
422
567
  /* harmony import */ var _splunk_react_icons_Caret__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Caret__WEBPACK_IMPORTED_MODULE_1__);
423
568
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
424
569
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -448,14 +593,12 @@ function CaretDown(props) {
448
593
  }
449
594
 
450
595
  /***/ }),
451
- /* 39 */
596
+ /* 41 */
452
597
  /***/ (function(module, exports) {
453
598
 
454
599
  module.exports = require("@splunk/react-icons/Caret");
455
600
 
456
601
  /***/ }),
457
- /* 40 */,
458
- /* 41 */,
459
602
  /* 42 */,
460
603
  /* 43 */,
461
604
  /* 44 */,
@@ -463,17 +606,25 @@ module.exports = require("@splunk/react-icons/Caret");
463
606
  /* 46 */,
464
607
  /* 47 */,
465
608
  /* 48 */,
466
- /* 49 */
609
+ /* 49 */,
610
+ /* 50 */,
611
+ /* 51 */
612
+ /***/ (function(module, exports) {
613
+
614
+ module.exports = require("@splunk/react-icons/ChevronDown");
615
+
616
+ /***/ }),
617
+ /* 52 */
467
618
  /***/ (function(module, exports) {
468
619
 
469
620
  module.exports = require("@splunk/react-ui/Tooltip");
470
621
 
471
622
  /***/ }),
472
- /* 50 */,
473
- /* 51 */,
474
- /* 52 */,
475
623
  /* 53 */,
476
- /* 54 */
624
+ /* 54 */,
625
+ /* 55 */,
626
+ /* 56 */,
627
+ /* 57 */
477
628
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
478
629
 
479
630
  "use strict";
@@ -496,21 +647,21 @@ function assertDefined(val, msg) {
496
647
 
497
648
 
498
649
  /***/ }),
499
- /* 55 */,
500
- /* 56 */,
501
- /* 57 */,
502
650
  /* 58 */,
503
651
  /* 59 */,
504
652
  /* 60 */,
505
653
  /* 61 */,
506
- /* 62 */
654
+ /* 62 */,
655
+ /* 63 */,
656
+ /* 64 */,
657
+ /* 65 */
507
658
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
508
659
 
509
660
  "use strict";
510
661
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
511
662
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
512
663
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
513
- /* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(63);
664
+ /* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
514
665
  /* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__);
515
666
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
516
667
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -540,20 +691,20 @@ function MoreVertical(props) {
540
691
  }
541
692
 
542
693
  /***/ }),
543
- /* 63 */
694
+ /* 66 */
544
695
  /***/ (function(module, exports) {
545
696
 
546
697
  module.exports = require("@splunk/react-icons/MoreVertical");
547
698
 
548
699
  /***/ }),
549
- /* 64 */
700
+ /* 67 */
550
701
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
551
702
 
552
703
  "use strict";
553
704
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronDown; });
554
705
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
555
706
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
556
- /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65);
707
+ /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51);
557
708
  /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__);
558
709
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
559
710
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -595,24 +746,16 @@ function ChevronDown(props) {
595
746
  }
596
747
 
597
748
  /***/ }),
598
- /* 65 */
599
- /***/ (function(module, exports) {
600
-
601
- module.exports = require("@splunk/react-icons/ChevronDown");
602
-
603
- /***/ }),
604
- /* 66 */,
605
- /* 67 */,
606
749
  /* 68 */,
607
750
  /* 69 */,
608
- /* 70 */
751
+ /* 70 */,
752
+ /* 71 */,
753
+ /* 72 */
609
754
  /***/ (function(module, exports) {
610
755
 
611
756
  module.exports = require("@splunk/react-ui/Switch");
612
757
 
613
758
  /***/ }),
614
- /* 71 */,
615
- /* 72 */,
616
759
  /* 73 */,
617
760
  /* 74 */,
618
761
  /* 75 */,
@@ -643,39 +786,44 @@ module.exports = require("@splunk/react-ui/Switch");
643
786
  /* 100 */,
644
787
  /* 101 */,
645
788
  /* 102 */,
646
- /* 103 */
789
+ /* 103 */,
790
+ /* 104 */,
791
+ /* 105 */,
792
+ /* 106 */,
793
+ /* 107 */
647
794
  /***/ (function(module, exports) {
648
795
 
649
796
  module.exports = require("react-resize-detector");
650
797
 
651
798
  /***/ }),
652
- /* 104 */
799
+ /* 108 */
653
800
  /***/ (function(module, exports) {
654
801
 
655
802
  module.exports = require("@splunk/react-icons/SortedDown");
656
803
 
657
804
  /***/ }),
658
- /* 105 */
805
+ /* 109 */
659
806
  /***/ (function(module, exports) {
660
807
 
661
808
  module.exports = require("@splunk/react-icons/SortedUp");
662
809
 
663
810
  /***/ }),
664
- /* 106 */
811
+ /* 110 */
665
812
  /***/ (function(module, exports) {
666
813
 
667
814
  module.exports = require("@splunk/react-icons/Sort");
668
815
 
669
816
  /***/ }),
670
- /* 107 */
817
+ /* 111 */
671
818
  /***/ (function(module, exports) {
672
819
 
673
820
  module.exports = require("@splunk/react-icons/Info");
674
821
 
675
822
  /***/ }),
676
- /* 108 */,
677
- /* 109 */,
678
- /* 110 */
823
+ /* 112 */,
824
+ /* 113 */,
825
+ /* 114 */,
826
+ /* 115 */
679
827
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
680
828
 
681
829
  "use strict";
@@ -704,7 +852,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
704
852
  var external_lodash_ = __webpack_require__(4);
705
853
 
706
854
  // EXTERNAL MODULE: external "react-resize-detector"
707
- var external_react_resize_detector_ = __webpack_require__(103);
855
+ var external_react_resize_detector_ = __webpack_require__(107);
708
856
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
709
857
 
710
858
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -715,7 +863,7 @@ var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
715
863
  var keyboard_ = __webpack_require__(9);
716
864
 
717
865
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
718
- var ScrollContainerContext_ = __webpack_require__(37);
866
+ var ScrollContainerContext_ = __webpack_require__(39);
719
867
 
720
868
  // EXTERNAL MODULE: external "styled-components"
721
869
  var external_styled_components_ = __webpack_require__(3);
@@ -733,7 +881,10 @@ var Styled = external_styled_components_default.a.tbody.withConfig({
733
881
  })(["", " z-index:0;"], themes_["mixins"].reset('table-row-group'));
734
882
 
735
883
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
736
- var updateReactRef = __webpack_require__(11);
884
+ var updateReactRef = __webpack_require__(10);
885
+
886
+ // EXTERNAL MODULE: ./src/utils/ssrWindow.ts
887
+ var ssrWindow = __webpack_require__(19);
737
888
 
738
889
  // CONCATENATED MODULE: ./src/Table/Body.tsx
739
890
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -771,6 +922,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
771
922
 
772
923
 
773
924
 
925
+
774
926
  var propTypes = {
775
927
  /** @private. Generally passed by Table rather than added directly. */
776
928
  actions: external_prop_types_default.a.bool,
@@ -819,6 +971,7 @@ var Body_Body = /*#__PURE__*/function (_Component) {
819
971
  _defineProperty(_assertThisInitialized(_this), "handleDragStart", function (dragIndex, dragDataId) {
820
972
  var _this$el, _this$el$parentElemen, _this$el$parentElemen2, _this$el2;
821
973
 
974
+ var window = Object(ssrWindow["a" /* getWindow */])();
822
975
  _this.rect = (_this$el = _this.el) === null || _this$el === void 0 ? void 0 : (_this$el$parentElemen = _this$el.parentElement) === null || _this$el$parentElemen === void 0 ? void 0 : (_this$el$parentElemen2 = _this$el$parentElemen.parentElement) === null || _this$el$parentElemen2 === void 0 ? void 0 : _this$el$parentElemen2.getBoundingClientRect();
823
976
  _this.rowHeight = (_this$el2 = _this.el) === null || _this$el2 === void 0 ? void 0 : _this$el2.children[0].getBoundingClientRect().height;
824
977
 
@@ -1009,6 +1162,7 @@ var Body_Body = /*#__PURE__*/function (_Component) {
1009
1162
  }, {
1010
1163
  key: "cleanupDrag",
1011
1164
  value: function cleanupDrag() {
1165
+ var window = Object(ssrWindow["a" /* getWindow */])();
1012
1166
  window.removeEventListener('dragenter', this.handleDragEnter);
1013
1167
  window.removeEventListener('dragover', this.handleDragOver);
1014
1168
  window.removeEventListener('drop', this.handleDrop);
@@ -1408,7 +1562,7 @@ Cell_defineProperty(Cell_Cell, "defaultProps", Cell_defaultProps);
1408
1562
  var i18n_ = __webpack_require__(5);
1409
1563
 
1410
1564
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedDown"
1411
- var SortedDown_ = __webpack_require__(104);
1565
+ var SortedDown_ = __webpack_require__(108);
1412
1566
  var SortedDown_default = /*#__PURE__*/__webpack_require__.n(SortedDown_);
1413
1567
 
1414
1568
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -1455,7 +1609,7 @@ function SortedDown(props) {
1455
1609
  }, props));
1456
1610
  }
1457
1611
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedUp"
1458
- var SortedUp_ = __webpack_require__(105);
1612
+ var SortedUp_ = __webpack_require__(109);
1459
1613
  var SortedUp_default = /*#__PURE__*/__webpack_require__.n(SortedUp_);
1460
1614
 
1461
1615
  // CONCATENATED MODULE: ./src/icons/SortedUp.tsx
@@ -1496,7 +1650,7 @@ function SortedUp(props) {
1496
1650
  }, props));
1497
1651
  }
1498
1652
  // EXTERNAL MODULE: external "@splunk/react-icons/Sort"
1499
- var Sort_ = __webpack_require__(106);
1653
+ var Sort_ = __webpack_require__(110);
1500
1654
  var Sort_default = /*#__PURE__*/__webpack_require__.n(Sort_);
1501
1655
 
1502
1656
  // CONCATENATED MODULE: ./src/icons/Sort.tsx
@@ -1537,7 +1691,7 @@ function CaretDown(props) {
1537
1691
  }, props));
1538
1692
  }
1539
1693
  // EXTERNAL MODULE: ./src/icons/CaretDown.tsx
1540
- var icons_CaretDown = __webpack_require__(38);
1694
+ var icons_CaretDown = __webpack_require__(40);
1541
1695
 
1542
1696
  // EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
1543
1697
  var ScreenReaderContent_ = __webpack_require__(14);
@@ -1865,6 +2019,9 @@ function DragHandle(_ref) {
1865
2019
 
1866
2020
  DragHandle.propTypes = DragHandle_propTypes;
1867
2021
  /* harmony default export */ var Table_DragHandle = (DragHandle);
2022
+ // EXTERNAL MODULE: ./src/utils/ssrDocument.ts
2023
+ var ssrDocument = __webpack_require__(27);
2024
+
1868
2025
  // CONCATENATED MODULE: ./src/Table/HeadInner.tsx
1869
2026
  function HeadInner_extends() { HeadInner_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return HeadInner_extends.apply(this, arguments); }
1870
2027
 
@@ -1904,6 +2061,8 @@ function HeadInner_objectWithoutPropertiesLoose(source, excluded) { if (source =
1904
2061
 
1905
2062
 
1906
2063
 
2064
+
2065
+
1907
2066
  var HeadInner_propTypes = {
1908
2067
  align: external_prop_types_default.a.oneOf(['left', 'center', 'right']),
1909
2068
  columnId: external_prop_types_default.a.any,
@@ -2086,6 +2245,7 @@ function HeadInner(_ref) {
2086
2245
  var handleDragStart = function handleDragStart(e) {
2087
2246
  var _el$textContent;
2088
2247
 
2248
+ var document = Object(ssrDocument["a" /* getDocument */])();
2089
2249
  var el = ref.current;
2090
2250
 
2091
2251
  if (e.dataTransfer.setDragImage && (el === null || el === void 0 ? void 0 : el.parentElement)) {
@@ -2123,6 +2283,7 @@ function HeadInner(_ref) {
2123
2283
  };
2124
2284
 
2125
2285
  var draggable = !!onDragStart;
2286
+ var window = Object(ssrWindow["a" /* getWindow */])();
2126
2287
  return /*#__PURE__*/external_react_default.a.createElement(HeadInnerStyles_Styled, HeadInner_extends({
2127
2288
  draggable: draggable || undefined,
2128
2289
  onDragStart: draggable ? handleDragStart : undefined,
@@ -2275,6 +2436,8 @@ var HeadCell_propTypes = {
2275
2436
 
2276
2437
  /** @private. */
2277
2438
  variant: external_prop_types_default.a.oneOf(['toggleAll', 'info', 'actions']),
2439
+
2440
+ /** @private. */
2278
2441
  zIndex: external_prop_types_default.a.number
2279
2442
  };
2280
2443
  var HeadCell_defaultProps = {
@@ -2472,11 +2635,11 @@ HeadCell_defineProperty(HeadCell_HeadCell, "contextType", Table_TableContext);
2472
2635
 
2473
2636
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2474
2637
  // EXTERNAL MODULE: external "@splunk/react-icons/Info"
2475
- var Info_ = __webpack_require__(107);
2638
+ var Info_ = __webpack_require__(111);
2476
2639
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2477
2640
 
2478
2641
  // EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
2479
- var ChevronRight = __webpack_require__(27);
2642
+ var ChevronRight = __webpack_require__(29);
2480
2643
 
2481
2644
  // CONCATENATED MODULE: ./src/Table/HeadExpandRowsIcon.tsx
2482
2645
 
@@ -2508,14 +2671,14 @@ var Dropdown_ = __webpack_require__(20);
2508
2671
  var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
2509
2672
 
2510
2673
  // EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
2511
- var Tooltip_ = __webpack_require__(49);
2674
+ var Tooltip_ = __webpack_require__(52);
2512
2675
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
2513
2676
 
2514
2677
  // EXTERNAL MODULE: ./src/icons/ChevronDown.tsx
2515
- var ChevronDown = __webpack_require__(64);
2678
+ var ChevronDown = __webpack_require__(67);
2516
2679
 
2517
2680
  // EXTERNAL MODULE: ./src/icons/MoreVertical.tsx
2518
- var MoreVertical = __webpack_require__(62);
2681
+ var MoreVertical = __webpack_require__(65);
2519
2682
 
2520
2683
  // CONCATENATED MODULE: ./src/Table/RowDragCell.tsx
2521
2684
  function RowDragCell_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { RowDragCell_typeof = function _typeof(obj) { return typeof obj; }; } else { RowDragCell_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return RowDragCell_typeof(obj); }
@@ -2548,6 +2711,7 @@ function RowDragCell_defineProperty(obj, key, value) { if (key in obj) { Object.
2548
2711
 
2549
2712
 
2550
2713
 
2714
+
2551
2715
  var RowDragCell_propTypes = {
2552
2716
  activeElementId: external_prop_types_default.a.string,
2553
2717
  dataId: external_prop_types_default.a.oneOfType([external_prop_types_default.a.string, external_prop_types_default.a.number]),
@@ -2586,6 +2750,7 @@ var RowDragCell_RowDragCell = /*#__PURE__*/function (_Component) {
2586
2750
  RowDragCell_defineProperty(RowDragCell_assertThisInitialized(_this), "handleDragStart", function (e) {
2587
2751
  var _this$el, _this$el$textContent, _this$el2, _this$props$onDragSta, _this$props;
2588
2752
 
2753
+ var document = Object(ssrDocument["a" /* getDocument */])();
2589
2754
  e.stopPropagation();
2590
2755
 
2591
2756
  if (e.dataTransfer.setDragImage && ((_this$el = _this.el) === null || _this$el === void 0 ? void 0 : _this$el.parentElement)) {
@@ -2797,7 +2962,7 @@ var StyledCellExpansionDisabled = external_styled_components_default()(Table_Cel
2797
2962
  }));
2798
2963
 
2799
2964
  // EXTERNAL MODULE: external "@splunk/react-ui/Switch"
2800
- var Switch_ = __webpack_require__(70);
2965
+ var Switch_ = __webpack_require__(72);
2801
2966
  var Switch_default = /*#__PURE__*/__webpack_require__.n(Switch_);
2802
2967
 
2803
2968
  // CONCATENATED MODULE: ./src/Table/ToggleStyles.ts
@@ -3303,6 +3468,7 @@ function Head_defineProperty(obj, key, value) { if (key in obj) { Object.defineP
3303
3468
 
3304
3469
 
3305
3470
 
3471
+
3306
3472
  var Head_propTypes = {
3307
3473
  /** @private. */
3308
3474
  actions: external_prop_types_default.a.arrayOf(external_prop_types_default.a.node),
@@ -3391,6 +3557,8 @@ var Head_Head = /*#__PURE__*/function (_Component) {
3391
3557
  Head_defineProperty(Head_assertThisInitialized(_this), "handleDragStart", function (dragIndex, dragColumnId) {
3392
3558
  var _this$props$onDragSta, _this$props2;
3393
3559
 
3560
+ var window = Object(ssrWindow["a" /* getWindow */])();
3561
+
3394
3562
  _this.setState({
3395
3563
  dragColumnId: dragColumnId
3396
3564
  });
@@ -3448,6 +3616,7 @@ var Head_Head = /*#__PURE__*/function (_Component) {
3448
3616
  value: function getCellWidths() {
3449
3617
  var _this$el$firstElement, _this$el, _this$el$firstElement2;
3450
3618
 
3619
+ var window = Object(ssrWindow["a" /* getWindow */])();
3451
3620
  var headRowCells = Array.from((_this$el$firstElement = (_this$el = this.el) === null || _this$el === void 0 ? void 0 : (_this$el$firstElement2 = _this$el.firstElementChild) === null || _this$el$firstElement2 === void 0 ? void 0 : _this$el$firstElement2.children) !== null && _this$el$firstElement !== void 0 ? _this$el$firstElement : []);
3452
3621
  var result = headRowCells.map(function (el) {
3453
3622
  var computedStyle = window.getComputedStyle(el);
@@ -3504,6 +3673,7 @@ var Head_Head = /*#__PURE__*/function (_Component) {
3504
3673
  }, {
3505
3674
  key: "cleanupDrag",
3506
3675
  value: function cleanupDrag() {
3676
+ var window = Object(ssrWindow["a" /* getWindow */])();
3507
3677
  window.removeEventListener('dragend', this.handleDragEnd);
3508
3678
  this.cells = undefined;
3509
3679
  }
@@ -3627,10 +3797,10 @@ Head_defineProperty(Head_Head, "defaultProps", Head_defaultProps);
3627
3797
 
3628
3798
  /* harmony default export */ var Table_Head = (Head_Head);
3629
3799
  // EXTERNAL MODULE: external "@splunk/ui-utils/id"
3630
- var id_ = __webpack_require__(10);
3800
+ var id_ = __webpack_require__(11);
3631
3801
 
3632
3802
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
3633
- var Popover_ = __webpack_require__(17);
3803
+ var Popover_ = __webpack_require__(18);
3634
3804
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
3635
3805
 
3636
3806
  // CONCATENATED MODULE: ./src/Table/HeadDropdownCell.tsx
@@ -3681,6 +3851,9 @@ function HeadDropdownCell_defineProperty(obj, key, value) { if (key in obj) { Ob
3681
3851
 
3682
3852
 
3683
3853
 
3854
+
3855
+ /** @public */
3856
+
3684
3857
  var possibleCloseReasons = ['clickAway', 'contentClick', 'escapeKey', 'offScreen', 'tabKey', 'toggleClick'];
3685
3858
  var HeadDropdownCell_propTypes = {
3686
3859
  align: external_prop_types_default.a.oneOf(['left', 'center', 'right']),
@@ -3733,7 +3906,10 @@ var HeadDropdownCell_propTypes = {
3733
3906
  width: external_prop_types_default.a.number,
3734
3907
 
3735
3908
  /** @private. */
3736
- variant: external_prop_types_default.a.oneOf(['toggleAll', 'info', 'actions'])
3909
+ variant: external_prop_types_default.a.oneOf(['toggleAll', 'info', 'actions']),
3910
+
3911
+ /** @private. */
3912
+ zIndex: external_prop_types_default.a.number
3737
3913
  };
3738
3914
  var HeadDropdownCell_defaultProps = {
3739
3915
  align: 'left',
@@ -3746,7 +3922,8 @@ var HeadDropdownCell_defaultProps = {
3746
3922
  retainFocus: false,
3747
3923
  takeFocus: true,
3748
3924
  truncate: true,
3749
- visible: true
3925
+ visible: true,
3926
+ zIndex: 1
3750
3927
  };
3751
3928
 
3752
3929
  var HeadDropdownCell_HeadDropdownCell = /*#__PURE__*/function (_Component) {
@@ -3991,11 +4168,13 @@ var HeadDropdownCell_HeadDropdownCell = /*#__PURE__*/function (_Component) {
3991
4168
  truncate = _this$props6.truncate,
3992
4169
  variant = _this$props6.variant,
3993
4170
  visible = _this$props6.visible,
3994
- width = _this$props6.width;
4171
+ width = _this$props6.width,
4172
+ zIndex = _this$props6.zIndex;
3995
4173
  var _this$state = this.state,
3996
4174
  el = _this$state.el,
3997
4175
  clientX = _this$state.clientX;
3998
4176
  var cellId = id || this.cellId;
4177
+ var headType = this.context.headType;
3999
4178
  return /*#__PURE__*/external_react_default.a.createElement(HeadCellStyles_Styled, HeadDropdownCell_extends({
4000
4179
  style: Object(external_lodash_["merge"])(style, {
4001
4180
  width: width
@@ -4012,7 +4191,9 @@ var HeadDropdownCell_HeadDropdownCell = /*#__PURE__*/function (_Component) {
4012
4191
  onKeyDown: this.handleKeyDown,
4013
4192
  "aria-haspopup": true,
4014
4193
  "aria-owns": this.popoverId,
4015
- "aria-expanded": this.isOpen()
4194
+ "aria-expanded": this.isOpen(),
4195
+ $isFixed: headType === 'fixed',
4196
+ $zIndex: zIndex
4016
4197
  }), /*#__PURE__*/external_react_default.a.createElement(Table_HeadInner, {
4017
4198
  label: label,
4018
4199
  align: align,
@@ -4073,6 +4254,8 @@ HeadDropdownCell_defineProperty(HeadDropdownCell_HeadDropdownCell, "propTypes",
4073
4254
 
4074
4255
  HeadDropdownCell_defineProperty(HeadDropdownCell_HeadDropdownCell, "defaultProps", HeadDropdownCell_defaultProps);
4075
4256
 
4257
+ HeadDropdownCell_defineProperty(HeadDropdownCell_HeadDropdownCell, "contextType", Table_TableContext);
4258
+
4076
4259
  /* harmony default export */ var Table_HeadDropdownCell = (HeadDropdownCell_HeadDropdownCell);
4077
4260
  // CONCATENATED MODULE: ./src/Table/HeadTableStyles.ts
4078
4261
 
@@ -4259,7 +4442,7 @@ HeadTable_defineProperty(HeadTable_HeadTable, "defaultProps", HeadTable_defaultP
4259
4442
 
4260
4443
  /* harmony default export */ var Table_HeadTable = (HeadTable_HeadTable);
4261
4444
  // EXTERNAL MODULE: ./src/utils/types.ts
4262
- var types = __webpack_require__(54);
4445
+ var types = __webpack_require__(57);
4263
4446
 
4264
4447
  // CONCATENATED MODULE: ./src/Table/Table.tsx
4265
4448
  function Table_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Table_typeof = function _typeof(obj) { return typeof obj; }; } else { Table_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Table_typeof(obj); }
@@ -4320,6 +4503,8 @@ function Table_defineProperty(obj, key, value) { if (key in obj) { Object.define
4320
4503
 
4321
4504
 
4322
4505
 
4506
+
4507
+
4323
4508
  /** @public */
4324
4509
 
4325
4510
  var Table_propTypes = {
@@ -4371,6 +4556,8 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4371
4556
  value: function getHeadFocusState(head) {
4372
4557
  var _head$getEl, _head$getEl2;
4373
4558
 
4559
+ var document = Object(ssrDocument["a" /* getDocument */])();
4560
+
4374
4561
  if (head === undefined || head === null) {
4375
4562
  return undefined;
4376
4563
  }
@@ -4400,6 +4587,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4400
4587
  }, {
4401
4588
  key: "getOffset",
4402
4589
  value: function getOffset(el) {
4590
+ var window = Object(ssrWindow["a" /* getWindow */])();
4403
4591
  var rect = el.getBoundingClientRect();
4404
4592
  return {
4405
4593
  top: rect.top + window.pageYOffset,
@@ -4469,6 +4657,8 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4469
4657
  Table_defineProperty(Table_assertThisInitialized(_this), "tableContainer", null);
4470
4658
 
4471
4659
  Table_defineProperty(Table_assertThisInitialized(_this), "updateDockedHeadState", function () {
4660
+ var window = Object(ssrWindow["a" /* getWindow */])();
4661
+
4472
4662
  if (_this.isInline()) {
4473
4663
  return;
4474
4664
  }
@@ -4531,6 +4721,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4531
4721
 
4532
4722
  Table_defineProperty(Table_assertThisInitialized(_this), "handleDragStart", function (_ref2) {
4533
4723
  var dragIndex = _ref2.dragIndex;
4724
+ var window = Object(ssrWindow["a" /* getWindow */])();
4534
4725
 
4535
4726
  _this.setState({
4536
4727
  dragIndex: dragIndex
@@ -4619,6 +4810,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4619
4810
 
4620
4811
  var index = _ref3.index,
4621
4812
  columnId = _ref3.columnId;
4813
+ var document = Object(ssrDocument["a" /* getDocument */])();
4622
4814
 
4623
4815
  if (index === undefined) {
4624
4816
  return;
@@ -4758,6 +4950,8 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4758
4950
  }, {
4759
4951
  key: "showDockedHeader",
4760
4952
  value: function showDockedHeader() {
4953
+ var window = Object(ssrWindow["a" /* getWindow */])();
4954
+
4761
4955
  if (!this.headerIsDocked() || !this.table || !this.head || !this.tableContainer) {
4762
4956
  return false;
4763
4957
  }
@@ -4769,6 +4963,8 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4769
4963
  }, {
4770
4964
  key: "showDockedScrollBar",
4771
4965
  value: function showDockedScrollBar() {
4966
+ var window = Object(ssrWindow["a" /* getWindow */])();
4967
+
4772
4968
  if (!this.props.dockScrollBar || !this.table || !this.tableContainer) {
4773
4969
  return false;
4774
4970
  }
@@ -4786,6 +4982,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4786
4982
  }, {
4787
4983
  key: "cleanupDrag",
4788
4984
  value: function cleanupDrag() {
4985
+ var window = Object(ssrWindow["a" /* getWindow */])();
4789
4986
  window.removeEventListener('dragenter', this.handleDragEnter);
4790
4987
  window.removeEventListener('dragover', this.handleDragOver);
4791
4988
  window.removeEventListener('drop', this.handleDrop);
@@ -4839,6 +5036,8 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4839
5036
  value: function renderDockedScrollbar() {
4840
5037
  var _this2 = this;
4841
5038
 
5039
+ var window = Object(ssrWindow["a" /* getWindow */])();
5040
+
4842
5041
  if (!this.showDockedScrollBar()) {
4843
5042
  return false;
4844
5043
  }
@@ -4925,7 +5124,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4925
5124
  );
4926
5125
  });
4927
5126
  tHead = /*#__PURE__*/Object(external_react_["cloneElement"])(tHead, {}, headCells);
4928
- var defaultScrollContainer = this.context || window;
5127
+ var defaultScrollContainer = this.context || Object(ssrWindow["a" /* getWindow */])();
4929
5128
  var scrollContainer = this.isFixed() ? this.tableContainer : defaultScrollContainer;
4930
5129
 
4931
5130
  if (resizableFillLayout) {
@@ -4938,7 +5137,7 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4938
5137
  style: outerStyle,
4939
5138
  "data-test-row-selection": onRequestToggleAllRows ? rowSelection : undefined
4940
5139
  }, Object(external_lodash_["omit"])(this.props, [].concat(Table_toConsumableArray(Object.keys(Table.propTypes)), ['style']))), /*#__PURE__*/external_react_default.a.createElement(EventListener_default.a, {
4941
- target: window,
5140
+ target: Object(ssrWindow["a" /* getWindow */])(),
4942
5141
  eventType: "scroll",
4943
5142
  listener: this.handleScroll,
4944
5143
  options: {