@splunk/react-ui 4.13.0 → 4.14.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/.storybook-visual/config/snapshotResolver.js +29 -0
- package/.storybook-visual/main.js +22 -0
- package/.storybook-visual/preview.jsx +31 -0
- package/.storybook-visual/scripts/test.sh +108 -0
- package/.storybook-visual/test-runner.js +108 -0
- package/Accordion.js +4 -4
- package/Anchor.js +2 -2
- package/Animation.js +6 -6
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +28 -28
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +16 -1
- package/Calendar.js +365 -70
- package/Card.js +30 -28
- package/CardLayout.js +2 -2
- package/Chip.js +10 -10
- package/Clickable.js +9 -9
- package/CloseButton.js +8 -8
- package/Code.js +4 -4
- package/CollapsiblePanel.js +15 -11
- package/Color.js +27 -27
- package/ColumnLayout.js +6 -6
- package/ComboBox.js +19 -19
- package/Concertina.js +6 -6
- package/ControlGroup.js +14 -13
- package/Date.js +118 -55
- package/DefinitionList.js +2 -2
- package/Divider.js +194 -0
- package/Dropdown.js +13 -13
- package/EventListener.js +4 -4
- package/File.js +16 -16
- package/FormRows.js +14 -14
- package/Heading.js +2 -2
- package/Image.js +12 -12
- package/JSONTree.js +2 -2
- package/Layer.js +85 -8
- package/Link.js +9 -9
- package/List.js +2 -2
- package/Markdown.js +18 -18
- package/Menu.js +32 -32
- package/Message.js +32 -32
- package/MessageBar.js +22 -22
- package/Modal.js +63 -37
- package/ModalLayer.js +11 -11
- package/Monogram.js +2 -2
- package/Multiselect.js +61 -61
- package/Number.js +8 -6
- package/Paginator.js +17 -17
- package/Paragraph.js +2 -2
- package/Popover.js +175 -17
- package/Progress.js +8 -8
- package/RadioBar.js +2 -2
- package/RadioList.js +4 -4
- package/Resize.js +4 -4
- package/ResultsMenu.js +20 -20
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +13 -13
- package/ScrollContainerContext.js +154 -3
- package/Search.js +28 -28
- package/Select.js +41 -41
- package/SidePanel.js +6 -6
- package/Slider.js +14 -14
- package/SlidingPanels.js +11 -11
- package/SplitButton.js +12 -12
- package/StaticContent.js +2 -2
- package/StepBar.js +10 -10
- package/Switch.js +8 -8
- package/TabBar.js +15 -15
- package/TabLayout.js +6 -6
- package/Table.js +249 -67
- package/Text.js +31 -30
- package/TextArea.js +31 -31
- package/Tooltip.js +17 -11
- package/TransitionOpen.js +39 -15
- package/Typography.js +4 -4
- package/WaitSpinner.js +4 -70
- package/package.json +10 -12
- package/test-runner-jest.config.js +18 -5
- package/types/src/Calendar/Calendar.d.ts +15 -2
- package/types/src/Calendar/DateTable.d.ts +7 -3
- package/types/src/Calendar/Day.d.ts +14 -5
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +7 -3
- package/types/src/Date/Date.d.ts +17 -8
- package/types/src/Date/docs/examples/CustomDate.d.ts +2 -2
- package/types/src/Date/docs/examples/Disabled.d.ts +2 -2
- package/types/src/Date/docs/examples/prisma/WithoutCalendar.d.ts +2 -0
- package/types/src/Divider/Divider.d.ts +20 -0
- package/types/src/Divider/docs/examples/AriaHidden.d.ts +2 -0
- package/types/src/Divider/docs/examples/Basic.d.ts +2 -0
- package/types/src/Divider/docs/examples/CustomStyle.d.ts +2 -0
- package/types/src/Divider/docs/examples/Vertical.d.ts +2 -0
- package/types/src/Divider/index.d.ts +1 -0
- package/types/src/Modal/Modal.d.ts +7 -3
- package/types/src/Modal/ModalContext.d.ts +1 -0
- package/types/src/Number/Number.d.ts +5 -1
- package/types/src/SplitButton/docs/examples/Disabled.d.ts +1 -1
- package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +1 -1
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +14 -0
- package/types/src/Tooltip/Tooltip.d.ts +10 -5
- package/types/src/TransitionOpen/TransitionOpen.d.ts +7 -3
- package/types/src/WaitSpinner/WaitSpinner.d.ts +1 -1
- package/types/src/useKeyPress/index.d.ts +37 -0
- package/useForceUpdate.js +2 -2
- package/{useIsSsr.js → useKeyPress.js} +56 -49
- package/usePrevious.js +2 -2
- package/types/src/useIsSsr/index.d.ts +0 -2
- package/types/src/useIsSsr/useIsSsr.d.ts +0 -8
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 = 118);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 11:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/ui-utils/id");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 118:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -141,20 +141,20 @@ var themes_ = __webpack_require__(0);
|
|
|
141
141
|
var i18n_ = __webpack_require__(5);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/ui-utils/id"
|
|
144
|
-
var id_ = __webpack_require__(
|
|
144
|
+
var id_ = __webpack_require__(11);
|
|
145
145
|
|
|
146
146
|
// EXTERNAL MODULE: external "@splunk/ui-utils/format"
|
|
147
|
-
var format_ = __webpack_require__(
|
|
147
|
+
var format_ = __webpack_require__(45);
|
|
148
148
|
|
|
149
149
|
// EXTERNAL MODULE: external "@splunk/react-ui/Progress"
|
|
150
|
-
var Progress_ = __webpack_require__(
|
|
150
|
+
var Progress_ = __webpack_require__(90);
|
|
151
151
|
var Progress_default = /*#__PURE__*/__webpack_require__.n(Progress_);
|
|
152
152
|
|
|
153
153
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
154
|
-
var CrossMark = __webpack_require__(
|
|
154
|
+
var CrossMark = __webpack_require__(22);
|
|
155
155
|
|
|
156
156
|
// EXTERNAL MODULE: external "@splunk/react-icons/SVG"
|
|
157
|
-
var SVG_ = __webpack_require__(
|
|
157
|
+
var SVG_ = __webpack_require__(25);
|
|
158
158
|
var SVG_default = /*#__PURE__*/__webpack_require__.n(SVG_);
|
|
159
159
|
|
|
160
160
|
// CONCATENATED MODULE: ./src/File/PaperClip.tsx
|
|
@@ -235,7 +235,7 @@ var Clickable_ = __webpack_require__(12);
|
|
|
235
235
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
236
236
|
|
|
237
237
|
// EXTERNAL MODULE: external "@splunk/themes/mixins"
|
|
238
|
-
var mixins_ = __webpack_require__(
|
|
238
|
+
var mixins_ = __webpack_require__(59);
|
|
239
239
|
|
|
240
240
|
// CONCATENATED MODULE: ./src/File/ItemStyles.ts
|
|
241
241
|
|
|
@@ -1030,14 +1030,14 @@ module.exports = require("react");
|
|
|
1030
1030
|
|
|
1031
1031
|
/***/ }),
|
|
1032
1032
|
|
|
1033
|
-
/***/
|
|
1033
|
+
/***/ 22:
|
|
1034
1034
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1035
1035
|
|
|
1036
1036
|
"use strict";
|
|
1037
1037
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
1038
1038
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1039
1039
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1040
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1040
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23);
|
|
1041
1041
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
1042
1042
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
1043
1043
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -1080,14 +1080,14 @@ function CrossMark(props) {
|
|
|
1080
1080
|
|
|
1081
1081
|
/***/ }),
|
|
1082
1082
|
|
|
1083
|
-
/***/
|
|
1083
|
+
/***/ 23:
|
|
1084
1084
|
/***/ (function(module, exports) {
|
|
1085
1085
|
|
|
1086
1086
|
module.exports = require("@splunk/react-icons/Close");
|
|
1087
1087
|
|
|
1088
1088
|
/***/ }),
|
|
1089
1089
|
|
|
1090
|
-
/***/
|
|
1090
|
+
/***/ 25:
|
|
1091
1091
|
/***/ (function(module, exports) {
|
|
1092
1092
|
|
|
1093
1093
|
module.exports = require("@splunk/react-icons/SVG");
|
|
@@ -1108,7 +1108,7 @@ module.exports = require("lodash");
|
|
|
1108
1108
|
|
|
1109
1109
|
/***/ }),
|
|
1110
1110
|
|
|
1111
|
-
/***/
|
|
1111
|
+
/***/ 45:
|
|
1112
1112
|
/***/ (function(module, exports) {
|
|
1113
1113
|
|
|
1114
1114
|
module.exports = require("@splunk/ui-utils/format");
|
|
@@ -1122,7 +1122,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
1122
1122
|
|
|
1123
1123
|
/***/ }),
|
|
1124
1124
|
|
|
1125
|
-
/***/
|
|
1125
|
+
/***/ 59:
|
|
1126
1126
|
/***/ (function(module, exports) {
|
|
1127
1127
|
|
|
1128
1128
|
module.exports = require("@splunk/themes/mixins");
|
|
@@ -1279,7 +1279,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1279
1279
|
|
|
1280
1280
|
/***/ }),
|
|
1281
1281
|
|
|
1282
|
-
/***/
|
|
1282
|
+
/***/ 90:
|
|
1283
1283
|
/***/ (function(module, exports) {
|
|
1284
1284
|
|
|
1285
1285
|
module.exports = require("@splunk/react-ui/Progress");
|
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 = 127);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 127:
|
|
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__(91);
|
|
131
131
|
var Plus_default = /*#__PURE__*/__webpack_require__.n(Plus_);
|
|
132
132
|
|
|
133
133
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -174,13 +174,13 @@ function Plus(props) {
|
|
|
174
174
|
}, props));
|
|
175
175
|
}
|
|
176
176
|
// EXTERNAL MODULE: external "react-sortable-hoc"
|
|
177
|
-
var external_react_sortable_hoc_ = __webpack_require__(
|
|
177
|
+
var external_react_sortable_hoc_ = __webpack_require__(81);
|
|
178
178
|
|
|
179
179
|
// EXTERNAL MODULE: external "lodash"
|
|
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__(69);
|
|
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
|
+
/***/ 69:
|
|
776
776
|
/***/ (function(module, exports) {
|
|
777
777
|
|
|
778
778
|
module.exports = require("@splunk/react-ui/CloseButton");
|
|
@@ -897,31 +897,31 @@ Icon.defaultProps = defaultProps;
|
|
|
897
897
|
|
|
898
898
|
/***/ }),
|
|
899
899
|
|
|
900
|
-
/***/
|
|
900
|
+
/***/ 8:
|
|
901
901
|
/***/ (function(module, exports) {
|
|
902
902
|
|
|
903
|
-
module.exports = require("react-
|
|
903
|
+
module.exports = require("@splunk/react-ui/Box");
|
|
904
904
|
|
|
905
905
|
/***/ }),
|
|
906
906
|
|
|
907
|
-
/***/
|
|
907
|
+
/***/ 81:
|
|
908
908
|
/***/ (function(module, exports) {
|
|
909
909
|
|
|
910
|
-
module.exports = require("
|
|
910
|
+
module.exports = require("react-sortable-hoc");
|
|
911
911
|
|
|
912
912
|
/***/ }),
|
|
913
913
|
|
|
914
|
-
/***/
|
|
914
|
+
/***/ 9:
|
|
915
915
|
/***/ (function(module, exports) {
|
|
916
916
|
|
|
917
|
-
module.exports = require("@splunk/
|
|
917
|
+
module.exports = require("@splunk/ui-utils/keyboard");
|
|
918
918
|
|
|
919
919
|
/***/ }),
|
|
920
920
|
|
|
921
|
-
/***/
|
|
921
|
+
/***/ 91:
|
|
922
922
|
/***/ (function(module, exports) {
|
|
923
923
|
|
|
924
|
-
module.exports = require("@splunk/
|
|
924
|
+
module.exports = require("@splunk/react-icons/Plus");
|
|
925
925
|
|
|
926
926
|
/***/ })
|
|
927
927
|
|
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 = 163);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 163:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/Image.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 164);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 164:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -130,17 +130,17 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
130
130
|
var external_lodash_ = __webpack_require__(4);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "@splunk/ui-utils/format"
|
|
133
|
-
var format_ = __webpack_require__(
|
|
133
|
+
var format_ = __webpack_require__(45);
|
|
134
134
|
|
|
135
135
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
136
136
|
var i18n_ = __webpack_require__(5);
|
|
137
137
|
|
|
138
138
|
// EXTERNAL MODULE: external "@splunk/react-ui/File"
|
|
139
|
-
var File_ = __webpack_require__(
|
|
139
|
+
var File_ = __webpack_require__(92);
|
|
140
140
|
var File_default = /*#__PURE__*/__webpack_require__.n(File_);
|
|
141
141
|
|
|
142
142
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
143
|
-
var CrossMark = __webpack_require__(
|
|
143
|
+
var CrossMark = __webpack_require__(22);
|
|
144
144
|
|
|
145
145
|
// EXTERNAL MODULE: external "styled-components"
|
|
146
146
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -151,7 +151,7 @@ var Clickable_ = __webpack_require__(12);
|
|
|
151
151
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
152
152
|
|
|
153
153
|
// EXTERNAL MODULE: external "@splunk/react-ui/Message"
|
|
154
|
-
var Message_ = __webpack_require__(
|
|
154
|
+
var Message_ = __webpack_require__(93);
|
|
155
155
|
var Message_default = /*#__PURE__*/__webpack_require__.n(Message_);
|
|
156
156
|
|
|
157
157
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -447,14 +447,14 @@ module.exports = require("react");
|
|
|
447
447
|
|
|
448
448
|
/***/ }),
|
|
449
449
|
|
|
450
|
-
/***/
|
|
450
|
+
/***/ 22:
|
|
451
451
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
452
452
|
|
|
453
453
|
"use strict";
|
|
454
454
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
455
455
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
456
456
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
457
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
457
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23);
|
|
458
458
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
459
459
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
460
460
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -497,7 +497,7 @@ function CrossMark(props) {
|
|
|
497
497
|
|
|
498
498
|
/***/ }),
|
|
499
499
|
|
|
500
|
-
/***/
|
|
500
|
+
/***/ 23:
|
|
501
501
|
/***/ (function(module, exports) {
|
|
502
502
|
|
|
503
503
|
module.exports = require("@splunk/react-icons/Close");
|
|
@@ -518,7 +518,7 @@ module.exports = require("lodash");
|
|
|
518
518
|
|
|
519
519
|
/***/ }),
|
|
520
520
|
|
|
521
|
-
/***/
|
|
521
|
+
/***/ 45:
|
|
522
522
|
/***/ (function(module, exports) {
|
|
523
523
|
|
|
524
524
|
module.exports = require("@splunk/ui-utils/format");
|
|
@@ -675,14 +675,14 @@ Icon.defaultProps = defaultProps;
|
|
|
675
675
|
|
|
676
676
|
/***/ }),
|
|
677
677
|
|
|
678
|
-
/***/
|
|
678
|
+
/***/ 92:
|
|
679
679
|
/***/ (function(module, exports) {
|
|
680
680
|
|
|
681
681
|
module.exports = require("@splunk/react-ui/File");
|
|
682
682
|
|
|
683
683
|
/***/ }),
|
|
684
684
|
|
|
685
|
-
/***/
|
|
685
|
+
/***/ 93:
|
|
686
686
|
/***/ (function(module, exports) {
|
|
687
687
|
|
|
688
688
|
module.exports = require("@splunk/react-ui/Message");
|
package/JSONTree.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 137);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 137:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
package/Layer.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 = 165);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 113:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
var g;
|
|
@@ -135,7 +135,7 @@ module.exports = require("@splunk/react-ui/EventListener");
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 165:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -153,7 +153,7 @@ var external_react_ = __webpack_require__(2);
|
|
|
153
153
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
154
154
|
|
|
155
155
|
// EXTERNAL MODULE: external "react-dom"
|
|
156
|
-
var external_react_dom_ = __webpack_require__(
|
|
156
|
+
var external_react_dom_ = __webpack_require__(70);
|
|
157
157
|
|
|
158
158
|
// EXTERNAL MODULE: external "prop-types"
|
|
159
159
|
var external_prop_types_ = __webpack_require__(1);
|
|
@@ -170,7 +170,7 @@ var EventListener_ = __webpack_require__(15);
|
|
|
170
170
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
171
171
|
|
|
172
172
|
// EXTERNAL MODULE: ./src/Layer/LayerStack.tsx
|
|
173
|
-
var LayerStack = __webpack_require__(
|
|
173
|
+
var LayerStack = __webpack_require__(71);
|
|
174
174
|
|
|
175
175
|
// EXTERNAL MODULE: external "styled-components"
|
|
176
176
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -190,6 +190,9 @@ var StyledLayer = external_styled_components_default.a.div.withConfig({
|
|
|
190
190
|
return $separateStackingContexts && Object(external_styled_components_["css"])(["isolation:isolate;z-index:", ";"], themes_["variables"].zindexLayer);
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
+
// EXTERNAL MODULE: ./src/utils/ssrDocument.ts
|
|
194
|
+
var ssrDocument = __webpack_require__(27);
|
|
195
|
+
|
|
193
196
|
// CONCATENATED MODULE: ./src/Layer/Layer.tsx
|
|
194
197
|
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); }
|
|
195
198
|
|
|
@@ -223,6 +226,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
223
226
|
|
|
224
227
|
|
|
225
228
|
|
|
229
|
+
|
|
226
230
|
/** @public */
|
|
227
231
|
|
|
228
232
|
var possibleCloseReasons = ['clickAway', 'escapeKey'];
|
|
@@ -288,6 +292,8 @@ var Layer_Layer = /*#__PURE__*/function (_Component) {
|
|
|
288
292
|
}
|
|
289
293
|
});
|
|
290
294
|
|
|
295
|
+
var document = Object(ssrDocument["a" /* getDocument */])();
|
|
296
|
+
|
|
291
297
|
if (!Layer.layerContainer) {
|
|
292
298
|
Layer.layerContainer = document.createElement('div');
|
|
293
299
|
Layer.layerContainer.setAttribute('data-test', 'layer-container');
|
|
@@ -395,6 +401,77 @@ _defineProperty(Layer_Layer, "contextType", LayerStack["b" /* LayerStackContext
|
|
|
395
401
|
|
|
396
402
|
module.exports = require("react");
|
|
397
403
|
|
|
404
|
+
/***/ }),
|
|
405
|
+
|
|
406
|
+
/***/ 27:
|
|
407
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
408
|
+
|
|
409
|
+
"use strict";
|
|
410
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getDocument; });
|
|
411
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ssrDocument; });
|
|
412
|
+
/* eslint-disable @typescript-eslint/no-empty-function */
|
|
413
|
+
var ssrDocument = {
|
|
414
|
+
body: {
|
|
415
|
+
appendChild: function appendChild() {
|
|
416
|
+
return [];
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
addEventListener: function addEventListener() {},
|
|
420
|
+
removeEventListener: function removeEventListener() {},
|
|
421
|
+
activeElement: {
|
|
422
|
+
blur: function blur() {},
|
|
423
|
+
nodeName: ''
|
|
424
|
+
},
|
|
425
|
+
querySelector: function querySelector() {
|
|
426
|
+
return null;
|
|
427
|
+
},
|
|
428
|
+
querySelectorAll: function querySelectorAll() {
|
|
429
|
+
return [];
|
|
430
|
+
},
|
|
431
|
+
getElementById: function getElementById() {
|
|
432
|
+
return null;
|
|
433
|
+
},
|
|
434
|
+
createEvent: function createEvent() {
|
|
435
|
+
return {
|
|
436
|
+
initEvent: function initEvent() {}
|
|
437
|
+
};
|
|
438
|
+
},
|
|
439
|
+
createElement: function createElement() {
|
|
440
|
+
return {
|
|
441
|
+
children: [],
|
|
442
|
+
childNodes: [],
|
|
443
|
+
style: {},
|
|
444
|
+
setAttribute: function setAttribute() {},
|
|
445
|
+
getElementsByTagName: function getElementsByTagName() {
|
|
446
|
+
return [];
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
},
|
|
450
|
+
createElementNS: function createElementNS() {
|
|
451
|
+
return {};
|
|
452
|
+
},
|
|
453
|
+
importNode: function importNode() {
|
|
454
|
+
return null;
|
|
455
|
+
},
|
|
456
|
+
location: {
|
|
457
|
+
hash: '',
|
|
458
|
+
host: '',
|
|
459
|
+
hostname: '',
|
|
460
|
+
href: '',
|
|
461
|
+
origin: '',
|
|
462
|
+
pathname: '',
|
|
463
|
+
protocol: '',
|
|
464
|
+
search: ''
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
function getDocument() {
|
|
469
|
+
var doc = typeof document !== 'undefined' ? document : ssrDocument;
|
|
470
|
+
return doc;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
398
475
|
/***/ }),
|
|
399
476
|
|
|
400
477
|
/***/ 3:
|
|
@@ -411,14 +488,14 @@ module.exports = require("lodash");
|
|
|
411
488
|
|
|
412
489
|
/***/ }),
|
|
413
490
|
|
|
414
|
-
/***/
|
|
491
|
+
/***/ 70:
|
|
415
492
|
/***/ (function(module, exports) {
|
|
416
493
|
|
|
417
494
|
module.exports = require("react-dom");
|
|
418
495
|
|
|
419
496
|
/***/ }),
|
|
420
497
|
|
|
421
|
-
/***/
|
|
498
|
+
/***/ 71:
|
|
422
499
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
423
500
|
|
|
424
501
|
"use strict";
|
|
@@ -477,7 +554,7 @@ function LayerStackGlobalProvider(_ref) {
|
|
|
477
554
|
|
|
478
555
|
LayerStackGlobalProvider.propTypes = propTypes;
|
|
479
556
|
|
|
480
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(
|
|
557
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(113)))
|
|
481
558
|
|
|
482
559
|
/***/ }),
|
|
483
560
|
|
package/Link.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 166);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 166:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -127,7 +127,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
127
127
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
128
128
|
|
|
129
129
|
// EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
|
|
130
|
-
var Dropdown_ = __webpack_require__(
|
|
130
|
+
var Dropdown_ = __webpack_require__(20);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
133
133
|
var i18n_ = __webpack_require__(5);
|
|
@@ -137,7 +137,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
137
137
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
138
138
|
|
|
139
139
|
// EXTERNAL MODULE: external "@splunk/react-icons/External"
|
|
140
|
-
var External_ = __webpack_require__(
|
|
140
|
+
var External_ = __webpack_require__(61);
|
|
141
141
|
var External_default = /*#__PURE__*/__webpack_require__.n(External_);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
@@ -295,17 +295,17 @@ _defineProperty(Link_Link, Dropdown_["legacyRefMode"], true);
|
|
|
295
295
|
|
|
296
296
|
/***/ }),
|
|
297
297
|
|
|
298
|
-
/***/
|
|
298
|
+
/***/ 2:
|
|
299
299
|
/***/ (function(module, exports) {
|
|
300
300
|
|
|
301
|
-
module.exports = require("
|
|
301
|
+
module.exports = require("react");
|
|
302
302
|
|
|
303
303
|
/***/ }),
|
|
304
304
|
|
|
305
|
-
/***/
|
|
305
|
+
/***/ 20:
|
|
306
306
|
/***/ (function(module, exports) {
|
|
307
307
|
|
|
308
|
-
module.exports = require("react");
|
|
308
|
+
module.exports = require("@splunk/react-ui/Dropdown");
|
|
309
309
|
|
|
310
310
|
/***/ }),
|
|
311
311
|
|
|
@@ -323,7 +323,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
323
323
|
|
|
324
324
|
/***/ }),
|
|
325
325
|
|
|
326
|
-
/***/
|
|
326
|
+
/***/ 61:
|
|
327
327
|
/***/ (function(module, exports) {
|
|
328
328
|
|
|
329
329
|
module.exports = require("@splunk/react-icons/External");
|
package/List.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 144);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 144:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|