@splunk/react-ui 4.18.0 → 4.19.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 (92) hide show
  1. package/Accordion.js +6 -6
  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 +4 -4
  7. package/ButtonGroup.js +2 -2
  8. package/ButtonSimple.js +2 -2
  9. package/CHANGELOG.md +11 -1
  10. package/Calendar.js +8 -8
  11. package/Card.js +8 -8
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +23 -16
  14. package/Clickable.js +11 -11
  15. package/CloseButton.js +2 -2
  16. package/Code.js +12 -12
  17. package/CollapsiblePanel.js +4 -4
  18. package/Color.js +16 -16
  19. package/ColumnLayout.js +6 -6
  20. package/ComboBox.js +14 -14
  21. package/Concertina.js +10 -10
  22. package/ControlGroup.js +2 -2
  23. package/Date.js +13 -13
  24. package/DefinitionList.js +2 -2
  25. package/Divider.js +2 -2
  26. package/Dropdown.js +13 -13
  27. package/DualListbox.js +4 -4
  28. package/EventListener.js +4 -4
  29. package/File.js +8 -8
  30. package/FormRows.js +266 -105
  31. package/Heading.js +45 -49
  32. package/Image.js +15 -15
  33. package/JSONTree.js +14 -14
  34. package/Layer.js +12 -12
  35. package/Link.js +4 -4
  36. package/List.js +2 -2
  37. package/Markdown.js +16 -16
  38. package/Menu.js +18 -18
  39. package/Message.js +21 -21
  40. package/MessageBar.js +19 -19
  41. package/Modal.js +11 -11
  42. package/ModalLayer.js +4 -4
  43. package/Monogram.js +3 -3
  44. package/Multiselect.js +34 -34
  45. package/Number.js +4 -4
  46. package/Paginator.js +6 -6
  47. package/Paragraph.js +2 -2
  48. package/Popover.js +22 -22
  49. package/Progress.js +4 -4
  50. package/RadioBar.js +4 -4
  51. package/RadioList.js +2 -2
  52. package/Resize.js +4 -4
  53. package/ResultsMenu.js +8 -8
  54. package/ScreenReaderContent.js +2 -2
  55. package/Scroll.js +4 -4
  56. package/ScrollContainerContext.js +2 -2
  57. package/Search.js +14 -14
  58. package/Select.js +12 -12
  59. package/SidePanel.js +4 -4
  60. package/Slider.js +6 -6
  61. package/SlidingPanels.js +8 -8
  62. package/SplitButton.js +4 -4
  63. package/StaticContent.js +2 -2
  64. package/StepBar.js +2 -2
  65. package/Switch.js +4 -4
  66. package/TabBar.js +4 -4
  67. package/TabLayout.js +6 -6
  68. package/Table.js +46 -45
  69. package/Text.js +23 -21
  70. package/TextArea.js +23 -21
  71. package/Tooltip.js +11 -11
  72. package/TransitionOpen.js +2 -2
  73. package/Typography.js +4 -4
  74. package/WaitSpinner.js +2 -2
  75. package/cypress/support/component-index.html +12 -0
  76. package/cypress/support/component.ts +27 -0
  77. package/cypress.config.ts +19 -0
  78. package/package.json +9 -9
  79. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
  80. package/types/src/FormRows/FormRows.d.ts +1 -2
  81. package/types/src/FormRows/Row.d.ts +2 -12
  82. package/types/src/FormRows/RowInternal.d.ts +19 -0
  83. package/types/src/FormRows/SortableList.d.ts +8 -2
  84. package/types/src/FormRows/SortableRow.d.ts +20 -0
  85. package/types/src/Heading/Heading.d.ts +1 -1
  86. package/useForceUpdate.js +2 -2
  87. package/useKeyPress.js +2 -2
  88. package/usePrevious.js +2 -2
  89. package/useRovingFocus.js +2 -2
  90. package/cypress/plugins/index.ts +0 -15
  91. package/cypress/support/index.ts +0 -10
  92. package/cypress.json +0 -13
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 = 168);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 169);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -142,12 +142,6 @@ module.exports = require("lodash/keys");
142
142
 
