@splunk/react-ui 4.1.0 → 4.4.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.
Files changed (163) hide show
  1. package/Accordion.js +4 -4
  2. package/Anchor.js +2 -2
  3. package/Animation.js +26 -35
  4. package/AnimationToggle.js +2 -2
  5. package/Box.js +2 -2
  6. package/Button.js +22 -22
  7. package/ButtonGroup.js +2 -2
  8. package/ButtonSimple.js +12 -6
  9. package/CHANGELOG.md +69 -2
  10. package/Calendar.js +23 -23
  11. package/Card.js +15 -15
  12. package/CardLayout.js +2 -2
  13. package/Chip.js +13 -13
  14. package/Clickable.js +4 -4
  15. package/CloseButton.js +8 -8
  16. package/Code.js +1279 -1120
  17. package/CollapsiblePanel.js +11 -11
  18. package/Color.js +111 -172
  19. package/ColumnLayout.js +6 -6
  20. package/ComboBox.js +63 -30
  21. package/Concertina.js +2 -2
  22. package/ControlGroup.js +61 -20
  23. package/Date.js +66 -29
  24. package/DefinitionList.js +2 -2
  25. package/Dropdown.js +6 -6
  26. package/FetchOptions.js +8 -8
  27. package/File.js +87 -72
  28. package/FormRows.js +219 -331
  29. package/Heading.js +2 -2
  30. package/Image.js +15 -15
  31. package/JSONTree.js +63 -20
  32. package/Layer.js +8 -8
  33. package/Link.js +13 -13
  34. package/List.js +2 -2
  35. package/Markdown.js +19 -19
  36. package/Menu.js +315 -230
  37. package/Message.js +19 -19
  38. package/Modal.js +22 -11
  39. package/ModalLayer.js +25 -11
  40. package/Monogram.js +7 -7
  41. package/Multiselect.js +1931 -1057
  42. package/Number.js +40 -27
  43. package/Paginator.js +67 -49
  44. package/Paragraph.js +2 -2
  45. package/Popover.js +62 -35
  46. package/Progress.js +9 -21
  47. package/RadioBar.js +6 -6
  48. package/RadioList.js +2 -2
  49. package/ResultsMenu.js +18 -10
  50. package/ScreenReaderContent.js +2 -2
  51. package/Scroll.js +37 -19
  52. package/ScrollContainerContext.js +2 -2
  53. package/Select.js +1309 -562
  54. package/SidePanel.js +22 -17
  55. package/Slider.js +8 -8
  56. package/SlidingPanels.js +63 -47
  57. package/StaticContent.js +2 -2
  58. package/StepBar.js +8 -8
  59. package/Switch.js +20 -11
  60. package/TabBar.js +54 -40
  61. package/TabLayout.js +4 -4
  62. package/Table.js +148 -85
  63. package/Text.js +474 -356
  64. package/Tooltip.js +6 -6
  65. package/TransitionOpen.js +26 -24
  66. package/WaitSpinner.js +4 -4
  67. package/package.json +8 -7
  68. package/stubs-splunkui.d.ts +1 -0
  69. package/types/src/Accordion/Accordion.d.ts +2 -2
  70. package/types/src/Animation/Animation.d.ts +6 -5
  71. package/types/src/Button/Button.d.ts +2 -2
  72. package/types/src/ButtonSimple/ButtonSimple.d.ts +5 -5
  73. package/types/src/Calendar/DateTable.d.ts +1 -0
  74. package/types/src/Calendar/MonthHeader.d.ts +2 -2
  75. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -2
  76. package/types/src/Color/Color.d.ts +5 -4
  77. package/types/src/Color/Swatch.d.ts +4 -15
  78. package/types/src/ComboBox/ComboBox.d.ts +2 -2
  79. package/types/src/ControlGroup/ControlGroup.d.ts +7 -2
  80. package/types/src/ControlGroup/ControlGroupContext.d.ts +15 -0
  81. package/types/src/Date/Date.d.ts +7 -5
  82. package/types/src/Date/Icon.d.ts +1 -0
  83. package/types/src/Dropdown/Dropdown.d.ts +1 -1
  84. package/types/src/File/File.d.ts +2 -2
  85. package/types/src/File/FileContext.d.ts +9 -0
  86. package/types/src/File/Icon.d.ts +1 -0
  87. package/types/src/File/IconCloud.d.ts +1 -0
  88. package/types/src/File/Item.d.ts +5 -10
  89. package/types/src/File/PaperClip.d.ts +1 -0
  90. package/types/src/File/Retry.d.ts +1 -0
  91. package/types/src/File/Trash.d.ts +1 -0
  92. package/types/src/FormRows/FormRows.d.ts +11 -69
  93. package/types/src/FormRows/FormRowsContext.d.ts +9 -0
  94. package/types/src/FormRows/Row.d.ts +7 -20
  95. package/types/src/JSONTree/JSONTree.d.ts +14 -2
  96. package/types/src/JSONTree/TreeNode.d.ts +4 -1
  97. package/types/src/Menu/Divider.d.ts +1 -0
  98. package/types/src/Menu/Heading.d.ts +3 -1
  99. package/types/src/Menu/Item.d.ts +22 -6
  100. package/types/src/Menu/Menu.d.ts +17 -18
  101. package/types/src/Menu/MenuContext.d.ts +6 -0
  102. package/types/src/Menu/index.d.ts +1 -0
  103. package/types/src/Multiselect/Compact.d.ts +7 -26
  104. package/types/src/Multiselect/Multiselect.d.ts +7 -2
  105. package/types/src/Multiselect/Normal.d.ts +8 -2
  106. package/types/src/Multiselect/Option.d.ts +4 -1
  107. package/types/src/Number/IncrementIcon.d.ts +1 -0
  108. package/types/src/Number/Number.d.ts +4 -4
  109. package/types/src/Paginator/PageSeparator.d.ts +3 -0
  110. package/types/src/Popover/Popover.d.ts +5 -5
  111. package/types/src/Popover/PopoverContext.d.ts +6 -0
  112. package/types/src/Popover/index.d.ts +1 -0
  113. package/types/src/RadioBar/RadioBar.d.ts +5 -5
  114. package/types/src/RadioList/RadioListContext.d.ts +1 -0
  115. package/types/src/ResultsMenu/ResultsMenu.d.ts +4 -0
  116. package/types/src/Scroll/Inner.d.ts +4 -3
  117. package/types/src/Scroll/Scroll.d.ts +1 -1
  118. package/types/src/Select/Option.d.ts +2 -5
  119. package/types/src/Select/OptionBase.d.ts +94 -0
  120. package/types/src/Select/Select.d.ts +12 -37
  121. package/types/src/Select/SelectBase.d.ts +221 -0
  122. package/types/src/SidePanel/SidePanel.d.ts +4 -0
  123. package/types/src/Slider/Slider.d.ts +4 -4
  124. package/types/src/SlidingPanels/SlidingPanels.d.ts +0 -1
  125. package/types/src/Switch/CheckIcon.d.ts +1 -0
  126. package/types/src/Switch/Switch.d.ts +3 -7
  127. package/types/src/TabBar/Tab.d.ts +4 -1
  128. package/types/src/TabLayout/TabLayout.d.ts +2 -2
  129. package/types/src/Table/DragHandle.d.ts +1 -0
  130. package/types/src/Table/Head.d.ts +2 -0
  131. package/types/src/Table/HeadCell.d.ts +2 -2
  132. package/types/src/Table/HeadDropdownCell.d.ts +1 -1
  133. package/types/src/Table/HeadExpandRowsIcon.d.ts +1 -0
  134. package/types/src/Table/HeadInner.d.ts +3 -3
  135. package/types/src/Table/Table.d.ts +7 -3
  136. package/types/src/Table/Toggle.d.ts +1 -0
  137. package/types/src/Text/IconOutlinedHide.d.ts +1 -0
  138. package/types/src/Text/IconOutlinedView.d.ts +1 -0
  139. package/types/src/Text/Text.d.ts +28 -12
  140. package/types/src/Tooltip/InfoIcon.d.ts +1 -0
  141. package/types/src/Tooltip/Tooltip.d.ts +3 -3
  142. package/types/src/icons/Alert.d.ts +1 -0
  143. package/types/src/icons/AlertFilled.d.ts +1 -0
  144. package/types/src/icons/CaretDown.d.ts +1 -0
  145. package/types/src/icons/CaretRight.d.ts +1 -0
  146. package/types/src/icons/Check.d.ts +1 -0
  147. package/types/src/icons/ChevronDown.d.ts +1 -0
  148. package/types/src/icons/ChevronLeft.d.ts +1 -0
  149. package/types/src/icons/ChevronRight.d.ts +1 -0
  150. package/types/src/icons/CrossMark.d.ts +1 -0
  151. package/types/src/icons/External.d.ts +1 -0
  152. package/types/src/icons/InfoFilled.d.ts +1 -0
  153. package/types/src/icons/More.d.ts +1 -0
  154. package/types/src/icons/MoreVertical.d.ts +1 -0
  155. package/types/src/icons/Plus.d.ts +1 -0
  156. package/types/src/icons/SVG.d.ts +1 -0
  157. package/types/src/icons/Search.d.ts +1 -0
  158. package/types/src/icons/SortedDown.d.ts +1 -0
  159. package/types/src/icons/SortedUp.d.ts +1 -0
  160. package/types/src/icons/Success.d.ts +1 -0
  161. package/types/src/icons/SuccessFilled.d.ts +1 -0
  162. package/types/src/icons/WarningFilled.d.ts +1 -0
  163. package/types/src/utils/types.d.ts +1 -0
