@splunk/react-ui 4.36.0 → 4.38.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.
Files changed (39) hide show
  1. package/Button.js +139 -132
  2. package/CHANGELOG.md +32 -0
  3. package/Color.js +1145 -977
  4. package/ComboBox.js +1 -2
  5. package/Date.js +21 -24
  6. package/Menu.js +161 -153
  7. package/Multiselect.js +17 -27
  8. package/Progress.js +202 -149
  9. package/RadioBar.js +18 -14
  10. package/ScreenReaderContent.js +138 -94
  11. package/Search.js +45 -42
  12. package/Select.js +89 -99
  13. package/Slider.js +128 -145
  14. package/Switch.js +123 -119
  15. package/Text.js +202 -199
  16. package/TextArea.js +21 -19
  17. package/package.json +4 -4
  18. package/types/src/Button/Button.d.ts +15 -5
  19. package/types/src/Color/Color.d.ts +3 -0
  20. package/types/src/Color/Palette.d.ts +4 -2
  21. package/types/src/ControlGroup/docs/examples/Error.d.ts +2 -2
  22. package/types/src/Date/Date.d.ts +0 -1
  23. package/types/src/Date/docs/examples/Error.d.ts +2 -0
  24. package/types/src/Link/Link.d.ts +3 -4
  25. package/types/src/Menu/Item.d.ts +6 -3
  26. package/types/src/Progress/Progress.d.ts +1 -1
  27. package/types/src/Search/Option.d.ts +7 -0
  28. package/types/src/Select/Select.d.ts +1 -1
  29. package/types/src/Select/SelectBase.d.ts +0 -1
  30. package/types/src/Slider/Slider.d.ts +0 -1
  31. package/types/src/Slider/docs/examples/Error.d.ts +2 -0
  32. package/types/src/Switch/Switch.d.ts +1 -0
  33. package/types/src/Text/Text.d.ts +6 -4
  34. package/types/src/Text/docs/examples/Dimmed.d.ts +2 -0
  35. package/types/src/TextArea/TextArea.d.ts +2 -2
  36. package/types/src/Button/docs/examples/Selected.d.ts +0 -2
  37. package/types/src/Slider/docs/examples/prisma/Error.d.ts +0 -2
  38. /package/types/src/Date/docs/examples/{prisma/WithoutCalendar.d.ts → WithoutCalendar.d.ts} +0 -0
  39. /package/types/src/Progress/docs/examples/{prisma/Type.d.ts → Type.d.ts} +0 -0
package/Text.js CHANGED
@@ -76,8 +76,8 @@
76
76
  const s = require("lodash/keys");
77
77
  var c = e.n(s);
78
78
  // CONCATENATED MODULE: external "lodash/omit"
79
- const p = require("lodash/omit");
80
- var d = e.n(p);
79
+ const d = require("lodash/omit");
80
+ var p = e.n(d);
81
81
  // CONCATENATED MODULE: external "lodash/pickBy"
82
82
  const u = require("lodash/pickBy");
83
83
  var f = e.n(u);
@@ -111,8 +111,8 @@
111
111
  const I = require("@splunk/react-icons/SVGEnterprise");
112
112
  var j = e.n(I);
113
113
  // CONCATENATED MODULE: ./src/Text/IconOutlinedHide.tsx