143
143
  /***/ }),
144
144
  /* 10 */
145
- /***/ (function(module, exports) {
146
-
147
- module.exports = require("lodash/has");
148
-
149
- /***/ }),
150
- /* 11 */
151
145
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
152
146
 
153
147
  "use strict";
@@ -172,6 +166,12 @@ function updateReactRef(ref, current) {
172
166
 
173
167
 
174
168
 
169
+ /***/ }),
170
+ /* 11 */
171
+ /***/ (function(module, exports) {
172
+
173
+ module.exports = require("lodash/has");
174
+
175
175
  /***/ }),
176
176
  /* 12 */,
177
177
  /* 13 */,
@@ -478,14 +478,15 @@ module.exports = require("lodash/isFunction");
478
478
  /* 71 */,
479
479
  /* 72 */,
480
480
  /* 73 */,
481
- /* 74 */
481
+ /* 74 */,
482
+ /* 75 */
482
483
  /***/ (function(module, exports) {
483
484
 
484
485
  module.exports = require("lodash/isNumber");
485
486
 
486
487
  /***/ }),
487
- /* 75 */,
488
- /* 76 */
488
+ /* 76 */,
489
+ /* 77 */
489
490
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
490
491
 
491
492
  "use strict";
@@ -508,25 +509,24 @@ function assertDefined(val, msg) {
508
509
 
509
510
 
510
511
  /***/ }),
511
- /* 77 */,
512
512
  /* 78 */,
513
513
  /* 79 */,
514
514
  /* 80 */,
515
- /* 81 */
515
+ /* 81 */,
516
+ /* 82 */
516
517
  /***/ (function(module, exports) {
517
518
 
518
519
  module.exports = require("lodash/indexOf");
519
520
 
520
521
  /***/ }),
521
- /* 82 */,
522
522
  /* 83 */,
523
- /* 84 */
523
+ /* 84 */,
524
+ /* 85 */
524
525
  /***/ (function(module, exports) {
525
526
 
526
527
  module.exports = require("@splunk/react-icons/DotsThreeVertical");
527
528
 
528
529
  /***/ }),
529
- /* 85 */,
530
530
  /* 86 */,
531
531
  /* 87 */,
532
532
  /* 88 */,
@@ -549,27 +549,27 @@ module.exports = require("@splunk/react-icons/DotsThreeVertical");
549
549
  /* 105 */,
550
550
  /* 106 */,
551
551
  /* 107 */,
552
- /* 108 */
552
+ /* 108 */,
553
+ /* 109 */
553
554
  /***/ (function(module, exports) {
554
555
 
555
556
  module.exports = require("@splunk/react-icons/CaretsSmallUpDown");
556
557
 
557
558
  /***/ }),
558
- /* 109 */,
559
559
  /* 110 */,
560
- /* 111 */
560
+ /* 111 */,
561
+ /* 112 */
561
562
  /***/ (function(module, exports) {
562
563
 
563
564
  module.exports = require("lodash/findIndex");
564
565
 
565
566
  /***/ }),
566
- /* 112 */
567
+ /* 113 */
567
568
  /***/ (function(module, exports) {
568
569
 
569
570
  module.exports = require("lodash/merge");
570
571
 
571
572
  /***/ }),
572
- /* 113 */,
573
573
  /* 114 */,
574
574
  /* 115 */,
575
575
  /* 116 */,
@@ -613,53 +613,54 @@ module.exports = require("lodash/merge");
613
613
  /* 154 */,
614
614
  /* 155 */,
615
615
  /* 156 */,
616
- /* 157 */
616
+ /* 157 */,
617
+ /* 158 */
617
618
  /***/ (function(module, exports) {
618
619
 
619
620
  module.exports = require("lodash/forEach");
620
621
 
621
622
  /***/ }),
