@splunk/react-ui 4.19.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 (97) hide show
  1. package/Accordion.js +4 -4
  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 +14 -0
  12. package/Calendar.js +15 -15
  13. package/Card.js +10 -10
  14. package/CardLayout.js +2 -2
  15. package/Chip.js +11 -11
  16. package/Clickable.js +7 -5
  17. package/CloseButton.js +8 -8
  18. package/Code.js +40 -15
  19. package/CollapsiblePanel.js +8 -8
  20. package/Color.js +29 -29
  21. package/ColumnLayout.js +8 -8
  22. package/ComboBox.js +20 -20
  23. package/Concertina.js +16 -16
  24. package/ControlGroup.js +13 -13
  25. package/Date.js +20 -20
  26. package/DefinitionList.js +2 -2
  27. package/Divider.js +2 -2
  28. package/Dropdown.js +12 -12
  29. package/DualListbox.js +24 -24
  30. package/EventListener.js +4 -4
  31. package/File.js +21 -21
  32. package/FormRows.js +14 -14
  33. package/Heading.js +2 -2
  34. package/Image.js +16 -16
  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 +250 -230
  41. package/Message.js +37 -37
  42. package/MessageBar.js +33 -33
  43. package/Modal.js +17 -17
  44. package/ModalLayer.js +6 -6
  45. package/Monogram.js +2 -2
  46. package/Multiselect.js +2822 -2328
  47. package/Number.js +6 -6
  48. package/Paginator.js +16 -16
  49. package/Paragraph.js +2 -2
  50. package/Popover.js +106 -43
  51. package/Progress.js +10 -10
  52. package/RadioBar.js +2 -2
  53. package/RadioList.js +2 -2
  54. package/Resize.js +2 -2
  55. package/ResultsMenu.js +41 -20
  56. package/ScreenReaderContent.js +2 -2
  57. package/Scroll.js +6 -6
  58. package/ScrollContainerContext.js +4 -4
  59. package/Search.js +15 -15
  60. package/Select.js +511 -114
  61. package/SidePanel.js +6 -6
  62. package/Slider.js +6 -6
  63. package/SlidingPanels.js +8 -8
  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 +4 -4
  69. package/TabLayout.js +4 -4
  70. package/Table.js +132 -99
  71. package/Text.js +23 -23
  72. package/TextArea.js +25 -25
  73. package/Tooltip.js +6 -6
  74. package/TransitionOpen.js +11 -11
  75. package/Typography.js +4 -4
  76. package/WaitSpinner.js +5 -5
  77. package/package.json +9 -9
  78. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
  79. package/types/src/Breadcrumbs/Item.d.ts +42 -0
  80. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
  81. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
  82. package/types/src/Breadcrumbs/index.d.ts +2 -0
  83. package/types/src/Code/Code.d.ts +1 -1
  84. package/types/src/Link/Link.d.ts +5 -0
  85. package/types/src/Multiselect/Compact.d.ts +4 -0
  86. package/types/src/Multiselect/Multiselect.d.ts +5 -0
  87. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
  88. package/types/src/Select/SelectAllOption.d.ts +14 -0
  89. package/types/src/Select/SelectBase.d.ts +11 -3
  90. package/types/src/Table/Table.d.ts +4 -0
  91. package/types/src/Text/Text.d.ts +3 -3
  92. package/types/src/TextArea/TextArea.d.ts +3 -3
  93. package/useForceUpdate.js +2 -2
  94. package/useKeyPress.js +2 -2
  95. package/usePrevious.js +2 -2
  96. package/useRovingFocus.js +4 -4
  97. 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 = 169);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 170);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -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,25 +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
481
  /* 74 */,
482
- /* 75 */
482
+ /* 75 */,
483
+ /* 76 */,
484
+ /* 77 */
483
485
  /***/ (function(module, exports) {
484
486
 
485
487
  module.exports = require("lodash/isNumber");
486
488
 
487
489
  /***/ }),
488
- /* 76 */,
489
- /* 77 */
490
+ /* 78 */,
491
+ /* 79 */
490
492
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
491
493
 
492
494
  "use strict";
@@ -509,26 +511,24 @@ function assertDefined(val, msg) {
509
511
 
510
512
 
511
513
  /***/ }),
512
- /* 78 */,
513
- /* 79 */,
514
514
  /* 80 */,
515
515
  /* 81 */,
516
- /* 82 */
516
+ /* 82 */,
517
+ /* 83 */,
518
+ /* 84 */
517
519
  /***/ (function(module, exports) {
518
520
 
519
521
  module.exports = require("lodash/indexOf");
520
522
 
521
523
  /***/ }),
