@splunk/react-ui 4.17.1 → 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 (122) hide show
  1. package/Accordion.js +6 -6
  2. package/Anchor.js +2 -2
  3. package/Animation.js +2 -2
  4. package/AnimationToggle.js +5 -5
  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 +28 -2
  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 +209 -182
  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 +9 -6
  28. package/EventListener.js +4 -4
  29. package/File.js +13 -13
  30. package/FormRows.js +264 -103
  31. package/Heading.js +50 -50
  32. package/Image.js +15 -15
  33. package/JSONTree.js +38 -36
  34. package/Layer.js +10 -10
  35. package/Link.js +2 -2
  36. package/List.js +9 -6
  37. package/MIGRATION.mdx +295 -0
  38. package/Markdown.js +24 -19
  39. package/Menu.js +12 -12
  40. package/Message.js +4 -4
  41. package/MessageBar.js +2 -2
  42. package/Modal.js +4 -4
  43. package/ModalLayer.js +4 -4
  44. package/Monogram.js +3 -3
  45. package/Multiselect.js +33 -33
  46. package/Number.js +7 -6
  47. package/Paginator.js +6 -6
  48. package/Paragraph.js +2 -2
  49. package/Popover.js +31 -27
  50. package/Progress.js +4 -4
  51. package/RadioBar.js +4 -4
  52. package/RadioList.js +2 -2
  53. package/Resize.js +6 -6
  54. package/ResultsMenu.js +8 -8
  55. package/ScreenReaderContent.js +2 -2
  56. package/Scroll.js +6 -6
  57. package/ScrollContainerContext.js +2 -2
  58. package/Search.js +14 -14
  59. package/Select.js +12 -12
  60. package/SidePanel.js +2 -2
  61. package/Slider.js +10 -10
  62. package/SlidingPanels.js +8 -8
  63. package/SplitButton.js +4 -4
  64. package/StaticContent.js +2 -2
  65. package/StepBar.js +2 -2
  66. package/Switch.js +2 -2
  67. package/TabBar.js +68 -51
  68. package/TabLayout.js +6 -6
  69. package/Table.js +51 -50
  70. package/Text.js +25 -23
  71. package/TextArea.js +24 -22
  72. package/Tooltip.js +11 -11
  73. package/TransitionOpen.js +2 -2
  74. package/Typography.js +4 -4
  75. package/WaitSpinner.js +2 -2
  76. package/cypress/support/component-index.html +12 -0
  77. package/cypress/support/component.ts +27 -0
  78. package/cypress.config.ts +19 -0
  79. package/package.json +14 -19
  80. package/stubs-dependencies.d.ts +0 -9
  81. package/types/src/Button/Button.d.ts +5 -3
  82. package/types/src/Clickable/Clickable.d.ts +2 -1
  83. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
  84. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -0
  85. package/types/src/Color/Color.d.ts +6 -6
  86. package/types/src/Color/Palette.d.ts +46 -0
  87. package/types/src/Concertina/Panel.d.ts +1 -0
  88. package/types/src/FormRows/FormRows.d.ts +1 -2
  89. package/types/src/FormRows/Row.d.ts +3 -12
  90. package/types/src/FormRows/RowInternal.d.ts +19 -0
  91. package/types/src/FormRows/SortableList.d.ts +8 -2
  92. package/types/src/FormRows/SortableRow.d.ts +20 -0
  93. package/types/src/Heading/Heading.d.ts +8 -3
  94. package/types/src/JSONTree/JSONTree.d.ts +2 -1
  95. package/types/src/Layer/Layer.d.ts +2 -0
  96. package/types/src/List/List.d.ts +9 -1
  97. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -0
  98. package/types/src/List/docs/examples/OrderedList.d.ts +2 -0
  99. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -0
  100. package/types/src/Markdown/Markdown.d.ts +1 -0
  101. package/types/src/Markdown/renderers/MarkdownList.d.ts +2 -0
  102. package/types/src/Number/Number.d.ts +9 -4
  103. package/types/src/Popover/Popover.d.ts +2 -0
  104. package/types/src/TabBar/Tab.d.ts +2 -0
  105. package/types/src/Table/Head.d.ts +1 -0
  106. package/types/src/Table/HeadCell.d.ts +1 -0
  107. package/types/src/Table/HeadDropdownCell.d.ts +1 -0
  108. package/types/src/Table/Table.d.ts +3 -1
  109. package/types/src/Text/Text.d.ts +3 -1
  110. package/types/src/TextArea/TextArea.d.ts +2 -0
  111. package/useForceUpdate.js +2 -2
  112. package/useKeyPress.js +2 -2
  113. package/usePrevious.js +2 -2
  114. package/useRovingFocus.js +2 -2
  115. package/MIGRATION.md +0 -49
  116. package/cypress/plugins/index.ts +0 -15
  117. package/cypress/support/index.ts +0 -10
  118. package/cypress.json +0 -13
  119. package/types/src/List/docs/examples/Decimal.d.ts +0 -2
  120. package/types/src/List/docs/examples/Disc.d.ts +0 -2
  121. package/types/src/List/docs/examples/LowerAlpha.d.ts +0 -2
  122. package/types/src/List/docs/examples/UpperAlpha.d.ts +0 -2
