@splunk/react-ui 4.18.0 → 4.20.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 (110) hide show
  1. package/Accordion.js +6 -6
  2. package/Anchor.js +2 -2
  3. package/Animation.js +4 -4
  4. package/AnimationToggle.js +2 -2
  5. package/Box.js +2 -2
  6. package/Breadcrumbs.d.ts +2 -0
  7. package/Breadcrumbs.js +299 -0
  8. package/Button.js +17 -17
  9. package/ButtonGroup.js +2 -2
  10. package/ButtonSimple.js +2 -2
  11. package/CHANGELOG.md +25 -1
  12. package/Calendar.js +17 -17
  13. package/Card.js +10 -10
  14. package/CardLayout.js +2 -2
  15. package/Chip.js +32 -25
  16. package/Clickable.js +16 -14
  17. package/CloseButton.js +8 -8
  18. package/Code.js +40 -15
  19. package/CollapsiblePanel.js +10 -10
  20. package/Color.js +33 -33
  21. package/ColumnLayout.js +8 -8
  22. package/ComboBox.js +28 -28
  23. package/Concertina.js +18 -18
  24. package/ControlGroup.js +13 -13
  25. package/Date.js +29 -29
  26. package/DefinitionList.js +2 -2
  27. package/Divider.js +2 -2
  28. package/Dropdown.js +21 -21
  29. package/DualListbox.js +24 -24
  30. package/EventListener.js +4 -4
  31. package/File.js +23 -23
  32. package/FormRows.js +266 -105
  33. package/Heading.js +45 -49
  34. package/Image.js +23 -23
  35. package/JSONTree.js +20 -20
  36. package/Layer.js +14 -14
  37. package/Link.js +7 -7
  38. package/List.js +2 -2
  39. package/Markdown.js +19 -20
  40. package/Menu.js +252 -232
  41. package/Message.js +43 -43
  42. package/MessageBar.js +39 -39
  43. package/Modal.js +20 -20
  44. package/ModalLayer.js +6 -6
  45. package/Monogram.js +3 -3
  46. package/Multiselect.js +2987 -2493
  47. package/Number.js +8 -8
  48. package/Paginator.js +16 -16
  49. package/Paragraph.js +2 -2
  50. package/Popover.js +113 -50
  51. package/Progress.js +10 -10
  52. package/RadioBar.js +4 -4
  53. package/RadioList.js +2 -2
  54. package/Resize.js +4 -4
  55. package/ResultsMenu.js +43 -22
  56. package/ScreenReaderContent.js +2 -2
  57. package/Scroll.js +8 -8
  58. package/ScrollContainerContext.js +4 -4
  59. package/Search.js +25 -25
  60. package/Select.js +517 -120
  61. package/SidePanel.js +6 -6
  62. package/Slider.js +8 -8
  63. package/SlidingPanels.js +10 -10
  64. package/SplitButton.js +4 -4
  65. package/StaticContent.js +2 -2
  66. package/StepBar.js +8 -8
  67. package/Switch.js +6 -6
  68. package/TabBar.js +6 -6
  69. package/TabLayout.js +6 -6
  70. package/Table.js +145 -111
  71. package/Text.js +40 -38
  72. package/TextArea.js +42 -40
  73. package/Tooltip.js +15 -15
  74. package/TransitionOpen.js +11 -11
  75. package/Typography.js +4 -4
  76. package/WaitSpinner.js +5 -5
  77. package/cypress/support/component-index.html +12 -0
  78. package/cypress/support/component.ts +27 -0
  79. package/cypress.config.ts +19 -0
  80. package/package.json +17 -17
  81. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
  82. package/types/src/Breadcrumbs/Item.d.ts +42 -0
  83. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
  84. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
  85. package/types/src/Breadcrumbs/index.d.ts +2 -0
  86. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
  87. package/types/src/Code/Code.d.ts +1 -1
  88. package/types/src/FormRows/FormRows.d.ts +1 -2
  89. package/types/src/FormRows/Row.d.ts +2 -12
  90. package/types/src/FormRows/RowInternal.d.ts +19 -0
  91. package/types/src/FormRows/SortableList.d.ts +8 -2
  92. package/types/src/FormRows/SortableRow.d.ts +20 -0
  93. package/types/src/Heading/Heading.d.ts +1 -1
  94. package/types/src/Link/Link.d.ts +5 -0
  95. package/types/src/Multiselect/Compact.d.ts +4 -0
  96. package/types/src/Multiselect/Multiselect.d.ts +5 -0
  97. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
  98. package/types/src/Select/SelectAllOption.d.ts +14 -0
  99. package/types/src/Select/SelectBase.d.ts +11 -3
  100. package/types/src/Table/Table.d.ts +4 -0
  101. package/types/src/Text/Text.d.ts +3 -3
  102. package/types/src/TextArea/TextArea.d.ts +3 -3
  103. package/useForceUpdate.js +2 -2
  104. package/useKeyPress.js +2 -2
  105. package/usePrevious.js +2 -2
  106. package/useRovingFocus.js +4 -4
  107. package/cypress/plugins/index.ts +0 -15
  108. package/cypress/support/index.ts +0 -10
  109. package/cypress.json +0 -13
  110. package/types/src/Typography/docs/examples/Variants.d.ts +0 -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 = 168);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 170);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -142,12 +142,6 @@ module.exports = require("lodash/keys");
