@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/CollapsiblePanel.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 = 152);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,14 +108,14 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 12:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
114
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 152:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
|
@@ -158,7 +158,7 @@ var Box_ = __webpack_require__(8);
|
|
|
158
158
|
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
|
|
159
159
|
|
|
160
160
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
161
|
-
var Clickable_ = __webpack_require__(
|
|
161
|
+
var Clickable_ = __webpack_require__(12);
|
|
162
162
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
163
163
|
|
|
164
164
|
// EXTERNAL MODULE: external "@splunk/themes"
|
package/Color.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 = 131);
|
|
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
|
+
/***/ 131:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -132,7 +132,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
132
132
|
var external_lodash_ = __webpack_require__(4);
|
|
133
133
|
|
|
134
134
|
// EXTERNAL MODULE: external "@splunk/themes/SplunkThemeProvider"
|
|
135
|
-
var SplunkThemeProvider_ = __webpack_require__(
|
|
135
|
+
var SplunkThemeProvider_ = __webpack_require__(82);
|
|
136
136
|
var SplunkThemeProvider_default = /*#__PURE__*/__webpack_require__.n(SplunkThemeProvider_);
|
|
137
137
|
|
|
138
138
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -159,14 +159,14 @@ var external_tinycolor2_default = /*#__PURE__*/__webpack_require__.n(external_ti
|
|
|
159
159
|
var Check = __webpack_require__(53);
|
|
160
160
|
|
|
161
161
|
// EXTERNAL MODULE: ./src/icons/ChevronDown.tsx
|
|
162
|
-
var ChevronDown = __webpack_require__(
|
|
162
|
+
var ChevronDown = __webpack_require__(63);
|
|
163
163
|
|
|
164
164
|
// EXTERNAL MODULE: external "styled-components"
|
|
165
165
|
var external_styled_components_ = __webpack_require__(3);
|
|
166
166
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
167
167
|
|
|
168
168
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
169
|
-
var Clickable_ = __webpack_require__(
|
|
169
|
+
var Clickable_ = __webpack_require__(12);
|
|
170
170
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
171
171
|
|
|
172
172
|
// EXTERNAL MODULE: external "@splunk/react-ui/Text"
|
|
@@ -1244,14 +1244,14 @@ function SVG(props) {
|
|
|
1244
1244
|
|
|
1245
1245
|
/***/ }),
|
|
1246
1246
|
|
|
1247
|
-
/***/
|
|
1247
|
+
/***/ 63:
|
|
1248
1248
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1249
1249
|
|
|
1250
1250
|
"use strict";
|
|
1251
1251
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronDown; });
|
|
1252
1252
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1253
1253
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1254
|
-
/* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1254
|
+
/* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64);
|
|
1255
1255
|
/* harmony import */ var _splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronDown__WEBPACK_IMPORTED_MODULE_1__);
|
|
1256
1256
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
1257
1257
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -1294,7 +1294,7 @@ function ChevronDown(props) {
|
|
|
1294
1294
|
|
|
1295
1295
|
/***/ }),
|
|
1296
1296
|
|
|
1297
|
-
/***/
|
|
1297
|
+
/***/ 64:
|
|
1298
1298
|
/***/ (function(module, exports) {
|
|
1299
1299
|
|
|
1300
1300
|
module.exports = require("@splunk/react-icons/ChevronDown");
|
|
@@ -1419,7 +1419,7 @@ Icon.defaultProps = defaultProps;
|
|
|
1419
1419
|
|
|
1420
1420
|
/***/ }),
|
|
1421
1421
|
|
|
1422
|
-
/***/
|
|
1422
|
+
/***/ 82:
|
|
1423
1423
|
/***/ (function(module, exports) {
|
|
1424
1424
|
|
|
1425
1425
|
module.exports = require("@splunk/themes/SplunkThemeProvider");
|
package/ColumnLayout.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 = 118);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 118:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/ComboBox.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 = 153);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 11:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,7 +135,7 @@ module.exports = require("@splunk/react-ui/Menu");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 153:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -326,7 +326,7 @@ _defineProperty(Option_Option, "defaultProps", defaultProps);
|
|
|
326
326
|
|
|
327
327
|
/* harmony default export */ var ComboBox_Option = (Option_Option);
|
|
328
328
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
329
|
-
var updateReactRef = __webpack_require__(
|
|
329
|
+
var updateReactRef = __webpack_require__(11);
|
|
330
330
|
|
|
331
331
|
// CONCATENATED MODULE: ./src/ComboBox/ComboBox.tsx
|
|
332
332
|
function ComboBox_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { ComboBox_typeof = function _typeof(obj) { return typeof obj; }; } else { ComboBox_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return ComboBox_typeof(obj); }
|
|
@@ -467,12 +467,15 @@ var ComboBox_ComboBox = /*#__PURE__*/function (_Component) {
|
|
|
467
467
|
|
|
468
468
|
ComboBox_defineProperty(ComboBox_assertThisInitialized(_this), "handleInputMount", function (el) {
|
|
469
469
|
_this.textInput = el;
|
|
470
|
+
Object(updateReactRef["a" /* updateReactRef */])(_this.props.inputRef, el);
|
|
471
|
+
});
|
|
470
472
|
|
|
473
|
+
ComboBox_defineProperty(ComboBox_assertThisInitialized(_this), "handleAnchorMount", function (el) {
|
|
471
474
|
_this.setState({
|
|
472
475
|
anchor: el
|
|
473
476
|
});
|
|
474
477
|
|
|
475
|
-
Object(updateReactRef["a" /* updateReactRef */])(_this.props.
|
|
478
|
+
Object(updateReactRef["a" /* updateReactRef */])(_this.props.elementRef, el);
|
|
476
479
|
});
|
|
477
480
|
|
|
478
481
|
ComboBox_defineProperty(ComboBox_assertThisInitialized(_this), "handleActiveOptionMount", function (c) {
|
|
@@ -834,6 +837,7 @@ var ComboBox_ComboBox = /*#__PURE__*/function (_Component) {
|
|
|
834
837
|
onChange: this.handleChange,
|
|
835
838
|
onKeyDown: this.handleInputKeyDown,
|
|
836
839
|
inputRef: this.handleInputMount,
|
|
840
|
+
elementRef: this.handleAnchorMount,
|
|
837
841
|
role: "combobox",
|
|
838
842
|
value: currentDisplayValue,
|
|
839
843
|
"aria-activedescendant": this.activeItemId,
|
package/Concertina.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 = 119);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -102,13 +102,6 @@ module.exports = require("prop-types");
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
104
|
/***/ 11:
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 12:
|
|
112
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
106
|
|
|
114
107
|
"use strict";
|
|
@@ -135,7 +128,7 @@ function updateReactRef(ref, current) {
|
|
|
135
128
|
|
|
136
129
|
/***/ }),
|
|
137
130
|
|
|
138
|
-
/***/
|
|
131
|
+
/***/ 119:
|
|
139
132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
133
|
|
|
141
134
|
"use strict";
|
|
@@ -166,7 +159,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
166
159
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
167
160
|
|
|
168
161
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
169
|
-
var Clickable_ = __webpack_require__(
|
|
162
|
+
var Clickable_ = __webpack_require__(12);
|
|
170
163
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
171
164
|
|
|
172
165
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -338,7 +331,7 @@ var Box_ = __webpack_require__(8);
|
|
|
338
331
|
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
|
|
339
332
|
|
|
340
333
|
// EXTERNAL MODULE: external "@splunk/react-ui/Scroll"
|
|
341
|
-
var Scroll_ = __webpack_require__(
|
|
334
|
+
var Scroll_ = __webpack_require__(65);
|
|
342
335
|
var Scroll_default = /*#__PURE__*/__webpack_require__.n(Scroll_);
|
|
343
336
|
|
|
344
337
|
// CONCATENATED MODULE: ./src/Concertina/ConcertinaStyles.ts
|
|
@@ -378,7 +371,7 @@ var StyledPanelBody = external_styled_components_default.a.div.withConfig({
|
|
|
378
371
|
}));
|
|
379
372
|
|
|
380
373
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
381
|
-
var updateReactRef = __webpack_require__(
|
|
374
|
+
var updateReactRef = __webpack_require__(11);
|
|
382
375
|
|
|
383
376
|
// CONCATENATED MODULE: ./src/Concertina/ConcertinaContext.tsx
|
|
384
377
|
|
|
@@ -867,6 +860,13 @@ Concertina_defineProperty(Concertina_Concertina, "Panel", Concertina_Panel);
|
|
|
867
860
|
|
|
868
861
|
|
|
869
862
|
|
|
863
|
+
/***/ }),
|
|
864
|
+
|
|
865
|
+
/***/ 12:
|
|
866
|
+
/***/ (function(module, exports) {
|
|
867
|
+
|
|
868
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
869
|
+
|
|
870
870
|
/***/ }),
|
|
871
871
|
|
|
872
872
|
/***/ 15:
|
|
@@ -897,7 +897,7 @@ module.exports = require("lodash");
|
|
|
897
897
|
|
|
898
898
|
/***/ }),
|
|
899
899
|
|
|
900
|
-
/***/
|
|
900
|
+
/***/ 65:
|
|
901
901
|
/***/ (function(module, exports) {
|
|
902
902
|
|
|
903
903
|
module.exports = require("@splunk/react-ui/Scroll");
|
package/ControlGroup.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 = 136);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 136:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -190,10 +190,16 @@ var StyledControlsStackBox = external_styled_components_default()(Box_default.a)
|
|
|
190
190
|
var StyledLabelWrapper = external_styled_components_default.a.div.withConfig({
|
|
191
191
|
displayName: "ControlGroupStyles__StyledLabelWrapper",
|
|
192
192
|
componentId: "wjnyif-2"
|
|
193
|
-
})(["display:inline-flex;align-items:center;", ""], Object(themes_["pick"])({
|
|
194
|
-
enterprise: Object(external_styled_components_["css"])(["justify-content:flex-end;"])
|
|
195
|
-
|
|
196
|
-
|
|
193
|
+
})(["display:inline-flex;align-items:center;", " ", ""], Object(themes_["pick"])({
|
|
194
|
+
enterprise: Object(external_styled_components_["css"])(["justify-content:flex-end;"])
|
|
195
|
+
}), function (_ref2) {
|
|
196
|
+
var $labelPosition = _ref2.$labelPosition;
|
|
197
|
+
return $labelPosition === 'top' ? Object(external_styled_components_["css"])(["", ""], Object(themes_["pick"])({
|
|
198
|
+
prisma: Object(external_styled_components_["css"])(["padding-bottom:", ";"], themes_["variables"].spacingXSmall)
|
|
199
|
+
})) : Object(external_styled_components_["css"])(["", ""], Object(themes_["pick"])({
|
|
200
|
+
prisma: Object(external_styled_components_["css"])(["min-height:", ";"], themes_["variables"].inputHeight)
|
|
201
|
+
}));
|
|
202
|
+
});
|
|
197
203
|
var StyledLabelWrapperLeft = external_styled_components_default()(StyledLabelWrapper).withConfig({
|
|
198
204
|
displayName: "ControlGroupStyles__StyledLabelWrapperLeft",
|
|
199
205
|
componentId: "wjnyif-3"
|
|
@@ -302,7 +308,8 @@ var propTypes = {
|
|
|
302
308
|
|
|
303
309
|
/** @private */
|
|
304
310
|
splunkTheme: external_prop_types_default.a.object,
|
|
305
|
-
tooltip: external_prop_types_default.a.node
|
|
311
|
+
tooltip: external_prop_types_default.a.node,
|
|
312
|
+
tooltipDefaultPlacement: external_prop_types_default.a.oneOf(['above', 'below', 'left', 'right', 'theme'])
|
|
306
313
|
};
|
|
307
314
|
var defaultProps = {
|
|
308
315
|
controlsLayout: 'fill',
|
|
@@ -478,7 +485,8 @@ var ControlGroup_ControlGroup = /*#__PURE__*/function (_Component) {
|
|
|
478
485
|
size = _this$props.size,
|
|
479
486
|
splunkTheme = _this$props.splunkTheme,
|
|
480
487
|
tooltip = _this$props.tooltip,
|
|
481
|
-
|
|
488
|
+
tooltipDefaultPlacement = _this$props.tooltipDefaultPlacement,
|
|
489
|
+
otherProps = _objectWithoutProperties(_this$props, ["children", "controlsLayout", "error", "help", "hideLabel", "label", "labelFor", "labelPosition", "labelWidth", "size", "splunkTheme", "tooltip", "tooltipDefaultPlacement"]);
|
|
482
490
|
|
|
483
491
|
var isPrisma = splunkTheme.isPrisma,
|
|
484
492
|
isCompact = splunkTheme.isCompact;
|
|
@@ -572,7 +580,8 @@ var ControlGroup_ControlGroup = /*#__PURE__*/function (_Component) {
|
|
|
572
580
|
var StyledControlsComponent = controlsLayout === 'stack' ? StyledControlsStackBox : Box_default.a;
|
|
573
581
|
var StyledLabelWrapperComponent = labelPosition === 'left' ? StyledLabelWrapperLeft : StyledLabelWrapper;
|
|
574
582
|
var styledLabel = /*#__PURE__*/external_react_default.a.createElement(StyledLabelWrapperComponent, {
|
|
575
|
-
style: labelWidthStyle
|
|
583
|
+
style: labelWidthStyle,
|
|
584
|
+
$labelPosition: labelPosition
|
|
576
585
|
}, /*#__PURE__*/external_react_default.a.createElement(StyledLabel, {
|
|
577
586
|
"data-size": size,
|
|
578
587
|
"data-test": "label",
|
|
@@ -581,6 +590,7 @@ var ControlGroup_ControlGroup = /*#__PURE__*/function (_Component) {
|
|
|
581
590
|
$tooltip: !!tooltip
|
|
582
591
|
}, label, !isPrisma && !hideLabel && tooltip && /*#__PURE__*/external_react_default.a.createElement("span", null, "\xA0"), !hideLabel && tooltip && /*#__PURE__*/external_react_default.a.createElement(ScreenReaderContent_default.a, null, tooltip)), !hideLabel && tooltip && /*#__PURE__*/external_react_default.a.createElement(Tooltip_default.a, {
|
|
583
592
|
content: tooltip,
|
|
593
|
+
defaultPlacement: tooltipDefaultPlacement,
|
|
584
594
|
"aria-hidden": "true"
|
|
585
595
|
}));
|
|
586
596
|
return /*#__PURE__*/external_react_default.a.createElement(StyledBox, _extends({
|
package/Date.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 = 137);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 11:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -135,7 +135,7 @@ function updateReactRef(ref, current) {
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 137:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -168,7 +168,7 @@ var id_ = __webpack_require__(10);
|
|
|
168
168
|
var keyboard_ = __webpack_require__(9);
|
|
169
169
|
|
|
170
170
|
// EXTERNAL MODULE: external "@splunk/react-ui/Calendar"
|
|
171
|
-
var Calendar_ = __webpack_require__(
|
|
171
|
+
var Calendar_ = __webpack_require__(83);
|
|
172
172
|
var Calendar_default = /*#__PURE__*/__webpack_require__.n(Calendar_);
|
|
173
173
|
|
|
174
174
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
@@ -235,7 +235,7 @@ function CalendarIcon(props) {
|
|
|
235
235
|
}));
|
|
236
236
|
}
|
|
237
237
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
238
|
-
var updateReactRef = __webpack_require__(
|
|
238
|
+
var updateReactRef = __webpack_require__(11);
|
|
239
239
|
|
|
240
240
|
// CONCATENATED MODULE: ./src/Date/Date.tsx
|
|
241
241
|
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); }
|
|
@@ -618,7 +618,7 @@ module.exports = require("lodash");
|
|
|
618
618
|
|
|
619
619
|
/***/ }),
|
|
620
620
|
|
|
621
|
-
/***/
|
|
621
|
+
/***/ 83:
|
|
622
622
|
/***/ (function(module, exports) {
|
|
623
623
|
|
|
624
624
|
module.exports = require("@splunk/react-ui/Calendar");
|
package/DefinitionList.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 = 120);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 120:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Dropdown.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 174);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 11:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,7 +135,7 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 174:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -165,7 +165,7 @@ var Popover_ = __webpack_require__(16);
|
|
|
165
165
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
166
166
|
|
|
167
167
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
168
|
-
var updateReactRef = __webpack_require__(
|
|
168
|
+
var updateReactRef = __webpack_require__(11);
|
|
169
169
|
|
|
170
170
|
// CONCATENATED MODULE: ./src/Dropdown/Dropdown.tsx
|
|
171
171
|
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/EventListener.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 = 175);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -94,7 +94,7 @@ module.exports = require("prop-types");
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/
|
|
97
|
+
/***/ 175:
|
|
98
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
99
|
|
|
100
100
|
"use strict";
|
|
@@ -113,7 +113,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
113
113
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
114
114
|
|
|
115
115
|
// EXTERNAL MODULE: external "use-typed-event-listener"
|
|
116
|
-
var external_use_typed_event_listener_ = __webpack_require__(
|
|
116
|
+
var external_use_typed_event_listener_ = __webpack_require__(84);
|
|
117
117
|
var external_use_typed_event_listener_default = /*#__PURE__*/__webpack_require__.n(external_use_typed_event_listener_);
|
|
118
118
|
|
|
119
119
|
// CONCATENATED MODULE: ./src/EventListener/EventListener.tsx
|
|
@@ -158,7 +158,7 @@ module.exports = require("react");
|
|
|
158
158
|
|
|
159
159
|
/***/ }),
|
|
160
160
|
|
|
161
|
-
/***/
|
|
161
|
+
/***/ 84:
|
|
162
162
|
/***/ (function(module, exports) {
|
|
163
163
|
|
|
164
164
|
module.exports = require("use-typed-event-listener");
|
package/File.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 = 112);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,14 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 115:
|
|
111
|
+
/***/ 112:
|
|
119
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
113
|
|
|
121
114
|
"use strict";
|
|
@@ -154,7 +147,7 @@ var id_ = __webpack_require__(10);
|
|
|
154
147
|
var format_ = __webpack_require__(41);
|
|
155
148
|
|
|
156
149
|
// EXTERNAL MODULE: external "@splunk/react-ui/Progress"
|
|
157
|
-
var Progress_ = __webpack_require__(
|
|
150
|
+
var Progress_ = __webpack_require__(85);
|
|
158
151
|
var Progress_default = /*#__PURE__*/__webpack_require__.n(Progress_);
|
|
159
152
|
|
|
160
153
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
@@ -238,11 +231,11 @@ var Box_ = __webpack_require__(8);
|
|
|
238
231
|
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
|
|
239
232
|
|
|
240
233
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
241
|
-
var Clickable_ = __webpack_require__(
|
|
234
|
+
var Clickable_ = __webpack_require__(12);
|
|
242
235
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
243
236
|
|
|
244
237
|
// EXTERNAL MODULE: external "@splunk/themes/mixins"
|
|
245
|
-
var mixins_ = __webpack_require__(
|
|
238
|
+
var mixins_ = __webpack_require__(86);
|
|
246
239
|
|
|
247
240
|
// CONCATENATED MODULE: ./src/File/ItemStyles.ts
|
|
248
241
|
|
|
@@ -1014,6 +1007,13 @@ HoistedFileWithTheme.Item = File_Item;
|
|
|
1014
1007
|
|
|
1015
1008
|
|
|
1016
1009
|
|
|
1010
|
+
/***/ }),
|
|
1011
|
+
|
|
1012
|
+
/***/ 12:
|
|
1013
|
+
/***/ (function(module, exports) {
|
|
1014
|
+
|
|
1015
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
1016
|
+
|
|
1017
1017
|
/***/ }),
|
|
1018
1018
|
|
|
1019
1019
|
/***/ 15:
|
|
@@ -1272,14 +1272,14 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1272
1272
|
|
|
1273
1273
|
/***/ }),
|
|
1274
1274
|
|
|
1275
|
-
/***/
|
|
1275
|
+
/***/ 85:
|
|
1276
1276
|
/***/ (function(module, exports) {
|
|
1277
1277
|
|
|
1278
1278
|
module.exports = require("@splunk/react-ui/Progress");
|
|
1279
1279
|
|
|
1280
1280
|
/***/ }),
|
|
1281
1281
|
|
|
1282
|
-
/***/
|
|
1282
|
+
/***/ 86:
|
|
1283
1283
|
/***/ (function(module, exports) {
|
|
1284
1284
|
|
|
1285
1285
|
module.exports = require("@splunk/themes/mixins");
|
package/FormRows.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 = 121);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 121:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -127,7 +127,7 @@ var i18n_ = __webpack_require__(5);
|
|
|
127
127
|
var keyboard_ = __webpack_require__(9);
|
|
128
128
|
|
|
129
129
|
// EXTERNAL MODULE: external "@splunk/react-icons/Plus"
|
|
130
|
-
var Plus_ = __webpack_require__(
|
|
130
|
+
var Plus_ = __webpack_require__(87);
|
|
131
131
|
var Plus_default = /*#__PURE__*/__webpack_require__.n(Plus_);
|
|
132
132
|
|
|
133
133
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -180,7 +180,7 @@ var external_react_sortable_hoc_ = __webpack_require__(77);
|
|
|
180
180
|
var external_lodash_ = __webpack_require__(4);
|
|
181
181
|
|
|
182
182
|
// EXTERNAL MODULE: external "@splunk/react-ui/CloseButton"
|
|
183
|
-
var CloseButton_ = __webpack_require__(
|
|
183
|
+
var CloseButton_ = __webpack_require__(66);
|
|
184
184
|
var CloseButton_default = /*#__PURE__*/__webpack_require__.n(CloseButton_);
|
|
185
185
|
|
|
186
186
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
@@ -772,7 +772,7 @@ function SVG(props) {
|
|
|
772
772
|
|
|
773
773
|
/***/ }),
|
|
774
774
|
|
|
775
|
-
/***/
|
|
775
|
+
/***/ 66:
|
|
776
776
|
/***/ (function(module, exports) {
|
|
777
777
|
|
|
778
778
|
module.exports = require("@splunk/react-ui/CloseButton");
|
|
@@ -911,7 +911,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
911
911
|
|
|
912
912
|
/***/ }),
|
|
913
913
|
|
|
914
|
-
/***/
|
|
914
|
+
/***/ 87:
|
|
915
915
|
/***/ (function(module, exports) {
|
|
916
916
|
|
|
917
917
|
module.exports = require("@splunk/react-icons/Plus");
|
package/Heading.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 = 154);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 154:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|