@splunk/react-ui 4.13.0 → 4.15.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/.dockerignore +2 -0
- package/Accordion.js +41 -16
- package/Anchor.js +9 -9
- package/Animation.js +6 -6
- package/AnimationToggle.js +2 -2
- package/Box.js +9 -9
- package/Button.js +47 -46
- package/ButtonGroup.js +9 -9
- package/ButtonSimple.js +14 -14
- package/CHANGELOG.md +46 -1
- package/Calendar.js +460 -147
- package/Card.js +85 -83
- package/CardLayout.js +9 -9
- package/Chip.js +23 -23
- package/Clickable.js +39 -15
- package/CloseButton.js +23 -23
- package/Code.js +484 -436
- package/CollapsiblePanel.js +64 -35
- package/Color.js +298 -188
- package/ColumnLayout.js +18 -17
- package/ComboBox.js +81 -32
- package/Concertina.js +89 -28
- package/ControlGroup.js +85 -27
- package/Date.js +134 -58
- package/DefinitionList.js +14 -8
- package/Divider.d.ts +2 -0
- package/Divider.js +194 -0
- package/Dockerfile.enterprise.storybook +7 -0
- package/Dockerfile.prisma.storybook +7 -0
- package/Dockerfile.visual +10 -0
- package/Dropdown.js +79 -19
- package/EventListener.js +17 -17
- package/File.js +96 -43
- package/FormRows.js +40 -39
- package/Heading.js +83 -55
- package/Image.js +67 -42
- package/JSONTree.js +106 -21
- package/Layer.js +130 -28
- package/Link.js +17 -17
- package/List.js +3 -3
- package/Markdown.js +71 -65
- package/Menu.js +155 -121
- package/Message.js +135 -135
- package/MessageBar.js +136 -136
- package/Modal.js +99 -48
- package/ModalLayer.js +15 -15
- package/Monogram.js +18 -17
- package/Multiselect.js +2788 -2310
- package/Number.js +76 -37
- package/Paginator.js +99 -86
- package/Paragraph.js +10 -10
- package/Popover.js +343 -48
- package/Progress.js +23 -22
- package/RadioBar.js +32 -14
- package/RadioList.js +17 -11
- package/Resize.js +34 -21
- package/ResultsMenu.js +44 -31
- package/ScreenReaderContent.js +9 -9
- package/Scroll.js +52 -27
- package/ScrollContainerContext.js +157 -6
- package/Search.js +71 -34
- package/Select.js +347 -69
- package/SidePanel.js +37 -24
- package/Slider.js +50 -20
- package/SlidingPanels.js +56 -18
- package/SplitButton.js +27 -26
- package/StaticContent.js +9 -9
- package/StepBar.js +22 -22
- package/Switch.js +18 -13
- package/TabBar.js +28 -28
- package/TabLayout.js +43 -18
- package/Table.js +549 -158
- package/Text.js +93 -50
- package/TextArea.d.ts +2 -0
- package/TextArea.js +134 -56
- package/Tooltip.js +246 -63
- package/TransitionOpen.js +63 -26
- package/Typography.d.ts +2 -0
- package/Typography.js +17 -16
- package/WaitSpinner.js +15 -81
- package/docker-compose.yml +42 -0
- package/package.json +20 -20
- package/test-runner-jest.config.js +23 -5
- package/types/src/Accordion/AccordionContext.d.ts +1 -0
- package/types/src/Button/docs/examples/Selected.d.ts +2 -2
- package/types/src/ButtonGroup/ButtonGroupContext.d.ts +1 -0
- package/types/src/Calendar/Calendar.d.ts +17 -2
- package/types/src/Calendar/DateTable.d.ts +7 -3
- package/types/src/Calendar/Day.d.ts +14 -5
- package/types/src/CardLayout/CardLayoutContext.d.ts +1 -0
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +7 -3
- package/types/src/Concertina/ConcertinaContext.d.ts +1 -0
- package/types/src/ControlGroup/ControlGroup.d.ts +15 -8
- package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +2 -0
- package/types/src/ControlGroup/docs/examples/Required.d.ts +2 -0
- 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/File/File.d.ts +4 -2
- package/types/src/File/FileContext.d.ts +1 -0
- package/types/src/FormRows/FormRowsContext.d.ts +1 -0
- package/types/src/Markdown/renderers/MarkdownLink.d.ts +1 -1
- package/types/src/Menu/MenuContext.d.ts +1 -0
- package/types/src/Modal/Modal.d.ts +7 -3
- package/types/src/Modal/ModalContext.d.ts +2 -0
- package/types/src/Multiselect/Compact.d.ts +10 -1
- package/types/src/Multiselect/Multiselect.d.ts +12 -1
- package/types/src/Multiselect/Normal.d.ts +2 -0
- package/types/src/Number/Number.d.ts +5 -1
- package/types/src/Popover/Popover.d.ts +25 -5
- package/types/src/Popover/PopoverContext.d.ts +1 -0
- package/types/src/RadioBar/RadioBar.d.ts +5 -3
- package/types/src/RadioBar/RadioBarContext.d.ts +1 -0
- package/types/src/RadioList/RadioList.d.ts +5 -1
- package/types/src/RadioList/RadioListContext.d.ts +1 -0
- package/types/src/Select/SelectBase.d.ts +2 -0
- package/types/src/Slider/Slider.d.ts +5 -3
- 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/StepBar/StepBarContext.d.ts +1 -0
- package/types/src/Switch/Switch.d.ts +2 -0
- package/types/src/TabBar/TabBarContext.d.ts +1 -0
- package/types/src/Table/Head.d.ts +2 -0
- package/types/src/Table/TableContext.d.ts +1 -0
- package/types/src/Table/docs/examples/FilterColumnValues.d.ts +14 -0
- package/types/src/Text/Text.d.ts +5 -3
- package/types/src/TextArea/TextArea.d.ts +5 -3
- package/types/src/Tooltip/Tooltip.d.ts +26 -9
- package/types/src/TransitionOpen/TransitionOpen.d.ts +7 -3
- package/types/src/WaitSpinner/WaitSpinner.d.ts +1 -1
- package/types/src/useForceUpdate/useForceUpdate.d.ts +1 -0
- package/types/src/useKeyPress/index.d.ts +37 -0
- package/useForceUpdate.js +9 -9
- package/{useIsSsr.js → useKeyPress.js} +56 -49
- package/usePrevious.js +9 -9
- package/types/src/useIsSsr/index.d.ts +0 -2
- package/types/src/useIsSsr/useIsSsr.d.ts +0 -8
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 = 170);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 14:
|
|
105
|
+
/***/ (function(module, exports) {
|
|
106
|
+
|
|
107
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ 170:
|
|
105
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
113
|
|
|
107
114
|
"use strict";
|
|
@@ -245,26 +252,26 @@ function Footer(_ref) {
|
|
|
245
252
|
Footer.propTypes = Footer_propTypes;
|
|
246
253
|
/* harmony default export */ var Card_Footer = (Footer);
|
|
247
254
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
248
|
-
var i18n_ = __webpack_require__(
|
|
255
|
+
var i18n_ = __webpack_require__(4);
|
|
249
256
|
|
|
250
257
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
251
|
-
var Anchor_ = __webpack_require__(
|
|
258
|
+
var Anchor_ = __webpack_require__(85);
|
|
252
259
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
253
260
|
|
|
254
261
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
255
|
-
var Button_ = __webpack_require__(
|
|
262
|
+
var Button_ = __webpack_require__(19);
|
|
256
263
|
var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
257
264
|
|
|
258
265
|
// EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
|
|
259
|
-
var Dropdown_ = __webpack_require__(
|
|
266
|
+
var Dropdown_ = __webpack_require__(24);
|
|
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__(52);
|
|
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__(86);
|
|
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;}"]),
|
|
@@ -393,7 +402,7 @@ function Header(_ref) {
|
|
|
393
402
|
Header.propTypes = Header_propTypes;
|
|
394
403
|
/* harmony default export */ var Card_Header = (Header);
|
|
395
404
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
396
|
-
var Clickable_ = __webpack_require__(
|
|
405
|
+
var Clickable_ = __webpack_require__(14);
|
|
397
406
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
398
407
|
|
|
399
408
|
// CONCATENATED MODULE: ./src/Card/CardStyles.ts
|
|
@@ -650,31 +659,24 @@ _defineProperty(Card_Card, "Footer", Card_Footer);
|
|
|
650
659
|
|
|
651
660
|
/***/ }),
|
|
652
661
|
|
|
653
|
-
/***/
|
|
654
|
-
/***/ (function(module, exports) {
|
|
655
|
-
|
|
656
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
657
|
-
|
|
658
|
-
/***/ }),
|
|
659
|
-
|
|
660
|
-
/***/ 16:
|
|
662
|
+
/***/ 19:
|
|
661
663
|
/***/ (function(module, exports) {
|
|
662
664
|
|
|
663
665
|
module.exports = require("@splunk/react-ui/Button");
|
|
664
666
|
|
|
665
667
|
/***/ }),
|
|
666
668
|
|
|
667
|
-
/***/
|
|
669
|
+
/***/ 2:
|
|
668
670
|
/***/ (function(module, exports) {
|
|
669
671
|
|
|
670
|
-
module.exports = require("
|
|
672
|
+
module.exports = require("react");
|
|
671
673
|
|
|
672
674
|
/***/ }),
|
|
673
675
|
|
|
674
|
-
/***/
|
|
676
|
+
/***/ 24:
|
|
675
677
|
/***/ (function(module, exports) {
|
|
676
678
|
|
|
677
|
-
module.exports = require("react");
|
|
679
|
+
module.exports = require("@splunk/react-ui/Dropdown");
|
|
678
680
|
|
|
679
681
|
/***/ }),
|
|
680
682
|
|
|
@@ -685,17 +687,17 @@ module.exports = require("styled-components");
|
|
|
685
687
|
|
|
686
688
|
/***/ }),
|
|
687
689
|
|
|
688
|
-
/***/
|
|
690
|
+
/***/ 4:
|
|
689
691
|
/***/ (function(module, exports) {
|
|
690
692
|
|
|
691
|
-
module.exports = require("@splunk/
|
|
693
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
692
694
|
|
|
693
695
|
/***/ }),
|
|
694
696
|
|
|
695
|
-
/***/
|
|
697
|
+
/***/ 52:
|
|
696
698
|
/***/ (function(module, exports) {
|
|
697
699
|
|
|
698
|
-
module.exports = require("@splunk/
|
|
700
|
+
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
699
701
|
|
|
700
702
|
/***/ }),
|
|
701
703
|
|
|
@@ -724,58 +726,6 @@ function SVG(props) {
|
|
|
724
726
|
|
|
725
727
|
/***/ }),
|
|
726
728
|
|
|
727
|
-
/***/ 62:
|
|
728
|
-
/***/ (function(module, exports) {
|
|
729
|
-
|
|
730
|
-
module.exports = require("@splunk/react-ui/Anchor");
|
|
731
|
-
|
|
732
|
-
/***/ }),
|
|
733
|
-
|
|
734
|
-
/***/ 63:
|
|
735
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
736
|
-
|
|
737
|
-
"use strict";
|
|
738
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
|
|
739
|
-
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
740
|
-
/* 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__(64);
|
|
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__);
|
|
743
|
-
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
744
|
-
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
745
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
function Prisma24(_ref) {
|
|
753
|
-
var otherProps = _extends({}, _ref);
|
|
754
|
-
|
|
755
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_SVG__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _extends({
|
|
756
|
-
viewBox: "0 0 24 24"
|
|
757
|
-
}, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
|
|
758
|
-
d: "M12.0167 6.27273C12.9205 6.27273 13.6531 5.5401 13.6531 4.63636C13.6531 3.73263 12.9205 3 12.0167 3C11.113 3 10.3804 3.73263 10.3804 4.63636C10.3804 5.5401 11.113 6.27273 12.0167 6.27273ZM13.6531 12C13.6531 12.9038 12.9205 13.6364 12.0167 13.6364C11.113 13.6364 10.3804 12.9038 10.3804 12C10.3804 11.0963 11.113 10.3636 12.0167 10.3636C12.9205 10.3636 13.6531 11.0963 13.6531 12ZM13.6531 19.3637C13.6531 20.2674 12.9205 21 12.0167 21C11.113 21 10.3804 20.2674 10.3804 19.3637C10.3804 18.4599 11.113 17.7273 12.0167 17.7273C12.9205 17.7273 13.6531 18.4599 13.6531 19.3637Z",
|
|
759
|
-
fill: "currentColor"
|
|
760
|
-
}));
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
function MoreVertical(props) {
|
|
764
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ThemedIcon__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], _extends({
|
|
765
|
-
Enterprise: _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
766
|
-
Prisma24: Prisma24
|
|
767
|
-
}, props));
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
/***/ }),
|
|
771
|
-
|
|
772
|
-
/***/ 64:
|
|
773
|
-
/***/ (function(module, exports) {
|
|
774
|
-
|
|
775
|
-
module.exports = require("@splunk/react-icons/MoreVertical");
|
|
776
|
-
|
|
777
|
-
/***/ }),
|
|
778
|
-
|
|
779
729
|
/***/ 7:
|
|
780
730
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
781
731
|
|
|
@@ -899,6 +849,58 @@ Icon.defaultProps = defaultProps;
|
|
|
899
849
|
|
|
900
850
|
module.exports = require("@splunk/react-ui/Box");
|
|
901
851
|
|
|
852
|
+
/***/ }),
|
|
853
|
+
|
|
854
|
+
/***/ 85:
|
|
855
|
+
/***/ (function(module, exports) {
|
|
856
|
+
|
|
857
|
+
module.exports = require("@splunk/react-ui/Anchor");
|
|
858
|
+
|
|
859
|
+
/***/ }),
|
|
860
|
+
|
|
861
|
+
/***/ 86:
|
|
862
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
863
|
+
|
|
864
|
+
"use strict";
|
|
865
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MoreVertical; });
|
|
866
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
867
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
868
|
+
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(87);
|
|
869
|
+
/* harmony import */ var _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1__);
|
|
870
|
+
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
871
|
+
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
872
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
function Prisma24(_ref) {
|
|
880
|
+
var otherProps = _extends({}, _ref);
|
|
881
|
+
|
|
882
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_SVG__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _extends({
|
|
883
|
+
viewBox: "0 0 24 24"
|
|
884
|
+
}, otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path", {
|
|
885
|
+
d: "M12.0167 6.27273C12.9205 6.27273 13.6531 5.5401 13.6531 4.63636C13.6531 3.73263 12.9205 3 12.0167 3C11.113 3 10.3804 3.73263 10.3804 4.63636C10.3804 5.5401 11.113 6.27273 12.0167 6.27273ZM13.6531 12C13.6531 12.9038 12.9205 13.6364 12.0167 13.6364C11.113 13.6364 10.3804 12.9038 10.3804 12C10.3804 11.0963 11.113 10.3636 12.0167 10.3636C12.9205 10.3636 13.6531 11.0963 13.6531 12ZM13.6531 19.3637C13.6531 20.2674 12.9205 21 12.0167 21C11.113 21 10.3804 20.2674 10.3804 19.3637C10.3804 18.4599 11.113 17.7273 12.0167 17.7273C12.9205 17.7273 13.6531 18.4599 13.6531 19.3637Z",
|
|
886
|
+
fill: "currentColor"
|
|
887
|
+
}));
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
function MoreVertical(props) {
|
|
891
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ThemedIcon__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"], _extends({
|
|
892
|
+
Enterprise: _splunk_react_icons_MoreVertical__WEBPACK_IMPORTED_MODULE_1___default.a,
|
|
893
|
+
Prisma24: Prisma24
|
|
894
|
+
}, props));
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/***/ }),
|
|
898
|
+
|
|
899
|
+
/***/ 87:
|
|
900
|
+
/***/ (function(module, exports) {
|
|
901
|
+
|
|
902
|
+
module.exports = require("@splunk/react-icons/MoreVertical");
|
|
903
|
+
|
|
902
904
|
/***/ })
|
|
903
905
|
|
|
904
906
|
/******/ });
|
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 = 205);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,14 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 2:
|
|
105
|
+
/***/ (function(module, exports) {
|
|
106
|
+
|
|
107
|
+
module.exports = require("react");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ 205:
|
|
105
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
113
|
|
|
107
114
|
"use strict";
|
|
@@ -205,13 +212,6 @@ CardLayout.propTypes = propTypes;
|
|
|
205
212
|
// CONCATENATED MODULE: ./src/CardLayout/index.ts
|
|
206
213
|
|
|
207
214
|
|
|
208
|
-
/***/ }),
|
|
209
|
-
|
|
210
|
-
/***/ 2:
|
|
211
|
-
/***/ (function(module, exports) {
|
|
212
|
-
|
|
213
|
-
module.exports = require("react");
|
|
214
|
-
|
|
215
215
|
/***/ }),
|
|
216
216
|
|
|
217
217
|
/***/ 3:
|
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 = 206);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,14 +101,21 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 14:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 2:
|
|
112
|
+
/***/ (function(module, exports) {
|
|
113
|
+
|
|
114
|
+
module.exports = require("react");
|
|
115
|
+
|
|
116
|
+
/***/ }),
|
|
117
|
+
|
|
118
|
+
/***/ 206:
|
|
112
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
120
|
|
|
114
121
|
"use strict";
|
|
@@ -123,13 +130,13 @@ var external_react_ = __webpack_require__(2);
|
|
|
123
130
|
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
|
|
124
131
|
|
|
125
132
|
// EXTERNAL MODULE: external "@splunk/ui-utils/color"
|
|
126
|
-
var color_ = __webpack_require__(
|
|
133
|
+
var color_ = __webpack_require__(46);
|
|
127
134
|
|
|
128
135
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
129
|
-
var i18n_ = __webpack_require__(
|
|
136
|
+
var i18n_ = __webpack_require__(4);
|
|
130
137
|
|
|
131
138
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
132
|
-
var omit_ = __webpack_require__(
|
|
139
|
+
var omit_ = __webpack_require__(5);
|
|
133
140
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
134
141
|
|
|
135
142
|
// EXTERNAL MODULE: external "prop-types"
|
|
@@ -137,14 +144,14 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
137
144
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
138
145
|
|
|
139
146
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
140
|
-
var CrossMark = __webpack_require__(
|
|
147
|
+
var CrossMark = __webpack_require__(27);
|
|
141
148
|
|
|
142
149
|
// EXTERNAL MODULE: external "styled-components"
|
|
143
150
|
var external_styled_components_ = __webpack_require__(3);
|
|
144
151
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
145
152
|
|
|
146
153
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
147
|
-
var Clickable_ = __webpack_require__(
|
|
154
|
+
var Clickable_ = __webpack_require__(14);
|
|
148
155
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
149
156
|
|
|
150
157
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -545,21 +552,14 @@ Chip.defaultProps = defaultProps;
|
|
|
545
552
|
|
|
546
553
|
/***/ }),
|
|
547
554
|
|
|
548
|
-
/***/
|
|
549
|
-
/***/ (function(module, exports) {
|
|
550
|
-
|
|
551
|
-
module.exports = require("react");
|
|
552
|
-
|
|
553
|
-
/***/ }),
|
|
554
|
-
|
|
555
|
-
/***/ 20:
|
|
555
|
+
/***/ 27:
|
|
556
556
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
557
557
|
|
|
558
558
|
"use strict";
|
|
559
559
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
560
560
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
561
561
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
562
|
-
/* 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__(29);
|
|
563
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__);
|
|
564
564
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
565
565
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -602,7 +602,7 @@ function CrossMark(props) {
|
|
|
602
602
|
|
|
603
603
|
/***/ }),
|
|
604
604
|
|
|
605
|
-
/***/
|
|
605
|
+
/***/ 29:
|
|
606
606
|
/***/ (function(module, exports) {
|
|
607
607
|
|
|
608
608
|
module.exports = require("@splunk/react-icons/Close");
|
|
@@ -616,24 +616,24 @@ module.exports = require("styled-components");
|
|
|
616
616
|
|
|
617
617
|
/***/ }),
|
|
618
618
|
|
|
619
|
-
/***/
|
|
619
|
+
/***/ 4:
|
|
620
620
|
/***/ (function(module, exports) {
|
|
621
621
|
|
|
622
|
-
module.exports = require("@splunk/ui-utils/
|
|
622
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
623
623
|
|
|
624
624
|
/***/ }),
|
|
625
625
|
|
|
626
|
-
/***/
|
|
626
|
+
/***/ 46:
|
|
627
627
|
/***/ (function(module, exports) {
|
|
628
628
|
|
|
629
|
-
module.exports = require("
|
|
629
|
+
module.exports = require("@splunk/ui-utils/color");
|
|
630
630
|
|
|
631
631
|
/***/ }),
|
|
632
632
|
|
|
633
633
|
/***/ 5:
|
|
634
634
|
/***/ (function(module, exports) {
|
|
635
635
|
|
|
636
|
-
module.exports = require("
|
|
636
|
+
module.exports = require("lodash/omit");
|
|
637
637
|
|
|
638
638
|
/***/ }),
|
|
639
639
|
|
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 = 190);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -102,6 +102,13 @@ module.exports = require("prop-types");
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
104
|
/***/ 11:
|
|
105
|
+
/***/ (function(module, exports) {
|
|
106
|
+
|
|
107
|
+
module.exports = require("lodash/has");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ 12:
|
|
105
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
113
|
|
|
107
114
|
"use strict";
|
|
@@ -128,7 +135,7 @@ function updateReactRef(ref, current) {
|
|
|
128
135
|
|
|
129
136
|
/***/ }),
|
|
130
137
|
|
|
131
|
-
/***/
|
|
138
|
+
/***/ 190:
|
|
132
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
133
140
|
|
|
134
141
|
"use strict";
|
|
@@ -149,11 +156,19 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
|
|
|
149
156
|
var external_prop_types_ = __webpack_require__(1);
|
|
150
157
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
151
158
|
|
|
152
|
-
// EXTERNAL MODULE: external "lodash"
|
|
153
|
-
var
|
|
159
|
+
// EXTERNAL MODULE: external "lodash/has"
|
|
160
|
+
var has_ = __webpack_require__(11);
|
|
161
|
+
|
|
162
|
+
// EXTERNAL MODULE: external "lodash/isString"
|
|
163
|
+
var isString_ = __webpack_require__(25);
|
|
164
|
+
var isString_default = /*#__PURE__*/__webpack_require__.n(isString_);
|
|
165
|
+
|
|
166
|
+
// EXTERNAL MODULE: external "lodash/omit"
|
|
167
|
+
var omit_ = __webpack_require__(5);
|
|
168
|
+
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
154
169
|
|
|
155
170
|
// EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
|
|
156
|
-
var Dropdown_ = __webpack_require__(
|
|
171
|
+
var Dropdown_ = __webpack_require__(24);
|
|
157
172
|
|
|
158
173
|
// EXTERNAL MODULE: external "styled-components"
|
|
159
174
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -202,7 +217,7 @@ function NavigationProvider(_ref) {
|
|
|
202
217
|
NavigationProvider.propTypes = propTypes;
|
|
203
218
|
|
|
204
219
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
205
|
-
var updateReactRef = __webpack_require__(
|
|
220
|
+
var updateReactRef = __webpack_require__(12);
|
|
206
221
|
|
|
207
222
|
// CONCATENATED MODULE: ./src/Clickable/Clickable.tsx
|
|
208
223
|
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); }
|
|
@@ -242,6 +257,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
242
257
|
|
|
243
258
|
|
|
244
259
|
|
|
260
|
+
|
|
261
|
+
|
|
245
262
|
var WITH_SCHEME = /^[a-z0-9]+:/;
|
|
246
263
|
var SCHEME_RELATIVE = /^\/\//;
|
|
247
264
|
var IS_RELATIVE = /^\//;
|
|
@@ -322,7 +339,7 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
322
339
|
var prefix = _this.context.prefix;
|
|
323
340
|
var label = _this.props.navigationLabel;
|
|
324
341
|
|
|
325
|
-
if (!label &&
|
|
342
|
+
if (!label && isString_default()(_this.props.children)) {
|
|
326
343
|
label = _this.props.children;
|
|
327
344
|
}
|
|
328
345
|
|
|
@@ -376,7 +393,7 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
376
393
|
target: target,
|
|
377
394
|
rel: rel,
|
|
378
395
|
onClick: handleOnClick
|
|
379
|
-
},
|
|
396
|
+
}, omit_default()(_otherProps, 'disabled', 'elementRef', 'onClick')), _children);
|
|
380
397
|
}
|
|
381
398
|
|
|
382
399
|
if (this.props.allowDisabledLink) {
|
|
@@ -388,7 +405,7 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
388
405
|
return /*#__PURE__*/external_react_default.a.createElement(StyledA, _extends({
|
|
389
406
|
"data-test": "clickable",
|
|
390
407
|
ref: this.handleMount
|
|
391
|
-
},
|
|
408
|
+
}, omit_default()(_otherProps2, 'href', 'elementRef', 'onClick')), _children2);
|
|
392
409
|
}
|
|
393
410
|
} // button variant
|
|
394
411
|
|
|
@@ -404,7 +421,7 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
404
421
|
ref: this.handleMount,
|
|
405
422
|
type: type || 'button',
|
|
406
423
|
onClick: handleOnClick
|
|
407
|
-
},
|
|
424
|
+
}, omit_default()(otherProps, 'elementRef', 'onClick', 'openInNewContext', 'to')), children);
|
|
408
425
|
}
|
|
409
426
|
}]);
|
|
410
427
|
|
|
@@ -427,17 +444,24 @@ _defineProperty(Clickable_Clickable, Dropdown_["legacyRefMode"], true);
|
|
|
427
444
|
|
|
428
445
|
/***/ }),
|
|
429
446
|
|
|
430
|
-
/***/
|
|
447
|
+
/***/ 2:
|
|
448
|
+
/***/ (function(module, exports) {
|
|
449
|
+
|
|
450
|
+
module.exports = require("react");
|
|
451
|
+
|
|
452
|
+
/***/ }),
|
|
453
|
+
|
|
454
|
+
/***/ 24:
|
|
431
455
|
/***/ (function(module, exports) {
|
|
432
456
|
|
|
433
457
|
module.exports = require("@splunk/react-ui/Dropdown");
|
|
434
458
|
|
|
435
459
|
/***/ }),
|
|
436
460
|
|
|
437
|
-
/***/
|
|
461
|
+
/***/ 25:
|
|
438
462
|
/***/ (function(module, exports) {
|
|
439
463
|
|
|
440
|
-
module.exports = require("
|
|
464
|
+
module.exports = require("lodash/isString");
|
|
441
465
|
|
|
442
466
|
/***/ }),
|
|
443
467
|
|
|
@@ -448,10 +472,10 @@ module.exports = require("styled-components");
|
|
|
448
472
|
|
|
449
473
|
/***/ }),
|
|
450
474
|
|
|
451
|
-
/***/
|
|
475
|
+
/***/ 5:
|
|
452
476
|
/***/ (function(module, exports) {
|
|
453
477
|
|
|
454
|
-
module.exports = require("lodash");
|
|
478
|
+
module.exports = require("lodash/omit");
|
|
455
479
|
|
|
456
480
|
/***/ })
|
|
457
481
|
|