622
- /* 158 */
623
+ /* 159 */
623
624
  /***/ (function(module, exports) {
624
625
 
625
626
  module.exports = require("lodash/isEqual");
626
627
 
627
628
  /***/ }),
628
- /* 159 */
629
+ /* 160 */
629
630
  /***/ (function(module, exports) {
630
631
 
631
632
  module.exports = require("react-resize-detector");
632
633
 
633
634
  /***/ }),
634
- /* 160 */
635
+ /* 161 */
635
636
  /***/ (function(module, exports) {
636
637
 
637
638
  module.exports = require("@splunk/react-icons/ArrowDown");
638
639
 
639
640
  /***/ }),
640
- /* 161 */
641
+ /* 162 */
641
642
  /***/ (function(module, exports) {
642
643
 
643
644
  module.exports = require("@splunk/react-icons/ArrowUp");
644
645
 
645
646
  /***/ }),
646
- /* 162 */
647
+ /* 163 */
647
648
  /***/ (function(module, exports) {
648
649
 
649
650
  module.exports = require("@splunk/react-icons/ArrowUpDown");
650
651
 
651
652
  /***/ }),
652
- /* 163 */
653
+ /* 164 */
653
654
  /***/ (function(module, exports) {
654
655
 
655
656
  module.exports = require("@splunk/react-icons/enterprise/Info");
656
657
 
657
658
  /***/ }),
658
- /* 164 */,
659
659
  /* 165 */,
660
660
  /* 166 */,
661
661
  /* 167 */,
662
- /* 168 */
662
+ /* 168 */,
663
+ /* 169 */
663
664
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
664
665
 
665
666
  "use strict";
@@ -685,23 +686,23 @@ var external_prop_types_ = __webpack_require__(1);
685
686
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
686
687
 
687
688
  // EXTERNAL MODULE: external "lodash/forEach"
688
- var forEach_ = __webpack_require__(157);
689
+ var forEach_ = __webpack_require__(158);
689
690
  var forEach_default = /*#__PURE__*/__webpack_require__.n(forEach_);
690
691
 
691
692
  // EXTERNAL MODULE: external "lodash/has"
692
- var has_ = __webpack_require__(10);
693
+ var has_ = __webpack_require__(11);
693
694
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
694
695
 
695
696
  // EXTERNAL MODULE: external "lodash/indexOf"
696
- var indexOf_ = __webpack_require__(81);
697
+ var indexOf_ = __webpack_require__(82);
697
698
  var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
698
699
 
699
700
  // EXTERNAL MODULE: external "lodash/isEqual"
700
- var isEqual_ = __webpack_require__(158);
701
+ var isEqual_ = __webpack_require__(159);
701
702
  var isEqual_default = /*#__PURE__*/__webpack_require__.n(isEqual_);
702
703
 
703
704
  // EXTERNAL MODULE: external "lodash/isNumber"
704
- var isNumber_ = __webpack_require__(74);
705
+ var isNumber_ = __webpack_require__(75);
705
706
 
706
707
  // EXTERNAL MODULE: external "lodash/omit"
707
708
  var omit_ = __webpack_require__(5);
@@ -712,7 +713,7 @@ var throttle_ = __webpack_require__(31);
712
713
  var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
713
714
 
714
715
  // EXTERNAL MODULE: external "react-resize-detector"
715
- var external_react_resize_detector_ = __webpack_require__(159);
716
+ var external_react_resize_detector_ = __webpack_require__(160);
716
717
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
717
718
 
718
719
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -726,7 +727,7 @@ var keyboard_ = __webpack_require__(7);
726
727
  var ScrollContainerContext_ = __webpack_require__(50);
727
728
 
728
729
  // EXTERNAL MODULE: external "lodash/findIndex"
729
- var findIndex_ = __webpack_require__(111);
730
+ var findIndex_ = __webpack_require__(112);
730
731
  var findIndex_default = /*#__PURE__*/__webpack_require__.n(findIndex_);
731
732
 
