@splunk/react-ui 4.18.0 → 4.20.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 (110) hide show
  1. package/Accordion.js +6 -6
  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/Breadcrumbs.d.ts +2 -0
  7. package/Breadcrumbs.js +299 -0
  8. package/Button.js +17 -17
  9. package/ButtonGroup.js +2 -2
  10. package/ButtonSimple.js +2 -2
  11. package/CHANGELOG.md +25 -1
  12. package/Calendar.js +17 -17
  13. package/Card.js +10 -10
  14. package/CardLayout.js +2 -2
  15. package/Chip.js +32 -25
  16. package/Clickable.js +16 -14
  17. package/CloseButton.js +8 -8
  18. package/Code.js +40 -15
  19. package/CollapsiblePanel.js +10 -10
  20. package/Color.js +33 -33
  21. package/ColumnLayout.js +8 -8
  22. package/ComboBox.js +28 -28
  23. package/Concertina.js +18 -18
  24. package/ControlGroup.js +13 -13
  25. package/Date.js +29 -29
  26. package/DefinitionList.js +2 -2
  27. package/Divider.js +2 -2
  28. package/Dropdown.js +21 -21
  29. package/DualListbox.js +24 -24
  30. package/EventListener.js +4 -4
  31. package/File.js +23 -23
  32. package/FormRows.js +266 -105
  33. package/Heading.js +45 -49
  34. package/Image.js +23 -23
  35. package/JSONTree.js +20 -20
  36. package/Layer.js +14 -14
  37. package/Link.js +7 -7
  38. package/List.js +2 -2
  39. package/Markdown.js +19 -20
  40. package/Menu.js +252 -232
  41. package/Message.js +43 -43
  42. package/MessageBar.js +39 -39
  43. package/Modal.js +20 -20
  44. package/ModalLayer.js +6 -6
  45. package/Monogram.js +3 -3
  46. package/Multiselect.js +2987 -2493
  47. package/Number.js +8 -8
  48. package/Paginator.js +16 -16
  49. package/Paragraph.js +2 -2
  50. package/Popover.js +113 -50
  51. package/Progress.js +10 -10
  52. package/RadioBar.js +4 -4
  53. package/RadioList.js +2 -2
  54. package/Resize.js +4 -4
  55. package/ResultsMenu.js +43 -22
  56. package/ScreenReaderContent.js +2 -2
  57. package/Scroll.js +8 -8
  58. package/ScrollContainerContext.js +4 -4
  59. package/Search.js +25 -25
  60. package/Select.js +517 -120
  61. package/SidePanel.js +6 -6
  62. package/Slider.js +8 -8
  63. package/SlidingPanels.js +10 -10
  64. package/SplitButton.js +4 -4
  65. package/StaticContent.js +2 -2
  66. package/StepBar.js +8 -8
  67. package/Switch.js +6 -6
  68. package/TabBar.js +6 -6
  69. package/TabLayout.js +6 -6
  70. package/Table.js +145 -111
  71. package/Text.js +40 -38
  72. package/TextArea.js +42 -40
  73. package/Tooltip.js +15 -15
  74. package/TransitionOpen.js +11 -11
  75. package/Typography.js +4 -4
  76. package/WaitSpinner.js +5 -5
  77. package/cypress/support/component-index.html +12 -0
  78. package/cypress/support/component.ts +27 -0
  79. package/cypress.config.ts +19 -0
  80. package/package.json +17 -17
  81. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
  82. package/types/src/Breadcrumbs/Item.d.ts +42 -0
  83. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
  84. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
  85. package/types/src/Breadcrumbs/index.d.ts +2 -0
  86. package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
  87. package/types/src/Code/Code.d.ts +1 -1
  88. package/types/src/FormRows/FormRows.d.ts +1 -2
  89. package/types/src/FormRows/Row.d.ts +2 -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 +1 -1
  94. package/types/src/Link/Link.d.ts +5 -0
  95. package/types/src/Multiselect/Compact.d.ts +4 -0
  96. package/types/src/Multiselect/Multiselect.d.ts +5 -0
  97. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
  98. package/types/src/Select/SelectAllOption.d.ts +14 -0
  99. package/types/src/Select/SelectBase.d.ts +11 -3
  100. package/types/src/Table/Table.d.ts +4 -0
  101. package/types/src/Text/Text.d.ts +3 -3
  102. package/types/src/TextArea/TextArea.d.ts +3 -3
  103. package/useForceUpdate.js +2 -2
  104. package/useKeyPress.js +2 -2
  105. package/usePrevious.js +2 -2
  106. package/useRovingFocus.js +4 -4
  107. package/cypress/plugins/index.ts +0 -15
  108. package/cypress/support/index.ts +0 -10
  109. package/cypress.json +0 -13
  110. package/types/src/Typography/docs/examples/Variants.d.ts +0 -2
