@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/Slider.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 = 173);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 169);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 105:
104
+ /***/ 101:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("decimal.js-light");
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Popover");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 173:
125
+ /***/ 169:
126
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
127
127
 
128
128
  "use strict";
@@ -141,7 +141,7 @@ var external_prop_types_ = __webpack_require__(1);
141
141
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
142
142
 
143
143
  // EXTERNAL MODULE: external "decimal.js-light"
144
- var external_decimal_js_light_ = __webpack_require__(105);
144
+ var external_decimal_js_light_ = __webpack_require__(101);
145
145
  var external_decimal_js_light_default = /*#__PURE__*/__webpack_require__.n(external_decimal_js_light_);
146
146
 
147
147
  // EXTERNAL MODULE: external "lodash"
package/SlidingPanels.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 = 146);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 141);
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
- /***/ 146:
131
+ /***/ 141:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
@@ -182,7 +182,7 @@ var Styled = external_styled_components_default()(external_react_spring_["animat
182
182
  })(["", ";", ";"], themes_["mixins"].reset('block'), themes_["mixins"].clearfix());
183
183
 
184
184
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
185
- var updateReactRef = __webpack_require__(12);
185
+ var updateReactRef = __webpack_require__(11);
186
186
 
187
187
  // CONCATENATED MODULE: ./src/SlidingPanels/Panel.tsx
188
188
  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); }
@@ -382,6 +382,8 @@ var SlidingPanels_SlidingPanels = /*#__PURE__*/function (_Component) {
382
382
 
383
383
  SlidingPanels_defineProperty(SlidingPanels_assertThisInitialized(_this), "panelInstances", {});
384
384
 
385
+ SlidingPanels_defineProperty(SlidingPanels_assertThisInitialized(_this), "allowAnimationUpdates", true);
386
+
385
387
  SlidingPanels_defineProperty(SlidingPanels_assertThisInitialized(_this), "willEnter", function () {
386
388
  return {
387
389
  translateX: 0
@@ -417,9 +419,11 @@ var SlidingPanels_SlidingPanels = /*#__PURE__*/function (_Component) {
417
419
  SlidingPanels_defineProperty(SlidingPanels_assertThisInitialized(_this), "handleAnimationEnd", function () {
418
420
  var _this$props$onAnimati, _this$props;
419
421
 
420
- _this.setState({
421
- animating: false
422
- });
422
+ if (_this.allowAnimationUpdates) {
423
+ _this.setState({
424
+ animating: false
425
+ });
426
+ }
423
427
 
424
428
  (_this$props$onAnimati = (_this$props = _this.props).onAnimationEnd) === null || _this$props$onAnimati === void 0 ? void 0 : _this$props$onAnimati.call(_this$props);
425
429
  });
@@ -517,6 +521,11 @@ var SlidingPanels_SlidingPanels = /*#__PURE__*/function (_Component) {
517
521
  }
518
522
 
519
523
  SlidingPanels_createClass(SlidingPanels, [{
524
+ key: "componentWillUnmount",
525
+ value: function componentWillUnmount() {
526
+ this.allowAnimationUpdates = false;
527
+ }
528
+ }, {
520
529
  key: "render",
521
530
  value: function render() {
522
531
  var _this$state = this.state,
package/StaticContent.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 = 174);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 170);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 174:
104
+ /***/ 170:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/StepBar.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 = 122);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 117);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 122:
111
+ /***/ 117:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Switch.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 = 147);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 142);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 11:
111
+ /***/ 12:
112
112
  /***/ (function(module, exports) {
113
113
 
114
114
  module.exports = require("@splunk/react-ui/Clickable");
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 147:
125
+ /***/ 142:
126
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
127
127
 
128
128
  "use strict";
@@ -200,7 +200,7 @@ var Box_ = __webpack_require__(8);
200
200
  var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
201
201
 
202
202
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
203
- var Clickable_ = __webpack_require__(11);
203
+ var Clickable_ = __webpack_require__(12);
204
204
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
205
205
 
206
206
  // CONCATENATED MODULE: ./src/Switch/SwitchStyles.ts
package/TabBar.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 = 131);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 126);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -109,13 +109,6 @@ module.exports = require("@splunk/ui-utils/id");
109
109
  /***/ }),
110
110
 
111
111
  /***/ 11:
112
- /***/ (function(module, exports) {
113
-
114
- module.exports = require("@splunk/react-ui/Clickable");
115
-
116
- /***/ }),
117
-
118
- /***/ 12:
119
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
113
 
121
114
  "use strict";
@@ -142,7 +135,14 @@ function updateReactRef(ref, current) {
142
135
 
143
136
  /***/ }),
