@splunk/react-ui 4.19.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 +4 -4
- 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 +14 -0
- package/Calendar.js +15 -15
- package/Card.js +10 -10
- package/CardLayout.js +2 -2
- package/Chip.js +11 -11
- package/Clickable.js +7 -5
- package/CloseButton.js +8 -8
- package/Code.js +40 -15
- package/CollapsiblePanel.js +8 -8
- package/Color.js +29 -29
- package/ColumnLayout.js +8 -8
- package/ComboBox.js +20 -20
- package/Concertina.js +16 -16
- package/ControlGroup.js +13 -13
- package/Date.js +20 -20
- package/DefinitionList.js +2 -2
- package/Divider.js +2 -2
- package/Dropdown.js +12 -12
- package/DualListbox.js +24 -24
- package/EventListener.js +4 -4
- package/File.js +21 -21
- package/FormRows.js +14 -14
- package/Heading.js +2 -2
- package/Image.js +16 -16
- 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 +250 -230
- package/Message.js +37 -37
- package/MessageBar.js +33 -33
- package/Modal.js +17 -17
- package/ModalLayer.js +6 -6
- package/Monogram.js +2 -2
- package/Multiselect.js +2822 -2328
- package/Number.js +6 -6
- package/Paginator.js +16 -16
- package/Paragraph.js +2 -2
- package/Popover.js +106 -43
- package/Progress.js +10 -10
- package/RadioBar.js +2 -2
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/ResultsMenu.js +41 -20
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +6 -6
- package/ScrollContainerContext.js +4 -4
- package/Search.js +15 -15
- package/Select.js +511 -114
- package/SidePanel.js +6 -6
- package/Slider.js +6 -6
- package/SlidingPanels.js +8 -8
- package/SplitButton.js +4 -4
- package/StaticContent.js +2 -2
- package/StepBar.js +8 -8
- package/Switch.js +6 -6
- package/TabBar.js +4 -4
- package/TabLayout.js +4 -4
- package/Table.js +132 -99
- package/Text.js +23 -23
- package/TextArea.js +25 -25
- package/Tooltip.js +6 -6
- package/TransitionOpen.js +11 -11
- package/Typography.js +4 -4
- package/WaitSpinner.js +5 -5
- package/package.json +9 -9
- 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/Code/Code.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/types/src/Typography/docs/examples/Variants.d.ts +0 -2
package/Text.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 = 197);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
131
|
+
/***/ 107:
|
|
132
132
|
/***/ (function(module, exports) {
|
|
133
133
|
|
|
134
134
|
module.exports = require("@splunk/react-ui/ControlGroup");
|
|
@@ -149,7 +149,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
149
149
|
|
|
150
150
|
/***/ }),
|
|
151
151
|
|
|
152
|
-
/***/
|
|
152
|
+
/***/ 166:
|
|
153
153
|
/***/ (function(module, exports) {
|
|
154
154
|
|
|
155
155
|
module.exports = require("@splunk/react-ui/TextArea");
|
|
@@ -163,7 +163,7 @@ module.exports = require("@splunk/react-ui/Button");
|
|
|
163
163
|
|
|
164
164
|
/***/ }),
|
|
165
165
|
|
|
166
|
-
/***/
|
|
166
|
+
/***/ 197:
|
|
167
167
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
168
168
|
|
|
169
169
|
"use strict";
|
|
@@ -194,26 +194,26 @@ var omit_ = __webpack_require__(5);
|
|
|
194
194
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
195
195
|
|
|
196
196
|
// EXTERNAL MODULE: external "lodash/pickBy"
|
|
197
|
-
var pickBy_ = __webpack_require__(
|
|
197
|
+
var pickBy_ = __webpack_require__(63);
|
|
198
198
|
var pickBy_default = /*#__PURE__*/__webpack_require__.n(pickBy_);
|
|
199
199
|
|
|
200
200
|
// EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
|
|
201
|
-
var ControlGroup_ = __webpack_require__(
|
|
201
|
+
var ControlGroup_ = __webpack_require__(107);
|
|
202
202
|
|
|
203
203
|
// EXTERNAL MODULE: external "@splunk/react-icons/Cross"
|
|
204
|
-
var Cross_ = __webpack_require__(
|
|
204
|
+
var Cross_ = __webpack_require__(26);
|
|
205
205
|
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_);
|
|
206
206
|
|
|
207
207
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
208
|
-
var Close_ = __webpack_require__(
|
|
208
|
+
var Close_ = __webpack_require__(27);
|
|
209
209
|
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
|
|
210
210
|
|
|
211
211
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Search"
|
|
212
|
-
var Search_ = __webpack_require__(
|
|
212
|
+
var Search_ = __webpack_require__(54);
|
|
213
213
|
var Search_default = /*#__PURE__*/__webpack_require__.n(Search_);
|
|
214
214
|
|
|
215
215
|
// EXTERNAL MODULE: external "@splunk/react-icons/Magnifier"
|
|
216
|
-
var Magnifier_ = __webpack_require__(
|
|
216
|
+
var Magnifier_ = __webpack_require__(49);
|
|
217
217
|
var Magnifier_default = /*#__PURE__*/__webpack_require__.n(Magnifier_);
|
|
218
218
|
|
|
219
219
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
@@ -221,20 +221,20 @@ var ScreenReaderContent_ = __webpack_require__(14);
|
|
|
221
221
|
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
222
222
|
|
|
223
223
|
// EXTERNAL MODULE: external "@splunk/react-ui/TextArea"
|
|
224
|
-
var TextArea_ = __webpack_require__(
|
|
224
|
+
var TextArea_ = __webpack_require__(166);
|
|
225
225
|
var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_);
|
|
226
226
|
|
|
227
227
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
228
228
|
var themes_ = __webpack_require__(0);
|
|
229
229
|
|
|
230
230
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
231
|
-
var style_ = __webpack_require__(
|
|
231
|
+
var style_ = __webpack_require__(41);
|
|
232
232
|
|
|
233
233
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
234
234
|
var i18n_ = __webpack_require__(4);
|
|
235
235
|
|
|
236
236
|
// EXTERNAL MODULE: external "@splunk/react-icons/SVGEnterprise"
|
|
237
|
-
var SVGEnterprise_ = __webpack_require__(
|
|
237
|
+
var SVGEnterprise_ = __webpack_require__(34);
|
|
238
238
|
var SVGEnterprise_default = /*#__PURE__*/__webpack_require__.n(SVGEnterprise_);
|
|
239
239
|
|
|
240
240
|
// CONCATENATED MODULE: ./src/Text/IconOutlinedHide.tsx
|
|
@@ -1286,14 +1286,14 @@ module.exports = require("react");
|
|
|
1286
1286
|
|
|
1287
1287
|
/***/ }),
|
|
1288
1288
|
|
|
1289
|
-
/***/
|
|
1289
|
+
/***/ 26:
|
|
1290
1290
|
/***/ (function(module, exports) {
|
|
1291
1291
|
|
|
1292
1292
|
module.exports = require("@splunk/react-icons/Cross");
|
|
1293
1293
|
|
|
1294
1294
|
/***/ }),
|
|
1295
1295
|
|
|
1296
|
-
/***/
|
|
1296
|
+
/***/ 27:
|
|
1297
1297
|
/***/ (function(module, exports) {
|
|
1298
1298
|
|
|
1299
1299
|
module.exports = require("@splunk/react-icons/enterprise/Close");
|
|
@@ -1307,28 +1307,28 @@ module.exports = require("styled-components");
|
|
|
1307
1307
|
|
|
1308
1308
|
/***/ }),
|
|
1309
1309
|
|
|
1310
|
-
/***/
|
|
1310
|
+
/***/ 34:
|
|
1311
1311
|
/***/ (function(module, exports) {
|
|
1312
1312
|
|
|
1313
1313
|
module.exports = require("@splunk/react-icons/SVGEnterprise");
|
|
1314
1314
|
|
|
1315
1315
|
/***/ }),
|
|
1316
1316
|
|
|
1317
|
-
/***/
|
|
1317
|
+
/***/ 4:
|
|
1318
1318
|
/***/ (function(module, exports) {
|
|
1319
1319
|
|
|
1320
|
-
module.exports = require("@splunk/ui-utils/
|
|
1320
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1321
1321
|
|
|
1322
1322
|
/***/ }),
|
|
1323
1323
|
|
|
1324
|
-
/***/
|
|
1324
|
+
/***/ 41:
|
|
1325
1325
|
/***/ (function(module, exports) {
|
|
1326
1326
|
|
|
1327
|
-
module.exports = require("@splunk/ui-utils/
|
|
1327
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
1328
1328
|
|
|
1329
1329
|
/***/ }),
|
|
1330
1330
|
|
|
1331
|
-
/***/
|
|
1331
|
+
/***/ 49:
|
|
1332
1332
|
/***/ (function(module, exports) {
|
|
1333
1333
|
|
|
1334
1334
|
module.exports = require("@splunk/react-icons/Magnifier");
|
|
@@ -1342,7 +1342,7 @@ module.exports = require("lodash/omit");
|
|
|
1342
1342
|
|
|
1343
1343
|
/***/ }),
|
|
1344
1344
|
|
|
1345
|
-
/***/
|
|
1345
|
+
/***/ 54:
|
|
1346
1346
|
/***/ (function(module, exports) {
|
|
1347
1347
|
|
|
1348
1348
|
module.exports = require("@splunk/react-icons/enterprise/Search");
|
|
@@ -1356,7 +1356,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1356
1356
|
|
|
1357
1357
|
/***/ }),
|
|
1358
1358
|
|
|
1359
|
-
/***/
|
|
1359
|
+
/***/ 63:
|
|
1360
1360
|
/***/ (function(module, exports) {
|
|
1361
1361
|
|
|
1362
1362
|
module.exports = require("lodash/pickBy");
|
package/TextArea.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 = 211);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
|
|
|
128
128
|
|
|
129
129
|
/***/ }),
|
|
130
130
|
|
|
131
|
-
/***/
|
|
131
|
+
/***/ 107:
|
|
132
132
|
/***/ (function(module, exports) {
|
|
133
133
|
|
|
134
134
|
module.exports = require("@splunk/react-ui/ControlGroup");
|
|
@@ -149,7 +149,7 @@ module.exports = require("@splunk/react-ui/EventListener");
|
|
|
149
149
|
|
|
150
150
|
/***/ }),
|
|
151
151
|
|
|
152
|
-
/***/
|
|
152
|
+
/***/ 167:
|
|
153
153
|
/***/ (function(module, exports) {
|
|
154
154
|
|
|
155
155
|
module.exports = require("lodash/noop");
|
|
@@ -170,7 +170,7 @@ module.exports = require("react");
|
|
|
170
170
|
|
|
171
171
|
/***/ }),
|
|
172
172
|
|
|
173
|
-
/***/
|
|
173
|
+
/***/ 211:
|
|
174
174
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
175
175
|
|
|
176
176
|
"use strict";
|
|
@@ -189,7 +189,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
189
189
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
190
190
|
|
|
191
191
|
// EXTERNAL MODULE: external "lodash/defer"
|
|
192
|
-
var defer_ = __webpack_require__(
|
|
192
|
+
var defer_ = __webpack_require__(58);
|
|
193
193
|
var defer_default = /*#__PURE__*/__webpack_require__.n(defer_);
|
|
194
194
|
|
|
195
195
|
// EXTERNAL MODULE: external "lodash/has"
|
|
@@ -201,7 +201,7 @@ var keys_ = __webpack_require__(9);
|
|
|
201
201
|
var keys_default = /*#__PURE__*/__webpack_require__.n(keys_);
|
|
202
202
|
|
|
203
203
|
// EXTERNAL MODULE: external "lodash/noop"
|
|
204
|
-
var noop_ = __webpack_require__(
|
|
204
|
+
var noop_ = __webpack_require__(167);
|
|
205
205
|
var noop_default = /*#__PURE__*/__webpack_require__.n(noop_);
|
|
206
206
|
|
|
207
207
|
// EXTERNAL MODULE: external "lodash/omit"
|
|
@@ -209,26 +209,26 @@ var omit_ = __webpack_require__(5);
|
|
|
209
209
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
210
210
|
|
|
211
211
|
// EXTERNAL MODULE: external "lodash/pickBy"
|
|
212
|
-
var pickBy_ = __webpack_require__(
|
|
212
|
+
var pickBy_ = __webpack_require__(63);
|
|
213
213
|
var pickBy_default = /*#__PURE__*/__webpack_require__.n(pickBy_);
|
|
214
214
|
|
|
215
215
|
// EXTERNAL MODULE: external "lodash/throttle"
|
|
216
|
-
var throttle_ = __webpack_require__(
|
|
216
|
+
var throttle_ = __webpack_require__(33);
|
|
217
217
|
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
218
218
|
|
|
219
219
|
// EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
|
|
220
|
-
var ControlGroup_ = __webpack_require__(
|
|
220
|
+
var ControlGroup_ = __webpack_require__(107);
|
|
221
221
|
|
|
222
222
|
// EXTERNAL MODULE: external "@splunk/react-icons/Cross"
|
|
223
|
-
var Cross_ = __webpack_require__(
|
|
223
|
+
var Cross_ = __webpack_require__(26);
|
|
224
224
|
var Cross_default = /*#__PURE__*/__webpack_require__.n(Cross_);
|
|
225
225
|
|
|
226
226
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Close"
|
|
227
|
-
var Close_ = __webpack_require__(
|
|
227
|
+
var Close_ = __webpack_require__(27);
|
|
228
228
|
var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
|
|
229
229
|
|
|
230
230
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Search"
|
|
231
|
-
var Search_ = __webpack_require__(
|
|
231
|
+
var Search_ = __webpack_require__(54);
|
|
232
232
|
var Search_default = /*#__PURE__*/__webpack_require__.n(Search_);
|
|
233
233
|
|
|
234
234
|
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
@@ -236,11 +236,11 @@ var EventListener_ = __webpack_require__(16);
|
|
|
236
236
|
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
237
237
|
|
|
238
238
|
// EXTERNAL MODULE: external "@splunk/react-icons/Magnifier"
|
|
239
|
-
var Magnifier_ = __webpack_require__(
|
|
239
|
+
var Magnifier_ = __webpack_require__(49);
|
|
240
240
|
var Magnifier_default = /*#__PURE__*/__webpack_require__.n(Magnifier_);
|
|
241
241
|
|
|
242
242
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
243
|
-
var style_ = __webpack_require__(
|
|
243
|
+
var style_ = __webpack_require__(41);
|
|
244
244
|
|
|
245
245
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
246
246
|
var themes_ = __webpack_require__(0);
|
|
@@ -1237,14 +1237,14 @@ TextAreaWithTheme.componentType = TextArea_TextArea.componentType;
|
|
|
1237
1237
|
|
|
1238
1238
|
/***/ }),
|
|
1239
1239
|
|
|
1240
|
-
/***/
|
|
1240
|
+
/***/ 26:
|
|
1241
1241
|
/***/ (function(module, exports) {
|
|
1242
1242
|
|
|
1243
1243
|
module.exports = require("@splunk/react-icons/Cross");
|
|
1244
1244
|
|
|
1245
1245
|
/***/ }),
|
|
1246
1246
|
|
|
1247
|
-
/***/
|
|
1247
|
+
/***/ 27:
|
|
1248
1248
|
/***/ (function(module, exports) {
|
|
1249
1249
|
|
|
1250
1250
|
module.exports = require("@splunk/react-icons/enterprise/Close");
|
|
@@ -1258,28 +1258,28 @@ module.exports = require("styled-components");
|
|
|
1258
1258
|
|
|
1259
1259
|
/***/ }),
|
|
1260
1260
|
|
|
1261
|
-
/***/
|
|
1261
|
+
/***/ 33:
|
|
1262
1262
|
/***/ (function(module, exports) {
|
|
1263
1263
|
|
|
1264
1264
|
module.exports = require("lodash/throttle");
|
|
1265
1265
|
|
|
1266
1266
|
/***/ }),
|
|
1267
1267
|
|
|
1268
|
-
/***/
|
|
1268
|
+
/***/ 4:
|
|
1269
1269
|
/***/ (function(module, exports) {
|
|
1270
1270
|
|
|
1271
|
-
module.exports = require("@splunk/ui-utils/
|
|
1271
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1272
1272
|
|
|
1273
1273
|
/***/ }),
|
|
1274
1274
|
|
|
1275
|
-
/***/
|
|
1275
|
+
/***/ 41:
|
|
1276
1276
|
/***/ (function(module, exports) {
|
|
1277
1277
|
|
|
1278
|
-
module.exports = require("@splunk/ui-utils/
|
|
1278
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
1279
1279
|
|
|
1280
1280
|
/***/ }),
|
|
1281
1281
|
|
|
1282
|
-
/***/
|
|
1282
|
+
/***/ 49:
|
|
1283
1283
|
/***/ (function(module, exports) {
|
|
1284
1284
|
|
|
1285
1285
|
module.exports = require("@splunk/react-icons/Magnifier");
|
|
@@ -1293,14 +1293,14 @@ module.exports = require("lodash/omit");
|
|
|
1293
1293
|
|
|
1294
1294
|
/***/ }),
|
|
1295
1295
|
|
|
1296
|
-
/***/
|
|
1296
|
+
/***/ 54:
|
|
1297
1297
|
/***/ (function(module, exports) {
|
|
1298
1298
|
|
|
1299
1299
|
module.exports = require("@splunk/react-icons/enterprise/Search");
|
|
1300
1300
|
|
|
1301
1301
|
/***/ }),
|
|
1302
1302
|
|
|
1303
|
-
/***/
|
|
1303
|
+
/***/ 58:
|
|
1304
1304
|
/***/ (function(module, exports) {
|
|
1305
1305
|
|
|
1306
1306
|
module.exports = require("lodash/defer");
|
|
@@ -1314,7 +1314,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1314
1314
|
|
|
1315
1315
|
/***/ }),
|
|
1316
1316
|
|
|
1317
|
-
/***/
|
|
1317
|
+
/***/ 63:
|
|
1318
1318
|
/***/ (function(module, exports) {
|
|
1319
1319
|
|
|
1320
1320
|
module.exports = require("lodash/pickBy");
|
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 = 212);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -136,7 +136,7 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
136
136
|
|
|
137
137
|
/***/ }),
|
|
138
138
|
|
|
139
|
-
/***/
|
|
139
|
+
/***/ 212:
|
|
140
140
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
141
141
|
|
|
142
142
|
"use strict";
|
|
@@ -159,7 +159,7 @@ var has_ = __webpack_require__(11);
|
|
|
159
159
|
var has_default = /*#__PURE__*/__webpack_require__.n(has_);
|
|
160
160
|
|
|
161
161
|
// EXTERNAL MODULE: external "lodash/throttle"
|
|
162
|
-
var throttle_ = __webpack_require__(
|
|
162
|
+
var throttle_ = __webpack_require__(33);
|
|
163
163
|
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
164
164
|
|
|
165
165
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
@@ -180,7 +180,7 @@ var id_ = __webpack_require__(8);
|
|
|
180
180
|
var i18n_ = __webpack_require__(4);
|
|
181
181
|
|
|
182
182
|
// EXTERNAL MODULE: external "@splunk/react-icons/SVGEnterprise"
|
|
183
|
-
var SVGEnterprise_ = __webpack_require__(
|
|
183
|
+
var SVGEnterprise_ = __webpack_require__(34);
|
|
184
184
|
var SVGEnterprise_default = /*#__PURE__*/__webpack_require__.n(SVGEnterprise_);
|
|
185
185
|
|
|
186
186
|
// CONCATENATED MODULE: ./src/Tooltip/InfoIcon.tsx
|
|
@@ -703,14 +703,14 @@ module.exports = require("styled-components");
|
|
|
703
703
|
|
|
704
704
|
/***/ }),
|
|
705
705
|
|
|
706
|
-
/***/
|
|
706
|
+
/***/ 33:
|
|
707
707
|
/***/ (function(module, exports) {
|
|
708
708
|
|
|
709
709
|
module.exports = require("lodash/throttle");
|
|
710
710
|
|
|
711
711
|
/***/ }),
|
|
712
712
|
|
|
713
|
-
/***/
|
|
713
|
+
/***/ 34:
|
|
714
714
|
/***/ (function(module, exports) {
|
|
715
715
|
|
|
716
716
|
module.exports = require("@splunk/react-icons/SVGEnterprise");
|
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 = 237);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 237:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -135,13 +135,13 @@ var omit_ = __webpack_require__(5);
|
|
|
135
135
|
var omit_default = /*#__PURE__*/__webpack_require__.n(omit_);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "@splunk/react-ui/Animation"
|
|
138
|
-
var Animation_ = __webpack_require__(
|
|
138
|
+
var Animation_ = __webpack_require__(43);
|
|
139
139
|
|
|
140
140
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
141
|
-
var focus_ = __webpack_require__(
|
|
141
|
+
var focus_ = __webpack_require__(31);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
144
|
-
var style_ = __webpack_require__(
|
|
144
|
+
var style_ = __webpack_require__(41);
|
|
145
145
|
|
|
146
146
|
// EXTERNAL MODULE: external "react-spring"
|
|
147
147
|
var external_react_spring_ = __webpack_require__(24);
|
|
@@ -510,28 +510,28 @@ module.exports = require("react-spring");
|
|
|
510
510
|
|
|
511
511
|
/***/ }),
|
|
512
512
|
|
|
513
|
-
/***/
|
|
513
|
+
/***/ 3:
|
|
514
514
|
/***/ (function(module, exports) {
|
|
515
515
|
|
|
516
|
-
module.exports = require("
|
|
516
|
+
module.exports = require("styled-components");
|
|
517
517
|
|
|
518
518
|
/***/ }),
|
|
519
519
|
|
|
520
|
-
/***/
|
|
520
|
+
/***/ 31:
|
|
521
521
|
/***/ (function(module, exports) {
|
|
522
522
|
|
|
523
|
-
module.exports = require("
|
|
523
|
+
module.exports = require("@splunk/ui-utils/focus");
|
|
524
524
|
|
|
525
525
|
/***/ }),
|
|
526
526
|
|
|
527
|
-
/***/
|
|
527
|
+
/***/ 41:
|
|
528
528
|
/***/ (function(module, exports) {
|
|
529
529
|
|
|
530
530
|
module.exports = require("@splunk/ui-utils/style");
|
|
531
531
|
|
|
532
532
|
/***/ }),
|
|
533
533
|
|
|
534
|
-
/***/
|
|
534
|
+
/***/ 43:
|
|
535
535
|
/***/ (function(module, exports) {
|
|
536
536
|
|
|
537
537
|
module.exports = require("@splunk/react-ui/Animation");
|
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 = 243);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("react");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 243:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -121,7 +121,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
121
121
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
122
122
|
|
|
123
123
|
// EXTERNAL MODULE: external "@splunk/themes/mixins"
|
|
124
|
-
var mixins_ = __webpack_require__(
|
|
124
|
+
var mixins_ = __webpack_require__(83);
|
|
125
125
|
var mixins_default = /*#__PURE__*/__webpack_require__.n(mixins_);
|
|
126
126
|
|
|
127
127
|
// EXTERNAL MODULE: external "styled-components"
|
|
@@ -220,7 +220,7 @@ module.exports = require("styled-components");
|
|
|
220
220
|
|
|
221
221
|
/***/ }),
|
|
222
222
|
|
|
223
|
-
/***/
|
|
223
|
+
/***/ 83:
|
|
224
224
|
/***/ (function(module, exports) {
|
|
225
225
|
|
|
226
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 = 238);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("react");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 238:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -127,7 +127,7 @@ 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-ui/AnimationToggle"
|
|
130
|
-
var AnimationToggle_ = __webpack_require__(
|
|
130
|
+
var AnimationToggle_ = __webpack_require__(51);
|
|
131
131
|
|
|
132
132
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
133
133
|
var themes_ = __webpack_require__(0);
|
|
@@ -145,7 +145,7 @@ var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(exte
|
|
|
145
145
|
var Styled = external_styled_components_default.a.div.withConfig({
|
|
146
146
|
displayName: "WaitSpinnerStyles__Styled",
|
|
147
147
|
componentId: "sc-1nu971z-0"
|
|
148
|
-
})(["", ";"], themes_["mixins"].reset('inline'));
|
|
148
|
+
})(["", ";align-items:center;"], themes_["mixins"].reset('inline-flex'));
|
|
149
149
|
var spin = Object(external_styled_components_["keyframes"])(["100%{transform:rotate(360deg);}"]);
|
|
150
150
|
var appearAnimation = Object(external_styled_components_["keyframes"])(["0%{transform:scale(0);opacity:0;}100%{transform:scale(1);opacity:1;}"]);
|
|
151
151
|
var prismaAnimationDuration = '2.07s';
|
|
@@ -288,7 +288,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
288
288
|
|
|
289
289
|
/***/ }),
|
|
290
290
|
|
|
291
|
-
/***/
|
|
291
|
+
/***/ 51:
|
|
292
292
|
/***/ (function(module, exports) {
|
|
293
293
|
|
|
294
294
|
module.exports = require("@splunk/react-ui/AnimationToggle");
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.20.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.",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "cross-env NODE_ENV=production webpack && yarn types:build",
|
|
9
9
|
"docs": "NODE_ENV=production webpack --config docs.gen.webpack.config.js",
|
|
10
|
-
"docs:publish": "
|
|
11
|
-
"docs:publish:external": "
|
|
10
|
+
"docs:publish": "eval $(splunk-docs-package docs) && artifact-ci publish generic $DOCS_GEN_OUTPUT_NAME $DOCS_GEN_REMOTE_PATH",
|
|
11
|
+
"docs:publish:external": "eval $(splunk-docs-package docs-external --suffix=public) && artifact-ci publish generic $DOCS_GEN_OUTPUT_NAME $DOCS_GEN_REMOTE_PATH",
|
|
12
12
|
"docs:start": "INTERNAL=true webpack serve --config docs.gen.webpack.config.js",
|
|
13
13
|
"docs:start:external": "webpack serve --config docs.gen.webpack.config.js",
|
|
14
14
|
"eslint": "eslint src .storybook --ext \".ts,.tsx,.js,.jsx\"",
|
|
@@ -41,17 +41,17 @@
|
|
|
41
41
|
"@dnd-kit/core": "6.0.8",
|
|
42
42
|
"@dnd-kit/sortable": "7.0.2",
|
|
43
43
|
"@dnd-kit/utilities": "3.2.1",
|
|
44
|
-
"@splunk/react-icons": "^4.0.
|
|
44
|
+
"@splunk/react-icons": "^4.0.2",
|
|
45
45
|
"@splunk/themes": "^0.16.1",
|
|
46
46
|
"@splunk/ui-utils": "^1.6.0",
|
|
47
|
-
"@types/commonmark": "^0.27.
|
|
47
|
+
"@types/commonmark": "^0.27.6",
|
|
48
48
|
"@types/lodash": "^4.14.156",
|
|
49
49
|
"@types/react": "^16.9.38",
|
|
50
50
|
"@types/react-dom": "^16.9.8",
|
|
51
51
|
"@types/react-resize-detector": "^3.1.1",
|
|
52
52
|
"@types/styled-components": "^5.1.0",
|
|
53
53
|
"@types/tinycolor2": "^1.4.2",
|
|
54
|
-
"commonmark": "^0.
|
|
54
|
+
"commonmark": "^0.30.0",
|
|
55
55
|
"commonmark-react-renderer": "^4.3.2",
|
|
56
56
|
"decimal.js-light": "^2.2.3",
|
|
57
57
|
"lodash": "^4.17.14",
|
|
@@ -66,10 +66,9 @@
|
|
|
66
66
|
"@babel/core": "^7.2.0",
|
|
67
67
|
"@babel/plugin-transform-runtime": "^7.18.6",
|
|
68
68
|
"@splunk/babel-preset": "^4.0.0",
|
|
69
|
-
"@splunk/
|
|
70
|
-
"@splunk/docs-gen": "1.0.0-beta.5",
|
|
69
|
+
"@splunk/docs-gen": "1.0.0-beta.6",
|
|
71
70
|
"@splunk/eslint-config": "^4.0.0",
|
|
72
|
-
"@splunk/react-docs": "1.0.0-beta.
|
|
71
|
+
"@splunk/react-docs": "1.0.0-beta.6",
|
|
73
72
|
"@splunk/stylelint-config": "^4.0.0",
|
|
74
73
|
"@splunk/test-runner-utils": "^0.4.1",
|
|
75
74
|
"@splunk/webpack-configs": "^6.0.0",
|
|
@@ -114,6 +113,7 @@
|
|
|
114
113
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
115
114
|
"eslint-plugin-react": "^7.21.5",
|
|
116
115
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
116
|
+
"eslint-plugin-react-perf": "^3.3.1",
|
|
117
117
|
"fs-extra": "^9.0.1",
|
|
118
118
|
"fs-readdir-recursive": "^1.0.0",
|
|
119
119
|
"glob": "^7.1.6",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Item from './Item';
|
|
4
|
+
import { ComponentProps } from '../utils/types';
|
|
5
|
+
interface BreadcrumbsPropsBase {
|
|
6
|
+
/**
|
|
7
|
+
* `children` must be of type `Breadcrumbs.Item`. The last child will be marked as the current page.
|
|
8
|
+
*/
|
|
9
|
+
children: React.ReactElement<typeof Item>[] | React.ReactElement<typeof Item>;
|
|
10
|
+
/**
|
|
11
|
+
* A React ref which is set to the DOM element when the component mounts and null when it unmounts.
|
|
12
|
+
*/
|
|
13
|
+
elementRef?: React.Ref<HTMLElement>;
|
|
14
|
+
}
|
|
15
|
+
declare type BreadcrumbsProps = ComponentProps<BreadcrumbsPropsBase, 'nav'>;
|
|
16
|
+
declare function Breadcrumbs({ children, elementRef, ...otherProps }: BreadcrumbsProps): JSX.Element;
|
|
17
|
+
declare namespace Breadcrumbs {
|
|
18
|
+
var propTypes: {
|
|
19
|
+
children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
20
|
+
elementRef: PropTypes.Requireable<object>;
|
|
21
|
+
};
|
|
22
|
+
var Item: typeof import("./Item").default;
|
|
23
|
+
}
|
|
24
|
+
export default Breadcrumbs;
|
|
25
|
+
export { Item };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { ComponentProps } from '../utils/types';
|
|
4
|
+
interface ItemPropsBase {
|
|
5
|
+
/**
|
|
6
|
+
* A React ref which is set to the DOM element when the component mounts and null when it unmounts.
|
|
7
|
+
*/
|
|
8
|
+
elementRef?: React.Ref<HTMLAnchorElement>;
|
|
9
|
+
/**
|
|
10
|
+
* Adornment at the end of the label.
|
|
11
|
+
*/
|
|
12
|
+
endAdornment?: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
isCurrent?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The label of the `Item`.
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* Adornment at the start of the label.
|
|
23
|
+
*/
|
|
24
|
+
startAdornment?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* The URL or path to link to.
|
|
27
|
+
*/
|
|
28
|
+
to: string;
|
|
29
|
+
}
|
|
30
|
+
declare type ItemProps = ComponentProps<ItemPropsBase, 'a'>;
|
|
31
|
+
declare function Item({ endAdornment, isCurrent, label, startAdornment, to, ...otherProps }: ItemProps): JSX.Element;
|
|
32
|
+
declare namespace Item {
|
|
33
|
+
var propTypes: {
|
|
34
|
+
elementRef: PropTypes.Requireable<object>;
|
|
35
|
+
endAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
36
|
+
isCurrent: PropTypes.Requireable<boolean>;
|
|
37
|
+
label: PropTypes.Validator<string>;
|
|
38
|
+
startAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
39
|
+
to: PropTypes.Validator<string>;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export default Item;
|