@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.
- package/Accordion.js +6 -6
- package/Anchor.js +2 -2
- package/Animation.js +2 -2
- package/AnimationToggle.js +5 -5
- package/Box.js +2 -2
- package/Button.js +4 -4
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +28 -2
- package/Calendar.js +8 -8
- package/Card.js +8 -8
- package/CardLayout.js +2 -2
- package/Chip.js +23 -16
- package/Clickable.js +11 -11
- package/CloseButton.js +2 -2
- package/Code.js +12 -12
- package/CollapsiblePanel.js +4 -4
- package/Color.js +209 -182
- package/ColumnLayout.js +6 -6
- package/ComboBox.js +14 -14
- package/Concertina.js +10 -10
- package/ControlGroup.js +2 -2
- package/Date.js +13 -13
- package/DefinitionList.js +2 -2
- package/Divider.js +2 -2
- package/Dropdown.js +13 -13
- package/DualListbox.js +9 -6
- package/EventListener.js +4 -4
- package/File.js +13 -13
- package/FormRows.js +264 -103
- package/Heading.js +50 -50
- package/Image.js +15 -15
- package/JSONTree.js +38 -36
- package/Layer.js +10 -10
- package/Link.js +2 -2
- package/List.js +9 -6
- package/MIGRATION.mdx +295 -0
- package/Markdown.js +24 -19
- package/Menu.js +12 -12
- package/Message.js +4 -4
- package/MessageBar.js +2 -2
- package/Modal.js +4 -4
- package/ModalLayer.js +4 -4
- package/Monogram.js +3 -3
- package/Multiselect.js +33 -33
- package/Number.js +7 -6
- package/Paginator.js +6 -6
- package/Paragraph.js +2 -2
- package/Popover.js +31 -27
- package/Progress.js +4 -4
- package/RadioBar.js +4 -4
- package/RadioList.js +2 -2
- package/Resize.js +6 -6
- package/ResultsMenu.js +8 -8
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +6 -6
- package/ScrollContainerContext.js +2 -2
- package/Search.js +14 -14
- package/Select.js +12 -12
- package/SidePanel.js +2 -2
- package/Slider.js +10 -10
- package/SlidingPanels.js +8 -8
- package/SplitButton.js +4 -4
- package/StaticContent.js +2 -2
- package/StepBar.js +2 -2
- package/Switch.js +2 -2
- package/TabBar.js +68 -51
- package/TabLayout.js +6 -6
- package/Table.js +51 -50
- package/Text.js +25 -23
- package/TextArea.js +24 -22
- package/Tooltip.js +11 -11
- package/TransitionOpen.js +2 -2
- package/Typography.js +4 -4
- package/WaitSpinner.js +2 -2
- package/cypress/support/component-index.html +12 -0
- package/cypress/support/component.ts +27 -0
- package/cypress.config.ts +19 -0
- package/package.json +14 -19
- package/stubs-dependencies.d.ts +0 -9
- package/types/src/Button/Button.d.ts +5 -3
- package/types/src/Clickable/Clickable.d.ts +2 -1
- package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -0
- package/types/src/Color/Color.d.ts +6 -6
- package/types/src/Color/Palette.d.ts +46 -0
- package/types/src/Concertina/Panel.d.ts +1 -0
- package/types/src/FormRows/FormRows.d.ts +1 -2
- package/types/src/FormRows/Row.d.ts +3 -12
- package/types/src/FormRows/RowInternal.d.ts +19 -0
- package/types/src/FormRows/SortableList.d.ts +8 -2
- package/types/src/FormRows/SortableRow.d.ts +20 -0
- package/types/src/Heading/Heading.d.ts +8 -3
- package/types/src/JSONTree/JSONTree.d.ts +2 -1
- package/types/src/Layer/Layer.d.ts +2 -0
- package/types/src/List/List.d.ts +9 -1
- package/types/src/List/docs/examples/CustomizedList.d.ts +2 -0
- package/types/src/List/docs/examples/OrderedList.d.ts +2 -0
- package/types/src/List/docs/examples/UnorderedList.d.ts +2 -0
- package/types/src/Markdown/Markdown.d.ts +1 -0
- package/types/src/Markdown/renderers/MarkdownList.d.ts +2 -0
- package/types/src/Number/Number.d.ts +9 -4
- package/types/src/Popover/Popover.d.ts +2 -0
- package/types/src/TabBar/Tab.d.ts +2 -0
- package/types/src/Table/Head.d.ts +1 -0
- package/types/src/Table/HeadCell.d.ts +1 -0
- package/types/src/Table/HeadDropdownCell.d.ts +1 -0
- package/types/src/Table/Table.d.ts +3 -1
- package/types/src/Text/Text.d.ts +3 -1
- package/types/src/TextArea/TextArea.d.ts +2 -0
- package/useForceUpdate.js +2 -2
- package/useKeyPress.js +2 -2
- package/usePrevious.js +2 -2
- package/useRovingFocus.js +2 -2
- package/MIGRATION.md +0 -49
- package/cypress/plugins/index.ts +0 -15
- package/cypress/support/index.ts +0 -10
- package/cypress.json +0 -13
- package/types/src/List/docs/examples/Decimal.d.ts +0 -2
- package/types/src/List/docs/examples/Disc.d.ts +0 -2
- package/types/src/List/docs/examples/LowerAlpha.d.ts +0 -2
- package/types/src/List/docs/examples/UpperAlpha.d.ts +0 -2
package/Popover.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 186);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -102,13 +102,6 @@ module.exports = require("prop-types");
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
104
|
/***/ 10:
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("lodash/has");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 11:
|
|
112
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
106
|
|
|
114
107
|
"use strict";
|
|
@@ -135,38 +128,45 @@ function updateReactRef(ref, current) {
|
|
|
135
128
|
|
|
136
129
|
/***/ }),
|
|
137
130
|
|
|
138
|
-
/***/
|
|
131
|
+
/***/ 11:
|
|
139
132
|
/***/ (function(module, exports) {
|
|
140
133
|
|
|
141
|
-
module.exports = require("lodash/
|
|
134
|
+
module.exports = require("lodash/has");
|
|
142
135
|
|
|
143
136
|
/***/ }),
|
|
144
137
|
|
|
145
138
|
/***/ 148:
|
|
146
139
|
/***/ (function(module, exports) {
|
|
147
140
|
|
|
148
|
-
module.exports = require("lodash/
|
|
141
|
+
module.exports = require("lodash/clamp");
|
|
149
142
|
|
|
150
143
|
/***/ }),
|
|
151
144
|
|
|
152
145
|
/***/ 149:
|
|
153
146
|
/***/ (function(module, exports) {
|
|
154
147
|
|
|
155
|
-
module.exports = require("lodash/
|
|
148
|
+
module.exports = require("lodash/every");
|
|
156
149
|
|
|
157
150
|
/***/ }),
|
|
158
151
|
|
|
159
152
|
/***/ 15:
|
|
160
153
|
/***/ (function(module, exports) {
|
|
161
154
|
|
|
162
|
-
module.exports = require("
|
|
155
|
+
module.exports = require("lodash/includes");
|
|
156
|
+
|
|
157
|
+
/***/ }),
|
|
158
|
+
|
|
159
|
+
/***/ 150:
|
|
160
|
+
/***/ (function(module, exports) {
|
|
161
|
+
|
|
162
|
+
module.exports = require("lodash/intersection");
|
|
163
163
|
|
|
164
164
|
/***/ }),
|
|
165
165
|
|
|
166
166
|
/***/ 16:
|
|
167
167
|
/***/ (function(module, exports) {
|
|
168
168
|
|
|
169
|
-
module.exports = require("
|
|
169
|
+
module.exports = require("@splunk/react-ui/EventListener");
|
|
170
170
|
|
|
171
171
|
/***/ }),
|
|
172
172
|
|
|
@@ -246,7 +246,7 @@ function getWindow() {
|
|
|
246
246
|
|
|
247
247
|
/***/ }),
|
|
248
248
|
|
|
249
|
-
/***/
|
|
249
|
+
/***/ 186:
|
|
250
250
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
251
251
|
|
|
252
252
|
"use strict";
|
|
@@ -269,7 +269,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
269
269
|
var external_react_dom_ = __webpack_require__(91);
|
|
270
270
|
|
|
271
271
|
// EXTERNAL MODULE: external "lodash/clamp"
|
|
272
|
-
var clamp_ = __webpack_require__(
|
|
272
|
+
var clamp_ = __webpack_require__(148);
|
|
273
273
|
var clamp_default = /*#__PURE__*/__webpack_require__.n(clamp_);
|
|
274
274
|
|
|
275
275
|
// EXTERNAL MODULE: external "lodash/defer"
|
|
@@ -277,19 +277,19 @@ var defer_ = __webpack_require__(55);
|
|
|
277
277
|
var defer_default = /*#__PURE__*/__webpack_require__.n(defer_);
|
|
278
278
|
|
|
279
279
|
// EXTERNAL MODULE: external "lodash/every"
|
|
280
|
-
var every_ = __webpack_require__(
|
|
280
|
+
var every_ = __webpack_require__(149);
|
|
281
281
|
var every_default = /*#__PURE__*/__webpack_require__.n(every_);
|
|
282
282
|
|
|
283
283
|
// EXTERNAL MODULE: external "lodash/has"
|
|
284
|
-
var has_ = __webpack_require__(
|
|
284
|
+
var has_ = __webpack_require__(11);
|
|
285
285
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
286
286
|
|
|
287
287
|
// EXTERNAL MODULE: external "lodash/includes"
|
|
288
|
-
var includes_ = __webpack_require__(
|
|
288
|
+
var includes_ = __webpack_require__(15);
|
|
289
289
|
var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
|
|
290
290
|
|
|
291
291
|
// EXTERNAL MODULE: external "lodash/intersection"
|
|
292
|
-
var intersection_ = __webpack_require__(
|
|
292
|
+
var intersection_ = __webpack_require__(150);
|
|
293
293
|
var intersection_default = /*#__PURE__*/__webpack_require__.n(intersection_);
|
|
294
294
|
|
|
295
295
|
// EXTERNAL MODULE: external "lodash/isFinite"
|
|
@@ -319,11 +319,11 @@ var themes_ = __webpack_require__(0);
|
|
|
319
319
|
var Animation_ = __webpack_require__(40);
|
|
320
320
|
|
|
321
321
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
322
|
-
var EventListener_ = __webpack_require__(
|
|
322
|
+
var EventListener_ = __webpack_require__(16);
|
|
323
323
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
324
324
|
|
|
325
325
|
// EXTERNAL MODULE: external "@splunk/react-ui/Layer"
|
|
326
|
-
var Layer_ = __webpack_require__(
|
|
326
|
+
var Layer_ = __webpack_require__(83);
|
|
327
327
|
var Layer_default = /*#__PURE__*/__webpack_require__.n(Layer_);
|
|
328
328
|
|
|
329
329
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
|
|
@@ -833,7 +833,7 @@ var PopoverHitArea = /*#__PURE__*/external_react_default.a.forwardRef(function (
|
|
|
833
833
|
PopoverHitArea.propTypes = propTypes;
|
|
834
834
|
/* harmony default export */ var Popover_PopoverHitArea = (PopoverHitArea);
|
|
835
835
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
836
|
-
var updateReactRef = __webpack_require__(
|
|
836
|
+
var updateReactRef = __webpack_require__(10);
|
|
837
837
|
|
|
838
838
|
// EXTERNAL MODULE: ./src/utils/ssrWindow.ts
|
|
839
839
|
var ssrWindow = __webpack_require__(18);
|
|
@@ -970,6 +970,10 @@ function everyApproxEqual(a, b) {
|
|
|
970
970
|
return b[key] === val;
|
|
971
971
|
});
|
|
972
972
|
}
|
|
973
|
+
|
|
974
|
+
function isHTMLElement(container) {
|
|
975
|
+
return container !== window && container !== window.document;
|
|
976
|
+
}
|
|
973
977
|
/**
|
|
974
978
|
* `Popover` is used to create layovers such as dropdowns, contextual menus, or tooltips. Use
|
|
975
979
|
* this only when the other components don't provide sufficient functionality or control. A controlled
|
|
@@ -1114,7 +1118,7 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
|
|
|
1114
1118
|
|
|
1115
1119
|
var anchorPos = _this.getElPosition(state.anchorEl);
|
|
1116
1120
|
|
|
1117
|
-
var scrollContainerPos = scrollContainer
|
|
1121
|
+
var scrollContainerPos = isHTMLElement(scrollContainer) ? _this.getElPosition(scrollContainer) : undefined;
|
|
1118
1122
|
|
|
1119
1123
|
if (scrolling && autoCloseWhenOffScreen) {
|
|
1120
1124
|
if (_this.autoCloseWhenOffScreen(anchorPos, scrollContainerPos)) {
|
|
@@ -1318,7 +1322,7 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
|
|
|
1318
1322
|
value: {
|
|
1319
1323
|
retainFocus: retainFocus
|
|
1320
1324
|
}
|
|
1321
|
-
}, appearance === 'none' && children, appearance !== 'none' && !isPrisma && /*#__PURE__*/external_react_default.a.createElement(StyledArrow, {
|
|
1325
|
+
}, /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, appearance === 'none' && children, appearance !== 'none' && !isPrisma && /*#__PURE__*/external_react_default.a.createElement(StyledArrow, {
|
|
1322
1326
|
$appearance: displayAppearance,
|
|
1323
1327
|
ref: function ref(arrow) {
|
|
1324
1328
|
_this.arrow = arrow;
|
|
@@ -1326,7 +1330,7 @@ var Popover_Popover = /*#__PURE__*/function (_Component) {
|
|
|
1326
1330
|
style: arrowStyle
|
|
1327
1331
|
}), appearance !== 'none' && /*#__PURE__*/external_react_default.a.createElement(StyledContent, {
|
|
1328
1332
|
$appearance: displayAppearance
|
|
1329
|
-
}, isFunction_default()(children) ? children(childData) : children))), /*#__PURE__*/external_react_default.a.createElement(StyledLowerRightCorner, {
|
|
1333
|
+
}, isFunction_default()(children) ? children(childData) : children)))), /*#__PURE__*/external_react_default.a.createElement(StyledLowerRightCorner, {
|
|
1330
1334
|
ref: function ref(el) {
|
|
1331
1335
|
_this.windowSizeMeasurementEl = el;
|
|
1332
1336
|
}
|
|
@@ -1641,7 +1645,7 @@ module.exports = require("lodash/isFunction");
|
|
|
1641
1645
|
|
|
1642
1646
|
/***/ }),
|
|
1643
1647
|
|
|
1644
|
-
/***/
|
|
1648
|
+
/***/ 83:
|
|
1645
1649
|
/***/ (function(module, exports) {
|
|
1646
1650
|
|
|
1647
1651
|
module.exports = require("@splunk/react-ui/Layer");
|
package/Progress.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 226);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 226:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -127,7 +127,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
127
127
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
128
128
|
|
|
129
129
|
// EXTERNAL MODULE: external "lodash/isNumber"
|
|
130
|
-
var isNumber_ = __webpack_require__(
|
|
130
|
+
var isNumber_ = __webpack_require__(75);
|
|
131
131
|
var isNumber_default = /*#__PURE__*/__webpack_require__.n(isNumber_);
|
|
132
132
|
|
|
133
133
|
// EXTERNAL MODULE: external "@splunk/react-ui/AnimationToggle"
|
|
@@ -355,7 +355,7 @@ module.exports = require("tinycolor2");
|
|
|
355
355
|
|
|
356
356
|
/***/ }),
|
|
357
357
|
|
|
358
|
-
/***/
|
|
358
|
+
/***/ 75:
|
|
359
359
|
/***/ (function(module, exports) {
|
|
360
360
|
|
|
361
361
|
module.exports = require("lodash/isNumber");
|
package/RadioBar.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 187);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 11:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("lodash/has");
|
|
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Button");
|
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
125
|
-
/***/
|
|
125
|
+
/***/ 187:
|
|
126
126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127
127
|
|
|
128
128
|
"use strict";
|
|
@@ -142,7 +142,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
142
142
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
143
143
|
|
|
144
144
|
// EXTERNAL MODULE: external "lodash/has"
|
|
145
|
-
var has_ = __webpack_require__(
|
|
145
|
+
var has_ = __webpack_require__(11);
|
|
146
146
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
147
147
|
|
|
148
148
|
// EXTERNAL MODULE: external "lodash/omit"
|
package/RadioList.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 188);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 188:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Resize.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 227);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 10:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,7 +135,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 16:
|
|
139
139
|
/***/ (function(module, exports) {
|
|
140
140
|
|
|
141
141
|
module.exports = require("@splunk/react-ui/EventListener");
|
|
@@ -149,7 +149,7 @@ module.exports = require("react");
|
|
|
149
149
|
|
|
150
150
|
/***/ }),
|
|
151
151
|
|
|
152
|
-
/***/
|
|
152
|
+
/***/ 227:
|
|
153
153
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154
154
|
|
|
155
155
|
"use strict";
|
|
@@ -176,7 +176,7 @@ var omit_ = __webpack_require__(5);
|
|
|
176
176
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
177
177
|
|
|
178
178
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
179
|
-
var EventListener_ = __webpack_require__(
|
|
179
|
+
var EventListener_ = __webpack_require__(16);
|
|
180
180
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
181
181
|
|
|
182
182
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
@@ -279,7 +279,7 @@ var StyledResize = external_styled_components_default.a.button.withConfig({
|
|
|
279
279
|
}));
|
|
280
280
|
|
|
281
281
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
282
|
-
var updateReactRef = __webpack_require__(
|
|
282
|
+
var updateReactRef = __webpack_require__(10);
|
|
283
283
|
|
|
284
284
|
// CONCATENATED MODULE: ./src/Resize/Resize.tsx
|
|
285
285
|
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); }
|
package/ResultsMenu.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 228);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 10:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,14 +135,14 @@ module.exports = require("@splunk/react-ui/Menu");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 151:
|
|
139
139
|
/***/ (function(module, exports) {
|
|
140
140
|
|
|
141
141
|
module.exports = require("@splunk/ui-utils/userAgent");
|
|
142
142
|
|
|
143
143
|
/***/ }),
|
|
144
144
|
|
|
145
|
-
/***/
|
|
145
|
+
/***/ 152:
|
|
146
146
|
/***/ (function(module, exports) {
|
|
147
147
|
|
|
148
148
|
module.exports = require("@splunk/react-ui/WaitSpinner");
|
|
@@ -156,7 +156,7 @@ module.exports = require("react");
|
|
|
156
156
|
|
|
157
157
|
/***/ }),
|
|
158
158
|
|
|
159
|
-
/***/
|
|
159
|
+
/***/ 228:
|
|
160
160
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
161
161
|
|
|
162
162
|
"use strict";
|
|
@@ -186,7 +186,7 @@ var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
|
186
186
|
var i18n_ = __webpack_require__(4);
|
|
187
187
|
|
|
188
188
|
// EXTERNAL MODULE: external "@splunk/ui-utils/userAgent"
|
|
189
|
-
var userAgent_ = __webpack_require__(
|
|
189
|
+
var userAgent_ = __webpack_require__(151);
|
|
190
190
|
|
|
191
191
|
// EXTERNAL MODULE: external "@splunk/react-ui/Menu"
|
|
192
192
|
var Menu_ = __webpack_require__(13);
|
|
@@ -197,7 +197,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
197
197
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
198
198
|
|
|
199
199
|
// EXTERNAL MODULE: external "@splunk/react-ui/WaitSpinner"
|
|
200
|
-
var WaitSpinner_ = __webpack_require__(
|
|
200
|
+
var WaitSpinner_ = __webpack_require__(152);
|
|
201
201
|
var WaitSpinner_default = /*#__PURE__*/__webpack_require__.n(WaitSpinner_);
|
|
202
202
|
|
|
203
203
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -258,7 +258,7 @@ var StyledLoadingMessage = external_styled_components_default.a.div.withConfig({
|
|
|
258
258
|
}));
|
|
259
259
|
|
|
260
260
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
261
|
-
var updateReactRef = __webpack_require__(
|
|
261
|
+
var updateReactRef = __webpack_require__(10);
|
|
262
262
|
|
|
263
263
|
// CONCATENATED MODULE: ./src/ResultsMenu/ResultsMenu.tsx
|
|
264
264
|
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); }
|
package/ScreenReaderContent.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 229);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 229:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
package/Scroll.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 204);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 10:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
131
|
+
/***/ 16:
|
|
132
132
|
/***/ (function(module, exports) {
|
|
133
133
|
|
|
134
134
|
module.exports = require("@splunk/react-ui/EventListener");
|
|
@@ -149,7 +149,7 @@ module.exports = require("react");
|
|
|
149
149
|
|
|
150
150
|
/***/ }),
|
|
151
151
|
|
|
152
|
-
/***/
|
|
152
|
+
/***/ 204:
|
|
153
153
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
154
154
|
|
|
155
155
|
"use strict";
|
|
@@ -193,14 +193,14 @@ var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
|
193
193
|
var external_react_spring_ = __webpack_require__(24);
|
|
194
194
|
|
|
195
195
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
196
|
-
var EventListener_ = __webpack_require__(
|
|
196
|
+
var EventListener_ = __webpack_require__(16);
|
|
197
197
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
198
198
|
|
|
199
199
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
|
|
200
200
|
var ScrollContainerContext_ = __webpack_require__(50);
|
|
201
201
|
|
|
202
202
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
203
|
-
var updateReactRef = __webpack_require__(
|
|
203
|
+
var updateReactRef = __webpack_require__(10);
|
|
204
204
|
|
|
205
205
|
// CONCATENATED MODULE: ./src/Scroll/Inner.tsx
|
|
206
206
|
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); }
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 240);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -170,7 +170,7 @@ module.exports = require("react");
|
|
|
170
170
|
|
|
171
171
|
/***/ }),
|
|
172
172
|
|
|
173
|
-
/***/
|
|
173
|
+
/***/ 240:
|
|
174
174
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
175
175
|
|
|
176
176
|
"use strict";
|
package/Search.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 230);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -95,13 +95,6 @@ module.exports = require("prop-types");
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
97
|
/***/ 10:
|
|
98
|
-
/***/ (function(module, exports) {
|
|
99
|
-
|
|
100
|
-
module.exports = require("lodash/has");
|
|
101
|
-
|
|
102
|
-
/***/ }),
|
|
103
|
-
|
|
104
|
-
/***/ 11:
|
|
105
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
99
|
|
|
107
100
|
"use strict";
|
|
@@ -126,6 +119,13 @@ function updateReactRef(ref, current) {
|
|
|
126
119
|
|
|
127
120
|
|
|
128
121
|
|
|
122
|
+
/***/ }),
|
|
123
|
+
|
|
124
|
+
/***/ 11:
|
|
125
|
+
/***/ (function(module, exports) {
|
|
126
|
+
|
|
127
|
+
module.exports = require("lodash/has");
|
|
128
|
+
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
131
|
/***/ 13:
|
|
@@ -135,7 +135,7 @@ module.exports = require("@splunk/react-ui/Menu");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 153:
|
|
139
139
|
/***/ (function(module, exports) {
|
|
140
140
|
|
|
141
141
|
module.exports = require("@splunk/react-ui/usePrevious");
|
|
@@ -156,7 +156,7 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
156
156
|
|
|
157
157
|
/***/ }),
|
|
158
158
|
|
|
159
|
-
/***/
|
|
159
|
+
/***/ 230:
|
|
160
160
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
161
161
|
|
|
162
162
|
"use strict";
|
|
@@ -182,7 +182,7 @@ var extend_ = __webpack_require__(49);
|
|
|
182
182
|
var extend_default = /*#__PURE__*/__webpack_require__.n(extend_);
|
|
183
183
|
|
|
184
184
|
// EXTERNAL MODULE: external "lodash/has"
|
|
185
|
-
var has_ = __webpack_require__(
|
|
185
|
+
var has_ = __webpack_require__(11);
|
|
186
186
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
187
187
|
|
|
188
188
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
@@ -206,7 +206,7 @@ var keyboard_ = __webpack_require__(7);
|
|
|
206
206
|
var Menu_ = __webpack_require__(13);
|
|
207
207
|
|
|
208
208
|
// EXTERNAL MODULE: external "@splunk/react-ui/usePrevious"
|
|
209
|
-
var usePrevious_ = __webpack_require__(
|
|
209
|
+
var usePrevious_ = __webpack_require__(153);
|
|
210
210
|
var usePrevious_default = /*#__PURE__*/__webpack_require__.n(usePrevious_);
|
|
211
211
|
|
|
212
212
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
@@ -359,7 +359,7 @@ _defineProperty(Option_Option, "type", Menu_["Item"]);
|
|
|
359
359
|
|
|
360
360
|
/* harmony default export */ var Search_Option = (Option_Option);
|
|
361
361
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
362
|
-
var updateReactRef = __webpack_require__(
|
|
362
|
+
var updateReactRef = __webpack_require__(10);
|
|
363
363
|
|
|
364
364
|
// CONCATENATED MODULE: ./src/Search/Search.tsx
|
|
365
365
|
function Search_extends() { Search_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return Search_extends.apply(this, arguments); }
|
|
@@ -652,7 +652,7 @@ function Search(_ref2) {
|
|
|
652
652
|
var handleRequestClose = function handleRequestClose(_ref4) {
|
|
653
653
|
var event = _ref4.event,
|
|
654
654
|
reason = _ref4.reason;
|
|
655
|
-
var shouldClose = reason === 'offScreen' || reason === 'escapeKey' || reason === 'clickAway' &&
|
|
655
|
+
var shouldClose = reason === 'offScreen' || reason === 'escapeKey' || reason === 'clickAway' && anchorRef.current && !containsEvent(anchorRef.current, event);
|
|
656
656
|
|
|
657
657
|
if (shouldClose) {
|
|
658
658
|
requestClose();
|
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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 231);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,24 +101,24 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 103:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
|
-
module.exports = require("lodash/
|
|
107
|
+
module.exports = require("lodash/forEachRight");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 104:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
|
-
module.exports = require("lodash/
|
|
114
|
+
module.exports = require("lodash/uniq");
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 11:
|
|
119
119
|
/***/ (function(module, exports) {
|
|
120
120
|
|
|
121
|
-
module.exports = require("lodash/
|
|
121
|
+
module.exports = require("lodash/has");
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
@@ -129,7 +129,7 @@ module.exports = require("@splunk/react-ui/Menu");
|
|
|
129
129
|
|
|
130
130
|
/***/ }),
|
|
131
131
|
|
|
132
|
-
/***/
|
|
132
|
+
/***/ 15:
|
|
133
133
|
/***/ (function(module, exports) {
|
|
134
134
|
|
|
135
135
|
module.exports = require("lodash/includes");
|
|
@@ -233,7 +233,7 @@ module.exports = require("@splunk/react-ui/Dropdown");
|
|
|
233
233
|
|
|
234
234
|
/***/ }),
|
|
235
235
|
|
|
236
|
-
/***/
|
|
236
|
+
/***/ 231:
|
|
237
237
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
238
238
|
|
|
239
239
|
"use strict";
|
|
@@ -255,7 +255,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
255
255
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
256
256
|
|
|
257
257
|
// EXTERNAL MODULE: external "lodash/has"
|
|
258
|
-
var has_ = __webpack_require__(
|
|
258
|
+
var has_ = __webpack_require__(11);
|
|
259
259
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
260
260
|
|
|
261
261
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -1019,11 +1019,11 @@ var forEachRight_ = __webpack_require__(103);
|
|
|
1019
1019
|
var forEachRight_default = /*#__PURE__*/__webpack_require__.n(forEachRight_);
|
|
1020
1020
|
|
|
1021
1021
|
// EXTERNAL MODULE: external "lodash/has"
|
|
1022
|
-
var has_ = __webpack_require__(
|
|
1022
|
+
var has_ = __webpack_require__(11);
|
|
1023
1023
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
1024
1024
|
|
|
1025
1025
|
// EXTERNAL MODULE: external "lodash/includes"
|
|
1026
|
-
var includes_ = __webpack_require__(
|
|
1026
|
+
var includes_ = __webpack_require__(15);
|
|
1027
1027
|
var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
|
|
1028
1028
|
|
|
1029
1029
|
// EXTERNAL MODULE: external "lodash/isUndefined"
|
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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 232);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -115,7 +115,7 @@ module.exports = require("react");
|
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 232:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|