144
137
 
145
- /***/ 131:
138
+ /***/ 12:
139
+ /***/ (function(module, exports) {
140
+
141
+ module.exports = require("@splunk/react-ui/Clickable");
142
+
143
+ /***/ }),
144
+
145
+ /***/ 126:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "use strict";
@@ -206,7 +206,7 @@ var ScreenReaderContent_ = __webpack_require__(14);
206
206
  var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
207
207
 
208
208
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
209
- var Clickable_ = __webpack_require__(11);
209
+ var Clickable_ = __webpack_require__(12);
210
210
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
211
211
 
212
212
  // CONCATENATED MODULE: ./src/TabBar/TabStyles.ts
@@ -342,7 +342,7 @@ var StyledTooltipContent = external_styled_components_default.a.div.withConfig({
342
342
  })(["padding:8px;font-size:", ";"], themes_["variables"].fontSizeSmall);
343
343
 
344
344
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
345
- var updateReactRef = __webpack_require__(12);
345
+ var updateReactRef = __webpack_require__(11);
346
346
 
347
347
  // CONCATENATED MODULE: ./src/TabBar/TabBarContext.tsx
348
348
 
package/TabLayout.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 = 148);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 143);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 148:
111
+ /***/ 143:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -134,7 +134,7 @@ var external_lodash_ = __webpack_require__(4);
134
134
  var id_ = __webpack_require__(10);
135
135
 
136
136
  // EXTERNAL MODULE: external "@splunk/react-ui/TabBar"
137
- var TabBar_ = __webpack_require__(82);
137
+ var TabBar_ = __webpack_require__(80);
138
138
  var TabBar_default = /*#__PURE__*/__webpack_require__.n(TabBar_);
139
139
 
140
140
  // EXTERNAL MODULE: external "styled-components"
@@ -405,7 +405,7 @@ module.exports = require("lodash");
405
405
 
406
406
  /***/ }),
407
407
 
408
- /***/ 82:
408
+ /***/ 80:
409
409
  /***/ (function(module, exports) {
410
410
 
411
411
  module.exports = require("@splunk/react-ui/TabBar");
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 = 114);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 109);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -276,8 +276,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
276
276
  module.exports = require("@splunk/ui-utils/id");
277
277
 
278
278
  /***/ }),
279
- /* 11 */,
280
- /* 12 */
279
+ /* 11 */
281
280
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
282
281
 
283
282
  "use strict";
@@ -303,6 +302,7 @@ function updateReactRef(ref, current) {
303
302
 
304
303
 
305
304
  /***/ }),
305
+ /* 12 */,
306
306
  /* 13 */,
307
307
  /* 14 */
308
308
  /***/ (function(module, exports) {
@@ -545,15 +545,14 @@ function MoreVertical(props) {
545
545
  module.exports = require("@splunk/react-icons/MoreVertical");
546
546
 
547
547
  /***/ }),
548
- /* 63 */,
549
- /* 64 */
548
+ /* 63 */
550
549
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
551
550
 
552
551
  "use strict";
553
552
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronDown; });
554
553
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
555
554
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
556
- /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65);
555
+ /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64);
557
556
  /* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__);
558
557
  /* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
559
558
  /* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
@@ -595,22 +594,23 @@ function ChevronDown(props) {
595
594
  }
596
595
 
597
596
  /***/ }),
598
- /* 65 */
597
+ /* 64 */
599
598
  /***/ (function(module, exports) {
600
599
 
601
600
  module.exports = require("@splunk/react-icons/ChevronDown");
602
601
 
603
602
  /***/ }),
