@splunk/react-ui 4.16.2 → 4.17.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 (176) hide show
  1. package/Accordion.js +13 -13
  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 +98 -244
  7. package/ButtonGroup.js +4 -4
  8. package/ButtonSimple.js +6 -6
  9. package/CHANGELOG.md +50 -2
  10. package/Calendar.js +73 -274
  11. package/Card.js +75 -227
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +40 -211
  14. package/Clickable.js +10 -10
  15. package/CloseButton.js +34 -202
  16. package/Code.js +27 -20
  17. package/CollapsiblePanel.js +74 -228
  18. package/Color.js +62 -319
  19. package/ColumnLayout.js +6 -6
  20. package/ComboBox.js +32 -32
  21. package/Concertina.js +38 -38
  22. package/ControlGroup.js +20 -20
  23. package/Date.js +22 -22
  24. package/DefinitionList.js +2 -2
  25. package/Divider.js +2 -2
  26. package/Dropdown.js +29 -29
  27. package/DualListbox.d.ts +2 -0
  28. package/DualListbox.js +1780 -0
  29. package/EventListener.js +4 -4
  30. package/File.js +85 -250
  31. package/FormRows.js +60 -215
  32. package/Heading.js +39 -27
  33. package/Image.js +73 -227
  34. package/JSONTree.js +18 -18
  35. package/Layer.js +30 -30
  36. package/Link.js +60 -28
  37. package/List.js +9 -9
  38. package/MIGRATION.md +28 -0
  39. package/Markdown.js +21 -21
  40. package/Menu.js +180 -371
  41. package/Message.js +137 -407
  42. package/MessageBar.js +168 -398
  43. package/Modal.js +31 -31
  44. package/ModalLayer.js +6 -6
  45. package/Monogram.js +4 -4
  46. package/Multiselect.js +2297 -2525
  47. package/Number.js +32 -32
  48. package/Paginator.js +92 -321
  49. package/Paragraph.js +2 -2
  50. package/Popover.js +287 -136
  51. package/Progress.js +15 -15
  52. package/RadioBar.js +23 -19
  53. package/RadioList.js +13 -12
  54. package/Resize.js +18 -18
  55. package/ResultsMenu.js +21 -21
  56. package/ScreenReaderContent.js +2 -2
  57. package/Scroll.js +33 -33
  58. package/ScrollContainerContext.js +13 -13
  59. package/Search.js +34 -32
  60. package/Select.js +220 -367
  61. package/SidePanel.js +12 -12
  62. package/Slider.js +28 -28
  63. package/SlidingPanels.js +29 -29
  64. package/SplitButton.js +59 -62
  65. package/StaticContent.js +4 -4
  66. package/StepBar.js +35 -238
  67. package/Switch.js +23 -23
  68. package/TabBar.js +30 -44
  69. package/TabLayout.js +30 -28
  70. package/Table.js +292 -586
  71. package/Text.js +109 -322
  72. package/TextArea.js +160 -366
  73. package/Tooltip.js +28 -132
  74. package/TransitionOpen.js +21 -21
  75. package/Typography.js +32 -28
  76. package/WaitSpinner.js +2 -2
  77. package/docker-compose.yml +19 -7
  78. package/package.json +10 -11
  79. package/stubs-splunkui.d.ts +4 -1
  80. package/types/src/Button/icons/CaretSmallDown.d.ts +2 -0
  81. package/types/src/Button/icons/External.d.ts +2 -0
  82. package/types/src/Code/Code.d.ts +6 -1
  83. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +0 -1
  84. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +11 -0
  85. package/types/src/Date/Icon.d.ts +1 -1
  86. package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -0
  87. package/types/src/DualListbox/DualListbox.d.ts +87 -0
  88. package/types/src/DualListbox/DualListboxContext.d.ts +27 -0
  89. package/types/src/DualListbox/Label.d.ts +37 -0
  90. package/types/src/DualListbox/Listbox.d.ts +54 -0
  91. package/types/src/DualListbox/ListboxContext.d.ts +32 -0
  92. package/types/src/DualListbox/Option.d.ts +35 -0
  93. package/types/src/DualListbox/ScreenReaderWrapper.d.ts +4 -0
  94. package/types/src/DualListbox/ToolbarButton.d.ts +38 -0
  95. package/types/src/DualListbox/ToolbarContext.d.ts +21 -0
  96. package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -0
  97. package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -0
  98. package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -0
  99. package/types/src/DualListbox/index.d.ts +2 -0
  100. package/types/src/DualListbox/listboxUtils.d.ts +4 -0
  101. package/types/src/File/Icon.d.ts +1 -1
  102. package/types/src/File/IconCloud.d.ts +1 -1
  103. package/types/src/File/PaperClip.d.ts +1 -1
  104. package/types/src/File/Retry.d.ts +1 -1
  105. package/types/src/File/Trash.d.ts +1 -1
  106. package/types/src/File/docs/examples/Progress.d.ts +1 -15
  107. package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -0
  108. package/types/src/Heading/Heading.d.ts +12 -4
  109. package/types/src/Heading/docs/examples/Variant.d.ts +2 -0
  110. package/types/src/Image/Image.d.ts +1 -1
  111. package/types/src/Image/icons/Cross.d.ts +2 -0
  112. package/types/src/Link/icons/External.d.ts +2 -0
  113. package/types/src/Menu/Divider.d.ts +1 -0
  114. package/types/src/Menu/Heading.d.ts +1 -0
  115. package/types/src/Menu/Item.d.ts +5 -2
  116. package/types/src/Menu/Menu.d.ts +3 -1
  117. package/types/src/Menu/icons/External.d.ts +2 -0
  118. package/types/src/Number/IncrementIcon.d.ts +1 -1
  119. package/types/src/Popover/Popover.d.ts +7 -9
  120. package/types/src/Popover/PopoverHitArea.d.ts +9 -0
  121. package/types/src/RadioBar/RadioBar.d.ts +1 -1
  122. package/types/src/Search/Option.d.ts +9 -0
  123. package/types/src/Select/OptionBase.d.ts +9 -0
  124. package/types/src/Select/icons/CaretSmallDown.d.ts +2 -0
  125. package/types/src/Select/icons/Search.d.ts +2 -0
  126. package/types/src/SplitButton/SplitButton.d.ts +8 -3
  127. package/types/src/SplitButton/docs/examples/Block.d.ts +1 -0
  128. package/types/src/TabLayout/TabLayout.d.ts +0 -1
  129. package/types/src/Table/HeadInner.d.ts +2 -2
  130. package/types/src/Table/icons/ExpansionRow.d.ts +6 -0
  131. package/types/src/Table/icons/HeadExpandRows.d.ts +1 -0
  132. package/types/src/Text/IconOutlinedHide.d.ts +1 -1
  133. package/types/src/Text/IconOutlinedView.d.ts +1 -1
  134. package/types/src/Tooltip/InfoIcon.d.ts +1 -1
  135. package/types/src/Tooltip/Tooltip.d.ts +0 -4
  136. package/types/src/Typography/Typography.d.ts +4 -7
  137. package/types/src/useRovingFocus/index.d.ts +2 -0
  138. package/types/src/useRovingFocus/useRovingFocus.d.ts +27 -0
  139. package/useForceUpdate.js +2 -2
  140. package/useKeyPress.js +2 -2
  141. package/usePrevious.js +2 -2
  142. package/useRovingFocus.d.ts +2 -0
  143. package/useRovingFocus.js +237 -0
  144. package/Dockerfile.enterprise.storybook +0 -7
  145. package/Dockerfile.prisma.storybook +0 -7
  146. package/Dockerfile.visual +0 -10
  147. package/types/src/File/docs/examples/CustomChildren.d.ts +0 -12
  148. package/types/src/File/docs/examples/prisma/Progress.d.ts +0 -1
  149. package/types/src/Select/matchUtils.d.ts +0 -12
  150. package/types/src/SplitButton/docs/examples/prisma/Basic.d.ts +0 -1
  151. package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +0 -1
  152. package/types/src/Table/HeadExpandRowsIcon.d.ts +0 -1
  153. package/types/src/icons/Alert.d.ts +0 -2
  154. package/types/src/icons/AlertFilled.d.ts +0 -2
  155. package/types/src/icons/CaretDown.d.ts +0 -2
  156. package/types/src/icons/CaretRight.d.ts +0 -2
  157. package/types/src/icons/Check.d.ts +0 -2
  158. package/types/src/icons/ChevronDown.d.ts +0 -2
  159. package/types/src/icons/ChevronLeft.d.ts +0 -2
  160. package/types/src/icons/ChevronRight.d.ts +0 -2
  161. package/types/src/icons/CrossMark.d.ts +0 -2
  162. package/types/src/icons/External.d.ts +0 -2
  163. package/types/src/icons/InfoFilled.d.ts +0 -2
  164. package/types/src/icons/More.d.ts +0 -2
  165. package/types/src/icons/MoreVertical.d.ts +0 -2
  166. package/types/src/icons/Plus.d.ts +0 -2
  167. package/types/src/icons/SVG.d.ts +0 -4
  168. package/types/src/icons/Search.d.ts +0 -2
  169. package/types/src/icons/Sort.d.ts +0 -2
  170. package/types/src/icons/SortedDown.d.ts +0 -2
  171. package/types/src/icons/SortedUp.d.ts +0 -2
  172. package/types/src/icons/Success.d.ts +0 -2
  173. package/types/src/icons/SuccessFilled.d.ts +0 -2
  174. package/types/src/icons/ThemedIcon.d.ts +0 -29
  175. package/types/src/icons/WarningFilled.d.ts +0 -2
  176. package/types/src/icons/types.d.ts +0 -11