732
733
  // EXTERNAL MODULE: external "lodash/includes"
@@ -753,7 +754,7 @@ var Styled = external_styled_components_default.a.tbody.withConfig({
753
754
  })(["", " z-index:0;"], themes_["mixins"].reset('table-row-group'));
754
755
 
755
756
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
756
- var updateReactRef = __webpack_require__(11);
757
+ var updateReactRef = __webpack_require__(10);
757
758
 
758
759
  // EXTERNAL MODULE: ./src/utils/ssrWindow.ts
759
760
  var ssrWindow = __webpack_require__(18);
@@ -1448,19 +1449,19 @@ var isString_ = __webpack_require__(23);
1448
1449
  var isString_default = /*#__PURE__*/__webpack_require__.n(isString_);
1449
1450
 
1450
1451
  // EXTERNAL MODULE: external "lodash/merge"
1451
- var merge_ = __webpack_require__(112);
1452
+ var merge_ = __webpack_require__(113);
1452
1453
  var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
1453
1454
 
1454
1455
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowDown"
1455
- var ArrowDown_ = __webpack_require__(160);
1456
+ var ArrowDown_ = __webpack_require__(161);
1456
1457
  var ArrowDown_default = /*#__PURE__*/__webpack_require__.n(ArrowDown_);
1457
1458
 
1458
1459
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUp"
1459
- var ArrowUp_ = __webpack_require__(161);
1460
+ var ArrowUp_ = __webpack_require__(162);
1460
1461
  var ArrowUp_default = /*#__PURE__*/__webpack_require__.n(ArrowUp_);
1461
1462
 
1462
1463
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowUpDown"
1463
- var ArrowUpDown_ = __webpack_require__(162);
1464
+ var ArrowUpDown_ = __webpack_require__(163);
1464
1465
  var ArrowUpDown_default = /*#__PURE__*/__webpack_require__.n(ArrowUpDown_);
1465
1466
 
1466
1467
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretSmallDown"
@@ -1468,7 +1469,7 @@ var CaretSmallDown_ = __webpack_require__(53);
1468
1469
  var CaretSmallDown_default = /*#__PURE__*/__webpack_require__.n(CaretSmallDown_);
1469
1470
 
1470
1471
  // EXTERNAL MODULE: external "@splunk/react-icons/CaretsSmallUpDown"
1471
- var CaretsSmallUpDown_ = __webpack_require__(108);
1472
+ var CaretsSmallUpDown_ = __webpack_require__(109);
1472
1473
  var CaretsSmallUpDown_default = /*#__PURE__*/__webpack_require__.n(CaretsSmallUpDown_);
1473
1474
 
1474
1475
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Caret"
@@ -2467,7 +2468,7 @@ HeadCell_defineProperty(HeadCell_HeadCell, "contextType", Table_TableContext);
2467
2468
 
2468
2469
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2469
2470
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Info"
2470
- var Info_ = __webpack_require__(163);
2471
+ var Info_ = __webpack_require__(164);
2471
2472
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2472
2473
 
2473
2474
  // EXTERNAL MODULE: external "@splunk/react-icons/ChevronRight"
@@ -2498,7 +2499,7 @@ function HeadExpandRows() {
2498
2499
  });
2499
2500
  }
2500
2501
  // EXTERNAL MODULE: external "@splunk/react-icons/DotsThreeVertical"
2501
- var DotsThreeVertical_ = __webpack_require__(84);
2502
+ var DotsThreeVertical_ = __webpack_require__(85);
2502
2503
  var DotsThreeVertical_default = /*#__PURE__*/__webpack_require__.n(DotsThreeVertical_);
2503
2504
 
2504
2505
  // EXTERNAL MODULE: external "@splunk/react-ui/Button"
