@splunk/react-ui 4.12.1 → 4.13.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 (97) 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 +9 -9
  7. package/ButtonGroup.js +2 -2
  8. package/ButtonSimple.js +7 -7
  9. package/CHANGELOG.md +18 -0
  10. package/Calendar.js +31 -31
  11. package/Card.js +13 -13
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +11 -11
  14. package/Clickable.js +7 -7
  15. package/CloseButton.js +11 -11
  16. package/Code.js +4 -4
  17. package/CollapsiblePanel.js +4 -4
  18. package/Color.js +21 -21
  19. package/ColumnLayout.js +4 -4
  20. package/ComboBox.js +2 -2
  21. package/Concertina.js +2 -2
  22. package/ControlGroup.js +4 -4
  23. package/Date.js +4 -4
  24. package/DefinitionList.js +2 -2
  25. package/Dropdown.js +6 -2
  26. package/EventListener.js +4 -4
  27. package/File.js +15 -15
  28. package/FormRows.js +4 -4
  29. package/Heading.js +2 -2
  30. package/Image.js +15 -15
  31. package/JSONTree.js +2 -2
  32. package/Layer.js +4 -4
  33. package/Link.js +9 -9
  34. package/List.js +2 -2
  35. package/Markdown.js +16 -16
  36. package/Menu.js +29 -30
  37. package/Message.js +17 -17
  38. package/MessageBar.js +15 -15
  39. package/Modal.js +4 -4
  40. package/ModalLayer.js +6 -6
  41. package/Monogram.js +2 -2
  42. package/Multiselect.js +87 -78
  43. package/Number.js +2 -2
  44. package/Paginator.js +39 -39
  45. package/Paragraph.js +2 -2
  46. package/Popover.js +16 -7
  47. package/Progress.js +4 -4
  48. package/RadioBar.js +2 -2
  49. package/RadioList.js +2 -2
  50. package/Resize.js +2 -2
  51. package/ResultsMenu.js +12 -12
  52. package/ScreenReaderContent.js +2 -2
  53. package/Scroll.js +4 -4
  54. package/ScrollContainerContext.js +2 -2
  55. package/Search.js +11 -11
  56. package/Select.js +85 -76
  57. package/SidePanel.js +4 -4
  58. package/Slider.js +4 -4
  59. package/SlidingPanels.js +4 -4
  60. package/SplitButton.js +511 -0
  61. package/StaticContent.js +2 -2
  62. package/StepBar.js +6 -6
  63. package/Switch.js +2 -2
  64. package/TabBar.js +2 -2
  65. package/TabLayout.js +4 -4
  66. package/Table.js +57 -40
  67. package/Text.js +29 -21
  68. package/TextArea.js +21 -13
  69. package/Tooltip.js +2 -2
  70. package/TransitionOpen.js +4 -4
  71. package/Typography.js +4 -4
  72. package/WaitSpinner.js +68 -2
  73. package/package.json +3 -3
  74. package/types/src/Button/Button.d.ts +1 -1
  75. package/types/src/Dropdown/Dropdown.d.ts +11 -3
  76. package/types/src/Popover/Popover.d.ts +5 -1
  77. package/types/src/Popover/getPlacement.d.ts +1 -1
  78. package/types/src/SplitButton/Item.d.ts +45 -0
  79. package/types/src/SplitButton/SplitButton.d.ts +41 -0
  80. package/types/src/SplitButton/docs/examples/Basic.d.ts +1 -0
  81. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +1 -0
  82. package/types/src/SplitButton/docs/examples/Disabled.d.ts +1 -0
  83. package/types/src/SplitButton/docs/examples/prisma/Basic.d.ts +1 -0
  84. package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +1 -0
  85. package/types/src/SplitButton/index.d.ts +2 -0
  86. package/types/src/Table/HeadCell.d.ts +4 -1
  87. package/types/src/Table/HeadDropdownCell.d.ts +10 -3
  88. package/types/src/Text/Text.d.ts +5 -1
  89. package/types/src/TextArea/TextArea.d.ts +5 -1
  90. package/types/src/WaitSpinner/WaitSpinner.d.ts +1 -1
  91. package/types/src/useForceUpdate/index.d.ts +2 -0
  92. package/types/src/useForceUpdate/useForceUpdate.d.ts +9 -0
  93. package/types/src/useIsSsr/index.d.ts +2 -0
  94. package/types/src/useIsSsr/useIsSsr.d.ts +8 -0
  95. package/useForceUpdate.js +151 -0
  96. package/useIsSsr.js +153 -0
  97. package/usePrevious.js +2 -2
