@splunk/react-ui 4.18.0 → 4.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion.js +6 -6
- package/Anchor.js +2 -2
- package/Animation.js +4 -4
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Breadcrumbs.d.ts +2 -0
- package/Breadcrumbs.js +299 -0
- package/Button.js +17 -17
- package/ButtonGroup.js +2 -2
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +25 -1
- package/Calendar.js +17 -17
- package/Card.js +10 -10
- package/CardLayout.js +2 -2
- package/Chip.js +32 -25
- package/Clickable.js +16 -14
- package/CloseButton.js +8 -8
- package/Code.js +40 -15
- package/CollapsiblePanel.js +10 -10
- package/Color.js +33 -33
- package/ColumnLayout.js +8 -8
- package/ComboBox.js +28 -28
- package/Concertina.js +18 -18
- package/ControlGroup.js +13 -13
- package/Date.js +29 -29
- package/DefinitionList.js +2 -2
- package/Divider.js +2 -2
- package/Dropdown.js +21 -21
- package/DualListbox.js +24 -24
- package/EventListener.js +4 -4
- package/File.js +23 -23
- package/FormRows.js +266 -105
- package/Heading.js +45 -49
- package/Image.js +23 -23
- package/JSONTree.js +20 -20
- package/Layer.js +14 -14
- package/Link.js +7 -7
- package/List.js +2 -2
- package/Markdown.js +19 -20
- package/Menu.js +252 -232
- package/Message.js +43 -43
- package/MessageBar.js +39 -39
- package/Modal.js +20 -20
- package/ModalLayer.js +6 -6
- package/Monogram.js +3 -3
- package/Multiselect.js +2987 -2493
- package/Number.js +8 -8
- package/Paginator.js +16 -16
- package/Paragraph.js +2 -2
- package/Popover.js +113 -50
- package/Progress.js +10 -10
- package/RadioBar.js +4 -4
- package/RadioList.js +2 -2
- package/Resize.js +4 -4
- package/ResultsMenu.js +43 -22
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +8 -8
- package/ScrollContainerContext.js +4 -4
- package/Search.js +25 -25
- package/Select.js +517 -120
- package/SidePanel.js +6 -6
- package/Slider.js +8 -8
- package/SlidingPanels.js +10 -10
- package/SplitButton.js +4 -4
- package/StaticContent.js +2 -2
- package/StepBar.js +8 -8
- package/Switch.js +6 -6
- package/TabBar.js +6 -6
- package/TabLayout.js +6 -6
- package/Table.js +145 -111
- package/Text.js +40 -38
- package/TextArea.js +42 -40
- package/Tooltip.js +15 -15
- package/TransitionOpen.js +11 -11
- package/Typography.js +4 -4
- package/WaitSpinner.js +5 -5
- package/cypress/support/component-index.html +12 -0
- package/cypress/support/component.ts +27 -0
- package/cypress.config.ts +19 -0
- package/package.json +17 -17
- package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
- package/types/src/Breadcrumbs/Item.d.ts +42 -0
- package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
- package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
- package/types/src/Breadcrumbs/index.d.ts +2 -0
- package/types/src/Clickable/docs/examples/Basic.d.ts +2 -2
- package/types/src/Code/Code.d.ts +1 -1
- package/types/src/FormRows/FormRows.d.ts +1 -2
- package/types/src/FormRows/Row.d.ts +2 -12
- package/types/src/FormRows/RowInternal.d.ts +19 -0
- package/types/src/FormRows/SortableList.d.ts +8 -2
- package/types/src/FormRows/SortableRow.d.ts +20 -0
- package/types/src/Heading/Heading.d.ts +1 -1
- package/types/src/Link/Link.d.ts +5 -0
- package/types/src/Multiselect/Compact.d.ts +4 -0
- package/types/src/Multiselect/Multiselect.d.ts +5 -0
- package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
- package/types/src/Select/SelectAllOption.d.ts +14 -0
- package/types/src/Select/SelectBase.d.ts +11 -3
- package/types/src/Table/Table.d.ts +4 -0
- package/types/src/Text/Text.d.ts +3 -3
- package/types/src/TextArea/TextArea.d.ts +3 -3
- package/useForceUpdate.js +2 -2
- package/useKeyPress.js +2 -2
- package/usePrevious.js +2 -2
- package/useRovingFocus.js +4 -4
- package/cypress/plugins/index.ts +0 -15
- package/cypress/support/index.ts +0 -10
- package/cypress.json +0 -13
- package/types/src/Typography/docs/examples/Variants.d.ts +0 -2
package/Calendar.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 176);
|
|
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";
|
|
@@ -142,7 +142,7 @@ module.exports = require("@splunk/react-ui/Button");
|
|
|
142
142
|
|
|
143
143
|
/***/ }),
|
|
144
144
|
|
|
145
|
-
/***/
|
|
145
|
+
/***/ 176:
|
|
146
146
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
147
147
|
|
|
148
148
|
"use strict";
|
|
@@ -177,7 +177,7 @@ var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment
|
|
|
177
177
|
var id_ = __webpack_require__(8);
|
|
178
178
|
|
|
179
179
|
// EXTERNAL MODULE: external "lodash/times"
|
|
180
|
-
var times_ = __webpack_require__(
|
|
180
|
+
var times_ = __webpack_require__(81);
|
|
181
181
|
var times_default = /*#__PURE__*/__webpack_require__.n(times_);
|
|
182
182
|
|
|
183
183
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -644,19 +644,19 @@ function DateTable(_ref2) {
|
|
|
644
644
|
DateTable.propTypes = DateTable_propTypes;
|
|
645
645
|
/* harmony default export */ var Calendar_DateTable = (DateTable);
|
|
646
646
|
// EXTERNAL MODULE: external "@splunk/react-icons/ChevronLeft"
|
|
647
|
-
var ChevronLeft_ = __webpack_require__(
|
|
647
|
+
var ChevronLeft_ = __webpack_require__(86);
|
|
648
648
|
var ChevronLeft_default = /*#__PURE__*/__webpack_require__.n(ChevronLeft_);
|
|
649
649
|
|
|
650
650
|
// EXTERNAL MODULE: external "@splunk/react-icons/ChevronRight"
|
|
651
|
-
var ChevronRight_ = __webpack_require__(
|
|
651
|
+
var ChevronRight_ = __webpack_require__(46);
|
|
652
652
|
var ChevronRight_default = /*#__PURE__*/__webpack_require__.n(ChevronRight_);
|
|
653
653
|
|
|
654
654
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronLeft"
|
|
655
|
-
var enterprise_ChevronLeft_ = __webpack_require__(
|
|
655
|
+
var enterprise_ChevronLeft_ = __webpack_require__(66);
|
|
656
656
|
var enterprise_ChevronLeft_default = /*#__PURE__*/__webpack_require__.n(enterprise_ChevronLeft_);
|
|
657
657
|
|
|
658
658
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
|
|
659
|
-
var enterprise_ChevronRight_ = __webpack_require__(
|
|
659
|
+
var enterprise_ChevronRight_ = __webpack_require__(38);
|
|
660
660
|
var enterprise_ChevronRight_default = /*#__PURE__*/__webpack_require__.n(enterprise_ChevronRight_);
|
|
661
661
|
|
|
662
662
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
@@ -891,7 +891,7 @@ var CalendarStyles_StyledBox = external_styled_components_default()(Box_default.
|
|
|
891
891
|
}));
|
|
892
892
|
|
|
893
893
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
894
|
-
var updateReactRef = __webpack_require__(
|
|
894
|
+
var updateReactRef = __webpack_require__(10);
|
|
895
895
|
|
|
896
896
|
// CONCATENATED MODULE: ./src/Calendar/Calendar.tsx
|
|
897
897
|
function Calendar_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { Calendar_typeof = function _typeof(obj) { return typeof obj; }; } else { Calendar_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return Calendar_typeof(obj); }
|
|
@@ -1136,7 +1136,7 @@ module.exports = require("styled-components");
|
|
|
1136
1136
|
|
|
1137
1137
|
/***/ }),
|
|
1138
1138
|
|
|
1139
|
-
/***/
|
|
1139
|
+
/***/ 38:
|
|
1140
1140
|
/***/ (function(module, exports) {
|
|
1141
1141
|
|
|
1142
1142
|
module.exports = require("@splunk/react-icons/enterprise/ChevronRight");
|
|
@@ -1150,7 +1150,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
1150
1150
|
|
|
1151
1151
|
/***/ }),
|
|
1152
1152
|
|
|
1153
|
-
/***/
|
|
1153
|
+
/***/ 46:
|
|
1154
1154
|
/***/ (function(module, exports) {
|
|
1155
1155
|
|
|
1156
1156
|
module.exports = require("@splunk/react-icons/ChevronRight");
|
|
@@ -1171,7 +1171,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1171
1171
|
|
|
1172
1172
|
/***/ }),
|
|
1173
1173
|
|
|
1174
|
-
/***/
|
|
1174
|
+
/***/ 66:
|
|
1175
1175
|
/***/ (function(module, exports) {
|
|
1176
1176
|
|
|
1177
1177
|
module.exports = require("@splunk/react-icons/enterprise/ChevronLeft");
|
|
@@ -1185,21 +1185,21 @@ module.exports = require("@splunk/ui-utils/keyboard");
|
|
|
1185
1185
|
|
|
1186
1186
|
/***/ }),
|
|
1187
1187
|
|
|
1188
|
-
/***/
|
|
1188
|
+
/***/ 8:
|
|
1189
1189
|
/***/ (function(module, exports) {
|
|
1190
1190
|
|
|
1191
|
-
module.exports = require("
|
|
1191
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
1192
1192
|
|
|
1193
1193
|
/***/ }),
|
|
1194
1194
|
|
|
1195
|
-
/***/
|
|
1195
|
+
/***/ 81:
|
|
1196
1196
|
/***/ (function(module, exports) {
|
|
1197
1197
|
|
|
1198
|
-
module.exports = require("
|
|
1198
|
+
module.exports = require("lodash/times");
|
|
1199
1199
|
|
|
1200
1200
|
/***/ }),
|
|
1201
1201
|
|
|
1202
|
-
/***/
|
|
1202
|
+
/***/ 86:
|
|
1203
1203
|
/***/ (function(module, exports) {
|
|
1204
1204
|
|
|
1205
1205
|
module.exports = require("@splunk/react-icons/ChevronLeft");
|
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 = 177);
|
|
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
|
+
/***/ 127:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
114
|
module.exports = require("@splunk/react-icons/enterprise/MoreVertical");
|
|
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/Button");
|
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
125
|
-
/***/
|
|
125
|
+
/***/ 177:
|
|
126
126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127
127
|
|
|
128
128
|
"use strict";
|
|
@@ -269,15 +269,15 @@ Footer.propTypes = Footer_propTypes;
|
|
|
269
269
|
var i18n_ = __webpack_require__(4);
|
|
270
270
|
|
|
271
271
|
// EXTERNAL MODULE: external "@splunk/react-icons/DotsThreeVertical"
|
|
272
|
-
var DotsThreeVertical_ = __webpack_require__(
|
|
272
|
+
var DotsThreeVertical_ = __webpack_require__(87);
|
|
273
273
|
var DotsThreeVertical_default = /*#__PURE__*/__webpack_require__.n(DotsThreeVertical_);
|
|
274
274
|
|
|
275
275
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/MoreVertical"
|
|
276
|
-
var MoreVertical_ = __webpack_require__(
|
|
276
|
+
var MoreVertical_ = __webpack_require__(127);
|
|
277
277
|
var MoreVertical_default = /*#__PURE__*/__webpack_require__.n(MoreVertical_);
|
|
278
278
|
|
|
279
279
|
// EXTERNAL MODULE: external "@splunk/react-ui/Anchor"
|
|
280
|
-
var Anchor_ = __webpack_require__(
|
|
280
|
+
var Anchor_ = __webpack_require__(88);
|
|
281
281
|
var Anchor_default = /*#__PURE__*/__webpack_require__.n(Anchor_);
|
|
282
282
|
|
|
283
283
|
// EXTERNAL MODULE: external "@splunk/react-ui/Dropdown"
|
|
@@ -285,7 +285,7 @@ var Dropdown_ = __webpack_require__(22);
|
|
|
285
285
|
var Dropdown_default = /*#__PURE__*/__webpack_require__.n(Dropdown_);
|
|
286
286
|
|
|
287
287
|
// EXTERNAL MODULE: external "@splunk/react-ui/Tooltip"
|
|
288
|
-
var Tooltip_ = __webpack_require__(
|
|
288
|
+
var Tooltip_ = __webpack_require__(45);
|
|
289
289
|
var Tooltip_default = /*#__PURE__*/__webpack_require__.n(Tooltip_);
|
|
290
290
|
|
|
291
291
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
@@ -723,7 +723,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
723
723
|
|
|
724
724
|
/***/ }),
|
|
725
725
|
|
|
726
|
-
/***/
|
|
726
|
+
/***/ 45:
|
|
727
727
|
/***/ (function(module, exports) {
|
|
728
728
|
|
|
729
729
|
module.exports = require("@splunk/react-ui/Tooltip");
|
|
@@ -737,14 +737,14 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
737
737
|
|
|
738
738
|
/***/ }),
|
|
739
739
|
|
|
740
|
-
/***/
|
|
740
|
+
/***/ 87:
|
|
741
741
|
/***/ (function(module, exports) {
|
|
742
742
|
|
|
743
743
|
module.exports = require("@splunk/react-icons/DotsThreeVertical");
|
|
744
744
|
|
|
745
745
|
/***/ }),
|
|
746
746
|
|
|
747
|
-
/***/
|
|
747
|
+
/***/ 88:
|
|
748
748
|
/***/ (function(module, exports) {
|
|
749
749
|
|
|
750
750
|
module.exports = require("@splunk/react-ui/Anchor");
|
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 = 216);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 216:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"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 = 217);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -115,7 +115,7 @@ module.exports = require("react");
|
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 217:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
|
@@ -138,18 +138,18 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
138
138
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
139
139
|
|
|
140
140
|
// EXTERNAL MODULE: external "@splunk/react-icons/Cross"
|
|
141
|
-
var Cross_ = __webpack_require__(
|
|
141
|
+
var Cross_ = __webpack_require__(26);
|
|
142
142
|
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_);
|
|
143
143
|
|
|
144
144
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
145
|
-
var Close_ = __webpack_require__(
|
|
145
|
+
var Close_ = __webpack_require__(27);
|
|
146
146
|
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
|
|
147
147
|
|
|
148
148
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
149
149
|
var i18n_ = __webpack_require__(4);
|
|
150
150
|
|
|
151
151
|
// EXTERNAL MODULE: external "@splunk/ui-utils/color"
|
|
152
|
-
var color_ = __webpack_require__(
|
|
152
|
+
var color_ = __webpack_require__(50);
|
|
153
153
|
|
|
154
154
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
155
155
|
var themes_ = __webpack_require__(0);
|
|
@@ -178,16 +178,16 @@ var StyledBasic = external_styled_components_default.a.div.withConfig({
|
|
|
178
178
|
prisma: themes_["variables"].neutral100
|
|
179
179
|
},
|
|
180
180
|
info: {
|
|
181
|
-
enterprise: themes_["variables"].
|
|
181
|
+
enterprise: themes_["variables"].infoColorL30
|
|
182
182
|
},
|
|
183
183
|
success: {
|
|
184
|
-
enterprise: themes_["variables"].
|
|
184
|
+
enterprise: themes_["variables"].successColorL30
|
|
185
185
|
},
|
|
186
186
|
warning: {
|
|
187
|
-
enterprise: themes_["variables"].
|
|
187
|
+
enterprise: themes_["variables"].warningColorL30
|
|
188
188
|
},
|
|
189
189
|
error: {
|
|
190
|
-
enterprise: themes_["variables"].
|
|
190
|
+
enterprise: themes_["variables"].errorColorL30,
|
|
191
191
|
prisma: themes_["variables"].accentColorNegative
|
|
192
192
|
},
|
|
193
193
|
outline: {
|
|
@@ -201,7 +201,7 @@ var StyledBasic = external_styled_components_default.a.div.withConfig({
|
|
|
201
201
|
var $appearance = _ref2.$appearance;
|
|
202
202
|
return $appearance === 'outline' && Object(external_styled_components_["css"])(["border-color:", ";"], themes_["variables"].interactiveColorBorder);
|
|
203
203
|
}, Object(themes_["pick"])({
|
|
204
|
-
enterprise: Object(external_styled_components_["css"])(["color:", "
|
|
204
|
+
enterprise: Object(external_styled_components_["css"])(["color:", ";line-height:", ";margin:0 2px 2px 0;"], themes_["variables"].textGray, themes_["variables"].lineHeight),
|
|
205
205
|
prisma: Object(external_styled_components_["css"])(["color:", ";line-height:16px;margin:1px;"], function (_ref3) {
|
|
206
206
|
var $appearance = _ref3.$appearance;
|
|
207
207
|
return $appearance === 'error' ? themes_["variables"].contentColorInverted : themes_["variables"].contentColorDefault;
|
|
@@ -314,12 +314,13 @@ var StyledLabel = external_styled_components_default.a.div.withConfig({
|
|
|
314
314
|
"true": themes_["variables"].contentColorDisabled,
|
|
315
315
|
"false": {
|
|
316
316
|
enterprise: function enterprise(_ref8) {
|
|
317
|
-
var $
|
|
318
|
-
|
|
317
|
+
var $appearance = _ref8.$appearance,
|
|
318
|
+
$foregroundColor = _ref8.$foregroundColor;
|
|
319
|
+
return $foregroundColor || ($appearance === 'default' || $appearance === 'outline' ? themes_["variables"].contentColorDefault : themes_["variables"].gray30);
|
|
319
320
|
},
|
|
320
321
|
prisma: function prisma(_ref9) {
|
|
321
|
-
var $
|
|
322
|
-
$
|
|
322
|
+
var $appearance = _ref9.$appearance,
|
|
323
|
+
$foregroundColor = _ref9.$foregroundColor;
|
|
323
324
|
return $foregroundColor || ($appearance === 'error' ? themes_["variables"].contentColorInverted : themes_["variables"].contentColorActive);
|
|
324
325
|
}
|
|
325
326
|
}
|
|
@@ -331,11 +332,16 @@ var StyledRemove = external_styled_components_default.a.span.withConfig({
|
|
|
331
332
|
enterprise: Object(external_styled_components_["css"])(["flex:0 0 auto;padding-left:", ";font-size:", ";color:", ";"], themes_["variables"].spacingQuarter, Object(themes_["pick"])({
|
|
332
333
|
compact: '9px',
|
|
333
334
|
comfortable: '10.5px'
|
|
334
|
-
}),
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
335
|
+
}), Object(themes_["pickVariant"])('$disabled', {
|
|
336
|
+
"true": themes_["variables"].contentColorDisabled,
|
|
337
|
+
"false": {
|
|
338
|
+
enterprise: function enterprise(_ref10) {
|
|
339
|
+
var $foregroundColor = _ref10.$foregroundColor,
|
|
340
|
+
$appearance = _ref10.$appearance;
|
|
341
|
+
return $foregroundColor || ($appearance === 'default' || $appearance === 'outline' ? themes_["variables"].textGray : themes_["variables"].gray30);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
})),
|
|
339
345
|
prisma: Object(external_styled_components_["css"])(["font-size:", ";display:flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:12px;font-size:9px;color:", ";"], Object(themes_["pick"])({
|
|
340
346
|
compact: '9px',
|
|
341
347
|
comfortable: '10.5px'
|
|
@@ -503,6 +509,7 @@ function ChipInteractive(props) {
|
|
|
503
509
|
$disabled: disabled,
|
|
504
510
|
$foregroundColor: $foregroundColor
|
|
505
511
|
}, children), /*#__PURE__*/external_react_default.a.createElement(StyledRemove, {
|
|
512
|
+
$appearance: $appearance,
|
|
506
513
|
$disabled: disabled,
|
|
507
514
|
$foregroundColor: $foregroundColor
|
|
508
515
|
}, isEnterprise ? /*#__PURE__*/external_react_default.a.createElement(Close_default.a, {
|
|
@@ -567,14 +574,14 @@ Chip.defaultProps = defaultProps;
|
|
|
567
574
|
|
|
568
575
|
/***/ }),
|
|
569
576
|
|
|
570
|
-
/***/
|
|
577
|
+
/***/ 26:
|
|
571
578
|
/***/ (function(module, exports) {
|
|
572
579
|
|
|
573
580
|
module.exports = require("@splunk/react-icons/Cross");
|
|
574
581
|
|
|
575
582
|
/***/ }),
|
|
576
583
|
|
|
577
|
-
/***/
|
|
584
|
+
/***/ 27:
|
|
578
585
|
/***/ (function(module, exports) {
|
|
579
586
|
|
|
580
587
|
module.exports = require("@splunk/react-icons/enterprise/Close");
|
|
@@ -595,17 +602,17 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
595
602
|
|
|
596
603
|
/***/ }),
|
|
597
604
|
|
|
598
|
-
/***/
|
|
605
|
+
/***/ 5:
|
|
599
606
|
/***/ (function(module, exports) {
|
|
600
607
|
|
|
601
|
-
module.exports = require("
|
|
608
|
+
module.exports = require("lodash/omit");
|
|
602
609
|
|
|
603
610
|
/***/ }),
|
|
604
611
|
|
|
605
|
-
/***/
|
|
612
|
+
/***/ 50:
|
|
606
613
|
/***/ (function(module, exports) {
|
|
607
614
|
|
|
608
|
-
module.exports = require("
|
|
615
|
+
module.exports = require("@splunk/ui-utils/color");
|
|
609
616
|
|
|
610
617
|
/***/ })
|
|
611
618
|
|
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 = 198);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -102,13 +102,6 @@ module.exports = require("prop-types");
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
104
|
/***/ 10:
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("lodash/has");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
|
-
/***/ 11:
|
|
112
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
106
|
|
|
114
107
|
"use strict";
|
|
@@ -135,7 +128,14 @@ function updateReactRef(ref, current) {
|
|
|
135
128
|
|
|
136
129
|
/***/ }),
|
|
137
130
|
|
|
138
|
-
/***/
|
|
131
|
+
/***/ 11:
|
|
132
|
+
/***/ (function(module, exports) {
|
|
133
|
+
|
|
134
|
+
module.exports = require("lodash/has");
|
|
135
|
+
|
|
136
|
+
/***/ }),
|
|
137
|
+
|
|
138
|
+
/***/ 198:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -157,7 +157,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
157
157
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
158
158
|
|
|
159
159
|
// EXTERNAL MODULE: external "lodash/has"
|
|
160
|
-
var has_ = __webpack_require__(
|
|
160
|
+
var has_ = __webpack_require__(11);
|
|
161
161
|
|
|
162
162
|
// EXTERNAL MODULE: external "lodash/isString"
|
|
163
163
|
var isString_ = __webpack_require__(23);
|
|
@@ -183,7 +183,7 @@ var themes_ = __webpack_require__(0);
|
|
|
183
183
|
var StyledA = external_styled_components_default.a.a.withConfig({
|
|
184
184
|
displayName: "ClickableStyles__StyledA",
|
|
185
185
|
componentId: "sc-7al1vw-0"
|
|
186
|
-
})(["", " cursor:pointer;&[disabled]{
|
|
186
|
+
})(["", " cursor:pointer;&[disabled],&[aria-disabled='true']{color:", ";}&::-moz-focus-inner{border:0;padding:0;}"], themes_["mixins"].reset('inline'), themes_["variables"].contentColorDisabled);
|
|
187
187
|
|
|
188
188
|
// CONCATENATED MODULE: ./src/Clickable/NavigationProvider.tsx
|
|
189
189
|
|
|
@@ -217,7 +217,7 @@ function NavigationProvider(_ref) {
|
|
|
217
217
|
NavigationProvider.propTypes = propTypes;
|
|
218
218
|
|
|
219
219
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
220
|
-
var updateReactRef = __webpack_require__(
|
|
220
|
+
var updateReactRef = __webpack_require__(10);
|
|
221
221
|
|
|
222
222
|
// CONCATENATED MODULE: ./src/Clickable/Clickable.tsx
|
|
223
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); }
|
|
@@ -404,8 +404,10 @@ var Clickable_Clickable = /*#__PURE__*/function (_Component) {
|
|
|
404
404
|
if (this.props.disabled && this.props.to != null) {
|
|
405
405
|
return /*#__PURE__*/external_react_default.a.createElement(StyledA, _extends({
|
|
406
406
|
"data-test": "clickable",
|
|
407
|
-
ref: this.handleMount
|
|
408
|
-
|
|
407
|
+
ref: this.handleMount,
|
|
408
|
+
role: "link",
|
|
409
|
+
"aria-disabled": "true"
|
|
410
|
+
}, omit_default()(_otherProps2, 'href', 'to', 'elementRef', 'onClick', 'disabled')), _children2);
|
|
409
411
|
}
|
|
410
412
|
} // button variant
|
|
411
413
|
|
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 = 218);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 218:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -127,11 +127,11 @@ 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-icons/Cross"
|
|
130
|
-
var Cross_ = __webpack_require__(
|
|
130
|
+
var Cross_ = __webpack_require__(26);
|
|
131
131
|
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_);
|
|
132
132
|
|
|
133
133
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
134
|
-
var Close_ = __webpack_require__(
|
|
134
|
+
var Close_ = __webpack_require__(27);
|
|
135
135
|
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -145,7 +145,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
145
145
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/react-ui/ButtonSimple"
|
|
148
|
-
var ButtonSimple_ = __webpack_require__(
|
|
148
|
+
var ButtonSimple_ = __webpack_require__(64);
|
|
149
149
|
var ButtonSimple_default = /*#__PURE__*/__webpack_require__.n(ButtonSimple_);
|
|
150
150
|
|
|
151
151
|
// CONCATENATED MODULE: ./src/CloseButton/CloseButtonStyles.ts
|
|
@@ -212,14 +212,14 @@ CloseButton.propTypes = propTypes;
|
|
|
212
212
|
|
|
213
213
|
/***/ }),
|
|
214
214
|
|
|
215
|
-
/***/
|
|
215
|
+
/***/ 26:
|
|
216
216
|
/***/ (function(module, exports) {
|
|
217
217
|
|
|
218
218
|
module.exports = require("@splunk/react-icons/Cross");
|
|
219
219
|
|
|
220
220
|
/***/ }),
|
|
221
221
|
|
|
222
|
-
/***/
|
|
222
|
+
/***/ 27:
|
|
223
223
|
/***/ (function(module, exports) {
|
|
224
224
|
|
|
225
225
|
module.exports = require("@splunk/react-icons/enterprise/Close");
|
|
@@ -240,7 +240,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
240
240
|
|
|
241
241
|
/***/ }),
|
|
242
242
|
|
|
243
|
-
/***/
|
|
243
|
+
/***/ 64:
|
|
244
244
|
/***/ (function(module, exports) {
|
|
245
245
|
|
|
246
246
|
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 = 219);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 118:
|
|
105
105
|
/***/ (function(module, exports, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
|
|
@@ -2285,12 +2285,37 @@ Prism.languages.js = Prism.languages.javascript;
|
|
|
2285
2285
|
|
|
2286
2286
|
}(Prism));
|
|
2287
2287
|
|
|
2288
|
+
Prism.languages['splunk-spl'] = {
|
|
2289
|
+
'comment': /`comment\("(?:\\.|[^\\"])*"\)`/,
|
|
2290
|
+
'string': {
|
|
2291
|
+
pattern: /"(?:\\.|[^\\"])*"/,
|
|
2292
|
+
greedy: true
|
|
2293
|
+
},
|
|
2294
|
+
// https://docs.splunk.com/Documentation/Splunk/7.3.0/SearchReference/ListOfSearchCommands
|
|
2295
|
+
'keyword': /\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,
|
|
2296
|
+
'operator-word': {
|
|
2297
|
+
pattern: /\b(?:and|as|by|not|or|xor)\b/i,
|
|
2298
|
+
alias: 'operator'
|
|
2299
|
+
},
|
|
2300
|
+
'function': /\b\w+(?=\s*\()/,
|
|
2301
|
+
'property': /\b\w+(?=\s*=(?!=))/,
|
|
2302
|
+
'date': {
|
|
2303
|
+
// MM/DD/YYYY(:HH:MM:SS)?
|
|
2304
|
+
pattern: /\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,
|
|
2305
|
+
alias: 'number'
|
|
2306
|
+
},
|
|
2307
|
+
'number': /\b\d+(?:\.\d+)?\b/,
|
|
2308
|
+
'boolean': /\b(?:f|false|t|true)\b/i,
|
|
2309
|
+
'operator': /[<>=]=?|[-+*/%|]/,
|
|
2310
|
+
'punctuation': /[()[\],]/
|
|
2311
|
+
};
|
|
2312
|
+
|
|
2288
2313
|
})();
|
|
2289
2314
|
|
|
2290
2315
|
|
|
2291
2316
|
/***/ }),
|
|
2292
2317
|
|
|
2293
|
-
/***/
|
|
2318
|
+
/***/ 128:
|
|
2294
2319
|
/***/ (function(module, exports) {
|
|
2295
2320
|
|
|
2296
2321
|
module.exports = require("lodash/flatten");
|
|
@@ -2304,7 +2329,7 @@ module.exports = require("react");
|
|
|
2304
2329
|
|
|
2305
2330
|
/***/ }),
|
|
2306
2331
|
|
|
2307
|
-
/***/
|
|
2332
|
+
/***/ 219:
|
|
2308
2333
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2309
2334
|
|
|
2310
2335
|
"use strict";
|
|
@@ -2323,27 +2348,27 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
2323
2348
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2324
2349
|
|
|
2325
2350
|
// EXTERNAL MODULE: external "lodash/castArray"
|
|
2326
|
-
var castArray_ = __webpack_require__(
|
|
2351
|
+
var castArray_ = __webpack_require__(67);
|
|
2327
2352
|
var castArray_default = /*#__PURE__*/__webpack_require__.n(castArray_);
|
|
2328
2353
|
|
|
2329
2354
|
// EXTERNAL MODULE: external "lodash/flatten"
|
|
2330
|
-
var flatten_ = __webpack_require__(
|
|
2355
|
+
var flatten_ = __webpack_require__(128);
|
|
2331
2356
|
var flatten_default = /*#__PURE__*/__webpack_require__.n(flatten_);
|
|
2332
2357
|
|
|
2333
2358
|
// EXTERNAL MODULE: external "lodash/indexOf"
|
|
2334
|
-
var indexOf_ = __webpack_require__(
|
|
2359
|
+
var indexOf_ = __webpack_require__(84);
|
|
2335
2360
|
var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
|
|
2336
2361
|
|
|
2337
2362
|
// EXTERNAL MODULE: external "lodash/repeat"
|
|
2338
|
-
var repeat_ = __webpack_require__(
|
|
2363
|
+
var repeat_ = __webpack_require__(82);
|
|
2339
2364
|
var repeat_default = /*#__PURE__*/__webpack_require__.n(repeat_);
|
|
2340
2365
|
|
|
2341
2366
|
// EXTERNAL MODULE: external "lodash/times"
|
|
2342
|
-
var times_ = __webpack_require__(
|
|
2367
|
+
var times_ = __webpack_require__(81);
|
|
2343
2368
|
var times_default = /*#__PURE__*/__webpack_require__.n(times_);
|
|
2344
2369
|
|
|
2345
2370
|
// EXTERNAL MODULE: ./src/Code/prism/prism.empty
|
|
2346
|
-
var prism_empty = __webpack_require__(
|
|
2371
|
+
var prism_empty = __webpack_require__(118);
|
|
2347
2372
|
var prism_empty_default = /*#__PURE__*/__webpack_require__.n(prism_empty);
|
|
2348
2373
|
|
|
2349
2374
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -2481,7 +2506,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
2481
2506
|
// typed as 'prismjs'
|
|
2482
2507
|
|
|
2483
2508
|
|
|
2484
|
-
var supportedLanguages = ['bash', 'clike', 'css', 'html', 'json', 'javascript', 'js', 'jsx', 'typescript', 'ts', 'tsx', 'markup', 'mathml', 'svg', 'xml', 'yaml', 'yml'];
|
|
2509
|
+
var supportedLanguages = ['bash', 'clike', 'css', 'html', 'json', 'javascript', 'js', 'jsx', 'typescript', 'ts', 'tsx', 'markup', 'mathml', 'splunk-spl', 'svg', 'xml', 'yaml', 'yml'];
|
|
2485
2510
|
|
|
2486
2511
|
function tokenize(text, language) {
|
|
2487
2512
|
return prism_empty_default.a.tokenize(text, prism_empty_default.a.languages[language]);
|
|
@@ -2598,28 +2623,28 @@ module.exports = require("styled-components");
|
|
|
2598
2623
|
|
|
2599
2624
|
/***/ }),
|
|
2600
2625
|
|
|
2601
|
-
/***/
|
|
2626
|
+
/***/ 67:
|
|
2602
2627
|
/***/ (function(module, exports) {
|
|
2603
2628
|
|
|
2604
2629
|
module.exports = require("lodash/castArray");
|
|
2605
2630
|
|
|
2606
2631
|
/***/ }),
|
|
2607
2632
|
|
|
2608
|
-
/***/
|
|
2633
|
+
/***/ 81:
|
|
2609
2634
|
/***/ (function(module, exports) {
|
|
2610
2635
|
|
|
2611
2636
|
module.exports = require("lodash/times");
|
|
2612
2637
|
|
|
2613
2638
|
/***/ }),
|
|
2614
2639
|
|
|
2615
|
-
/***/
|
|
2640
|
+
/***/ 82:
|
|
2616
2641
|
/***/ (function(module, exports) {
|
|
2617
2642
|
|
|
2618
2643
|
module.exports = require("lodash/repeat");
|
|
2619
2644
|
|
|
2620
2645
|
/***/ }),
|
|
2621
2646
|
|
|
2622
|
-
/***/
|
|
2647
|
+
/***/ 84:
|
|
2623
2648
|
/***/ (function(module, exports) {
|
|
2624
2649
|
|
|
2625
2650
|
module.exports = require("lodash/indexOf");
|