142
142
 
143
143
  /***/ }),
144
144
  /* 10 */
145
- /***/ (function(module, exports) {
146
-
147
- module.exports = require("lodash/has");
148
-
149
- /***/ }),
150
- /* 11 */
151
145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
152
146
 
153
147
  "use strict";
@@ -172,6 +166,12 @@ function updateReactRef(ref, current) {
172
166
 
173
167
 
174
168
 
169
+ /***/ }),
170
+ /* 11 */
171
+ /***/ (function(module, exports) {
172
+
173
+ module.exports = require("lodash/has");
174
+
175
175
  /***/ }),
176
176
  /* 12 */,
177
177
  /* 13 */,
@@ -205,7 +205,7 @@ module.exports = require("@splunk/react-ui/Button");
205
205
  "use strict";
206
206
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getWindow; });
207
207
  /* unused harmony export ssrWindow */
208
- /* harmony import */ var _ssrDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(27);
208
+ /* harmony import */ var _ssrDocument__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28);
209
209
  /* eslint-disable @typescript-eslint/no-empty-function */
210
210
 
211
211
  var ssrWindow = {
@@ -302,7 +302,8 @@ module.exports = require("lodash/isString");
302
302
  /* 24 */,
303
303
  /* 25 */,
304
304
  /* 26 */,
305
- /* 27 */
305
+ /* 27 */,
306
+ /* 28 */
306
307
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
307
308
 
308
309
  "use strict";
@@ -372,95 +373,94 @@ function getDocument() {
372
373
 
373
374
 
374
375
  /***/ }),
375
- /* 28 */
376
+ /* 29 */
376
377
  /***/ (function(module, exports) {
377
378
 
378
379
  module.exports = require("@splunk/ui-utils/format");
379
380
 
380
381
  /***/ }),
381
- /* 29 */,
382
382
  /* 30 */,
383
- /* 31 */
383
+ /* 31 */,
384
+ /* 32 */,
385
+ /* 33 */
384
386
  /***/ (function(module, exports) {
385
387
 
386
388
  module.exports = require("lodash/throttle");
387
389
 
388
390
  /***/ }),
389
- /* 32 */,
390
- /* 33 */,
391
391
  /* 34 */,
392
- /* 35 */
392
+ /* 35 */,
393
+ /* 36 */,
394
+ /* 37 */,
395
+ /* 38 */
393
396
  /***/ (function(module, exports) {
394
397
 
395
398
  module.exports = require("@splunk/react-icons/enterprise/ChevronRight");
396
399
 
397
400
  /***/ }),
398
- /* 36 */,
399
- /* 37 */,
400
- /* 38 */,
401
- /* 39 */,
401
+ /* 39 */
402
+ /***/ (function(module, exports) {
403
+
404
+ module.exports = require("@splunk/react-ui/Switch");
405
+
406
+ /***/ }),
402
407
  /* 40 */,
403
408
  /* 41 */,
