@splunk/react-ui 4.9.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) 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/Button.js +24 -48
  7. package/ButtonGroup.js +6 -27
  8. package/ButtonSimple.js +4 -4
  9. package/CHANGELOG.md +63 -6
  10. package/Calendar.js +39 -39
  11. package/Card.js +54 -68
  12. package/CardLayout.js +14 -35
  13. package/Chip.js +19 -19
  14. package/Clickable.js +28 -13
  15. package/CloseButton.js +15 -15
  16. package/Code.js +8 -5
  17. package/CollapsiblePanel.js +6 -6
  18. package/Color.js +21 -21
  19. package/ColumnLayout.js +7 -7
  20. package/ComboBox.js +19 -14
  21. package/Concertina.js +13 -13
  22. package/ControlGroup.js +28 -18
  23. package/Date.js +10 -10
  24. package/DefinitionList.js +2 -2
  25. package/Dropdown.js +6 -6
  26. package/EventListener.js +4 -4
  27. package/File.js +31 -31
  28. package/FormRows.js +11 -11
  29. package/Heading.js +2 -2
  30. package/Image.js +21 -21
  31. package/JSONTree.js +40 -22
  32. package/Layer.js +72 -22
  33. package/Link.js +9 -9
  34. package/List.js +2 -2
  35. package/Markdown.js +26 -29
  36. package/Menu.js +53 -53
  37. package/Message.js +33 -33
  38. package/MessageBar.js +46 -39
  39. package/Modal.js +8 -8
  40. package/ModalLayer.js +16 -7
  41. package/Monogram.js +27 -15
  42. package/Multiselect.js +101 -97
  43. package/Number.js +6 -6
  44. package/Paginator.js +46 -49
  45. package/Paragraph.js +2 -2
  46. package/Popover.js +18 -13
  47. package/Progress.js +8 -8
  48. package/RadioBar.js +145 -41
  49. package/RadioList.js +2 -2
  50. package/Resize.js +4 -4
  51. package/ResultsMenu.js +62 -41
  52. package/ScreenReaderContent.js +2 -2
  53. package/Scroll.js +6 -6
  54. package/ScrollContainerContext.js +2 -2
  55. package/Search.js +19 -18
  56. package/Select.js +81 -79
  57. package/SidePanel.js +4 -4
  58. package/Slider.js +8 -8
  59. package/SlidingPanels.js +16 -7
  60. package/StaticContent.js +2 -2
  61. package/StepBar.js +8 -8
  62. package/Switch.js +8 -8
  63. package/TabBar.js +15 -15
  64. package/TabLayout.js +4 -4
  65. package/Table.js +119 -92
  66. package/Text.js +121 -241
  67. package/TextArea.js +1444 -0
  68. package/Tooltip.js +17 -6
  69. package/TransitionOpen.js +20 -10
  70. package/Typography.js +225 -0
  71. package/WaitSpinner.js +4 -4
  72. package/cypress.json +1 -0
  73. package/package.json +21 -8
  74. package/stubs-splunkui.d.ts +13 -0
  75. package/test-runner-jest.config.js +38 -0
  76. package/types/src/Accordion/AccordionContext.d.ts +0 -1
  77. package/types/src/Button/Button.d.ts +0 -2
  78. package/types/src/ButtonGroup/ButtonGroupContext.d.ts +0 -1
  79. package/types/src/Card/Body.d.ts +6 -1
  80. package/types/src/Card/Card.d.ts +0 -2
  81. package/types/src/CardLayout/CardLayoutContext.d.ts +0 -1
  82. package/types/src/Clickable/Clickable.d.ts +5 -0
  83. package/types/src/ComboBox/ComboBox.d.ts +15 -5
  84. package/types/src/Concertina/ConcertinaContext.d.ts +0 -1
  85. package/types/src/ControlGroup/ControlGroup.d.ts +9 -2
  86. package/types/src/Date/Date.d.ts +3 -3
  87. package/types/src/File/FileContext.d.ts +0 -1
  88. package/types/src/FormRows/FormRows.d.ts +1 -1
  89. package/types/src/FormRows/FormRowsContext.d.ts +0 -1
  90. package/types/src/FormRows/Row.d.ts +1 -1
  91. package/types/src/JSONTree/JSONTree.d.ts +2 -2
  92. package/types/src/JSONTree/TreeNode.d.ts +1 -1
  93. package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +1 -0
  94. package/types/src/Layer/LayerStack.d.ts +8 -2
  95. package/types/src/Markdown/Markdown.d.ts +2 -3
  96. package/types/src/Menu/MenuContext.d.ts +0 -1
  97. package/types/src/Modal/ModalContext.d.ts +0 -1
  98. package/types/src/ModalLayer/ModalLayer.d.ts +2 -0
  99. package/types/src/Monogram/Monogram.d.ts +2 -2
  100. package/types/src/Multiselect/Compact.d.ts +11 -4
  101. package/types/src/Multiselect/Multiselect.d.ts +14 -5
  102. package/types/src/Multiselect/Normal.d.ts +11 -4
  103. package/types/src/Number/Number.d.ts +3 -3
  104. package/types/src/Popover/Popover.d.ts +1 -0
  105. package/types/src/Popover/PopoverContext.d.ts +0 -1
  106. package/types/src/RadioBar/Option.d.ts +10 -2
  107. package/types/src/RadioBar/RadioBar.d.ts +4 -1
  108. package/types/src/RadioBar/RadioBarContext.d.ts +4 -2
  109. package/types/src/RadioList/RadioListContext.d.ts +0 -1
  110. package/types/src/ResultsMenu/ResultsMenu.d.ts +8 -2
  111. package/types/src/Search/Search.d.ts +4 -0
  112. package/types/src/Select/Select.d.ts +13 -4
  113. package/types/src/Select/SelectBase.d.ts +12 -4
  114. package/types/src/SidePanel/SidePanel.d.ts +2 -1
  115. package/types/src/Slider/Slider.d.ts +3 -3
  116. package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -0
  117. package/types/src/StepBar/StepBarContext.d.ts +0 -1
  118. package/types/src/TabBar/TabBarContext.d.ts +0 -1
  119. package/types/src/Table/HeadCell.d.ts +7 -3
  120. package/types/src/Table/Table.d.ts +2 -3
  121. package/types/src/Table/TableContext.d.ts +5 -0
  122. package/types/src/Text/Text.d.ts +22 -12
  123. package/types/src/TextArea/TextArea.d.ts +190 -0
  124. package/types/src/TextArea/docs/examples/Basic.d.ts +2 -0
  125. package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -0
  126. package/types/src/TextArea/docs/examples/Error.d.ts +2 -0
  127. package/types/src/TextArea/docs/examples/Inline.d.ts +2 -0
  128. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -0
  129. package/types/src/TextArea/index.d.ts +2 -0
  130. package/types/src/{Text → TextArea}/syncHeightWithShadow.d.ts +1 -2
  131. package/types/src/Tooltip/Tooltip.d.ts +8 -5
  132. package/types/src/TransitionOpen/TransitionOpen.d.ts +3 -0
  133. package/types/src/TransitionOpen/index.d.ts +1 -0
  134. package/types/src/Typography/Typography.d.ts +78 -0
  135. package/types/src/Typography/docs/examples/Basic.d.ts +2 -0
  136. package/types/src/Typography/docs/examples/Variants.d.ts +2 -0
  137. package/types/src/Typography/index.d.ts +2 -0
  138. package/types/src/Typography/test/Typography.unit.d.ts +1 -0
  139. package/types/src/fixtures/FetchOptions.d.ts +82 -2
  140. package/usePrevious.js +2 -2
  141. package/FetchOptions.js +0 -359
  142. package/types/src/FetchOptions/FetchOptions.d.ts +0 -82
  143. package/types/src/FetchOptions/index.d.ts +0 -2