package/Date.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 = 131);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 136);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,34 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 131:
111
+ /***/ 12:
112
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
+
114
+ "use strict";
115
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return updateReactRef; });
116
+ /**
117
+ * Updates a React ref. Callback refs and object refs (from `createRef` and `useRef`) are supported.
118
+ *
119
+ * @param ref - The React callback or object ref. Can be `null` or `undefined`.
120
+ * @param current - The new value of the ref.
121
+ */
122
+ function updateReactRef(ref, current) {
123
+ if (ref) {
124
+ if (typeof ref === 'function') {
125
+ ref(current);
126
+ } else {
127
+ // the public signature of this util uses React.Ref<T> to mirror the way React types refs.
128
+ // the intention here is to signal "we will take care of setting 'current', not you".
129
+ ref.current = current; // eslint-disable-line no-param-reassign
130
+ }
131
+ }
132
+ }
133
+
134
+
135
+
136
+ /***/ }),
137
+
138
+ /***/ 136:
112
139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
113
140
 
114
141
  "use strict";
@@ -131,7 +158,7 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
131
158
  var external_lodash_ = __webpack_require__(4);
132
159
 
133
160
  // EXTERNAL MODULE: external "moment"
134
- var external_moment_ = __webpack_require__(19);
161
+ var external_moment_ = __webpack_require__(20);
135
162
  var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment_);
