@splunk/react-ui 4.16.2 → 4.17.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 +13 -13
- package/Anchor.js +2 -2
- package/Animation.js +4 -4
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +98 -244
- package/ButtonGroup.js +4 -4
- package/ButtonSimple.js +6 -6
- package/CHANGELOG.md +50 -2
- package/Calendar.js +73 -274
- package/Card.js +75 -227
- package/CardLayout.js +2 -2
- package/Chip.js +40 -211
- package/Clickable.js +10 -10
- package/CloseButton.js +34 -202
- package/Code.js +27 -20
- package/CollapsiblePanel.js +74 -228
- package/Color.js +62 -319
- package/ColumnLayout.js +6 -6
- package/ComboBox.js +32 -32
- package/Concertina.js +38 -38
- package/ControlGroup.js +20 -20
- package/Date.js +22 -22
- package/DefinitionList.js +2 -2
- package/Divider.js +2 -2
- package/Dropdown.js +29 -29
- package/DualListbox.d.ts +2 -0
- package/DualListbox.js +1780 -0
- package/EventListener.js +4 -4
- package/File.js +85 -250
- package/FormRows.js +60 -215
- package/Heading.js +39 -27
- package/Image.js +73 -227
- package/JSONTree.js +18 -18
- package/Layer.js +30 -30
- package/Link.js +60 -28
- package/List.js +9 -9
- package/MIGRATION.md +28 -0
- package/Markdown.js +21 -21
- package/Menu.js +180 -371
- package/Message.js +137 -407
- package/MessageBar.js +168 -398
- package/Modal.js +31 -31
- package/ModalLayer.js +6 -6
- package/Monogram.js +4 -4
- package/Multiselect.js +2297 -2525
- package/Number.js +32 -32
- package/Paginator.js +92 -321
- package/Paragraph.js +2 -2
- package/Popover.js +287 -136
- package/Progress.js +15 -15
- package/RadioBar.js +23 -19
- package/RadioList.js +13 -12
- package/Resize.js +18 -18
- package/ResultsMenu.js +21 -21
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +33 -33
- package/ScrollContainerContext.js +13 -13
- package/Search.js +34 -32
- package/Select.js +220 -367
- package/SidePanel.js +12 -12
- package/Slider.js +28 -28
- package/SlidingPanels.js +29 -29
- package/SplitButton.js +59 -62
- package/StaticContent.js +4 -4
- package/StepBar.js +35 -238
- package/Switch.js +23 -23
- package/TabBar.js +30 -44
- package/TabLayout.js +30 -28
- package/Table.js +292 -586
- package/Text.js +109 -322
- package/TextArea.js +160 -366
- package/Tooltip.js +28 -132
- package/TransitionOpen.js +21 -21
- package/Typography.js +32 -28
- package/WaitSpinner.js +2 -2
- package/docker-compose.yml +19 -7
- package/package.json +10 -11
- package/stubs-splunkui.d.ts +4 -1
- package/types/src/Button/icons/CaretSmallDown.d.ts +2 -0
- package/types/src/Button/icons/External.d.ts +2 -0
- package/types/src/Code/Code.d.ts +6 -1
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +0 -1
- package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +11 -0
- package/types/src/Date/Icon.d.ts +1 -1
- package/types/src/Dropdown/docs/examples/Submenu.d.ts +2 -0
- package/types/src/DualListbox/DualListbox.d.ts +87 -0
- package/types/src/DualListbox/DualListboxContext.d.ts +27 -0
- package/types/src/DualListbox/Label.d.ts +37 -0
- package/types/src/DualListbox/Listbox.d.ts +54 -0
- package/types/src/DualListbox/ListboxContext.d.ts +32 -0
- package/types/src/DualListbox/Option.d.ts +35 -0
- package/types/src/DualListbox/ScreenReaderWrapper.d.ts +4 -0
- package/types/src/DualListbox/ToolbarButton.d.ts +38 -0
- package/types/src/DualListbox/ToolbarContext.d.ts +21 -0
- package/types/src/DualListbox/docs/examples/Basic.d.ts +2 -0
- package/types/src/DualListbox/docs/examples/Controlled.d.ts +2 -0
- package/types/src/DualListbox/docs/examples/Fill.d.ts +2 -0
- package/types/src/DualListbox/index.d.ts +2 -0
- package/types/src/DualListbox/listboxUtils.d.ts +4 -0
- package/types/src/File/Icon.d.ts +1 -1
- package/types/src/File/IconCloud.d.ts +1 -1
- package/types/src/File/PaperClip.d.ts +1 -1
- package/types/src/File/Retry.d.ts +1 -1
- package/types/src/File/Trash.d.ts +1 -1
- package/types/src/File/docs/examples/Progress.d.ts +1 -15
- package/types/src/FormRows/icons/FormRowsPlusIcon.d.ts +2 -0
- package/types/src/Heading/Heading.d.ts +12 -4
- package/types/src/Heading/docs/examples/Variant.d.ts +2 -0
- package/types/src/Image/Image.d.ts +1 -1
- package/types/src/Image/icons/Cross.d.ts +2 -0
- package/types/src/Link/icons/External.d.ts +2 -0
- package/types/src/Menu/Divider.d.ts +1 -0
- package/types/src/Menu/Heading.d.ts +1 -0
- package/types/src/Menu/Item.d.ts +5 -2
- package/types/src/Menu/Menu.d.ts +3 -1
- package/types/src/Menu/icons/External.d.ts +2 -0
- package/types/src/Number/IncrementIcon.d.ts +1 -1
- package/types/src/Popover/Popover.d.ts +7 -9
- package/types/src/Popover/PopoverHitArea.d.ts +9 -0
- package/types/src/RadioBar/RadioBar.d.ts +1 -1
- package/types/src/Search/Option.d.ts +9 -0
- package/types/src/Select/OptionBase.d.ts +9 -0
- package/types/src/Select/icons/CaretSmallDown.d.ts +2 -0
- package/types/src/Select/icons/Search.d.ts +2 -0
- package/types/src/SplitButton/SplitButton.d.ts +8 -3
- package/types/src/SplitButton/docs/examples/Block.d.ts +1 -0
- package/types/src/TabLayout/TabLayout.d.ts +0 -1
- package/types/src/Table/HeadInner.d.ts +2 -2
- package/types/src/Table/icons/ExpansionRow.d.ts +6 -0
- package/types/src/Table/icons/HeadExpandRows.d.ts +1 -0
- package/types/src/Text/IconOutlinedHide.d.ts +1 -1
- package/types/src/Text/IconOutlinedView.d.ts +1 -1
- package/types/src/Tooltip/InfoIcon.d.ts +1 -1
- package/types/src/Tooltip/Tooltip.d.ts +0 -4
- package/types/src/Typography/Typography.d.ts +4 -7
- package/types/src/useRovingFocus/index.d.ts +2 -0
- package/types/src/useRovingFocus/useRovingFocus.d.ts +27 -0
- package/useForceUpdate.js +2 -2
- package/useKeyPress.js +2 -2
- package/usePrevious.js +2 -2
- package/useRovingFocus.d.ts +2 -0
- package/useRovingFocus.js +237 -0
- package/Dockerfile.enterprise.storybook +0 -7
- package/Dockerfile.prisma.storybook +0 -7
- package/Dockerfile.visual +0 -10
- package/types/src/File/docs/examples/CustomChildren.d.ts +0 -12
- package/types/src/File/docs/examples/prisma/Progress.d.ts +0 -1
- package/types/src/Select/matchUtils.d.ts +0 -12
- package/types/src/SplitButton/docs/examples/prisma/Basic.d.ts +0 -1
- package/types/src/SplitButton/docs/examples/prisma/Disabled.d.ts +0 -1
- package/types/src/Table/HeadExpandRowsIcon.d.ts +0 -1
- package/types/src/icons/Alert.d.ts +0 -2
- package/types/src/icons/AlertFilled.d.ts +0 -2
- package/types/src/icons/CaretDown.d.ts +0 -2
- package/types/src/icons/CaretRight.d.ts +0 -2
- package/types/src/icons/Check.d.ts +0 -2
- package/types/src/icons/ChevronDown.d.ts +0 -2
- package/types/src/icons/ChevronLeft.d.ts +0 -2
- package/types/src/icons/ChevronRight.d.ts +0 -2
- package/types/src/icons/CrossMark.d.ts +0 -2
- package/types/src/icons/External.d.ts +0 -2
- package/types/src/icons/InfoFilled.d.ts +0 -2
- package/types/src/icons/More.d.ts +0 -2
- package/types/src/icons/MoreVertical.d.ts +0 -2
- package/types/src/icons/Plus.d.ts +0 -2
- package/types/src/icons/SVG.d.ts +0 -4
- package/types/src/icons/Search.d.ts +0 -2
- package/types/src/icons/Sort.d.ts +0 -2
- package/types/src/icons/SortedDown.d.ts +0 -2
- package/types/src/icons/SortedUp.d.ts +0 -2
- package/types/src/icons/Success.d.ts +0 -2
- package/types/src/icons/SuccessFilled.d.ts +0 -2
- package/types/src/icons/ThemedIcon.d.ts +0 -29
- package/types/src/icons/WarningFilled.d.ts +0 -2
- package/types/src/icons/types.d.ts +0 -11
package/Tooltip.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 = 209);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,28 +101,21 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 10:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
107
|
module.exports = require("lodash/has");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
|
-
module.exports = require("@splunk/ui-utils/id");
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 14:
|
|
111
|
+
/***/ 12:
|
|
119
112
|
/***/ (function(module, exports) {
|
|
120
113
|
|
|
121
114
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
122
115
|
|
|
123
116
|
/***/ }),
|
|
124
117
|
|
|
125
|
-
/***/
|
|
118
|
+
/***/ 14:
|
|
126
119
|
/***/ (function(module, exports) {
|
|
127
120
|
|
|
128
121
|
module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
@@ -136,7 +129,7 @@ module.exports = require("react");
|
|
|
136
129
|
|
|
137
130
|
/***/ }),
|
|
138
131
|
|
|
139
|
-
/***/
|
|
132
|
+
/***/ 209:
|
|
140
133
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
141
134
|
|
|
142
135
|
"use strict";
|
|
@@ -155,7 +148,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
155
148
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
156
149
|
|
|
157
150
|
// EXTERNAL MODULE: external "lodash/has"
|
|
158
|
-
var has_ = __webpack_require__(
|
|
151
|
+
var has_ = __webpack_require__(10);
|
|
159
152
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
160
153
|
|
|
161
154
|
// EXTERNAL MODULE: external "lodash/throttle"
|
|
@@ -163,25 +156,25 @@ var throttle_ = __webpack_require__(31);
|
|
|
163
156
|
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
164
157
|
|
|
165
158
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
166
|
-
var Popover_ = __webpack_require__(
|
|
159
|
+
var Popover_ = __webpack_require__(21);
|
|
167
160
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
168
161
|
|
|
169
162
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
170
|
-
var ScreenReaderContent_ = __webpack_require__(
|
|
163
|
+
var ScreenReaderContent_ = __webpack_require__(14);
|
|
171
164
|
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
172
165
|
|
|
173
166
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
174
167
|
var themes_ = __webpack_require__(0);
|
|
175
168
|
|
|
176
169
|
// EXTERNAL MODULE: external "@splunk/ui-utils/id"
|
|
177
|
-
var id_ = __webpack_require__(
|
|
170
|
+
var id_ = __webpack_require__(8);
|
|
178
171
|
|
|
179
172
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
180
173
|
var i18n_ = __webpack_require__(4);
|
|
181
174
|
|
|
182
|
-
// EXTERNAL MODULE: external "@splunk/react-icons/
|
|
183
|
-
var
|
|
184
|
-
var
|
|
175
|
+
// EXTERNAL MODULE: external "@splunk/react-icons/SVGEnterprise"
|
|
176
|
+
var SVGEnterprise_ = __webpack_require__(32);
|
|
177
|
+
var SVGEnterprise_default = /*#__PURE__*/__webpack_require__.n(SVGEnterprise_);
|
|
185
178
|
|
|
186
179
|
// CONCATENATED MODULE: ./src/Tooltip/InfoIcon.tsx
|
|
187
180
|
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); }
|
|
@@ -197,7 +190,7 @@ function InfoCircle(props) {
|
|
|
197
190
|
density = _useSplunkTheme.density;
|
|
198
191
|
|
|
199
192
|
if (family === 'enterprise') {
|
|
200
|
-
return /*#__PURE__*/external_react_default.a.createElement(
|
|
193
|
+
return /*#__PURE__*/external_react_default.a.createElement(SVGEnterprise_default.a, _extends({
|
|
201
194
|
screenReaderText: Object(i18n_["_"])('Info Circle'),
|
|
202
195
|
viewBox: "0 0 24 24"
|
|
203
196
|
}, props), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
@@ -228,7 +221,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
228
221
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
229
222
|
|
|
230
223
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
231
|
-
var Clickable_ = __webpack_require__(
|
|
224
|
+
var Clickable_ = __webpack_require__(12);
|
|
232
225
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
233
226
|
|
|
234
227
|
// CONCATENATED MODULE: ./src/Tooltip/TooltipStyles.ts
|
|
@@ -283,10 +276,6 @@ var StyledButton = external_styled_components_default()(Clickable_default.a).wit
|
|
|
283
276
|
compact: Object(external_styled_components_["css"])(["padding:6px;"])
|
|
284
277
|
}
|
|
285
278
|
}), themes_["variables"].focusShadow);
|
|
286
|
-
var StyledHitArea = external_styled_components_default.a.svg.withConfig({
|
|
287
|
-
displayName: "TooltipStyles__StyledHitArea",
|
|
288
|
-
componentId: "sc-67fvgm-6"
|
|
289
|
-
})(["position:absolute;pointer-events:none;path{pointer-events:auto;stroke-width:0;stroke:transparent;fill:transparent;}"]);
|
|
290
279
|
|
|
291
280
|
// CONCATENATED MODULE: ./src/Tooltip/Tooltip.tsx
|
|
292
281
|
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); }
|
|
@@ -416,8 +405,6 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
416
405
|
|
|
417
406
|
_this.setState({
|
|
418
407
|
popoverEl: el
|
|
419
|
-
}, function () {
|
|
420
|
-
return _this.updateHitArea;
|
|
421
408
|
});
|
|
422
409
|
});
|
|
423
410
|
|
|
@@ -562,94 +549,6 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
562
549
|
}, finalDelay);
|
|
563
550
|
});
|
|
564
551
|
|
|
565
|
-
_defineProperty(_assertThisInitialized(_this), "updateHitArea", function () {
|
|
566
|
-
var placementInfo = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
567
|
-
var placement = placementInfo.placement;
|
|
568
|
-
|
|
569
|
-
_this.setState(function (_ref) {
|
|
570
|
-
var anchorEl = _ref.anchorEl,
|
|
571
|
-
popoverEl = _ref.popoverEl,
|
|
572
|
-
statePopoverPlacement = _ref.popoverPlacement;
|
|
573
|
-
var popoverPlacement = placement != null ? placement : statePopoverPlacement;
|
|
574
|
-
|
|
575
|
-
if (anchorEl != null && popoverEl != null && popoverPlacement != null) {
|
|
576
|
-
var anchorRect = anchorEl.getBoundingClientRect();
|
|
577
|
-
var menuRect = popoverEl.getBoundingClientRect();
|
|
578
|
-
|
|
579
|
-
if (popoverPlacement === 'above' || popoverPlacement === 'below') {
|
|
580
|
-
var anchorLeftEdge = anchorRect.x - menuRect.x;
|
|
581
|
-
var verticalStart = anchorRect.height;
|
|
582
|
-
var verticalEnd = 0;
|
|
583
|
-
|
|
584
|
-
if (popoverPlacement === 'above') {
|
|
585
|
-
verticalStart = 0;
|
|
586
|
-
verticalEnd = anchorRect.height;
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
var menuStart = "0 ".concat(verticalStart);
|
|
590
|
-
var menuEnd = "".concat(menuRect.width, " ").concat(verticalStart);
|
|
591
|
-
var anchorStartNear = "".concat(anchorLeftEdge, " ").concat(verticalStart);
|
|
592
|
-
var anchorStartFar = "".concat(anchorLeftEdge, " ").concat(verticalEnd);
|
|
593
|
-
var anchorEndNear = "".concat(anchorLeftEdge + anchorRect.width, " ").concat(verticalStart);
|
|
594
|
-
var anchorEndFar = "".concat(anchorLeftEdge + anchorRect.width, " ").concat(verticalEnd);
|
|
595
|
-
var hitAreaPath = "\n M ".concat(menuStart, "\n S ").concat(anchorStartNear, " , ").concat(anchorStartFar, "\n L ").concat(anchorStartNear, "\n L ").concat(anchorEndNear, "\n L ").concat(anchorEndFar, "\n S ").concat(anchorEndNear, " , ").concat(menuEnd, "\n ");
|
|
596
|
-
return {
|
|
597
|
-
popoverPlacement: popoverPlacement,
|
|
598
|
-
hitAreaPath: hitAreaPath,
|
|
599
|
-
hitAreaStyle: {
|
|
600
|
-
left: menuRect.left - anchorRect.left,
|
|
601
|
-
top: 0,
|
|
602
|
-
width: menuRect.width,
|
|
603
|
-
height: anchorRect.height
|
|
604
|
-
}
|
|
605
|
-
};
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
if (popoverPlacement === 'left' || popoverPlacement === 'right') {
|
|
609
|
-
var anchorTopEdge = anchorRect.top - menuRect.top;
|
|
610
|
-
var horizontalStart = 0;
|
|
611
|
-
var horizontalEnd = anchorRect.width;
|
|
612
|
-
|
|
613
|
-
if (popoverPlacement === 'right') {
|
|
614
|
-
horizontalStart = anchorRect.width;
|
|
615
|
-
horizontalEnd = 0;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
var _menuStart = "".concat(horizontalStart, " 0");
|
|
619
|
-
|
|
620
|
-
var _menuEnd = "".concat(horizontalStart, " ").concat(menuRect.height);
|
|
621
|
-
|
|
622
|
-
var _anchorStartNear = "".concat(horizontalStart, " ").concat(anchorTopEdge);
|
|
623
|
-
|
|
624
|
-
var _anchorStartFar = "".concat(horizontalEnd, " ").concat(anchorTopEdge);
|
|
625
|
-
|
|
626
|
-
var _anchorEndNear = "".concat(horizontalStart, " ").concat(anchorTopEdge + anchorRect.height);
|
|
627
|
-
|
|
628
|
-
var _anchorEndFar = "".concat(horizontalEnd, " ").concat(anchorTopEdge + anchorRect.height);
|
|
629
|
-
|
|
630
|
-
var _hitAreaPath = "\n M ".concat(_menuStart, "\n S ").concat(_anchorStartNear, " , ").concat(_anchorStartFar, "\n L ").concat(_anchorStartNear, "\n L ").concat(_anchorEndNear, "\n L ").concat(_anchorEndFar, "\n S ").concat(_anchorEndNear, " , ").concat(_menuEnd, "\n ");
|
|
631
|
-
|
|
632
|
-
return {
|
|
633
|
-
popoverPlacement: popoverPlacement,
|
|
634
|
-
hitAreaPath: _hitAreaPath,
|
|
635
|
-
hitAreaStyle: {
|
|
636
|
-
left: 0,
|
|
637
|
-
top: menuRect.top - anchorRect.top,
|
|
638
|
-
width: anchorRect.width,
|
|
639
|
-
height: menuRect.height
|
|
640
|
-
}
|
|
641
|
-
};
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
return {
|
|
646
|
-
popoverPlacement: popoverPlacement,
|
|
647
|
-
hitAreaPath: null,
|
|
648
|
-
hitAreaStyle: {}
|
|
649
|
-
};
|
|
650
|
-
});
|
|
651
|
-
});
|
|
652
|
-
|
|
653
552
|
_this.controlledExternally = has_default()(props, 'open');
|
|
654
553
|
_this.popoverId = Object(id_["createDOMID"])('popover');
|
|
655
554
|
_this.ariaId = Object(id_["createDOMID"])('aria-id');
|
|
@@ -658,10 +557,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
658
557
|
open: false,
|
|
659
558
|
popoverEl: null,
|
|
660
559
|
popoverOuterEl: null,
|
|
661
|
-
|
|
662
|
-
hitAreaEl: null,
|
|
663
|
-
hitAreaPath: null,
|
|
664
|
-
hitAreaStyle: {}
|
|
560
|
+
hitAreaEl: null
|
|
665
561
|
};
|
|
666
562
|
return _this;
|
|
667
563
|
}
|
|
@@ -705,10 +601,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
705
601
|
contentRelationship = _this$props3.contentRelationship,
|
|
706
602
|
otherProps = _objectWithoutProperties(_this$props3, ["appearance", "children", "content", "defaultPlacement", "elementRef", "inline", "onRequestClose", "onRequestOpen", "splunkTheme", "contentRelationship"]);
|
|
707
603
|
|
|
708
|
-
var
|
|
709
|
-
anchorEl = _this$state.anchorEl,
|
|
710
|
-
hitAreaPath = _this$state.hitAreaPath,
|
|
711
|
-
hitAreaStyle = _this$state.hitAreaStyle;
|
|
604
|
+
var anchorEl = this.state.anchorEl;
|
|
712
605
|
var hasContent = !!content;
|
|
713
606
|
var openRender = this.isOpen();
|
|
714
607
|
var StyledComp = inline ? StyledInline : Styled;
|
|
@@ -753,13 +646,9 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
753
646
|
}) : /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
754
647
|
"aria-hidden": "true"
|
|
755
648
|
}, "?"), /*#__PURE__*/external_react_default.a.createElement(ScreenReaderContent_default.a, null, Object(i18n_["_"])('More info')))), hasContent && /*#__PURE__*/external_react_default.a.createElement(ScreenReaderContent_default.a, {
|
|
649
|
+
"aria-hidden": "true",
|
|
756
650
|
id: this.ariaId
|
|
757
|
-
}, content)),
|
|
758
|
-
style: hitAreaStyle
|
|
759
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
760
|
-
d: hitAreaPath,
|
|
761
|
-
ref: this.handleHitAreaMount
|
|
762
|
-
})), /*#__PURE__*/external_react_default.a.createElement(Popover_default.a, {
|
|
651
|
+
}, content)), /*#__PURE__*/external_react_default.a.createElement(Popover_default.a, {
|
|
763
652
|
role: "tooltip",
|
|
764
653
|
align: "center",
|
|
765
654
|
anchor: anchorEl // override Popver's default animation to make it faster
|
|
@@ -774,9 +663,9 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
774
663
|
defaultPlacement: defaultPlacement === 'theme' ? placement : defaultPlacement,
|
|
775
664
|
id: this.popoverId,
|
|
776
665
|
open: openRender,
|
|
777
|
-
onReposition: this.updateHitArea,
|
|
778
666
|
onRequestClose: this.handlePopoverOnRequestClose,
|
|
779
667
|
elementRef: this.handlePopoverMount,
|
|
668
|
+
hitAreaRef: this.handleHitAreaMount,
|
|
780
669
|
outerRef: this.handlePopoverOuterMount
|
|
781
670
|
}, /*#__PURE__*/external_react_default.a.createElement(StyledContent, {
|
|
782
671
|
$isLabel: contentRelationship === 'label'
|
|
@@ -800,7 +689,7 @@ TooltipWithTheme.propTypes = Tooltip_Tooltip.propTypes;
|
|
|
800
689
|
|
|
801
690
|
/***/ }),
|
|
802
691
|
|
|
803
|
-
/***/
|
|
692
|
+
/***/ 21:
|
|
804
693
|
/***/ (function(module, exports) {
|
|
805
694
|
|
|
806
695
|
module.exports = require("@splunk/react-ui/Popover");
|
|
@@ -824,7 +713,7 @@ module.exports = require("lodash/throttle");
|
|
|
824
713
|
/***/ 32:
|
|
825
714
|
/***/ (function(module, exports) {
|
|
826
715
|
|
|
827
|
-
module.exports = require("@splunk/react-icons/
|
|
716
|
+
module.exports = require("@splunk/react-icons/SVGEnterprise");
|
|
828
717
|
|
|
829
718
|
/***/ }),
|
|
830
719
|
|
|
@@ -833,6 +722,13 @@ module.exports = require("@splunk/react-icons/SVG");
|
|
|
833
722
|
|
|
834
723
|
module.exports = require("@splunk/ui-utils/i18n");
|
|
835
724
|
|
|
725
|
+
/***/ }),
|
|
726
|
+
|
|
727
|
+
/***/ 8:
|
|
728
|
+
/***/ (function(module, exports) {
|
|
729
|
+
|
|
730
|
+
module.exports = require("@splunk/ui-utils/id");
|
|
731
|
+
|
|
836
732
|
/***/ })
|
|
837
733
|
|
|
838
734
|
/******/ });
|
package/TransitionOpen.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 = 234);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,13 +101,6 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/ 10:
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("lodash/keys");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
104
|
/***/ 2:
|
|
112
105
|
/***/ (function(module, exports) {
|
|
113
106
|
|
|
@@ -115,7 +108,7 @@ module.exports = require("react");
|
|
|
115
108
|
|
|
116
109
|
/***/ }),
|
|
117
110
|
|
|
118
|
-
/***/
|
|
111
|
+
/***/ 234:
|
|
119
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
113
|
|
|
121
114
|
"use strict";
|
|
@@ -134,7 +127,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
134
127
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
135
128
|
|
|
136
129
|
// EXTERNAL MODULE: external "lodash/keys"
|
|
137
|
-
var keys_ = __webpack_require__(
|
|
130
|
+
var keys_ = __webpack_require__(9);
|
|
138
131
|
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
|
|
139
132
|
|
|
140
133
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
@@ -142,16 +135,16 @@ var omit_ = __webpack_require__(5);
|
|
|
142
135
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
143
136
|
|
|
144
137
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
145
|
-
var Animation_ = __webpack_require__(
|
|
138
|
+
var Animation_ = __webpack_require__(40);
|
|
146
139
|
|
|
147
140
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
148
|
-
var focus_ = __webpack_require__(
|
|
141
|
+
var focus_ = __webpack_require__(29);
|
|
149
142
|
|
|
150
143
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
151
|
-
var style_ = __webpack_require__(
|
|
144
|
+
var style_ = __webpack_require__(37);
|
|
152
145
|
|
|
153
146
|
// EXTERNAL MODULE: external "react-spring"
|
|
154
|
-
var external_react_spring_ = __webpack_require__(
|
|
147
|
+
var external_react_spring_ = __webpack_require__(24);
|
|
155
148
|
|
|
156
149
|
// EXTERNAL MODULE: external "styled-components"
|
|
157
150
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -510,35 +503,35 @@ _defineProperty(TransitionOpen_TransitionOpen, "getDerivedStateFromProps", funct
|
|
|
510
503
|
|
|
511
504
|
/***/ }),
|
|
512
505
|
|
|
513
|
-
/***/
|
|
506
|
+
/***/ 24:
|
|
514
507
|
/***/ (function(module, exports) {
|
|
515
508
|
|
|
516
509
|
module.exports = require("react-spring");
|
|
517
510
|
|
|
518
511
|
/***/ }),
|
|
519
512
|
|
|
520
|
-
/***/
|
|
513
|
+
/***/ 29:
|
|
521
514
|
/***/ (function(module, exports) {
|
|
522
515
|
|
|
523
|
-
module.exports = require("
|
|
516
|
+
module.exports = require("@splunk/ui-utils/focus");
|
|
524
517
|
|
|
525
518
|
/***/ }),
|
|
526
519
|
|
|
527
|
-
/***/
|
|
520
|
+
/***/ 3:
|
|
528
521
|
/***/ (function(module, exports) {
|
|
529
522
|
|
|
530
|
-
module.exports = require("
|
|
523
|
+
module.exports = require("styled-components");
|
|
531
524
|
|
|
532
525
|
/***/ }),
|
|
533
526
|
|
|
534
|
-
/***/
|
|
527
|
+
/***/ 37:
|
|
535
528
|
/***/ (function(module, exports) {
|
|
536
529
|
|
|
537
530
|
module.exports = require("@splunk/ui-utils/style");
|
|
538
531
|
|
|
539
532
|
/***/ }),
|
|
540
533
|
|
|
541
|
-
/***/
|
|
534
|
+
/***/ 40:
|
|
542
535
|
/***/ (function(module, exports) {
|
|
543
536
|
|
|
544
537
|
module.exports = require("@splunk/react-ui/Animation");
|
|
@@ -550,6 +543,13 @@ module.exports = require("@splunk/react-ui/Animation");
|
|
|
550
543
|
|
|
551
544
|
module.exports = require("lodash/omit");
|
|
552
545
|
|
|
546
|
+
/***/ }),
|
|
547
|
+
|
|
548
|
+
/***/ 9:
|
|
549
|
+
/***/ (function(module, exports) {
|
|
550
|
+
|
|
551
|
+
module.exports = require("lodash/keys");
|
|
552
|
+
|
|
553
553
|
/***/ })
|
|
554
554
|
|
|
555
555
|
/******/ });
|
package/Typography.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 = 240);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("react");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 240:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -120,12 +120,8 @@ var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_)
|
|
|
120
120
|
var external_prop_types_ = __webpack_require__(1);
|
|
121
121
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
122
122
|
|
|
123
|
-
// EXTERNAL MODULE: external "lodash/pick"
|
|
124
|
-
var pick_ = __webpack_require__(34);
|
|
125
|
-
var pick_default = /*#__PURE__*/__webpack_require__.n(pick_);
|
|
126
|
-
|
|
127
123
|
// EXTERNAL MODULE: external "@splunk/themes/mixins"
|
|
128
|
-
var mixins_ = __webpack_require__(
|
|
124
|
+
var mixins_ = __webpack_require__(79);
|
|
129
125
|
var mixins_default = /*#__PURE__*/__webpack_require__.n(mixins_);
|
|
130
126
|
|
|
131
127
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -143,7 +139,6 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
143
139
|
|
|
144
140
|
|
|
145
141
|
|
|
146
|
-
|
|
147
142
|
var propTypes = {
|
|
148
143
|
children: external_prop_types_default.a.node.isRequired,
|
|
149
144
|
as: external_prop_types_default.a.string.isRequired,
|
|
@@ -156,15 +151,6 @@ var propTypes = {
|
|
|
156
151
|
weight: external_prop_types_default.a.oneOf([300, 400, 500, 600, 700, 800, 900, 'light', 'normal', 'semiBold', 'bold', 'extraBold', 'heavy']),
|
|
157
152
|
withReset: external_prop_types_default.a.bool
|
|
158
153
|
};
|
|
159
|
-
var paramsToExtract = {
|
|
160
|
-
family: true,
|
|
161
|
-
size: true,
|
|
162
|
-
lineHeight: true,
|
|
163
|
-
color: true,
|
|
164
|
-
weight: true,
|
|
165
|
-
withReset: true
|
|
166
|
-
};
|
|
167
|
-
var keys = Object.keys(paramsToExtract);
|
|
168
154
|
var StyledTypography = external_styled_components_default.a.p.withConfig({
|
|
169
155
|
displayName: "Typography__StyledTypography",
|
|
170
156
|
componentId: "cgxs34-0"
|
|
@@ -173,6 +159,15 @@ var StyledTypography = external_styled_components_default.a.p.withConfig({
|
|
|
173
159
|
$typographyParams = _ref.$typographyParams;
|
|
174
160
|
return $variant ? mixins_default.a.typography($variant, $typographyParams) : mixins_default.a.typography($typographyParams);
|
|
175
161
|
});
|
|
162
|
+
var weightNumberToWeightVariable = {
|
|
163
|
+
300: 'light',
|
|
164
|
+
400: 'normal',
|
|
165
|
+
500: 'semiBold',
|
|
166
|
+
600: 'semiBold',
|
|
167
|
+
700: 'bold',
|
|
168
|
+
800: 'extraBold',
|
|
169
|
+
900: 'heavy'
|
|
170
|
+
};
|
|
176
171
|
/**
|
|
177
172
|
* Typography renders text content with styling based on the Splunk Design System.
|
|
178
173
|
*/
|
|
@@ -181,11 +176,27 @@ function Typography(_ref2) {
|
|
|
181
176
|
var children = _ref2.children,
|
|
182
177
|
as = _ref2.as,
|
|
183
178
|
elementRef = _ref2.elementRef,
|
|
184
|
-
|
|
179
|
+
variant = _ref2.variant,
|
|
180
|
+
family = _ref2.family,
|
|
181
|
+
size = _ref2.size,
|
|
182
|
+
lineHeight = _ref2.lineHeight,
|
|
183
|
+
color = _ref2.color,
|
|
184
|
+
weight = _ref2.weight,
|
|
185
|
+
withReset = _ref2.withReset,
|
|
186
|
+
otherProps = _objectWithoutProperties(_ref2, ["children", "as", "elementRef", "variant", "family", "size", "lineHeight", "color", "weight", "withReset"]);
|
|
185
187
|
|
|
186
188
|
// @docs-props-type TypographyPropsBase
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
// TODO: Remove in next major version (SUI-5350)
|
|
190
|
+
if (false) {}
|
|
191
|
+
|
|
192
|
+
var typographyParams = {
|
|
193
|
+
family: family,
|
|
194
|
+
size: size,
|
|
195
|
+
lineHeight: lineHeight,
|
|
196
|
+
color: color,
|
|
197
|
+
withReset: withReset,
|
|
198
|
+
weight: typeof weight === 'number' ? weightNumberToWeightVariable[weight] : weight
|
|
199
|
+
};
|
|
189
200
|
return /*#__PURE__*/external_react_default.a.createElement(StyledTypography, _extends({
|
|
190
201
|
as: as,
|
|
191
202
|
ref: elementRef,
|
|
@@ -209,14 +220,7 @@ module.exports = require("styled-components");
|
|
|
209
220
|
|
|
210
221
|
/***/ }),
|
|
211
222
|
|
|
212
|
-
/***/
|
|
213
|
-
/***/ (function(module, exports) {
|
|
214
|
-
|
|
215
|
-
module.exports = require("lodash/pick");
|
|
216
|
-
|
|
217
|
-
/***/ }),
|
|
218
|
-
|
|
219
|
-
/***/ 80:
|
|
223
|
+
/***/ 79:
|
|
220
224
|
/***/ (function(module, exports) {
|
|
221
225
|
|
|
222
226
|
module.exports = require("@splunk/themes/mixins");
|
package/WaitSpinner.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 = 235);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 235:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
package/docker-compose.yml
CHANGED
|
@@ -3,21 +3,31 @@ services:
|
|
|
3
3
|
prisma-storybook:
|
|
4
4
|
build:
|
|
5
5
|
context: .
|
|
6
|
-
dockerfile: Dockerfile.
|
|
7
|
-
|
|
6
|
+
dockerfile: ../../infra/visual-tests/Dockerfile.storybook
|
|
7
|
+
args:
|
|
8
|
+
port: 6007
|
|
9
|
+
storybookfolder: storybook-static-visual-prisma
|
|
10
|
+
workdir: /react-ui
|
|
11
|
+
command: npx http-server storybook-static-visual-prisma --port 6007
|
|
8
12
|
ports:
|
|
9
13
|
- "6007:6007"
|
|
10
14
|
enterprise-storybook:
|
|
11
15
|
build:
|
|
12
16
|
context: .
|
|
13
|
-
dockerfile: Dockerfile.
|
|
17
|
+
dockerfile: ../../infra/visual-tests/Dockerfile.storybook
|
|
18
|
+
args:
|
|
19
|
+
port: 6008
|
|
20
|
+
storybookfolder: storybook-static-visual-enterprise
|
|
21
|
+
workdir: /react-ui
|
|
14
22
|
command: npx http-server storybook-static-visual-enterprise --port 6008
|
|
15
23
|
ports:
|
|
16
24
|
- "6008:6008"
|
|
17
25
|
prisma-visual-test:
|
|
18
26
|
build:
|
|
19
27
|
context: .
|
|
20
|
-
dockerfile: Dockerfile.visual
|
|
28
|
+
dockerfile: ../../infra/visual-tests/Dockerfile.visual
|
|
29
|
+
args:
|
|
30
|
+
workdir: /react-ui
|
|
21
31
|
env_file:
|
|
22
32
|
- ./.storybook-visual/config/.env.visual
|
|
23
33
|
working_dir: /react-ui
|
|
@@ -26,11 +36,13 @@ services:
|
|
|
26
36
|
- "./test-reports:/react-ui/test-reports"
|
|
27
37
|
depends_on:
|
|
28
38
|
- prisma-storybook
|
|
29
|
-
command: /bin/sh -c "npx wait-on http://prisma-storybook:6007 && yarn cache clean && yarn test-storybook -c .storybook-visual --browsers $${STORYBOOK_BROWSER} $${STORYBOOK_UPDATE_SNAPSHOT} --url http://prisma-storybook:6007 --no-index-json"
|
|
39
|
+
command: /bin/sh -c "npx wait-on http://prisma-storybook:6007 && yarn cache clean && yarn test-storybook -c .storybook-visual --browsers $${STORYBOOK_BROWSER} $${STORYBOOK_UPDATE_SNAPSHOT} $${STORYBOOK_MAX_WORKERS} --url http://prisma-storybook:6007 --no-index-json"
|
|
30
40
|
enterprise-visual-test:
|
|
31
41
|
build:
|
|
32
42
|
context: .
|
|
33
|
-
dockerfile: Dockerfile.visual
|
|
43
|
+
dockerfile: ../../infra/visual-tests/Dockerfile.visual
|
|
44
|
+
args:
|
|
45
|
+
workdir: /react-ui
|
|
34
46
|
env_file:
|
|
35
47
|
- ./.storybook-visual/config/.env.visual
|
|
36
48
|
working_dir: /react-ui
|
|
@@ -39,4 +51,4 @@ services:
|
|
|
39
51
|
- "./test-reports:/react-ui/test-reports"
|
|
40
52
|
depends_on:
|
|
41
53
|
- enterprise-storybook
|
|
42
|
-
command: /bin/sh -c "npx wait-on http://enterprise-storybook:6008 && yarn cache clean && yarn test-storybook -c .storybook-visual --browsers $${STORYBOOK_BROWSER} $${STORYBOOK_UPDATE_SNAPSHOT} --url http://enterprise-storybook:6008 --no-index-json"
|
|
54
|
+
command: /bin/sh -c "npx wait-on http://enterprise-storybook:6008 && yarn cache clean && yarn test-storybook -c .storybook-visual --browsers $${STORYBOOK_BROWSER} $${STORYBOOK_UPDATE_SNAPSHOT} $${STORYBOOK_MAX_WORKERS} --url http://enterprise-storybook:6008 --no-index-json"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "Library of React components that implement the Splunk design language",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Splunk Inc.",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"lint:ci": "yarn run eslint:ci && yarn run stylelint",
|
|
19
19
|
"start": "cross-env NODE_ENV=development webpack --watch",
|
|
20
20
|
"storybook": "start-storybook -p 6006",
|
|
21
|
-
"storybook:test": "
|
|
22
|
-
"storybook:test:all": "
|
|
23
|
-
"storybook:a11y": "
|
|
24
|
-
"storybook:a11y:all": "
|
|
21
|
+
"storybook:test": "node ../../infra/visual-tests/test.js",
|
|
22
|
+
"storybook:test:all": "yarn storybook:test --all",
|
|
23
|
+
"storybook:a11y": "yarn storybook:test --a11y",
|
|
24
|
+
"storybook:a11y:all": "yarn storybook:test --all --a11y",
|
|
25
25
|
"storybook:build": "yarn build-storybook",
|
|
26
26
|
"stylelint": "stylelint \"src/**/*.{ts,tsx,js,jsx}\" --config stylelint.config.js",
|
|
27
27
|
"test": "jest",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"styled-components": "5.1.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@splunk/react-icons": "
|
|
42
|
-
"@splunk/themes": "^0.
|
|
43
|
-
"@splunk/ui-utils": "^1.
|
|
41
|
+
"@splunk/react-icons": "^4.0.0",
|
|
42
|
+
"@splunk/themes": "^0.16.0",
|
|
43
|
+
"@splunk/ui-utils": "^1.6.0",
|
|
44
44
|
"@types/commonmark": "^0.27.0",
|
|
45
45
|
"@types/lodash": "^4.14.156",
|
|
46
46
|
"@types/react": "^16.9.38",
|
|
@@ -67,12 +67,11 @@
|
|
|
67
67
|
"@cypress/webpack-dev-server": "^1.8.2",
|
|
68
68
|
"@splunk/babel-preset": "^3.0.0",
|
|
69
69
|
"@splunk/cicd-tools": "^0.5.0",
|
|
70
|
-
"@splunk/docs-gen": "1.0.0-beta.
|
|
70
|
+
"@splunk/docs-gen": "1.0.0-beta.4",
|
|
71
71
|
"@splunk/eslint-config": "^4.0.0",
|
|
72
|
-
"@splunk/react-docs": "1.0.0-beta.
|
|
72
|
+
"@splunk/react-docs": "1.0.0-beta.4",
|
|
73
73
|
"@splunk/stylelint-config": "^4.0.0",
|
|
74
74
|
"@splunk/test-runner-utils": "^0.4.1",
|
|
75
|
-
"@splunk/wdio-functional-test-runner": "^10.1.0",
|
|
76
75
|
"@splunk/webpack-configs": "^6.0.0",
|
|
77
76
|
"@storybook/addon-a11y": "^6.5.9",
|
|
78
77
|
"@storybook/addon-essentials": "^6.5.9",
|