@splunk/react-ui 4.37.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.
package/Slider.js CHANGED
@@ -61,7 +61,7 @@
61
61
  e.r(t);
62
62
  // EXPORTS
63
63
  e.d(t, {
64
- default: () => /* reexport */ ne
64
+ default: () => /* reexport */ Z
65
65
  });
66
66
  // CONCATENATED MODULE: external "react"
67
67
  const r = require("react");
@@ -98,56 +98,19 @@
98
98
  const w = require("tinycolor2");
99
99
  var S = e.n(w);
100
100
  // CONCATENATED MODULE: external "@splunk/react-ui/Box"
101
- const T = require("@splunk/react-ui/Box");
102
- var C = e.n(T);
101
+ const C = require("@splunk/react-ui/Box");
102
+ var T = e.n(C);
103
103
  // CONCATENATED MODULE: ./src/Slider/SliderStyles.ts
104
- var M = x()(C()).withConfig({
104
+ var V = x()(T()).withConfig({
105
105
  displayName: "SliderStyles__StyledBox",
106
106
  componentId: "sc-16ooit4-0"
107
107
  })([ "", ";flex:1 1 auto;&[data-inline]{width:300px;}" ], h.mixins.reset("block"));
108
- var V = x().div.withConfig({
108
+ var E = x().div.withConfig({
109
109
  displayName: "SliderStyles__StyledInput",
110
110
  componentId: "sc-16ooit4-1"
111
111
  })([ "flex:1 0 0;vertical-align:middle;position:relative;cursor:default;height:", ";max-width:100%;" ], h.variables.inputHeight);
112
- var E = "1px";
113
- var O = function e(t) {
114
- var r = t.$error;
115
- return (0, h.pick)({
116
- enterprise: {
117
- light: h.variables.gray22,
118
- dark: h.variables.white
119
- },
120
- prisma: r ? h.variables.accentColorNegative : h.variables.contentColorActive
121
- });
122
- };
123
- var B = (0, h.pick)({
124
- enterprise: {
125
- dark: h.variables.gray20,
126
- light: h.variables.gray96
127
- },
128
- prisma: h.variables.neutral100
129
- });
130
- var $ = (0, h.pick)({
131
- enterprise: h.variables.gray60,
132
- prisma: h.variables.interactiveColorBorder
133
- });
134
- var _ = function e(t) {
135
- var r = t.$error, n = t.$position, i = t.$stepMarksWidth;
136
- /* stylelint-disable indentation */ return i !== undefined ? (0, k.css)([ "background-image:linear-gradient( to right,", ",", " ", ",transparent ", ",transparent 100% ),repeating-linear-gradient( to right,", ",", " ", ",transparent ", ",transparent ", "% ),linear-gradient( to right,", ",", " ", "%,", " ", "%,", " );" ], O({
137
- $error: r
138
- }), O({
139
- $error: r
140
- }), E, E, B, B, E, E, i, O({
141
- $error: r
142
- }), O({
143
- $error: r
144
- }), n, $, n, $) : (0, k.css)([ "background-image:linear-gradient( to right,", ",", " ", "%,", " ", "%,", " );" ], O({
145
- $error: r
146
- }), O({
147
- $error: r
148
- }), n, $, n, $);
149
- /* stylelint-enable indentation */ };
150
- var P = x().div.withConfig({
112
+ var M = "1px";
113
+ var O = x().div.withConfig({
151
114
  displayName: "SliderStyles__StyledSliderBar",
152
115
  componentId: "sc-16ooit4-2"
153
116
  })([ "position:absolute;top:", ";left:0;height:", ";width:100%;border-radius:2.5px;", "" ], (0,
@@ -159,23 +122,41 @@
159
122
  prisma: "4px"
160
123
  }), (function(e) {
161
124
  var t = e.$disabled, r = e.$error, n = e.$position, i = e.$stepMarksWidth;
162
- return t ? (0, k.css)([ "background-color:", ";" ], (0, h.pick)({
163
- enterprise: h.variables.gray92,
164
- prisma: h.variables.contentColorDisabled
165
- })) : _({
166
- $error: r,
167
- $position: n,
168
- $stepMarksWidth: i
125
+ if (t) {
126
+ return (0, k.css)([ "background-color:", ";" ], (0, h.pick)({
127
+ enterprise: h.variables.gray92,
128
+ prisma: h.variables.contentColorDisabled
129
+ }));
130
+ }
131
+ var a = r ? h.variables.accentColorNegative : (0, h.pick)({
132
+ prisma: h.variables.contentColorActive,
133
+ enterprise: {
134
+ light: h.variables.gray22,
135
+ dark: h.variables.white
136
+ }
137
+ });
138
+ var o = (0, h.pick)({
139
+ enterprise: {
140
+ dark: h.variables.gray20,
141
+ light: h.variables.gray96
142
+ },
143
+ prisma: h.variables.neutral100
144
+ });
145
+ var s = (0, h.pick)({
146
+ enterprise: h.variables.gray60,
147
+ prisma: h.variables.interactiveColorBorder
169
148
  });
149
+ return i !== undefined ? (0, k.css)([ "background-image:linear-gradient( to right,", ",", " ", ",transparent ", ",transparent 100% ),repeating-linear-gradient( to right,", ",", " ", ",transparent ", ",transparent ", "% ),linear-gradient( to right,", ",", " ", "%,", " ", "%,", " );" ], a, a, M, M, o, o, M, M, i, a, a, n, s, n, s) : (0,
150
+ k.css)([ "background-image:linear-gradient( to right,", ",", " ", "%,", " ", "%,", " );" ], a, a, n, s, n, s);
170
151
  }));
171
- var j = (0, h.pick)({
152
+ var B = (0, h.pick)({
172
153
  enterprise: 18,
173
154
  prisma: 20
174
155
  });
175
- var q = x().button.withConfig({
156
+ var _ = x().button.withConfig({
176
157
  displayName: "SliderStyles__StyledSliderThumb",
177
158
  componentId: "sc-16ooit4-3"
178
- })([ "", ";display:block;position:absolute;cursor:pointer;width:", "px;height:", "px;border-radius:", ";border-width:0;background-color:", ";margin-left:-8px;top:", ";left:", "%;&:hover:not([disabled]){outline:0;z-index:1;", "}&:focus:not([disabled]),&:active{outline:0;box-shadow:", ";z-index:1;", "}&[disabled]{cursor:not-allowed;background-color:", ";}", "" ], h.mixins.reset("inline"), j, j, (0,
159
+ })([ "", ";display:block;position:absolute;cursor:pointer;width:", "px;height:", "px;border-radius:", ";border-width:0;background-color:", ";margin-left:-8px;top:", ";left:", "%;&:hover:not([disabled]){outline:0;z-index:1;", "}&:focus:not([disabled]),&:active{outline:0;box-shadow:", ";z-index:1;", "}&[disabled]{cursor:not-allowed;background-color:", ";}", "" ], h.mixins.reset("inline"), B, B, (0,
179
160
  h.pick)({
180
161
  enterprise: "9px",
181
162
  prisma: "10px"
@@ -201,13 +182,15 @@
201
182
  }), (0, h.pick)({
202
183
  enterprise: h.variables.gray92,
203
184
  prisma: h.variables.neutral400
204
- }), (0, h.pick)({
205
- prisma: function e(t) {
206
- var r = t.$error;
207
- return r && (0, k.css)([ "background-color:", ";&:focus:not([disabled]),&:active{background-color:", ";}" ], h.variables.accentColorNegative, h.mixins.overlayColors(h.variables.accentColorNegative, h.variables.interactiveColorOverlayActive));
208
- }
185
+ }), (function(e) {
186
+ var t = e.$error;
187
+ return t && (0, k.css)([ "background-color:", ";&:focus:not([disabled]),&:active{background-color:", ";}" ], h.variables.accentColorNegative, (0,
188
+ h.pick)({
189
+ enterprise: h.variables.errorColorD40,
190
+ prisma: h.mixins.overlayColors(h.variables.accentColorNegative, h.variables.interactiveColorOverlayActive)
191
+ }));
209
192
  }));
210
- var D = x().div.withConfig({
193
+ var P = x().div.withConfig({
211
194
  displayName: "SliderStyles__StyledPopoverContent",
212
195
  componentId: "sc-16ooit4-4"
213
196
  })([ "padding:", ";font-size:", ";line-height:", ";" ], (0, h.pick)({
@@ -220,43 +203,43 @@
220
203
  enterprise: "18px",
221
204
  prisma: "24px"
222
205
  }));
223
- var N = (0, k.css)([ "flex:0 0 auto;line-height:", ";", "" ], h.variables.inputHeight, (function(e) {
206
+ var j = (0, k.css)([ "flex:0 0 auto;line-height:", ";", "" ], h.variables.inputHeight, (function(e) {
224
207
  var t = e.$disabled;
225
208
  return t && (0, k.css)([ "color:", ";" ], (0, h.pick)({
226
209
  enterprise: h.variables.textDisabledColor,
227
210
  prisma: h.variables.contentColorDisabled
228
211
  }));
229
212
  }));
230
- var R = x()(C()).withConfig({
213
+ var D = x()(T()).withConfig({
231
214
  displayName: "SliderStyles__StyledMinLabelBox",
232
215
  componentId: "sc-16ooit4-5"
233
- })([ "", ";margin-right:", ";text-align:right;" ], N, (0, h.pick)({
216
+ })([ "", ";margin-right:", ";text-align:right;" ], j, (0, h.pick)({
234
217
  enterprise: "15px",
235
218
  prisma: "16px"
236
219
  }));
237
- var F = x()(C()).withConfig({
220
+ var q = x()(T()).withConfig({
238
221
  displayName: "SliderStyles__StyledMaxLabelBox",
239
222
  componentId: "sc-16ooit4-6"
240
- })([ "", ";margin-left:", ";text-align:left;" ], N, (0, h.pick)({
223
+ })([ "", ";margin-left:", ";text-align:left;" ], j, (0, h.pick)({
241
224
  enterprise: "15px",
242
225
  prisma: "16px"
243
226
  }));
244
227
  // CONCATENATED MODULE: ./src/Slider/Slider.tsx
245
- function I(e) {
228
+ function $(e) {
246
229
  "@babel/helpers - typeof";
247
230
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
248
- I = function e(t) {
231
+ $ = function e(t) {
249
232
  return typeof t;
250
233
  };
251
234
  } else {
252
- I = function e(t) {
235
+ $ = function e(t) {
253
236
  return t && typeof Symbol === "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
254
237
  };
255
238
  }
256
- return I(e);
239
+ return $(e);
257
240
  }
258
- function L() {
259
- L = Object.assign || function(e) {
241
+ function N() {
242
+ N = Object.assign || function(e) {
260
243
  for (var t = 1; t < arguments.length; t++) {
261
244
  var r = arguments[t];
262
245
  for (var n in r) {
@@ -267,14 +250,14 @@
267
250
  }
268
251
  return e;
269
252
  };
270
- return L.apply(this, arguments);
253
+ return N.apply(this, arguments);
271
254
  }
272
- function W(e, t) {
255
+ function R(e, t) {
273
256
  if (!(e instanceof t)) {
274
257
  throw new TypeError("Cannot call a class as a function");
275
258
  }
276
259
  }
277
- function A(e, t) {
260
+ function F(e, t) {
278
261
  for (var r = 0; r < t.length; r++) {
279
262
  var n = t[r];
280
263
  n.enumerable = n.enumerable || false;
@@ -283,12 +266,12 @@
283
266
  Object.defineProperty(e, n.key, n);
284
267
  }
285
268
  }
286
- function z(e, t, r) {
287
- if (t) A(e.prototype, t);
288
- if (r) A(e, r);
269
+ function I(e, t, r) {
270
+ if (t) F(e.prototype, t);
271
+ if (r) F(e, r);
289
272
  return e;
290
273
  }
291
- function K(e, t) {
274
+ function L(e, t) {
292
275
  if (typeof t !== "function" && t !== null) {
293
276
  throw new TypeError("Super expression must either be null or a function");
294
277
  }
@@ -299,41 +282,41 @@
299
282
  configurable: true
300
283
  }
301
284
  });
302
- if (t) U(e, t);
285
+ if (t) A(e, t);
303
286
  }
304
- function U(e, t) {
305
- U = Object.setPrototypeOf || function e(t, r) {
287
+ function A(e, t) {
288
+ A = Object.setPrototypeOf || function e(t, r) {
306
289
  t.__proto__ = r;
307
290
  return t;
308
291
  };
309
- return U(e, t);
292
+ return A(e, t);
310
293
  }
311
- function H(e) {
312
- var t = J();
294
+ function W(e) {
295
+ var t = U();
313
296
  return function r() {
314
- var n = Q(e), i;
297
+ var n = H(e), i;
315
298
  if (t) {
316
- var a = Q(this).constructor;
299
+ var a = H(this).constructor;
317
300
  i = Reflect.construct(n, arguments, a);
318
301
  } else {
319
302
  i = n.apply(this, arguments);
320
303
  }
321
- return X(this, i);
304
+ return z(this, i);
322
305
  };
323
306
  }
324
- function X(e, t) {
325
- if (t && (I(t) === "object" || typeof t === "function")) {
307
+ function z(e, t) {
308
+ if (t && ($(t) === "object" || typeof t === "function")) {
326
309
  return t;
327
310
  }
328
- return G(e);
311
+ return K(e);
329
312
  }
330
- function G(e) {
313
+ function K(e) {
331
314
  if (e === void 0) {
332
315
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
333
316
  }
334
317
  return e;
335
318
  }
336
- function J() {
319
+ function U() {
337
320
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
338
321
  if (Reflect.construct.sham) return false;
339
322
  if (typeof Proxy === "function") return true;
@@ -344,13 +327,13 @@
344
327
  return false;
345
328
  }
346
329
  }
347
- function Q(e) {
348
- Q = Object.setPrototypeOf ? Object.getPrototypeOf : function e(t) {
330
+ function H(e) {
331
+ H = Object.setPrototypeOf ? Object.getPrototypeOf : function e(t) {
349
332
  return t.__proto__ || Object.getPrototypeOf(t);
350
333
  };
351
- return Q(e);
334
+ return H(e);
352
335
  }
353
- function Y(e, t, r) {
336
+ function X(e, t, r) {
354
337
  if (t in e) {
355
338
  Object.defineProperty(e, t, {
356
339
  value: r,
@@ -363,7 +346,7 @@
363
346
  }
364
347
  return e;
365
348
  }
366
- var Z = {
349
+ var G = {
367
350
  defaultValue: a().number,
368
351
  describedBy: a().string,
369
352
  disabled: a().bool,
@@ -386,7 +369,7 @@
386
369
  splunkTheme: a().object,
387
370
  value: a().number
388
371
  };
389
- var ee = {
372
+ var J = {
390
373
  disabled: false,
391
374
  error: false,
392
375
  inline: false,
@@ -395,17 +378,17 @@
395
378
  step: 1,
396
379
  stepMarks: "focus"
397
380
  };
398
- var te = function(e) {
399
- K(r, e);
400
- var t = H(r);
381
+ var Q = function(e) {
382
+ L(r, e);
383
+ var t = W(r);
401
384
  // @docs-props-type SliderPropsBase
402
385
  function r(e) {
403
386
  var n;
404
- W(this, r);
387
+ R(this, r);
405
388
  n = t.call(this, e);
406
- Y(G(n), "controlledExternally", void 0);
407
- Y(G(n), "sliderThumb", null);
408
- Y(G(n), "checkPositionBounds", (function(e) {
389
+ X(K(n), "controlledExternally", void 0);
390
+ X(K(n), "sliderThumb", null);
391
+ X(K(n), "checkPositionBounds", (function(e) {
409
392
  if (e > 100) {
410
393
  return 100;
411
394
  }
@@ -414,7 +397,7 @@
414
397
  }
415
398
  return e;
416
399
  }));
417
- Y(G(n), "checkValueBounds", (function(e) {
400
+ X(K(n), "checkValueBounds", (function(e) {
418
401
  if (e > n.props.max) {
419
402
  return n.props.max;
420
403
  }
@@ -423,13 +406,13 @@
423
406
  }
424
407
  return e;
425
408
  }));
426
- Y(G(n), "handleBlur", (function() {
409
+ X(K(n), "handleBlur", (function() {
427
410
  n.setState({
428
411
  isFocused: false,
429
412
  showTooltip: false
430
413
  });
431
414
  }));
432
- Y(G(n), "handleClick", (function(e) {
415
+ X(K(n), "handleClick", (function(e) {
433
416
  var t = n.percentageFromEvent(e);
434
417
  if (t !== undefined) {
435
418
  var r = n.roundValueToStep(n.positionToValue(t));
@@ -438,13 +421,13 @@
438
421
  });
439
422
  }
440
423
  }));
441
- Y(G(n), "handleFocus", (function() {
424
+ X(K(n), "handleFocus", (function() {
442
425
  n.setState({
443
426
  isFocused: true,
444
427
  showTooltip: true
445
428
  });
446
429
  }));
447
- Y(G(n), "getValueOffset", (function(e, t) {
430
+ X(K(n), "getValueOffset", (function(e, t) {
448
431
  var r = n.props, i = r.min, a = r.step;
449
432
  var o = new (s())(e).minus(i).modulo(a).toNumber();
450
433
  if (o > 0) {
@@ -452,7 +435,7 @@
452
435
  }
453
436
  return a;
454
437
  }));
455
- Y(G(n), "handleKeyDown", (function(e) {
438
+ X(K(n), "handleKeyDown", (function(e) {
456
439
  var t = n.getValue();
457
440
  if (t !== undefined) {
458
441
  if ((0, v.keycode)(e.nativeEvent) === "right") {
@@ -474,12 +457,12 @@
474
457
  });
475
458
  }
476
459
  }));
477
- Y(G(n), "handleMount", (function(e) {
460
+ X(K(n), "handleMount", (function(e) {
478
461
  n.setState({
479
462
  sliderBar: e
480
463
  });
481
464
  }));
482
- Y(G(n), "handleMouseDown", (function(e) {
465
+ X(K(n), "handleMouseDown", (function(e) {
483
466
  e.preventDefault();
484
467
  n.focus();
485
468
  n.setState({
@@ -487,19 +470,19 @@
487
470
  showTooltip: true
488
471
  });
489
472
  }));
490
- Y(G(n), "handleMouseEnter", (function() {
473
+ X(K(n), "handleMouseEnter", (function() {
491
474
  n.setState({
492
475
  showTooltip: true
493
476
  });
494
477
  }));
495
- Y(G(n), "handleMouseLeave", (function() {
478
+ X(K(n), "handleMouseLeave", (function() {
496
479
  if (!n.state.selected) {
497
480
  n.setState({
498
481
  showTooltip: false
499
482
  });
500
483
  }
501
484
  }));
502
- Y(G(n), "handleMouseMove", (function(e) {
485
+ X(K(n), "handleMouseMove", (function(e) {
503
486
  if (n.state.selected) {
504
487
  var t = n.percentageFromEvent(e);
505
488
  if (t !== undefined) {
@@ -510,13 +493,13 @@
510
493
  }
511
494
  }
512
495
  }));
513
- Y(G(n), "handleMouseUp", (function() {
496
+ X(K(n), "handleMouseUp", (function() {
514
497
  n.setState({
515
498
  selected: false,
516
499
  showTooltip: false
517
500
  });
518
501
  }));
519
- Y(G(n), "percentageFromEvent", (function(e) {
502
+ X(K(n), "percentageFromEvent", (function(e) {
520
503
  if (n.state.sliderBar === null) {
521
504
  return undefined;
522
505
  }
@@ -524,11 +507,11 @@
524
507
  var r = e.clientX - t.left;
525
508
  return n.checkPositionBounds(r / t.width * 100);
526
509
  }));
527
- Y(G(n), "positionToValue", (function(e) {
510
+ X(K(n), "positionToValue", (function(e) {
528
511
  var t = n.props.max - n.props.min;
529
512
  return e / 100 * t + n.props.min;
530
513
  }));
531
- Y(G(n), "roundValueToStep", (function(e) {
514
+ X(K(n), "roundValueToStep", (function(e) {
532
515
  var t = n.props, r = t.step, i = t.min, a = t.max;
533
516
  // Handles if the max is in between steps but val is larger than the halfway point between last step mark and max
534
517
  if (e > a - (a - i) % r / 2) {
@@ -536,7 +519,7 @@
536
519
  }
537
520
  return new (s())(e).minus(i).div(r).todp(0).mul(r).add(i).toNumber();
538
521
  }));
539
- Y(G(n), "valueToPosition", (function(e) {
522
+ X(K(n), "valueToPosition", (function(e) {
540
523
  if (e === undefined) {
541
524
  return undefined;
542
525
  }
@@ -556,7 +539,7 @@
556
539
  if (e.min >= e.max && process.env.NODE_ENV !== "production") {}
557
540
  return n;
558
541
  }
559
- z(r, [ {
542
+ I(r, [ {
560
543
  key: "componentDidUpdate",
561
544
  value: function e(t) {
562
545
  if (false) {}
@@ -612,7 +595,7 @@
612
595
  }
613
596
  var s = Math.round((r - n) / i);
614
597
  var l = o.getBoundingClientRect();
615
- var u = j(a);
598
+ var u = B(a);
616
599
  return l.width / s > u / 2 ? this.stepWidthInPercentage() : undefined;
617
600
  }
618
601
  }, {
@@ -625,20 +608,20 @@
625
608
  value: function e() {
626
609
  var t = this;
627
610
  var i = this.props, a = i.describedBy, o = i.disabled, s = i.displayValue, l = i.elementRef, u = i.error, c = i.inline, d = i.labelledBy, v = i.max, h = i.maxLabel, m = i.min, y = i.minLabel, k = i.required, x = i.stepMarks;
628
- var w = this.state, S = w.isFocused, T = w.selected, C = w.sliderBar;
629
- var E = this.getValue();
630
- var O = this.valueToPosition(E);
631
- var B = x === "focus" && S || x === "always";
632
- var $ = B && C ? this.stepMarksWidth() : undefined;
633
- var _ = f()(this.props, p()(r.propTypes));
611
+ var w = this.state, S = w.isFocused, C = w.selected, T = w.sliderBar;
612
+ var M = this.getValue();
613
+ var B = this.valueToPosition(M);
614
+ var j = x === "focus" && S || x === "always";
615
+ var $ = j && T ? this.stepMarksWidth() : undefined;
616
+ var R = f()(this.props, p()(r.propTypes));
634
617
  /* eslint-disable jsx-a11y/no-static-element-interactions */
635
- return n().createElement(M, L({
618
+ return n().createElement(V, N({
636
619
  "data-test": "slider",
637
- "data-test-value": E,
620
+ "data-test-value": M,
638
621
  elementRef: l,
639
622
  flex: true,
640
623
  inline: c
641
- }, _), T && n().createElement(n().Fragment, null, n().createElement(b(), {
624
+ }, R), C && n().createElement(n().Fragment, null, n().createElement(b(), {
642
625
  target: window,
643
626
  eventType: "mouseup",
644
627
  listener: this.handleMouseUp
@@ -646,26 +629,26 @@
646
629
  target: window,
647
630
  eventType: "mousemove",
648
631
  listener: this.handleMouseMove
649
- })), y !== null && n().createElement(R, {
632
+ })), y !== null && n().createElement(D, {
650
633
  "data-test": "min-label",
651
634
  $disabled: o
652
- }, y || m), n().createElement(V, {
635
+ }, y || m), n().createElement(E, {
653
636
  onClick: o ? undefined : this.handleClick
654
- }, n().createElement(P, {
637
+ }, n().createElement(O, {
655
638
  "aria-required": k,
656
639
  "data-test": "bar",
657
640
  $disabled: o,
658
641
  ref: this.handleMount,
659
642
  $error: u,
660
- $position: O,
643
+ $position: B,
661
644
  $stepMarksWidth: $
662
- }), n().createElement(q, {
645
+ }), n().createElement(_, {
663
646
  "aria-describedby": a,
664
647
  "aria-labelledby": d,
665
648
  "aria-invalid": u,
666
649
  "aria-valuemax": v,
667
650
  "aria-valuemin": m,
668
- "aria-valuenow": E,
651
+ "aria-valuenow": M,
669
652
  "data-test": "handle",
670
653
  onBlur: this.handleBlur,
671
654
  onMouseEnter: this.handleMouseEnter,
@@ -679,13 +662,13 @@
679
662
  role: "slider",
680
663
  disabled: o,
681
664
  $error: u,
682
- $position: O
665
+ $position: B
683
666
  }), n().createElement(g(), {
684
667
  open: this.state.showTooltip,
685
668
  anchor: this.sliderThumb,
686
669
  appearance: "inverted",
687
670
  align: "center"
688
- }, n().createElement(D, null, s || E))), h !== null && n().createElement(F, {
671
+ }, n().createElement(P, null, s || M))), h !== null && n().createElement(q, {
689
672
  "data-test": "max-label",
690
673
  $disabled: o
691
674
  }, h || v));
@@ -693,11 +676,11 @@
693
676
  } ]);
694
677
  return r;
695
678
  }(r.Component);
696
- Y(te, "propTypes", Z);
697
- Y(te, "defaultProps", ee);
698
- var re = (0, h.withSplunkTheme)(te);
699
- re.propTypes = te.propTypes;
700
- /* harmony default export */ const ne = re;
679
+ X(Q, "propTypes", G);
680
+ X(Q, "defaultProps", J);
681
+ var Y = (0, h.withSplunkTheme)(Q);
682
+ Y.propTypes = Q.propTypes;
683
+ /* harmony default export */ const Z = Y;
701
684
  // CONCATENATED MODULE: ./src/Slider/index.ts
702
685
  module.exports = t;
703
686
  /******/})();