603
+ /* 65 */,
604
604
  /* 66 */,
605
605
  /* 67 */,
606
606
  /* 68 */,
607
- /* 69 */,
608
- /* 70 */
607
+ /* 69 */
609
608
  /***/ (function(module, exports) {
610
609
 
611
610
  module.exports = require("@splunk/react-ui/Switch");
612
611
 
613
612
  /***/ }),
613
+ /* 70 */,
614
614
  /* 71 */,
615
615
  /* 72 */,
616
616
  /* 73 */,
@@ -642,44 +642,39 @@ module.exports = require("@splunk/react-ui/Switch");
642
642
  /* 99 */,
643
643
  /* 100 */,
644
644
  /* 101 */,
645
- /* 102 */,
646
- /* 103 */,
647
- /* 104 */,
648
- /* 105 */,
649
- /* 106 */
645
+ /* 102 */
650
646
  /***/ (function(module, exports) {
651
647
 
652
648
  module.exports = require("react-resize-detector");
653
649
 
654
650
  /***/ }),
655
- /* 107 */
651
+ /* 103 */
656
652
  /***/ (function(module, exports) {
657
653
 
658
654
  module.exports = require("@splunk/react-icons/SortedDown");
659
655
 
660
656
  /***/ }),
661
- /* 108 */
657
+ /* 104 */
662
658
  /***/ (function(module, exports) {
663
659
 
664
660
  module.exports = require("@splunk/react-icons/SortedUp");
665
661
 
666
662
  /***/ }),
667
- /* 109 */
663
+ /* 105 */
668
664
  /***/ (function(module, exports) {
669
665
 
670
666
  module.exports = require("@splunk/react-icons/Sort");
671
667
 
672
668
  /***/ }),
673
- /* 110 */
669
+ /* 106 */
674
670
  /***/ (function(module, exports) {
675
671
 
676
672
  module.exports = require("@splunk/react-icons/Info");
677
673
 
678
674
  /***/ }),
679
- /* 111 */,
680
- /* 112 */,
681
- /* 113 */,
682
- /* 114 */
675
+ /* 107 */,
676
+ /* 108 */,
677
+ /* 109 */
683
678
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
684
679
 
685
680
  "use strict";
@@ -708,7 +703,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
708
703
  var external_lodash_ = __webpack_require__(4);
709
704
 
710
705
  // EXTERNAL MODULE: external "react-resize-detector"
711
- var external_react_resize_detector_ = __webpack_require__(106);
706
+ var external_react_resize_detector_ = __webpack_require__(102);
712
707
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
713
708
 
714
709
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -737,7 +732,7 @@ var Styled = external_styled_components_default.a.tbody.withConfig({
737
732
  })(["", ""], themes_["mixins"].reset('table-row-group'));
738
733
 
739
734
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
740
- var updateReactRef = __webpack_require__(12);
735
+ var updateReactRef = __webpack_require__(11);
741
736
 
742
737
  // CONCATENATED MODULE: ./src/Table/Body.tsx
743
738
  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); }
@@ -1412,7 +1407,7 @@ Cell_defineProperty(Cell_Cell, "defaultProps", Cell_defaultProps);
1412
1407
  var i18n_ = __webpack_require__(5);
1413
1408
 
1414
1409
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedDown"
1415
- var SortedDown_ = __webpack_require__(107);
1410
+ var SortedDown_ = __webpack_require__(103);
1416
1411
  var SortedDown_default = /*#__PURE__*/__webpack_require__.n(SortedDown_);
1417
1412
 
1418
1413
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -1459,7 +1454,7 @@ function SortedDown(props) {
1459
1454
  }, props));
1460
1455
  }
1461
1456
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedUp"
1462
- var SortedUp_ = __webpack_require__(108);
1457
+ var SortedUp_ = __webpack_require__(104);
1463
1458
  var SortedUp_default = /*#__PURE__*/__webpack_require__.n(SortedUp_);
1464
1459
 