@@ -4397,7 +4398,7 @@ HeadTable_defineProperty(HeadTable_HeadTable, "defaultProps", HeadTable_defaultP
4397
4398
 
4398
4399
  /* harmony default export */ var Table_HeadTable = (HeadTable_HeadTable);
4399
4400
  // EXTERNAL MODULE: ./src/utils/types.ts
4400
- var types = __webpack_require__(76);
4401
+ var types = __webpack_require__(77);
4401
4402
 
4402
4403
  // CONCATENATED MODULE: ./src/Table/Table.tsx
4403
4404
  function Table_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Table_typeof = function _typeof(obj) { return typeof obj; }; } else { Table_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Table_typeof(obj); }
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 = 194);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 195);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -102,20 +102,6 @@ module.exports = require("prop-types");
102
102
  /***/ }),
103
103
 
104
104
  /***/ 10:
105
- /***/ (function(module, exports) {
106
-
107
- module.exports = require("lodash/has");
108
-
109
- /***/ }),
110
-
111
- /***/ 104:
112
- /***/ (function(module, exports) {
113
-
114
- module.exports = require("@splunk/react-ui/ControlGroup");
115
-
116
- /***/ }),
117
-
118
- /***/ 11:
119
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
106
 
121
107
  "use strict";
@@ -140,6 +126,20 @@ function updateReactRef(ref, current) {
140
126
 
141
127
 
142
128
 
129
+ /***/ }),
130
+
131
+ /***/ 105:
132
+ /***/ (function(module, exports) {
133
+
134
+ module.exports = require("@splunk/react-ui/ControlGroup");
135
+
136
+ /***/ }),
137
+
138
+ /***/ 11:
139
+ /***/ (function(module, exports) {
140
+
141
+ module.exports = require("lodash/has");
142
+
143
143
  /***/ }),
144
144
 
145
145
  /***/ 14:
@@ -149,7 +149,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
149
149
 
150
150
  /***/ }),
151
151
 
152
- /***/ 164:
152
+ /***/ 165:
153
153
  /***/ (function(module, exports) {
154
154
 
155
155
  module.exports = require("@splunk/react-ui/TextArea");
@@ -163,7 +163,7 @@ module.exports = require("@splunk/react-ui/Button");
163
163
 
164
164
  /***/ }),
165
165
 
166
- /***/ 194:
166
+ /***/ 195:
167
167
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
168
168
 
169
169
  "use strict";
@@ -182,7 +182,7 @@ var external_prop_types_ = __webpack_require__(1);
182
182
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
183
183
 
184
184
  // EXTERNAL MODULE: external "lodash/has"
185
- var has_ = __webpack_require__(10);
185
+ var has_ = __webpack_require__(11);
186
186
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
187
187
 
188
188
  // EXTERNAL MODULE: external "lodash/keys"
@@ -198,7 +198,7 @@ var pickBy_ = __webpack_require__(61);
198
198
  var pickBy_default = /*#__PURE__*/__webpack_require__.n(pickBy_);
199
199
 
200
200
  // EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
201
- var ControlGroup_ = __webpack_require__(104);
201
+ var ControlGroup_ = __webpack_require__(105);
202
202
 
203
203
  // EXTERNAL MODULE: external "@splunk/react-icons/Cross"
204
204
  var Cross_ = __webpack_require__(25);
@@ -221,7 +221,7 @@ var ScreenReaderContent_ = __webpack_require__(14);
221
221
  var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
222
222
 
223
223
  // EXTERNAL MODULE: external "@splunk/react-ui/TextArea"
224
- var TextArea_ = __webpack_require__(164);
224
+ var TextArea_ = __webpack_require__(165);
225
225
  var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_);
226
226
 
227
227
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -639,7 +639,7 @@ var StyledAdornment = external_styled_components_default.a.div.withConfig({
639
639
  }));
640
640
 
641
641
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
642
- var updateReactRef = __webpack_require__(11);
642
+ var updateReactRef = __webpack_require__(10);
643
643
 
644
644
  // CONCATENATED MODULE: ./src/Text/Text.tsx
645
645
  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); }
@@ -898,6 +898,8 @@ var Text_Text = /*#__PURE__*/function (_Component) {
898
898
  });