package/Select.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 = 172);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Button");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 169:
125
+ /***/ 172:
126
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
127
127
 
128
128
  "use strict";
@@ -467,17 +467,17 @@ Select_defineProperty(Select_Select, "Divider", SelectBase["a" /* Divider */]);
467
467
 
468
468
  /***/ }),
469
469
 
470
- /***/ 2:
470
+ /***/ 18:
471
471
  /***/ (function(module, exports) {
472
472
 
473
- module.exports = require("react");
473
+ module.exports = require("@splunk/react-ui/Dropdown");
474
474
 
475
475
  /***/ }),
476
476
 
477
- /***/ 20:
477
+ /***/ 2:
478
478
  /***/ (function(module, exports) {
479
479
 
480
- module.exports = require("@splunk/react-ui/Dropdown");
480
+ module.exports = require("react");
481
481
 
482
482
  /***/ }),
483
483
 
@@ -837,7 +837,7 @@ var i18n_ = __webpack_require__(5);
837
837
  var keyboard_ = __webpack_require__(9);
838
838
 
839
839
  // EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
840
- var Dropdown_ = __webpack_require__(20);
840
+ var Dropdown_ = __webpack_require__(18);
841
841
  var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
842
842
 
843
843
  // EXTERNAL MODULE: external "@splunk/react-ui/Link"
@@ -1199,15 +1199,15 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1199
1199
  return;
1200
1200
  }
1201
1201
 
1202
- var values = Object(external_lodash_["uniq"])(((_this$getCurrentValue = _this.getCurrentValues()) !== null && _this$getCurrentValue !== void 0 ? _this$getCurrentValue : []).concat(_this.displayedValues));
1202
+ var currentValues = (_this$getCurrentValue = _this.getCurrentValues()) !== null && _this$getCurrentValue !== void 0 ? _this$getCurrentValue : [];
1203
+ var values = Object(external_lodash_["uniq"])(currentValues.concat(_this.displayedValues));
1204
+ values = external_react_default.a.Children.toArray(children).filter(function (child) {
1205
+ return isOption(child) && Object(external_lodash_["includes"])(values, child.props.value) && (!child.props.disabled || Object(external_lodash_["includes"])(currentValues, child.props.value));
1206
+ }).map(function (child) {
1207
+ return child.props.value;
1208
+ });
1203
1209
 
1204
1210
  if (!_this.isControlled()) {
1205
- values = external_react_default.a.Children.toArray(children).filter(function (child) {
1206
- return isOption(child) && Object(external_lodash_["includes"])(values, child.props.value) && !child.props.disabled;
1207
- }).map(function (child) {
1208
- return child.props.value;
1209
- });
1210
-
1211
1211
  _this.setState({
1212
1212
  values: values
1213
1213
  });
@@ -1220,16 +1220,25 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1220
1220
  });
1221
1221
 