package/Paginator.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 = 121);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 117);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 101:
105
- /***/ (function(module, exports) {
106
-
107
- module.exports = require("@splunk/react-icons/More");
108
-
109
- /***/ }),
110
-
111
- /***/ 121:
104
+ /***/ 117:
112
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
106
 
114
107
  "use strict";
@@ -127,7 +120,7 @@ var external_prop_types_ = __webpack_require__(1);
127
120
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
128
121
 
129
122
  // EXTERNAL MODULE: external "@splunk/ui-utils/format"
130
- var format_ = __webpack_require__(41);
123
+ var format_ = __webpack_require__(43);
131
124
 
132
125
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
133
126
  var i18n_ = __webpack_require__(5);
@@ -140,7 +133,7 @@ var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
140
133
  var themes_ = __webpack_require__(0);
141
134
 
142
135
  // EXTERNAL MODULE: external "@splunk/react-icons/More"
143
- var More_ = __webpack_require__(101);
136
+ var More_ = __webpack_require__(98);
144
137
  var More_default = /*#__PURE__*/__webpack_require__.n(More_);
145
138
 
146
139
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -187,10 +180,7 @@ var StyledEllipsisWrapper = external_styled_components_default.a.span.withConfig
187
180
  })(["display:flex;align-items:center;margin:", ";color:", ";"], Object(themes_["pick"])({
188
181
  enterprise: '0px 11px',
189
182
  prisma: '0px 20px'
190
- }), Object(themes_["pick"])({
191
- enterprise: themes_["variables"].contentColorDisabled,
192
- prisma: themes_["variables"].contentColorActive
193
- }));
183
+ }), themes_["variables"].contentColorActive);
194
184
 