899
899
  }
900
900
 
901
+ _this.focus();
902
+
901
903
  (_this$props$onChange2 = (_this$props7 = _this.props).onChange) === null || _this$props$onChange2 === void 0 ? void 0 : _this$props$onChange2.call(_this$props7, e, {
902
904
  value: value,
903
905
  name: name
package/TextArea.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 = 208);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 209);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -102,20 +102,6 @@ module.exports = require("prop-types");
102
102
  /***/ }),
103
103
 
104
104
  /***/ 10:
105
- /***/ (function(module, exports) {
106
-
107
- module.exports = require("lodash/has");
108
-
109
- /***/ }),
110
-
111
- /***/ 104:
112
- /***/ (function(module, exports) {
113
-
114
- module.exports = require("@splunk/react-ui/ControlGroup");
115
-
116
- /***/ }),
117
-
118
- /***/ 11:
119
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
106
 
121
107
  "use strict";
@@ -140,6 +126,20 @@ function updateReactRef(ref, current) {
140
126
 
141
127
 
142
128
 
129
+ /***/ }),
130
+
131
+ /***/ 105:
132
+ /***/ (function(module, exports) {
133
+
134
+ module.exports = require("@splunk/react-ui/ControlGroup");
135
+
136
+ /***/ }),
137
+
138
+ /***/ 11:
139
+ /***/ (function(module, exports) {
140
+
141
+ module.exports = require("lodash/has");
142
+
143
143
  /***/ }),
144
144
 
145
145
  /***/ 16:
@@ -149,7 +149,7 @@ module.exports = require("@splunk/react-ui/EventListener");
149
149
 
150
150
  /***/ }),
151
151
 
152
- /***/ 165:
152
+ /***/ 166:
153
153
  /***/ (function(module, exports) {
154
154
 
155
155
  module.exports = require("lodash/noop");
@@ -170,7 +170,7 @@ module.exports = require("react");
170
170
 
171
171
  /***/ }),
172
172
 
173
- /***/ 208:
173
+ /***/ 209:
174
174
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
175
175
 
176
176
  "use strict";
@@ -193,7 +193,7 @@ var defer_ = __webpack_require__(55);
193
193
  var defer_default = /*#__PURE__*/__webpack_require__.n(defer_);
194
194
 
195
195
  // EXTERNAL MODULE: external "lodash/has"
196
- var has_ = __webpack_require__(10);
196
+ var has_ = __webpack_require__(11);
197
197
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
198
198
 
199
199
  // EXTERNAL MODULE: external "lodash/keys"
@@ -201,7 +201,7 @@ var keys_ = __webpack_require__(9);
201
201
  var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
202
202
 
203
203
  // EXTERNAL MODULE: external "lodash/noop"
204
- var noop_ = __webpack_require__(165);
204
+ var noop_ = __webpack_require__(166);
205
205
  var noop_default = /*#__PURE__*/__webpack_require__.n(noop_);
206
206
 
207
207
  // EXTERNAL MODULE: external "lodash/omit"
@@ -217,7 +217,7 @@ var throttle_ = __webpack_require__(31);
217
217
  var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
218
218
 
219
219
  // EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
220
- var ControlGroup_ = __webpack_require__(104);
220
+ var ControlGroup_ = __webpack_require__(105);
221
221
 
222
222
  // EXTERNAL MODULE: external "@splunk/react-icons/Cross"
223
223
  var Cross_ = __webpack_require__(25);
@@ -619,7 +619,7 @@ function syncHeightWithShadow(_ref) {
619
619
  return false;
620
620
  }
621
621
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
622
- var updateReactRef = __webpack_require__(11);
622
+ var updateReactRef = __webpack_require__(10);
623
623
 
624
624
  // CONCATENATED MODULE: ./src/TextArea/TextArea.tsx
625
625
  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); }
@@ -878,6 +878,8 @@ var TextArea_TextArea = /*#__PURE__*/function (_Component) {
878
878
  });