1222
1222
  _defineProperty(_assertThisInitialized(_this), "handleClearAll", function (e) {
1223
- var _this$props$onChange2, _this$props3;
1223
+ var _this$getCurrentValue2, _this$props$onChange2, _this$props4;
1224
1224
 
1225
- // this doesn't make sense if we can't select multiple values
1226
- if (!_this.props.multiple) {
1225
+ var _this$props3 = _this.props,
1226
+ name = _this$props3.name,
1227
+ children = _this$props3.children,
1228
+ multiple = _this$props3.multiple; // this doesn't make sense if we can't select multiple values
1229
+
1230
+ if (!multiple) {
1227
1231
  return;
1228
- } // Clear the filtered items, items when filtering. Else clear all the items.
1232
+ }
1229
1233
 
1234
+ var currentValues = (_this$getCurrentValue2 = _this.getCurrentValues()) !== null && _this$getCurrentValue2 !== void 0 ? _this$getCurrentValue2 : [];
1235
+ var hiddenCurrentValues = external_lodash_["without"].apply(void 0, [currentValues].concat(_toConsumableArray(_this.displayedValues))); // this will unselect all selected values unless those values are disabled or hidden by the filter
1230
1236
 
1231
- var values = _this.state.filterKeyword ? external_lodash_["without"].apply(void 0, [_this.getCurrentValues()].concat(_toConsumableArray(_this.displayedValues))) : [];
1232
- var name = _this.props.name;
1237
+ var values = external_react_default.a.Children.toArray(children).filter(function (child) {
1238
+ return isOption(child) && (Object(external_lodash_["includes"])(currentValues, child.props.value) && child.props.disabled || Object(external_lodash_["includes"])(hiddenCurrentValues, child.props.value));
1239
+ }).map(function (child) {
1240
+ return child.props.value;
1241
+ });
1233
1242
 
1234
1243
  if (!_this.isControlled()) {
1235
1244
  _this.setState({
@@ -1237,17 +1246,17 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1237
1246
  });
1238
1247
  }
1239
1248
 
1240
- (_this$props$onChange2 = (_this$props3 = _this.props).onChange) === null || _this$props$onChange2 === void 0 ? void 0 : _this$props$onChange2.call(_this$props3, e, {
1249
+ (_this$props$onChange2 = (_this$props4 = _this.props).onChange) === null || _this$props$onChange2 === void 0 ? void 0 : _this$props$onChange2.call(_this$props4, e, {
1241
1250
  values: values,
1242
1251
  name: name
1243
1252
  });
1244
1253
  });
1245
1254
 
1246
1255
  _defineProperty(_assertThisInitialized(_this), "handleTextKeyDown", function (e) {
1247
- var _this$props4 = _this.props,
1248
- children = _this$props4.children,
1249
- onScrollBottom = _this$props4.onScrollBottom,
1250
- tabConfirmsNewValue = _this$props4.tabConfirmsNewValue;
1256
+ var _this$props5 = _this.props,
1257
+ children = _this$props5.children,
1258
+ onScrollBottom = _this$props5.onScrollBottom,
1259
+ tabConfirmsNewValue = _this$props5.tabConfirmsNewValue;
1251
1260
  var eventKeyCode = Object(keyboard_["keycode"])(e.nativeEvent);
1252
1261
 
1253
1262
  if (eventKeyCode === 'tab') {
@@ -1272,9 +1281,9 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1272
1281
  });
1273
1282
 
1274
1283
  if (children && onScrollBottom) {
1275
- var _this$getCurrentValue2;
1284
+ var _this$getCurrentValue3;
1276
1285
 
1277
- var beforeLastChild = external_react_["Children"].toArray(children).length - (2 + ((_this$getCurrentValue2 = _this.getCurrentValues()) !== null && _this$getCurrentValue2 !== void 0 ? _this$getCurrentValue2 : []).length);
1286
+ var beforeLastChild = external_react_["Children"].toArray(children).length - (2 + ((_this$getCurrentValue3 = _this.getCurrentValues()) !== null && _this$getCurrentValue3 !== void 0 ? _this$getCurrentValue3 : []).length);
1278
1287
 
1279
1288
  if (_this.state.activeIndex === beforeLastChild) {
1280
1289
  _this.handleScrollBottom(e);
@@ -1367,7 +1376,7 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1367
1376
  });
1368
1377
 
1369
1378
  _defineProperty(_assertThisInitialized(_this), "handleTextChange", function (e, _ref2) {
1370
- var _this$props$onFilterC, _this$props5;
1379
+ var _this$props$onFilterC, _this$props6;
1371
1380
 
1372
1381
  var value = _ref2.value;
1373
1382
 
@@ -1377,7 +1386,7 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1377
1386
  activeIndex: 0
1378
1387
  });
1379
1388
 
1380
- (_this$props$onFilterC = (_this$props5 = _this.props).onFilterChange) === null || _this$props$onFilterC === void 0 ? void 0 : _this$props$onFilterC.call(_this$props5, e, {
1389
+ (_this$props$onFilterC = (_this$props6 = _this.props).onFilterChange) === null || _this$props$onFilterC === void 0 ? void 0 : _this$props$onFilterC.call(_this$props6, e, {
1381
1390
  keyword: value
1382
1391
  });
1383
1392
  });
@@ -1407,9 +1416,9 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1407
1416
  var oldFilterKeyword = _this.state.filterKeyword;
1408
1417
 
1409
1418
  _this.setState(newState, function () {
1410
- var _this$props$onOpen, _this$props6;
1419
+ var _this$props$onOpen, _this$props7;
1411
1420
 
1412
- (_this$props$onOpen = (_this$props6 = _this.props).onOpen) === null || _this$props$onOpen === void 0 ? void 0 : _this$props$onOpen.call(_this$props6);
1421
+ (_this$props$onOpen = (_this$props7 = _this.props).onOpen) === null || _this$props$onOpen === void 0 ? void 0 : _this$props$onOpen.call(_this$props7);
1413
1422
 
1414
1423
  if (_this.firstSelectedEnabledOption && !_this.hasFilter()) {
1415
1424
  _this.firstSelectedEnabledOption.focus();
@@ -1422,9 +1431,9 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1422
1431
  }
1423
1432
 
1424
1433
  if (oldFilterKeyword !== _this.state.filterKeyword) {
1425
- var _this$props$onFilterC2, _this$props7;
1434
+ var _this$props$onFilterC2, _this$props8;
1426
1435
 
1427
- (_this$props$onFilterC2 = (_this$props7 = _this.props).onFilterChange) === null || _this$props$onFilterC2 === void 0 ? void 0 : _this$props$onFilterC2.call(_this$props7, e, {
1436
+ (_this$props$onFilterC2 = (_this$props8 = _this.props).onFilterChange) === null || _this$props$onFilterC2 === void 0 ? void 0 : _this$props$onFilterC2.call(_this$props8, e, {
1428
1437
  keyword: _this.state.filterKeyword
1429
1438
  });
1430
1439
  }
@@ -1436,18 +1445,18 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1436
1445
  open: false,
1437
1446
  activeIndex: 0
1438
1447
  }, function () {
1439
- var _this$props$onClose, _this$props8;
1448
+ var _this$props$onClose, _this$props9;
1440
1449
 
1441
1450
  _this.previousActiveIndex = null;
1442
- (_this$props$onClose = (_this$props8 = _this.props).onClose) === null || _this$props$onClose === void 0 ? void 0 : _this$props$onClose.call(_this$props8);
1451
+ (_this$props$onClose = (_this$props9 = _this.props).onClose) === null || _this$props$onClose === void 0 ? void 0 : _this$props$onClose.call(_this$props9);
1443
1452
  });
1444
1453
  });
1445
1454
 
1446
1455
  _defineProperty(_assertThisInitialized(_this), "handleScrollBottom", function (e) {
1447
1456
  if (_this.state.open && !_this.props.isLoadingOptions) {
1448
- var _this$props$onScrollB, _this$props9;
1457
+ var _this$props$onScrollB, _this$props10;
1449
1458
 
1450
- (_this$props$onScrollB = (_this$props9 = _this.props).onScrollBottom) === null || _this$props$onScrollB === void 0 ? void 0 : _this$props$onScrollB.call(_this$props9, e);
1459
+ (_this$props$onScrollB = (_this$props10 = _this.props).onScrollBottom) === null || _this$props$onScrollB === void 0 ? void 0 : _this$props$onScrollB.call(_this$props10, e);
1451
1460
  }
1452
1461
  });
1453
1462
 
@@ -1474,14 +1483,14 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1474
1483
  filterKeyword = _this$state.filterKeyword,
1475
1484
  textHasFocus = _this$state.textHasFocus,
1476
1485
  topValuesState = _this$state.topValues;
1477
- var _this$props10 = _this.props,
1478
- allowKeyMatching = _this$props10.allowKeyMatching,
1479
- allowNewValues = _this$props10.allowNewValues,
1480
- filter = _this$props10.filter,
1481
- multiple = _this$props10.multiple,
1482
- showSelectedValuesFirst = _this$props10.showSelectedValuesFirst,
1483
- isLoadingOptions = _this$props10.isLoadingOptions,
1484
- onScrollBottom = _this$props10.onScrollBottom;
1486
+ var _this$props11 = _this.props,
1487
+ allowKeyMatching = _this$props11.allowKeyMatching,
1488
+ allowNewValues = _this$props11.allowNewValues,
1489
+ filter = _this$props11.filter,
1490
+ multiple = _this$props11.multiple,
1491
+ showSelectedValuesFirst = _this$props11.showSelectedValuesFirst,
1492
+ isLoadingOptions = _this$props11.isLoadingOptions,
1493
+ onScrollBottom = _this$props11.onScrollBottom;
1485
1494
 
1486
1495
  var currentValues = _this.getCurrentValues();
1487
1496
 
@@ -1744,10 +1753,10 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1744
1753
  }, {
1745
1754
  key: "getTopValues",
1746
1755
  value: function getTopValues() {
1747
- var _this$getCurrentValue3;
1756
+ var _this$getCurrentValue4;
1748
1757
 
1749
1758
  // in non-multiple mode, don't move values to the top of the list
1750
- return this.props.multiple && this.props.showSelectedValuesFirst !== 'never' ? (_this$getCurrentValue3 = this.getCurrentValues()) !== null && _this$getCurrentValue3 !== void 0 ? _this$getCurrentValue3 : [] : [];
1759
+ return this.props.multiple && this.props.showSelectedValuesFirst !== 'never' ? (_this$getCurrentValue4 = this.getCurrentValues()) !== null && _this$getCurrentValue4 !== void 0 ? _this$getCurrentValue4 : [] : [];
1751
1760
  }
1752
1761
  }, {
1753
1762
  key: "isControlled",
@@ -1762,13 +1771,13 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1762
1771
  }, {
1763
1772
  key: "toggleValue",
1764
1773
  value: function toggleValue(e, value) {
1765
- var _this$getCurrentValue4, _this$props$onChange3, _this$props12;
1774
+ var _this$getCurrentValue5, _this$props$onChange3, _this$props13;
1766
1775
 
1767
- var values = (_this$getCurrentValue4 = this.getCurrentValues()) !== null && _this$getCurrentValue4 !== void 0 ? _this$getCurrentValue4 : [];
1776
+ var values = (_this$getCurrentValue5 = this.getCurrentValues()) !== null && _this$getCurrentValue5 !== void 0 ? _this$getCurrentValue5 : [];
1768
1777
  var currentIndex = values.indexOf(value);
1769
- var _this$props11 = this.props,
1770
- name = _this$props11.name,
1771
- multiple = _this$props11.multiple;
1778
+ var _this$props12 = this.props,
1779
+ name = _this$props12.name,
1780
+ multiple = _this$props12.multiple;
1772
1781
  var newValues;
1773
1782
 
1774
1783
  if (multiple) {
@@ -1806,7 +1815,7 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1806
1815
  this.focus();
1807
1816
  }
1808
1817
 
1809
- (_this$props$onChange3 = (_this$props12 = this.props).onChange) === null || _this$props$onChange3 === void 0 ? void 0 : _this$props$onChange3.call(_this$props12, e, {
1818
+ (_this$props$onChange3 = (_this$props13 = this.props).onChange) === null || _this$props$onChange3 === void 0 ? void 0 : _this$props$onChange3.call(_this$props13, e, {
1810
1819
  values: newValues,
1811
1820
  name: name
1812
1821
  });
@@ -1828,10 +1837,10 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1828
1837
  var hasChildren = _ref4.hasChildren,
1829
1838
  placement = _ref4.placement;
1830
1839
  var filterKeyword = this.state.filterKeyword;
1831
- var _this$props13 = this.props,
1832
- inputId = _this$props13.inputId,
1833
- inputRef = _this$props13.inputRef,
1834
- multiple = _this$props13.multiple; // only visually disable these as opposed to fully disabling to avoid losing keyboard focus - see SUI-2731
1840
+ var _this$props14 = this.props,
1841
+ inputId = _this$props14.inputId,
1842
+ inputRef = _this$props14.inputRef,
1843
+ multiple = _this$props14.multiple; // only visually disable these as opposed to fully disabling to avoid losing keyboard focus - see SUI-2731
1835
1844
 
1836
1845
  var selectControls = /*#__PURE__*/external_react_default.a.createElement(StyledToggleAllControls, {
1837
1846
  $placement: placement,
@@ -1883,33 +1892,33 @@ var SelectBase_SelectBase = /*#__PURE__*/function (_Component) {
1883
1892
  }, {
1884
1893
  key: "render",
1885
1894
  value: function render() {
1886
- var _this$getCurrentValue5,
1895
+ var _this$getCurrentValue6,
1887
1896
  _this2 = this;
1888
1897
 
1889
- var _this$props14 = this.props,
1890
- appearance = _this$props14.appearance,
1891
- children = _this$props14.children,
1892
- defaultPlacement = _this$props14.defaultPlacement,
1893
- describedBy = _this$props14.describedBy,
1894
- disabled = _this$props14.disabled,
1895
- elementRef = _this$props14.elementRef,
1896
- error = _this$props14.error,
1897
- inline = _this$props14.inline,
1898
- inputId = _this$props14.inputId,
1899
- labelledBy = _this$props14.labelledBy,
1900
- labelText = _this$props14.labelText,
1901
- multiple = _this$props14.multiple,
1902
- placeholder = _this$props14.placeholder,
1903
- prefixLabel = _this$props14.prefixLabel,
1904
- repositionMode = _this$props14.repositionMode,
1905
- suffixLabel = _this$props14.suffixLabel;
1898
+ var _this$props15 = this.props,
1899
+ appearance = _this$props15.appearance,
1900
+ children = _this$props15.children,
1901
+ defaultPlacement = _this$props15.defaultPlacement,
1902
+ describedBy = _this$props15.describedBy,
1903
+ disabled = _this$props15.disabled,
1904
+ elementRef = _this$props15.elementRef,
1905
+ error = _this$props15.error,
1906
+ inline = _this$props15.inline,
1907
+ inputId = _this$props15.inputId,
1908
+ labelledBy = _this$props15.labelledBy,
1909
+ labelText = _this$props15.labelText,
1910
+ multiple = _this$props15.multiple,
1911
+ placeholder = _this$props15.placeholder,
1912
+ prefixLabel = _this$props15.prefixLabel,
1913
+ repositionMode = _this$props15.repositionMode,
1914
+ suffixLabel = _this$props15.suffixLabel;
1906
1915
  var icon;
1907
1916
  var label;
1908
1917
  var filterEnabled = this.hasFilter();
1909
1918
  var isAnyValueSelected = false; // Generate buttonLabels
1910
1919
 
1911
1920
  var childrenArray = external_react_["Children"].toArray(children);
1912
- var currentValues = (_this$getCurrentValue5 = this.getCurrentValues()) !== null && _this$getCurrentValue5 !== void 0 ? _this$getCurrentValue5 : [];
1921
+ var currentValues = (_this$getCurrentValue6 = this.getCurrentValues()) !== null && _this$getCurrentValue6 !== void 0 ? _this$getCurrentValue6 : [];
1913
1922
  var valuesLabel = currentValues.reduce(function (acc, value, index, orig) {
1914
1923
  var matchedItem = Object(external_lodash_["find"])(childrenArray, function (item) {
1915
1924
  return isOption(item) && item.props.value === value;
package/SidePanel.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 = 170);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 173);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 170:
104
+ /***/ 173:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -131,7 +131,7 @@ var external_styled_components_ = __webpack_require__(3);
131
131
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
132
132
 
133
133
  // EXTERNAL MODULE: external "@splunk/react-ui/TransitionOpen"
134
- var TransitionOpen_ = __webpack_require__(52);
134
+ var TransitionOpen_ = __webpack_require__(53);
135
135
  var TransitionOpen_default = /*#__PURE__*/__webpack_require__.n(TransitionOpen_);
136
136
 
137
137
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -365,7 +365,7 @@ module.exports = require("lodash");
365
365
 
366
366
  /***/ }),
367
367
 
368
- /***/ 52:
368
+ /***/ 53:
369
369
  /***/ (function(module, exports) {
370
370
 
371
371
  module.exports = require("@splunk/react-ui/TransitionOpen");
package/Slider.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 = 171);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 174);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 102:
104
+ /***/ 104:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("decimal.js-light");
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Popover");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 171:
125
+ /***/ 174:
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 "decimal.js-light"
144
- var external_decimal_js_light_ = __webpack_require__(102);
144
+ var external_decimal_js_light_ = __webpack_require__(104);
145
145
  var external_decimal_js_light_default = /*#__PURE__*/__webpack_require__.n(external_decimal_js_light_);
146
146
 
147
147
  // EXTERNAL MODULE: external "lodash"
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 = 142);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 144);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
128
128
 
129
129
  /***/ }),
130
130
 
131
- /***/ 142:
131
+ /***/ 144:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
@@ -151,7 +151,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
151
151
  var external_lodash_ = __webpack_require__(4);
152
152
 
153
153
  // EXTERNAL MODULE: external "react-spring"
154
- var external_react_spring_ = __webpack_require__(18);
154
+ var external_react_spring_ = __webpack_require__(19);
155
155
 
156
156
  // EXTERNAL MODULE: external "@splunk/react-ui/Animation"
157
157
  var Animation_ = __webpack_require__(31);
@@ -588,7 +588,7 @@ SlidingPanels_defineProperty(SlidingPanels_SlidingPanels, "getDerivedStateFromPr
588
588
 
589
589
  /***/ }),
590
590
 
591
- /***/ 18:
591
+ /***/ 19:
592
592
  /***/ (function(module, exports) {
593
593
 
594
594
  module.exports = require("react-spring");