package/useForceUpdate.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 = 241);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 244);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -94,7 +94,7 @@ module.exports = require("react");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 241:
97
+ /***/ 244:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
package/useKeyPress.js CHANGED
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 167);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 169);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 167:
90
+ /***/ 169:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
package/usePrevious.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 = 242);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 245);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -94,7 +94,7 @@ module.exports = require("react");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 242:
97
+ /***/ 245:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
package/useRovingFocus.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 = 243);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 246);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -94,7 +94,7 @@ module.exports = require("react");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 243:
97
+ /***/ 246:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
@@ -108,7 +108,7 @@ __webpack_require__.d(__webpack_exports__, "default", function() { return /* ree
108
108
  var external_react_ = __webpack_require__(2);
109
109
 
110
110
  // EXTERNAL MODULE: external "@splunk/ui-utils/focus"
111
- var focus_ = __webpack_require__(29);
111
+ var focus_ = __webpack_require__(31);
112
112
 
113
113
  // EXTERNAL MODULE: external "@splunk/ui-utils/keyboard"
114
114
  var keyboard_ = __webpack_require__(7);
@@ -220,7 +220,7 @@ function useRovingFocus() {
220
220
 
221
221
  /***/ }),
222
222
 
223
- /***/ 29:
223
+ /***/ 31:
224
224
  /***/ (function(module, exports) {
225
225
 
226
226
  module.exports = require("@splunk/ui-utils/focus");
@@ -1,15 +0,0 @@
1
- /* eslint-env node */
2
-
3
- import { startDevServer } from '@cypress/webpack-dev-server';
4
- import webpackConfig from '../../webpack.test.config';
5
-
6
- /**
7
- * @type {Cypress.PluginConfig}
8
- */
9
- module.exports = (on, config) => {
10
- if (config.testingType === 'component') {
11
- on('dev-server:start', (options) => startDevServer({ options, webpackConfig }));
12
- }
13
-
14
- return config;
15
- };
@@ -1,10 +0,0 @@
1
- import { setGlobalConfig } from '@storybook/testing-react';
2
- import { configure } from '@testing-library/cypress';
3
- import 'cypress-real-events/support';
4
-
5
- import './commands';
6
- import * as sbPreview from '../../.storybook/preview';
7
-
8
- configure({ testIdAttribute: 'data-test' });
9
-
10
- setGlobalConfig(sbPreview);
package/cypress.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "baseUrl": "http://localhost:8080",
3
- "env": {},
4
- "defaultCommandTimeout": 1000,
5
- "fixturesFolder": false,
6
- "video": false,
7
- "videoUploadOnPasses": false,
8
- "chromeWebSecurity": false,
9
- "component": {
10
- "componentFolder": "src",
11
- "testFiles": "**/**/tests/*.spec.tsx"
12
- }
13
- }
@@ -1,2 +0,0 @@
1
- declare function Variants(): JSX.Element;
2
- export default Variants;