1465
1460
  // CONCATENATED MODULE: ./src/icons/SortedUp.tsx
@@ -1500,7 +1495,7 @@ function SortedUp(props) {
1500
1495
  }, props));
1501
1496
  }
1502
1497
  // EXTERNAL MODULE: external "@splunk/react-icons/Sort"
1503
- var Sort_ = __webpack_require__(109);
1498
+ var Sort_ = __webpack_require__(105);
1504
1499
  var Sort_default = /*#__PURE__*/__webpack_require__.n(Sort_);
1505
1500
 
1506
1501
  // CONCATENATED MODULE: ./src/icons/Sort.tsx
@@ -1689,7 +1684,7 @@ var HeadCellStyles_Styled = external_styled_components_default.a.th.withConfig({
1689
1684
  prisma: themes_["variables"].backgroundColorPage
1690
1685
  }), function (_ref2) {
1691
1686
  var $clickable = _ref2.$clickable;
1692
- return $clickable && Object(external_styled_components_["css"])(["&:focus{box-shadow:", ";outline:none;& > ", "{color:", ";background-color:", ";}}&:hover{outline:none;& > ", "{color:", ";background-color:", ";}}&:active{& > ", "{background-color:", ";}}"], themes_["variables"].focusShadowInset,
1687
+ return $clickable && Object(external_styled_components_["css"])(["cursor:pointer;&:focus{box-shadow:", ";outline:none;& > ", "{color:", ";background-color:", ";}}&:hover{outline:none;& > ", "{color:", ";background-color:", ";}}&:active{& > ", "{background-color:", ";}}"], themes_["variables"].focusShadowInset,
1693
1688
  /* sc-sel */
1694
1689
  HeadInnerStyles_Styled, Object(themes_["pick"])({
1695
1690
  enterprise: {
@@ -2452,7 +2447,7 @@ HeadCell_defineProperty(HeadCell_HeadCell, "defaultProps", HeadCell_defaultProps
2452
2447
 
2453
2448
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2454
2449
  // EXTERNAL MODULE: external "@splunk/react-icons/Info"
2455
- var Info_ = __webpack_require__(110);
2450
+ var Info_ = __webpack_require__(106);
2456
2451
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2457
2452
 
2458
2453
  // EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
@@ -2492,7 +2487,7 @@ var Tooltip_ = __webpack_require__(48);
2492
2487
  var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
2493
2488
 
2494
2489
  // EXTERNAL MODULE: ./src/icons/ChevronDown.tsx
2495
- var ChevronDown = __webpack_require__(64);
2490
+ var ChevronDown = __webpack_require__(63);
2496
2491
 
2497
2492
  // EXTERNAL MODULE: ./src/icons/MoreVertical.tsx
2498
2493
  var MoreVertical = __webpack_require__(61);
@@ -2777,7 +2772,7 @@ var StyledCellExpansionDisabled = external_styled_components_default()(Table_Cel
2777
2772
  }));
2778
2773
 
2779
2774
  // EXTERNAL MODULE: external "@splunk/react-ui/Switch"
2780
- var Switch_ = __webpack_require__(70);
2775
+ var Switch_ = __webpack_require__(69);
2781
2776
  var Switch_default = /*#__PURE__*/__webpack_require__.n(Switch_);
2782
2777
 
2783
2778
  // CONCATENATED MODULE: ./src/Table/ToggleStyles.ts
package/Text.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 = 132);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 127);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 111:
104
+ /***/ 107:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/ControlGroup");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 12:
111
+ /***/ 11:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -135,7 +135,7 @@ function updateReactRef(ref, current) {
135
135
 
136
136
  /***/ }),
137
137
 
138
- /***/ 132:
138
+ /***/ 127:
139
139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
140
140
 
141
141
  "use strict";
@@ -171,7 +171,7 @@ var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReade
171
171
  var themes_ = __webpack_require__(0);
172
172
 
173
173
  // EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
174
- var ControlGroup_ = __webpack_require__(111);
174
+ var ControlGroup_ = __webpack_require__(107);
175
175
 
176
176
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
177
177
  var i18n_ = __webpack_require__(5);
@@ -258,7 +258,7 @@ function syncHeightWithShadow(_ref) {
258
258
  return false;
259
259
  }
260
260
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
261
- var updateReactRef = __webpack_require__(12);
261
+ var updateReactRef = __webpack_require__(11);
262
262
 
263
263
  // EXTERNAL MODULE: external "@splunk/react-icons/SVG"
264
264
  var SVG_ = __webpack_require__(24);
@@ -468,7 +468,7 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
468
468
  prisma: themes_["variables"].transparent
469
469
  }), Object(themes_["pick"])({
470
470
  enterprise: '0px 10px',
471
- prisma: '0px 14px'
471
+ prisma: '0px 12px'
472
472
  }), function (_ref2) {
473
473
  var $hasEndAdornment = _ref2.$hasEndAdornment;
474
474
  return $hasEndAdornment && Object(external_styled_components_["css"])(["padding-right:0;"]);
@@ -486,7 +486,7 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
486
486
  prisma: Object(external_styled_components_["css"])(["border-color:", ";color:", ";"], themes_["variables"].interactiveColorPrimary, themes_["variables"].contentColorActive)
487
487
  }), function (_ref4) {
488
488
  var $error = _ref4.$error;
489
- return $error && Object(external_styled_components_["css"])(["&,&:hover{border-color:", ";}"], Object(themes_["pick"])({
489
+ return $error && Object(external_styled_components_["css"])(["&,&:hover:not([disabled]){border-color:", ";}"], Object(themes_["pick"])({
490
490
  enterprise: themes_["variables"].errorColor,
491
491
  prisma: themes_["variables"].accentColorNegative
492
492
  }));
@@ -1021,7 +1021,9 @@ var Text_Text = /*#__PURE__*/function (_Component) {
1021
1021
  })));
1022
1022
  }
