@splunk/react-ui 4.8.0 → 4.11.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 (117) hide show
  1. package/Accordion.js +4 -4
  2. package/Anchor.js +2 -2
  3. package/Animation.js +2 -2
  4. package/AnimationToggle.js +2 -2
  5. package/Box.js +2 -2
  6. package/Button.js +5 -29
  7. package/ButtonGroup.js +6 -27
  8. package/ButtonSimple.js +4 -4
  9. package/CHANGELOG.md +42 -5
  10. package/Calendar.js +12 -12
  11. package/Card.js +48 -62
  12. package/CardLayout.js +14 -35
  13. package/Chip.js +4 -4
  14. package/Clickable.js +23 -8
  15. package/CloseButton.js +2 -2
  16. package/Code.js +8 -5
  17. package/CollapsiblePanel.js +4 -4
  18. package/Color.js +10 -10
  19. package/ColumnLayout.js +2 -2
  20. package/ComboBox.js +9 -5
  21. package/Concertina.js +13 -13
  22. package/ControlGroup.js +26 -16
  23. package/Date.js +6 -6
  24. package/DefinitionList.js +2 -2
  25. package/Dropdown.js +4 -4
  26. package/EventListener.js +4 -4
  27. package/File.js +15 -15
  28. package/FormRows.js +11 -11
  29. package/Heading.js +2 -2
  30. package/Image.js +8 -8
  31. package/JSONTree.js +40 -22
  32. package/Layer.js +72 -22
  33. package/Link.js +4 -4
  34. package/List.js +2 -2
  35. package/Markdown.js +62 -30
  36. package/Menu.js +42 -42
  37. package/Message.js +18 -18
  38. package/MessageBar.js +28 -21
  39. package/Modal.js +6 -6
  40. package/ModalLayer.js +16 -7
  41. package/Monogram.js +27 -15
  42. package/Multiselect.js +12 -12
  43. package/Number.js +4 -4
  44. package/Paginator.js +21 -24
  45. package/Paragraph.js +2 -2
  46. package/Popover.js +16 -11
  47. package/Progress.js +2 -2
  48. package/RadioBar.js +143 -39
  49. package/RadioList.js +2 -2
  50. package/Resize.js +4 -4
  51. package/ResultsMenu.js +20 -20
  52. package/ScreenReaderContent.js +2 -2
  53. package/Scroll.js +4 -4
  54. package/ScrollContainerContext.js +2 -2
  55. package/Search.js +6 -6
  56. package/Select.js +9 -9
  57. package/SidePanel.js +4 -4
  58. package/Slider.js +4 -4
  59. package/SlidingPanels.js +16 -7
  60. package/StaticContent.js +2 -2
  61. package/StepBar.js +2 -2
  62. package/Switch.js +4 -4
  63. package/TabBar.js +11 -11
  64. package/TabLayout.js +4 -4
  65. package/Table.js +26 -31
  66. package/Text.js +18 -10
  67. package/Tooltip.js +21 -6
  68. package/TransitionOpen.js +14 -5
  69. package/WaitSpinner.js +2 -2
  70. package/package.json +12 -9
  71. package/stubs-splunkui.d.ts +13 -0
  72. package/types/src/Accordion/AccordionContext.d.ts +0 -1
  73. package/types/src/Button/Button.d.ts +0 -2
  74. package/types/src/ButtonGroup/ButtonGroupContext.d.ts +0 -1
  75. package/types/src/ButtonSimple/ButtonSimple.d.ts +2 -6
  76. package/types/src/Card/Body.d.ts +6 -1
  77. package/types/src/Card/Card.d.ts +0 -2
  78. package/types/src/CardLayout/CardLayoutContext.d.ts +0 -1
  79. package/types/src/Clickable/Clickable.d.ts +5 -0
  80. package/types/src/ComboBox/ComboBox.d.ts +2 -1
  81. package/types/src/Concertina/ConcertinaContext.d.ts +0 -1
  82. package/types/src/ControlGroup/ControlGroup.d.ts +9 -2
  83. package/types/src/Date/Date.d.ts +3 -3
  84. package/types/src/File/FileContext.d.ts +0 -1
  85. package/types/src/FormRows/FormRows.d.ts +1 -1
  86. package/types/src/FormRows/FormRowsContext.d.ts +0 -1
  87. package/types/src/FormRows/Row.d.ts +1 -1
  88. package/types/src/JSONTree/JSONTree.d.ts +2 -2
  89. package/types/src/JSONTree/TreeNode.d.ts +1 -1
  90. package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +1 -0
  91. package/types/src/Layer/LayerStack.d.ts +8 -2
  92. package/types/src/Markdown/Markdown.d.ts +9 -4
  93. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +15 -0
  94. package/types/src/Markdown/renderers/index.d.ts +2 -1
  95. package/types/src/Menu/MenuContext.d.ts +0 -1
  96. package/types/src/Modal/ModalContext.d.ts +0 -1
  97. package/types/src/ModalLayer/ModalLayer.d.ts +2 -0
  98. package/types/src/Monogram/Monogram.d.ts +2 -2
  99. package/types/src/Number/Number.d.ts +3 -3
  100. package/types/src/Popover/Popover.d.ts +1 -0
  101. package/types/src/Popover/PopoverContext.d.ts +0 -1
  102. package/types/src/RadioBar/Option.d.ts +10 -2
  103. package/types/src/RadioBar/RadioBar.d.ts +4 -1
  104. package/types/src/RadioBar/RadioBarContext.d.ts +4 -2
  105. package/types/src/RadioList/RadioListContext.d.ts +0 -1
  106. package/types/src/Slider/Slider.d.ts +3 -3
  107. package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -0
  108. package/types/src/StepBar/StepBarContext.d.ts +0 -1
  109. package/types/src/TabBar/TabBarContext.d.ts +0 -1
  110. package/types/src/Text/Text.d.ts +4 -3
  111. package/types/src/Tooltip/Tooltip.d.ts +15 -10
  112. package/types/src/TransitionOpen/TransitionOpen.d.ts +2 -0
  113. package/types/src/fixtures/FetchOptions.d.ts +82 -2
  114. package/usePrevious.js +2 -2
  115. package/FetchOptions.js +0 -359
  116. package/types/src/FetchOptions/FetchOptions.d.ts +0 -82
  117. package/types/src/FetchOptions/index.d.ts +0 -2