404
- /* 42 */
409
+ /* 42 */,
410
+ /* 43 */,
411
+ /* 44 */,
412
+ /* 45 */
405
413
  /***/ (function(module, exports) {
406
414
 
407
415
  module.exports = require("@splunk/react-ui/Tooltip");
408
416
 
409
417
  /***/ }),
410
- /* 43 */
418
+ /* 46 */
411
419
  /***/ (function(module, exports) {
412
420
 
413
421
  module.exports = require("@splunk/react-icons/ChevronRight");
414
422
 
415
423
  /***/ }),
416
- /* 44 */,
417
- /* 45 */,
418
- /* 46 */,
419
424
  /* 47 */,
420
425
  /* 48 */,
421
- /* 49 */
426
+ /* 49 */,
427
+ /* 50 */,
428
+ /* 51 */,
429
+ /* 52 */
422
430
  /***/ (function(module, exports) {
423
431
 
424
432
  module.exports = require("lodash/extend");
425
433
 
426
434
  /***/ }),
427
- /* 50 */
435
+ /* 53 */
428
436
  /***/ (function(module, exports) {
429
437
 
430
438
  module.exports = require("@splunk/react-ui/ScrollContainerContext");
431
439
 
432
440
  /***/ }),
433
- /* 51 */,
434
- /* 52 */,
435
- /* 53 */
441
+ /* 54 */,
442
+ /* 55 */,
443
+ /* 56 */
436
444
  /***/ (function(module, exports) {
437
445
 
438
446
  module.exports = require("@splunk/react-icons/CaretSmallDown");
439
447
 
440
448
  /***/ }),
441
- /* 54 */
449
+ /* 57 */
442
450
  /***/ (function(module, exports) {
443
451
 
444
452
  module.exports = require("@splunk/react-icons/enterprise/Caret");
445
453
 
446
454
  /***/ }),
447
- /* 55 */,
448
- /* 56 */,
449
- /* 57 */,
450
- /* 58 */
451
- /***/ (function(module, exports) {
452
-
453
- module.exports = require("@splunk/react-ui/Switch");
454
-
455
- /***/ }),
456
- /* 59 */
455
+ /* 58 */,
456
+ /* 59 */,
457
+ /* 60 */,
458
+ /* 61 */
457
459
  /***/ (function(module, exports) {
458
460
 
459
461
  module.exports = require("lodash/without");
460
462
 
461
463
  /***/ }),
462
- /* 60 */,
463
- /* 61 */,
464
464
  /* 62 */,
465
465
  /* 63 */,
466
466
  /* 64 */,
@@ -468,24 +468,27 @@ module.exports = require("lodash/without");
468
468
  /* 66 */,
469
469
  /* 67 */,
470
470
  /* 68 */,
471
- /* 69 */
471
+ /* 69 */,
472
+ /* 70 */,
473
+ /* 71 */
472
474
  /***/ (function(module, exports) {
473
475
 
474
476
  module.exports = require("lodash/isFunction");
475
477
 
476
478
  /***/ }),
477
- /* 70 */,
478
- /* 71 */,
479
479
  /* 72 */,
480
480
  /* 73 */,
481
- /* 74 */
481
+ /* 74 */,
482
+ /* 75 */,
483
+ /* 76 */,
484
+ /* 77 */
482
485
  /***/ (function(module, exports) {
483
486
 
484
487
  module.exports = require("lodash/isNumber");
485
488
 
486
489
  /***/ }),
487
- /* 75 */,
488
- /* 76 */
490
+ /* 78 */,
491
+ /* 79 */
489
492
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
490
493
 
491
494
  "use strict";
@@ -508,27 +511,24 @@ function assertDefined(val, msg) {
508
511
 
509
512
 
510
513
  /***/ }),
511
- /* 77 */,
512
- /* 78 */,
513
- /* 79 */,
514
514
  /* 80 */,
515
- /* 81 */
515
+ /* 81 */,
516
+ /* 82 */,
517
+ /* 83 */,
518
+ /* 84 */
516
519
  /***/ (function(module, exports) {
517
520
 
518
521
  module.exports = require("lodash/indexOf");
519
522
 
520
523
  /***/ }),
521
- /* 82 */,
522
- /* 83 */,
523
- /* 84 */
524
+ /* 85 */,
525
+ /* 86 */,
526
+ /* 87 */
524
527
  /***/ (function(module, exports) {
525
528
 
526
529
  module.exports = require("@splunk/react-icons/DotsThreeVertical");
527
530
 
528
531
  /***/ }),