1023
1023
 
1024
- if (isPrisma && appearance === 'search' || canClear) {
1024
+ var displayValue = _this.getDisplayValue();
1025
+
1026
+ if (!!displayValue && (isPrisma && appearance === 'search' || canClear)) {
1025
1027
  return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
1026
1028
  "data-test": "clear",
1027
1029
  appearance: isPrisma ? 'secondary' : 'pill',
@@ -1069,6 +1071,11 @@ var Text_Text = /*#__PURE__*/function (_Component) {
1069
1071
  return undefined;
1070
1072
  });
1071
1073
 
1074
+ _defineProperty(_assertThisInitialized(_this), "getDisplayValue", function () {
1075
+ var displayValue = _this.isControlled() ? _this.props.value : _this.state.value;
1076
+ return displayValue;
1077
+ });
1078
+
1072
1079
  _this.controlledExternally = Object(external_lodash_["has"])(props, 'value');
1073
1080
  _this.state = {
1074
1081
  value: props.defaultValue || '',
@@ -1186,7 +1193,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
1186
1193
  });
1187
1194
 
1188
1195
  var boxProps = Object(external_lodash_["omit"])(otherProps, ['inputRef', 'onBlur', 'onChange', 'onFocus', 'onKeyDown', 'onSelect', 'onInputClick', 'rowsMax', 'rowsMin'].concat(_toConsumableArray(Object(external_lodash_["keys"])(ariaProps))));
1189
- var displayValue = this.isControlled() ? value : this.state.value;
1196
+ var displayValue = this.getDisplayValue();
1190
1197
  var displayProps = {
1191
1198
  className: Object(style_["toClassName"])(className, inputClassName),
1192
1199
  $append: append || undefined,
@@ -1233,6 +1240,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
1233
1240
  var hasEndAdornment = !!this.renderEndAdornment();
1234
1241
  var hasStartAdornment = !!this.renderStartAdornment();
1235
1242
  return /*#__PURE__*/external_react_default.a.createElement(StyledBox, Text_extends({
1243
+ tabIndex: -1,
1236
1244
  $isTimeInput: isTimeInput,
1237
1245
  className: Object(style_["toClassName"])(className, classNamePrivate),
1238
1246
  "data-test": "text",