@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/Markdown.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 = 115);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 111);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 115:
104
+ /***/ 111:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -110,21 +110,16 @@ __webpack_require__.r(__webpack_exports__);
110
110
 
111
111
  // EXPORTS
112
112
  __webpack_require__.d(__webpack_exports__, "default", function() { return /* reexport */ Markdown_Markdown; });
113
- __webpack_require__.d(__webpack_exports__, "Renderers", function() { return /* reexport */ renderers_namespaceObject; });
114
-
115
- // NAMESPACE OBJECT: ./src/Markdown/renderers/index.ts
116
- var renderers_namespaceObject = {};
117
- __webpack_require__.r(renderers_namespaceObject);
118
- __webpack_require__.d(renderers_namespaceObject, "MarkdownBlockquote", function() { return renderers_MarkdownBlockquote; });
119
- __webpack_require__.d(renderers_namespaceObject, "MarkdownCodeBlock", function() { return renderers_MarkdownCodeBlock; });
120
- __webpack_require__.d(renderers_namespaceObject, "MarkdownCode", function() { return renderers_MarkdownCode; });
121
- __webpack_require__.d(renderers_namespaceObject, "MarkdownHeading", function() { return renderers_MarkdownHeading; });
122
- __webpack_require__.d(renderers_namespaceObject, "MarkdownAnchorHeading", function() { return renderers_MarkdownAnchorHeading; });
123
- __webpack_require__.d(renderers_namespaceObject, "MarkdownImage", function() { return renderers_MarkdownImage; });
124
- __webpack_require__.d(renderers_namespaceObject, "MarkdownItem", function() { return renderers_MarkdownItem; });
125
- __webpack_require__.d(renderers_namespaceObject, "MarkdownLink", function() { return renderers_MarkdownLink; });
126
- __webpack_require__.d(renderers_namespaceObject, "MarkdownList", function() { return renderers_MarkdownList; });
127
- __webpack_require__.d(renderers_namespaceObject, "MarkdownParagraph", function() { return renderers_MarkdownParagraph; });
113
+ __webpack_require__.d(__webpack_exports__, "MarkdownBlockquote", function() { return /* reexport */ renderers_MarkdownBlockquote; });
114
+ __webpack_require__.d(__webpack_exports__, "MarkdownCodeBlock", function() { return /* reexport */ renderers_MarkdownCodeBlock; });
115
+ __webpack_require__.d(__webpack_exports__, "MarkdownCode", function() { return /* reexport */ renderers_MarkdownCode; });
116
+ __webpack_require__.d(__webpack_exports__, "MarkdownHeading", function() { return /* reexport */ renderers_MarkdownHeading; });
117
+ __webpack_require__.d(__webpack_exports__, "MarkdownAnchorHeading", function() { return /* reexport */ renderers_MarkdownAnchorHeading; });
118
+ __webpack_require__.d(__webpack_exports__, "MarkdownImage", function() { return /* reexport */ renderers_MarkdownImage; });
119
+ __webpack_require__.d(__webpack_exports__, "MarkdownItem", function() { return /* reexport */ renderers_MarkdownItem; });
120
+ __webpack_require__.d(__webpack_exports__, "MarkdownLink", function() { return /* reexport */ renderers_MarkdownLink; });
121
+ __webpack_require__.d(__webpack_exports__, "MarkdownList", function() { return /* reexport */ renderers_MarkdownList; });
122
+ __webpack_require__.d(__webpack_exports__, "MarkdownParagraph", function() { return /* reexport */ renderers_MarkdownParagraph; });
128
123
 
129
124
  // EXTERNAL MODULE: external "react"
130
125
  var external_react_ = __webpack_require__(2);
@@ -135,11 +130,11 @@ var external_prop_types_ = __webpack_require__(1);
135
130
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
136
131
 
137
132
  // EXTERNAL MODULE: external "commonmark-react-renderer"
138
- var external_commonmark_react_renderer_ = __webpack_require__(94);
133
+ var external_commonmark_react_renderer_ = __webpack_require__(91);
139
134
  var external_commonmark_react_renderer_default = /*#__PURE__*/__webpack_require__.n(external_commonmark_react_renderer_);
140
135
 
141
136
  // EXTERNAL MODULE: external "commonmark"
142
- var external_commonmark_ = __webpack_require__(95);
137
+ var external_commonmark_ = __webpack_require__(92);
143
138
  var external_commonmark_default = /*#__PURE__*/__webpack_require__.n(external_commonmark_);