522
- /* 83 */,
523
- /* 84 */,
524
- /* 85 */
524
+ /* 85 */,
525
+ /* 86 */,
526
+ /* 87 */
525
527
  /***/ (function(module, exports) {
526
528
 
527
529
  module.exports = require("@splunk/react-icons/DotsThreeVertical");
528
530
 
529
531
  /***/ }),
530
- /* 86 */,
531
- /* 87 */,
532
532
  /* 88 */,
533
533
  /* 89 */,
534
534
  /* 90 */,
@@ -550,30 +550,35 @@ module.exports = require("@splunk/react-icons/DotsThreeVertical");
550
550
  /* 106 */,
551
551
  /* 107 */,
552
552
  /* 108 */,
553
- /* 109 */
553
+ /* 109 */,
554
+ /* 110 */,
555
+ /* 111 */
554
556
  /***/ (function(module, exports) {
555
557
 
556
558
  module.exports = require("@splunk/react-icons/CaretsSmallUpDown");
557
559
 
558
560
  /***/ }),
559
- /* 110 */,
560
- /* 111 */,
561
- /* 112 */
561
+ /* 112 */,
562
+ /* 113 */,
563
+ /* 114 */
562
564
  /***/ (function(module, exports) {
563
565
 
564
566
  module.exports = require("lodash/findIndex");
565
567
 
566
568
  /***/ }),
567
- /* 113 */
569
+ /* 115 */
568
570
  /***/ (function(module, exports) {
569
571
 
570
572
  module.exports = require("lodash/merge");
571
573
 
572
574
  /***/ }),
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 */,
@@ -614,53 +619,49 @@ module.exports = require("lodash/merge");
614
619
  /* 155 */,
615
620
  /* 156 */,
616
621
  /* 157 */,
617
- /* 158 */
622
+ /* 158 */,
623
+ /* 159 */,
624
+ /* 160 */
618
625
  /***/ (function(module, exports) {
619
626
 
620
627
  module.exports = require("lodash/forEach");
621
628
 
622
629
  /***/ }),
623
- /* 159 */
624
- /***/ (function(module, exports) {
625
-
626
- module.exports = require("lodash/isEqual");
627
-
628
- /***/ }),
629
- /* 160 */
630
+ /* 161 */
630
631
  /***/ (function(module, exports) {
631
632
 
632
633
  module.exports = require("react-resize-detector");
633
634
 
634
635
  /***/ }),
635
- /* 161 */
636
+ /* 162 */
636
637
  /***/ (function(module, exports) {
637
638
 
638
639
  module.exports = require("@splunk/react-icons/ArrowDown");
639
640
 
640
641
  /***/ }),
641
- /* 162 */
642
+ /* 163 */
642
643
  /***/ (function(module, exports) {
643
644
 
644
645
  module.exports = require("@splunk/react-icons/ArrowUp");
645
646
 
646
647
  /***/ }),
647
- /* 163 */
648
+ /* 164 */
648
649
  /***/ (function(module, exports) {
649
650
 
650
651
  module.exports = require("@splunk/react-icons/ArrowUpDown");
651
652
 
652
653
  /***/ }),
653
- /* 164 */
654
+ /* 165 */
654
655
  /***/ (function(module, exports) {
655
656
 
656
657
  module.exports = require("@splunk/react-icons/enterprise/Info");
657
658
 
658
659
  /***/ }),
659
- /* 165 */,
660
660
  /* 166 */,
661
661
  /* 167 */,
662
662
  /* 168 */,
663
- /* 169 */
663
+ /* 169 */,
664
+ /* 170 */
664
665
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
665
666
 
666
667
  "use strict";
@@ -686,7 +687,7 @@ var external_prop_types_ = __webpack_require__(1);
686
687
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
687
688
 
688
689
  // EXTERNAL MODULE: external "lodash/forEach"
689
- var forEach_ = __webpack_require__(158);
690
+ var forEach_ = __webpack_require__(160);
690
691
  var forEach_default = /*#__PURE__*/__webpack_require__.n(forEach_);
691
692
 
692
693
  // EXTERNAL MODULE: external "lodash/has"
@@ -694,26 +695,26 @@ var has_ = __webpack_require__(11);
694
695
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
695
696
 
696
697
  // EXTERNAL MODULE: external "lodash/indexOf"
697
- var indexOf_ = __webpack_require__(82);
698
+ var indexOf_ = __webpack_require__(84);
698
699
  var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
699
700
 
700
701
  // EXTERNAL MODULE: external "lodash/isEqual"
701
- var isEqual_ = __webpack_require__(159);
702
+ var isEqual_ = __webpack_require__(117);
702
703
  var isEqual_default = /*#__PURE__*/__webpack_require__.n(isEqual_);
703
704
 
704
705
  // EXTERNAL MODULE: external "lodash/isNumber"
705
- var isNumber_ = __webpack_require__(75);
706
+ var isNumber_ = __webpack_require__(77);
706
707
 
