@splunk/react-ui 4.17.1 → 4.18.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 +2 -2
- package/AnimationToggle.js +5 -5
- package/Button.js +2 -2
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +18 -2
- package/Calendar.js +2 -2
- package/Code.js +4 -4
- package/Color.js +202 -175
- package/ColumnLayout.js +6 -6
- package/Concertina.js +6 -6
- package/DefinitionList.js +2 -2
- package/Dropdown.js +4 -4
- package/DualListbox.js +9 -6
- package/File.js +7 -7
- package/FormRows.js +4 -4
- package/Heading.js +8 -4
- package/JSONTree.js +30 -28
- package/Layer.js +10 -10
- package/Link.js +2 -2
- package/List.js +7 -4
- package/MIGRATION.mdx +295 -0
- package/Markdown.js +12 -7
- package/Menu.js +15 -15
- package/Message.js +19 -19
- package/MessageBar.js +17 -17
- package/Modal.js +7 -7
- package/Multiselect.js +11 -11
- package/Number.js +3 -2
- package/Paginator.js +2 -2
- package/Popover.js +15 -11
- package/RadioBar.js +2 -2
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/Scroll.js +2 -2
- package/Select.js +6 -6
- package/SidePanel.js +2 -2
- package/Slider.js +5 -5
- package/StepBar.js +2 -2
- package/Switch.js +2 -2
- package/TabBar.js +66 -49
- package/Table.js +10 -10
- package/Text.js +5 -5
- package/TextArea.js +4 -4
- package/Typography.js +2 -2
- package/package.json +6 -11
- 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/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/Row.d.ts +1 -0
- package/types/src/Heading/Heading.d.ts +7 -2
- 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/MIGRATION.md +0 -49
- 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/Markdown.js
CHANGED
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 107:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/List");
|
|
@@ -292,7 +292,7 @@ function MarkdownCodeBlock(_ref) {
|
|
|
292
292
|
MarkdownCodeBlock.propTypes = MarkdownCodeBlock_propTypes;
|
|
293
293
|
/* harmony default export */ var renderers_MarkdownCodeBlock = (MarkdownCodeBlock);
|
|
294
294
|
// EXTERNAL MODULE: external "@splunk/react-ui/Heading"
|
|
295
|
-
var Heading_ = __webpack_require__(
|
|
295
|
+
var Heading_ = __webpack_require__(77);
|
|
296
296
|
var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading_);
|
|
297
297
|
|
|
298
298
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownHeading.tsx
|
|
@@ -395,7 +395,7 @@ function MarkdownLink(_ref) {
|
|
|
395
395
|
MarkdownLink.propTypes = MarkdownLink_propTypes;
|
|
396
396
|
/* harmony default export */ var renderers_MarkdownLink = (MarkdownLink);
|
|
397
397
|
// EXTERNAL MODULE: external "@splunk/react-ui/List"
|
|
398
|
-
var List_ = __webpack_require__(
|
|
398
|
+
var List_ = __webpack_require__(107);
|
|
399
399
|
var List_default = /*#__PURE__*/__webpack_require__.n(List_);
|
|
400
400
|
|
|
401
401
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
|
|
@@ -410,9 +410,14 @@ var MarkdownList_propTypes = {
|
|
|
410
410
|
function MarkdownList(_ref) {
|
|
411
411
|
var children = _ref.children,
|
|
412
412
|
type = _ref.type;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
413
|
+
|
|
414
|
+
if (type === 'ordered') {
|
|
415
|
+
return /*#__PURE__*/external_react_default.a.createElement(List_default.a, {
|
|
416
|
+
ordered: true
|
|
417
|
+
}, children);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
return /*#__PURE__*/external_react_default.a.createElement(List_default.a, null, children);
|
|
416
421
|
}
|
|
417
422
|
|
|
418
423
|
MarkdownList.propTypes = MarkdownList_propTypes;
|
|
@@ -596,7 +601,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
596
601
|
|
|
597
602
|
/***/ }),
|
|
598
603
|
|
|
599
|
-
/***/
|
|
604
|
+
/***/ 77:
|
|
600
605
|
/***/ (function(module, exports) {
|
|
601
606
|
|
|
602
607
|
module.exports = require("@splunk/react-ui/Heading");
|
package/Menu.js
CHANGED
|
@@ -254,7 +254,7 @@ Divider.filterLast = true;
|
|
|
254
254
|
Divider.as = 'Divider';
|
|
255
255
|
/* harmony default export */ var Menu_Divider = (Divider);
|
|
256
256
|
// EXTERNAL MODULE: external "@splunk/react-ui/Heading"
|
|
257
|
-
var Heading_ = __webpack_require__(
|
|
257
|
+
var Heading_ = __webpack_require__(77);
|
|
258
258
|
var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading_);
|
|
259
259
|
|
|
260
260
|
// EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
|
|
@@ -365,11 +365,11 @@ var CaretSmallRight_ = __webpack_require__(142);
|
|
|
365
365
|
var CaretSmallRight_default = /*#__PURE__*/__webpack_require__.n(CaretSmallRight_);
|
|
366
366
|
|
|
367
367
|
// EXTERNAL MODULE: external "@splunk/react-icons/Checkmark"
|
|
368
|
-
var Checkmark_ = __webpack_require__(
|
|
368
|
+
var Checkmark_ = __webpack_require__(75);
|
|
369
369
|
var Checkmark_default = /*#__PURE__*/__webpack_require__.n(Checkmark_);
|
|
370
370
|
|
|
371
371
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Check"
|
|
372
|
-
var Check_ = __webpack_require__(
|
|
372
|
+
var Check_ = __webpack_require__(94);
|
|
373
373
|
var Check_default = /*#__PURE__*/__webpack_require__.n(Check_);
|
|
374
374
|
|
|
375
375
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
|
|
@@ -423,7 +423,7 @@ var StyledItemIcon = external_styled_components_default.a.span.withConfig({
|
|
|
423
423
|
prisma: 'initial',
|
|
424
424
|
enterprise: 'middle'
|
|
425
425
|
}), Object(themes_["pick"])({
|
|
426
|
-
prisma: Object(external_styled_components_["css"])(["color:", ";display:inline-flex;align-items:center;min-width:20px;min-height:20px;"], themes_["variables"].contentColorMuted),
|
|
426
|
+
prisma: Object(external_styled_components_["css"])(["color:", ";display:inline-flex;align-items:center;min-width:20px;min-height:20px;& > svg{width:20px;height:20px;}"], themes_["variables"].contentColorMuted),
|
|
427
427
|
enterprise: Object(external_styled_components_["css"])(["transform:translateY(-1px);"])
|
|
428
428
|
}));
|
|
429
429
|
var StyledClickable = external_styled_components_default()(Clickable_default.a).withConfig({
|
|
@@ -559,7 +559,7 @@ var StyledSubmenu = external_styled_components_default.a.span.withConfig({
|
|
|
559
559
|
}));
|
|
560
560
|
|
|
561
561
|
// EXTERNAL MODULE: external "@splunk/react-icons/ArrowSquareTopRight"
|
|
562
|
-
var ArrowSquareTopRight_ = __webpack_require__(
|
|
562
|
+
var ArrowSquareTopRight_ = __webpack_require__(93);
|
|
563
563
|
var ArrowSquareTopRight_default = /*#__PURE__*/__webpack_require__.n(ArrowSquareTopRight_);
|
|
564
564
|
|
|
565
565
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/External"
|
|
@@ -609,7 +609,7 @@ function External() {
|
|
|
609
609
|
var updateReactRef = __webpack_require__(11);
|
|
610
610
|
|
|
611
611
|
// EXTERNAL MODULE: ./src/utils/scrollIntoViewIfNeeded.ts
|
|
612
|
-
var utils_scrollIntoViewIfNeeded = __webpack_require__(
|
|
612
|
+
var utils_scrollIntoViewIfNeeded = __webpack_require__(88);
|
|
613
613
|
|
|
614
614
|
// CONCATENATED MODULE: ./src/Menu/Item.tsx
|
|
615
615
|
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); }
|
|
@@ -901,7 +901,7 @@ ItemWithTheme.propTypes = Item_Item.propTypes;
|
|
|
901
901
|
ItemWithTheme.as = 'Item';
|
|
902
902
|
/* harmony default export */ var Menu_Item = (ItemWithTheme);
|
|
903
903
|
// EXTERNAL MODULE: external "@splunk/react-ui/Scroll"
|
|
904
|
-
var Scroll_ = __webpack_require__(
|
|
904
|
+
var Scroll_ = __webpack_require__(86);
|
|
905
905
|
var Scroll_default = /*#__PURE__*/__webpack_require__.n(Scroll_);
|
|
906
906
|
|
|
907
907
|
// CONCATENATED MODULE: ./src/Menu/MenuStyles.ts
|
|
@@ -1266,28 +1266,28 @@ module.exports = require("@splunk/ui-utils/keyboard");
|
|
|
1266
1266
|
|
|
1267
1267
|
/***/ }),
|
|
1268
1268
|
|
|
1269
|
-
/***/
|
|
1269
|
+
/***/ 75:
|
|
1270
1270
|
/***/ (function(module, exports) {
|
|
1271
1271
|
|
|
1272
|
-
module.exports = require("@splunk/react-
|
|
1272
|
+
module.exports = require("@splunk/react-icons/Checkmark");
|
|
1273
1273
|
|
|
1274
1274
|
/***/ }),
|
|
1275
1275
|
|
|
1276
|
-
/***/
|
|
1276
|
+
/***/ 77:
|
|
1277
1277
|
/***/ (function(module, exports) {
|
|
1278
1278
|
|
|
1279
|
-
module.exports = require("@splunk/react-
|
|
1279
|
+
module.exports = require("@splunk/react-ui/Heading");
|
|
1280
1280
|
|
|
1281
1281
|
/***/ }),
|
|
1282
1282
|
|
|
1283
|
-
/***/
|
|
1283
|
+
/***/ 86:
|
|
1284
1284
|
/***/ (function(module, exports) {
|
|
1285
1285
|
|
|
1286
1286
|
module.exports = require("@splunk/react-ui/Scroll");
|
|
1287
1287
|
|
|
1288
1288
|
/***/ }),
|
|
1289
1289
|
|
|
1290
|
-
/***/
|
|
1290
|
+
/***/ 88:
|
|
1291
1291
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1292
1292
|
|
|
1293
1293
|
"use strict";
|
|
@@ -1316,14 +1316,14 @@ var scrollIntoViewIfNeeded = function scrollIntoViewIfNeeded(el) {
|
|
|
1316
1316
|
|
|
1317
1317
|
/***/ }),
|
|
1318
1318
|
|
|
1319
|
-
/***/
|
|
1319
|
+
/***/ 93:
|
|
1320
1320
|
/***/ (function(module, exports) {
|
|
1321
1321
|
|
|
1322
1322
|
module.exports = require("@splunk/react-icons/ArrowSquareTopRight");
|
|
1323
1323
|
|
|
1324
1324
|
/***/ }),
|
|
1325
1325
|
|
|
1326
|
-
/***/
|
|
1326
|
+
/***/ 94:
|
|
1327
1327
|
/***/ (function(module, exports) {
|
|
1328
1328
|
|
|
1329
1329
|
module.exports = require("@splunk/react-icons/enterprise/Check");
|
package/Message.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 = 181);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -104,13 +104,6 @@ module.exports = require("prop-types");
|
|
|
104
104
|
/***/ 100:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
|
-
module.exports = require("@splunk/react-icons/enterprise/Success");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 101:
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
107
|
module.exports = require("@splunk/react-icons/enterprise/Warning");
|
|
115
108
|
|
|
116
109
|
/***/ }),
|
|
@@ -129,7 +122,7 @@ module.exports = require("@splunk/react-ui/MessageBar");
|
|
|
129
122
|
|
|
130
123
|
/***/ }),
|
|
131
124
|
|
|
132
|
-
/***/
|
|
125
|
+
/***/ 181:
|
|
133
126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
134
127
|
|
|
135
128
|
"use strict";
|
|
@@ -165,27 +158,27 @@ var ExclamationCircle_ = __webpack_require__(71);
|
|
|
165
158
|
var ExclamationCircle_default = /*#__PURE__*/__webpack_require__.n(ExclamationCircle_);
|
|
166
159
|
|
|
167
160
|
// EXTERNAL MODULE: external "@splunk/react-icons/InformationCircle"
|
|
168
|
-
var InformationCircle_ = __webpack_require__(
|
|
161
|
+
var InformationCircle_ = __webpack_require__(95);
|
|
169
162
|
var InformationCircle_default = /*#__PURE__*/__webpack_require__.n(InformationCircle_);
|
|
170
163
|
|
|
171
164
|
// EXTERNAL MODULE: external "@splunk/react-icons/ExclamationTriangle"
|
|
172
|
-
var ExclamationTriangle_ = __webpack_require__(
|
|
165
|
+
var ExclamationTriangle_ = __webpack_require__(96);
|
|
173
166
|
var ExclamationTriangle_default = /*#__PURE__*/__webpack_require__.n(ExclamationTriangle_);
|
|
174
167
|
|
|
175
168
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Error"
|
|
176
|
-
var Error_ = __webpack_require__(
|
|
169
|
+
var Error_ = __webpack_require__(97);
|
|
177
170
|
var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
|
|
178
171
|
|
|
179
172
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/InfoCircle"
|
|
180
|
-
var InfoCircle_ = __webpack_require__(
|
|
173
|
+
var InfoCircle_ = __webpack_require__(98);
|
|
181
174
|
var InfoCircle_default = /*#__PURE__*/__webpack_require__.n(InfoCircle_);
|
|
182
175
|
|
|
183
176
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Success"
|
|
184
|
-
var Success_ = __webpack_require__(
|
|
177
|
+
var Success_ = __webpack_require__(99);
|
|
185
178
|
var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
|
|
186
179
|
|
|
187
180
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Warning"
|
|
188
|
-
var Warning_ = __webpack_require__(
|
|
181
|
+
var Warning_ = __webpack_require__(100);
|
|
189
182
|
var Warning_default = /*#__PURE__*/__webpack_require__.n(Warning_);
|
|
190
183
|
|
|
191
184
|
// EXTERNAL MODULE: external "@splunk/react-ui/MessageBar"
|
|
@@ -603,32 +596,39 @@ module.exports = require("@splunk/react-icons/ExclamationCircle");
|
|
|
603
596
|
|
|
604
597
|
/***/ }),
|
|
605
598
|
|
|
606
|
-
/***/
|
|
599
|
+
/***/ 95:
|
|
607
600
|
/***/ (function(module, exports) {
|
|
608
601
|
|
|
609
602
|
module.exports = require("@splunk/react-icons/InformationCircle");
|
|
610
603
|
|
|
611
604
|
/***/ }),
|
|
612
605
|
|
|
613
|
-
/***/
|
|
606
|
+
/***/ 96:
|
|
614
607
|
/***/ (function(module, exports) {
|
|
615
608
|
|
|
616
609
|
module.exports = require("@splunk/react-icons/ExclamationTriangle");
|
|
617
610
|
|
|
618
611
|
/***/ }),
|
|
619
612
|
|
|
620
|
-
/***/
|
|
613
|
+
/***/ 97:
|
|
621
614
|
/***/ (function(module, exports) {
|
|
622
615
|
|
|
623
616
|
module.exports = require("@splunk/react-icons/enterprise/Error");
|
|
624
617
|
|
|
625
618
|
/***/ }),
|
|
626
619
|
|
|
627
|
-
/***/
|
|
620
|
+
/***/ 98:
|
|
628
621
|
/***/ (function(module, exports) {
|
|
629
622
|
|
|
630
623
|
module.exports = require("@splunk/react-icons/enterprise/InfoCircle");
|
|
631
624
|
|
|
625
|
+
/***/ }),
|
|
626
|
+
|
|
627
|
+
/***/ 99:
|
|
628
|
+
/***/ (function(module, exports) {
|
|
629
|
+
|
|
630
|
+
module.exports = require("@splunk/react-icons/enterprise/Success");
|
|
631
|
+
|
|
632
632
|
/***/ })
|
|
633
633
|
|
|
634
634
|
/******/ });
|
package/MessageBar.js
CHANGED
|
@@ -104,13 +104,6 @@ module.exports = require("prop-types");
|
|
|
104
104
|
/***/ 100:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
|
-
module.exports = require("@splunk/react-icons/enterprise/Success");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 101:
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
107
|
module.exports = require("@splunk/react-icons/enterprise/Warning");
|
|
115
108
|
|
|
116
109
|
/***/ }),
|
|
@@ -185,27 +178,27 @@ var ExclamationCircle_ = __webpack_require__(71);
|
|
|
185
178
|
var ExclamationCircle_default = /*#__PURE__*/__webpack_require__.n(ExclamationCircle_);
|
|
186
179
|
|
|
187
180
|
// EXTERNAL MODULE: external "@splunk/react-icons/InformationCircle"
|
|
188
|
-
var InformationCircle_ = __webpack_require__(
|
|
181
|
+
var InformationCircle_ = __webpack_require__(95);
|
|
189
182
|
var InformationCircle_default = /*#__PURE__*/__webpack_require__.n(InformationCircle_);
|
|
190
183
|
|
|
191
184
|
// EXTERNAL MODULE: external "@splunk/react-icons/ExclamationTriangle"
|
|
192
|
-
var ExclamationTriangle_ = __webpack_require__(
|
|
185
|
+
var ExclamationTriangle_ = __webpack_require__(96);
|
|
193
186
|
var ExclamationTriangle_default = /*#__PURE__*/__webpack_require__.n(ExclamationTriangle_);
|
|
194
187
|
|
|
195
188
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Error"
|
|
196
|
-
var Error_ = __webpack_require__(
|
|
189
|
+
var Error_ = __webpack_require__(97);
|
|
197
190
|
var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
|
|
198
191
|
|
|
199
192
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/InfoCircle"
|
|
200
|
-
var InfoCircle_ = __webpack_require__(
|
|
193
|
+
var InfoCircle_ = __webpack_require__(98);
|
|
201
194
|
var InfoCircle_default = /*#__PURE__*/__webpack_require__.n(InfoCircle_);
|
|
202
195
|
|
|
203
196
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Success"
|
|
204
|
-
var Success_ = __webpack_require__(
|
|
197
|
+
var Success_ = __webpack_require__(99);
|
|
205
198
|
var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
|
|
206
199
|
|
|
207
200
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Warning"
|
|
208
|
-
var Warning_ = __webpack_require__(
|
|
201
|
+
var Warning_ = __webpack_require__(100);
|
|
209
202
|
var Warning_default = /*#__PURE__*/__webpack_require__.n(Warning_);
|
|
210
203
|
|
|
211
204
|
// EXTERNAL MODULE: external "@splunk/react-ui/Box"
|
|
@@ -535,32 +528,39 @@ module.exports = require("@splunk/react-icons/ExclamationCircle");
|
|
|
535
528
|
|
|
536
529
|
/***/ }),
|
|
537
530
|
|
|
538
|
-
/***/
|
|
531
|
+
/***/ 95:
|
|
539
532
|
/***/ (function(module, exports) {
|
|
540
533
|
|
|
541
534
|
module.exports = require("@splunk/react-icons/InformationCircle");
|
|
542
535
|
|
|
543
536
|
/***/ }),
|
|
544
537
|
|
|
545
|
-
/***/
|
|
538
|
+
/***/ 96:
|
|
546
539
|
/***/ (function(module, exports) {
|
|
547
540
|
|
|
548
541
|
module.exports = require("@splunk/react-icons/ExclamationTriangle");
|
|
549
542
|
|
|
550
543
|
/***/ }),
|
|
551
544
|
|
|
552
|
-
/***/
|
|
545
|
+
/***/ 97:
|
|
553
546
|
/***/ (function(module, exports) {
|
|
554
547
|
|
|
555
548
|
module.exports = require("@splunk/react-icons/enterprise/Error");
|
|
556
549
|
|
|
557
550
|
/***/ }),
|
|
558
551
|
|
|
559
|
-
/***/
|
|
552
|
+
/***/ 98:
|
|
560
553
|
/***/ (function(module, exports) {
|
|
561
554
|
|
|
562
555
|
module.exports = require("@splunk/react-icons/enterprise/InfoCircle");
|
|
563
556
|
|
|
557
|
+
/***/ }),
|
|
558
|
+
|
|
559
|
+
/***/ 99:
|
|
560
|
+
/***/ (function(module, exports) {
|
|
561
|
+
|
|
562
|
+
module.exports = require("@splunk/react-icons/enterprise/Success");
|
|
563
|
+
|
|
564
564
|
/***/ })
|
|
565
565
|
|
|
566
566
|
/******/ });
|
package/Modal.js
CHANGED
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 101:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/ModalLayer");
|
|
@@ -149,7 +149,7 @@ var omit_ = __webpack_require__(5);
|
|
|
149
149
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
150
150
|
|
|
151
151
|
// EXTERNAL MODULE: external "@splunk/react-ui/ModalLayer"
|
|
152
|
-
var ModalLayer_ = __webpack_require__(
|
|
152
|
+
var ModalLayer_ = __webpack_require__(101);
|
|
153
153
|
var ModalLayer_default = /*#__PURE__*/__webpack_require__.n(ModalLayer_);
|
|
154
154
|
|
|
155
155
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
@@ -311,7 +311,7 @@ function Footer(_ref) {
|
|
|
311
311
|
Footer.propTypes = Footer_propTypes;
|
|
312
312
|
/* harmony default export */ var Modal_Footer = (Footer);
|
|
313
313
|
// EXTERNAL MODULE: external "@splunk/react-ui/CloseButton"
|
|
314
|
-
var CloseButton_ = __webpack_require__(
|
|
314
|
+
var CloseButton_ = __webpack_require__(89);
|
|
315
315
|
var CloseButton_default = /*#__PURE__*/__webpack_require__.n(CloseButton_);
|
|
316
316
|
|
|
317
317
|
// CONCATENATED MODULE: ./src/Modal/HeaderStyles.ts
|
|
@@ -788,17 +788,17 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
788
788
|
|
|
789
789
|
/***/ }),
|
|
790
790
|
|
|
791
|
-
/***/
|
|
791
|
+
/***/ 89:
|
|
792
792
|
/***/ (function(module, exports) {
|
|
793
793
|
|
|
794
|
-
module.exports = require("
|
|
794
|
+
module.exports = require("@splunk/react-ui/CloseButton");
|
|
795
795
|
|
|
796
796
|
/***/ }),
|
|
797
797
|
|
|
798
|
-
/***/
|
|
798
|
+
/***/ 9:
|
|
799
799
|
/***/ (function(module, exports) {
|
|
800
800
|
|
|
801
|
-
module.exports = require("
|
|
801
|
+
module.exports = require("lodash/keys");
|
|
802
802
|
|
|
803
803
|
/***/ })
|
|
804
804
|
|
package/Multiselect.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 = 184);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,14 +108,14 @@ module.exports = require("lodash/has");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 102:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
114
|
module.exports = require("lodash/forEachRight");
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 103:
|
|
119
119
|
/***/ (function(module, exports) {
|
|
120
120
|
|
|
121
121
|
module.exports = require("lodash/uniq");
|
|
@@ -177,7 +177,7 @@ module.exports = require("@splunk/react-ui/Chip");
|
|
|
177
177
|
|
|
178
178
|
/***/ }),
|
|
179
179
|
|
|
180
|
-
/***/
|
|
180
|
+
/***/ 15:
|
|
181
181
|
/***/ (function(module, exports) {
|
|
182
182
|
|
|
183
183
|
module.exports = require("lodash/includes");
|
|
@@ -267,7 +267,7 @@ function getWindow() {
|
|
|
267
267
|
|
|
268
268
|
/***/ }),
|
|
269
269
|
|
|
270
|
-
/***/
|
|
270
|
+
/***/ 184:
|
|
271
271
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
272
272
|
|
|
273
273
|
"use strict";
|
|
@@ -636,7 +636,7 @@ var keys_ = __webpack_require__(9);
|
|
|
636
636
|
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
|
|
637
637
|
|
|
638
638
|
// EXTERNAL MODULE: external "lodash/last"
|
|
639
|
-
var last_ = __webpack_require__(
|
|
639
|
+
var last_ = __webpack_require__(91);
|
|
640
640
|
var last_default = /*#__PURE__*/__webpack_require__.n(last_);
|
|
641
641
|
|
|
642
642
|
// EXTERNAL MODULE: external "lodash/pick"
|
|
@@ -1292,7 +1292,7 @@ var Normal_Normal = /*#__PURE__*/function (_Component) {
|
|
|
1292
1292
|
appearance: item.props ? item.props.selectedAppearance : undefined,
|
|
1293
1293
|
backgroundColor: item.props ? item.props.selectedBackgroundColor : undefined,
|
|
1294
1294
|
foregroundColor: item.props ? item.props.selectedForegroundColor : undefined
|
|
1295
|
-
}, item.props ? item.props.children || item.props.label : item);
|
|
1295
|
+
}, /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, item.props ? item.props.children || item.props.label : item));
|
|
1296
1296
|
});
|
|
1297
1297
|
}
|
|
1298
1298
|
}, {
|
|
@@ -2147,7 +2147,7 @@ var find_ = __webpack_require__(52);
|
|
|
2147
2147
|
var find_default = /*#__PURE__*/__webpack_require__.n(find_);
|
|
2148
2148
|
|
|
2149
2149
|
// EXTERNAL MODULE: external "lodash/forEachRight"
|
|
2150
|
-
var forEachRight_ = __webpack_require__(
|
|
2150
|
+
var forEachRight_ = __webpack_require__(102);
|
|
2151
2151
|
var forEachRight_default = /*#__PURE__*/__webpack_require__.n(forEachRight_);
|
|
2152
2152
|
|
|
2153
2153
|
// EXTERNAL MODULE: external "lodash/has"
|
|
@@ -2155,7 +2155,7 @@ var has_ = __webpack_require__(10);
|
|
|
2155
2155
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
2156
2156
|
|
|
2157
2157
|
// EXTERNAL MODULE: external "lodash/includes"
|
|
2158
|
-
var includes_ = __webpack_require__(
|
|
2158
|
+
var includes_ = __webpack_require__(15);
|
|
2159
2159
|
var includes_default = /*#__PURE__*/__webpack_require__.n(includes_);
|
|
2160
2160
|
|
|
2161
2161
|
// EXTERNAL MODULE: external "lodash/isUndefined"
|
|
@@ -2175,7 +2175,7 @@ var pick_ = __webpack_require__(41);
|
|
|
2175
2175
|
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
2176
2176
|
|
|
2177
2177
|
// EXTERNAL MODULE: external "lodash/uniq"
|
|
2178
|
-
var uniq_ = __webpack_require__(
|
|
2178
|
+
var uniq_ = __webpack_require__(103);
|
|
2179
2179
|
var uniq_default = /*#__PURE__*/__webpack_require__.n(uniq_);
|
|
2180
2180
|
|
|
2181
2181
|
// EXTERNAL MODULE: external "lodash/without"
|
|
@@ -3535,7 +3535,7 @@ module.exports = require("lodash/keys");
|
|
|
3535
3535
|
|
|
3536
3536
|
/***/ }),
|
|
3537
3537
|
|
|
3538
|
-
/***/
|
|
3538
|
+
/***/ 91:
|
|
3539
3539
|
/***/ (function(module, exports) {
|
|
3540
3540
|
|
|
3541
3541
|
module.exports = require("lodash/last");
|
package/Number.js
CHANGED
|
@@ -355,6 +355,7 @@ var propTypes = {
|
|
|
355
355
|
describedBy: external_prop_types_default.a.string,
|
|
356
356
|
disabled: external_prop_types_default.a.bool,
|
|
357
357
|
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
358
|
+
inputRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
358
359
|
error: external_prop_types_default.a.bool,
|
|
359
360
|
hideStepButtons: external_prop_types_default.a.bool,
|
|
360
361
|
inline: external_prop_types_default.a.bool,
|
|
@@ -645,9 +646,9 @@ var Number_Number = /*#__PURE__*/function (_Component) {
|
|
|
645
646
|
/**
|
|
646
647
|
* Place focus on the input.
|
|
647
648
|
*/
|
|
648
|
-
value: function focus() {
|
|
649
|
+
value: function focus(options) {
|
|
649
650
|
if (this.text) {
|
|
650
|
-
this.text.focus();
|
|
651
|
+
this.text.focus(options);
|
|
651
652
|
}
|
|
652
653
|
}
|
|
653
654
|
}, {
|
package/Paginator.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 = 182);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-icons/DotsThreeHorizontal");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 182:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
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 = 185);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -159,14 +159,14 @@ module.exports = require("lodash/intersection");
|
|
|
159
159
|
/***/ 15:
|
|
160
160
|
/***/ (function(module, exports) {
|
|
161
161
|
|
|
162
|
-
module.exports = require("
|
|
162
|
+
module.exports = require("lodash/includes");
|
|
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
|
+
/***/ 185:
|
|
250
250
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
251
251
|
|
|
252
252
|
"use strict";
|
|
@@ -266,7 +266,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
266
266
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
267
267
|
|
|
268
268
|
// EXTERNAL MODULE: external "react-dom"
|
|
269
|
-
var external_react_dom_ = __webpack_require__(
|
|
269
|
+
var external_react_dom_ = __webpack_require__(90);
|
|
270
270
|
|
|
271
271
|
// EXTERNAL MODULE: external "lodash/clamp"
|
|
272
272
|
var clamp_ = __webpack_require__(147);
|
|
@@ -285,7 +285,7 @@ var has_ = __webpack_require__(10);
|
|
|
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"
|
|
@@ -319,7 +319,7 @@ 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"
|
|
@@ -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
|
}
|
|
@@ -1655,7 +1659,7 @@ module.exports = require("lodash/keys");
|
|
|
1655
1659
|
|
|
1656
1660
|
/***/ }),
|
|
1657
1661
|
|
|
1658
|
-
/***/
|
|
1662
|
+
/***/ 90:
|
|
1659
1663
|
/***/ (function(module, exports) {
|
|
1660
1664
|
|
|
1661
1665
|
module.exports = require("react-dom");
|
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 = 186);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Button");
|
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
125
|
-
/***/
|
|
125
|
+
/***/ 186:
|
|
126
126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127
127
|
|
|
128
128
|
"use strict";
|