144
139
 
145
140
  // EXTERNAL MODULE: external "@splunk/react-ui/Box"
@@ -228,7 +223,7 @@ function MarkdownCode(_ref) {
228
223
  MarkdownCode.propTypes = MarkdownCode_propTypes;
229
224
  /* harmony default export */ var renderers_MarkdownCode = (MarkdownCode);
230
225
  // EXTERNAL MODULE: external "@splunk/react-ui/Code"
231
- var Code_ = __webpack_require__(96);
226
+ var Code_ = __webpack_require__(93);
232
227
  var Code_default = /*#__PURE__*/__webpack_require__.n(Code_);
233
228
 
234
229
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
@@ -284,7 +279,7 @@ function MarkdownHeading(_ref) {
284
279
  MarkdownHeading.propTypes = MarkdownHeading_propTypes;
285
280
  /* harmony default export */ var renderers_MarkdownHeading = (MarkdownHeading);
286
281
  // EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
287
- var Anchor_ = __webpack_require__(62);
282
+ var Anchor_ = __webpack_require__(61);
288
283
  var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
289
284
 
290
285
  // CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownAnchorHeading.tsx
@@ -359,7 +354,7 @@ function MarkdownLink(_ref) {
359
354
  MarkdownLink.propTypes = MarkdownLink_propTypes;
360
355
  /* harmony default export */ var renderers_MarkdownLink = (MarkdownLink);
361
356
  // EXTERNAL MODULE: external "@splunk/react-ui/List"
362
- var List_ = __webpack_require__(81);
357
+ var List_ = __webpack_require__(80);
363
358
  var List_default = /*#__PURE__*/__webpack_require__.n(List_);
364
359
 
365
360
  // CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
@@ -397,7 +392,7 @@ function MarkdownItem(_ref) {
397
392
  MarkdownItem.propTypes = MarkdownItem_propTypes;
398
393
  /* harmony default export */ var renderers_MarkdownItem = (MarkdownItem);
399
394
  // EXTERNAL MODULE: external "@splunk/react-ui/Paragraph"
400
- var Paragraph_ = __webpack_require__(97);
395
+ var Paragraph_ = __webpack_require__(94);
401
396
  var Paragraph_default = /*#__PURE__*/__webpack_require__.n(Paragraph_);
402
397
 
403
398
  // CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownParagraph.tsx
@@ -425,6 +420,8 @@ MarkdownParagraph.propTypes = MarkdownParagraph_propTypes;
425
420
 
426
421
 
427
422
 
423
+ // files exported here need to re-imported and exported
424
+ // in Markdown.tsx to be usable outside the Markdown component
428
425
 
429
426
 
430
427
  // CONCATENATED MODULE: ./src/Markdown/Markdown.tsx
@@ -558,7 +555,7 @@ module.exports = require("@splunk/react-ui/Heading");
558
555
 
559
556
  /***/ }),
560
557
 
561
- /***/ 62:
558
+ /***/ 61:
562
559
  /***/ (function(module, exports) {
563
560
 
564
561
  module.exports = require("@splunk/react-ui/Anchor");
@@ -572,35 +569,35 @@ module.exports = require("@splunk/react-ui/Box");
572
569
 
573
570
  /***/ }),
574
571
 
575
- /***/ 81:
572
+ /***/ 80:
576
573
  /***/ (function(module, exports) {
577
574
 
578
575
  module.exports = require("@splunk/react-ui/List");
579
576
 
580
577
  /***/ }),
581
578
 
582
- /***/ 94:
579
+ /***/ 91:
583
580
  /***/ (function(module, exports) {
584
581
 
585
582
  module.exports = require("commonmark-react-renderer");
586
583
 
587
584
  /***/ }),
588
585
 
589
- /***/ 95:
586
+ /***/ 92:
590
587
  /***/ (function(module, exports) {
591
588
 
592
589
  module.exports = require("commonmark");
593
590
 
594
591
  /***/ }),
595
592
 
596
- /***/ 96:
593
+ /***/ 93:
597
594
  /***/ (function(module, exports) {
598
595
 
599
596
  module.exports = require("@splunk/react-ui/Code");
600
597
 
601
598
  /***/ }),
602
599
 
603
- /***/ 97:
600
+ /***/ 94:
604
601
  /***/ (function(module, exports) {
605
602
 
606
603
  module.exports = require("@splunk/react-ui/Paragraph");
package/Menu.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 = 116);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 112);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -102,13 +102,33 @@ module.exports = require("prop-types");
102
102
  /***/ }),