707
708
  // EXTERNAL MODULE: external "lodash/omit"
708
709
  var omit_ = __webpack_require__(5);
709
710
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
710
711
 
711
712
  // EXTERNAL MODULE: external "lodash/throttle"
712
- var throttle_ = __webpack_require__(31);
713
+ var throttle_ = __webpack_require__(33);
713
714
  var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
714
715
 
715
716
  // EXTERNAL MODULE: external "react-resize-detector"
716
- var external_react_resize_detector_ = __webpack_require__(160);
717
+ var external_react_resize_detector_ = __webpack_require__(161);
717
718
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
718
719
 
719
720
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -724,10 +725,10 @@ var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
724
725
  var keyboard_ = __webpack_require__(7);
725
726
 
726
727
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
727
- var ScrollContainerContext_ = __webpack_require__(50);
728
+ var ScrollContainerContext_ = __webpack_require__(53);
728
729
 
729
730
  // EXTERNAL MODULE: external "lodash/findIndex"
730
- var findIndex_ = __webpack_require__(112);
731
+ var findIndex_ = __webpack_require__(114);
731
732
  var findIndex_default = /*#__PURE__*/__webpack_require__.n(findIndex_);
732
733
 
733
734
  // EXTERNAL MODULE: external "lodash/includes"
@@ -735,7 +736,7 @@ var includes_ = __webpack_require__(15);
735
736
  var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
736
737
 
737
738
  // EXTERNAL MODULE: external "lodash/without"
738
- var without_ = __webpack_require__(59);
739
+ var without_ = __webpack_require__(61);
739
740
  var without_default = /*#__PURE__*/__webpack_require__.n(without_);
740
741
 
741
742
  // EXTERNAL MODULE: external "styled-components"
@@ -1449,31 +1450,31 @@ var isString_ = __webpack_require__(23);
1449
1450
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString_);
1450
1451
 
1451
1452
  // EXTERNAL MODULE: external "lodash/merge"
1452
- var merge_ = __webpack_require__(113);
1453
+ var merge_ = __webpack_require__(115);
1453
1454
  var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
1454
1455
 
1455
1456
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
1456
- var ArrowDown_ = __webpack_require__(161);
1457
+ var ArrowDown_ = __webpack_require__(162);
1457
1458
  var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
1458
1459
 
1459
1460
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
1460
- var ArrowUp_ = __webpack_require__(162);
1461
+ var ArrowUp_ = __webpack_require__(163);
1461
1462
  var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
1462
1463
 
1463
1464
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUpDown"
1464
- var ArrowUpDown_ = __webpack_require__(163);
1465
+ var ArrowUpDown_ = __webpack_require__(164);
1465
1466
  var ArrowUpDown_default = /*#__PURE__*/__webpack_require__.n(ArrowUpDown_);
1466
1467
 
1467
1468
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretSmallDown"
1468
- var CaretSmallDown_ = __webpack_require__(53);
1469
+ var CaretSmallDown_ = __webpack_require__(56);
1469
1470
  var CaretSmallDown_default = /*#__PURE__*/__webpack_require__.n(CaretSmallDown_);
1470
1471
 
1471
1472
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretsSmallUpDown"
1472
- var CaretsSmallUpDown_ = __webpack_require__(109);
1473
+ var CaretsSmallUpDown_ = __webpack_require__(111);
1473
1474
  var CaretsSmallUpDown_default = /*#__PURE__*/__webpack_require__.n(CaretsSmallUpDown_);
1474
1475
 
1475
1476
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Caret"
1476
- var Caret_ = __webpack_require__(54);
1477
+ var Caret_ = __webpack_require__(57);
1477
1478
  var Caret_default = /*#__PURE__*/__webpack_require__.n(Caret_);
1478
1479
 
1479
1480
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
@@ -1815,7 +1816,7 @@ function DragHandle(_ref) {
1815
1816
  DragHandle.propTypes = DragHandle_propTypes;
1816
1817
  /* harmony default export */ var Table_DragHandle = (DragHandle);
1817
1818
  // EXTERNAL MODULE: ./src/utils/ssrDocument.ts
1818
- var ssrDocument = __webpack_require__(27);
1819
+ var ssrDocument = __webpack_require__(28);
1819
1820
 
1820
1821
  // CONCATENATED MODULE: ./src/Table/HeadInner.tsx
1821
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); }
@@ -2468,11 +2469,11 @@ HeadCell_defineProperty(HeadCell_HeadCell, "contextType", Table_TableContext);
2468
2469
 
2469
2470
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2470
2471
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Info"
2471
- var Info_ = __webpack_require__(164);
2472
+ var Info_ = __webpack_require__(165);
2472
2473
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2473
2474
 