136
163
 
137
164
  // EXTERNAL MODULE: external "@splunk/ui-utils/id"
@@ -141,11 +168,11 @@ var id_ = __webpack_require__(10);
141
168
  var keyboard_ = __webpack_require__(9);
142
169
 
143
170
  // EXTERNAL MODULE: external "@splunk/react-ui/Calendar"
144
- var Calendar_ = __webpack_require__(73);
171
+ var Calendar_ = __webpack_require__(75);
145
172
  var Calendar_default = /*#__PURE__*/__webpack_require__.n(Calendar_);
146
173
 
147
174
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
148
- var Popover_ = __webpack_require__(18);
175
+ var Popover_ = __webpack_require__(17);
149
176
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
150
177
 
151
178
  // EXTERNAL MODULE: external "@splunk/themes"
@@ -156,7 +183,7 @@ var external_styled_components_ = __webpack_require__(3);
156
183
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
157
184
 
158
185
  // EXTERNAL MODULE: external "@splunk/react-ui/Text"
159
- var Text_ = __webpack_require__(24);
186
+ var Text_ = __webpack_require__(26);
160
187
  var Text_default = /*#__PURE__*/__webpack_require__.n(Text_);
161
188
 
162
189
  // CONCATENATED MODULE: ./src/Date/DateStyles.ts
@@ -179,7 +206,10 @@ var StyledText = external_styled_components_default()(Text_default.a).withConfig
179
206
  var IconContainer = external_styled_components_default.a.div.withConfig({
180
207
  displayName: "DateStyles__IconContainer",
181
208
  componentId: "kacgdc-1"
182
- })(["position:absolute;height:100%;left:0;top:0;z-index:1;display:flex;align-items:center;padding:0 8px;border-bottom-left-radius:3px;border-top-left-radius:3px;color:", ";pointer-events:none;"], Object(themes_["pickVariant"])('$disabled', {
209
+ })(["display:flex;align-items:center;padding:", ";color:", ";pointer-events:none;"], Object(themes_["pick"])({
210
+ comfortable: '0 8px',
211
+ compact: '0 6px'
212
+ }), Object(themes_["pickVariant"])('$disabled', {
183
213
  "false": themes_["variables"].contentColorMuted,
184
214
  "true": themes_["variables"].contentColorDisabled
185
215
  }));
@@ -204,6 +234,9 @@ function CalendarIcon(props) {
204
234
  d: "M16.6001 2C17.1524 2 17.6001 2.44772 17.6001 3V4H19C20.1046 4 21 4.89543 21 6V8.5V9.5V19.5C21 19.7761 20.7761 20 20.5 20H3.5C3.22386 20 3 19.7761 3 19.5V9.5V8.5V6C3 4.89543 3.89543 4 5 4H6.6001V3C6.6001 2.44772 7.04781 2 7.6001 2C8.15238 2 8.6001 2.44772 8.6001 3V4H15.6001V3C15.6001 2.44772 16.0478 2 16.6001 2ZM6.6001 6C6.6001 6.55228 7.04781 7 7.6001 7C8.15238 7 8.6001 6.55228 8.6001 6H15.6001C15.6001 6.55228 16.0478 7 16.6001 7C17.1524 7 17.6001 6.55228 17.6001 6H19V8H5L5 6H6.6001ZM19 10H5V18H19V10Z"
205
235
  }));
