@splunk/react-ui 4.12.1 → 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 +23 -23
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +7 -7
- package/CHANGELOG.md +33 -0
- package/Calendar.js +390 -95
- package/Card.js +25 -23
- package/CardLayout.js +2 -2
- package/Chip.js +17 -17
- package/Clickable.js +4 -4
- package/CloseButton.js +15 -15
- package/Code.js +4 -4
- package/CollapsiblePanel.js +15 -11
- package/Color.js +26 -26
- 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 +17 -13
- package/EventListener.js +4 -4
- package/File.js +23 -23
- package/FormRows.js +14 -14
- package/Heading.js +2 -2
- package/Image.js +19 -19
- package/JSONTree.js +2 -2
- package/Layer.js +85 -8
- package/Link.js +4 -4
- package/List.js +2 -2
- package/Markdown.js +18 -18
- package/Menu.js +51 -52
- package/Message.js +39 -39
- package/MessageBar.js +29 -29
- package/Modal.js +63 -37
- package/ModalLayer.js +11 -11
- package/Monogram.js +2 -2
- package/Multiselect.js +134 -125
- package/Number.js +8 -6
- package/Paginator.js +48 -48
- package/Paragraph.js +2 -2
- package/Popover.js +186 -19
- 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 +25 -25
- package/Select.js +114 -105
- package/SidePanel.js +6 -6
- package/Slider.js +14 -14
- package/SlidingPanels.js +11 -11
- package/SplitButton.js +511 -0
- 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 +275 -76
- package/Text.js +51 -42
- package/TextArea.js +41 -33
- package/Tooltip.js +17 -11
- package/TransitionOpen.js +39 -15
- package/Typography.js +4 -4
- package/WaitSpinner.js +4 -4
- package/package.json +12 -14
- package/test-runner-jest.config.js +18 -5
- package/types/src/Button/Button.d.ts +1 -1
- 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/Dropdown/Dropdown.d.ts +11 -3
- 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/Popover/Popover.d.ts +5 -1
- package/types/src/Popover/getPlacement.d.ts +1 -1
- package/types/src/SplitButton/Item.d.ts +45 -0
- package/types/src/SplitButton/SplitButton.d.ts +41 -0
- package/types/src/SplitButton/docs/examples/Basic.d.ts +1 -0
- package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +1 -0
- package/types/src/SplitButton/docs/examples/Disabled.d.ts +1 -0
- package/types/src/SplitButton/docs/examples/prisma/Basic.d.ts +1 -0
- package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +1 -0
- package/types/src/SplitButton/index.d.ts +2 -0
- package/types/src/Table/HeadCell.d.ts +4 -1
- package/types/src/Table/HeadDropdownCell.d.ts +10 -3
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +14 -0
- package/types/src/Text/Text.d.ts +5 -1
- package/types/src/TextArea/TextArea.d.ts +5 -1
- package/types/src/Tooltip/Tooltip.d.ts +10 -5
- package/types/src/TransitionOpen/TransitionOpen.d.ts +7 -3
- package/types/src/useForceUpdate/index.d.ts +2 -0
- package/types/src/useForceUpdate/useForceUpdate.d.ts +9 -0
- package/types/src/useKeyPress/index.d.ts +37 -0
- package/useForceUpdate.js +151 -0
- package/useKeyPress.js +160 -0
- package/usePrevious.js +2 -2
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 = 121);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 12:
|
|
105
|
+
/***/ (function(module, exports) {
|
|
106
|
+
|
|
107
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ 121:
|
|
105
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
113
|
|
|
107
114
|
"use strict";
|
|
@@ -248,7 +255,7 @@ Footer.propTypes = Footer_propTypes;
|
|
|
248
255
|
var i18n_ = __webpack_require__(5);
|
|
249
256
|
|
|
250
257
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
251
|
-
var Anchor_ = __webpack_require__(
|
|
258
|
+
var Anchor_ = __webpack_require__(64);
|
|
252
259
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
253
260
|
|
|
254
261
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
@@ -260,11 +267,11 @@ var Dropdown_ = __webpack_require__(20);
|
|
|
260
267
|
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
261
268
|
|
|
262
269
|
// EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
|
|
263
|
-
var useSplunkTheme_ = __webpack_require__(
|
|
270
|
+
var useSplunkTheme_ = __webpack_require__(42);
|
|
264
271
|
var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
|
|
265
272
|
|
|
266
273
|
// EXTERNAL MODULE: ./src/icons/MoreVertical.tsx
|
|
267
|
-
var MoreVertical = __webpack_require__(
|
|
274
|
+
var MoreVertical = __webpack_require__(65);
|
|
268
275
|
|
|
269
276
|
// CONCATENATED MODULE: ./src/Card/HeaderStyles.ts
|
|
270
277
|
|
|
@@ -280,14 +287,14 @@ var StyledTitle = external_styled_components_default.a.div.withConfig({
|
|
|
280
287
|
var StyledSubtitle = external_styled_components_default.a.div.withConfig({
|
|
281
288
|
displayName: "HeaderStyles__StyledSubtitle",
|
|
282
289
|
componentId: "eqi6uk-1"
|
|
283
|
-
})(["", "
|
|
290
|
+
})(["", " ", " margin:0;overflow-wrap:break-word;padding:0;font-weight:normal;"], themes_["mixins"].reset('block'), Object(themes_["pick"])({
|
|
284
291
|
enterprise: Object(external_styled_components_["css"])(["font-size:", ";color:", ";"], themes_["variables"].fontSizeSmall, themes_["variables"].textGray),
|
|
285
292
|
prisma: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].contentColorDefault)
|
|
286
293
|
}));
|
|
287
294
|
var StyledTitleContainer = external_styled_components_default.a.div.withConfig({
|
|
288
295
|
displayName: "HeaderStyles__StyledTitleContainer",
|
|
289
296
|
componentId: "eqi6uk-2"
|
|
290
|
-
})(["", " &:not(:last-child){margin-right:", ";}"], function (_ref) {
|
|
297
|
+
})(["", " flex:0 1 auto;", " &:not(:last-child){margin-right:", ";}"], themes_["mixins"].reset('block'), function (_ref) {
|
|
291
298
|
var $truncateTitle = _ref.$truncateTitle;
|
|
292
299
|
return $truncateTitle && Object(external_styled_components_["css"])(["overflow:hidden;& > ", ",& > ", "{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}"],
|
|
293
300
|
/* sc-sel */
|
|
@@ -301,14 +308,16 @@ var StyledTitleContainer = external_styled_components_default.a.div.withConfig({
|
|
|
301
308
|
var StyledActionContainer = external_styled_components_default.a.div.withConfig({
|
|
302
309
|
displayName: "HeaderStyles__StyledActionContainer",
|
|
303
310
|
componentId: "eqi6uk-3"
|
|
304
|
-
})(["", "
|
|
305
|
-
|
|
306
|
-
|
|
311
|
+
})(["", " align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;", ";"], themes_["mixins"].reset('block'), Object(themes_["pick"])({
|
|
312
|
+
prisma: {
|
|
313
|
+
comfortable: Object(external_styled_components_["css"])(["margin-right:-12px;margin-top:-4px;"]),
|
|
314
|
+
compact: Object(external_styled_components_["css"])(["margin-right:-12px;margin-top:0;"])
|
|
315
|
+
}
|
|
307
316
|
}));
|
|
308
317
|
var HeaderStyles_StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
309
318
|
displayName: "HeaderStyles__StyledBox",
|
|
310
319
|
componentId: "eqi6uk-4"
|
|
311
|
-
})(["display:flex;flex:0 0 auto;justify-content:space-between;position:relative;min-height:30px;", " ", " >:not(", "):not(", "){flex:1 0 auto;}"], Object(themes_["pick"])({
|
|
320
|
+
})(["align-items:start;display:flex;flex:0 0 auto;justify-content:space-between;position:relative;min-height:30px;", " ", " >:not(", "):not(", "){flex:1 0 auto;}"], Object(themes_["pick"])({
|
|
312
321
|
enterprise: Object(external_styled_components_["css"])(["padding:", ";"], themes_["variables"].spacing),
|
|
313
322
|
prisma: {
|
|
314
323
|
comfortable: Object(external_styled_components_["css"])(["padding:16px 24px;&:last-child{padding-bottom:32px;}"]),
|
|
@@ -648,13 +657,6 @@ _defineProperty(Card_Card, "Footer", Card_Footer);
|
|
|
648
657
|
|
|
649
658
|
|
|
650
659
|
|
|
651
|
-
/***/ }),
|
|
652
|
-
|
|
653
|
-
/***/ 12:
|
|
654
|
-
/***/ (function(module, exports) {
|
|
655
|
-
|
|
656
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
657
|
-
|
|
658
660
|
/***/ }),
|
|
659
661
|
|
|
660
662
|
/***/ 16:
|
|
@@ -685,7 +687,7 @@ module.exports = require("styled-components");
|
|
|
685
687
|
|
|
686
688
|
/***/ }),
|
|
687
689
|
|
|
688
|
-
/***/
|
|
690
|
+
/***/ 42:
|
|
689
691
|
/***/ (function(module, exports) {
|
|
690
692
|
|
|
691
693
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
@@ -724,21 +726,21 @@ function SVG(props) {
|
|
|
724
726
|
|
|
725
727
|
/***/ }),
|
|
726
728
|
|
|
727
|
-
/***/
|
|
729
|
+
/***/ 64:
|
|
728
730
|
/***/ (function(module, exports) {
|
|
729
731
|
|
|
730
732
|
module.exports = require("@splunk/react-ui/Anchor");
|
|
731
733
|
|
|
732
734
|
/***/ }),
|
|
733
735
|
|
|
734
|
-
/***/
|
|
736
|
+
/***/ 65:
|
|
735
737
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
736
738
|
|
|
737
739
|
"use strict";
|
|
738
740
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
|
|
739
741
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
740
742
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
741
|
-
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
743
|
+
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66);
|
|
742
744
|
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__);
|
|
743
745
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
744
746
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -769,7 +771,7 @@ function MoreVertical(props) {
|
|
|
769
771
|
|
|
770
772
|
/***/ }),
|
|
771
773
|
|
|
772
|
-
/***/
|
|
774
|
+
/***/ 66:
|
|
773
775
|
/***/ (function(module, exports) {
|
|
774
776
|
|
|
775
777
|
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 = 156);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 156:
|
|
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 = 157);
|
|
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
|
+
/***/ 157:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -123,13 +123,13 @@ var external_react_ = __webpack_require__(2);
|
|
|
123
123
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: external "@splunk/ui-utils/color"
|
|
126
|
-
var color_ = __webpack_require__(
|
|
126
|
+
var color_ = __webpack_require__(37);
|
|
127
127
|
|
|
128
128
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
129
129
|
var i18n_ = __webpack_require__(5);
|
|
130
130
|
|
|
131
131
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
132
|
-
var omit_ = __webpack_require__(
|
|
132
|
+
var omit_ = __webpack_require__(47);
|
|
133
133
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
134
134
|
|
|
135
135
|
// EXTERNAL MODULE: external "prop-types"
|
|
@@ -137,7 +137,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
137
137
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
138
138
|
|
|
139
139
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
140
|
-
var CrossMark = __webpack_require__(
|
|
140
|
+
var CrossMark = __webpack_require__(22);
|
|
141
141
|
|
|
142
142
|
// EXTERNAL MODULE: external "styled-components"
|
|
143
143
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -545,14 +545,21 @@ Chip.defaultProps = defaultProps;
|
|
|
545
545
|
|
|
546
546
|
/***/ }),
|
|
547
547
|
|
|
548
|
-
/***/
|
|
548
|
+
/***/ 2:
|
|
549
|
+
/***/ (function(module, exports) {
|
|
550
|
+
|
|
551
|
+
module.exports = require("react");
|
|
552
|
+
|
|
553
|
+
/***/ }),
|
|
554
|
+
|
|
555
|
+
/***/ 22:
|
|
549
556
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
550
557
|
|
|
551
558
|
"use strict";
|
|
552
559
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
553
560
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
554
561
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
555
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
562
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23);
|
|
556
563
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
557
564
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
558
565
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -595,14 +602,7 @@ function CrossMark(props) {
|
|
|
595
602
|
|
|
596
603
|
/***/ }),
|
|
597
604
|
|
|
598
|
-
/***/
|
|
599
|
-
/***/ (function(module, exports) {
|
|
600
|
-
|
|
601
|
-
module.exports = require("react");
|
|
602
|
-
|
|
603
|
-
/***/ }),
|
|
604
|
-
|
|
605
|
-
/***/ 21:
|
|
605
|
+
/***/ 23:
|
|
606
606
|
/***/ (function(module, exports) {
|
|
607
607
|
|
|
608
608
|
module.exports = require("@splunk/react-icons/Close");
|
|
@@ -616,14 +616,14 @@ module.exports = require("styled-components");
|
|
|
616
616
|
|
|
617
617
|
/***/ }),
|
|
618
618
|
|
|
619
|
-
/***/
|
|
619
|
+
/***/ 37:
|
|
620
620
|
/***/ (function(module, exports) {
|
|
621
621
|
|
|
622
622
|
module.exports = require("@splunk/ui-utils/color");
|
|
623
623
|
|
|
624
624
|
/***/ }),
|
|
625
625
|
|
|
626
|
-
/***/
|
|
626
|
+
/***/ 47:
|
|
627
627
|
/***/ (function(module, exports) {
|
|
628
628
|
|
|
629
629
|
module.exports = require("lodash/omit");
|
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 = 141);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 10:
|
|
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
|
+
/***/ 141:
|
|
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__(10);
|
|
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); }
|
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 = 158);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 158:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -123,14 +123,14 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
123
123
|
var i18n_ = __webpack_require__(5);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
126
|
-
var CrossMark = __webpack_require__(
|
|
126
|
+
var CrossMark = __webpack_require__(22);
|
|
127
127
|
|
|
128
128
|
// EXTERNAL MODULE: external "styled-components"
|
|
129
129
|
var external_styled_components_ = __webpack_require__(3);
|
|
130
130
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "@splunk/react-ui/ButtonSimple"
|
|
133
|
-
var ButtonSimple_ = __webpack_require__(
|
|
133
|
+
var ButtonSimple_ = __webpack_require__(48);
|
|
134
134
|
var ButtonSimple_default = /*#__PURE__*/__webpack_require__.n(ButtonSimple_);
|
|
135
135
|
|
|
136
136
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -187,14 +187,21 @@ CloseButton.propTypes = propTypes;
|
|
|
187
187
|
|
|
188
188
|
/***/ }),
|
|
189
189
|
|
|
190
|
-
/***/
|
|
190
|
+
/***/ 2:
|
|
191
|
+
/***/ (function(module, exports) {
|
|
192
|
+
|
|
193
|
+
module.exports = require("react");
|
|
194
|
+
|
|
195
|
+
/***/ }),
|
|
196
|
+
|
|
197
|
+
/***/ 22:
|
|
191
198
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
192
199
|
|
|
193
200
|
"use strict";
|
|
194
201
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
195
202
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
196
203
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
197
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
204
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23);
|
|
198
205
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
199
206
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
200
207
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -237,14 +244,7 @@ function CrossMark(props) {
|
|
|
237
244
|
|
|
238
245
|
/***/ }),
|
|
239
246
|
|
|
240
|
-
/***/
|
|
241
|
-
/***/ (function(module, exports) {
|
|
242
|
-
|
|
243
|
-
module.exports = require("react");
|
|
244
|
-
|
|
245
|
-
/***/ }),
|
|
246
|
-
|
|
247
|
-
/***/ 21:
|
|
247
|
+
/***/ 23:
|
|
248
248
|
/***/ (function(module, exports) {
|
|
249
249
|
|
|
250
250
|
module.exports = require("@splunk/react-icons/Close");
|
|
@@ -258,7 +258,7 @@ module.exports = require("styled-components");
|
|
|
258
258
|
|
|
259
259
|
/***/ }),
|
|
260
260
|
|
|
261
|
-
/***/
|
|
261
|
+
/***/ 48:
|
|
262
262
|
/***/ (function(module, exports) {
|
|
263
263
|
|
|
264
264
|
module.exports = require("@splunk/react-ui/ButtonSimple");
|
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 = 159);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 159:
|
|
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__(84);
|
|
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
|
+
/***/ 84:
|
|
385
385
|
/***/ (function(module, exports, __webpack_require__) {
|
|
386
386
|
|
|
387
387
|
|
package/CollapsiblePanel.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 160);
|
|
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, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/ui-utils/id");
|
|
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/Clickable");
|
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 160:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
|
@@ -140,14 +140,14 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
140
140
|
var i18n_ = __webpack_require__(5);
|
|
141
141
|
|
|
142
142
|
// EXTERNAL MODULE: external "@splunk/ui-utils/id"
|
|
143
|
-
var id_ = __webpack_require__(
|
|
143
|
+
var id_ = __webpack_require__(11);
|
|
144
144
|
|
|
145
145
|
// EXTERNAL MODULE: external "@splunk/react-ui/TransitionOpen"
|
|
146
|
-
var TransitionOpen_ = __webpack_require__(
|
|
146
|
+
var TransitionOpen_ = __webpack_require__(55);
|
|
147
147
|
var TransitionOpen_default = /*#__PURE__*/__webpack_require__.n(TransitionOpen_);
|
|
148
148
|
|
|
149
149
|
// EXTERNAL MODULE: ./src/icons/ChevronRight.tsx
|
|
150
|
-
var ChevronRight = __webpack_require__(
|
|
150
|
+
var ChevronRight = __webpack_require__(29);
|
|
151
151
|
|
|
152
152
|
// EXTERNAL MODULE: external "styled-components"
|
|
153
153
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -373,12 +373,14 @@ var propTypes = {
|
|
|
373
373
|
open: external_prop_types_default.a.bool,
|
|
374
374
|
overflow: external_prop_types_default.a.string,
|
|
375
375
|
panelId: external_prop_types_default.a.any,
|
|
376
|
+
renderChildrenWhenCollapsed: external_prop_types_default.a.bool,
|
|
376
377
|
title: external_prop_types_default.a.node.isRequired,
|
|
377
378
|
titleWithActions: external_prop_types_default.a.bool
|
|
378
379
|
};
|
|
379
380
|
var defaultProps = {
|
|
380
381
|
disabled: false,
|
|
381
382
|
overflow: 'auto',
|
|
383
|
+
renderChildrenWhenCollapsed: false,
|
|
382
384
|
titleWithActions: false
|
|
383
385
|
};
|
|
384
386
|
|
|
@@ -484,6 +486,7 @@ var CollapsiblePanel_CollapsiblePanel = /*#__PURE__*/function (_Component) {
|
|
|
484
486
|
elementRef = _this$props3.elementRef,
|
|
485
487
|
headingLevel = _this$props3.headingLevel,
|
|
486
488
|
overflow = _this$props3.overflow,
|
|
489
|
+
renderChildrenWhenCollapsed = _this$props3.renderChildrenWhenCollapsed,
|
|
487
490
|
title = _this$props3.title,
|
|
488
491
|
titleWithActions = _this$props3.titleWithActions;
|
|
489
492
|
var animating = this.state.animating;
|
|
@@ -541,7 +544,8 @@ var CollapsiblePanel_CollapsiblePanel = /*#__PURE__*/function (_Component) {
|
|
|
541
544
|
tableLayout: 'fixed'
|
|
542
545
|
}, innerBodyStyles),
|
|
543
546
|
open: open,
|
|
544
|
-
onAnimationEnd: this.handleAnimationEnd
|
|
547
|
+
onAnimationEnd: this.handleAnimationEnd,
|
|
548
|
+
renderChildrenWhenCollapsed: renderChildrenWhenCollapsed
|
|
545
549
|
}, children));
|
|
546
550
|
}
|
|
547
551
|
}]);
|
|
@@ -567,14 +571,14 @@ module.exports = require("react");
|
|
|
567
571
|
|
|
568
572
|
/***/ }),
|
|
569
573
|
|
|
570
|
-
/***/
|
|
574
|
+
/***/ 29:
|
|
571
575
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
572
576
|
|
|
573
577
|
"use strict";
|
|
574
578
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ChevronRight; });
|
|
575
579
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
576
580
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
577
|
-
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
581
|
+
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35);
|
|
578
582
|
/* harmony import */ var _splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_ChevronRight__WEBPACK_IMPORTED_MODULE_1__);
|
|
579
583
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
580
584
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -624,7 +628,7 @@ module.exports = require("styled-components");
|
|
|
624
628
|
|
|
625
629
|
/***/ }),
|
|
626
630
|
|
|
627
|
-
/***/
|
|
631
|
+
/***/ 35:
|
|
628
632
|
/***/ (function(module, exports) {
|
|
629
633
|
|
|
630
634
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
|
@@ -645,7 +649,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
645
649
|
|
|
646
650
|
/***/ }),
|
|
647
651
|
|
|
648
|
-
/***/
|
|
652
|
+
/***/ 55:
|
|
649
653
|
/***/ (function(module, exports) {
|
|
650
654
|
|
|
651
655
|
module.exports = require("@splunk/react-ui/TransitionOpen");
|