2474
2475
  // EXTERNAL MODULE: external "@splunk/react-icons/ChevronRight"
2475
- var ChevronRight_ = __webpack_require__(43);
2476
+ var ChevronRight_ = __webpack_require__(46);
2476
2477
  var ChevronRight_default = /*#__PURE__*/__webpack_require__.n(ChevronRight_);
2477
2478
 
2478
2479
  // CONCATENATED MODULE: ./src/Table/icons/HeadExpandRows.tsx
@@ -2499,7 +2500,7 @@ function HeadExpandRows() {
2499
2500
  });
2500
2501
  }
2501
2502
  // EXTERNAL MODULE: external "@splunk/react-icons/DotsThreeVertical"
2502
- var DotsThreeVertical_ = __webpack_require__(85);
2503
+ var DotsThreeVertical_ = __webpack_require__(87);
2503
2504
  var DotsThreeVertical_default = /*#__PURE__*/__webpack_require__.n(DotsThreeVertical_);
2504
2505
 
2505
2506
  // EXTERNAL MODULE: external "@splunk/react-ui/Button"
@@ -2511,14 +2512,14 @@ var Dropdown_ = __webpack_require__(22);
2511
2512
  var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
2512
2513
 
2513
2514
  // EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
2514
- var Tooltip_ = __webpack_require__(42);
2515
+ var Tooltip_ = __webpack_require__(45);
2515
2516
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
2516
2517
 
2517
2518
  // EXTERNAL MODULE: external "@splunk/ui-utils/format"
2518
- var format_ = __webpack_require__(28);
2519
+ var format_ = __webpack_require__(29);
2519
2520
 
2520
2521
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
2521
- var enterprise_ChevronRight_ = __webpack_require__(35);
2522
+ var enterprise_ChevronRight_ = __webpack_require__(38);
2522
2523
  var enterprise_ChevronRight_default = /*#__PURE__*/__webpack_require__.n(enterprise_ChevronRight_);
2523
2524
 
2524
2525
  // CONCATENATED MODULE: ./src/Table/icons/ExpansionRow.tsx
@@ -2858,7 +2859,7 @@ var StyledCellExpansionDisabled = external_styled_components_default()(Table_Cel
2858
2859
  }));
2859
2860
 
2860
2861
  // EXTERNAL MODULE: external "@splunk/react-ui/Switch"
2861
- var Switch_ = __webpack_require__(58);
2862
+ var Switch_ = __webpack_require__(39);
2862
2863
  var Switch_default = /*#__PURE__*/__webpack_require__.n(Switch_);
2863
2864
 
2864
2865
  // CONCATENATED MODULE: ./src/Table/ToggleStyles.ts
@@ -3739,7 +3740,7 @@ var isFinite_ = __webpack_require__(19);
3739
3740
  var isFinite_default = /*#__PURE__*/__webpack_require__.n(isFinite_);
3740
3741
 
3741
3742
  // EXTERNAL MODULE: external "lodash/isFunction"
3742
- var isFunction_ = __webpack_require__(69);
3743
+ var isFunction_ = __webpack_require__(71);
3743
3744
  var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction_);
3744
3745
 
3745
3746
  // EXTERNAL MODULE: external "@splunk/ui-utils/id"
@@ -4209,7 +4210,7 @@ HeadDropdownCell_defineProperty(HeadDropdownCell_HeadDropdownCell, "contextType"
4209
4210
 
4210
4211
  /* harmony default export */ var Table_HeadDropdownCell = (HeadDropdownCell_HeadDropdownCell);
4211
4212
  // EXTERNAL MODULE: external "lodash/extend"
4212
- var extend_ = __webpack_require__(49);
4213
+ var extend_ = __webpack_require__(52);
4213
4214
  var extend_default = /*#__PURE__*/__webpack_require__.n(extend_);
4214
4215
 
4215
4216
  // CONCATENATED MODULE: ./src/Table/HeadTableStyles.ts
@@ -4398,7 +4399,7 @@ HeadTable_defineProperty(HeadTable_HeadTable, "defaultProps", HeadTable_defaultP
4398
4399
 
4399
4400
  /* harmony default export */ var Table_HeadTable = (HeadTable_HeadTable);
4400
4401
  // EXTERNAL MODULE: ./src/utils/types.ts
4401
- var types = __webpack_require__(77);
4402
+ var types = __webpack_require__(79);
4402
4403
 
4403
4404
  // CONCATENATED MODULE: ./src/Table/Table.tsx
4404
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); }
@@ -4839,6 +4840,38 @@ var Table_Table = /*#__PURE__*/function (_Component) {
4839
4840
 
4840
4841
  if (false) {}
4841
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
+ }
4842
4875
  }, {
4843
4876
  key: "componentDidMount",
4844
4877
  value: function componentDidMount() {