@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/Accordion.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 = 128);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 128:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -124,7 +124,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
124
124
|
var external_lodash_ = __webpack_require__(4);
|
|
125
125
|
|
|
126
126
|
// EXTERNAL MODULE: external "@splunk/react-ui/CollapsiblePanel"
|
|
127
|
-
var CollapsiblePanel_ = __webpack_require__(
|
|
127
|
+
var CollapsiblePanel_ = __webpack_require__(81);
|
|
128
128
|
var CollapsiblePanel_default = /*#__PURE__*/__webpack_require__.n(CollapsiblePanel_);
|
|
129
129
|
|
|
130
130
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -415,7 +415,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
415
415
|
|
|
416
416
|
/***/ }),
|
|
417
417
|
|
|
418
|
-
/***/
|
|
418
|
+
/***/ 81:
|
|
419
419
|
/***/ (function(module, exports) {
|
|
420
420
|
|
|
421
421
|
module.exports = require("@splunk/react-ui/CollapsiblePanel");
|
package/Anchor.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 = 145);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 145:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Animation.js
CHANGED
|
@@ -82,12 +82,12 @@ 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 = 173);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 173:
|
|
91
91
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
package/AnimationToggle.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 = 129);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -94,7 +94,7 @@ module.exports = require("prop-types");
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/
|
|
97
|
+
/***/ 129:
|
|
98
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
99
|
|
|
100
100
|
"use strict";
|
package/Box.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 = 146);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 146:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Button.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 = 134);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 134:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -135,7 +135,7 @@ var style_ = __webpack_require__(40);
|
|
|
135
135
|
var CaretDown = __webpack_require__(36);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "@splunk/react-icons/External"
|
|
138
|
-
var External_ = __webpack_require__(
|
|
138
|
+
var External_ = __webpack_require__(57);
|
|
139
139
|
var External_default = /*#__PURE__*/__webpack_require__.n(External_);
|
|
140
140
|
|
|
141
141
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -609,7 +609,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
609
609
|
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
|
-
/***/
|
|
612
|
+
/***/ 57:
|
|
613
613
|
/***/ (function(module, exports) {
|
|
614
614
|
|
|
615
615
|
module.exports = require("@splunk/react-icons/External");
|
package/ButtonGroup.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 = 147);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 147:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/ButtonSimple.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 = 130);
|
|
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
|
+
/***/ 130:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -141,7 +141,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
141
141
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
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
|
// CONCATENATED MODULE: ./src/ButtonSimple/prismaStyles.ts
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
|
+
4.11.0 - August 2, 2022
|
|
4
|
+
----------
|
|
5
|
+
New Features:
|
|
6
|
+
* Added a `separateStackingContexts` prop to `LayerStackGlobalProvider`. This allows multiple "floating" elements (such as a `Popover` and a `Modal`) to stack in the order that they were opened rather than a fixed order (SUI-2809).
|
|
7
|
+
* This prop is currently defaults to `false`, to be backwards compatible, but will default to `true` in the next major version.
|
|
8
|
+
* Added util `prepareSandboxCode` to parse imports for including additional files to CodeSandbox examples.
|
|
9
|
+
* `ControlGroup` now supports customizing the position of the tooltip via the `tooltipDefaultPlacement` prop (SUI-3041).
|
|
10
|
+
|
|
11
|
+
Bug Fixes:
|
|
12
|
+
* `Text` no longer holds space for the clear icon when it is not shown (SUI-3748).
|
|
13
|
+
* Fixed `Text`'s error border color to stay the same when hovered on error (SUI-3672).
|
|
14
|
+
* `Tooltip` will now hide when the toggle is clicked (SUI-3453, SUI-2712).
|
|
15
|
+
* Fixed `MessageBar` content to be centered when persistent (SUI-3561).
|
|
16
|
+
|
|
3
17
|
4.10.0 - June 29, 2022
|
|
4
18
|
----------
|
|
5
19
|
New Features:
|
|
@@ -13,6 +27,8 @@ Bug Fixes:
|
|
|
13
27
|
* `File` descriptive button text now includes an ellipsis.
|
|
14
28
|
* Fixed animation toggle issue with `SlidingPanels` by bumping `react-spring` version (SUI-3474).
|
|
15
29
|
* Fixed life cycle warnings for components leveraging the `onRest` on `react-spring` (SUI-3666).
|
|
30
|
+
* Updated `ComboBox` to fix menu misalignment (SUI-3622).
|
|
31
|
+
* Added support for removing `Card.Body` padding via the `inset` prop (SUI-3704).
|
|
16
32
|
|
|
17
33
|
4.9.0 - June 7, 2020
|
|
18
34
|
----------
|
|
@@ -45,16 +61,16 @@ Bug Fixes:
|
|
|
45
61
|
* `Select`'s options should no longer be clickable while it's collapsing (SUI-3337).
|
|
46
62
|
* `Menu`s should now correctly manage focus if the first item is disabled (SUI-3468).
|
|
47
63
|
* `Message`'s `appearance="banner"` renders with an icon for improved accessibility (SUI-3526).
|
|
48
|
-
* `Modal` will now correctly gain focus when created with `open=true` (SUI-3412).
|
|
64
|
+
* `Modal` will now correctly gain focus when created with `open=true` (SUI-3412).
|
|
49
65
|
|
|
50
|
-
Deprecations:
|
|
66
|
+
Deprecations:
|
|
51
67
|
* `Message`'s `appearance="banner"`is deprecated and will be removed in a future major version. Use `MessageBar` instead (SUI-3437).
|
|
52
68
|
* `Message.Link` is deprecated and will be removed in a future major version. Use `Link` instead (SUI-3322).
|
|
53
69
|
|
|
54
70
|
4.6.0 - April 5, 2022
|
|
55
71
|
----------
|
|
56
72
|
New Features:
|
|
57
|
-
* Updated the `File` uploader descriptive button text from `browse...` to `upload file` (SUI-3275).
|
|
73
|
+
* Updated the `File` uploader descriptive button text from `browse...` to `upload file` (SUI-3275).
|
|
58
74
|
* `Clickable` now supports the `navigationLabel` prop to provide `data.label` to the `onClick` handler (SUI-3123).
|
|
59
75
|
* Added `onInputClick` prop to `Text` component (SUI-2801).
|
|
60
76
|
|
|
@@ -66,10 +82,10 @@ Bug Fixes:
|
|
|
66
82
|
* `Modal`'s title is now read by screen reader.
|
|
67
83
|
* `Card` will no longer render with different dimensions depending on the combination of `to` and `onClick` props.
|
|
68
84
|
* `TableRow`'s `data` prop is no longer incorrectly passed to the DOM element (SUI-3448)
|
|
69
|
-
|
|
85
|
+
|
|
70
86
|
4.5.3 - March 15, 2022
|
|
71
87
|
----------
|
|
72
|
-
Bug Fixes:
|
|
88
|
+
Bug Fixes:
|
|
73
89
|
* Fixed a regression where `Accordion.Panel`s may not open (SUI-3411).
|
|
74
90
|
|
|
75
91
|
4.5.2 - March 8, 2022
|
package/Calendar.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 = 114);
|
|
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
|
+
/***/ 114:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -403,7 +403,7 @@ var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
|
403
403
|
var i18n_ = __webpack_require__(5);
|
|
404
404
|
|
|
405
405
|
// EXTERNAL MODULE: ./src/icons/ChevronLeft.tsx
|
|
406
|
-
var ChevronLeft = __webpack_require__(
|
|
406
|
+
var ChevronLeft = __webpack_require__(58);
|
|
407
407
|
|
|
408
408
|
// EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
|
|
409
409
|
var ChevronRight = __webpack_require__(27);
|
|
@@ -892,14 +892,14 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
892
892
|
|
|
893
893
|
/***/ }),
|
|
894
894
|
|
|
895
|
-
/***/
|
|
895
|
+
/***/ 58:
|
|
896
896
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
897
897
|
|
|
898
898
|
"use strict";
|
|
899
899
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronLeft; });
|
|
900
900
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
901
901
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
902
|
-
/* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
902
|
+
/* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59);
|
|
903
903
|
/* harmony import */ var _splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronLeft__WEBPACK_IMPORTED_MODULE_1__);
|
|
904
904
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
905
905
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -942,6 +942,13 @@ function ChevronLeft(props) {
|
|
|
942
942
|
|
|
943
943
|
/***/ }),
|
|
944
944
|
|
|
945
|
+
/***/ 59:
|
|
946
|
+
/***/ (function(module, exports) {
|
|
947
|
+
|
|
948
|
+
module.exports = require("@splunk/react-icons/ChevronLeft");
|
|
949
|
+
|
|
950
|
+
/***/ }),
|
|
951
|
+
|
|
945
952
|
/***/ 6:
|
|
946
953
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
947
954
|
|
|
@@ -967,13 +974,6 @@ function SVG(props) {
|
|
|
967
974
|
|
|
968
975
|
/***/ }),
|
|
969
976
|
|
|
970
|
-
/***/ 60:
|
|
971
|
-
/***/ (function(module, exports) {
|
|
972
|
-
|
|
973
|
-
module.exports = require("@splunk/react-icons/ChevronLeft");
|
|
974
|
-
|
|
975
|
-
/***/ }),
|
|
976
|
-
|
|
977
977
|
/***/ 7:
|
|
978
978
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
979
979
|
|
package/Card.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 = 115);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 118:
|
|
104
|
+
/***/ 115:
|
|
112
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
106
|
|
|
114
107
|
"use strict";
|
|
@@ -147,11 +140,19 @@ var themes_ = __webpack_require__(0);
|
|
|
147
140
|
var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
148
141
|
displayName: "BodyStyles__StyledBox",
|
|
149
142
|
componentId: "sc-1130udp-0"
|
|
150
|
-
})(["flex:1 1 auto;overflow:auto;height:100%;", ""
|
|
151
|
-
|
|
143
|
+
})(["flex:1 1 auto;overflow:auto;height:100%;", ";", ""], function (_ref) {
|
|
144
|
+
var $inset = _ref.$inset;
|
|
145
|
+
return $inset ? Object(external_styled_components_["css"])(["", ""], Object(themes_["pick"])({
|
|
146
|
+
enterprise: Object(external_styled_components_["css"])(["padding:", ";&:not(:first-child){padding-top:0;}"], themes_["variables"].spacing),
|
|
147
|
+
prisma: {
|
|
148
|
+
comfortable: Object(external_styled_components_["css"])(["padding:12px 24px;&:first-child{padding-top:28px;}&:last-child{padding-bottom:28px;}"]),
|
|
149
|
+
compact: Object(external_styled_components_["css"])(["padding:8px 24px;&:first-child{padding-top:20px;}&:last-child{padding-bottom:20px;}"])
|
|
150
|
+
}
|
|
151
|
+
})) : Object(external_styled_components_["css"])(["padding:0;"]);
|
|
152
|
+
}, Object(themes_["pick"])({
|
|
152
153
|
prisma: {
|
|
153
|
-
comfortable: Object(external_styled_components_["css"])(["border-radius:", ";color:", ";
|
|
154
|
-
compact: Object(external_styled_components_["css"])(["border-radius:", ";color:", ";
|
|
154
|
+
comfortable: Object(external_styled_components_["css"])(["border-radius:", ";color:", ";"], themes_["variables"].borderRadius, themes_["variables"].contentColorMuted),
|
|
155
|
+
compact: Object(external_styled_components_["css"])(["border-radius:", ";color:", ";"], themes_["variables"].borderRadius, themes_["variables"].contentColorMuted)
|
|
155
156
|
}
|
|
156
157
|
}));
|
|
157
158
|
|
|
@@ -167,7 +168,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
167
168
|
|
|
168
169
|
var propTypes = {
|
|
169
170
|
children: external_prop_types_default.a.node,
|
|
170
|
-
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object])
|
|
171
|
+
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
172
|
+
inset: external_prop_types_default.a.bool
|
|
171
173
|
};
|
|
172
174
|
|
|
173
175
|
/**
|
|
@@ -175,11 +177,14 @@ var propTypes = {
|
|
|
175
177
|
*/
|
|
176
178
|
function Body(_ref) {
|
|
177
179
|
var children = _ref.children,
|
|
178
|
-
|
|
180
|
+
_ref$inset = _ref.inset,
|
|
181
|
+
inset = _ref$inset === void 0 ? true : _ref$inset,
|
|
182
|
+
otherProps = _objectWithoutProperties(_ref, ["children", "inset"]);
|
|
179
183
|
|
|
180
184
|
// @docs-props-type BodyPropsBase
|
|
181
185
|
return /*#__PURE__*/external_react_default.a.createElement(StyledBox, _extends({
|
|
182
|
-
"data-test": "body"
|
|
186
|
+
"data-test": "body",
|
|
187
|
+
$inset: inset
|
|
183
188
|
}, otherProps), children);
|
|
184
189
|
}
|
|
185
190
|
|
|
@@ -243,7 +248,7 @@ Footer.propTypes = Footer_propTypes;
|
|
|
243
248
|
var i18n_ = __webpack_require__(5);
|
|
244
249
|
|
|
245
250
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
246
|
-
var Anchor_ = __webpack_require__(
|
|
251
|
+
var Anchor_ = __webpack_require__(60);
|
|
247
252
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
248
253
|
|
|
249
254
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
@@ -259,7 +264,7 @@ var useSplunkTheme_ = __webpack_require__(38);
|
|
|
259
264
|
var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
|
|
260
265
|
|
|
261
266
|
// EXTERNAL MODULE: ./src/icons/MoreVertical.tsx
|
|
262
|
-
var MoreVertical = __webpack_require__(
|
|
267
|
+
var MoreVertical = __webpack_require__(61);
|
|
263
268
|
|
|
264
269
|
// CONCATENATED MODULE: ./src/Card/HeaderStyles.ts
|
|
265
270
|
|
|
@@ -388,7 +393,7 @@ function Header(_ref) {
|
|
|
388
393
|
Header.propTypes = Header_propTypes;
|
|
389
394
|
/* harmony default export */ var Card_Header = (Header);
|
|
390
395
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
391
|
-
var Clickable_ = __webpack_require__(
|
|
396
|
+
var Clickable_ = __webpack_require__(12);
|
|
392
397
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
393
398
|
|
|
394
399
|
// CONCATENATED MODULE: ./src/Card/CardStyles.ts
|
|
@@ -643,6 +648,13 @@ _defineProperty(Card_Card, "Footer", Card_Footer);
|
|
|
643
648
|
|
|
644
649
|
|
|
645
650
|
|
|
651
|
+
/***/ }),
|
|
652
|
+
|
|
653
|
+
/***/ 12:
|
|
654
|
+
/***/ (function(module, exports) {
|
|
655
|
+
|
|
656
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
657
|
+
|
|
646
658
|
/***/ }),
|
|
647
659
|
|
|
648
660
|
/***/ 17:
|
|
@@ -712,21 +724,21 @@ function SVG(props) {
|
|
|
712
724
|
|
|
713
725
|
/***/ }),
|
|
714
726
|
|
|
715
|
-
/***/
|
|
727
|
+
/***/ 60:
|
|
716
728
|
/***/ (function(module, exports) {
|
|
717
729
|
|
|
718
730
|
module.exports = require("@splunk/react-ui/Anchor");
|
|
719
731
|
|
|
720
732
|
/***/ }),
|
|
721
733
|
|
|
722
|
-
/***/
|
|
734
|
+
/***/ 61:
|
|
723
735
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
724
736
|
|
|
725
737
|
"use strict";
|
|
726
738
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
|
|
727
739
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
728
740
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
729
|
-
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
741
|
+
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62);
|
|
730
742
|
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__);
|
|
731
743
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
732
744
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -757,7 +769,7 @@ function MoreVertical(props) {
|
|
|
757
769
|
|
|
758
770
|
/***/ }),
|
|
759
771
|
|
|
760
|
-
/***/
|
|
772
|
+
/***/ 62:
|
|
761
773
|
/***/ (function(module, exports) {
|
|
762
774
|
|
|
763
775
|
module.exports = require("@splunk/react-icons/MoreVertical");
|
package/CardLayout.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 = 148);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 148:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Chip.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 = 149);
|
|
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
|
+
/***/ 149:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -144,7 +144,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
144
144
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
145
145
|
|
|
146
146
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
147
|
-
var Clickable_ = __webpack_require__(
|
|
147
|
+
var Clickable_ = __webpack_require__(12);
|
|
148
148
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
149
149
|
|
|
150
150
|
// EXTERNAL MODULE: external "@splunk/themes"
|
package/Clickable.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 = 135);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 11:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
131
|
+
/***/ 135:
|
|
132
132
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
133
133
|
|
|
134
134
|
"use strict";
|
|
@@ -202,7 +202,7 @@ function NavigationProvider(_ref) {
|
|
|
202
202
|
NavigationProvider.propTypes = propTypes;
|
|
203
203
|
|
|
204
204
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
205
|
-
var updateReactRef = __webpack_require__(
|
|
205
|
+
var updateReactRef = __webpack_require__(11);
|
|
206
206
|
|
|
207
207
|
// CONCATENATED MODULE: ./src/Clickable/Clickable.tsx
|
|
208
208
|
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); }
|
|
@@ -249,6 +249,8 @@ var isInternalLink = function isInternalLink(to) {
|
|
|
249
249
|
return to != null && !WITH_SCHEME.test(to) && !SCHEME_RELATIVE.test(to);
|
|
250
250
|
};
|
|
251
251
|
var Clickable_propTypes = {
|
|
252
|
+
/** @private */
|
|
253
|
+
allowDisabledLink: external_prop_types_default.a.bool,
|
|
252
254
|
children: external_prop_types_default.a.node,
|
|
253
255
|
disabled: external_prop_types_default.a.bool,
|
|
254
256
|
elementRef: external_prop_types_default.a.oneOfType([external_prop_types_default.a.func, external_prop_types_default.a.object]),
|
|
@@ -375,13 +377,26 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
375
377
|
rel: rel,
|
|
376
378
|
onClick: handleOnClick
|
|
377
379
|
}, Object(external_lodash_["omit"])(_otherProps, 'disabled', 'elementRef', 'onClick')), _children);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
if (this.props.allowDisabledLink) {
|
|
383
|
+
var _ref = this.props,
|
|
384
|
+
_children2 = _ref.children,
|
|
385
|
+
_otherProps2 = _objectWithoutProperties(_ref, ["children"]);
|
|
386
|
+
|
|
387
|
+
if (this.props.disabled && this.props.to != null) {
|
|
388
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledA, _extends({
|
|
389
|
+
"data-test": "clickable",
|
|
390
|
+
ref: this.handleMount
|
|
391
|
+
}, Object(external_lodash_["omit"])(_otherProps2, 'href', 'elementRef', 'onClick')), _children2);
|
|
392
|
+
}
|
|
378
393
|
} // button variant
|
|
379
394
|
|
|
380
395
|
|
|
381
|
-
var
|
|
382
|
-
children =
|
|
383
|
-
type =
|
|
384
|
-
otherProps = _objectWithoutProperties(
|
|
396
|
+
var _ref2 = this.props,
|
|
397
|
+
children = _ref2.children,
|
|
398
|
+
type = _ref2.type,
|
|
399
|
+
otherProps = _objectWithoutProperties(_ref2, ["children", "type"]);
|
|
385
400
|
|
|
386
401
|
return /*#__PURE__*/external_react_default.a.createElement(StyledA, _extends({
|
|
387
402
|
as: "button",
|
package/CloseButton.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 = 150);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 150:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Code.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 = 151);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 151:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -123,7 +123,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
123
123
|
var external_lodash_ = __webpack_require__(4);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: ./src/Code/prism/prism.empty
|
|
126
|
-
var prism_empty = __webpack_require__(
|
|
126
|
+
var prism_empty = __webpack_require__(79);
|
|
127
127
|
var prism_empty_default = /*#__PURE__*/__webpack_require__.n(prism_empty);
|
|
128
128
|
|
|
129
129
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -381,7 +381,7 @@ module.exports = require("lodash");
|
|
|
381
381
|
|
|
382
382
|
/***/ }),
|
|
383
383
|
|
|
384
|
-
/***/
|
|
384
|
+
/***/ 79:
|
|
385
385
|
/***/ (function(module, exports, __webpack_require__) {
|
|
386
386
|
|
|
387
387
|
|