@splunk/react-ui 4.11.0 → 4.12.1
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 +2 -2
- package/Anchor.js +2 -2
- package/Animation.js +4 -4
- package/Box.js +2 -2
- package/Button.js +23 -23
- package/ButtonGroup.js +2 -2
- package/CHANGELOG.md +35 -0
- package/Calendar.js +20 -20
- package/Card.js +17 -17
- package/CardLayout.js +2 -2
- package/Chip.js +17 -17
- package/Clickable.js +7 -7
- package/CloseButton.js +15 -15
- package/Code.js +4 -4
- package/CollapsiblePanel.js +4 -4
- package/Color.js +17 -17
- package/ColumnLayout.js +7 -7
- package/ComboBox.js +12 -11
- package/Concertina.js +11 -11
- package/ControlGroup.js +4 -4
- package/Date.js +8 -8
- package/DefinitionList.js +2 -2
- package/Dropdown.js +4 -4
- package/EventListener.js +4 -4
- package/File.js +25 -25
- package/FormRows.js +10 -10
- package/Heading.js +3 -3
- package/Image.js +19 -19
- package/Layer.js +8 -8
- package/Link.js +9 -9
- package/List.js +2 -2
- package/Markdown.js +22 -22
- package/Menu.js +34 -34
- package/Message.js +35 -35
- package/MessageBar.js +32 -32
- package/Modal.js +8 -8
- package/ModalLayer.js +6 -6
- package/Monogram.js +2 -2
- package/Multiselect.js +96 -92
- package/Number.js +4 -4
- package/Paginator.js +20 -20
- package/Paragraph.js +2 -2
- package/Popover.js +8 -8
- package/Progress.js +8 -8
- package/RadioBar.js +4 -4
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/ResultsMenu.js +60 -39
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +6 -6
- package/ScrollContainerContext.js +2 -2
- package/Search.js +17 -16
- package/Select.js +89 -87
- package/SidePanel.js +4 -4
- package/Slider.js +8 -8
- package/SlidingPanels.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 +4 -4
- package/Table.js +115 -83
- package/Text.js +132 -263
- package/TextArea.js +1447 -0
- package/Tooltip.js +4 -4
- package/TransitionOpen.js +10 -9
- package/Typography.js +225 -0
- package/WaitSpinner.js +4 -4
- package/cypress.json +1 -0
- package/package.json +14 -3
- package/test-runner-jest.config.js +38 -0
- package/types/src/ComboBox/ComboBox.d.ts +13 -4
- 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/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/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 +21 -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/TransitionOpen/TransitionOpen.d.ts +1 -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/usePrevious.js +2 -2
- package/types/src/Text/docs/examples/prisma/Multiline.d.ts +0 -10
- package/types/src/Text/docs/examples/prisma/Search.d.ts +0 -10
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 = 134);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,10 +101,10 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 108:
|
|
105
105
|
/***/ (function(module, exports) {
|
|
106
106
|
|
|
107
|
-
module.exports = require("@splunk/react-ui/
|
|
107
|
+
module.exports = require("@splunk/react-ui/TextArea");
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
@@ -135,7 +135,7 @@ function updateReactRef(ref, current) {
|
|
|
135
135
|
|
|
136
136
|
/***/ }),
|
|
137
137
|
|
|
138
|
-
/***/
|
|
138
|
+
/***/ 134:
|
|
139
139
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
140
140
|
|
|
141
141
|
"use strict";
|
|
@@ -157,11 +157,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
157
157
|
var external_lodash_ = __webpack_require__(4);
|
|
158
158
|
|
|
159
159
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
160
|
-
var style_ = __webpack_require__(
|
|
161
|
-
|
|
162
|
-
// EXTERNAL MODULE: external "@splunk/react-ui/EventListener"
|
|
163
|
-
var EventListener_ = __webpack_require__(15);
|
|
164
|
-
var EventListener_default = /*#__PURE__*/__webpack_require__.n(EventListener_);
|
|
160
|
+
var style_ = __webpack_require__(32);
|
|
165
161
|
|
|
166
162
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
167
163
|
var ScreenReaderContent_ = __webpack_require__(14);
|
|
@@ -171,92 +167,21 @@ var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReade
|
|
|
171
167
|
var themes_ = __webpack_require__(0);
|
|
172
168
|
|
|
173
169
|
// EXTERNAL MODULE: external "@splunk/react-ui/ControlGroup"
|
|
174
|
-
var ControlGroup_ = __webpack_require__(
|
|
170
|
+
var ControlGroup_ = __webpack_require__(78);
|
|
171
|
+
|
|
172
|
+
// EXTERNAL MODULE: external "@splunk/react-ui/TextArea"
|
|
173
|
+
var TextArea_ = __webpack_require__(108);
|
|
174
|
+
var TextArea_default = /*#__PURE__*/__webpack_require__.n(TextArea_);
|
|
175
175
|
|
|
176
176
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
177
177
|
var i18n_ = __webpack_require__(5);
|
|
178
178
|
|
|
179
179
|
// EXTERNAL MODULE: ./src/icons/Search.tsx
|
|
180
|
-
var Search = __webpack_require__(
|
|
180
|
+
var Search = __webpack_require__(29);
|
|
181
181
|
|
|
182
182
|
// EXTERNAL MODULE: ./src/icons/CrossMark.tsx
|
|
183
|
-
var CrossMark = __webpack_require__(
|
|
184
|
-
|
|
185
|
-
// CONCATENATED MODULE: ./src/Text/syncHeightWithShadow.ts
|
|
186
|
-
// This file was adapted from [Call-Em-All's material-ui](https://github.com/mui-org/material-ui),
|
|
187
|
-
// which is MIT-licensed:
|
|
188
|
-
//
|
|
189
|
-
// The MIT License (MIT)
|
|
190
|
-
//
|
|
191
|
-
// Copyright (c) 2014 Call-Em-All
|
|
192
|
-
//
|
|
193
|
-
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
194
|
-
// of this software and associated documentation files (the "Software"), to deal
|
|
195
|
-
// in the Software without restriction, including without limitation the rights
|
|
196
|
-
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
197
|
-
// copies of the Software, and to permit persons to whom the Software is
|
|
198
|
-
// furnished to do so, subject to the following conditions:
|
|
199
|
-
//
|
|
200
|
-
// The above copyright notice and this permission notice shall be included in all
|
|
201
|
-
// copies or substantial portions of the Software.
|
|
202
|
-
//
|
|
203
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
204
|
-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
205
|
-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
206
|
-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
207
|
-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
208
|
-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
209
|
-
// SOFTWARE.
|
|
210
|
-
//
|
|
211
|
-
// End of MIT license text.
|
|
212
|
-
function syncHeightWithShadow(_ref) {
|
|
213
|
-
var height = _ref.height,
|
|
214
|
-
multiline = _ref.multiline,
|
|
215
|
-
rowsMax = _ref.rowsMax,
|
|
216
|
-
rowsMin = _ref.rowsMin,
|
|
217
|
-
shadow = _ref.shadow;
|
|
218
|
-
|
|
219
|
-
if (multiline && shadow) {
|
|
220
|
-
var style = window.getComputedStyle(shadow);
|
|
221
|
-
var lineHeightValue = style.getPropertyValue('line-height'); // jsdom does not properly inherit/re-calculate the line-height property so we skip in these cases SUI-1943, SUI-2428
|
|
222
|
-
|
|
223
|
-
if (lineHeightValue === 'inherit' || lineHeightValue === 'normal') {
|
|
224
|
-
return false;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
var lineHeight = parseInt(lineHeightValue, 10);
|
|
228
|
-
var paddingTop = parseInt(style.getPropertyValue('padding-top'), 10);
|
|
229
|
-
var paddingBottom = parseInt(style.getPropertyValue('padding-bottom'), 10);
|
|
230
|
-
var borderTop = parseInt(style.getPropertyValue('border-top-width'), 10);
|
|
231
|
-
var borderBottom = parseInt(style.getPropertyValue('border-bottom-width'), 10);
|
|
232
|
-
var newHeight = shadow.scrollHeight + borderTop + borderBottom;
|
|
233
|
-
/* eslint-disable no-restricted-globals */
|
|
234
|
-
// Leverage the global `isNaN` here for IE support, rather than Number.isNaN.
|
|
235
|
-
// We know newHeight is numeric because we parseInt() above, so `isNaN` should be reliable.
|
|
236
|
-
|
|
237
|
-
if (newHeight === undefined || isNaN(newHeight)) {
|
|
238
|
-
return false;
|
|
239
|
-
}
|
|
240
|
-
/* eslint-enable no-restricted-globals */
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
if (rowsMax >= rowsMin) {
|
|
244
|
-
var maxHeight = rowsMax * lineHeight + paddingTop + paddingBottom + borderTop + borderBottom + 1; // need one extra.
|
|
245
|
-
|
|
246
|
-
newHeight = Math.min(maxHeight, newHeight);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
var minHeight = rowsMin * lineHeight + paddingTop + paddingBottom + borderTop + borderBottom + 1; // need one extra.
|
|
183
|
+
var CrossMark = __webpack_require__(19);
|
|
250
184
|
|
|
251
|
-
newHeight = Math.max(minHeight, newHeight);
|
|
252
|
-
|
|
253
|
-
if (height !== newHeight) {
|
|
254
|
-
return newHeight;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
return false;
|
|
259
|
-
}
|
|
260
185
|
// EXTERNAL MODULE: ./src/utils/updateReactRef.ts
|
|
261
186
|
var updateReactRef = __webpack_require__(11);
|
|
262
187
|
|
|
@@ -383,7 +308,7 @@ var Box_ = __webpack_require__(8);
|
|
|
383
308
|
var Box_default = /*#__PURE__*/__webpack_require__.n(Box_);
|
|
384
309
|
|
|
385
310
|
// EXTERNAL MODULE: external "@splunk/react-ui/Button"
|
|
386
|
-
var Button_ = __webpack_require__(
|
|
311
|
+
var Button_ = __webpack_require__(16);
|
|
387
312
|
var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
388
313
|
|
|
389
314
|
// CONCATENATED MODULE: ./src/Text/TextStyles.ts
|
|
@@ -391,6 +316,7 @@ var Button_default = /*#__PURE__*/__webpack_require__.n(Button_);
|
|
|
391
316
|
|
|
392
317
|
|
|
393
318
|
|
|
319
|
+
|
|
394
320
|
var disabledStyles = Object(external_styled_components_["css"])(["&,&[type]{cursor:not-allowed;color:", ";&::placeholder{color:", ";}}"], Object(themes_["pick"])({
|
|
395
321
|
enterprise: themes_["variables"].textDisabledColor,
|
|
396
322
|
prisma: themes_["variables"].contentColorDisabled
|
|
@@ -421,7 +347,7 @@ var StyledClearButton = external_styled_components_default()(Button_default.a).w
|
|
|
421
347
|
var StyledSearchIconWrapper = external_styled_components_default.a.span.withConfig({
|
|
422
348
|
displayName: "TextStyles__StyledSearchIconWrapper",
|
|
423
349
|
componentId: "eg7n6t-1"
|
|
424
|
-
})(["", ";color:", ";pointer-events:none;padding:", "
|
|
350
|
+
})(["", ";color:", ";pointer-events:none;padding:", ";", ""], themes_["mixins"].reset('inline-block'), Object(themes_["pick"])({
|
|
425
351
|
enterprise: {
|
|
426
352
|
light: themes_["variables"].gray60,
|
|
427
353
|
dark: themes_["variables"].white
|
|
@@ -430,12 +356,29 @@ var StyledSearchIconWrapper = external_styled_components_default.a.span.withConf
|
|
|
430
356
|
}), Object(themes_["pick"])({
|
|
431
357
|
comfortable: '0 8px',
|
|
432
358
|
compact: '0 6px'
|
|
359
|
+
}), function (_ref) {
|
|
360
|
+
var $disabled = _ref.$disabled;
|
|
361
|
+
return $disabled && Object(external_styled_components_["css"])(["", ""], Object(themes_["pick"])({
|
|
362
|
+
enterprise: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].textDisabledColor),
|
|
363
|
+
prisma: Object(external_styled_components_["css"])(["color:", ";"], themes_["variables"].contentColorDisabled)
|
|
364
|
+
}));
|
|
365
|
+
});
|
|
366
|
+
var StyledSearchIcon = external_styled_components_default()(Search["a" /* default */]).withConfig({
|
|
367
|
+
displayName: "TextStyles__StyledSearchIcon",
|
|
368
|
+
componentId: "eg7n6t-2"
|
|
369
|
+
})(["", ";color:", ";pointer-events:none;padding:", ";", ""], themes_["mixins"].reset('inline-block'), Object(themes_["pick"])({
|
|
370
|
+
enterprise: {
|
|
371
|
+
light: themes_["variables"].gray60,
|
|
372
|
+
dark: themes_["variables"].white
|
|
373
|
+
},
|
|
374
|
+
prisma: themes_["variables"].contentColorMuted
|
|
433
375
|
}), Object(themes_["pick"])({
|
|
434
|
-
|
|
435
|
-
|
|
376
|
+
comfortable: '0 8px',
|
|
377
|
+
compact: '0 6px'
|
|
378
|
+
}), buttonStyles);
|
|
436
379
|
var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
|
|
437
380
|
displayName: "TextStyles__StyledBox",
|
|
438
|
-
componentId: "eg7n6t-
|
|
381
|
+
componentId: "eg7n6t-3"
|
|
439
382
|
})(["display:flex;justify-content:space-between;flex-grow:1;flex-shrink:1;position:relative;&[data-inline]{width:230px;flex-basis:230px;[data-inline] + &{margin-left:", ";}}&:focus-within:not([disabled]){", "{", "}", "{visibility:visible;display:block;}}", ""], Object(themes_["pick"])({
|
|
440
383
|
enterprise: themes_["variables"].spacingHalf,
|
|
441
384
|
prisma: themes_["variables"].spacingSmall
|
|
@@ -445,16 +388,16 @@ StyledSearchIconWrapper, Object(themes_["pick"])({
|
|
|
445
388
|
enterprise: Object(external_styled_components_["css"])(["display:none;"])
|
|
446
389
|
}),
|
|
447
390
|
/* sc-sel */
|
|
448
|
-
StyledClearButton, function (
|
|
449
|
-
var $isTimeInput =
|
|
391
|
+
StyledClearButton, function (_ref2) {
|
|
392
|
+
var $isTimeInput = _ref2.$isTimeInput;
|
|
450
393
|
return $isTimeInput && Object(external_styled_components_["css"])(["@media screen and (min--moz-device-pixel-ratio:0){", "{display:none;}}"],
|
|
451
394
|
/* sc-sel */
|
|
452
395
|
StyledClearButton);
|
|
453
396
|
});
|
|
454
397
|
var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
455
398
|
displayName: "TextStyles__StyledInputWrapper",
|
|
456
|
-
componentId: "eg7n6t-
|
|
457
|
-
})(["", ";flex-grow:1;min-height:", ";position:relative;overflow:hidden;border:1px solid ", ";border-radius:", ";box-sizing:border-box;background-color:", ";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);padding:", ";align-items:center;", " ", " &:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}", " ", " ", " ", "
|
|
399
|
+
componentId: "eg7n6t-4"
|
|
400
|
+
})(["", ";flex-grow:1;min-height:", ";position:relative;overflow:hidden;border:1px solid ", ";border-radius:", ";box-sizing:border-box;background-color:", ";box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);padding:", ";align-items:center;", " ", " &:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}", " ", " ", " ", ""], themes_["mixins"].reset('inline-flex'), themes_["variables"].inputHeight, Object(themes_["pick"])({
|
|
458
401
|
enterprise: {
|
|
459
402
|
light: themes_["variables"].gray60,
|
|
460
403
|
dark: themes_["variables"].gray20
|
|
@@ -469,11 +412,11 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
|
469
412
|
}), Object(themes_["pick"])({
|
|
470
413
|
enterprise: '0px 10px',
|
|
471
414
|
prisma: '0px 12px'
|
|
472
|
-
}), function (
|
|
473
|
-
var $hasEndAdornment =
|
|
415
|
+
}), function (_ref3) {
|
|
416
|
+
var $hasEndAdornment = _ref3.$hasEndAdornment;
|
|
474
417
|
return $hasEndAdornment && Object(external_styled_components_["css"])(["padding-right:0;"]);
|
|
475
|
-
}, function (
|
|
476
|
-
var $hasStartAdornment =
|
|
418
|
+
}, function (_ref4) {
|
|
419
|
+
var $hasStartAdornment = _ref4.$hasStartAdornment;
|
|
477
420
|
return $hasStartAdornment && Object(external_styled_components_["css"])(["padding-left:0;"]);
|
|
478
421
|
}, Object(themes_["pick"])({
|
|
479
422
|
enterprise: {
|
|
@@ -484,20 +427,23 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
|
484
427
|
}), Object(themes_["pick"])({
|
|
485
428
|
enterprise: Object(external_styled_components_["css"])(["box-shadow:", ";color:", ";"], themes_["variables"].focusShadow, themes_["variables"].textColor),
|
|
486
429
|
prisma: Object(external_styled_components_["css"])(["border-color:", ";color:", ";"], themes_["variables"].interactiveColorPrimary, themes_["variables"].contentColorActive)
|
|
487
|
-
}), function (
|
|
488
|
-
var $error =
|
|
489
|
-
return $error && Object(external_styled_components_["css"])(["&,&:hover:not([disabled]){border-color:", ";}"], Object(themes_["pick"])({
|
|
430
|
+
}), function (_ref5) {
|
|
431
|
+
var $error = _ref5.$error;
|
|
432
|
+
return $error && Object(external_styled_components_["css"])(["&,&:hover:not([disabled]){border-color:", ";}&:focus-within:not([disabled]){", "}"], Object(themes_["pick"])({
|
|
490
433
|
enterprise: themes_["variables"].errorColor,
|
|
491
434
|
prisma: themes_["variables"].accentColorNegative
|
|
435
|
+
}), Object(themes_["pick"])({
|
|
436
|
+
enterprise: Object(external_styled_components_["css"])(["box-shadow:", ";color:", ";"], themes_["variables"].focusShadow, themes_["variables"].textColor),
|
|
437
|
+
prisma: Object(external_styled_components_["css"])(["border-color:", ";color:", ";"], themes_["variables"].interactiveColorPrimary, themes_["variables"].contentColorActive)
|
|
492
438
|
}));
|
|
493
|
-
}, function (_ref5) {
|
|
494
|
-
var $append = _ref5.$append;
|
|
495
|
-
return $append && Object(external_styled_components_["css"])(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
496
439
|
}, function (_ref6) {
|
|
497
|
-
var $
|
|
498
|
-
return $
|
|
440
|
+
var $append = _ref6.$append;
|
|
441
|
+
return $append && Object(external_styled_components_["css"])(["margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;"]);
|
|
499
442
|
}, function (_ref7) {
|
|
500
|
-
var
|
|
443
|
+
var $prepend = _ref7.$prepend;
|
|
444
|
+
return $prepend && Object(external_styled_components_["css"])(["border-top-left-radius:0;border-bottom-left-radius:0;"]);
|
|
445
|
+
}, function (_ref8) {
|
|
446
|
+
var disabled = _ref8.disabled;
|
|
501
447
|
return disabled && Object(external_styled_components_["css"])(["", " box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);"], Object(themes_["pick"])({
|
|
502
448
|
enterprise: {
|
|
503
449
|
light: Object(external_styled_components_["css"])(["background-color:", ";border-color:", ";"], themes_["variables"].gray96, themes_["variables"].gray92),
|
|
@@ -505,18 +451,13 @@ var StyledInputWrapper = external_styled_components_default.a.span.withConfig({
|
|
|
505
451
|
},
|
|
506
452
|
prisma: Object(external_styled_components_["css"])(["border-color:", ";"], themes_["variables"].interactiveColorBorderDisabled)
|
|
507
453
|
}));
|
|
508
|
-
}, function (_ref8) {
|
|
509
|
-
var $multiline = _ref8.$multiline;
|
|
510
|
-
return $multiline && Object(themes_["pick"])({
|
|
511
|
-
enterprise: Object(external_styled_components_["css"])(["padding-right:0;"])
|
|
512
|
-
});
|
|
513
454
|
});
|
|
514
455
|
/* Some of these need greater specificity than input[type=text] */
|
|
515
456
|
|
|
516
457
|
var StyledInput = external_styled_components_default.a.input.withConfig({
|
|
517
458
|
displayName: "TextStyles__StyledInput",
|
|
518
|
-
componentId: "eg7n6t-
|
|
519
|
-
})(["", ";&,&[type]{outline-style:none;border:0;background:transparent;color:", ";flex-grow:1;font-family:", ";font-size:inherit;line-height:inherit;&[type='time']{&::-webkit-calendar-picker-indicator{display:none;}height:", ";@media screen and (min--moz-device-pixel-ratio:0){padding-right:", ";}}position:relative;&::placeholder{color:", ";opacity:1;}", " ", "}
|
|
459
|
+
componentId: "eg7n6t-5"
|
|
460
|
+
})(["", ";&,&[type]{outline-style:none;border:0;background:transparent;color:", ";flex-grow:1;font-family:", ";font-size:inherit;line-height:inherit;&[type='time']{&::-webkit-calendar-picker-indicator{display:none;}height:", ";@media screen and (min--moz-device-pixel-ratio:0){padding-right:", ";}}position:relative;&::placeholder{color:", ";opacity:1;}", " ", "}"], themes_["mixins"].reset('inline-flex'), Object(themes_["pick"])({
|
|
520
461
|
enterprise: themes_["variables"].textColor,
|
|
521
462
|
prisma: themes_["variables"].contentColorActive
|
|
522
463
|
}), themes_["variables"].sansFontFamily, Object(themes_["pick"])({
|
|
@@ -540,35 +481,14 @@ var StyledInput = external_styled_components_default.a.input.withConfig({
|
|
|
540
481
|
}, function (_ref10) {
|
|
541
482
|
var disabled = _ref10.disabled;
|
|
542
483
|
return disabled && disabledStyles;
|
|
543
|
-
}
|
|
544
|
-
enterprise: {
|
|
545
|
-
comfortable: themes_["variables"].spacingQuarter,
|
|
546
|
-
compact: '3px'
|
|
547
|
-
},
|
|
548
|
-
prisma: {
|
|
549
|
-
comfortable: themes_["variables"].spacingSmall,
|
|
550
|
-
compact: '5px'
|
|
551
|
-
}
|
|
552
|
-
}), Object(themes_["pick"])({
|
|
553
|
-
enterprise: {
|
|
554
|
-
comfortable: themes_["variables"].spacingQuarter,
|
|
555
|
-
compact: '3px'
|
|
556
|
-
},
|
|
557
|
-
prisma: {
|
|
558
|
-
comfortable: themes_["variables"].spacingSmall,
|
|
559
|
-
compact: '5px'
|
|
560
|
-
}
|
|
561
|
-
}), Object(themes_["pick"])({
|
|
562
|
-
enterprise: '10px',
|
|
563
|
-
prisma: '14px'
|
|
564
|
-
}));
|
|
484
|
+
});
|
|
565
485
|
var StyledVisibilityToggle = external_styled_components_default()(Button_default.a).withConfig({
|
|
566
486
|
displayName: "TextStyles__StyledVisibilityToggle",
|
|
567
|
-
componentId: "eg7n6t-
|
|
487
|
+
componentId: "eg7n6t-6"
|
|
568
488
|
})(["", ""], buttonStyles);
|
|
569
489
|
var StyledPlaceholder = external_styled_components_default.a.span.withConfig({
|
|
570
490
|
displayName: "TextStyles__StyledPlaceholder",
|
|
571
|
-
componentId: "eg7n6t-
|
|
491
|
+
componentId: "eg7n6t-7"
|
|
572
492
|
})(["pointer-events:none;color:", ";position:absolute;overflow:hidden;font-size:inherit;line-height:inherit;height:", ";margin-right:", ";", ";", ";", ""], Object(themes_["pick"])({
|
|
573
493
|
enterprise: themes_["variables"].textGray,
|
|
574
494
|
prisma: themes_["variables"].contentColorMuted
|
|
@@ -626,7 +546,7 @@ var adornmentHolder = Object(external_styled_components_["css"])(["display:inlin
|
|
|
626
546
|
}));
|
|
627
547
|
var StyledStartAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
628
548
|
displayName: "TextStyles__StyledStartAdornmentHolder",
|
|
629
|
-
componentId: "eg7n6t-
|
|
549
|
+
componentId: "eg7n6t-8"
|
|
630
550
|
})(["", " ", ";"], adornmentHolder, function (_ref14) {
|
|
631
551
|
var $width = _ref14.$width;
|
|
632
552
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
@@ -642,7 +562,7 @@ var StyledStartAdornmentHolder = external_styled_components_default.a.div.withCo
|
|
|
642
562
|
});
|
|
643
563
|
var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConfig({
|
|
644
564
|
displayName: "TextStyles__StyledEndAdornmentHolder",
|
|
645
|
-
componentId: "eg7n6t-
|
|
565
|
+
componentId: "eg7n6t-9"
|
|
646
566
|
})(["", " ", ";"], adornmentHolder, function (_ref15) {
|
|
647
567
|
var $width = _ref15.$width;
|
|
648
568
|
return $width ? Object(external_styled_components_["css"])(["min-width:", "px;"], $width) : Object(external_styled_components_["css"])(["min-width:", ";"], Object(themes_["pick"])({
|
|
@@ -658,7 +578,7 @@ var StyledEndAdornmentHolder = external_styled_components_default.a.div.withConf
|
|
|
658
578
|
});
|
|
659
579
|
var StyledAdornment = external_styled_components_default.a.div.withConfig({
|
|
660
580
|
displayName: "TextStyles__StyledAdornment",
|
|
661
|
-
componentId: "eg7n6t-
|
|
581
|
+
componentId: "eg7n6t-10"
|
|
662
582
|
})(["display:inline-flex;align-items:center;justify-content:center;position:absolute;pointer-events:none;z-index:1;height:", ";", ";", ";", ""], Object(themes_["pick"])({
|
|
663
583
|
enterprise: {
|
|
664
584
|
comfortable: '30px',
|
|
@@ -740,7 +660,6 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
740
660
|
|
|
741
661
|
|
|
742
662
|
|
|
743
|
-
|
|
744
663
|
/** @public */
|
|
745
664
|
|
|
746
665
|
var propTypes = {
|
|
@@ -838,8 +757,6 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
838
757
|
|
|
839
758
|
_defineProperty(_assertThisInitialized(_this), "input", null);
|
|
840
759
|
|
|
841
|
-
_defineProperty(_assertThisInitialized(_this), "shadow", null);
|
|
842
|
-
|
|
843
760
|
_defineProperty(_assertThisInitialized(_this), "startAdornment", null);
|
|
844
761
|
|
|
845
762
|
_defineProperty(_assertThisInitialized(_this), "endAdornment", null);
|
|
@@ -864,10 +781,6 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
864
781
|
}
|
|
865
782
|
});
|
|
866
783
|
|
|
867
|
-
_defineProperty(_assertThisInitialized(_this), "handleResize", function () {
|
|
868
|
-
_this.syncHeightWithShadow();
|
|
869
|
-
});
|
|
870
|
-
|
|
871
784
|
_defineProperty(_assertThisInitialized(_this), "handleInputMount", function (el) {
|
|
872
785
|
_this.input = el;
|
|
873
786
|
Object(updateReactRef["a" /* updateReactRef */])(_this.props.inputRef, el);
|
|
@@ -948,22 +861,6 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
948
861
|
});
|
|
949
862
|
});
|
|
950
863
|
|
|
951
|
-
_defineProperty(_assertThisInitialized(_this), "syncHeightWithShadow", function () {
|
|
952
|
-
var newHeight = syncHeightWithShadow({
|
|
953
|
-
height: _this.state.height,
|
|
954
|
-
multiline: _this.props.multiline,
|
|
955
|
-
rowsMax: _this.props.rowsMax,
|
|
956
|
-
rowsMin: _this.props.rowsMin,
|
|
957
|
-
shadow: _this.shadow
|
|
958
|
-
});
|
|
959
|
-
|
|
960
|
-
if (newHeight !== false) {
|
|
961
|
-
_this.setState({
|
|
962
|
-
height: newHeight
|
|
963
|
-
});
|
|
964
|
-
}
|
|
965
|
-
});
|
|
966
|
-
|
|
967
864
|
_defineProperty(_assertThisInitialized(_this), "renderEndAdornment", function () {
|
|
968
865
|
var _controlGroupContext$;
|
|
969
866
|
|
|
@@ -1003,8 +900,19 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1003
900
|
var controlGroupLabel = (_controlGroupContext$ = controlGroupContext.labelAttrs) === null || _controlGroupContext$ === void 0 ? void 0 : _controlGroupContext$.text;
|
|
1004
901
|
var clearButtonText = controlGroupLabel ? Object(i18n_["_"])("Clear ".concat(controlGroupLabel, " text field")) : Object(i18n_["_"])('Clear text field');
|
|
1005
902
|
|
|
903
|
+
var displayValue = _this.getDisplayValue();
|
|
904
|
+
|
|
1006
905
|
if (!isPrisma && appearance === 'search') {
|
|
1007
|
-
|
|
906
|
+
if (!displayValue) {
|
|
907
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default.a.createElement(StyledSearchIconWrapper, {
|
|
908
|
+
$disabled: disabled
|
|
909
|
+
}, /*#__PURE__*/external_react_default.a.createElement(Search["a" /* default */], {
|
|
910
|
+
enterpriseSize: "16px",
|
|
911
|
+
inline: false
|
|
912
|
+
})));
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
1008
916
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
1009
917
|
"data-test": "clear",
|
|
1010
918
|
inline: false,
|
|
@@ -1021,10 +929,8 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1021
929
|
})));
|
|
1022
930
|
}
|
|
1023
931
|
|
|
1024
|
-
var displayValue = _this.getDisplayValue();
|
|
1025
|
-
|
|
1026
932
|
if (!!displayValue && (isPrisma && appearance === 'search' || canClear)) {
|
|
1027
|
-
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
933
|
+
return /*#__PURE__*/external_react_default.a.createElement(StyledAdornment, adornmentProps, !disabled && /*#__PURE__*/external_react_default.a.createElement(StyledClearButton, {
|
|
1028
934
|
"data-test": "clear",
|
|
1029
935
|
appearance: isPrisma ? 'secondary' : 'pill',
|
|
1030
936
|
onClick: _this.handleClear,
|
|
@@ -1091,25 +997,20 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1091
997
|
console.warn("The 'Text' prop 'useSyntheticPlaceholder' has been marked for deprecation.");
|
|
1092
998
|
}
|
|
1093
999
|
|
|
1000
|
+
if (false) {}
|
|
1001
|
+
|
|
1094
1002
|
Text.validateRows(props);
|
|
1095
|
-
_this.handleResize = Object(external_lodash_["throttle"])(_this.handleResize, 100);
|
|
1096
1003
|
return _this;
|
|
1097
1004
|
}
|
|
1098
1005
|
|
|
1099
1006
|
_createClass(Text, [{
|
|
1100
1007
|
key: "componentDidMount",
|
|
1101
1008
|
value: function componentDidMount() {
|
|
1102
|
-
Object(external_lodash_["defer"])(this.syncHeightWithShadow); // wait for styles to load
|
|
1103
|
-
|
|
1104
1009
|
this.getAdornmentWidth();
|
|
1105
1010
|
}
|
|
1106
1011
|
}, {
|
|
1107
1012
|
key: "componentDidUpdate",
|
|
1108
1013
|
value: function componentDidUpdate(prevProps) {
|
|
1109
|
-
if (this.props.multiline) {
|
|
1110
|
-
this.syncHeightWithShadow();
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
1014
|
if (false) {}
|
|
1114
1015
|
|
|
1115
1016
|
if (false) {}
|
|
@@ -1150,8 +1051,6 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1150
1051
|
}, {
|
|
1151
1052
|
key: "render",
|
|
1152
1053
|
value: function render() {
|
|
1153
|
-
var _this2 = this;
|
|
1154
|
-
|
|
1155
1054
|
var _this$props10 = this.props,
|
|
1156
1055
|
append = _this$props10.append,
|
|
1157
1056
|
autoCapitalize = _this$props10.autoCapitalize,
|
|
@@ -1180,16 +1079,14 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1180
1079
|
title = _this$props10.title,
|
|
1181
1080
|
type = _this$props10.type,
|
|
1182
1081
|
useSyntheticPlaceholder = _this$props10.useSyntheticPlaceholder,
|
|
1183
|
-
|
|
1184
|
-
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder", "value"]);
|
|
1082
|
+
otherProps = _objectWithoutProperties(_this$props10, ["append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder"]);
|
|
1185
1083
|
|
|
1186
1084
|
var ariaProps = _objectSpread(_objectSpread({}, Object(external_lodash_["pickBy"])(otherProps, function (val, key) {
|
|
1187
1085
|
return key === 'role' || key.indexOf('aria-') === 0;
|
|
1188
1086
|
})), {}, {
|
|
1189
1087
|
'aria-describedby': describedBy,
|
|
1190
1088
|
'aria-labelledby': labelledBy,
|
|
1191
|
-
'aria-invalid': error || undefined
|
|
1192
|
-
'aria-multiline': multiline
|
|
1089
|
+
'aria-invalid': error || undefined
|
|
1193
1090
|
});
|
|
1194
1091
|
|
|
1195
1092
|
var boxProps = Object(external_lodash_["omit"])(otherProps, ['inputRef', 'onBlur', 'onChange', 'onFocus', 'onKeyDown', 'onSelect', 'onInputClick', 'rowsMax', 'rowsMin'].concat(_toConsumableArray(Object(external_lodash_["keys"])(ariaProps))));
|
|
@@ -1227,7 +1124,7 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1227
1124
|
},
|
|
1228
1125
|
title: title,
|
|
1229
1126
|
tabIndex: tabIndex,
|
|
1230
|
-
type:
|
|
1127
|
+
type: computedType,
|
|
1231
1128
|
value: displayValue,
|
|
1232
1129
|
$error: error
|
|
1233
1130
|
});
|
|
@@ -1239,6 +1136,11 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1239
1136
|
var isTimeInput = type === 'time';
|
|
1240
1137
|
var hasEndAdornment = !!this.renderEndAdornment();
|
|
1241
1138
|
var hasStartAdornment = !!this.renderStartAdornment();
|
|
1139
|
+
|
|
1140
|
+
if (multiline) {
|
|
1141
|
+
return /*#__PURE__*/external_react_default.a.createElement(TextArea_default.a, this.props);
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1242
1144
|
return /*#__PURE__*/external_react_default.a.createElement(StyledBox, Text_extends({
|
|
1243
1145
|
tabIndex: -1,
|
|
1244
1146
|
$isTimeInput: isTimeInput,
|
|
@@ -1251,53 +1153,20 @@ var Text_Text = /*#__PURE__*/function (_Component) {
|
|
|
1251
1153
|
}, boxProps), this.renderStartAdornment(), /*#__PURE__*/external_react_default.a.createElement(StyledInputWrapper, Text_extends({
|
|
1252
1154
|
$hasEndAdornment: hasEndAdornment,
|
|
1253
1155
|
$hasStartAdornment: hasStartAdornment,
|
|
1254
|
-
$multiline: multiline,
|
|
1255
1156
|
disabled: disabled
|
|
1256
1157
|
}, displayProps), hasStartAdornment && /*#__PURE__*/external_react_default.a.createElement(StyledStartAdornmentHolder, {
|
|
1257
1158
|
$width: this.state.startAdornmentWidth
|
|
1258
|
-
}), !disabled && multiline && /*#__PURE__*/external_react_default.a.createElement(StyledInput, {
|
|
1259
|
-
as: "textarea",
|
|
1260
|
-
"aria-hidden": "true",
|
|
1261
|
-
onChange: external_lodash_["noop"],
|
|
1262
|
-
onClick: this.handleInputClick,
|
|
1263
|
-
style: {
|
|
1264
|
-
width: '100%',
|
|
1265
|
-
position: 'absolute',
|
|
1266
|
-
overflow: 'hidden',
|
|
1267
|
-
left: -10000,
|
|
1268
|
-
top: -10000
|
|
1269
|
-
},
|
|
1270
|
-
tabIndex: -1,
|
|
1271
|
-
ref: function ref(el) {
|
|
1272
|
-
_this2.shadow = el;
|
|
1273
|
-
},
|
|
1274
|
-
value: displayValue
|
|
1275
1159
|
}), disabled ? /*#__PURE__*/external_react_default.a.createElement(StyledInput, Text_extends({
|
|
1276
|
-
as: multiline ? 'textarea' : undefined,
|
|
1277
1160
|
className: Object(style_["toClassName"])(className, classNamePrivate),
|
|
1278
|
-
"data-multiline": multiline || null,
|
|
1279
1161
|
"data-test": "textbox",
|
|
1280
1162
|
disabled: true,
|
|
1281
1163
|
readOnly: true,
|
|
1282
|
-
|
|
1283
|
-
height: this.state.height
|
|
1284
|
-
} : undefined // @ts-expect-error - accept: type only exists on input (see "as" prop)
|
|
1285
|
-
,
|
|
1286
|
-
type: multiline ? undefined : computedType,
|
|
1164
|
+
type: computedType,
|
|
1287
1165
|
value: displayValue,
|
|
1288
|
-
placeholder: placeholder && !useSyntheticPlaceholder ? placeholder : undefined
|
|
1289
|
-
|
|
1290
|
-
_this2.shadow = el;
|
|
1291
|
-
} : undefined
|
|
1292
|
-
}, ariaProps)) : /*#__PURE__*/external_react_default.a.createElement(StyledInput, Text_extends({
|
|
1293
|
-
as: multiline ? 'textarea' : undefined
|
|
1294
|
-
}, inputProps, {
|
|
1166
|
+
placeholder: placeholder && !useSyntheticPlaceholder ? placeholder : undefined
|
|
1167
|
+
}, ariaProps)) : /*#__PURE__*/external_react_default.a.createElement(StyledInput, Text_extends({}, inputProps, {
|
|
1295
1168
|
onClick: this.handleInputClick
|
|
1296
|
-
})),
|
|
1297
|
-
target: window,
|
|
1298
|
-
eventType: "resize",
|
|
1299
|
-
listener: this.handleResize
|
|
1300
|
-
}), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default.a.createElement(ScreenReaderContent_default.a, null, placeholder), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default.a.createElement(StyledPlaceholder, {
|
|
1169
|
+
})), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default.a.createElement(ScreenReaderContent_default.a, null, placeholder), haveSyntheticPlaceholder && /*#__PURE__*/external_react_default.a.createElement(StyledPlaceholder, {
|
|
1301
1170
|
$endAdornmentWidth: this.state.endAdornmentWidth,
|
|
1302
1171
|
$hasBothAdornment: hasStartAdornment && hasEndAdornment // used to calculate the max-width
|
|
1303
1172
|
,
|
|
@@ -1341,35 +1210,21 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
1341
1210
|
|
|
1342
1211
|
/***/ }),
|
|
1343
1212
|
|
|
1344
|
-
/***/
|
|
1345
|
-
/***/ (function(module, exports) {
|
|
1346
|
-
|
|
1347
|
-
module.exports = require("@splunk/react-ui/EventListener");
|
|
1348
|
-
|
|
1349
|
-
/***/ }),
|
|
1350
|
-
|
|
1351
|
-
/***/ 17:
|
|
1213
|
+
/***/ 16:
|
|
1352
1214
|
/***/ (function(module, exports) {
|
|
1353
1215
|
|
|
1354
1216
|
module.exports = require("@splunk/react-ui/Button");
|
|
1355
1217
|
|
|
1356
1218
|
/***/ }),
|
|
1357
1219
|
|
|
1358
|
-
/***/
|
|
1359
|
-
/***/ (function(module, exports) {
|
|
1360
|
-
|
|
1361
|
-
module.exports = require("react");
|
|
1362
|
-
|
|
1363
|
-
/***/ }),
|
|
1364
|
-
|
|
1365
|
-
/***/ 20:
|
|
1220
|
+
/***/ 19:
|
|
1366
1221
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1367
1222
|
|
|
1368
1223
|
"use strict";
|
|
1369
1224
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CrossMark; });
|
|
1370
1225
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1371
1226
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1372
|
-
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1227
|
+
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
|
|
1373
1228
|
/* harmony import */ var _splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Close__WEBPACK_IMPORTED_MODULE_1__);
|
|
1374
1229
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
1375
1230
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -1412,49 +1267,35 @@ function CrossMark(props) {
|
|
|
1412
1267
|
|
|
1413
1268
|
/***/ }),
|
|
1414
1269
|
|
|
1415
|
-
/***/
|
|
1416
|
-
/***/ (function(module, exports) {
|
|
1417
|
-
|
|
1418
|
-
module.exports = require("@splunk/react-icons/Close");
|
|
1419
|
-
|
|
1420
|
-
/***/ }),
|
|
1421
|
-
|
|
1422
|
-
/***/ 24:
|
|
1423
|
-
/***/ (function(module, exports) {
|
|
1424
|
-
|
|
1425
|
-
module.exports = require("@splunk/react-icons/SVG");
|
|
1426
|
-
|
|
1427
|
-
/***/ }),
|
|
1428
|
-
|
|
1429
|
-
/***/ 3:
|
|
1270
|
+
/***/ 2:
|
|
1430
1271
|
/***/ (function(module, exports) {
|
|
1431
1272
|
|
|
1432
|
-
module.exports = require("
|
|
1273
|
+
module.exports = require("react");
|
|
1433
1274
|
|
|
1434
1275
|
/***/ }),
|
|
1435
1276
|
|
|
1436
|
-
/***/
|
|
1277
|
+
/***/ 21:
|
|
1437
1278
|
/***/ (function(module, exports) {
|
|
1438
1279
|
|
|
1439
|
-
module.exports = require("
|
|
1280
|
+
module.exports = require("@splunk/react-icons/Close");
|
|
1440
1281
|
|
|
1441
1282
|
/***/ }),
|
|
1442
1283
|
|
|
1443
|
-
/***/
|
|
1284
|
+
/***/ 24:
|
|
1444
1285
|
/***/ (function(module, exports) {
|
|
1445
1286
|
|
|
1446
|
-
module.exports = require("@splunk/
|
|
1287
|
+
module.exports = require("@splunk/react-icons/SVG");
|
|
1447
1288
|
|
|
1448
1289
|
/***/ }),
|
|
1449
1290
|
|
|
1450
|
-
/***/
|
|
1291
|
+
/***/ 29:
|
|
1451
1292
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1452
1293
|
|
|
1453
1294
|
"use strict";
|
|
1454
1295
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Search; });
|
|
1455
1296
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
|
|
1456
1297
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
1457
|
-
/* harmony import */ var _splunk_react_icons_Search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
1298
|
+
/* harmony import */ var _splunk_react_icons_Search__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41);
|
|
1458
1299
|
/* harmony import */ var _splunk_react_icons_Search__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_splunk_react_icons_Search__WEBPACK_IMPORTED_MODULE_1__);
|
|
1459
1300
|
/* harmony import */ var _ThemedIcon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
|
|
1460
1301
|
/* harmony import */ var _SVG__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(6);
|
|
@@ -1497,20 +1338,41 @@ function Search(props) {
|
|
|
1497
1338
|
|
|
1498
1339
|
/***/ }),
|
|
1499
1340
|
|
|
1500
|
-
/***/
|
|
1341
|
+
/***/ 3:
|
|
1501
1342
|
/***/ (function(module, exports) {
|
|
1502
1343
|
|
|
1503
|
-
module.exports = require("
|
|
1344
|
+
module.exports = require("styled-components");
|
|
1345
|
+
|
|
1346
|
+
/***/ }),
|
|
1347
|
+
|
|
1348
|
+
/***/ 32:
|
|
1349
|
+
/***/ (function(module, exports) {
|
|
1350
|
+
|
|
1351
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
1504
1352
|
|
|
1505
1353
|
/***/ }),
|
|
1506
1354
|
|
|
1507
|
-
/***/
|
|
1355
|
+
/***/ 4:
|
|
1356
|
+
/***/ (function(module, exports) {
|
|
1357
|
+
|
|
1358
|
+
module.exports = require("lodash");
|
|
1359
|
+
|
|
1360
|
+
/***/ }),
|
|
1361
|
+
|
|
1362
|
+
/***/ 41:
|
|
1508
1363
|
/***/ (function(module, exports) {
|
|
1509
1364
|
|
|
1510
1365
|
module.exports = require("@splunk/react-icons/Search");
|
|
1511
1366
|
|
|
1512
1367
|
/***/ }),
|
|
1513
1368
|
|
|
1369
|
+
/***/ 5:
|
|
1370
|
+
/***/ (function(module, exports) {
|
|
1371
|
+
|
|
1372
|
+
module.exports = require("@splunk/ui-utils/i18n");
|
|
1373
|
+
|
|
1374
|
+
/***/ }),
|
|
1375
|
+
|
|
1514
1376
|
/***/ 6:
|
|
1515
1377
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1516
1378
|
|
|
@@ -1654,6 +1516,13 @@ Icon.defaultProps = defaultProps;
|
|
|
1654
1516
|
|
|
1655
1517
|
/***/ }),
|
|
1656
1518
|
|
|
1519
|
+
/***/ 78:
|
|
1520
|
+
/***/ (function(module, exports) {
|
|
1521
|
+
|
|
1522
|
+
module.exports = require("@splunk/react-ui/ControlGroup");
|
|
1523
|
+
|
|
1524
|
+
/***/ }),
|
|
1525
|
+
|
|
1657
1526
|
/***/ 8:
|
|
1658
1527
|
/***/ (function(module, exports) {
|
|
1659
1528
|
|