529
- /* 85 */,
530
- /* 86 */,
531
- /* 87 */,
532
532
  /* 88 */,
533
533
  /* 89 */,
534
534
  /* 90 */,
@@ -549,31 +549,36 @@ module.exports = require("@splunk/react-icons/DotsThreeVertical");
549
549
  /* 105 */,
550
550
  /* 106 */,
551
551
  /* 107 */,
552
- /* 108 */
552
+ /* 108 */,
553
+ /* 109 */,
554
+ /* 110 */,
555
+ /* 111 */
553
556
  /***/ (function(module, exports) {
554
557
 
555
558
  module.exports = require("@splunk/react-icons/CaretsSmallUpDown");
556
559
 
557
560
  /***/ }),
558
- /* 109 */,
559
- /* 110 */,
560
- /* 111 */
561
+ /* 112 */,
562
+ /* 113 */,
563
+ /* 114 */
561
564
  /***/ (function(module, exports) {
562
565
 
563
566
  module.exports = require("lodash/findIndex");
564
567
 
565
568
  /***/ }),
566
- /* 112 */
569
+ /* 115 */
567
570
  /***/ (function(module, exports) {
568
571
 
569
572
  module.exports = require("lodash/merge");
570
573
 
571
574
  /***/ }),
572
- /* 113 */,
573
- /* 114 */,
574
- /* 115 */,
575
575
  /* 116 */,
576
- /* 117 */,
576
+ /* 117 */
577
+ /***/ (function(module, exports) {
578
+
579
+ module.exports = require("lodash/isEqual");
580
+
581
+ /***/ }),
577
582
  /* 118 */,
578
583
  /* 119 */,
579
584
  /* 120 */,
@@ -613,53 +618,50 @@ module.exports = require("lodash/merge");
613
618
  /* 154 */,
614
619
  /* 155 */,
615
620
  /* 156 */,
616
- /* 157 */
621
+ /* 157 */,
622
+ /* 158 */,
623
+ /* 159 */,
624
+ /* 160 */
617
625
  /***/ (function(module, exports) {
618
626
 
619
627
  module.exports = require("lodash/forEach");
620
628
 
621
629
  /***/ }),
622
- /* 158 */
623
- /***/ (function(module, exports) {
624
-
625
- module.exports = require("lodash/isEqual");
626
-
627
- /***/ }),
628
- /* 159 */
630
+ /* 161 */
629
631
  /***/ (function(module, exports) {
630
632
 
631
633
  module.exports = require("react-resize-detector");
632
634
 
633
635
  /***/ }),
634
- /* 160 */
636
+ /* 162 */
635
637
  /***/ (function(module, exports) {
636
638
 
637
639
  module.exports = require("@splunk/react-icons/ArrowDown");
638
640
 
639
641
  /***/ }),
640
- /* 161 */
642
+ /* 163 */
641
643
  /***/ (function(module, exports) {
642
644
 
643
645
  module.exports = require("@splunk/react-icons/ArrowUp");
644
646
 
645
647
  /***/ }),
646
- /* 162 */
648
+ /* 164 */
647
649
  /***/ (function(module, exports) {
648
650
 
649
651
  module.exports = require("@splunk/react-icons/ArrowUpDown");
650
652
 
651
653
  /***/ }),
652
- /* 163 */
654
+ /* 165 */
653
655
  /***/ (function(module, exports) {
654
656
 
655
657
  module.exports = require("@splunk/react-icons/enterprise/Info");
656
658
 
657
659
  /***/ }),
658
- /* 164 */,
659
- /* 165 */,
660
660
  /* 166 */,
661
661
  /* 167 */,
662
- /* 168 */
662
+ /* 168 */,
663
+ /* 169 */,
664
+ /* 170 */
663
665
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
664
666
 
665
667
  "use strict";
@@ -685,34 +687,34 @@ var external_prop_types_ = __webpack_require__(1);
685
687
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
686
688
 
687
689
  // EXTERNAL MODULE: external "lodash/forEach"