195
185
  // CONCATENATED MODULE: ./src/Paginator/PageSeparator.tsx
196
186
 
@@ -216,7 +206,7 @@ function PageSeparator() {
216
206
  var external_lodash_ = __webpack_require__(4);
217
207
 
218
208
  // EXTERNAL MODULE: external "@splunk/react-ui/ButtonSimple"
219
- var ButtonSimple_ = __webpack_require__(45);
209
+ var ButtonSimple_ = __webpack_require__(46);
220
210
  var ButtonSimple_default = /*#__PURE__*/__webpack_require__.n(ButtonSimple_);
221
211
 
222
212
  // CONCATENATED MODULE: ./src/Paginator/ButtonStyles.ts
@@ -348,7 +338,7 @@ _defineProperty(Button_PaginatorButton, "defaultProps", defaultProps);
348
338
 
349
339
  /* harmony default export */ var Button = (Button_PaginatorButton);
350
340
  // EXTERNAL MODULE: ./src/icons/ChevronLeft.tsx
351
- var ChevronLeft = __webpack_require__(60);
341
+ var ChevronLeft = __webpack_require__(59);
352
342
 
353
343
  // EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
354
344
  var ChevronRight = __webpack_require__(27);
@@ -546,7 +536,7 @@ module.exports = require("react");
546
536
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
547
537
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
548
538
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
549
- /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
539
+ /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32);
550
540
  /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
551
541
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
552
542
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -596,7 +586,7 @@ module.exports = require("styled-components");
596
586
 
597
587
  /***/ }),
598
588
 
599
- /***/ 31:
589
+ /***/ 32:
600
590
  /***/ (function(module, exports) {
601
591
 
602
592
  module.exports = require("@splunk/react-icons/ChevronRight");
@@ -610,14 +600,14 @@ module.exports = require("lodash");
610
600
 
611
601
  /***/ }),
612
602
 
613
- /***/ 41:
603
+ /***/ 43:
614
604
  /***/ (function(module, exports) {
615
605
 
616
606
  module.exports = require("@splunk/ui-utils/format");
617
607
 
618
608
  /***/ }),
619
609
 
620
- /***/ 45:
610
+ /***/ 46:
621
611
  /***/ (function(module, exports) {
622
612
 
623
613
  module.exports = require("@splunk/react-ui/ButtonSimple");
@@ -631,39 +621,14 @@ module.exports = require("@splunk/ui-utils/i18n");
631
621
 
632
622
  /***/ }),
633
623
 
634
- /***/ 6:
635
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
636
-
637
- "use strict";
638
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SVG; });
639
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
640
- /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
641
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
642
- /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
643
- function _extends() { _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 _extends.apply(this, arguments); }
644
-
645
-
646
-
647
- var Styled = styled_components__WEBPACK_IMPORTED_MODULE_1___default.a.svg.withConfig({
648
- displayName: "SVG__Styled",
649
- componentId: "sc-1bz0ryh-0"
650
- })(["flex:0 0 auto;"]);
651
- function SVG(props) {
652
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Styled, _extends({
653
- xmlns: "http://www.w3.org/2000/svg"
654
- }, props));
655
- }
656
-
657
- /***/ }),
658
-
659
- /***/ 60:
624
+ /***/ 59:
660
625
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
661
626
 