103
103
 
104
104
  /***/ 11:
105
- /***/ (function(module, exports) {
105
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
+
107
+ "use strict";
108
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
109
+ /**
110
+ * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
111
+ *
112
+ * @param ref - The React callback or object ref. Can be `null` or `undefined`.
113
+ * @param current - The new value of the ref.
114
+ */
115
+ function updateReactRef(ref, current) {
116
+ if (ref) {
117
+ if (typeof ref === 'function') {
118
+ ref(current);
119
+ } else {
120
+ // the public signature of this util uses React.Ref<T> to mirror the way React types refs.
121
+ // the intention here is to signal "we will take care of setting 'current', not you".
122
+ ref.current = current; // eslint-disable-line no-param-reassign
123
+ }
124
+ }
125
+ }
126
+
106
127
 
107
- module.exports = require("@splunk/react-ui/Clickable");
108
128
 
109
129
  /***/ }),
110
130
 
111
- /***/ 116:
131
+ /***/ 112:
112
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
133
 
114
134
  "use strict";
@@ -131,11 +151,11 @@ var external_prop_types_ = __webpack_require__(1);
131
151
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
132
152
 
133
153
  // EXTERNAL MODULE: external "lodash/omit"
134
- var omit_ = __webpack_require__(43);
154
+ var omit_ = __webpack_require__(45);
135
155
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
136
156
 
137
157
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
138
- var Popover_ = __webpack_require__(16);
158
+ var Popover_ = __webpack_require__(17);
139
159
 
140
160
  // EXTERNAL MODULE: external "@splunk/ui-utils/focus"
141
161
  var focus_ = __webpack_require__(26);
@@ -217,7 +237,7 @@ var Heading_ = __webpack_require__(55);
217
237
  var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading_);
218
238
 
219
239
  // EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
220
- var useSplunkTheme_ = __webpack_require__(38);
240
+ var useSplunkTheme_ = __webpack_require__(40);
221
241
  var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
222
242
 
223
243
  // CONCATENATED MODULE: ./src/Menu/HeadingStyles.ts
@@ -320,7 +340,7 @@ var external_lodash_ = __webpack_require__(4);
320
340
  var Check = __webpack_require__(53);
321
341
 
322
342
  // EXTERNAL MODULE: external "@splunk/react-icons/TriangleRightSmall"
323
- var TriangleRightSmall_ = __webpack_require__(98);
343
+ var TriangleRightSmall_ = __webpack_require__(95);
324
344
  var TriangleRightSmall_default = /*#__PURE__*/__webpack_require__.n(TriangleRightSmall_);
325
345
 
326
346
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -358,11 +378,11 @@ function CaretRight(props) {
358
378
  var ChevronRight = __webpack_require__(27);
359
379
 
360
380
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
361
- var Clickable_ = __webpack_require__(11);
381
+ var Clickable_ = __webpack_require__(12);
362
382
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
363
383
 
364
384
  // EXTERNAL MODULE: external "@splunk/react-ui/Switch"
365
- var Switch_ = __webpack_require__(71);
385
+ var Switch_ = __webpack_require__(70);
366
386
  var Switch_default = /*#__PURE__*/__webpack_require__.n(Switch_);
367
387
 
368
388
  // CONCATENATED MODULE: ./src/Menu/ItemStyles.ts
@@ -540,7 +560,7 @@ var StyledSubmenu = external_styled_components_default.a.span.withConfig({
540
560
  }));
541
561
 
542
562
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
543
- var updateReactRef = __webpack_require__(12);
563
+ var updateReactRef = __webpack_require__(11);
544
564
 
545
565
  // CONCATENATED MODULE: ./src/Menu/Item.tsx
546
566
  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); }
@@ -835,7 +855,7 @@ var ItemWithTheme = Object(themes_["withSplunkTheme"])(Item_Item);
835
855
  ItemWithTheme.propTypes = Item_Item.propTypes;
836
856
  /* harmony default export */ var Menu_Item = (ItemWithTheme);
837
857
  // EXTERNAL MODULE: external "@splunk/react-ui/Scroll"