package/Monogram.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 164);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 160);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 11:
104
+ /***/ 12:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/Clickable");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 164:
111
+ /***/ 160:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -135,7 +135,7 @@ var external_styled_components_ = __webpack_require__(3);
135
135
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
136
136
 
137
137
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
138
- var Clickable_ = __webpack_require__(11);
138
+ var Clickable_ = __webpack_require__(12);
139
139
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
140
140
 
141
141
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -160,7 +160,7 @@ var backgroundColors = ['#006d9c', '#ec9960', '#af575a', '#62b3b2', '#4fa484', '
160
160
  var Styled = external_styled_components_default.a.div.withConfig({
161
161
  displayName: "MonogramStyles__Styled",
162
162
  componentId: "r5ud6k-0"
163
- })(["", ";align-items:center;justify-content:center;border-radius:50%;font-weight:normal;", " background-color:", ";", " & + &{margin-left:4px;}"], themes_["mixins"].reset('inline-flex'), Object(themes_["pick"])({
163
+ })(["", ";align-items:center;justify-content:center;border-radius:50%;font-weight:normal;", " background-color:", ";", ";& + &{margin-left:4px;}"], themes_["mixins"].reset('inline-flex'), Object(themes_["pick"])({
164
164
  prisma: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].contentColorActive)
165
165
  }), function (_ref) {
166
166
  var $backgroundColor = _ref.$backgroundColor,
@@ -181,15 +181,27 @@ var Styled = external_styled_components_default.a.div.withConfig({
181
181
  }
182
182
 
183
183
  return $backgroundColor;
184
- }, Object(themes_["pickVariant"])('$size', {
185
- small: Object(external_styled_components_["css"])(["font-size:", ";", ""], themes_["variables"].fontSize, Object(themes_["pick"])({
186
- enterprise: Object(external_styled_components_["css"])(["height:32px;width:32px;"]),
187
- prisma: Object(external_styled_components_["css"])(["height:24px;width:24px;"])
188
- })),
189
- medium: Object(external_styled_components_["css"])(["height:48px;width:48px;font-size:", ";"], themes_["variables"].fontSize),
190
- large: Object(external_styled_components_["css"])(["height:80px;width:80px;font-size:", ";"], themes_["variables"].fontSizeXXLarge),
191
- xlarge: "\n width: 144px;\n height: 144px;\n font-size: 36px;\n font-weight: 700;\n "
192
- }));
184
+ }, function (_ref2) {
185
+ var $size = _ref2.$size;
186
+
187
+ if (typeof $size === 'number') {
188
+ return Object(external_styled_components_["css"])(["height:", "px;width:", "px;"], $size, $size);
189
+ }
190
+
191
+ if (typeof $size === 'string') {
192
+ return Object(themes_["pickVariant"])('$size', {
193
+ small: Object(external_styled_components_["css"])(["font-size:", ";", ""], themes_["variables"].fontSize, Object(themes_["pick"])({
194
+ enterprise: Object(external_styled_components_["css"])(["height:32px;width:32px;"]),
195
+ prisma: Object(external_styled_components_["css"])(["height:24px;width:24px;"])
196
+ })),
197
+ medium: Object(external_styled_components_["css"])(["height:48px;width:48px;font-size:", ";"], themes_["variables"].fontSize),
198
+ large: Object(external_styled_components_["css"])(["height:80px;width:80px;font-size:", ";"], themes_["variables"].fontSizeXXLarge),
199
+ xlarge: "\n width: 144px;\n height: 144px;\n font-size: 36px;\n font-weight: 700;\n "
200
+ });
201
+ }
202
+
203
+ return Object(external_styled_components_["css"])(["height:48px;width:48px;font-size:", ";"], themes_["variables"].fontSize);
204
+ });
193
205
  var StyledClickableComponent = Styled.withComponent(Clickable_default.a);