688
- var forEach_ = __webpack_require__(157);
690
+ var forEach_ = __webpack_require__(160);
689
691
  var forEach_default = /*#__PURE__*/__webpack_require__.n(forEach_);
690
692
 
691
693
  // EXTERNAL MODULE: external "lodash/has"
692
- var has_ = __webpack_require__(10);
694
+ var has_ = __webpack_require__(11);
693
695
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
694
696
 
695
697
  // EXTERNAL MODULE: external "lodash/indexOf"
696
- var indexOf_ = __webpack_require__(81);
698
+ var indexOf_ = __webpack_require__(84);
697
699
  var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
698
700
 
699
701
  // EXTERNAL MODULE: external "lodash/isEqual"
700
- var isEqual_ = __webpack_require__(158);
702
+ var isEqual_ = __webpack_require__(117);
701
703
  var isEqual_default = /*#__PURE__*/__webpack_require__.n(isEqual_);
702
704
 
703
705
  // EXTERNAL MODULE: external "lodash/isNumber"
704
- var isNumber_ = __webpack_require__(74);
706
+ var isNumber_ = __webpack_require__(77);
705
707
 
706
708
  // EXTERNAL MODULE: external "lodash/omit"
707
709
  var omit_ = __webpack_require__(5);
708
710
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
709
711
 
710
712
  // EXTERNAL MODULE: external "lodash/throttle"
711
- var throttle_ = __webpack_require__(31);
713
+ var throttle_ = __webpack_require__(33);
712
714
  var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
713
715
 
714
716
  // EXTERNAL MODULE: external "react-resize-detector"
715
- var external_react_resize_detector_ = __webpack_require__(159);
717
+ var external_react_resize_detector_ = __webpack_require__(161);
716
718
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
717
719
 
718
720
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -723,10 +725,10 @@ var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
723
725
  var keyboard_ = __webpack_require__(7);
724
726
 
725
727
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
726
- var ScrollContainerContext_ = __webpack_require__(50);
728
+ var ScrollContainerContext_ = __webpack_require__(53);
727
729
 
728
730
  // EXTERNAL MODULE: external "lodash/findIndex"
729
- var findIndex_ = __webpack_require__(111);
731
+ var findIndex_ = __webpack_require__(114);
730
732
  var findIndex_default = /*#__PURE__*/__webpack_require__.n(findIndex_);
731
733
 
732
734
  // EXTERNAL MODULE: external "lodash/includes"
@@ -734,7 +736,7 @@ var includes_ = __webpack_require__(15);
734
736
  var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
735
737
 
736
738
  // EXTERNAL MODULE: external "lodash/without"
737
- var without_ = __webpack_require__(59);
739
+ var without_ = __webpack_require__(61);
738
740
  var without_default = /*#__PURE__*/__webpack_require__.n(without_);
739
741
 
740
742
  // EXTERNAL MODULE: external "styled-components"
@@ -753,7 +755,7 @@ var Styled = external_styled_components_default.a.tbody.withConfig({
753
755
  })(["", " z-index:0;"], themes_["mixins"].reset('table-row-group'));
754
756
 
755
757
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
756
- var updateReactRef = __webpack_require__(11);
758
+ var updateReactRef = __webpack_require__(10);
757
759
 
758
760
  // EXTERNAL MODULE: ./src/utils/ssrWindow.ts
759
761
  var ssrWindow = __webpack_require__(18);
@@ -1448,31 +1450,31 @@ var isString_ = __webpack_require__(23);
1448
1450
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString_);
1449
1451
 
1450
1452
  // EXTERNAL MODULE: external "lodash/merge"
1451
- var merge_ = __webpack_require__(112);
1453
+ var merge_ = __webpack_require__(115);
1452
1454
  var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
1453
1455
 
1454
1456
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
1455
- var ArrowDown_ = __webpack_require__(160);
1457
+ var ArrowDown_ = __webpack_require__(162);
1456
1458
  var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
1457
1459
 
1458
1460
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
1459
- var ArrowUp_ = __webpack_require__(161);
1461
+ var ArrowUp_ = __webpack_require__(163);
1460
1462
  var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
1461
1463
 
1462
1464
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUpDown"
1463
- var ArrowUpDown_ = __webpack_require__(162);
1465
+ var ArrowUpDown_ = __webpack_require__(164);
1464
1466
  var ArrowUpDown_default = /*#__PURE__*/__webpack_require__.n(ArrowUpDown_);