838
- var Scroll_ = __webpack_require__(68);
858
+ var Scroll_ = __webpack_require__(66);
839
859
  var Scroll_default = /*#__PURE__*/__webpack_require__.n(Scroll_);
840
860
 
841
861
  // CONCATENATED MODULE: ./src/Menu/MenuStyles.ts
@@ -867,7 +887,7 @@ MenuStyles_Styled,
867
887
  MenuStyles_Styled, adjacentSiblingStyles);
868
888
 
869
889
  // EXTERNAL MODULE: ./src/utils/navigateList.ts
870
- var navigateList = __webpack_require__(39);
890
+ var navigateList = __webpack_require__(42);
871
891
 
872
892
  // CONCATENATED MODULE: ./src/Menu/Menu.tsx
873
893
  function Menu_extends() { Menu_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 Menu_extends.apply(this, arguments); }
@@ -1082,33 +1102,13 @@ Menu.Heading = Menu_Heading;
1082
1102
  /***/ }),
1083
1103
 
1084
1104
  /***/ 12:
1085
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1086
-
1087
- "use strict";
1088
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
1089
- /**
1090
- * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
1091
- *
1092
- * @param ref - The React callback or object ref. Can be `null` or `undefined`.
1093
- * @param current - The new value of the ref.
1094
- */
1095
- function updateReactRef(ref, current) {
1096
- if (ref) {
1097
- if (typeof ref === 'function') {
1098
- ref(current);
1099
- } else {
1100
- // the public signature of this util uses React.Ref<T> to mirror the way React types refs.
1101
- // the intention here is to signal "we will take care of setting 'current', not you".
1102
- ref.current = current; // eslint-disable-line no-param-reassign
1103
- }
1104
- }
1105
- }
1106
-
1105
+ /***/ (function(module, exports) {
1107
1106
 
1107
+ module.exports = require("@splunk/react-ui/Clickable");
1108
1108
 
1109
1109
  /***/ }),
1110
1110
 
1111
- /***/ 16:
1111
+ /***/ 17:
1112
1112
  /***/ (function(module, exports) {
1113
1113
 
1114
1114
  module.exports = require("@splunk/react-ui/Popover");
@@ -1136,7 +1136,7 @@ module.exports = require("@splunk/ui-utils/focus");
1136
1136
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
1137
1137
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1138
1138
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1139
- /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(31);
1139
+ /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32);
1140
1140
  /* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
1141
1141
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
1142
1142
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -1186,21 +1186,28 @@ module.exports = require("styled-components");
1186
1186
 
1187
1187
  /***/ }),
1188
1188
 
1189
- /***/ 31:
1189
+ /***/ 32:
1190
1190
  /***/ (function(module, exports) {
1191
1191
 
1192
1192
  module.exports = require("@splunk/react-icons/ChevronRight");
1193
1193
 
1194
1194
  /***/ }),
1195
1195
 
1196
- /***/ 38:
1196
+ /***/ 4:
1197
+ /***/ (function(module, exports) {
1198
+
1199
+ module.exports = require("lodash");
1200
+
1201
+ /***/ }),
1202
+
1203
+ /***/ 40:
1197
1204
  /***/ (function(module, exports) {
1198
1205
 
1199
1206
  module.exports = require("@splunk/themes/useSplunkTheme");
1200
1207
 
1201
1208
  /***/ }),
1202
1209
 
1203
- /***/ 39:
1210
+ /***/ 42:
1204
1211
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1205
1212
 
1206
1213
  "use strict";
@@ -1239,21 +1246,14 @@ function getPrevListItem(refs, currentIndex, prevIndex) {
1239
1246
 
1240
1247
  /***/ }),
1241
1248
 
1242
- /***/ 4:
1243
- /***/ (function(module, exports) {
1244
-
1245
- module.exports = require("lodash");
1246
-
1247
- /***/ }),
1248
-
1249
- /***/ 43:
1249
+ /***/ 45:
1250
1250
  /***/ (function(module, exports) {
1251
1251
 
1252
1252
  module.exports = require("lodash/omit");
1253
1253
 
1254
1254
  /***/ }),
1255
1255
 