package/Dropdown.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 = 232);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 237);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -97,18 +97,11 @@ module.exports = require("prop-types");
97
97
  /***/ 10:
98
98
  /***/ (function(module, exports) {
99
99
 
100
- module.exports = require("lodash/keys");
101
-
102
- /***/ }),
103
-
104
- /***/ 11:
105
- /***/ (function(module, exports) {
106
-
107
100
  module.exports = require("lodash/has");
108
101
 
109
102
  /***/ }),
110
103
 
111
- /***/ 12:
104
+ /***/ 11:
112
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
106
 
114
107
  "use strict";
@@ -135,14 +128,7 @@ function updateReactRef(ref, current) {
135
128
 
136
129
  /***/ }),
137
130
 
138
- /***/ 13:
139
- /***/ (function(module, exports) {
140
-
141
- module.exports = require("@splunk/ui-utils/id");
142
-
143
- /***/ }),
144
-
145
- /***/ 18:
131
+ /***/ 16:
146
132
  /***/ (function(module, exports) {
147
133
 
148
134
  module.exports = require("lodash/includes");
@@ -156,14 +142,14 @@ module.exports = require("react");
156
142
 
157
143
  /***/ }),
158
144
 
159
- /***/ 23:
145
+ /***/ 21:
160
146
  /***/ (function(module, exports) {
161
147
 
162
148
  module.exports = require("@splunk/react-ui/Popover");
163
149
 
164
150
  /***/ }),
