@splunk/react-ui 4.5.0 → 4.5.1

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 (72) hide show
  1. package/Accordion.js +2 -2
  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 +5 -5
  7. package/ButtonGroup.js +2 -2
  8. package/ButtonSimple.js +2 -2
  9. package/CHANGELOG.md +8 -0
  10. package/Calendar.js +2 -2
  11. package/Card.js +2 -2
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +2 -2
  14. package/Clickable.js +2 -2
  15. package/CloseButton.js +2 -2
  16. package/Code.js +2 -2
  17. package/CollapsiblePanel.js +2 -2
  18. package/Color.js +2 -2
  19. package/ColumnLayout.js +2 -2
  20. package/ComboBox.js +2 -2
  21. package/Concertina.js +2 -2
  22. package/ControlGroup.js +2 -2
  23. package/Date.js +2 -2
  24. package/DefinitionList.js +6 -6
  25. package/Dropdown.js +2 -2
  26. package/EventListener.js +2 -2
  27. package/FetchOptions.js +4 -4
  28. package/File.js +2 -2
  29. package/FormRows.js +2 -2
  30. package/Heading.js +2 -2
  31. package/Image.js +2 -2
  32. package/JSONTree.js +2 -2
  33. package/Layer.js +4 -4
  34. package/Link.js +2 -2
  35. package/List.js +2 -2
  36. package/Markdown.js +2 -2
  37. package/Menu.js +2 -2
  38. package/Message.js +2 -2
  39. package/Modal.js +2 -2
  40. package/ModalLayer.js +2 -2
  41. package/Monogram.js +2 -2
  42. package/Multiselect.js +2 -2
  43. package/Number.js +2 -2
  44. package/Paginator.js +2 -2
  45. package/Paragraph.js +2 -2
  46. package/Popover.js +2 -2
  47. package/Progress.js +2 -2
  48. package/RadioBar.js +19 -39
  49. package/RadioList.js +2 -2
  50. package/Resize.js +2 -2
  51. package/ResultsMenu.js +6 -6
  52. package/ScreenReaderContent.js +2 -2
  53. package/Scroll.js +2 -2
  54. package/ScrollContainerContext.js +2 -2
  55. package/Search.js +4 -4
  56. package/Select.js +2 -2
  57. package/SidePanel.js +2 -2
  58. package/Slider.js +4 -4
  59. package/SlidingPanels.js +2 -2
  60. package/StaticContent.js +2 -2
  61. package/StepBar.js +2 -2
  62. package/Switch.js +2 -2
  63. package/TabBar.js +2 -2
  64. package/TabLayout.js +2 -2
  65. package/Table.js +13 -14
  66. package/Text.js +6 -6
  67. package/Tooltip.js +2 -2
  68. package/TransitionOpen.js +2 -2
  69. package/WaitSpinner.js +2 -2
  70. package/package.json +1 -1
  71. package/types/src/RadioBar/Option.d.ts +4 -0
  72. package/usePrevious.js +2 -2
package/SlidingPanels.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 = 140);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 139);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
128
128
 
129
129
  /***/ }),
130
130
 
131
- /***/ 140:
131
+ /***/ 139:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
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 = 167);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 166);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 167:
104
+ /***/ 166:
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 = 117);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 116);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 117:
111
+ /***/ 116:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
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 = 141);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 140);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/Clickable");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 141:
118
+ /***/ 140:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
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 = 126);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 125);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -142,7 +142,7 @@ module.exports = require("@splunk/react-ui/Clickable");
142
142
 
143
143
  /***/ }),
144
144
 
145
- /***/ 126:
145
+ /***/ 125:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "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 = 142);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 141);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 142:
111
+ /***/ 141:
112
112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
113
 
114
114
  "use strict";
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 = 108);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 107);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ([
@@ -638,42 +638,41 @@ module.exports = require("@splunk/react-ui/Switch");
638
638
  /* 95 */,
639
639
  /* 96 */,
640
640
  /* 97 */,
641
- /* 98 */,
642
- /* 99 */
641
+ /* 98 */
643
642
  /***/ (function(module, exports) {
644
643
 
645
644
  module.exports = require("react-resize-detector");
646
645
 
647
646
  /***/ }),
648
- /* 100 */
647
+ /* 99 */
649
648
  /***/ (function(module, exports) {
650
649
 
651
650
  module.exports = require("@splunk/react-icons/SortedDown");
652
651
 
653
652
  /***/ }),
654
- /* 101 */
653
+ /* 100 */
655
654
  /***/ (function(module, exports) {
656
655
 
657
656
  module.exports = require("@splunk/react-icons/SortedUp");
658
657
 
659
658
  /***/ }),
660
- /* 102 */
659
+ /* 101 */
661
660
  /***/ (function(module, exports) {
662
661
 
663
662
  module.exports = require("@splunk/react-icons/Sort");
664
663
 
665
664
  /***/ }),
666
- /* 103 */
665
+ /* 102 */
667
666
  /***/ (function(module, exports) {
668
667
 
669
668
  module.exports = require("@splunk/react-icons/Info");
670
669
 
671
670
  /***/ }),
671
+ /* 103 */,
672
672
  /* 104 */,
673
673
  /* 105 */,
674
674
  /* 106 */,
675
- /* 107 */,
676
- /* 108 */
675
+ /* 107 */
677
676
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
678
677
 
679
678
  "use strict";
@@ -702,7 +701,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
702
701
  var external_lodash_ = __webpack_require__(4);
703
702
 
704
703
  // EXTERNAL MODULE: external "react-resize-detector"
705
- var external_react_resize_detector_ = __webpack_require__(99);
704
+ var external_react_resize_detector_ = __webpack_require__(98);
706
705
  var external_react_resize_detector_default = /*#__PURE__*/__webpack_require__.n(external_react_resize_detector_);
707
706
 
708
707
  // EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
@@ -1406,7 +1405,7 @@ Cell_defineProperty(Cell_Cell, "defaultProps", Cell_defaultProps);
1406
1405
  var i18n_ = __webpack_require__(5);
1407
1406
 
1408
1407
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedDown"
1409
- var SortedDown_ = __webpack_require__(100);
1408
+ var SortedDown_ = __webpack_require__(99);
1410
1409
  var SortedDown_default = /*#__PURE__*/__webpack_require__.n(SortedDown_);
1411
1410
 
1412
1411
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
@@ -1453,7 +1452,7 @@ function SortedDown(props) {
1453
1452
  }, props));