879
879
  }
880
880
 
881
+ _this.focus();
882
+
881
883
  (_this$props$onChange2 = (_this$props7 = _this.props).onChange) === null || _this$props$onChange2 === void 0 ? void 0 : _this$props$onChange2.call(_this$props7, e, {
882
884
  value: value,
883
885
  name: name
package/Tooltip.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 = 209);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 210);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 10:
104
+ /***/ 11:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("lodash/has");
@@ -129,7 +129,14 @@ module.exports = require("react");
129
129
 
130
130
  /***/ }),
131
131
 
132
- /***/ 209:
132
+ /***/ 21:
133
+ /***/ (function(module, exports) {
134
+
135
+ module.exports = require("@splunk/react-ui/Popover");
136
+
137
+ /***/ }),
138
+
139
+ /***/ 210:
133
140
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
134
141
 
135
142
  "use strict";
@@ -148,7 +155,7 @@ var external_prop_types_ = __webpack_require__(1);
148
155
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
149
156
 
150
157
  // EXTERNAL MODULE: external "lodash/has"
151
- var has_ = __webpack_require__(10);
158
+ var has_ = __webpack_require__(11);
152
159
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
153
160
 
154
161
  // EXTERNAL MODULE: external "lodash/throttle"
@@ -687,13 +694,6 @@ TooltipWithTheme.propTypes = Tooltip_Tooltip.propTypes;
687
694
 
688
695
 
689
696
 
690
- /***/ }),
691
-
692
- /***/ 21:
693
- /***/ (function(module, exports) {
694
-
695
- module.exports = require("@splunk/react-ui/Popover");
696
-
697
697
  /***/ }),
698
698
 
699
699
  /***/ 3:
package/TransitionOpen.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 = 234);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 235);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 234:
111
+ /***/ 235:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
package/Typography.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 = 240);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 241);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("react");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 240:
104
+ /***/ 241:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -121,7 +121,7 @@ var external_prop_types_ = __webpack_require__(1);
121
121
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
122
122
 
123
123
  // EXTERNAL MODULE: external "@splunk/themes/mixins"
124
- var mixins_ = __webpack_require__(80);
124
+ var mixins_ = __webpack_require__(81);
125
125
  var mixins_default = /*#__PURE__*/__webpack_require__.n(mixins_);
126
126
 
127
127
  // EXTERNAL MODULE: external "styled-components"
@@ -220,7 +220,7 @@ module.exports = require("styled-components");
220
220
 
221
221
  /***/ }),
222
222
 
223
- /***/ 80:
223
+ /***/ 81:
224
224
  /***/ (function(module, exports) {
225
225
 
226
226
  module.exports = require("@splunk/themes/mixins");
package/WaitSpinner.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 = 235);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 236);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("react");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 235:
111
+ /***/ 236:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <title>Components App</title>
8
+ </head>
9
+ <body>
10
+ <div data-cy-root></div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,27 @@
1
+ import { mount } from 'cypress/react';
2
+ import 'cypress-real-events';
3
+ import { setGlobalConfig } from '@storybook/testing-react';
4
+ import { configure } from '@testing-library/cypress';
5
+
6
+ import * as sbPreview from '../../.storybook/preview';
7
+ import './commands';
8
+
9
+ // Augment the Cypress namespace to include type definitions for
10
+ // your custom command.
11
+ // Alternatively, can be defined in cypress/support/component.d.ts
12
+ // with a <reference path="./component" /> at the top of your spec.
13
+ /* eslint-disable @typescript-eslint/no-namespace */
14
+ declare global {
15
+ namespace Cypress {
16
+ interface Chainable {
17
+ mount: typeof mount;
18
+ }
19
+ }
20
+ }
21
+ /* eslint-enable @typescript-eslint/no-namespace */
22
+
23
+ Cypress.Commands.add('mount', mount);
24
+
25
+ configure({ testIdAttribute: 'data-test' });
26
+
27
+ setGlobalConfig(sbPreview);