package/Code.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 = 216);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 217);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 114:
104
+ /***/ 115:
105
105
  /***/ (function(module, exports, __webpack_require__) {
106
106
 
107
107
 
@@ -2290,7 +2290,7 @@ Prism.languages.js = Prism.languages.javascript;
2290
2290
 
2291
2291
  /***/ }),
2292
2292
 
2293
- /***/ 124:
2293
+ /***/ 125:
2294
2294
  /***/ (function(module, exports) {
2295
2295
 
2296
2296
  module.exports = require("lodash/flatten");
@@ -2304,7 +2304,7 @@ module.exports = require("react");
2304
2304
 
2305
2305
  /***/ }),
2306
2306
 
2307
- /***/ 216:
2307
+ /***/ 217:
2308
2308
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2309
2309
 
2310
2310
  "use strict";
@@ -2327,23 +2327,23 @@ var castArray_ = __webpack_require__(65);
2327
2327
  var castArray_default = /*#__PURE__*/__webpack_require__.n(castArray_);
2328
2328
 
2329
2329
  // EXTERNAL MODULE: external "lodash/flatten"
2330
- var flatten_ = __webpack_require__(124);
2330
+ var flatten_ = __webpack_require__(125);
2331
2331
  var flatten_default = /*#__PURE__*/__webpack_require__.n(flatten_);
2332
2332
 
2333
2333
  // EXTERNAL MODULE: external "lodash/indexOf"
2334
- var indexOf_ = __webpack_require__(81);
2334
+ var indexOf_ = __webpack_require__(82);
2335
2335
  var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
2336
2336
 
2337
2337
  // EXTERNAL MODULE: external "lodash/repeat"
2338
- var repeat_ = __webpack_require__(78);
2338
+ var repeat_ = __webpack_require__(80);
2339
2339
  var repeat_default = /*#__PURE__*/__webpack_require__.n(repeat_);
2340
2340
 
2341
2341
  // EXTERNAL MODULE: external "lodash/times"
2342
- var times_ = __webpack_require__(77);
2342
+ var times_ = __webpack_require__(79);
2343
2343
  var times_default = /*#__PURE__*/__webpack_require__.n(times_);
2344
2344
 
2345
2345
  // EXTERNAL MODULE: ./src/Code/prism/prism.empty
2346
- var prism_empty = __webpack_require__(114);
2346
+ var prism_empty = __webpack_require__(115);
2347
2347
  var prism_empty_default = /*#__PURE__*/__webpack_require__.n(prism_empty);
2348
2348
 
2349
2349
  // EXTERNAL MODULE: external "styled-components"
@@ -2605,21 +2605,21 @@ module.exports = require("lodash/castArray");
2605
2605
 
2606
2606
  /***/ }),
2607
2607
 
2608
- /***/ 77:
2608
+ /***/ 79:
2609
2609
  /***/ (function(module, exports) {
2610
2610
 
2611
2611
  module.exports = require("lodash/times");
2612
2612
 
2613
2613
  /***/ }),
2614
2614
 
2615
- /***/ 78:
2615
+ /***/ 80:
2616
2616
  /***/ (function(module, exports) {
2617
2617
 
2618
2618
  module.exports = require("lodash/repeat");
2619
2619
 
2620
2620
  /***/ }),
2621
2621
 
2622
- /***/ 81:
2622
+ /***/ 82:
2623
2623
  /***/ (function(module, exports) {
2624
2624
 
2625
2625
  module.exports = require("lodash/indexOf");
@@ -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 = 196);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 197);
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");
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/Clickable");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 196:
118
+ /***/ 197:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
@@ -134,7 +134,7 @@ var external_prop_types_ = __webpack_require__(1);
134
134
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
135
135
 
136
136
  // EXTERNAL MODULE: external "lodash/has"
137
- var has_ = __webpack_require__(10);
137
+ var has_ = __webpack_require__(11);
138
138
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
139
139
 
140
140
  // EXTERNAL MODULE: external "lodash/keys"