1454
1453
  }
1455
1454
  // EXTERNAL MODULE: external "@splunk/react-icons/SortedUp"
1456
- var SortedUp_ = __webpack_require__(101);
1455
+ var SortedUp_ = __webpack_require__(100);
1457
1456
  var SortedUp_default = /*#__PURE__*/__webpack_require__.n(SortedUp_);
1458
1457
 
1459
1458
  // CONCATENATED MODULE: ./src/icons/SortedUp.tsx
@@ -1494,7 +1493,7 @@ function SortedUp(props) {
1494
1493
  }, props));
1495
1494
  }
1496
1495
  // EXTERNAL MODULE: external "@splunk/react-icons/Sort"
1497
- var Sort_ = __webpack_require__(102);
1496
+ var Sort_ = __webpack_require__(101);
1498
1497
  var Sort_default = /*#__PURE__*/__webpack_require__.n(Sort_);
1499
1498
 
1500
1499
  // CONCATENATED MODULE: ./src/icons/Sort.tsx
@@ -2446,7 +2445,7 @@ HeadCell_defineProperty(HeadCell_HeadCell, "defaultProps", HeadCell_defaultProps
2446
2445
 
2447
2446
  /* harmony default export */ var Table_HeadCell = (HeadCell_HeadCell);
2448
2447
  // EXTERNAL MODULE: external "@splunk/react-icons/Info"
2449
- var Info_ = __webpack_require__(103);
2448
+ var Info_ = __webpack_require__(102);
2450
2449
  var Info_default = /*#__PURE__*/__webpack_require__.n(Info_);
2451
2450
 
2452
2451
  // EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
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 = 122);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 121);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 104:
104
+ /***/ 103:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/ControlGroup");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 105:
111
+ /***/ 104:
112
112
  /***/ (function(module, exports) {
113
113
 
114
114
  module.exports = require("@splunk/react-icons/Search");
@@ -142,7 +142,7 @@ function updateReactRef(ref, current) {
142
142
 
143
143
  /***/ }),
144
144
 
145
- /***/ 122:
145
+ /***/ 121:
146
146
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
147
147
 
148
148
  "use strict";
@@ -178,13 +178,13 @@ var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReade
178
178
  var themes_ = __webpack_require__(0);
179
179
 
180
180
  // EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
181
- var ControlGroup_ = __webpack_require__(104);
181
+ var ControlGroup_ = __webpack_require__(103);
182
182
 
183
183
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
184
184
  var i18n_ = __webpack_require__(5);
185
185
 
186
186
  // EXTERNAL MODULE: external "@splunk/react-icons/Search"
187
- var Search_ = __webpack_require__(105);
187
+ var Search_ = __webpack_require__(104);
188
188
  var Search_default = /*#__PURE__*/__webpack_require__.n(Search_);
189
189
 
190
190
  // EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
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 = 143);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 142);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/Clickable");
115
115
 
116
116
  /***/ }),
117
117
 
118
- /***/ 143:
118
+ /***/ 142:
119
119
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
120
120
 
121
121
  "use strict";
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 = 168);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 167);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 168:
104
+ /***/ 167:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
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 = 169);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 168);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 169:
104
+ /***/ 168:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splunk/react-ui",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "Library of React components that implement the Splunk design language",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Splunk Inc.",
@@ -6,6 +6,8 @@ declare type OptionClickHandler = (event: React.MouseEvent<HTMLAnchorElement | H
6
6
  value: any;
7
7
  }) => void;
8
8
  interface OptionPropsBase {
9
+ /** @private Set by `RadioBar`. */
10
+ append?: boolean;
9
11
  /** Add a disabled attribute and prevent clicking. */
10
12
  disabled?: boolean;
11
13
  /** Applies an icon to the button. See @splunk/react-icons documentation for
@@ -14,6 +16,8 @@ interface OptionPropsBase {
14
16
  /** The text shown on the button. */
15
17
  label?: string;
16
18
  /** @private Set by `RadioBar`. */
19
+ prepend?: boolean;
20
+ /** @private Set by `RadioBar`. */
17
21
  selected?: boolean;
18
22
  /** The value of the `Option`. */
19
23
  value: any;
package/usePrevious.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 = 176);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 175);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 176:
90
+ /***/ 175:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";