1256
- /***/ 47:
1256
+ /***/ 48:
1257
1257
  /***/ (function(module, exports) {
1258
1258
 
1259
1259
  module.exports = require("@splunk/react-icons/Check");
@@ -1267,7 +1267,7 @@ module.exports = require("@splunk/react-icons/Check");
1267
1267
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Check; });
1268
1268
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1269
1269
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
1270
- /* harmony import */ var _splunk_react_icons_Check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47);
1270
+ /* harmony import */ var _splunk_react_icons_Check__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(48);
1271
1271
  /* harmony import */ var _splunk_react_icons_Check__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Check__WEBPACK_IMPORTED_MODULE_1__);
1272
1272
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
1273
1273
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -1342,7 +1342,7 @@ function SVG(props) {
1342
1342
 
1343
1343
  /***/ }),
1344
1344
 
1345
- /***/ 68:
1345
+ /***/ 66:
1346
1346
  /***/ (function(module, exports) {
1347
1347
 
1348
1348
  module.exports = require("@splunk/react-ui/Scroll");
@@ -1467,7 +1467,7 @@ Icon.defaultProps = defaultProps;
1467
1467
 
1468
1468
  /***/ }),
1469
1469
 
1470
- /***/ 71:
1470
+ /***/ 70:
1471
1471
  /***/ (function(module, exports) {
1472
1472
 
1473
1473
  module.exports = require("@splunk/react-ui/Switch");
@@ -1481,7 +1481,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
1481
1481
 
1482
1482
  /***/ }),
1483
1483
 
1484
- /***/ 98:
1484
+ /***/ 95:
1485
1485
  /***/ (function(module, exports) {
1486
1486
 
1487
1487
  module.exports = require("@splunk/react-icons/TriangleRightSmall");
package/Message.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 = 127);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 123);
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
- /***/ 127:
111
+ /***/ 123:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -128,7 +128,7 @@ var external_prop_types_ = __webpack_require__(1);
128
128
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
129
129
 
130
130
  // EXTERNAL MODULE: external "@splunk/react-ui/MessageBar"
131
- var MessageBar_ = __webpack_require__(99);
131
+ var MessageBar_ = __webpack_require__(96);
132
132
  var MessageBar_default = /*#__PURE__*/__webpack_require__.n(MessageBar_);
133
133
 
134
134
  // EXTERNAL MODULE: external "styled-components"
@@ -222,7 +222,7 @@ var Box_ = __webpack_require__(8);
222
222
  var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
223
223
 
224
224
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
225
- var Clickable_ = __webpack_require__(11);
225
+ var Clickable_ = __webpack_require__(12);
226
226
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
227
227
 
228
228
  // CONCATENATED MODULE: ./src/Message/MessageStyles.ts
@@ -365,19 +365,19 @@ var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
365
365
  }));
366
366
 
367
367
  // EXTERNAL MODULE: ./src/icons/AlertFilled.tsx
368
- var AlertFilled = __webpack_require__(72);
368
+ var AlertFilled = __webpack_require__(71);
369
369
 
370
370
  // EXTERNAL MODULE: ./src/icons/CrossMark.tsx
371
- var CrossMark = __webpack_require__(20);
371
+ var CrossMark = __webpack_require__(19);
372
372
 
373
373
  // EXTERNAL MODULE: ./src/icons/InfoFilled.tsx
374
- var InfoFilled = __webpack_require__(73);
374
+ var InfoFilled = __webpack_require__(72);
375
375
 
376
376
  // EXTERNAL MODULE: ./src/icons/SuccessFilled.tsx
377
- var SuccessFilled = __webpack_require__(75);
377
+ var SuccessFilled = __webpack_require__(74);
378
378
 
379
379
  // EXTERNAL MODULE: ./src/icons/WarningFilled.tsx
380
- var WarningFilled = __webpack_require__(76);
380
+ var WarningFilled = __webpack_require__(75);
381
381
 
382
382
  // CONCATENATED MODULE: ./src/Message/Message.tsx
383
383
  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); }
@@ -478,21 +478,14 @@ Message.Link = Message_Link;
478
478
 
479
479
  /***/ }),
480
480
 
481
- /***/ 2:
482
- /***/ (function(module, exports) {
483
-
484
- module.exports = require("react");
485
-
486
- /***/ }),
487
-
488
- /***/ 20:
481
+ /***/ 19:
489
482
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
490
483
 
491
484
  "use strict";
492
485
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
493
486
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
494
487
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
495
- /* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22);
488
+ /* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
496
489
  /* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
497
490
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
498
491
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -535,7 +528,14 @@ function CrossMark(props) {
535
528
 
536
529
  /***/ }),