194
206
  var StyledClickable = external_styled_components_default()(StyledClickableComponent).withConfig({
195
207
  displayName: "MonogramStyles__StyledClickable",
@@ -238,7 +250,7 @@ var propTypes = {
238
250
  initials: external_prop_types_default.a.string.isRequired,
239
251
  name: external_prop_types_default.a.string,
240
252
  onClick: external_prop_types_default.a.func,
241
- size: external_prop_types_default.a.oneOf(['small', 'medium', 'large', 'xlarge'])
253
+ size: external_prop_types_default.a.oneOfType([external_prop_types_default.a.oneOf(['small', 'medium', 'large', 'xlarge']), external_prop_types_default.a.number])
242
254
  };
243
255
  var defaultProps = {
244
256
  backgroundColor: 'theme',
package/Multiselect.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 = 128);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 123);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,14 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 100:
112
- /***/ (function(module, exports) {
113
-
114
- module.exports = require("@splunk/react-ui/Chip");
115
-
116
- /***/ }),
117
-
118
- /***/ 12:
111
+ /***/ 11:
119
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
113
 
121
114
  "use strict";
@@ -142,7 +135,7 @@ function updateReactRef(ref, current) {
142
135
 
143
136
  /***/ }),
144
137
 
145
- /***/ 128:
138
+ /***/ 123:
146
139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
140
 
148
141
  "use strict";
@@ -478,7 +471,7 @@ var id_ = __webpack_require__(10);
478
471
  var keyboard_ = __webpack_require__(9);
479
472
 
480
473
  // EXTERNAL MODULE: external "@splunk/react-ui/Chip"
481
- var Chip_ = __webpack_require__(100);
474
+ var Chip_ = __webpack_require__(96);
482
475
  var Chip_default = /*#__PURE__*/__webpack_require__.n(Chip_);
483
476
 
484
477
  // EXTERNAL MODULE: external "@splunk/react-ui/ResultsMenu"
@@ -580,7 +573,7 @@ var StyledOverlay = external_styled_components_default.a.div.withConfig({
580
573
  });
581
574
 
582
575
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
583
- var updateReactRef = __webpack_require__(12);
576
+ var updateReactRef = __webpack_require__(11);
584
577
 