1465
1467
 
1466
1468
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretSmallDown"
1467
- var CaretSmallDown_ = __webpack_require__(53);
1469
+ var CaretSmallDown_ = __webpack_require__(56);
1468
1470
  var CaretSmallDown_default = /*#__PURE__*/__webpack_require__.n(CaretSmallDown_);
1469
1471
 
1470
1472
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretsSmallUpDown"
1471
- var CaretsSmallUpDown_ = __webpack_require__(108);
1473
+ var CaretsSmallUpDown_ = __webpack_require__(111);
1472
1474
  var CaretsSmallUpDown_default = /*#__PURE__*/__webpack_require__.n(CaretsSmallUpDown_);
1473
1475
 
1474
1476
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Caret"
1475
- var Caret_ = __webpack_require__(54);
1477
+ var Caret_ = __webpack_require__(57);
1476
1478
  var Caret_default = /*#__PURE__*/__webpack_require__.n(Caret_);
1477
1479
 
1478
1480
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
@@ -1814,7 +1816,7 @@ function DragHandle(_ref) {
1814
1816
  DragHandle.propTypes = DragHandle_propTypes;
1815
1817
  /* harmony default export */ var Table_DragHandle = (DragHandle);
1816
1818
  // EXTERNAL MODULE: ./src/utils/ssrDocument.ts
1817
- var ssrDocument = __webpack_require__(27);
1819
+ var ssrDocument = __webpack_require__(28);
1818
1820
 
1819
1821
  // CONCATENATED MODULE: ./src/Table/HeadInner.tsx
1820
1822
  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); }
@@ -2467,11 +2469,11 @@ HeadCell_defineProperty(HeadCell_HeadCell, "contextType", Table_TableContext);
2467
2469
 
2468
2470
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2469
2471
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Info"
2470
- var Info_ = __webpack_require__(163);
2472
+ var Info_ = __webpack_require__(165);
2471
2473
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2472
2474
 
2473
2475
  // EXTERNAL MODULE: external "@splunk/react-icons/ChevronRight"
2474
- var ChevronRight_ = __webpack_require__(43);
2476
+ var ChevronRight_ = __webpack_require__(46);
2475
2477
  var ChevronRight_default = /*#__PURE__*/__webpack_require__.n(ChevronRight_);
2476
2478
 
2477
2479
  // CONCATENATED MODULE: ./src/Table/icons/HeadExpandRows.tsx
@@ -2498,7 +2500,7 @@ function HeadExpandRows() {
2498
2500
  });
2499
2501
  }
2500
2502
  // EXTERNAL MODULE: external "@splunk/react-icons/DotsThreeVertical"
2501
- var DotsThreeVertical_ = __webpack_require__(84);
2503
+ var DotsThreeVertical_ = __webpack_require__(87);
2502
2504
  var DotsThreeVertical_default = /*#__PURE__*/__webpack_require__.n(DotsThreeVertical_);
2503
2505
 
2504
2506
  // EXTERNAL MODULE: external "@splunk/react-ui/Button"
@@ -2510,14 +2512,14 @@ var Dropdown_ = __webpack_require__(22);
2510
2512
  var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
2511
2513
 
2512
2514
  // EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
2513
- var Tooltip_ = __webpack_require__(42);
2515
+ var Tooltip_ = __webpack_require__(45);
2514
2516
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
2515
2517
 
2516
2518
  // EXTERNAL MODULE: external "@splunk/ui-utils/format"
2517
- var format_ = __webpack_require__(28);
2519
+ var format_ = __webpack_require__(29);
2518
2520
 
2519
2521
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
2520
- var enterprise_ChevronRight_ = __webpack_require__(35);
2522
+ var enterprise_ChevronRight_ = __webpack_require__(38);
2521
2523
  var enterprise_ChevronRight_default = /*#__PURE__*/__webpack_require__.n(enterprise_ChevronRight_);
2522
2524
 
2523
2525
  // CONCATENATED MODULE: ./src/Table/icons/ExpansionRow.tsx
@@ -2857,7 +2859,7 @@ var StyledCellExpansionDisabled = external_styled_components_default()(Table_Cel
2857
2859
  }));