114
- function M() {
115
- M = Object.assign || function(e) {
114
+ function $() {
115
+ $ = Object.assign || function(e) {
116
116
  for (var t = 1; t < arguments.length; t++) {
117
117
  var r = arguments[t];
118
118
  for (var n in r) {
@@ -123,13 +123,13 @@
123
123
  }
124
124
  return e;
125
125
  };
126
- return M.apply(this, arguments);
126
+ return $.apply(this, arguments);
127
127
  }
128
- function R(e) {
128
+ function M(e) {
129
129
  var t = (0, A.useSplunkTheme)(), r = t.family, i = t.density;
130
130
  if (r === "enterprise") {
131
131
 
132
- return n().createElement(j(), M({
132
+ return n().createElement(j(), $({
133
133
  viewBox: "0 0 24 24",
134
134
  size: 1.2,
135
135
  screenReaderText: (0, T._)("Hide password")
@@ -169,7 +169,7 @@
169
169
  fill: "currentColor"
170
170
  }));
171
171
  }
172
- /* harmony default export */ const $ = R;
172
+ /* harmony default export */ const R = M;
173
173
  // CONCATENATED MODULE: ./src/Text/IconOutlinedView.tsx
174
174
  function _() {
175
175
  _ = Object.assign || function(e) {
@@ -227,10 +227,10 @@
227
227
  fill: "currentColor"
228
228
  }));
229
229
  }
230
- /* harmony default export */ const B = P;
230
+ /* harmony default export */ const D = P;
231
231
  // CONCATENATED MODULE: external "styled-components"
232
- const D = require("styled-components");
233
- var N = e.n(D);
232
+ const B = require("styled-components");
233
+ var N = e.n(B);
234
234
  // CONCATENATED MODULE: external "@splunk/react-ui/Box"
235
235
  const q = require("@splunk/react-ui/Box");
236
236
  var V = e.n(q);
@@ -238,7 +238,7 @@
238
238
  const W = require("@splunk/react-ui/Button");
239
239
  var z = e.n(W);
240
240
  // CONCATENATED MODULE: ./src/Text/TextStyles.ts
241
- var Z = (0, D.css)([ "&,&[type]{cursor:not-allowed;color:", ";&::placeholder{color:", ";}}" ], (0,
241
+ var Z = (0, B.css)([ "&,&[type]{cursor:not-allowed;color:", ";&::placeholder{color:", ";}}" ], (0,
242
242
  A.pick)({
243
243
  enterprise: A.variables.textDisabledColor,
244
244
  prisma: A.variables.contentColorDisabled
@@ -246,15 +246,19 @@
246
246
  enterprise: A.variables.textDisabledColor,
247
247
  prisma: A.variables.contentColorDisabled
248
248
  }));
249
- var F = (0, D.css)([ "border-radius:", ";cursor:pointer;font-size:0.83333em;flex-grow:0;", ";&:not([disabled]){color:", ";}" ], (0,
249
+ var F = (0, B.css)([ "border-color:", ";box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);", "" ], A.variables.interactiveColorBorderDisabled, (0,
250
+ A.pick)({
251
+ enterprise: (0, B.css)([ "background-color:", ";" ], A.variables.interactiveColorBackgroundDisabled)
252
+ }));
253
+ var H = (0, B.css)([ "border-radius:", ";cursor:pointer;font-size:0.83333em;flex-grow:0;", ";&:not([disabled]){color:", ";}" ], (0,
250
254
  A.pick)({
251
255
  enterprise: A.variables.borderRadius,
252
256
  prisma: "50%"
253
257
  }), (0, A.pick)({
254
- enterprise: (0, D.css)([ "width:", ";height:", ";" ], A.variables.inputHeight, A.variables.inputHeight),
258
+ enterprise: (0, B.css)([ "width:", ";height:", ";" ], A.variables.inputHeight, A.variables.inputHeight),
255
259
  prisma: {
256
- comfortable: (0, D.css)([ "width:26px;min-width:26px;min-height:26px;margin:8px;padding:0;" ]),
257
- compact: (0, D.css)([ "width:22px;min-width:22px;min-height:22px;margin:8px;padding:0;" ])
260
+ comfortable: (0, B.css)([ "width:26px;min-width:26px;min-height:26px;margin:8px;padding:0;" ]),
261
+ compact: (0, B.css)([ "width:22px;min-width:22px;min-height:22px;margin:8px;padding:0;" ])
258
262
  }
259
263
  }), (0, A.pick)({
260
264
  enterprise: {
@@ -263,11 +267,11 @@
263
267
  },
264
268
  prisma: A.variables.contentColorMuted
265
269
  }));
266
- var H = N()(z()).withConfig({
270
+ var K = N()(z()).withConfig({
267
271
  displayName: "TextStyles__StyledClearButton",
268
272
  componentId: "eg7n6t-0"
269
- })([ "display:none;visibility:hidden;", "" ], F);
270
- var K = N().span.withConfig({
273
+ })([ "display:none;visibility:hidden;", "" ], H);
274
+ var G = N().span.withConfig({
271
275
  displayName: "TextStyles__StyledSearchIconWrapper",
272
276
  componentId: "eg7n6t-1"
273
277
  })([ "", ";color:", ";pointer-events:none;padding:", ";", "" ], A.mixins.reset("inline-block"), (0,
@@ -282,30 +286,30 @@
282
286
  compact: "0 6px"
283
287
  }), (function(e) {
284
288
  var t = e.$disabled;
285
- return t && (0, D.css)([ "", "" ], (0, A.pick)({
286
- enterprise: (0, D.css)([ "color:", ";" ], A.variables.textDisabledColor),
287
- prisma: (0, D.css)([ "color:", ";" ], A.variables.contentColorDisabled)
289
+ return t && (0, B.css)([ "", "" ], (0, A.pick)({
290
+ enterprise: (0, B.css)([ "color:", ";" ], A.variables.textDisabledColor),
291
+ prisma: (0, B.css)([ "color:", ";" ], A.variables.contentColorDisabled)
288
292
  }));
289
293
  }));
290
- var G = N()(V()).withConfig({
294
+ var U = N()(V()).withConfig({
291
295
  displayName: "TextStyles__StyledBox",
292
296
  componentId: "eg7n6t-2"
293
297
  })([ "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;}}", "" ], A.variables.spacingSmall,
294
298
  /* sc-sel */
295
- K, (0, A.pick)({
296
- enterprise: (0, D.css)([ "display:none;" ])
299
+ G, (0, A.pick)({
300
+ enterprise: (0, B.css)([ "display:none;" ])
297
301
  }),
298
302
  /* sc-sel */
299
- H, (function(e) {
303
+ K, (function(e) {
300
304
  var t = e.$isTimeInput;
301
- return t && (0, D.css)([ "@media screen and (min--moz-device-pixel-ratio:0){", "{display:none;}}" ],
305
+ return t && (0, B.css)([ "@media screen and (min--moz-device-pixel-ratio:0){", "{display:none;}}" ],
302
306
  /* sc-sel */
303
- H);
307
+ K);
304
308
  }));
305
- var U = N().span.withConfig({
309
+ var J = N().span.withConfig({
306
310
  displayName: "TextStyles__StyledInputWrapper",
307
311
  componentId: "eg7n6t-3"
308
- })([ "", ";cursor:text;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]){box-shadow:", ";color:", ";}", " ", " ", " ", "" ], A.mixins.reset("inline-flex"), A.variables.inputHeight, A.variables.interactiveColorBorder, A.variables.borderRadius, (0,
312
+ })([ "", ";cursor:text;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;", " ", " ", " ", " ", " ", " ", "" ], A.mixins.reset("inline-flex"), A.variables.inputHeight, A.variables.interactiveColorBorder, A.variables.borderRadius, (0,
309
313
  A.pick)({
310
314
  enterprise: {
311
315
  light: A.variables.white,
@@ -317,30 +321,30 @@
317
321
  prisma: "0 12px"
318
322
  }), (function(e) {
319
323
  var t = e.$hasEndAdornment;
320
- return t && (0, D.css)([ "padding-right:0;" ]);
324
+ return t && (0, B.css)([ "padding-right:0;" ]);
321
325
  }), (function(e) {
322
326
  var t = e.$hasStartAdornment;
323
- return t && (0, D.css)([ "padding-left:0;" ]);
324
- }), A.variables.interactiveColorBorderHover, A.variables.focusShadow, A.variables.contentColorActive, (function(e) {
327
+ return t && (0, B.css)([ "padding-left:0;" ]);
328
+ }), (function(e) {
329
+ var t = e.$isDisabled;
330
+ return !t && (0, B.css)([ "&:focus-within{box-shadow:", ";color:", ";}" ], A.variables.focusShadow, A.variables.contentColorActive);
331
+ }), (function(e) {
332
+ var t = e.$isDisabled, r = e.$isDimmed;
333
+ return t || r ? F : (0, B.css)([ "&:hover{border-color:", ";}" ], A.variables.interactiveColorBorderHover);
334
+ }), (function(e) {
325
335
  var t = e.$error;
326
- return t && (0, D.css)([ "&,&:hover:not([disabled]){border-color:", ";}" ], A.variables.accentColorNegative);
336
+ return t && (0, B.css)([ "&,&:hover{border-color:", ";}" ], A.variables.accentColorNegative);
327
337
  }), (function(e) {
328
338
  var t = e.$append;
329
- return t && (0, D.css)([ "margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;" ]);
339
+ return t && (0, B.css)([ "margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0;border-right:none;" ]);
330
340
  }), (function(e) {
331
341
  var t = e.$prepend;
332
- return t && (0, D.css)([ "border-top-left-radius:0;border-bottom-left-radius:0;" ]);
333
- }), (function(e) {
334
- var t = e.disabled;
335
- return t && (0, D.css)([ "border-color:", ";box-shadow:inset 0 1px 2px rgba(0,0,0,0.025);", "" ], A.variables.interactiveColorBorderDisabled, (0,
336
- A.pick)({
337
- enterprise: (0, D.css)([ "background-color:", ";" ], A.variables.interactiveColorBackgroundDisabled)
338
- }));
342
+ return t && (0, B.css)([ "border-top-left-radius:0;border-bottom-left-radius:0;" ]);
339
343
  }));
340
- /* Some of these need greater specificity than input[type=text] */ var J = N().input.withConfig({
344
+ /* Some of these need greater specificity than input[type=text] */ var Q = N().input.withConfig({
341
345
  displayName: "TextStyles__StyledInput",
342
346
  componentId: "eg7n6t-4"
343
- })([ "", ";&,&[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;}", " ", "}" ], A.mixins.reset("inline-flex"), (0,
347
+ })([ "", ";&,&[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;}", " &[disabled],&[aria-disabled='true']{", "}}" ], A.mixins.reset("inline-flex"), (0,
344
348
  A.pick)({
345
349
  enterprise: A.variables.textColor,
346
350
  prisma: A.variables.contentColorActive
@@ -355,22 +359,19 @@
355
359
  prisma: "14px"
356
360
  }), A.variables.contentColorMuted, (function(e) {
357
361
  var t = e.$error;
358
- return t && (0, D.css)([ "&,&:hover{color:", ";}" ], (0, A.pick)({
362
+ return t && (0, B.css)([ "&,&:hover{color:", ";}" ], (0, A.pick)({
359
363
  enterprise: {
360
364
  light: A.variables.errorColorD10,
361
365
  dark: A.variables.errorColorL20
362
366
  },
363
367
  prisma: A.variables.contentColorActive
364
368
  }));
365
- }), (function(e) {
366
- var t = e.disabled;
367
- return t && Z;
368
- }));
369
- var Q = N()(z()).withConfig({
369
+ }), Z);
370
+ var X = N()(z()).withConfig({
370
371
  displayName: "TextStyles__StyledVisibilityToggle",
371
372
  componentId: "eg7n6t-5"
372
- })([ "", "" ], F);
373
- var X = N().span.withConfig({
373
+ })([ "", "" ], H);
374
+ var Y = N().span.withConfig({
374
375
  displayName: "TextStyles__StyledPlaceholder",
375
376
  componentId: "eg7n6t-6"
376
377
  })([ "pointer-events:none;color:", ";position:absolute;overflow:hidden;font-size:inherit;line-height:inherit;height:", ";margin-right:", ";", ";", ";", "" ], (0,
@@ -382,7 +383,7 @@
382
383
  prisma: "14px"
383
384
  }), (function(e) {
384
385
  var t = e.$hasStartAdornment, r = e.$startAdornmentWidth;
385
- return t && (r ? (0, D.css)([ "margin-left:", "px;" ], r) : (0, D.css)([ "margin-left:", ";" ], (0,
386
+ return t && (r ? (0, B.css)([ "margin-left:", "px;" ], r) : (0, B.css)([ "margin-left:", ";" ], (0,
386
387
  A.pick)({
387
388
  enterprise: {
388
389
  comfortable: "30px",
@@ -395,10 +396,10 @@
395
396
  })));
396
397
  }), (function(e) {
397
398
  var t = e.$hasEndAdornment, r = e.$endAdornmentWidth;
398
- return t && (r ? (0, D.css)([ "max-width:calc( 100% - ", " - ", "px );" ], (0, A.pick)({
399
+ return t && (r ? (0, B.css)([ "max-width:calc( 100% - ", " - ", "px );" ], (0, A.pick)({
399
400
  enterprise: "10px",
400
401
  prisma: "14px"
401
- }), r) : (0, D.css)([ "max-width:calc( 100% - ", " - ", " );" ], (0, A.pick)({
402
+ }), r) : (0, B.css)([ "max-width:calc( 100% - ", " - ", " );" ], (0, A.pick)({
402
403
  enterprise: "10px",
403
404
  prisma: "14px"
404
405
  }), (0, A.pick)({
@@ -413,9 +414,9 @@
413
414
  })));
414
415
  }), (function(e) {
415
416
  var t = e.$hasBothAdornment, r = e.$endAdornmentWidth, n = e.$startAdornmentWidth;
416
- return t && (0, D.css)([ "max-width:calc(100% - ", "px - ", "px);" ], n, r);
417
+ return t && (0, B.css)([ "max-width:calc(100% - ", "px - ", "px);" ], n, r);
417
418
  }));
418
- var Y = (0, D.css)([ "display:inline-flex;align-items:center;justify-content:center;height:", ";pointer-events:none;" ], (0,
419
+ var ee = (0, B.css)([ "display:inline-flex;align-items:center;justify-content:center;height:", ";pointer-events:none;" ], (0,
419
420
  A.pick)({
420
421
  enterprise: {
421
422
  comfortable: "30px",
@@ -426,12 +427,12 @@
426
427
  compact: "30px"
427
428
  }
428
429
  }));
429
- var ee = N().div.withConfig({
430
+ var te = N().div.withConfig({
430
431
  displayName: "TextStyles__StyledStartAdornmentHolder",
431
432
  componentId: "eg7n6t-7"
432
- })([ "", " ", ";" ], Y, (function(e) {
433
+ })([ "", " ", ";" ], ee, (function(e) {
433
434
  var t = e.$width;
434
- return t ? (0, D.css)([ "min-width:", "px;" ], t) : (0, D.css)([ "min-width:", ";" ], (0,
435
+ return t ? (0, B.css)([ "min-width:", "px;" ], t) : (0, B.css)([ "min-width:", ";" ], (0,
435
436
  A.pick)({
436
437
  enterprise: {
437
438
  comfortable: "30px",
@@ -443,12 +444,12 @@
443
444
  }
444
445
  }));
445
446
  }));
446
- var te = N().div.withConfig({
447
+ var re = N().div.withConfig({
447
448
  displayName: "TextStyles__StyledEndAdornmentHolder",
448
449
  componentId: "eg7n6t-8"
449
- })([ "", " ", ";" ], Y, (function(e) {
450
+ })([ "", " ", ";" ], ee, (function(e) {
450
451
  var t = e.$width;
451
- return t ? (0, D.css)([ "min-width:", "px;" ], t) : (0, D.css)([ "min-width:", ";" ], (0,
452
+ return t ? (0, B.css)([ "min-width:", "px;" ], t) : (0, B.css)([ "min-width:", ";" ], (0,
452
453
  A.pick)({
453
454
  enterprise: {
454
455
  comfortable: "30px",
@@ -460,7 +461,7 @@
460
461
  }
461
462
  }));
462
463
  }));
463
- var re = N().div.withConfig({
464
+ var ne = N().div.withConfig({
464
465
  displayName: "TextStyles__StyledAdornment",
465
466
  componentId: "eg7n6t-9"
466
467
  })([ "display:inline-flex;align-items:center;justify-content:center;position:absolute;pointer-events:none;z-index:1;height:", ";color:", ";", ";", ";", "" ], (0,
@@ -481,12 +482,12 @@
481
482
  prisma: A.variables.contentColorMuted
482
483
  }), (function(e) {
483
484
  var t = e.$position;
484
- return t === "start" ? (0, D.css)([ "top:1px;left:1px;" ]) : (0, D.css)([ "top:1px;right:1px;" ]);
485
+ return t === "start" ? (0, B.css)([ "top:1px;left:1px;" ]) : (0, B.css)([ "top:1px;right:1px;" ]);
485
486
  }), (function(e) {
486
487
  var t = e.disabled;
487
488
  return t && Z;
488
489
  }), (0, A.pick)({
489
- enterprise: (0, D.css)([ "margin-left:-1px;margin-right:-1px;" ])
490
+ enterprise: (0, B.css)([ "margin-left:-1px;margin-right:-1px;" ])
490
491
  }));
491
492
  // CONCATENATED MODULE: ./src/utils/updateReactRef.ts
492
493
  /**
@@ -495,7 +496,7 @@
495
496
  * @param ref - The React callback or object ref. Can be `null` or `undefined`.
496
497
  * @param current - The new value of the ref.
497
498
  */
498
- function ne(e, t) {
499
+ function ie(e, t) {
499
500
  if (e) {
500
501
  if (typeof e === "function") {
501
502
  e(t);
@@ -508,26 +509,26 @@
508
509
  }
509
510
  }
510
511
  // CONCATENATED MODULE: ./src/Text/Text.tsx
511
- function ie(e) {
512
+ function ae(e) {
512
513
  "@babel/helpers - typeof";
513
514
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
514
- ie = function e(t) {
515
+ ae = function e(t) {
515
516
  return typeof t;
516
517
  };
517
518
  } else {
518
- ie = function e(t) {
519
+ ae = function e(t) {
519
520
  return t && typeof Symbol === "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
520
521
  };
521
522
  }
522
- return ie(e);
523
+ return ae(e);
523
524
  }
524
- function ae(e) {
525
- return ce(e) || se(e) || le(e) || oe();
525
+ function oe(e) {
526
+ return de(e) || ce(e) || se(e) || le();
526
527
  }
527
- function oe() {
528
+ function le() {
528
529
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
529
530
  }
530
- function le(e, t) {
531
+ function se(e, t) {
531
532
  if (!e) return;
532
533
  if (typeof e === "string") return pe(e, t);
533
534
  var r = Object.prototype.toString.call(e).slice(8, -1);
@@ -535,10 +536,10 @@
535
536
  if (r === "Map" || r === "Set") return Array.from(e);
536
537
  if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return pe(e, t);
537
538
  }
538
- function se(e) {
539
+ function ce(e) {
539
540
  if (typeof Symbol !== "undefined" && Symbol.iterator in Object(e)) return Array.from(e);
540
541
  }
541
- function ce(e) {
542
+ function de(e) {
542
543
  if (Array.isArray(e)) return pe(e);
543
544
  }
544
545
  function pe(e, t) {
@@ -548,7 +549,7 @@
548
549
  }
549
550
  return n;
550
551
  }
551
- function de(e, t) {
552
+ function ue(e, t) {
552
553
  var r = Object.keys(e);
553
554
  if (Object.getOwnPropertySymbols) {
554
555
  var n = Object.getOwnPropertySymbols(e);
@@ -559,26 +560,26 @@
559
560
  }
560
561
  return r;
561
562
  }
562
- function ue(e) {
563
+ function fe(e) {
563
564
  for (var t = 1; t < arguments.length; t++) {
564
565
  var r = arguments[t] != null ? arguments[t] : {};
565
566
  if (t % 2) {
566
- de(Object(r), true).forEach((function(t) {
567
- Ee(e, t, r[t]);
567
+ ue(Object(r), true).forEach((function(t) {
568
+ Ae(e, t, r[t]);
568
569
  }));
569
570
  } else if (Object.getOwnPropertyDescriptors) {
570
571
  Object.defineProperties(e, Object.getOwnPropertyDescriptors(r));
571
572
  } else {
572
- de(Object(r)).forEach((function(t) {
573
+ ue(Object(r)).forEach((function(t) {
573
574
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
574
575
  }));
575
576
  }
576
577
  }
577
578
  return e;
578
579
  }
579
- function fe(e, t) {
580
+ function me(e, t) {
580
581
  if (e == null) return {};
581
- var r = me(e, t);
582
+ var r = he(e, t);
582
583
  var n, i;
583
584
  if (Object.getOwnPropertySymbols) {
584
585
  var a = Object.getOwnPropertySymbols(e);
@@ -591,7 +592,7 @@
591
592
  }
592
593
  return r;
593
594
  }
594
- function me(e, t) {
595
+ function he(e, t) {
595
596
  if (e == null) return {};
596
597
  var r = {};
597
598
  var n = Object.keys(e);
@@ -603,8 +604,8 @@
603
604
  }
604
605
  return r;
605
606
  }
606
- function he() {
607
- he = Object.assign || function(e) {
607
+ function ve() {
608
+ ve = Object.assign || function(e) {
608
609
  for (var t = 1; t < arguments.length; t++) {
609
610
  var r = arguments[t];
610
611
  for (var n in r) {
@@ -615,14 +616,14 @@
615
616
  }
616
617
  return e;
617
618
  };
618
- return he.apply(this, arguments);
619
+ return ve.apply(this, arguments);
619
620
  }
620
- function ve(e, t) {
621
+ function be(e, t) {
621
622
  if (!(e instanceof t)) {
622
623
  throw new TypeError("Cannot call a class as a function");
623
624
  }
624
625
  }
625
- function be(e, t) {
626
+ function Ce(e, t) {
626
627
  for (var r = 0; r < t.length; r++) {
627
628
  var n = t[r];
628
629
  n.enumerable = n.enumerable || false;
@@ -631,12 +632,12 @@
631
632
  Object.defineProperty(e, n.key, n);
632
633
  }
633
634
  }
634
- function Ce(e, t, r) {
635
- if (t) be(e.prototype, t);
636
- if (r) be(e, r);
635
+ function ye(e, t, r) {
636
+ if (t) Ce(e.prototype, t);
637
+ if (r) Ce(e, r);
637
638
  return e;
638
639
  }
639
- function ye(e, t) {
640
+ function ge(e, t) {
640
641
  if (typeof t !== "function" && t !== null) {
641
642
  throw new TypeError("Super expression must either be null or a function");
642
643
  }
@@ -647,41 +648,41 @@
647
648
  configurable: true
648
649
  }
649
650
  });
650
- if (t) ge(e, t);
651
+ if (t) xe(e, t);
651
652
  }
652
- function ge(e, t) {
653
- ge = Object.setPrototypeOf || function e(t, r) {
653
+ function xe(e, t) {
654
+ xe = Object.setPrototypeOf || function e(t, r) {
654
655
  t.__proto__ = r;
655
656
  return t;
656
657
  };
657
- return ge(e, t);
658
+ return xe(e, t);
658
659
  }
659
- function xe(e) {
660
- var t = Le();
660
+ function we(e) {
661
+ var t = Se();
661
662
  return function r() {
662
- var n = Se(e), i;
663
+ var n = Ee(e), i;
663
664
  if (t) {
664
- var a = Se(this).constructor;
665
+ var a = Ee(this).constructor;
665
666
  i = Reflect.construct(n, arguments, a);
666
667
  } else {
667
668
  i = n.apply(this, arguments);
668
669
  }
669
- return we(this, i);
670
+ return ke(this, i);
670
671
  };
671
672
  }
672
- function we(e, t) {
673
- if (t && (ie(t) === "object" || typeof t === "function")) {
673
+ function ke(e, t) {
674
+ if (t && (ae(t) === "object" || typeof t === "function")) {
674
675
  return t;
675
676
  }
676
- return ke(e);
677
+ return Le(e);
677
678
  }
678
- function ke(e) {
679
+ function Le(e) {
679
680
  if (e === void 0) {
680
681
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
681
682
  }
682
683
  return e;
683
684
  }
684
- function Le() {
685
+ function Se() {
685
686
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
686
687
  if (Reflect.construct.sham) return false;
687
688
  if (typeof Proxy === "function") return true;
@@ -692,13 +693,13 @@
692
693
  return false;
693
694
  }
694
695
  }
695
- function Se(e) {
696
- Se = Object.setPrototypeOf ? Object.getPrototypeOf : function e(t) {
696
+ function Ee(e) {
697
+ Ee = Object.setPrototypeOf ? Object.getPrototypeOf : function e(t) {
697
698
  return t.__proto__ || Object.getPrototypeOf(t);
698
699
  };
699
- return Se(e);
700
+ return Ee(e);
700
701
  }
701
- function Ee(e, t, r) {
702
+ function Ae(e, t, r) {
702
703
  if (t in e) {
703
704
  Object.defineProperty(e, t, {
704
705
  value: r,
@@ -711,7 +712,7 @@
711
712
  }
712
713
  return e;
713
714
  }
714
- /** @public */ var Ae = {
715
+ /** @public */ var Oe = {
715
716
  appearance: a().oneOf([ "default", "search" ]),
716
717
  append: a().bool,
717
718
  autoCapitalize: a().string,
@@ -724,7 +725,7 @@
724
725
  classNamePrivate: a().string,
725
726
  defaultValue: a().string,
726
727
  describedBy: a().string,
727
- disabled: a().bool,
728
+ disabled: a().oneOfType([ a().bool, a().oneOf([ "dimmed" ]) ]),
728
729
  elementRef: a().oneOfType([ a().func, a().object ]),
729
730
  endAdornment: a().node,
730
731
  error: a().bool,
@@ -759,7 +760,7 @@
759
760
  useSyntheticPlaceholder: a().bool,
760
761
  value: a().string
761
762
  };
762
- var Oe = {
763
+ var Te = {
763
764
  appearance: "default",
764
765
  append: false,
765
766
  autoFocus: false,
@@ -776,10 +777,10 @@
776
777
  type: "text",
777
778
  passwordVisibilityToggle: false
778
779
  };
779
- /** Note: Text places role and aria props onto the input. All other props are placed on the wrapper. */ var Te = function(e) {
780
- ye(r, e);
781
- var t = xe(r);
782
- Ce(r, null, [ {
780
+ /** Note: Text places role and aria props onto the input. All other props are placed on the wrapper. */ var Ie = function(e) {
781
+ ge(r, e);
782
+ var t = we(r);
783
+ ye(r, null, [ {
783
784
  key: "validateRows",
784
785
  // @docs-props-type TextPropsBase
785
786
  value: function e(t) {
@@ -789,13 +790,13 @@
789
790
  } ]);
790
791
  function r(e) {
791
792
  var i;
792
- ve(this, r);
793
+ be(this, r);
793
794
  i = t.call(this, e);
794
- Ee(ke(i), "controlledExternally", void 0);
795
- Ee(ke(i), "input", null);
796
- Ee(ke(i), "startAdornment", null);
797
- Ee(ke(i), "endAdornment", null);
798
- Ee(ke(i), "getAdornmentWidth", (function() {
795
+ Ae(Le(i), "controlledExternally", void 0);
796
+ Ae(Le(i), "input", null);
797
+ Ae(Le(i), "startAdornment", null);
798
+ Ae(Le(i), "endAdornment", null);
799
+ Ae(Le(i), "getAdornmentWidth", (function() {
799
800
  var e = i.startAdornment ? i.startAdornment.getBoundingClientRect() : undefined;
800
801
  var t = e && Math.round(e.width);
801
802
  if (i.state.startAdornmentWidth !== t) {
@@ -811,11 +812,11 @@
811
812
  });
812
813
  }
813
814
  }));
814
- Ee(ke(i), "handleInputMount", (function(e) {
815
+ Ae(Le(i), "handleInputMount", (function(e) {
815
816
  i.input = e;
816
- ne(i.props.inputRef, e);
817
+ ie(i.props.inputRef, e);
817
818
  }));
818
- Ee(ke(i), "handleInputChange", (function(e) {
819
+ Ae(Le(i), "handleInputChange", (function(e) {
819
820
  var t, r;
820
821
  var n = e.target.value;
821
822
  var a = i.props.name;
@@ -829,19 +830,19 @@
829
830
  name: a
830
831
  });
831
832
  }));
832
- Ee(ke(i), "handleInputKeyDown", (function(e) {
833
+ Ae(Le(i), "handleInputKeyDown", (function(e) {
833
834
  var t, r;
834
835
  (t = (r = i.props).onKeyDown) === null || t === void 0 ? void 0 : t.call(r, e);
835
836
  }));
836
- Ee(ke(i), "handleInputSelect", (function(e) {
837
+ Ae(Le(i), "handleInputSelect", (function(e) {
837
838
  var t, r;
838
839
  (t = (r = i.props).onSelect) === null || t === void 0 ? void 0 : t.call(r, e);
839
840
  }));
840
- Ee(ke(i), "handleInputClick", (function(e) {
841
+ Ae(Le(i), "handleInputClick", (function(e) {
841
842
  var t, r;
842
843
  (t = (r = i.props).onInputClick) === null || t === void 0 ? void 0 : t.call(r, e);
843
844
  }));
844
- Ee(ke(i), "handleBoxClick", (function(e) {
845
+ Ae(Le(i), "handleBoxClick", (function(e) {
845
846
  var t, r;
846
847
  if (document.activeElement !== i.input) {
847
848
  var n;
@@ -849,10 +850,10 @@
849
850
  }
850
851
  (t = (r = i.props).onClick) === null || t === void 0 ? void 0 : t.call(r, e);
851
852
  }));
852
- Ee(ke(i), "handleAdornmentClick", (function(e) {
853
+ Ae(Le(i), "handleAdornmentClick", (function(e) {
853
854
  e.stopPropagation();
854
855
  }));
855
- Ee(ke(i), "handleInputFocus", (function(e) {
856
+ Ae(Le(i), "handleInputFocus", (function(e) {
856
857
  var t, r;
857
858
  var n = e.target.value;
858
859
  var a = i.props.name;
@@ -861,7 +862,7 @@
861
862
  name: a
862
863
  });
863
864
  }));
864
- Ee(ke(i), "handleInputBlur", (function(e) {
865
+ Ae(Le(i), "handleInputBlur", (function(e) {
865
866
  var t, r;
866
867
  var n = e.target.value;
867
868
  var a = i.props.name;
@@ -870,7 +871,7 @@
870
871
  name: a
871
872
  });
872
873
  }));
873
- Ee(ke(i), "handleClear", (function(e) {
874
+ Ae(Le(i), "handleClear", (function(e) {
874
875
  var t, r;
875
876
  e.preventDefault();
876
877
  var n = "";
@@ -886,38 +887,38 @@
886
887
  name: a
887
888
  });
888
889
  }));
889
- Ee(ke(i), "handleVisibilityToggle", (function() {
890
+ Ae(Le(i), "handleVisibilityToggle", (function() {
890
891
  i.setState((function(e) {
891
892
  return {
892
893
  hideVisibility: !e.hideVisibility
893
894
  };
894
895
  }));
895
896
  }));
896
- Ee(ke(i), "renderEndAdornment", (function() {
897
+ Ae(Le(i), "renderEndAdornment", (function() {
897
898
  var e;
898
899
  var t = i.props, r = t.appearance, a = t.endAdornment, o = t.passwordVisibilityToggle, l = t.disabled, s = t.canClear, c = t.splunkTheme;
899
- var p = c.isPrisma, d = c.isCompact, u = c.isEnterprise;
900
- var f = d ? "20px" : "24px";
900
+ var d = c.isPrisma, p = c.isCompact, u = c.isEnterprise;
901
+ var f = p ? "20px" : "24px";
901
902
  var m = {
902
903
  ref: function e(t) {
903
904
  i.endAdornment = t;
904
905
  },
905
- disabled: l,
906
+ disabled: !!l,
906
907
  $position: "end"
907
908
  };
908
909
  if (a) {
909
910
 
910
- return n().createElement(re, he({
911
+ return n().createElement(ne, ve({
911
912
  "data-test": "end-adornment",
912
913
  onClick: i.handleAdornmentClick
913
914
  }, m), a);
914
915
  }
915
916
  if (o && !l) {
916
- var h = i.state.hideVisibility ? n().createElement(B, null) : n().createElement($, null);
917
+ var h = i.state.hideVisibility ? n().createElement(D, null) : n().createElement(R, null);
917
918
 
918
- return n().createElement(re, he({
919
+ return n().createElement(ne, ve({
919
920
  onClick: i.handleAdornmentClick
920
- }, m), n().createElement(Q, {
921
+ }, m), n().createElement(X, {
921
922
  appearance: "subtle",
922
923
  "data-test": "password-toggle",
923
924
  inline: false,
@@ -933,8 +934,8 @@
933
934
  if (u && r === "search") {
934
935
  if (!w) {
935
936
 
936
- return n().createElement(re, m, n().createElement(K, {
937
- $disabled: l,
937
+ return n().createElement(ne, m, n().createElement(G, {
938
+ $disabled: !!l,
938
939
  "data-test": "search-icon"
939
940
  }, n().createElement(g(), {
940
941
  screenReaderText: null,
@@ -944,7 +945,7 @@
944
945
  })));
945
946
  }
946
947
 
947
- return n().createElement(re, m, !l && n().createElement(H, {
948
+ return n().createElement(ne, m, !l && n().createElement(K, {
948
949
  appearance: "subtle",
949
950
  "data-test": "clear",
950
951
  inline: false,
@@ -954,9 +955,9 @@
954
955
  screenReaderText: null
955
956
  }),
956
957
  onClick: i.handleClear
957
- }), n().createElement(K, {
958
+ }), n().createElement(G, {
958
959
  "data-test": "search-icon",
959
- $disabled: l
960
+ $disabled: !!l
960
961
  }, n().createElement(g(), {
961
962
  screenReaderText: null,
962
963
  hideDefaultTooltip: true,
@@ -964,9 +965,9 @@
964
965
  inline: false
965
966
  })));
966
967
  }
967
- if (!!w && (p && r === "search" || s)) {
968
+ if (!!w && (d && r === "search" || s)) {
968
969
 
969
- return n().createElement(re, m, !l && n().createElement(H, {
970
+ return n().createElement(ne, m, !l && n().createElement(K, {
970
971
  "data-test": "clear",
971
972
  appearance: "subtle",
972
973
  "aria-label": x,
@@ -983,29 +984,29 @@
983
984
  }
984
985
  return undefined;
985
986
  }));
986
- Ee(ke(i), "renderStartAdornment", (function() {
987
+ Ae(Le(i), "renderStartAdornment", (function() {
987
988
  var e = i.props, t = e.appearance, r = e.startAdornment, a = e.splunkTheme, o = e.disabled;
988
989
  var l = a.isPrisma, s = a.isCompact;
989
990
  var c = s ? "20px" : "24px";
990
- var p = {
991
+ var d = {
991
992
  ref: function e(t) {
992
993
  i.startAdornment = t;
993
994
  },
994
- disabled: o,
995
+ disabled: !!o,
995
996
  $position: "start"
996
997
  };
997
998
  if (r) {
998
999
 
999
- return n().createElement(re, he({
1000
+ return n().createElement(ne, ve({
1000
1001
  "data-test": "start-adornment",
1001
1002
  onClick: i.handleAdornmentClick
1002
- }, p), r);
1003
+ }, d), r);
1003
1004
  }
1004
1005
  if (l && t === "search") {
1005
1006
 
1006
- return n().createElement(re, p, n().createElement(K, {
1007
+ return n().createElement(ne, d, n().createElement(G, {
1007
1008
  "data-test": "search-icon",
1008
- $disabled: o
1009
+ $disabled: !!o
1009
1010
  }, n().createElement(w(), {
1010
1011
  height: c,
1011
1012
  width: c
@@ -1013,7 +1014,7 @@
1013
1014
  }
1014
1015
  return undefined;
1015
1016
  }));
1016
- Ee(ke(i), "getDisplayValue", (function() {
1017
+ Ae(Le(i), "getDisplayValue", (function() {
1017
1018
  var e = i.isControlled() ? i.props.value : i.state.value;
1018
1019
  return e;
1019
1020
  }));
@@ -1034,7 +1035,7 @@
1034
1035
  r.validateRows(e);
1035
1036
  return i;
1036
1037
  }
1037
- Ce(r, [ {
1038
+ ye(r, [ {
1038
1039
  key: "componentDidMount",
1039
1040
  value: function e() {
1040
1041
  this.getAdornmentWidth();
@@ -1075,27 +1076,28 @@
1075
1076
  }, {
1076
1077
  key: "render",
1077
1078
  value: function e() {
1078
- var t = this.props, r = t.append, i = t.autoCapitalize, a = t.autoComplete, o = t.autoCorrect, l = t.autoFocus, s = t.children, p = t.className, u = t.classNamePrivate, m = t.disabled, h = t.describedBy, v = t.elementRef, b = t.error, C = t.inline, y = t.inputClassName, g = t.inputId, x = t.labelledBy, w = t.multiline, k = t.maxLength, S = t.name, A = t.passwordVisibilityToggle, T = t.placeholder, I = t.prepend, j = t.required, M = t.spellCheck, R = t.tabIndex, $ = t.title, _ = t.type, P = t.useSyntheticPlaceholder, B = fe(t, [ "append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "required", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder" ]);
1079
- var D = ue(ue({
1079
+ var t = this.props, r = t.append, i = t.autoCapitalize, a = t.autoComplete, o = t.autoCorrect, l = t.autoFocus, s = t.children, d = t.className, u = t.classNamePrivate, m = t.disabled, h = t.describedBy, v = t.elementRef, b = t.error, C = t.inline, y = t.inputClassName, g = t.inputId, x = t.labelledBy, w = t.multiline, k = t.maxLength, S = t.name, A = t.passwordVisibilityToggle, T = t.placeholder, I = t.prepend, j = t.required, $ = t.spellCheck, M = t.tabIndex, R = t.title, _ = t.type, P = t.useSyntheticPlaceholder, D = me(t, [ "append", "autoCapitalize", "autoComplete", "autoCorrect", "autoFocus", "children", "className", "classNamePrivate", "disabled", "describedBy", "elementRef", "error", "inline", "inputClassName", "inputId", "labelledBy", "multiline", "maxLength", "name", "passwordVisibilityToggle", "placeholder", "prepend", "required", "spellCheck", "tabIndex", "title", "type", "useSyntheticPlaceholder" ]);
1080
+ var B = fe(fe({
1080
1081
  role: "textbox"
1081
- }, f()(B, (function(e, t) {
1082
+ }, f()(D, (function(e, t) {
1082
1083
  return t === "role" || t.indexOf("aria-") === 0;
1083
1084
  }))), {}, {
1084
1085
  "aria-describedby": h,
1085
1086
  "aria-labelledby": x,
1086
- "aria-invalid": b || undefined
1087
+ "aria-invalid": b || undefined,
1088
+ "aria-disabled": m === "dimmed"
1087
1089
  });
1088
- var N = d()(B, [ "inputRef", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onSelect", "onInputClick", "rowsMax", "rowsMin" ].concat(ae(c()(D))));
1090
+ var N = p()(D, [ "inputRef", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onSelect", "onInputClick", "rowsMax", "rowsMin" ].concat(oe(c()(B))));
1089
1091
  var q = this.getDisplayValue();
1090
1092
  var V = {
1091
- className: (0, O.toClassName)(p, y),
1093
+ className: (0, O.toClassName)(d, y),
1092
1094
  $append: r || undefined,
1093
1095
  $error: b,
1094
1096
  $prepend: I || undefined
1095
1097
  };
1096
1098
  var W = this.state.hideVisibility ? "password" : "text";
1097
1099
  var z = A ? W : _;
1098
- var Z = ue(ue({}, D), {}, {
1100
+ var Z = fe(fe({}, B), {}, {
1099
1101
  "data-test": "textbox",
1100
1102
  autoCapitalize: i,
1101
1103
  autoComplete: a,
@@ -1113,12 +1115,12 @@
1113
1115
  onBlur: this.handleInputBlur,
1114
1116
  ref: this.handleInputMount,
1115
1117
  required: j,
1116
- spellCheck: M,
1118
+ spellCheck: $,
1117
1119
  style: {
1118
1120
  height: this.state.height
1119
1121
  },
1120
- title: $,
1121
- tabIndex: R,
1122
+ title: R,
1123
+ tabIndex: M,
1122
1124
  type: z,
1123
1125
  value: q,
1124
1126
  $error: b
@@ -1128,65 +1130,66 @@
1128
1130
  var H = _ === "password" || A ? undefined : q;
1129
1131
  // Firefox hack (SUI-2716). Remove when fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1427173
1130
1132
  var K = _ === "time";
1131
- var Q = this.renderStartAdornment();
1132
- var Y = this.renderEndAdornment();
1133
- var re = !!Q;
1134
- var ne = !!Y;
1133
+ var G = this.renderStartAdornment();
1134
+ var X = this.renderEndAdornment();
1135
+ var ee = !!G;
1136
+ var ne = !!X;
1135
1137
  if (w) {
1136
1138
 
1137
1139
  return n().createElement(E(), this.props);
1138
1140
  }
1139
1141
 
1140
- return n().createElement(G, he({
1142
+ return n().createElement(U, ve({
1141
1143
  tabIndex: -1,
1142
1144
  $isTimeInput: K,
1143
- className: (0, O.toClassName)(p, u),
1145
+ className: (0, O.toClassName)(d, u),
1144
1146
  "data-test": "text",
1145
1147
  "data-test-value": H,
1146
1148
  elementRef: v,
1147
1149
  flex: true,
1148
1150
  inline: C,
1149
1151
  onClick: this.handleBoxClick
1150
- }, N), Q, n().createElement(U, he({
1152
+ }, N), G, n().createElement(J, ve({
1151
1153
  $hasEndAdornment: ne,
1152
- $hasStartAdornment: re,
1153
- disabled: m
1154
- }, V), re && n().createElement(ee, {
1154
+ $hasStartAdornment: ee,
1155
+ $isDisabled: m === true,
1156
+ $isDimmed: m === "dimmed"
1157
+ }, V), ee && n().createElement(te, {
1155
1158
  $width: this.state.startAdornmentWidth
1156
- }), m ? n().createElement(J, he({
1157
- className: (0, O.toClassName)(p, u),
1159
+ }), m ? n().createElement(Q, ve({
1160
+ className: (0, O.toClassName)(d, u),
1158
1161
  "data-test": "textbox",
1159
- disabled: true,
1162
+ disabled: m === true,
1160
1163
  readOnly: true,
1161
1164
  type: z,
1162
1165
  value: q,
1163
1166
  placeholder: T && !P ? T : undefined
1164
- }, D)) : n().createElement(J, he({}, Z, {
1167
+ }, B)) : n().createElement(Q, ve({}, Z, {
1165
1168
  onClick: this.handleInputClick
1166
- })), F && n().createElement(L(), null, T), F && n().createElement(X, {
1169
+ })), F && n().createElement(L(), null, T), F && n().createElement(Y, {
1167
1170
  $endAdornmentWidth: this.state.endAdornmentWidth,
1168
- $hasBothAdornment: re && ne,
1171
+ $hasBothAdornment: ee && ne,
1169
1172
  $hasEndAdornment: ne,
1170
- $hasStartAdornment: re,
1173
+ $hasStartAdornment: ee,
1171
1174
  $startAdornmentWidth: this.state.startAdornmentWidth,
1172
1175
  "aria-hidden": true,
1173
1176
  "data-role": "placeholder"
1174
- }, T), s, ne && n().createElement(te, {
1177
+ }, T), s, ne && n().createElement(re, {
1175
1178
  $width: this.state.endAdornmentWidth
1176
- })), Y);
1179
+ })), X);
1177
1180
  }
1178
1181
  } ]);
1179
1182
  return r;
1180
1183
  }(r.Component);
1181
- Ee(Te, "propTypes", Ae);
1182
- Ee(Te, "defaultProps", Oe);
1183
- Ee(Te, "componentType", "Text");
1184
- Ee(Te, "contextType", m.ControlGroupContext);
1185
- var Ie = (0, A.withSplunkTheme)(Te);
1186
- var je = Ie;
1187
- je.propTypes = Te.propTypes;
1188
- je.componentType = Te.componentType;
1189
- /* harmony default export */ const Me = je;
1184
+ Ae(Ie, "propTypes", Oe);
1185
+ Ae(Ie, "defaultProps", Te);
1186
+ Ae(Ie, "componentType", "Text");
1187
+ Ae(Ie, "contextType", m.ControlGroupContext);
1188
+ var je = (0, A.withSplunkTheme)(Ie);
1189
+ var $e = je;
1190
+ $e.propTypes = Ie.propTypes;
1191
+ $e.componentType = Ie.componentType;
1192
+ /* harmony default export */ const Me = $e;
1190
1193
  // CONCATENATED MODULE: ./src/Text/index.ts
1191
1194
  module.exports = t;
1192
1195
  /******/})();