585
578
  // CONCATENATED MODULE: ./src/Multiselect/Normal.tsx
586
579
  function Normal_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Normal_typeof = function _typeof(obj) { return typeof obj; }; } else { Normal_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Normal_typeof(obj); }
@@ -3247,6 +3240,13 @@ module.exports = require("@splunk/react-ui/Box");
3247
3240
 
3248
3241
  module.exports = require("@splunk/ui-utils/keyboard");
3249
3242
 
3243
+ /***/ }),
3244
+
3245
+ /***/ 96:
3246
+ /***/ (function(module, exports) {
3247
+
3248
+ module.exports = require("@splunk/react-ui/Chip");
3249
+
3250
3250
  /***/ })
3251
3251
 
3252
3252
  /******/ });
package/Number.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 = 144);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 139);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 11:
104
+ /***/ 12:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/Clickable");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 144:
111
+ /***/ 139:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -166,7 +166,7 @@ var Button_ = __webpack_require__(17);
166
166
  var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
167
167
 
168
168
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
169
- var Clickable_ = __webpack_require__(11);
169
+ var Clickable_ = __webpack_require__(12);
170
170
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
171
171
 
172
172
  // EXTERNAL MODULE: external "@splunk/react-ui/Text"
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 = 116);
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
+ /***/ 116:
112
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
106
 
114
107
  "use strict";
@@ -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__(97);
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
 
@@ -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__(59);
341
+ var ChevronLeft = __webpack_require__(58);
352
342
 
353
343
  // EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
354
344
  var ChevronRight = __webpack_require__(27);
@@ -631,14 +621,14 @@ module.exports = require("@splunk/ui-utils/i18n");
631
621
 
632
622
  /***/ }),
633
623
 
634
- /***/ 59:
624
+ /***/ 58:
635
625
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
636
626
 
637
627
  "use strict";
638
628
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronLeft; });
639
629
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
640
630
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
641
- /* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(60);
631
+ /* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59);
642
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__);
643
633
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
644
634
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -681,6 +671,13 @@ function ChevronLeft(props) {
681
671
 
682
672
  /***/ }),
683
673
 
674
+ /***/ 59:
675
+ /***/ (function(module, exports) {
676
+
677
+ module.exports = require("@splunk/react-icons/ChevronLeft");
678
+
679
+ /***/ }),
680
+
684
681
  /***/ 6:
685
682
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
686
683
 
@@ -706,13 +703,6 @@ function SVG(props) {
706
703
 
707
704
  /***/ }),
708
705
 
709
- /***/ 60:
710
- /***/ (function(module, exports) {
711
-
712
- module.exports = require("@splunk/react-icons/ChevronLeft");
713
-
714
- /***/ }),
715
-
716
706
  /***/ 7:
717
707
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
718
708
 
@@ -836,6 +826,13 @@ Icon.defaultProps = defaultProps;
836
826
 
837
827
  module.exports = require("@splunk/react-ui/Box");
838
828
 
829
+ /***/ }),
830
+
831
+ /***/ 97:
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 = 161);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 165:
104
+ /***/ 161:
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__(68);
151
+ var external_react_dom_ = __webpack_require__(67);
152
152
 
153
153
  // EXTERNAL MODULE: external "lodash"
154
154
  var external_lodash_ = __webpack_require__(4);
@@ -164,7 +164,7 @@ 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__(55);
167
+ var Layer_ = __webpack_require__(56);
168
168
  var Layer_default = /*#__PURE__*/__webpack_require__.n(Layer_);
169
169
 
170
170
  // EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
@@ -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",
@@ -1188,14 +1193,14 @@ module.exports = require("lodash");
1188
1193
 
1189
1194
  /***/ }),
1190
1195
 
1191
- /***/ 55:
1196
+ /***/ 56:
1192
1197
  /***/ (function(module, exports) {
1193
1198
 
1194
1199
  module.exports = require("@splunk/react-ui/Layer");
1195
1200
 
1196
1201
  /***/ }),
1197
1202
 
1198
- /***/ 68:
1203
+ /***/ 67:
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 = 162);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 166:
104
+ /***/ 162:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";