@splunk/react-ui 4.9.0 → 4.12.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 +4 -4
- package/Anchor.js +2 -2
- package/Animation.js +4 -4
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +24 -48
- package/ButtonGroup.js +6 -27
- package/ButtonSimple.js +4 -4
- package/CHANGELOG.md +63 -6
- package/Calendar.js +39 -39
- package/Card.js +54 -68
- package/CardLayout.js +14 -35
- package/Chip.js +19 -19
- package/Clickable.js +28 -13
- package/CloseButton.js +15 -15
- package/Code.js +8 -5
- package/CollapsiblePanel.js +6 -6
- package/Color.js +21 -21
- package/ColumnLayout.js +7 -7
- package/ComboBox.js +19 -14
- package/Concertina.js +13 -13
- package/ControlGroup.js +28 -18
- package/Date.js +10 -10
- package/DefinitionList.js +2 -2
- package/Dropdown.js +6 -6
- package/EventListener.js +4 -4
- package/File.js +31 -31
- package/FormRows.js +11 -11
- package/Heading.js +2 -2
- package/Image.js +21 -21
- package/JSONTree.js +40 -22
- package/Layer.js +72 -22
- package/Link.js +9 -9
- package/List.js +2 -2
- package/Markdown.js +26 -29
- package/Menu.js +53 -53
- package/Message.js +33 -33
- package/MessageBar.js +46 -39
- package/Modal.js +8 -8
- package/ModalLayer.js +16 -7
- package/Monogram.js +27 -15
- package/Multiselect.js +101 -97
- package/Number.js +6 -6
- package/Paginator.js +46 -49
- package/Paragraph.js +2 -2
- package/Popover.js +18 -13
- package/Progress.js +8 -8
- package/RadioBar.js +145 -41
- package/RadioList.js +2 -2
- package/Resize.js +4 -4
- package/ResultsMenu.js +62 -41
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +6 -6
- package/ScrollContainerContext.js +2 -2
- package/Search.js +19 -18
- package/Select.js +81 -79
- package/SidePanel.js +4 -4
- package/Slider.js +8 -8
- package/SlidingPanels.js +16 -7
- package/StaticContent.js +2 -2
- package/StepBar.js +8 -8
- package/Switch.js +8 -8
- package/TabBar.js +15 -15
- package/TabLayout.js +4 -4
- package/Table.js +119 -92
- package/Text.js +121 -241
- package/TextArea.js +1444 -0
- package/Tooltip.js +17 -6
- package/TransitionOpen.js +20 -10
- package/Typography.js +225 -0
- package/WaitSpinner.js +4 -4
- package/cypress.json +1 -0
- package/package.json +21 -8
- package/stubs-splunkui.d.ts +13 -0
- package/test-runner-jest.config.js +38 -0
- package/types/src/Accordion/AccordionContext.d.ts +0 -1
- package/types/src/Button/Button.d.ts +0 -2
- package/types/src/ButtonGroup/ButtonGroupContext.d.ts +0 -1
- package/types/src/Card/Body.d.ts +6 -1
- package/types/src/Card/Card.d.ts +0 -2
- package/types/src/CardLayout/CardLayoutContext.d.ts +0 -1
- package/types/src/Clickable/Clickable.d.ts +5 -0
- package/types/src/ComboBox/ComboBox.d.ts +15 -5
- package/types/src/Concertina/ConcertinaContext.d.ts +0 -1
- package/types/src/ControlGroup/ControlGroup.d.ts +9 -2
- package/types/src/Date/Date.d.ts +3 -3
- package/types/src/File/FileContext.d.ts +0 -1
- package/types/src/FormRows/FormRows.d.ts +1 -1
- package/types/src/FormRows/FormRowsContext.d.ts +0 -1
- package/types/src/FormRows/Row.d.ts +1 -1
- package/types/src/JSONTree/JSONTree.d.ts +2 -2
- package/types/src/JSONTree/TreeNode.d.ts +1 -1
- package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +1 -0
- package/types/src/Layer/LayerStack.d.ts +8 -2
- package/types/src/Markdown/Markdown.d.ts +2 -3
- package/types/src/Menu/MenuContext.d.ts +0 -1
- package/types/src/Modal/ModalContext.d.ts +0 -1
- package/types/src/ModalLayer/ModalLayer.d.ts +2 -0
- package/types/src/Monogram/Monogram.d.ts +2 -2
- package/types/src/Multiselect/Compact.d.ts +11 -4
- package/types/src/Multiselect/Multiselect.d.ts +14 -5
- package/types/src/Multiselect/Normal.d.ts +11 -4
- package/types/src/Number/Number.d.ts +3 -3
- package/types/src/Popover/Popover.d.ts +1 -0
- package/types/src/Popover/PopoverContext.d.ts +0 -1
- package/types/src/RadioBar/Option.d.ts +10 -2
- package/types/src/RadioBar/RadioBar.d.ts +4 -1
- package/types/src/RadioBar/RadioBarContext.d.ts +4 -2
- package/types/src/RadioList/RadioListContext.d.ts +0 -1
- package/types/src/ResultsMenu/ResultsMenu.d.ts +8 -2
- package/types/src/Search/Search.d.ts +4 -0
- package/types/src/Select/Select.d.ts +13 -4
- package/types/src/Select/SelectBase.d.ts +12 -4
- package/types/src/SidePanel/SidePanel.d.ts +2 -1
- package/types/src/Slider/Slider.d.ts +3 -3
- package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -0
- package/types/src/StepBar/StepBarContext.d.ts +0 -1
- package/types/src/TabBar/TabBarContext.d.ts +0 -1
- package/types/src/Table/HeadCell.d.ts +7 -3
- package/types/src/Table/Table.d.ts +2 -3
- package/types/src/Table/TableContext.d.ts +5 -0
- package/types/src/Text/Text.d.ts +22 -12
- package/types/src/TextArea/TextArea.d.ts +190 -0
- package/types/src/TextArea/docs/examples/Basic.d.ts +2 -0
- package/types/src/TextArea/docs/examples/Disabled.d.ts +2 -0
- package/types/src/TextArea/docs/examples/Error.d.ts +2 -0
- package/types/src/TextArea/docs/examples/Inline.d.ts +2 -0
- package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +2 -0
- package/types/src/TextArea/index.d.ts +2 -0
- package/types/src/{Text → TextArea}/syncHeightWithShadow.d.ts +1 -2
- package/types/src/Tooltip/Tooltip.d.ts +8 -5
- package/types/src/TransitionOpen/TransitionOpen.d.ts +3 -0
- package/types/src/TransitionOpen/index.d.ts +1 -0
- package/types/src/Typography/Typography.d.ts +78 -0
- package/types/src/Typography/docs/examples/Basic.d.ts +2 -0
- package/types/src/Typography/docs/examples/Variants.d.ts +2 -0
- package/types/src/Typography/index.d.ts +2 -0
- package/types/src/Typography/test/Typography.unit.d.ts +1 -0
- package/types/src/fixtures/FetchOptions.d.ts +82 -2
- package/usePrevious.js +2 -2
- package/FetchOptions.js +0 -359
- package/types/src/FetchOptions/FetchOptions.d.ts +0 -82
- package/types/src/FetchOptions/index.d.ts +0 -2
package/StaticContent.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 = 172);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 172:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
package/StepBar.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 = 118);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 118:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -131,7 +131,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
131
131
|
var id_ = __webpack_require__(10);
|
|
132
132
|
|
|
133
133
|
// EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
|
|
134
|
-
var useSplunkTheme_ = __webpack_require__(
|
|
134
|
+
var useSplunkTheme_ = __webpack_require__(40);
|
|
135
135
|
var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -142,7 +142,7 @@ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(exte
|
|
|
142
142
|
var themes_ = __webpack_require__(0);
|
|
143
143
|
|
|
144
144
|
// EXTERNAL MODULE: external "@splunk/react-icons/Error"
|
|
145
|
-
var Error_ = __webpack_require__(
|
|
145
|
+
var Error_ = __webpack_require__(50);
|
|
146
146
|
var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
|
|
147
147
|
|
|
148
148
|
// EXTERNAL MODULE: ./src/icons/ThemedIcon.tsx
|
|
@@ -179,7 +179,7 @@ function AlertFilled(props) {
|
|
|
179
179
|
}, props));
|
|
180
180
|
}
|
|
181
181
|
// EXTERNAL MODULE: external "@splunk/react-icons/Success"
|
|
182
|
-
var Success_ = __webpack_require__(
|
|
182
|
+
var Success_ = __webpack_require__(51);
|
|
183
183
|
var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
|
|
184
184
|
|
|
185
185
|
// CONCATENATED MODULE: ./src/icons/Success.tsx
|
|
@@ -504,21 +504,21 @@ module.exports = require("styled-components");
|
|
|
504
504
|
|
|
505
505
|
/***/ }),
|
|
506
506
|
|
|
507
|
-
/***/
|
|
507
|
+
/***/ 40:
|
|
508
508
|
/***/ (function(module, exports) {
|
|
509
509
|
|
|
510
510
|
module.exports = require("@splunk/themes/useSplunkTheme");
|
|
511
511
|
|
|
512
512
|
/***/ }),
|
|
513
513
|
|
|
514
|
-
/***/
|
|
514
|
+
/***/ 50:
|
|
515
515
|
/***/ (function(module, exports) {
|
|
516
516
|
|
|
517
517
|
module.exports = require("@splunk/react-icons/Error");
|
|
518
518
|
|
|
519
519
|
/***/ }),
|
|
520
520
|
|
|
521
|
-
/***/
|
|
521
|
+
/***/ 51:
|
|
522
522
|
/***/ (function(module, exports) {
|
|
523
523
|
|
|
524
524
|
module.exports = require("@splunk/react-icons/Success");
|
package/Switch.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 = 143);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 12:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
114
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
125
|
-
/***/
|
|
125
|
+
/***/ 143:
|
|
126
126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127
127
|
|
|
128
128
|
"use strict";
|
|
@@ -141,7 +141,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
141
141
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/react-ui/AnimationToggle"
|
|
144
|
-
var AnimationToggle_ = __webpack_require__(
|
|
144
|
+
var AnimationToggle_ = __webpack_require__(36);
|
|
145
145
|
var AnimationToggle_default = /*#__PURE__*/__webpack_require__.n(AnimationToggle_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
@@ -152,7 +152,7 @@ var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReade
|
|
|
152
152
|
var id_ = __webpack_require__(10);
|
|
153
153
|
|
|
154
154
|
// EXTERNAL MODULE: external "@splunk/react-icons/Check"
|
|
155
|
-
var Check_ = __webpack_require__(
|
|
155
|
+
var Check_ = __webpack_require__(48);
|
|
156
156
|
var Check_default = /*#__PURE__*/__webpack_require__.n(Check_);
|
|
157
157
|
|
|
158
158
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -200,7 +200,7 @@ var Box_ = __webpack_require__(8);
|
|
|
200
200
|
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
|
|
201
201
|
|
|
202
202
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
203
|
-
var Clickable_ = __webpack_require__(
|
|
203
|
+
var Clickable_ = __webpack_require__(12);
|
|
204
204
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
205
205
|
|
|
206
206
|
// CONCATENATED MODULE: ./src/Switch/SwitchStyles.ts
|
|
@@ -740,14 +740,14 @@ module.exports = require("styled-components");
|
|
|
740
740
|
|
|
741
741
|
/***/ }),
|
|
742
742
|
|
|
743
|
-
/***/
|
|
743
|
+
/***/ 36:
|
|
744
744
|
/***/ (function(module, exports) {
|
|
745
745
|
|
|
746
746
|
module.exports = require("@splunk/react-ui/AnimationToggle");
|
|
747
747
|
|
|
748
748
|
/***/ }),
|
|
749
749
|
|
|
750
|
-
/***/
|
|
750
|
+
/***/ 48:
|
|
751
751
|
/***/ (function(module, exports) {
|
|
752
752
|
|
|
753
753
|
module.exports = require("@splunk/react-icons/Check");
|
package/TabBar.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 = 127);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -109,13 +109,6 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
111
|
/***/ 11:
|
|
112
|
-
/***/ (function(module, exports) {
|
|
113
|
-
|
|
114
|
-
module.exports = require("@splunk/react-ui/Clickable");
|
|
115
|
-
|
|
116
|
-
/***/ }),
|
|
117
|
-
|
|
118
|
-
/***/ 12:
|
|
119
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
113
|
|
|
121
114
|
"use strict";
|
|
@@ -142,7 +135,14 @@ function updateReactRef(ref, current) {
|
|
|
142
135
|
|
|
143
136
|
/***/ }),
|
|
144
137
|
|
|
145
|
-
/***/
|
|
138
|
+
/***/ 12:
|
|
139
|
+
/***/ (function(module, exports) {
|
|
140
|
+
|
|
141
|
+
module.exports = require("@splunk/react-ui/Clickable");
|
|
142
|
+
|
|
143
|
+
/***/ }),
|
|
144
|
+
|
|
145
|
+
/***/ 127:
|
|
146
146
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
147
147
|
|
|
148
148
|
"use strict";
|
|
@@ -198,7 +198,7 @@ var Styled = external_styled_components_default.a.div.withConfig({
|
|
|
198
198
|
var id_ = __webpack_require__(10);
|
|
199
199
|
|
|
200
200
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
201
|
-
var Popover_ = __webpack_require__(
|
|
201
|
+
var Popover_ = __webpack_require__(17);
|
|
202
202
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
203
203
|
|
|
204
204
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
@@ -206,7 +206,7 @@ var ScreenReaderContent_ = __webpack_require__(14);
|
|
|
206
206
|
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
207
207
|
|
|
208
208
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
209
|
-
var Clickable_ = __webpack_require__(
|
|
209
|
+
var Clickable_ = __webpack_require__(12);
|
|
210
210
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
211
211
|
|
|
212
212
|
// CONCATENATED MODULE: ./src/TabBar/TabStyles.ts
|
|
@@ -342,7 +342,7 @@ var StyledTooltipContent = external_styled_components_default.a.div.withConfig({
|
|
|
342
342
|
})(["padding:8px;font-size:", ";"], themes_["variables"].fontSizeSmall);
|
|
343
343
|
|
|
344
344
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
345
|
-
var updateReactRef = __webpack_require__(
|
|
345
|
+
var updateReactRef = __webpack_require__(11);
|
|
346
346
|
|
|
347
347
|
// CONCATENATED MODULE: ./src/TabBar/TabBarContext.tsx
|
|
348
348
|
|
|
@@ -587,7 +587,7 @@ _defineProperty(Tab_Tab, "contextType", TabBar_TabBarContext);
|
|
|
587
587
|
|
|
588
588
|
/* harmony default export */ var TabBar_Tab = (Tab_Tab);
|
|
589
589
|
// EXTERNAL MODULE: ./src/utils/navigateList.ts
|
|
590
|
-
var navigateList = __webpack_require__(
|
|
590
|
+
var navigateList = __webpack_require__(42);
|
|
591
591
|
|
|
592
592
|
// CONCATENATED MODULE: ./src/TabBar/TabBar.tsx
|
|
593
593
|
function TabBar_extends() { TabBar_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 TabBar_extends.apply(this, arguments); }
|
|
@@ -748,7 +748,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
748
748
|
|
|
749
749
|
/***/ }),
|
|
750
750
|
|
|
751
|
-
/***/
|
|
751
|
+
/***/ 17:
|
|
752
752
|
/***/ (function(module, exports) {
|
|
753
753
|
|
|
754
754
|
module.exports = require("@splunk/react-ui/Popover");
|
|
@@ -769,7 +769,7 @@ module.exports = require("styled-components");
|
|
|
769
769
|
|
|
770
770
|
/***/ }),
|
|
771
771
|
|
|
772
|
-
/***/
|
|
772
|
+
/***/ 42:
|
|
773
773
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
774
774
|
|
|
775
775
|
"use strict";
|
package/TabLayout.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 144);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 144:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -134,7 +134,7 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
134
134
|
var id_ = __webpack_require__(10);
|
|
135
135
|
|
|
136
136
|
// EXTERNAL MODULE: external "@splunk/react-ui/TabBar"
|
|
137
|
-
var TabBar_ = __webpack_require__(
|
|
137
|
+
var TabBar_ = __webpack_require__(82);
|
|
138
138
|
var TabBar_default = /*#__PURE__*/__webpack_require__.n(TabBar_);
|
|
139
139
|
|
|
140
140
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -405,7 +405,7 @@ module.exports = require("lodash");
|
|
|
405
405
|
|
|
406
406
|
/***/ }),
|
|
407
407
|
|
|
408
|
-
/***/
|
|
408
|
+
/***/ 82:
|
|
409
409
|
/***/ (function(module, exports) {
|
|
410
410
|
|
|
411
411
|
module.exports = require("@splunk/react-ui/TabBar");
|