@splunk/react-ui 4.10.0 → 4.11.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 +4 -4
- package/Anchor.js +2 -2
- package/Animation.js +2 -2
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +4 -4
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +4 -4
- package/CHANGELOG.md +21 -5
- package/Calendar.js +12 -12
- package/Card.js +35 -23
- package/CardLayout.js +2 -2
- package/Chip.js +4 -4
- package/Clickable.js +23 -8
- package/CloseButton.js +2 -2
- package/Code.js +4 -4
- package/CollapsiblePanel.js +4 -4
- package/Color.js +10 -10
- package/ColumnLayout.js +2 -2
- package/ComboBox.js +9 -5
- package/Concertina.js +13 -13
- package/ControlGroup.js +19 -9
- package/Date.js +6 -6
- package/DefinitionList.js +2 -2
- package/Dropdown.js +4 -4
- package/EventListener.js +4 -4
- package/File.js +14 -14
- package/FormRows.js +6 -6
- package/Heading.js +2 -2
- package/Image.js +8 -8
- package/JSONTree.js +4 -4
- package/Layer.js +72 -22
- package/Link.js +6 -6
- package/List.js +2 -2
- package/Markdown.js +14 -14
- package/Menu.js +32 -32
- package/Message.js +6 -6
- package/MessageBar.js +16 -9
- package/Modal.js +4 -4
- package/ModalLayer.js +2 -2
- package/Monogram.js +27 -15
- package/Multiselect.js +6 -6
- package/Number.js +4 -4
- package/Paginator.js +14 -14
- package/Paragraph.js +2 -2
- package/Popover.js +6 -6
- package/Progress.js +2 -2
- package/RadioBar.js +4 -4
- package/RadioList.js +2 -2
- package/Resize.js +4 -4
- package/ResultsMenu.js +20 -20
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +4 -4
- package/ScrollContainerContext.js +2 -2
- package/Search.js +6 -6
- package/Select.js +2 -2
- package/SidePanel.js +2 -2
- package/Slider.js +4 -4
- package/SlidingPanels.js +4 -4
- package/StaticContent.js +2 -2
- package/StepBar.js +2 -2
- package/Switch.js +4 -4
- package/TabBar.js +11 -11
- package/TabLayout.js +4 -4
- package/Table.js +27 -30
- package/Text.js +17 -10
- package/Tooltip.js +15 -4
- package/TransitionOpen.js +2 -2
- package/WaitSpinner.js +2 -2
- package/package.json +9 -6
- package/stubs-splunkui.d.ts +13 -0
- package/types/src/Card/Body.d.ts +6 -1
- package/types/src/Clickable/Clickable.d.ts +5 -0
- package/types/src/ComboBox/ComboBox.d.ts +2 -1
- package/types/src/ControlGroup/ControlGroup.d.ts +9 -2
- package/types/src/Date/Date.d.ts +3 -3
- package/types/src/FormRows/FormRows.d.ts +1 -1
- package/types/src/FormRows/Row.d.ts +1 -1
- package/types/src/Layer/LayerStack.d.ts +8 -2
- package/types/src/Monogram/Monogram.d.ts +2 -2
- package/types/src/Number/Number.d.ts +3 -3
- package/types/src/Slider/Slider.d.ts +3 -3
- package/types/src/Text/Text.d.ts +4 -3
- package/types/src/Tooltip/Tooltip.d.ts +8 -5
- package/types/src/fixtures/FetchOptions.d.ts +82 -2
- package/usePrevious.js +2 -2
- package/FetchOptions.js +0 -359
- package/types/src/FetchOptions/FetchOptions.d.ts +0 -82
- package/types/src/FetchOptions/index.d.ts +0 -2
package/Image.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 = 155);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 12:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 155:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -136,7 +136,7 @@ var format_ = __webpack_require__(41);
|
|
|
136
136
|
var i18n_ = __webpack_require__(5);
|
|
137
137
|
|
|
138
138
|
// EXTERNAL MODULE: external "@splunk/react-ui/File"
|
|
139
|
-
var File_ = __webpack_require__(
|
|
139
|
+
var File_ = __webpack_require__(88);
|
|
140
140
|
var File_default = /*#__PURE__*/__webpack_require__.n(File_);
|
|
141
141
|
|
|
142
142
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
@@ -147,11 +147,11 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
147
147
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
148
148
|
|
|
149
149
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
150
|
-
var Clickable_ = __webpack_require__(
|
|
150
|
+
var Clickable_ = __webpack_require__(12);
|
|
151
151
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
152
152
|
|
|
153
153
|
// EXTERNAL MODULE: external "@splunk/react-ui/Message"
|
|
154
|
-
var Message_ = __webpack_require__(
|
|
154
|
+
var Message_ = __webpack_require__(89);
|
|
155
155
|
var Message_default = /*#__PURE__*/__webpack_require__.n(Message_);
|
|
156
156
|
|
|
157
157
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -675,14 +675,14 @@ Icon.defaultProps = defaultProps;
|
|
|
675
675
|
|
|
676
676
|
/***/ }),
|
|
677
677
|
|
|
678
|
-
/***/
|
|
678
|
+
/***/ 88:
|
|
679
679
|
/***/ (function(module, exports) {
|
|
680
680
|
|
|
681
681
|
module.exports = require("@splunk/react-ui/File");
|
|
682
682
|
|
|
683
683
|
/***/ }),
|
|
684
684
|
|
|
685
|
-
/***/
|
|
685
|
+
/***/ 89:
|
|
686
686
|
/***/ (function(module, exports) {
|
|
687
687
|
|
|
688
688
|
module.exports = require("@splunk/react-ui/Message");
|
package/JSONTree.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 = 132);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 12:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 132:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -134,7 +134,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
134
134
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
135
135
|
|
|
136
136
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
137
|
-
var Clickable_ = __webpack_require__(
|
|
137
|
+
var Clickable_ = __webpack_require__(12);
|
|
138
138
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
139
139
|
|
|
140
140
|
// EXTERNAL MODULE: external "@splunk/themes"
|
package/Layer.js
CHANGED
|
@@ -82,11 +82,18 @@ 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 = 156);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ 0:
|
|
91
|
+
/***/ (function(module, exports) {
|
|
92
|
+
|
|
93
|
+
module.exports = require("@splunk/themes");
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
90
97
|
/***/ 1:
|
|
91
98
|
/***/ (function(module, exports) {
|
|
92
99
|
|
|
@@ -94,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
94
101
|
|
|
95
102
|
/***/ }),
|
|
96
103
|
|
|
97
|
-
/***/
|
|
104
|
+
/***/ 108:
|
|
98
105
|
/***/ (function(module, exports) {
|
|
99
106
|
|
|
100
107
|
var g;
|
|
@@ -128,7 +135,7 @@ module.exports = require("@splunk/react-ui/EventListener");
|
|
|
128
135
|
|
|
129
136
|
/***/ }),
|
|
130
137
|
|
|
131
|
-
/***/
|
|
138
|
+
/***/ 156:
|
|
132
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
133
140
|
|
|
134
141
|
"use strict";
|
|
@@ -137,15 +144,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
137
144
|
|
|
138
145
|
// EXPORTS
|
|
139
146
|
__webpack_require__.d(__webpack_exports__, "default", function() { return /* reexport */ src_Layer_Layer; });
|
|
140
|
-
__webpack_require__.d(__webpack_exports__, "LayerStackContext", function() { return /* reexport */ LayerStack["
|
|
141
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
147
|
+
__webpack_require__.d(__webpack_exports__, "LayerStackContext", function() { return /* reexport */ LayerStack["b" /* LayerStackContext */]; });
|
|
148
|
+
__webpack_require__.d(__webpack_exports__, "LayerContext", function() { return /* reexport */ LayerStack["a" /* LayerContext */]; });
|
|
149
|
+
__webpack_require__.d(__webpack_exports__, "LayerStackGlobalProvider", function() { return /* reexport */ LayerStack["c" /* LayerStackGlobalProvider */]; });
|
|
142
150
|
|
|
143
151
|
// EXTERNAL MODULE: external "react"
|
|
144
152
|
var external_react_ = __webpack_require__(2);
|
|
145
153
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
146
154
|
|
|
147
155
|
// EXTERNAL MODULE: external "react-dom"
|
|
148
|
-
var external_react_dom_ = __webpack_require__(
|
|
156
|
+
var external_react_dom_ = __webpack_require__(67);
|
|
149
157
|
|
|
150
158
|
// EXTERNAL MODULE: external "prop-types"
|
|
151
159
|
var external_prop_types_ = __webpack_require__(1);
|
|
@@ -162,7 +170,25 @@ var EventListener_ = __webpack_require__(15);
|
|
|
162
170
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
163
171
|
|
|
164
172
|
// EXTERNAL MODULE: ./src/Layer/LayerStack.tsx
|
|
165
|
-
var LayerStack = __webpack_require__(
|
|
173
|
+
var LayerStack = __webpack_require__(68);
|
|
174
|
+
|
|
175
|
+
// EXTERNAL MODULE: external "styled-components"
|
|
176
|
+
var external_styled_components_ = __webpack_require__(3);
|
|
177
|
+
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
178
|
+
|
|
179
|
+
// EXTERNAL MODULE: external "@splunk/themes"
|
|
180
|
+
var themes_ = __webpack_require__(0);
|
|
181
|
+
|
|
182
|
+
// CONCATENATED MODULE: ./src/Layer/LayerStyles.ts
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
var StyledLayer = external_styled_components_default.a.div.withConfig({
|
|
186
|
+
displayName: "LayerStyles__StyledLayer",
|
|
187
|
+
componentId: "ii6psl-0"
|
|
188
|
+
})(["", ""], function (_ref) {
|
|
189
|
+
var $separateStackingContexts = _ref.$separateStackingContexts;
|
|
190
|
+
return $separateStackingContexts && Object(external_styled_components_["css"])(["isolation:isolate;z-index:", ";"], themes_["variables"].zindexLayer);
|
|
191
|
+
});
|
|
166
192
|
|
|
167
193
|
// CONCATENATED MODULE: ./src/Layer/Layer.tsx
|
|
168
194
|
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); }
|
|
@@ -196,6 +222,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
196
222
|
|
|
197
223
|
|
|
198
224
|
|
|
225
|
+
|
|
199
226
|
/** @public */
|
|
200
227
|
|
|
201
228
|
var possibleCloseReasons = ['clickAway', 'escapeKey'];
|
|
@@ -299,17 +326,24 @@ var Layer_Layer = /*#__PURE__*/function (_Component) {
|
|
|
299
326
|
}, {
|
|
300
327
|
key: "render",
|
|
301
328
|
value: function render() {
|
|
329
|
+
var _this2 = this;
|
|
330
|
+
|
|
302
331
|
var _this$props3 = this.props,
|
|
303
332
|
children = _this$props3.children,
|
|
304
333
|
open = _this$props3.open;
|
|
305
334
|
|
|
306
335
|
if (open) {
|
|
307
|
-
var layerPortal = /*#__PURE__*/Object(external_react_dom_["createPortal"])( /*#__PURE__*/external_react_default.a.createElement("
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
336
|
+
var layerPortal = /*#__PURE__*/Object(external_react_dom_["createPortal"])( /*#__PURE__*/external_react_default.a.createElement(LayerStack["a" /* LayerContext */].Consumer, null, function (_ref2) {
|
|
337
|
+
var _ref2$separateStackin = _ref2.separateStackingContexts,
|
|
338
|
+
separateStackingContexts = _ref2$separateStackin === void 0 ? false : _ref2$separateStackin;
|
|
339
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledLayer // eslint-disable-line jsx-a11y/no-static-element-interactions
|
|
340
|
+
, {
|
|
341
|
+
$separateStackingContexts: separateStackingContexts,
|
|
342
|
+
"data-test": "layer",
|
|
343
|
+
onMouseDown: _this2.handleClickOnLayer,
|
|
344
|
+
onTouchStart: _this2.handleClickOnLayer
|
|
345
|
+
}, children);
|
|
346
|
+
}), Layer.layerContainer // eslint-disable-line @typescript-eslint/no-non-null-assertion
|
|
313
347
|
);
|
|
314
348
|
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, /*#__PURE__*/external_react_default.a.createElement(EventListener_default.a, {
|
|
315
349
|
target: window,
|
|
@@ -347,7 +381,7 @@ _defineProperty(Layer_Layer, "propTypes", propTypes);
|
|
|
347
381
|
|
|
348
382
|
_defineProperty(Layer_Layer, "defaultProps", defaultProps);
|
|
349
383
|
|
|
350
|
-
_defineProperty(Layer_Layer, "contextType", LayerStack["
|
|
384
|
+
_defineProperty(Layer_Layer, "contextType", LayerStack["b" /* LayerStackContext */]);
|
|
351
385
|
|
|
352
386
|
/* harmony default export */ var src_Layer_Layer = (Layer_Layer);
|
|
353
387
|
// CONCATENATED MODULE: ./src/Layer/index.ts
|
|
@@ -363,6 +397,13 @@ module.exports = require("react");
|
|
|
363
397
|
|
|
364
398
|
/***/ }),
|
|
365
399
|
|
|
400
|
+
/***/ 3:
|
|
401
|
+
/***/ (function(module, exports) {
|
|
402
|
+
|
|
403
|
+
module.exports = require("styled-components");
|
|
404
|
+
|
|
405
|
+
/***/ }),
|
|
406
|
+
|
|
366
407
|
/***/ 4:
|
|
367
408
|
/***/ (function(module, exports) {
|
|
368
409
|
|
|
@@ -370,19 +411,20 @@ module.exports = require("lodash");
|
|
|
370
411
|
|
|
371
412
|
/***/ }),
|
|
372
413
|
|
|
373
|
-
/***/
|
|
414
|
+
/***/ 67:
|
|
374
415
|
/***/ (function(module, exports) {
|
|
375
416
|
|
|
376
417
|
module.exports = require("react-dom");
|
|
377
418
|
|
|
378
419
|
/***/ }),
|
|
379
420
|
|
|
380
|
-
/***/
|
|
421
|
+
/***/ 68:
|
|
381
422
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
382
423
|
|
|
383
424
|
"use strict";
|
|
384
|
-
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
385
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "
|
|
425
|
+
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return LayerStackContext; });
|
|
426
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LayerContext; });
|
|
427
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return LayerStackGlobalProvider; });
|
|
386
428
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
387
429
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
388
430
|
/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
@@ -396,10 +438,12 @@ module.exports = require("react-dom");
|
|
|
396
438
|
* @public
|
|
397
439
|
*/
|
|
398
440
|
var LayerStackContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext([]);
|
|
441
|
+
var LayerContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({});
|
|
399
442
|
var propTypes = {
|
|
400
443
|
children: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.node,
|
|
401
444
|
name: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.string,
|
|
402
|
-
scope: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object
|
|
445
|
+
scope: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.object,
|
|
446
|
+
separateStackingContexts: prop_types__WEBPACK_IMPORTED_MODULE_1___default.a.bool
|
|
403
447
|
};
|
|
404
448
|
/* global global */
|
|
405
449
|
|
|
@@ -414,7 +458,9 @@ function LayerStackGlobalProvider(_ref) {
|
|
|
414
458
|
_ref$name = _ref.name,
|
|
415
459
|
name = _ref$name === void 0 ? '__splunkui_layer_instances__' : _ref$name,
|
|
416
460
|
_ref$scope = _ref.scope,
|
|
417
|
-
scope = _ref$scope === void 0 ? typeof window !== 'undefined' ? window : global : _ref$scope
|
|
461
|
+
scope = _ref$scope === void 0 ? typeof window !== 'undefined' ? window : global : _ref$scope,
|
|
462
|
+
_ref$separateStacking = _ref.separateStackingContexts,
|
|
463
|
+
separateStackingContexts = _ref$separateStacking === void 0 ? false : _ref$separateStacking;
|
|
418
464
|
|
|
419
465
|
if (!scope[name]) {
|
|
420
466
|
scope[name] = []; // eslint-disable-line no-param-reassign
|
|
@@ -422,12 +468,16 @@ function LayerStackGlobalProvider(_ref) {
|
|
|
422
468
|
|
|
423
469
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(LayerStackContext.Provider, {
|
|
424
470
|
value: scope[name]
|
|
425
|
-
},
|
|
471
|
+
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(LayerContext.Provider, {
|
|
472
|
+
value: {
|
|
473
|
+
separateStackingContexts: separateStackingContexts
|
|
474
|
+
}
|
|
475
|
+
}, children));
|
|
426
476
|
}
|
|
427
477
|
|
|
428
478
|
LayerStackGlobalProvider.propTypes = propTypes;
|
|
429
479
|
|
|
430
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
|
480
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(108)))
|
|
431
481
|
|
|
432
482
|
/***/ }),
|
|
433
483
|
|
package/Link.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 = 157);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 12:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 157:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -137,11 +137,11 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
137
137
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
138
138
|
|
|
139
139
|
// EXTERNAL MODULE: external "@splunk/react-icons/External"
|
|
140
|
-
var External_ = __webpack_require__(
|
|
140
|
+
var External_ = __webpack_require__(57);
|
|
141
141
|
var External_default = /*#__PURE__*/__webpack_require__.n(External_);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
144
|
-
var Clickable_ = __webpack_require__(
|
|
144
|
+
var Clickable_ = __webpack_require__(12);
|
|
145
145
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -323,7 +323,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
323
323
|
|
|
324
324
|
/***/ }),
|
|
325
325
|
|
|
326
|
-
/***/
|
|
326
|
+
/***/ 57:
|
|
327
327
|
/***/ (function(module, exports) {
|
|
328
328
|
|
|
329
329
|
module.exports = require("@splunk/react-icons/External");
|
package/List.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 = 138);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 138:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Markdown.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 = 110);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 110:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -130,11 +130,11 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
130
130
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "commonmark-react-renderer"
|
|
133
|
-
var external_commonmark_react_renderer_ = __webpack_require__(
|
|
133
|
+
var external_commonmark_react_renderer_ = __webpack_require__(90);
|
|
134
134
|
var external_commonmark_react_renderer_default = /*#__PURE__*/__webpack_require__.n(external_commonmark_react_renderer_);
|
|
135
135
|
|
|
136
136
|
// EXTERNAL MODULE: external "commonmark"
|
|
137
|
-
var external_commonmark_ = __webpack_require__(
|
|
137
|
+
var external_commonmark_ = __webpack_require__(91);
|
|
138
138
|
var external_commonmark_default = /*#__PURE__*/__webpack_require__.n(external_commonmark_);
|
|
139
139
|
|
|
140
140
|
// EXTERNAL MODULE: external "@splunk/react-ui/Box"
|
|
@@ -223,7 +223,7 @@ function MarkdownCode(_ref) {
|
|
|
223
223
|
MarkdownCode.propTypes = MarkdownCode_propTypes;
|
|
224
224
|
/* harmony default export */ var renderers_MarkdownCode = (MarkdownCode);
|
|
225
225
|
// EXTERNAL MODULE: external "@splunk/react-ui/Code"
|
|
226
|
-
var Code_ = __webpack_require__(
|
|
226
|
+
var Code_ = __webpack_require__(92);
|
|
227
227
|
var Code_default = /*#__PURE__*/__webpack_require__.n(Code_);
|
|
228
228
|
|
|
229
229
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -279,7 +279,7 @@ function MarkdownHeading(_ref) {
|
|
|
279
279
|
MarkdownHeading.propTypes = MarkdownHeading_propTypes;
|
|
280
280
|
/* harmony default export */ var renderers_MarkdownHeading = (MarkdownHeading);
|
|
281
281
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
282
|
-
var Anchor_ = __webpack_require__(
|
|
282
|
+
var Anchor_ = __webpack_require__(60);
|
|
283
283
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
284
284
|
|
|
285
285
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownAnchorHeading.tsx
|
|
@@ -354,7 +354,7 @@ function MarkdownLink(_ref) {
|
|
|
354
354
|
MarkdownLink.propTypes = MarkdownLink_propTypes;
|
|
355
355
|
/* harmony default export */ var renderers_MarkdownLink = (MarkdownLink);
|
|
356
356
|
// EXTERNAL MODULE: external "@splunk/react-ui/List"
|
|
357
|
-
var List_ = __webpack_require__(
|
|
357
|
+
var List_ = __webpack_require__(78);
|
|
358
358
|
var List_default = /*#__PURE__*/__webpack_require__.n(List_);
|
|
359
359
|
|
|
360
360
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
|
|
@@ -392,7 +392,7 @@ function MarkdownItem(_ref) {
|
|
|
392
392
|
MarkdownItem.propTypes = MarkdownItem_propTypes;
|
|
393
393
|
/* harmony default export */ var renderers_MarkdownItem = (MarkdownItem);
|
|
394
394
|
// EXTERNAL MODULE: external "@splunk/react-ui/Paragraph"
|
|
395
|
-
var Paragraph_ = __webpack_require__(
|
|
395
|
+
var Paragraph_ = __webpack_require__(93);
|
|
396
396
|
var Paragraph_default = /*#__PURE__*/__webpack_require__.n(Paragraph_);
|
|
397
397
|
|
|
398
398
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownParagraph.tsx
|
|
@@ -555,14 +555,14 @@ module.exports = require("@splunk/react-ui/Heading");
|
|
|
555
555
|
|
|
556
556
|
/***/ }),
|
|
557
557
|
|
|
558
|
-
/***/
|
|
558
|
+
/***/ 60:
|
|
559
559
|
/***/ (function(module, exports) {
|
|
560
560
|
|
|
561
561
|
module.exports = require("@splunk/react-ui/Anchor");
|
|
562
562
|
|
|
563
563
|
/***/ }),
|
|
564
564
|
|
|
565
|
-
/***/
|
|
565
|
+
/***/ 78:
|
|
566
566
|
/***/ (function(module, exports) {
|
|
567
567
|
|
|
568
568
|
module.exports = require("@splunk/react-ui/List");
|
|
@@ -576,28 +576,28 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
576
576
|
|
|
577
577
|
/***/ }),
|
|
578
578
|
|
|
579
|
-
/***/
|
|
579
|
+
/***/ 90:
|
|
580
580
|
/***/ (function(module, exports) {
|
|
581
581
|
|
|
582
582
|
module.exports = require("commonmark-react-renderer");
|
|
583
583
|
|
|
584
584
|
/***/ }),
|
|
585
585
|
|
|
586
|
-
/***/
|
|
586
|
+
/***/ 91:
|
|
587
587
|
/***/ (function(module, exports) {
|
|
588
588
|
|
|
589
589
|
module.exports = require("commonmark");
|
|
590
590
|
|
|
591
591
|
/***/ }),
|
|
592
592
|
|
|
593
|
-
/***/
|
|
593
|
+
/***/ 92:
|
|
594
594
|
/***/ (function(module, exports) {
|
|
595
595
|
|
|
596
596
|
module.exports = require("@splunk/react-ui/Code");
|
|
597
597
|
|
|
598
598
|
/***/ }),
|
|
599
599
|
|
|
600
|
-
/***/
|
|
600
|
+
/***/ 93:
|
|
601
601
|
/***/ (function(module, exports) {
|
|
602
602
|
|
|
603
603
|
module.exports = require("@splunk/react-ui/Paragraph");
|
package/Menu.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 = 111);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -102,13 +102,33 @@ module.exports = require("prop-types");
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
104
|
/***/ 11:
|
|
105
|
-
/***/ (function(module,
|
|
105
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
|
+
|
|
107
|
+
"use strict";
|
|
108
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
|
|
109
|
+
/**
|
|
110
|
+
* Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
|
|
111
|
+
*
|
|
112
|
+
* @param ref - The React callback or object ref. Can be `null` or `undefined`.
|
|
113
|
+
* @param current - The new value of the ref.
|
|
114
|
+
*/
|
|
115
|
+
function updateReactRef(ref, current) {
|
|
116
|
+
if (ref) {
|
|
117
|
+
if (typeof ref === 'function') {
|
|
118
|
+
ref(current);
|
|
119
|
+
} else {
|
|
120
|
+
// the public signature of this util uses React.Ref<T> to mirror the way React types refs.
|
|
121
|
+
// the intention here is to signal "we will take care of setting 'current', not you".
|
|
122
|
+
ref.current = current; // eslint-disable-line no-param-reassign
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
106
127
|
|
|
107
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
128
|
|
|
109
129
|
/***/ }),
|
|
110
130
|
|
|
111
|
-
/***/
|
|
131
|
+
/***/ 111:
|
|
112
132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
133
|
|
|
114
134
|
"use strict";
|
|
@@ -320,7 +340,7 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
320
340
|
var Check = __webpack_require__(53);
|
|
321
341
|
|
|
322
342
|
// EXTERNAL MODULE: external "@splunk/react-icons/TriangleRightSmall"
|
|
323
|
-
var TriangleRightSmall_ = __webpack_require__(
|
|
343
|
+
var TriangleRightSmall_ = __webpack_require__(94);
|
|
324
344
|
var TriangleRightSmall_default = /*#__PURE__*/__webpack_require__.n(TriangleRightSmall_);
|
|
325
345
|
|
|
326
346
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -358,7 +378,7 @@ function CaretRight(props) {
|
|
|
358
378
|
var ChevronRight = __webpack_require__(27);
|
|
359
379
|
|
|
360
380
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
361
|
-
var Clickable_ = __webpack_require__(
|
|
381
|
+
var Clickable_ = __webpack_require__(12);
|
|
362
382
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
363
383
|
|
|
364
384
|
// EXTERNAL MODULE: external "@splunk/react-ui/Switch"
|
|
@@ -540,7 +560,7 @@ var StyledSubmenu = external_styled_components_default.a.span.withConfig({
|
|
|
540
560
|
}));
|
|
541
561
|
|
|
542
562
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
543
|
-
var updateReactRef = __webpack_require__(
|
|
563
|
+
var updateReactRef = __webpack_require__(11);
|
|
544
564
|
|
|
545
565
|
// CONCATENATED MODULE: ./src/Menu/Item.tsx
|
|
546
566
|
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); }
|
|
@@ -835,7 +855,7 @@ var ItemWithTheme = Object(themes_["withSplunkTheme"])(Item_Item);
|
|
|
835
855
|
ItemWithTheme.propTypes = Item_Item.propTypes;
|
|
836
856
|
/* harmony default export */ var Menu_Item = (ItemWithTheme);
|
|
837
857
|
// EXTERNAL MODULE: external "@splunk/react-ui/Scroll"
|
|
838
|
-
var Scroll_ = __webpack_require__(
|
|
858
|
+
var Scroll_ = __webpack_require__(65);
|
|
839
859
|
var Scroll_default = /*#__PURE__*/__webpack_require__.n(Scroll_);
|
|
840
860
|
|
|
841
861
|
// CONCATENATED MODULE: ./src/Menu/MenuStyles.ts
|
|
@@ -1082,29 +1102,9 @@ Menu.Heading = Menu_Heading;
|
|
|
1082
1102
|
/***/ }),
|
|
1083
1103
|
|
|
1084
1104
|
/***/ 12:
|
|
1085
|
-
/***/ (function(module,
|
|
1086
|
-
|
|
1087
|
-
"use strict";
|
|
1088
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
|
|
1089
|
-
/**
|
|
1090
|
-
* Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
|
|
1091
|
-
*
|
|
1092
|
-
* @param ref - The React callback or object ref. Can be `null` or `undefined`.
|
|
1093
|
-
* @param current - The new value of the ref.
|
|
1094
|
-
*/
|
|
1095
|
-
function updateReactRef(ref, current) {
|
|
1096
|
-
if (ref) {
|
|
1097
|
-
if (typeof ref === 'function') {
|
|
1098
|
-
ref(current);
|
|
1099
|
-
} else {
|
|
1100
|
-
// the public signature of this util uses React.Ref<T> to mirror the way React types refs.
|
|
1101
|
-
// the intention here is to signal "we will take care of setting 'current', not you".
|
|
1102
|
-
ref.current = current; // eslint-disable-line no-param-reassign
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1105
|
+
/***/ (function(module, exports) {
|
|
1107
1106
|
|
|
1107
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
1108
1108
|
|
|
1109
1109
|
/***/ }),
|
|
1110
1110
|
|
|
@@ -1342,7 +1342,7 @@ function SVG(props) {
|
|
|
1342
1342
|
|
|
1343
1343
|
/***/ }),
|
|
1344
1344
|
|
|
1345
|
-
/***/
|
|
1345
|
+
/***/ 65:
|
|
1346
1346
|
/***/ (function(module, exports) {
|
|
1347
1347
|
|
|
1348
1348
|
module.exports = require("@splunk/react-ui/Scroll");
|
|
@@ -1481,7 +1481,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
|
|
|
1481
1481
|
|
|
1482
1482
|
/***/ }),
|
|
1483
1483
|
|
|
1484
|
-
/***/
|
|
1484
|
+
/***/ 94:
|
|
1485
1485
|
/***/ (function(module, exports) {
|
|
1486
1486
|
|
|
1487
1487
|
module.exports = require("@splunk/react-icons/TriangleRightSmall");
|