165
151
 
166
- /***/ 232:
152
+ /***/ 237:
167
153
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
168
154
 
169
155
  "use strict";
@@ -183,22 +169,22 @@ var external_prop_types_ = __webpack_require__(1);
183
169
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
184
170
 
185
171
  // EXTERNAL MODULE: external "lodash/has"
186
- var has_ = __webpack_require__(11);
172
+ var has_ = __webpack_require__(10);
187
173
  var has_default = /*#__PURE__*/__webpack_require__.n(has_);
188
174
 
189
175
  // EXTERNAL MODULE: external "lodash/includes"
190
- var includes_ = __webpack_require__(18);
176
+ var includes_ = __webpack_require__(16);
191
177
  var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
192
178
 
193
179
  // EXTERNAL MODULE: external "lodash/isEmpty"
194
- var isEmpty_ = __webpack_require__(91);
180
+ var isEmpty_ = __webpack_require__(88);
195
181
 
196
182
  // EXTERNAL MODULE: external "lodash/isFunction"
197
183
  var isFunction_ = __webpack_require__(68);
198
184
  var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction_);
199
185
 
200
186
  // EXTERNAL MODULE: external "lodash/keys"
201
- var keys_ = __webpack_require__(10);
187
+ var keys_ = __webpack_require__(9);
202
188
  var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
203
189
 
204
190
  // EXTERNAL MODULE: external "lodash/omit"
@@ -206,17 +192,17 @@ var omit_ = __webpack_require__(5);
206
192
  var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
207
193
 
208
194
  // EXTERNAL MODULE: external "@splunk/ui-utils/id"
209
- var id_ = __webpack_require__(13);
195
+ var id_ = __webpack_require__(8);
210
196
 
211
197
  // EXTERNAL MODULE: external "@splunk/ui-utils/keyboard"
212
- var keyboard_ = __webpack_require__(9);
198
+ var keyboard_ = __webpack_require__(7);
213
199
 
214
200
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
215
- var Popover_ = __webpack_require__(23);
201
+ var Popover_ = __webpack_require__(21);
216
202
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
217
203
 
218
204
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
219
- var updateReactRef = __webpack_require__(12);
205
+ var updateReactRef = __webpack_require__(11);
220
206
 
221
207
  // CONCATENATED MODULE: ./src/Dropdown/Dropdown.tsx
222
208
  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); }
@@ -558,18 +544,32 @@ module.exports = require("lodash/isFunction");
558
544
 
559
545
  /***/ }),
560
546
 
561
- /***/ 9:
547
+ /***/ 7:
562
548
  /***/ (function(module, exports) {
563
549
 
564
550
  module.exports = require("@splunk/ui-utils/keyboard");
565
551
 
566
552
  /***/ }),
567
553
 
568
- /***/ 91:
554
+ /***/ 8:
555
+ /***/ (function(module, exports) {
556
+
557
+ module.exports = require("@splunk/ui-utils/id");
558
+
559
+ /***/ }),
560
+
561
+ /***/ 88:
569
562
  /***/ (function(module, exports) {
570
563
 
571
564
  module.exports = require("lodash/isEmpty");
572
565
 
566
+ /***/ }),
567
+
568
+ /***/ 9:
569
+ /***/ (function(module, exports) {
570
+
571
+ module.exports = require("lodash/keys");
572
+
573
573
  /***/ })
574
574
 
575
575
  /******/ });
@@ -0,0 +1,2 @@
1
+ export { default } from './types/src/DualListbox';
2
+ export * from './types/src/DualListbox';