662
627
  "use strict";
663
628
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronLeft; });
664
629
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
665
630
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
666
- /* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61);
631
+ /* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60);
667
632
  /* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__);
668
633
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
669
634
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -706,7 +671,32 @@ function ChevronLeft(props) {
706
671
 
707
672
  /***/ }),
708
673
 
709
- /***/ 61:
674
+ /***/ 6:
675
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
676
+
677
+ "use strict";
678
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SVG; });
679
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
680
+ /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
681
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
682
+ /* harmony import */ var styled_components__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(styled_components__WEBPACK_IMPORTED_MODULE_1__);
683
+ function _extends() { _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 _extends.apply(this, arguments); }
684
+
685
+
686
+
687
+ var Styled = styled_components__WEBPACK_IMPORTED_MODULE_1___default.a.svg.withConfig({
688
+ displayName: "SVG__Styled",
689
+ componentId: "sc-1bz0ryh-0"
690
+ })(["flex:0 0 auto;"]);
691
+ function SVG(props) {
692
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Styled, _extends({
693
+ xmlns: "http://www.w3.org/2000/svg"
694
+ }, props));
695
+ }
696
+
697
+ /***/ }),
698
+
699
+ /***/ 60:
710
700
  /***/ (function(module, exports) {
711
701
 
712
702
  module.exports = require("@splunk/react-icons/ChevronLeft");
@@ -836,6 +826,13 @@ Icon.defaultProps = defaultProps;
836
826
 
837
827
  module.exports = require("@splunk/react-ui/Box");
838
828
 
829
+ /***/ }),
830
+
831
+ /***/ 98:
832
+ /***/ (function(module, exports) {
833
+
834
+ module.exports = require("@splunk/react-icons/More");
835
+
839
836
  /***/ })
840
837
 
841
838
  /******/ });
package/Paragraph.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 = 165);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 163);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 165:
104
+ /***/ 163:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Popover.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 = 138);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 133);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 12:
104
+ /***/ 11:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
128
128
 
129
129
  /***/ }),
130
130
 
131
- /***/ 138:
131
+ /***/ 133:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
@@ -148,7 +148,7 @@ var external_prop_types_ = __webpack_require__(1);
148
148
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
149
149
 
150
150
  // EXTERNAL MODULE: external "react-dom"
151
- var external_react_dom_ = __webpack_require__(70);
151
+ var external_react_dom_ = __webpack_require__(68);
152
152
 
153
153
  // EXTERNAL MODULE: external "lodash"
154
154
  var external_lodash_ = __webpack_require__(4);
@@ -164,11 +164,11 @@ var EventListener_ = __webpack_require__(15);
164
164
  var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
165
165
 
166
166
  // EXTERNAL MODULE: external "@splunk/react-ui/Layer"
167
- var Layer_ = __webpack_require__(56);
167
+ var Layer_ = __webpack_require__(57);
168
168
  var Layer_default = /*#__PURE__*/__webpack_require__.n(Layer_);
169
169
 
170
170
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
171
- var ScrollContainerContext_ = __webpack_require__(35);
171
+ var ScrollContainerContext_ = __webpack_require__(37);
172
172
  var ScrollContainerContext_default = /*#__PURE__*/__webpack_require__.n(ScrollContainerContext_);
173
173
 
174
174
  // EXTERNAL MODULE: external "@splunk/ui-utils/focus"
@@ -516,7 +516,7 @@ var StyledLowerRightCorner = external_styled_components_default.a.div.withConfig
516
516
  })(["position:fixed;right:0;bottom:0;"]);
517
517
 
518
518
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
519
- var updateReactRef = __webpack_require__(12);
519
+ var updateReactRef = __webpack_require__(11);
520
520
 
521
521
  // CONCATENATED MODULE: ./src/Popover/Popover.tsx
522
522
  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); }
@@ -730,6 +730,8 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
730
730
 
731
731
  Popover_defineProperty(_assertThisInitialized(_this), "handleWindowScroll", void 0);
732
732
 