537
530
 
538
- /***/ 22:
531
+ /***/ 2:
532
+ /***/ (function(module, exports) {
533
+
534
+ module.exports = require("react");
535
+
536
+ /***/ }),
537
+
538
+ /***/ 21:
539
539
  /***/ (function(module, exports) {
540
540
 
541
541
  module.exports = require("@splunk/react-icons/Close");
@@ -556,14 +556,14 @@ module.exports = require("styled-components");
556
556
 
557
557
  /***/ }),
558
558
 
559
- /***/ 49:
559
+ /***/ 50:
560
560
  /***/ (function(module, exports) {
561
561
 
562
562
  module.exports = require("@splunk/react-icons/Error");
563
563
 
564
564
  /***/ }),
565
565
 
566
- /***/ 50:
566
+ /***/ 51:
567
567
  /***/ (function(module, exports) {
568
568
 
569
569
  module.exports = require("@splunk/react-icons/Success");
@@ -713,14 +713,14 @@ Icon.defaultProps = defaultProps;
713
713
 
714
714
  /***/ }),
715
715
 
716
- /***/ 72:
716
+ /***/ 71:
717
717
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
718
718
 
719
719
  "use strict";
720
720
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AlertFilled; });
721
721
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
722
722
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
723
- /* harmony import */ var _splunk_react_icons_Error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(49);
723
+ /* harmony import */ var _splunk_react_icons_Error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50);
724
724
  /* harmony import */ var _splunk_react_icons_Error__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Error__WEBPACK_IMPORTED_MODULE_1__);
725
725
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
726
726
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -753,14 +753,14 @@ function AlertFilled(props) {
753
753
 
754
754
  /***/ }),
755
755
 
756
- /***/ 73:
756
+ /***/ 72:
757
757
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
758
758
 
759
759
  "use strict";
760
760
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InfoFilled; });
761
761
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
762
762
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
763
- /* harmony import */ var _splunk_react_icons_InfoCircle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(74);
763
+ /* harmony import */ var _splunk_react_icons_InfoCircle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73);
764
764
  /* harmony import */ var _splunk_react_icons_InfoCircle__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_InfoCircle__WEBPACK_IMPORTED_MODULE_1__);
765
765
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
766
766
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -793,21 +793,21 @@ function InfoFilled(props) {
793
793
 
794
794
  /***/ }),
795
795
 
796
- /***/ 74:
796
+ /***/ 73:
797
797
  /***/ (function(module, exports) {
798
798
 
799
799
  module.exports = require("@splunk/react-icons/InfoCircle");
800
800
 
801
801
  /***/ }),
802
802
 
803
- /***/ 75:
803
+ /***/ 74:
804
804
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
805
805
 
806
806
  "use strict";
807
807
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SuccessFilled; });
808
808
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
809
809
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
810
- /* harmony import */ var _splunk_react_icons_Success__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50);
810
+ /* harmony import */ var _splunk_react_icons_Success__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51);
811
811
  /* harmony import */ var _splunk_react_icons_Success__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Success__WEBPACK_IMPORTED_MODULE_1__);
812
812
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
813
813
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -840,14 +840,14 @@ function SuccessFilled(props) {
840
840
 
841
841
  /***/ }),
842
842
 
843
- /***/ 76:
843
+ /***/ 75:
844
844
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
845
845
 
846
846
  "use strict";
847
847
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return WarningFilled; });
848
848
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
849
849
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
850
- /* harmony import */ var _splunk_react_icons_Warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(77);
850
+ /* harmony import */ var _splunk_react_icons_Warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(76);
851
851
  /* harmony import */ var _splunk_react_icons_Warning__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Warning__WEBPACK_IMPORTED_MODULE_1__);
852
852
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
853
853
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -880,7 +880,7 @@ function WarningFilled(props) {
880
880
 
881
881
  /***/ }),
882
882
 
883
- /***/ 77:
883
+ /***/ 76:
884
884
  /***/ (function(module, exports) {
885
885
 
886
886
  module.exports = require("@splunk/react-icons/Warning");
@@ -894,7 +894,7 @@ module.exports = require("@splunk/react-ui/Box");
894
894
 
895
895
  /***/ }),
896
896
 
897
- /***/ 99:
897
+ /***/ 96:
898
898
  /***/ (function(module, exports) {
899
899
 
900
900
  module.exports = require("@splunk/react-ui/MessageBar");