206
236
  }
237
+ // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
238
+ var updateReactRef = __webpack_require__(12);
239
+
207
240
  // CONCATENATED MODULE: ./src/Date/Date.tsx
208
241
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
209
242
 
@@ -242,6 +275,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
242
275
 
243
276
 
244
277
 
278
+
245
279
  var propTypes = {
246
280
  defaultValue: external_prop_types_default.a.string,
247
281
  describedBy: external_prop_types_default.a.string,
@@ -413,6 +447,14 @@ var _Date = /*#__PURE__*/function (_Component) {
413
447
  _this.setState({
414
448
  anchor: el
415
449
  });
450
+
451
+ Object(updateReactRef["a" /* updateReactRef */])(_this.props.elementRef, el);
452
+ });
453
+
454
+ _defineProperty(_assertThisInitialized(_this), "handleInputMount", function (el) {
455
+ _this.setState({
456
+ input: el
457
+ });
416
458
  });
417
459
 
418
460
  _defineProperty(_assertThisInitialized(_this), "handleRequestClose", function (_ref3) {
@@ -429,6 +471,7 @@ var _Date = /*#__PURE__*/function (_Component) {
429
471
  _this.state = {
430
472
  anchor: null,
431
473
  calendarOpen: false,
474
+ input: null,
432
475
  value: _this.isControlled() ? undefined : dateString
433
476
  };
434
477
  _this.popoverId = Object(id_["createDOMID"])('calender');
@@ -467,9 +510,9 @@ var _Date = /*#__PURE__*/function (_Component) {
467
510
  }, {
468
511
  key: "focus",
469
512
  value: function focus() {
470
- var _this$state$anchor;
513
+ var _this$state$input;
471
514
 
472
- (_this$state$anchor = this.state.anchor) === null || _this$state$anchor === void 0 ? void 0 : _this$state$anchor.focus();
515
+ (_this$state$input = this.state.input) === null || _this$state$input === void 0 ? void 0 : _this$state$input.focus();
473
516
  }
474
517
  }, {
475
518
  key: "render",
@@ -479,6 +522,9 @@ var _Date = /*#__PURE__*/function (_Component) {
479
522
  splunkTheme = _this$props5.splunkTheme;
480
523
  var isPrisma = splunkTheme.family === 'prisma';
481
524
  var currentValue = this.getValue();
525
+ var startAdornment = isPrisma && /*#__PURE__*/external_react_default.a.createElement(IconContainer, {
526
+ $disabled: this.props.disabled
527
+ }, /*#__PURE__*/external_react_default.a.createElement(CalendarIcon, null));
482
528
  return /*#__PURE__*/external_react_default.a.createElement(StyledText, Date_extends({
483
529
  autoCapitalize: "off",
484
530
  autoComplete: "off",
@@ -487,24 +533,15 @@ var _Date = /*#__PURE__*/function (_Component) {
487
533
  "data-test": "date",
488
534
  "data-test-value": currentValue,
489
535
  "data-test-popover-id": this.popoverId,
536
+ elementRef: this.handleMount,
537
+ inputRef: this.handleInputMount,
490
538
  onChange: this.handleInputChange,
491
539
  onClick: this.handleClick,
492
540
  onFocus: this.handleFocus,
493
541
  onKeyDown: this.handleKeyDown,
494
542
  value: this.getTextInputValue(),
495
- inputRef: this.handleMount
496
- }, Object(external_lodash_["omit"])(this.props, 'className', 'defaultValue', 'multiline', 'locale', 'onChange', 'onClick', 'onFocus', 'onKeyDown', 'onSelect', 'spellCheck', 'value'), {
497
- inputStyle: isPrisma ? {
498
- paddingLeft: '26px'
499
- } : undefined
500
- }), isPrisma && /*#__PURE__*/external_react_default.a.createElement(IconContainer, {
501
- $disabled: this.props.disabled
502
- }, /*#__PURE__*/external_react_default.a.createElement(CalendarIcon, {
503
- style: {
504
- width: 24,
505
- height: 24
506
- }
507
- })), /*#__PURE__*/external_react_default.a.createElement(Popover_default.a, {
543
+ startAdornment: startAdornment
544
+ }, Object(external_lodash_["omit"])(this.props, 'className', 'defaultValue', 'elementRef', 'multiline', 'locale', 'onChange', 'onClick', 'onFocus', 'onKeyDown', 'onSelect', 'spellCheck', 'value')), /*#__PURE__*/external_react_default.a.createElement(Popover_default.a, {
508
545
  anchor: this.state.anchor,
509
546
  id: this.popoverId,
510
547
  open: this.props.disabled ? false : this.state.calendarOpen,
@@ -539,28 +576,28 @@ DateWithTheme.momentFormat = _Date.momentFormat;
539
576
 
540
577
  /***/ }),
541
578
 
542
- /***/ 18:
579
+ /***/ 17:
543
580
  /***/ (function(module, exports) {
544
581
 
545
582
  module.exports = require("@splunk/react-ui/Popover");
546
583
 
547
584
  /***/ }),
548
585
 
549
- /***/ 19:
586
+ /***/ 2:
550
587
  /***/ (function(module, exports) {
551
588
 
552
- module.exports = require("moment");
589
+ module.exports = require("react");
553
590
 
554
591
  /***/ }),
555
592
 
556
- /***/ 2:
593
+ /***/ 20:
557
594
  /***/ (function(module, exports) {
558
595
 
559
- module.exports = require("react");
596
+ module.exports = require("moment");
560
597
 
561
598
  /***/ }),
562
599
 
563
- /***/ 24:
600
+ /***/ 26:
564
601
  /***/ (function(module, exports) {
565
602
 
566
603
  module.exports = require("@splunk/react-ui/Text");
@@ -581,7 +618,7 @@ module.exports = require("lodash");
581
618
 
582
619
  /***/ }),
583
620
 
584
- /***/ 73:
621
+ /***/ 75:
585
622
  /***/ (function(module, exports) {
586
623
 
587
624
  module.exports = require("@splunk/react-ui/Calendar");
package/DefinitionList.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 = 112);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 114);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 112:
104
+ /***/ 114:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/Dropdown.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 = 166);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 168);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -128,7 +128,7 @@ function updateReactRef(ref, current) {
128
128
 
129
129
  /***/ }),
130
130
 
131
- /***/ 166:
131
+ /***/ 168:
132
132
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
133
133
 
134
134
  "use strict";
@@ -154,7 +154,7 @@ var external_lodash_ = __webpack_require__(4);
154
154
  var id_ = __webpack_require__(10);
155
155
 
156
156
  // EXTERNAL MODULE: external "@splunk/react-ui/Popover"
157
- var Popover_ = __webpack_require__(18);
157
+ var Popover_ = __webpack_require__(17);
158
158
  var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
159
159
 
160
160
  // EXTERNAL MODULE: ./src/utils/updateReactRef.ts
@@ -197,7 +197,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
197
197
 
198
198
  /** @public */
199
199
 
200
- var possibleCloseReasons = ['clickAway', 'contentClick', 'escapeKey', 'offScreen', 'toggleClick'];
200
+ var possibleCloseReasons = ['clickAway', 'contentClick', 'escapeKey', 'offScreen', 'tabKey', 'toggleClick'];
201
201
  var propTypes = {
202
202
  canCoverAnchor: external_prop_types_default.a.bool,
203
203
  children: external_prop_types_default.a.oneOfType([external_prop_types_default.a.node, external_prop_types_default.a.func]),
@@ -218,7 +218,7 @@ var defaultProps = {
218
218
  canCoverAnchor: true,
219
219
  closeReasons: possibleCloseReasons,
220
220
  defaultPlacement: 'below',
221
- focusToggleReasons: ['contentClick', 'escapeKey', 'toggleClick'],
221
+ focusToggleReasons: ['contentClick', 'escapeKey', 'tabKey', 'toggleClick'],
222
222
  repositionMode: 'flip',
223
223
  retainFocus: false,
224
224
  takeFocus: true
@@ -446,7 +446,7 @@ _defineProperty(Dropdown_Dropdown, "defaultProps", defaultProps);
446
446
 
447
447
  /***/ }),
448
448
 
449
- /***/ 18:
449
+ /***/ 17:
450
450
  /***/ (function(module, exports) {
451
451
 
452
452
  module.exports = require("@splunk/react-ui/Popover");
package/FetchOptions.js CHANGED
@@ -82,19 +82,19 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 165);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 167);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 100:
90
+ /***/ 102:
91
91
  /***/ (function(module, exports) {
92
92
 
93
93
  module.exports = require("core-js/es/promise");
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ 165:
97
+ /***/ 167:
98
98
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
99
 
100
100
  "use strict";
@@ -106,16 +106,16 @@ __webpack_require__.d(__webpack_exports__, "default", function() { return /* ree
106
106
  __webpack_require__.d(__webpack_exports__, "isMovieOption", function() { return /* reexport */ isMovieOption; });
107
107
 
108
108
  // EXTERNAL MODULE: external "core-js/es/promise"
109
- var promise_ = __webpack_require__(100);
109
+ var promise_ = __webpack_require__(102);
110
110
 
111
111
  // EXTERNAL MODULE: external "lodash"
112
112
  var external_lodash_ = __webpack_require__(4);
113
113
 
114
114
  // EXTERNAL MODULE: external "@splunk/ui-utils/promise"
115
- var ui_utils_promise_ = __webpack_require__(74);
115
+ var ui_utils_promise_ = __webpack_require__(76);
116
116
 
117
117
  // EXTERNAL MODULE: ./src/FetchOptions/movies.json
118
- var movies = __webpack_require__(48);
118
+ var movies = __webpack_require__(50);
119
119
 
120
120
  // CONCATENATED MODULE: ./src/FetchOptions/FetchOptions.tsx
121
121
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -342,14 +342,14 @@ module.exports = require("lodash");
342
342
 
343
343
  /***/ }),
344
344
 
345
- /***/ 48:
345
+ /***/ 50:
346
346
  /***/ (function(module) {
347
347
 
348
348
  module.exports = JSON.parse("{\"a\":[{\"id\":1,\"title\":\"10 Cloverfield Lane\"},{\"id\":2,\"title\":\"13 Hours: The Secret Soldiers of Benghazi\"},{\"id\":3,\"title\":\"20th Century Women\"},{\"id\":4,\"title\":\"A Monster Calls\"},{\"id\":5,\"title\":\"A Street Cat Named Bob\"},{\"id\":6,\"title\":\"Alice Through the Looking Glass\"},{\"id\":7,\"title\":\"Allied\"},{\"id\":8,\"title\":\"Almost Christmas\"},{\"id\":9,\"title\":\"American Pastoral\"},{\"id\":10,\"title\":\"Arrival\"},{\"id\":11,\"title\":\"Assassin's Creed\"},{\"id\":12,\"title\":\"Bad Moms\"},{\"id\":13,\"title\":\"Bad Santa 2\"},{\"id\":14,\"title\":\"Barbershop: The Next Cut\"},{\"id\":15,\"title\":\"Batman v Superman: Dawn of Justice\"},{\"id\":16,\"title\":\"Batman: The Killing Joke\"},{\"id\":17,\"title\":\"Ben-Hur\"},{\"id\":18,\"title\":\"Billy Lynn's Long Halftime Walk\"},{\"id\":19,\"title\":\"Blair Witch\"},{\"id\":20,\"title\":\"Bleed for This\"},{\"id\":21,\"title\":\"Bobby Sands: 66 Days\"},{\"id\":22,\"title\":\"Boo! A Madea Halloween\"},{\"id\":23,\"title\":\"Boonie Bears III\"},{\"id\":24,\"title\":\"Bridget Jones's Baby\"},{\"id\":25,\"title\":\"Café Society\"},{\"id\":26,\"title\":\"Captain America: Civil War\"},{\"id\":27,\"title\":\"Central Intelligence\"},{\"id\":28,\"title\":\"Collateral Beauty\"},{\"id\":29,\"title\":\"Criminal\"},{\"id\":30,\"title\":\"Dad's Army\"},{\"id\":31,\"title\":\"Deadpool\"},{\"id\":32,\"title\":\"Deepwater Horizon\"},{\"id\":33,\"title\":\"Demolition\"},{\"id\":34,\"title\":\"Dirty Grandpa\"},{\"id\":35,\"title\":\"Doctor Strange\"},{\"id\":36,\"title\":\"Don't Breathe\"},{\"id\":37,\"title\":\"Eddie the Eagle\"},{\"id\":38,\"title\":\"Elvis & Nixon\"},{\"id\":39,\"title\":\"Everybody Wants Some!!\"},{\"id\":40,\"title\":\"Fantastic Beasts and Where to Find Them\"},{\"id\":41,\"title\":\"Fences\"},{\"id\":42,\"title\":\"Fifty Shades of Black\"},{\"id\":43,\"title\":\"Finding Dory\"},{\"id\":44,\"title\":\"Florence Foster Jenkins\"},{\"id\":45,\"title\":\"Free State of Jones\"},{\"id\":46,\"title\":\"Genius\"},{\"id\":47,\"title\":\"Ghostbusters\"},{\"id\":48,\"title\":\"God's Not Dead 2\"},{\"id\":49,\"title\":\"Gods of Egypt\"},{\"id\":50,\"title\":\"Gold\"},{\"id\":51,\"title\":\"Green Room\"},{\"id\":52,\"title\":\"Grimsby\"},{\"id\":53,\"title\":\"Hacksaw Ridge\"},{\"id\":54,\"title\":\"Hail, Caesar!\"},{\"id\":55,\"title\":\"Hands of Stone\"},{\"id\":56,\"title\":\"Hardcore Henry\"},{\"id\":57,\"title\":\"Hell or High Water\"},{\"id\":58,\"title\":\"Hidden Figures\"},{\"id\":59,\"title\":\"Hillsong: Let Hope Rise\"},{\"id\":60,\"title\":\"How to Be Single\"},{\"id\":61,\"title\":\"I'm Not Ashamed\"},{\"id\":62,\"title\":\"Ice Age: Collision Course\"},{\"id\":63,\"title\":\"Incarnate\"},{\"id\":64,\"title\":\"Independence Day: Resurgence\"},{\"id\":65,\"title\":\"Inferno\"},{\"id\":66,\"title\":\"Jack Reacher: Never Go Back\"},{\"id\":67,\"title\":\"Jane Got a Gun\"},{\"id\":68,\"title\":\"Jason Bourne\"},{\"id\":69,\"title\":\"Keanu\"},{\"id\":70,\"title\":\"Keeping Up with the Joneses\"},{\"id\":71,\"title\":\"Kevin Hart: What Now?\"},{\"id\":72,\"title\":\"Knight of Cups\"},{\"id\":73,\"title\":\"Kubo and the Two Strings\"},{\"id\":74,\"title\":\"Kung Fu Panda 3\"},{\"id\":75,\"title\":\"La La Land\"},{\"id\":76,\"title\":\"Last Days in the Desert\"},{\"id\":77,\"title\":\"Lazer Team\"},{\"id\":78,\"title\":\"Lights Out\"},{\"id\":79,\"title\":\"Lion\"},{\"id\":80,\"title\":\"Live by Night\"},{\"id\":81,\"title\":\"London Has Fallen\"},{\"id\":82,\"title\":\"Loving\"},{\"id\":83,\"title\":\"Maggie's Plan\"},{\"id\":84,\"title\":\"Man Down\"},{\"id\":85,\"title\":\"Manchester by the Sea\"},{\"id\":86,\"title\":\"Masterminds\"},{\"id\":87,\"title\":\"Max Steel\"},{\"id\":88,\"title\":\"Me Before You\"},{\"id\":89,\"title\":\"Mechanic: Resurrection\"},{\"id\":90,\"title\":\"Meet the Blacks\"},{\"id\":91,\"title\":\"Middle School: The Worst Years of My Life\"},{\"id\":92,\"title\":\"Midnight Special\"},{\"id\":93,\"title\":\"Mike and Dave Need Wedding Dates\"},{\"id\":94,\"title\":\"Miracles from Heaven\"},{\"id\":95,\"title\":\"Misconduct\"},{\"id\":96,\"title\":\"Miss Peregrine's Home for Peculiar Children\"},{\"id\":97,\"title\":\"Miss Sloane\"},{\"id\":98,\"title\":\"Moana\"},{\"id\":99,\"title\":\"Money Monster\"},{\"id\":100,\"title\":\"Monster Hunt\"},{\"id\":101,\"title\":\"Moonlight\"},{\"id\":102,\"title\":\"Morgan\"},{\"id\":103,\"title\":\"Mother's Day\"},{\"id\":104,\"title\":\"My Big Fat Greek Wedding 2\"},{\"id\":105,\"title\":\"Neighbors 2: Sorority Rising\"},{\"id\":106,\"title\":\"Nerdland\"},{\"id\":107,\"title\":\"Nerve\"},{\"id\":108,\"title\":\"Nine Lives\"},{\"id\":109,\"title\":\"Nocturnal Animals\"},{\"id\":110,\"title\":\"Norm of the North\"},{\"id\":111,\"title\":\"Now You See Me 2\"},{\"id\":112,\"title\":\"Office Christmas Party\"},{\"id\":113,\"title\":\"Ouija: Origin of Evil\"},{\"id\":114,\"title\":\"Passengers\"},{\"id\":115,\"title\":\"Patriots Day\"},{\"id\":116,\"title\":\"Pete's Dragon\"},{\"id\":117,\"title\":\"Popstar: Never Stop Never Stopping\"},{\"id\":118,\"title\":\"Pride and Prejudice and Zombies\"},{\"id\":119,\"title\":\"Queen of Katwe\"},{\"id\":120,\"title\":\"Race\"},{\"id\":121,\"title\":\"Ratchet & Clank\"},{\"id\":122,\"title\":\"Ride Along 2\"},{\"id\":123,\"title\":\"Risen\"},{\"id\":124,\"title\":\"Rogue One\"},{\"id\":125,\"title\":\"Rules Don't Apply\"},{\"id\":126,\"title\":\"Sausage Party\"},{\"id\":127,\"title\":\"Shut In\"},{\"id\":128,\"title\":\"Silence\"},{\"id\":129,\"title\":\"Sing\"},{\"id\":130,\"title\":\"Snowden\"},{\"id\":131,\"title\":\"Solace\"},{\"id\":132,\"title\":\"Star Trek Beyond\"},{\"id\":133,\"title\":\"Storks\"},{\"id\":134,\"title\":\"Suicide Squad\"},{\"id\":135,\"title\":\"Sully\"},{\"id\":136,\"title\":\"Teenage Mutant Ninja Turtles: Out of the Shadows\"},{\"id\":137,\"title\":\"The 5th Wave\"},{\"id\":138,\"title\":\"The Accountant\"},{\"id\":139,\"title\":\"The Angry Birds Movie\"},{\"id\":140,\"title\":\"The BFG\"},{\"id\":141,\"title\":\"The Birth of a Nation\"},{\"id\":142,\"title\":\"The Boss\"},{\"id\":143,\"title\":\"The Boy\"},{\"id\":144,\"title\":\"The Bronze\"},{\"id\":145,\"title\":\"The Choice\"},{\"id\":146,\"title\":\"The Comedian\"},{\"id\":147,\"title\":\"The Conjuring 2\"},{\"id\":148,\"title\":\"The Darkness\"},{\"id\":149,\"title\":\"The Disappointments Room\"},{\"id\":150,\"title\":\"The Divergent Series: Allegiant\"},{\"id\":151,\"title\":\"The Edge of Seventeen\"},{\"id\":152,\"title\":\"The Finest Hours\"},{\"id\":153,\"title\":\"The Forest\"},{\"id\":154,\"title\":\"The Founder\"},{\"id\":155,\"title\":\"The Girl on the Train\"},{\"id\":156,\"title\":\"The Huntsman: Winter's War\"},{\"id\":157,\"title\":\"The Infiltrator\"},{\"id\":158,\"title\":\"The Jungle Book\"},{\"id\":159,\"title\":\"The Legend of Tarzan\"},{\"id\":160,\"title\":\"The Light Between Oceans\"},{\"id\":161,\"title\":\"The Magnificent Seven\"},{\"id\":162,\"title\":\"The Masked Saint\"},{\"id\":163,\"title\":\"The Mermaid\"},{\"id\":164,\"title\":\"The Monkey King 2\"},{\"id\":165,\"title\":\"The Neon Demon\"},{\"id\":166,\"title\":\"The Nice Guys\"},{\"id\":167,\"title\":\"The Other Side of the Door\"},{\"id\":168,\"title\":\"The Perfect Match\"},{\"id\":169,\"title\":\"The Purge: Election Year\"},{\"id\":170,\"title\":\"The Secret Life of Pets\"},{\"id\":171,\"title\":\"The Shallows\"},{\"id\":172,\"title\":\"The Witch\"},{\"id\":173,\"title\":\"The Young Messiah\"},{\"id\":174,\"title\":\"They're Watching\"},{\"id\":175,\"title\":\"Trolls\"},{\"id\":176,\"title\":\"Voyage of Time\"},{\"id\":177,\"title\":\"War Dogs\"},{\"id\":178,\"title\":\"Warcraft\"},{\"id\":179,\"title\":\"When the Bough Breaks\"},{\"id\":180,\"title\":\"Whiskey Tango Foxtrot\"},{\"id\":181,\"title\":\"Why Him?\"},{\"id\":182,\"title\":\"X-Men: Apocalypse\"},{\"id\":183,\"title\":\"Yoga Hosers\"},{\"id\":184,\"title\":\"Your Name\"},{\"id\":185,\"title\":\"Zoolander 2\"},{\"id\":186,\"title\":\"Zootopia\"}]}");
349
349
 
350
350
  /***/ }),
351
351
 
352
- /***/ 74:
352
+ /***/ 76:
353
353
  /***/ (function(module, exports) {
354
354
 
355
355
  module.exports = require("@splunk/ui-utils/promise");