2858
2860
 
2859
2861
  // EXTERNAL MODULE: external "@splunk/react-ui/Switch"
2860
- var Switch_ = __webpack_require__(58);
2862
+ var Switch_ = __webpack_require__(39);
2861
2863
  var Switch_default = /*#__PURE__*/__webpack_require__.n(Switch_);
2862
2864
 
2863
2865
  // CONCATENATED MODULE: ./src/Table/ToggleStyles.ts
@@ -3738,7 +3740,7 @@ var isFinite_ = __webpack_require__(19);
3738
3740
  var isFinite_default = /*#__PURE__*/__webpack_require__.n(isFinite_);
3739
3741
 
3740
3742
  // EXTERNAL MODULE: external "lodash/isFunction"
3741
- var isFunction_ = __webpack_require__(69);
3743
+ var isFunction_ = __webpack_require__(71);
3742
3744
  var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction_);
3743
3745
 
3744
3746
  // EXTERNAL MODULE: external "@splunk/ui-utils/id"
@@ -4208,7 +4210,7 @@ HeadDropdownCell_defineProperty(HeadDropdownCell_HeadDropdownCell, "contextType"
4208
4210
 
4209
4211
  /* harmony default export */ var Table_HeadDropdownCell = (HeadDropdownCell_HeadDropdownCell);
4210
4212
  // EXTERNAL MODULE: external "lodash/extend"
4211
- var extend_ = __webpack_require__(49);
4213
+ var extend_ = __webpack_require__(52);
4212
4214
  var extend_default = /*#__PURE__*/__webpack_require__.n(extend_);
4213
4215
 
4214
4216
  // CONCATENATED MODULE: ./src/Table/HeadTableStyles.ts
@@ -4397,7 +4399,7 @@ HeadTable_defineProperty(HeadTable_HeadTable, "defaultProps", HeadTable_defaultP
4397
4399
 
4398
4400
  /* harmony default export */ var Table_HeadTable = (HeadTable_HeadTable);
4399
4401
  // EXTERNAL MODULE: ./src/utils/types.ts
4400
- var types = __webpack_require__(76);
4402
+ var types = __webpack_require__(79);
4401
4403
 
4402
4404
  // CONCATENATED MODULE: ./src/Table/Table.tsx
4403
4405
  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); }
@@ -4838,6 +4840,38 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4838
4840
 
4839
4841
  if (false) {}
4840
4842
  }
4843
+ /**
4844
+ * Add this lifecycle method to improve the performance of this giant component.
4845
+ */
4846
+
4847
+ }, {
4848
+ key: "shouldComponentUpdate",
4849
+ value: function shouldComponentUpdate(nextProps, nextState) {
4850
+ if (this.props.dockScrollBar) {
4851
+ /**
4852
+ * We should always re-render the component when dockScrollBar is true for now.
4853
+ * Because the docked scroll bar needs to know its accurate position every time scroll event happens.
4854
+ *
4855
+ * A more proper way to fix this is probably putting the docked scroll bar into its own component definition class and letting it listen to the scroll event from the parent.
4856
+ * So only the scroll bar component is rerendering itself every time the table scrolls.
4857
+ */
4858
+ return true;
4859
+ }
4860
+
4861
+ return (
4862
+ /**
4863
+ * Using deep equal from lodash here to compare the rest of the properties and states to avoid unnecessary re-rendering.
4864
+ * Although it's suggested by React Official(https://react.dev/reference/react/Component#shouldcomponentupdate)
4865
+ * that deep equal shouldn't be used in shouldComponentUpdate, for this component's case, the re-rendering cost is much more than
4866
+ * the calculation cost of the deep equal operations.
4867
+ *
4868
+ * Alternatively, we could consider
4869
+ * 1. using https://www.npmjs.com/package/react-fast-compare or
4870
+ * 2. listing all the object-like properties and states and optimatize the comparing algorithm based on their structure.
4871
+ */
4872
+ !isEqual_default()(this.props, nextProps) || !isEqual_default()(this.state, nextState)
4873
+ );
4874
+ }
4841
4875
  }, {
4842
4876
  key: "componentDidMount",
4843
4877
  value: function componentDidMount() {