@splunk/react-ui 4.1.0 → 4.4.1
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 +26 -35
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +22 -22
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +12 -6
- package/CHANGELOG.md +69 -2
- package/Calendar.js +23 -23
- package/Card.js +15 -15
- package/CardLayout.js +2 -2
- package/Chip.js +13 -13
- package/Clickable.js +4 -4
- package/CloseButton.js +8 -8
- package/Code.js +1279 -1120
- package/CollapsiblePanel.js +11 -11
- package/Color.js +111 -172
- package/ColumnLayout.js +6 -6
- package/ComboBox.js +63 -30
- package/Concertina.js +2 -2
- package/ControlGroup.js +61 -20
- package/Date.js +66 -29
- package/DefinitionList.js +2 -2
- package/Dropdown.js +6 -6
- package/FetchOptions.js +8 -8
- package/File.js +87 -72
- package/FormRows.js +219 -331
- package/Heading.js +2 -2
- package/Image.js +15 -15
- package/JSONTree.js +63 -20
- package/Layer.js +8 -8
- package/Link.js +13 -13
- package/List.js +2 -2
- package/Markdown.js +19 -19
- package/Menu.js +315 -230
- package/Message.js +19 -19
- package/Modal.js +22 -11
- package/ModalLayer.js +25 -11
- package/Monogram.js +7 -7
- package/Multiselect.js +1931 -1057
- package/Number.js +40 -27
- package/Paginator.js +67 -49
- package/Paragraph.js +2 -2
- package/Popover.js +62 -35
- package/Progress.js +9 -21
- package/RadioBar.js +6 -6
- package/RadioList.js +2 -2
- package/ResultsMenu.js +18 -10
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +37 -19
- package/ScrollContainerContext.js +2 -2
- package/Select.js +1309 -562
- package/SidePanel.js +22 -17
- package/Slider.js +8 -8
- package/SlidingPanels.js +63 -47
- package/StaticContent.js +2 -2
- package/StepBar.js +8 -8
- package/Switch.js +20 -11
- package/TabBar.js +54 -40
- package/TabLayout.js +4 -4
- package/Table.js +148 -85
- package/Text.js +474 -356
- package/Tooltip.js +6 -6
- package/TransitionOpen.js +26 -24
- package/WaitSpinner.js +4 -4
- package/package.json +8 -7
- package/stubs-splunkui.d.ts +1 -0
- package/types/src/Accordion/Accordion.d.ts +2 -2
- package/types/src/Animation/Animation.d.ts +6 -5
- package/types/src/Button/Button.d.ts +2 -2
- package/types/src/ButtonSimple/ButtonSimple.d.ts +5 -5
- package/types/src/Calendar/DateTable.d.ts +1 -0
- package/types/src/Calendar/MonthHeader.d.ts +2 -2
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -2
- package/types/src/Color/Color.d.ts +5 -4
- package/types/src/Color/Swatch.d.ts +4 -15
- package/types/src/ComboBox/ComboBox.d.ts +2 -2
- package/types/src/ControlGroup/ControlGroup.d.ts +7 -2
- package/types/src/ControlGroup/ControlGroupContext.d.ts +15 -0
- package/types/src/Date/Date.d.ts +7 -5
- package/types/src/Date/Icon.d.ts +1 -0
- package/types/src/Dropdown/Dropdown.d.ts +1 -1
- package/types/src/File/File.d.ts +2 -2
- package/types/src/File/FileContext.d.ts +9 -0
- package/types/src/File/Icon.d.ts +1 -0
- package/types/src/File/IconCloud.d.ts +1 -0
- package/types/src/File/Item.d.ts +5 -10
- package/types/src/File/PaperClip.d.ts +1 -0
- package/types/src/File/Retry.d.ts +1 -0
- package/types/src/File/Trash.d.ts +1 -0
- package/types/src/FormRows/FormRows.d.ts +11 -69
- package/types/src/FormRows/FormRowsContext.d.ts +9 -0
- package/types/src/FormRows/Row.d.ts +7 -20
- package/types/src/JSONTree/JSONTree.d.ts +14 -2
- package/types/src/JSONTree/TreeNode.d.ts +4 -1
- package/types/src/Menu/Divider.d.ts +1 -0
- package/types/src/Menu/Heading.d.ts +3 -1
- package/types/src/Menu/Item.d.ts +22 -6
- package/types/src/Menu/Menu.d.ts +17 -18
- package/types/src/Menu/MenuContext.d.ts +6 -0
- package/types/src/Menu/index.d.ts +1 -0
- package/types/src/Multiselect/Compact.d.ts +7 -26
- package/types/src/Multiselect/Multiselect.d.ts +7 -2
- package/types/src/Multiselect/Normal.d.ts +8 -2
- package/types/src/Multiselect/Option.d.ts +4 -1
- package/types/src/Number/IncrementIcon.d.ts +1 -0
- package/types/src/Number/Number.d.ts +4 -4
- package/types/src/Paginator/PageSeparator.d.ts +3 -0
- package/types/src/Popover/Popover.d.ts +5 -5
- package/types/src/Popover/PopoverContext.d.ts +6 -0
- package/types/src/Popover/index.d.ts +1 -0
- package/types/src/RadioBar/RadioBar.d.ts +5 -5
- package/types/src/RadioList/RadioListContext.d.ts +1 -0
- package/types/src/ResultsMenu/ResultsMenu.d.ts +4 -0
- package/types/src/Scroll/Inner.d.ts +4 -3
- package/types/src/Scroll/Scroll.d.ts +1 -1
- package/types/src/Select/Option.d.ts +2 -5
- package/types/src/Select/OptionBase.d.ts +94 -0
- package/types/src/Select/Select.d.ts +12 -37
- package/types/src/Select/SelectBase.d.ts +221 -0
- package/types/src/SidePanel/SidePanel.d.ts +4 -0
- package/types/src/Slider/Slider.d.ts +4 -4
- package/types/src/SlidingPanels/SlidingPanels.d.ts +0 -1
- package/types/src/Switch/CheckIcon.d.ts +1 -0
- package/types/src/Switch/Switch.d.ts +3 -7
- package/types/src/TabBar/Tab.d.ts +4 -1
- package/types/src/TabLayout/TabLayout.d.ts +2 -2
- package/types/src/Table/DragHandle.d.ts +1 -0
- package/types/src/Table/Head.d.ts +2 -0
- package/types/src/Table/HeadCell.d.ts +2 -2
- package/types/src/Table/HeadDropdownCell.d.ts +1 -1
- package/types/src/Table/HeadExpandRowsIcon.d.ts +1 -0
- package/types/src/Table/HeadInner.d.ts +3 -3
- package/types/src/Table/Table.d.ts +7 -3
- package/types/src/Table/Toggle.d.ts +1 -0
- package/types/src/Text/IconOutlinedHide.d.ts +1 -0
- package/types/src/Text/IconOutlinedView.d.ts +1 -0
- package/types/src/Text/Text.d.ts +28 -12
- package/types/src/Tooltip/InfoIcon.d.ts +1 -0
- package/types/src/Tooltip/Tooltip.d.ts +3 -3
- package/types/src/icons/Alert.d.ts +1 -0
- package/types/src/icons/AlertFilled.d.ts +1 -0
- package/types/src/icons/CaretDown.d.ts +1 -0
- package/types/src/icons/CaretRight.d.ts +1 -0
- package/types/src/icons/Check.d.ts +1 -0
- package/types/src/icons/ChevronDown.d.ts +1 -0
- package/types/src/icons/ChevronLeft.d.ts +1 -0
- package/types/src/icons/ChevronRight.d.ts +1 -0
- package/types/src/icons/CrossMark.d.ts +1 -0
- package/types/src/icons/External.d.ts +1 -0
- package/types/src/icons/InfoFilled.d.ts +1 -0
- package/types/src/icons/More.d.ts +1 -0
- package/types/src/icons/MoreVertical.d.ts +1 -0
- package/types/src/icons/Plus.d.ts +1 -0
- package/types/src/icons/SVG.d.ts +1 -0
- package/types/src/icons/Search.d.ts +1 -0
- package/types/src/icons/SortedDown.d.ts +1 -0
- package/types/src/icons/SortedUp.d.ts +1 -0
- package/types/src/icons/Success.d.ts +1 -0
- package/types/src/icons/SuccessFilled.d.ts +1 -0
- package/types/src/icons/WarningFilled.d.ts +1 -0
- package/types/src/utils/types.d.ts +1 -0
package/Message.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 105);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 105:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -121,7 +121,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
121
121
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
122
122
|
|
|
123
123
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
124
|
-
var CrossMark = __webpack_require__(
|
|
124
|
+
var CrossMark = __webpack_require__(21);
|
|
125
125
|
|
|
126
126
|
// EXTERNAL MODULE: external "styled-components"
|
|
127
127
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -257,7 +257,7 @@ var Banner_Banner = function Banner(_ref) {
|
|
|
257
257
|
|
|
258
258
|
/* harmony default export */ var Message_Banner = (Banner_Banner);
|
|
259
259
|
// EXTERNAL MODULE: external "@splunk/react-ui/Link"
|
|
260
|
-
var Link_ = __webpack_require__(
|
|
260
|
+
var Link_ = __webpack_require__(29);
|
|
261
261
|
var Link_default = /*#__PURE__*/__webpack_require__.n(Link_);
|
|
262
262
|
|
|
263
263
|
// CONCATENATED MODULE: ./src/Message/LinkStyles.ts
|
|
@@ -474,7 +474,7 @@ var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
|
474
474
|
}));
|
|
475
475
|
|
|
476
476
|
// EXTERNAL MODULE: external "@splunk/react-icons/Error"
|
|
477
|
-
var Error_ = __webpack_require__(
|
|
477
|
+
var Error_ = __webpack_require__(63);
|
|
478
478
|
var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
|
|
479
479
|
|
|
480
480
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -511,7 +511,7 @@ function AlertFilled(props) {
|
|
|
511
511
|
}, props));
|
|
512
512
|
}
|
|
513
513
|
// EXTERNAL MODULE: external "@splunk/react-icons/InfoCircle"
|
|
514
|
-
var InfoCircle_ = __webpack_require__(
|
|
514
|
+
var InfoCircle_ = __webpack_require__(87);
|
|
515
515
|
var InfoCircle_default = /*#__PURE__*/__webpack_require__.n(InfoCircle_);
|
|
516
516
|
|
|
517
517
|
// CONCATENATED MODULE: ./src/icons/InfoFilled.tsx
|
|
@@ -542,7 +542,7 @@ function InfoFilled(props) {
|
|
|
542
542
|
}, props));
|
|
543
543
|
}
|
|
544
544
|
// EXTERNAL MODULE: external "@splunk/react-icons/Success"
|
|
545
|
-
var Success_ = __webpack_require__(
|
|
545
|
+
var Success_ = __webpack_require__(64);
|
|
546
546
|
var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
|
|
547
547
|
|
|
548
548
|
// CONCATENATED MODULE: ./src/icons/SuccessFilled.tsx
|
|
@@ -573,7 +573,7 @@ function SuccessFilled(props) {
|
|
|
573
573
|
}, props));
|
|
574
574
|
}
|
|
575
575
|
// EXTERNAL MODULE: external "@splunk/react-icons/Warning"
|
|
576
|
-
var Warning_ = __webpack_require__(
|
|
576
|
+
var Warning_ = __webpack_require__(88);
|
|
577
577
|
var Warning_default = /*#__PURE__*/__webpack_require__.n(Warning_);
|
|
578
578
|
|
|
579
579
|
// CONCATENATED MODULE: ./src/icons/WarningFilled.tsx
|
|
@@ -711,14 +711,14 @@ module.exports = require("react");
|
|
|
711
711
|
|
|
712
712
|
/***/ }),
|
|
713
713
|
|
|
714
|
-
/***/
|
|
714
|
+
/***/ 21:
|
|
715
715
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
716
716
|
|
|
717
717
|
"use strict";
|
|
718
718
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
719
719
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
720
720
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
721
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
721
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(25);
|
|
722
722
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
723
723
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
724
724
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -761,24 +761,24 @@ function CrossMark(props) {
|
|
|
761
761
|
|
|
762
762
|
/***/ }),
|
|
763
763
|
|
|
764
|
-
/***/
|
|
764
|
+
/***/ 25:
|
|
765
765
|
/***/ (function(module, exports) {
|
|
766
766
|
|
|
767
767
|
module.exports = require("@splunk/react-icons/Close");
|
|
768
768
|
|
|
769
769
|
/***/ }),
|
|
770
770
|
|
|
771
|
-
/***/
|
|
771
|
+
/***/ 29:
|
|
772
772
|
/***/ (function(module, exports) {
|
|
773
773
|
|
|
774
|
-
module.exports = require("
|
|
774
|
+
module.exports = require("@splunk/react-ui/Link");
|
|
775
775
|
|
|
776
776
|
/***/ }),
|
|
777
777
|
|
|
778
|
-
/***/
|
|
778
|
+
/***/ 3:
|
|
779
779
|
/***/ (function(module, exports) {
|
|
780
780
|
|
|
781
|
-
module.exports = require("
|
|
781
|
+
module.exports = require("styled-components");
|
|
782
782
|
|
|
783
783
|
/***/ }),
|
|
784
784
|
|
|
@@ -807,14 +807,14 @@ function SVG(props) {
|
|
|
807
807
|
|
|
808
808
|
/***/ }),
|
|
809
809
|
|
|
810
|
-
/***/
|
|
810
|
+
/***/ 63:
|
|
811
811
|
/***/ (function(module, exports) {
|
|
812
812
|
|
|
813
813
|
module.exports = require("@splunk/react-icons/Error");
|
|
814
814
|
|
|
815
815
|
/***/ }),
|
|
816
816
|
|
|
817
|
-
/***/
|
|
817
|
+
/***/ 64:
|
|
818
818
|
/***/ (function(module, exports) {
|
|
819
819
|
|
|
820
820
|
module.exports = require("@splunk/react-icons/Success");
|
|
@@ -946,14 +946,14 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
946
946
|
|
|
947
947
|
/***/ }),
|
|
948
948
|
|
|
949
|
-
/***/
|
|
949
|
+
/***/ 87:
|
|
950
950
|
/***/ (function(module, exports) {
|
|
951
951
|
|
|
952
952
|
module.exports = require("@splunk/react-icons/InfoCircle");
|
|
953
953
|
|
|
954
954
|
/***/ }),
|
|
955
955
|
|
|
956
|
-
/***/
|
|
956
|
+
/***/ 88:
|
|
957
957
|
/***/ (function(module, exports) {
|
|
958
958
|
|
|
959
959
|
module.exports = require("@splunk/react-icons/Warning");
|
package/Modal.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 = 110);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 110:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -126,14 +126,14 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
126
126
|
var external_lodash_ = __webpack_require__(4);
|
|
127
127
|
|
|
128
128
|
// EXTERNAL MODULE: external "@splunk/react-ui/ModalLayer"
|
|
129
|
-
var ModalLayer_ = __webpack_require__(
|
|
129
|
+
var ModalLayer_ = __webpack_require__(65);
|
|
130
130
|
var ModalLayer_default = /*#__PURE__*/__webpack_require__.n(ModalLayer_);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
133
|
-
var focus_ = __webpack_require__(
|
|
133
|
+
var focus_ = __webpack_require__(24);
|
|
134
134
|
|
|
135
135
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScrollContainerContext"
|
|
136
|
-
var ScrollContainerContext_ = __webpack_require__(
|
|
136
|
+
var ScrollContainerContext_ = __webpack_require__(35);
|
|
137
137
|
|
|
138
138
|
// EXTERNAL MODULE: external "styled-components"
|
|
139
139
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -271,7 +271,7 @@ function Footer(_ref) {
|
|
|
271
271
|
Footer.propTypes = Footer_propTypes;
|
|
272
272
|
/* harmony default export */ var Modal_Footer = (Footer);
|
|
273
273
|
// EXTERNAL MODULE: external "@splunk/react-ui/CloseButton"
|
|
274
|
-
var CloseButton_ = __webpack_require__(
|
|
274
|
+
var CloseButton_ = __webpack_require__(59);
|
|
275
275
|
var CloseButton_default = /*#__PURE__*/__webpack_require__.n(CloseButton_);
|
|
276
276
|
|
|
277
277
|
// CONCATENATED MODULE: ./src/Modal/HeaderStyles.ts
|
|
@@ -410,10 +410,14 @@ function Header(_ref) {
|
|
|
410
410
|
|
|
411
411
|
Header.propTypes = Header_propTypes;
|
|
412
412
|
/* harmony default export */ var Modal_Header = (Header);
|
|
413
|
+
// EXTERNAL MODULE: external "react-spring"
|
|
414
|
+
var external_react_spring_ = __webpack_require__(18);
|
|
415
|
+
|
|
413
416
|
// CONCATENATED MODULE: ./src/Modal/ModalStyles.ts
|
|
414
417
|
|
|
415
418
|
|
|
416
|
-
|
|
419
|
+
|
|
420
|
+
var Styled = external_styled_components_default()(external_react_spring_["animated"].div).withConfig({
|
|
417
421
|
displayName: "ModalStyles__Styled",
|
|
418
422
|
componentId: "sc-5fn8ds-0"
|
|
419
423
|
})(["", ";flex-direction:column;position:fixed;left:50%;transform:translateX(-50%);z-index:", ";", ""], themes_["mixins"].reset('flex'), themes_["variables"].zindexModal, Object(themes_["pick"])({
|
|
@@ -594,6 +598,13 @@ _defineProperty(Modal_Modal, "Footer", Modal_Footer);
|
|
|
594
598
|
|
|
595
599
|
|
|
596
600
|
|
|
601
|
+
/***/ }),
|
|
602
|
+
|
|
603
|
+
/***/ 18:
|
|
604
|
+
/***/ (function(module, exports) {
|
|
605
|
+
|
|
606
|
+
module.exports = require("react-spring");
|
|
607
|
+
|
|
597
608
|
/***/ }),
|
|
598
609
|
|
|
599
610
|
/***/ 2:
|
|
@@ -603,7 +614,7 @@ module.exports = require("react");
|
|
|
603
614
|
|
|
604
615
|
/***/ }),
|
|
605
616
|
|
|
606
|
-
/***/
|
|
617
|
+
/***/ 24:
|
|
607
618
|
/***/ (function(module, exports) {
|
|
608
619
|
|
|
609
620
|
module.exports = require("@splunk/ui-utils/focus");
|
|
@@ -617,7 +628,7 @@ module.exports = require("styled-components");
|
|
|
617
628
|
|
|
618
629
|
/***/ }),
|
|
619
630
|
|
|
620
|
-
/***/
|
|
631
|
+
/***/ 35:
|
|
621
632
|
/***/ (function(module, exports) {
|
|
622
633
|
|
|
623
634
|
module.exports = require("@splunk/react-ui/ScrollContainerContext");
|
|
@@ -631,14 +642,14 @@ module.exports = require("lodash");
|
|
|
631
642
|
|
|
632
643
|
/***/ }),
|
|
633
644
|
|
|
634
|
-
/***/
|
|
645
|
+
/***/ 59:
|
|
635
646
|
/***/ (function(module, exports) {
|
|
636
647
|
|
|
637
648
|
module.exports = require("@splunk/react-ui/CloseButton");
|
|
638
649
|
|
|
639
650
|
/***/ }),
|
|
640
651
|
|
|
641
|
-
/***/
|
|
652
|
+
/***/ 65:
|
|
642
653
|
/***/ (function(module, exports) {
|
|
643
654
|
|
|
644
655
|
module.exports = require("@splunk/react-ui/ModalLayer");
|
package/ModalLayer.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";
|
|
@@ -120,24 +120,28 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
120
120
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
121
121
|
|
|
122
122
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
123
|
-
var Animation_ = __webpack_require__(
|
|
123
|
+
var Animation_ = __webpack_require__(30);
|
|
124
124
|
|
|
125
125
|
// EXTERNAL MODULE: external "@splunk/react-ui/Layer"
|
|
126
|
-
var Layer_ = __webpack_require__(
|
|
126
|
+
var Layer_ = __webpack_require__(49);
|
|
127
127
|
var Layer_default = /*#__PURE__*/__webpack_require__.n(Layer_);
|
|
128
128
|
|
|
129
129
|
// EXTERNAL MODULE: external "styled-components"
|
|
130
130
|
var external_styled_components_ = __webpack_require__(3);
|
|
131
131
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
132
132
|
|
|
133
|
+
// EXTERNAL MODULE: external "react-spring"
|
|
134
|
+
var external_react_spring_ = __webpack_require__(18);
|
|
135
|
+
|
|
133
136
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
134
137
|
var themes_ = __webpack_require__(0);
|
|
135
138
|
|
|
136
139
|
// CONCATENATED MODULE: ./src/ModalLayer/ModalLayerStyles.ts
|
|
137
140
|
|
|
138
141
|
|
|
142
|
+
|
|
139
143
|
var overlay = Object(external_styled_components_["css"])(["", ";position:fixed;top:0;right:0;bottom:0;left:0;"], themes_["mixins"].reset('block'));
|
|
140
|
-
var StyledClickAwayOverlay = external_styled_components_default.
|
|
144
|
+
var StyledClickAwayOverlay = external_styled_components_default()(external_react_spring_["animated"].div).withConfig({
|
|
141
145
|
displayName: "ModalLayerStyles__StyledClickAwayOverlay",
|
|
142
146
|
componentId: "sc-1sa3n1j-0"
|
|
143
147
|
})(["", ";background-color:", ";z-index:", ";"], overlay, themes_["variables"].backgroundColorScrim, themes_["variables"].zindexModalBackdrop);
|
|
@@ -236,10 +240,13 @@ var ModalLayer_ModalLayer = /*#__PURE__*/function (_Component) {
|
|
|
236
240
|
}),
|
|
237
241
|
onRest: _this.handleAnimationEnd
|
|
238
242
|
}, function (interpolatedStyle) {
|
|
239
|
-
return /*#__PURE__*/external_react_default.a.createElement("div", null,
|
|
243
|
+
return /*#__PURE__*/external_react_default.a.createElement("div", null,
|
|
244
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
245
|
+
renderModal(interpolatedStyle), open && useLayerForClickAway && /*#__PURE__*/external_react_default.a.createElement(StyledClickAwayOverlay, {
|
|
240
246
|
onMouseDown: _this.handleClickAway,
|
|
241
247
|
key: "clickAway",
|
|
242
248
|
style: {
|
|
249
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any */
|
|
243
250
|
opacity: interpolatedStyle.overlayOpacity
|
|
244
251
|
}
|
|
245
252
|
}));
|
|
@@ -293,17 +300,17 @@ _defineProperty(ModalLayer_ModalLayer, "getDerivedStateFromProps", function (pro
|
|
|
293
300
|
|
|
294
301
|
/***/ }),
|
|
295
302
|
|
|
296
|
-
/***/
|
|
303
|
+
/***/ 18:
|
|
297
304
|
/***/ (function(module, exports) {
|
|
298
305
|
|
|
299
|
-
module.exports = require("react");
|
|
306
|
+
module.exports = require("react-spring");
|
|
300
307
|
|
|
301
308
|
/***/ }),
|
|
302
309
|
|
|
303
|
-
/***/
|
|
310
|
+
/***/ 2:
|
|
304
311
|
/***/ (function(module, exports) {
|
|
305
312
|
|
|
306
|
-
module.exports = require("
|
|
313
|
+
module.exports = require("react");
|
|
307
314
|
|
|
308
315
|
/***/ }),
|
|
309
316
|
|
|
@@ -314,7 +321,14 @@ module.exports = require("styled-components");
|
|
|
314
321
|
|
|
315
322
|
/***/ }),
|
|
316
323
|
|
|
317
|
-
/***/
|
|
324
|
+
/***/ 30:
|
|
325
|
+
/***/ (function(module, exports) {
|
|
326
|
+
|
|
327
|
+
module.exports = require("@splunk/react-ui/Animation");
|
|
328
|
+
|
|
329
|
+
/***/ }),
|
|
330
|
+
|
|
331
|
+
/***/ 49:
|
|
318
332
|
/***/ (function(module, exports) {
|
|
319
333
|
|
|
320
334
|
module.exports = require("@splunk/react-ui/Layer");
|
package/Monogram.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 = 142);
|
|
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
|
+
/***/ 142:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -128,7 +128,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
128
128
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
129
129
|
|
|
130
130
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
131
|
-
var omit_ = __webpack_require__(
|
|
131
|
+
var omit_ = __webpack_require__(32);
|
|
132
132
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
133
133
|
|
|
134
134
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -343,17 +343,17 @@ module.exports = require("react");
|
|
|
343
343
|
|
|
344
344
|
/***/ }),
|
|
345
345
|
|
|
346
|
-
/***/
|
|
346
|
+
/***/ 3:
|
|
347
347
|
/***/ (function(module, exports) {
|
|
348
348
|
|
|
349
|
-
module.exports = require("
|
|
349
|
+
module.exports = require("styled-components");
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
|
|
353
|
-
/***/
|
|
353
|
+
/***/ 32:
|
|
354
354
|
/***/ (function(module, exports) {
|
|
355
355
|
|
|
356
|
-
module.exports = require("
|
|
356
|
+
module.exports = require("lodash/omit");
|
|
357
357
|
|
|
358
358
|
/***/ })
|
|
359
359
|
|