@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/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 = 172);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 174:
104
+ /***/ 172:
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 = 118);
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
+ /***/ 118:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
@@ -131,7 +131,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
131
131
  var id_ = __webpack_require__(10);
132
132
 
133
133
  // EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
134
- var useSplunkTheme_ = __webpack_require__(38);
134
+ var useSplunkTheme_ = __webpack_require__(40);
135
135
  var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
136
136
 
137
137
  // EXTERNAL MODULE: external "styled-components"
@@ -142,7 +142,7 @@ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(exte
142
142
  var themes_ = __webpack_require__(0);
143
143
 
144
144
  // EXTERNAL MODULE: external "@splunk/react-icons/Error"
145
- var Error_ = __webpack_require__(49);
145
+ var Error_ = __webpack_require__(50);
146
146
  var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
147
147
 
148
148
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -179,7 +179,7 @@ function AlertFilled(props) {
179
179
  }, props));
180
180
  }
181
181
  // EXTERNAL MODULE: external "@splunk/react-icons/Success"
182
- var Success_ = __webpack_require__(50);
182
+ var Success_ = __webpack_require__(51);
183
183
  var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
184
184
 
185
185
  // CONCATENATED MODULE: ./src/icons/Success.tsx
@@ -504,21 +504,21 @@ module.exports = require("styled-components");
504
504
 
505
505
  /***/ }),
506
506
 
507
- /***/ 38:
507
+ /***/ 40:
508
508
  /***/ (function(module, exports) {
509
509
 
510
510
  module.exports = require("@splunk/themes/useSplunkTheme");
511
511
 
512
512
  /***/ }),
513
513
 
514
- /***/ 49:
514
+ /***/ 50:
515
515
  /***/ (function(module, exports) {
516
516
 
517
517
  module.exports = require("@splunk/react-icons/Error");
518
518
 
519
519
  /***/ }),
520
520
 
521
- /***/ 50:
521
+ /***/ 51:
522
522
  /***/ (function(module, exports) {
523
523
 
524
524
  module.exports = require("@splunk/react-icons/Success");
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 = 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
- /***/ 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
+ /***/ 143:
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 "@splunk/react-ui/AnimationToggle"
144
- var AnimationToggle_ = __webpack_require__(34);
144
+ var AnimationToggle_ = __webpack_require__(36);
145
145
  var AnimationToggle_default = /*#__PURE__*/__webpack_require__.n(AnimationToggle_);
146
146
 
147
147
  // EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
@@ -152,7 +152,7 @@ var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReade
152
152
  var id_ = __webpack_require__(10);
153
153
 
154
154
  // EXTERNAL MODULE: external "@splunk/react-icons/Check"
155
- var Check_ = __webpack_require__(47);
155
+ var Check_ = __webpack_require__(48);
156
156
  var Check_default = /*#__PURE__*/__webpack_require__.n(Check_);
157
157
 
158
158
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -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
@@ -740,14 +740,14 @@ module.exports = require("styled-components");
740
740
 
741
741
  /***/ }),
742
742
 
743
- /***/ 34:
743
+ /***/ 36:
744
744
  /***/ (function(module, exports) {
745
745
 
746
746
  module.exports = require("@splunk/react-ui/AnimationToggle");
747
747
 
748
748
  /***/ }),
749
749
 
750
- /***/ 47:
750
+ /***/ 48:
751
751
  /***/ (function(module, exports) {
752
752
 
753
753
  module.exports = require("@splunk/react-icons/Check");
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 = 127);
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
+ /***/ 127:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "use strict";
@@ -198,7 +198,7 @@ var Styled = external_styled_components_default.a.div.withConfig({
198
198
  var id_ = __webpack_require__(10);
199
199
 
200
200
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
201
- var Popover_ = __webpack_require__(16);
201
+ var Popover_ = __webpack_require__(17);
202
202
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
203
203
 
204
204
  // EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
@@ -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
 
@@ -587,7 +587,7 @@ _defineProperty(Tab_Tab, "contextType", TabBar_TabBarContext);
587
587
 
588
588
  /* harmony default export */ var TabBar_Tab = (Tab_Tab);
589
589
  // EXTERNAL MODULE: ./src/utils/navigateList.ts
590
- var navigateList = __webpack_require__(39);
590
+ var navigateList = __webpack_require__(42);
591
591
 
592
592
  // CONCATENATED MODULE: ./src/TabBar/TabBar.tsx
593
593
  function TabBar_extends() { TabBar_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 TabBar_extends.apply(this, arguments); }
@@ -748,7 +748,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
748
748
 
749
749
  /***/ }),
750
750
 
751
- /***/ 16:
751
+ /***/ 17:
752
752
  /***/ (function(module, exports) {
753
753
 
754
754
  module.exports = require("@splunk/react-ui/Popover");
@@ -769,7 +769,7 @@ module.exports = require("styled-components");
769
769
 
770
770
  /***/ }),
771
771
 
772
- /***/ 39:
772
+ /***/ 42:
773
773
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
774
774
 
775
775
  "use strict";
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 = 144);
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
+ /***/ 144:
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__(83);
137
+ var TabBar_ = __webpack_require__(82);
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
- /***/ 83:
408
+ /***/ 82:
409
409
  /***/ (function(module, exports) {
410
410
 
411
411
  module.exports = require("@splunk/react-ui/TabBar");