733
+ Popover_defineProperty(_assertThisInitialized(_this), "allowAnimationUpdates", true);
734
+
733
735
  Popover_defineProperty(_assertThisInitialized(_this), "getElPosition", function (anchorEl) {
734
736
  var rect = anchorEl.getBoundingClientRect();
735
737
  var a = {
@@ -890,9 +892,11 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
890
892
  });
891
893
 
892
894
  Popover_defineProperty(_assertThisInitialized(_this), "handleAnimationEnd", function () {
893
- _this.setState({
894
- animating: false
895
- });
895
+ if (_this.allowAnimationUpdates) {
896
+ _this.setState({
897
+ animating: false
898
+ });
899
+ }
896
900
  });
897
901
 
898
902
  Popover_defineProperty(_assertThisInitialized(_this), "renderLayer", function () {
@@ -1031,6 +1035,7 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
1031
1035
  this.setPlacement.cancel(); // guaranteed by constructor
1032
1036
 
1033
1037
  this.handleScroll.cancel();
1038
+ this.allowAnimationUpdates = false;
1034
1039
  }
1035
1040
  }, {
1036
1041
  key: "autoCloseWhenOffScreen",
@@ -1174,7 +1179,7 @@ module.exports = require("@splunk/react-ui/Animation");
1174
1179
 
1175
1180
  /***/ }),
1176
1181
 
1177
- /***/ 35:
1182
+ /***/ 37:
1178
1183
  /***/ (function(module, exports) {
1179
1184
 
1180
1185
  module.exports = require("@splunk/react-ui/ScrollContainerContext");
@@ -1188,14 +1193,14 @@ module.exports = require("lodash");
1188
1193
 
1189
1194
  /***/ }),
1190
1195
 
1191
- /***/ 56:
1196
+ /***/ 57:
1192
1197
  /***/ (function(module, exports) {
1193
1198
 
1194
1199
  module.exports = require("@splunk/react-ui/Layer");
1195
1200
 
1196
1201
  /***/ }),
1197
1202
 
1198
- /***/ 70:
1203
+ /***/ 68:
1199
1204
  /***/ (function(module, exports) {
1200
1205
 
1201
1206
  module.exports = require("react-dom");
package/Progress.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 166);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 164);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 166:
104
+ /***/ 164:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -123,18 +123,18 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
123
123
  var external_lodash_ = __webpack_require__(4);
124
124
 
125
125
  // EXTERNAL MODULE: external "@splunk/react-ui/AnimationToggle"
126
- var AnimationToggle_ = __webpack_require__(34);
126
+ var AnimationToggle_ = __webpack_require__(36);
127
127
 
128
128
  // EXTERNAL MODULE: external "styled-components"
129
129
  var external_styled_components_ = __webpack_require__(3);
130
130
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
131
131
 
132
132
  // EXTERNAL MODULE: external "tinycolor2"
133
- var external_tinycolor2_ = __webpack_require__(46);
133
+ var external_tinycolor2_ = __webpack_require__(47);
134
134
  var external_tinycolor2_default = /*#__PURE__*/__webpack_require__.n(external_tinycolor2_);
135
135
 
136
136
  // EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
137
- var Tooltip_ = __webpack_require__(48);
137
+ var Tooltip_ = __webpack_require__(49);
138
138
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
139
139
 
140
140
  // EXTERNAL MODULE: external "@splunk/react-ui/Box"
@@ -326,7 +326,7 @@ module.exports = require("styled-components");
326
326
 
327
327
  /***/ }),
328
328
 
329
- /***/ 34:
329
+ /***/ 36:
330
330
  /***/ (function(module, exports) {
331
331
 
332
332
  module.exports = require("@splunk/react-ui/AnimationToggle");
@@ -340,14 +340,14 @@ module.exports = require("lodash");
340
340
 
341
341
  /***/ }),
342
342
 
343
- /***/ 46:
343
+ /***/ 47:
344
344
  /***/ (function(module, exports) {
345
345
 
346
346
  module.exports = require("tinycolor2");
347
347
 
348
348
  /***/ }),
349
349
 
350
- /***/ 48:
350
+ /***/ 49:
351
351
  /***/ (function(module, exports) {
352
352
 
353
353
  module.exports = require("@splunk/react-ui/Tooltip");