react-bootstrap 1.0.0-beta.16 → 1.0.0-beta.17

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.
@@ -91,7 +91,7 @@ return /******/ (function(modules) { // webpackBootstrap
91
91
  /******/
92
92
  /******/
93
93
  /******/ // Load entry module and return exports
94
- /******/ return __webpack_require__(__webpack_require__.s = 21);
94
+ /******/ return __webpack_require__(__webpack_require__.s = 20);
95
95
  /******/ })
96
96
  /************************************************************************/
97
97
  /******/ ([
@@ -213,54 +213,6 @@ module.exports = exports['default'];
213
213
  /* 5 */
214
214
  /***/ (function(module, exports, __webpack_require__) {
215
215
 
216
- "use strict";
217
- /**
218
- * Copyright (c) 2013-present, Facebook, Inc.
219
- *
220
- * This source code is licensed under the MIT license found in the
221
- * LICENSE file in the root directory of this source tree.
222
- */
223
-
224
- /**
225
- * Use invariant() to assert state which your program assumes to be true.
226
- *
227
- * Provide sprintf-style format (only %s is supported) and arguments
228
- * to provide information about what broke and what you were
229
- * expecting.
230
- *
231
- * The invariant message will be stripped in production, but the invariant
232
- * will remain to ensure logic does not differ in production.
233
- */
234
-
235
- var invariant = function (condition, format, a, b, c, d, e, f) {
236
- if (false) {}
237
-
238
- if (!condition) {
239
- var error;
240
-
241
- if (format === undefined) {
242
- error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');
243
- } else {
244
- var args = [a, b, c, d, e, f];
245
- var argIndex = 0;
246
- error = new Error(format.replace(/%s/g, function () {
247
- return args[argIndex++];
248
- }));
249
- error.name = 'Invariant Violation';
250
- }
251
-
252
- error.framesToPop = 1; // we don't care about invariant's own frame
253
-
254
- throw error;
255
- }
256
- };
257
-
258
- module.exports = invariant;
259
-
260
- /***/ }),
261
- /* 6 */
262
- /***/ (function(module, exports, __webpack_require__) {
263
-
264
216
  "use strict";
265
217
  /**
266
218
  * Copyright (c) 2014-present, Facebook, Inc.
@@ -326,6 +278,54 @@ if (__DEV__) {
326
278
 
327
279
  module.exports = warning;
328
280
 
281
+ /***/ }),
282
+ /* 6 */
283
+ /***/ (function(module, exports, __webpack_require__) {
284
+
285
+ "use strict";
286
+ /**
287
+ * Copyright (c) 2013-present, Facebook, Inc.
288
+ *
289
+ * This source code is licensed under the MIT license found in the
290
+ * LICENSE file in the root directory of this source tree.
291
+ */
292
+
293
+ /**
294
+ * Use invariant() to assert state which your program assumes to be true.
295
+ *
296
+ * Provide sprintf-style format (only %s is supported) and arguments
297
+ * to provide information about what broke and what you were
298
+ * expecting.
299
+ *
300
+ * The invariant message will be stripped in production, but the invariant
301
+ * will remain to ensure logic does not differ in production.
302
+ */
303
+
304
+ var invariant = function (condition, format, a, b, c, d, e, f) {
305
+ if (false) {}
306
+
307
+ if (!condition) {
308
+ var error;
309
+
310
+ if (format === undefined) {
311
+ error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');
312
+ } else {
313
+ var args = [a, b, c, d, e, f];
314
+ var argIndex = 0;
315
+ error = new Error(format.replace(/%s/g, function () {
316
+ return args[argIndex++];
317
+ }));
318
+ error.name = 'Invariant Violation';
319
+ }
320
+
321
+ error.framesToPop = 1; // we don't care about invariant's own frame
322
+
323
+ throw error;
324
+ }
325
+ };
326
+
327
+ module.exports = invariant;
328
+
329
329
  /***/ }),
330
330
  /* 7 */
331
331
  /***/ (function(module, exports, __webpack_require__) {
@@ -350,7 +350,7 @@ var _deprecated = __webpack_require__(15);
350
350
 
351
351
  var _deprecated2 = _interopRequireDefault(_deprecated);
352
352
 
353
- var _elementType = __webpack_require__(17);
353
+ var _elementType = __webpack_require__(16);
354
354
 
355
355
  var _elementType2 = _interopRequireDefault(_elementType);
356
356
 
@@ -429,7 +429,7 @@ module.exports = exports['default'];
429
429
  "use strict";
430
430
  /* WEBPACK VAR INJECTION */(function(global) {/**!
431
431
  * @fileOverview Kickass library to create and place poppers near their reference elements.
432
- * @version 1.16.0
432
+ * @version 1.16.1
433
433
  * @license
434
434
  * Copyright (c) 2016 Federico Zivolo and contributors
435
435
  *
@@ -786,7 +786,7 @@ function includeScroll(rect, element) {
786
786
  function getBordersSize(styles, axis) {
787
787
  var sideA = axis === 'x' ? 'Left' : 'Top';
788
788
  var sideB = sideA === 'Left' ? 'Right' : 'Bottom';
789
- return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);
789
+ return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);
790
790
  }
791
791
 
792
792
  function getSize(axis, body, html, computedStyle) {
@@ -931,8 +931,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
931
931
  var parentRect = getBoundingClientRect(parent);
932
932
  var scrollParent = getScrollParent(children);
933
933
  var styles = getStyleComputedProperty(parent);
934
- var borderTopWidth = parseFloat(styles.borderTopWidth, 10);
935
- var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); // In cases where the parent is fixed, we must ignore negative scroll in offset calc
934
+ var borderTopWidth = parseFloat(styles.borderTopWidth);
935
+ var borderLeftWidth = parseFloat(styles.borderLeftWidth); // In cases where the parent is fixed, we must ignore negative scroll in offset calc
936
936
 
937
937
  if (fixedPosition && isHTML) {
938
938
  parentRect.top = Math.max(parentRect.top, 0);
@@ -952,8 +952,8 @@ function getOffsetRectRelativeToArbitraryNode(children, parent) {
952
952
  // the box of the documentElement, in the other cases not.
953
953
 
954
954
  if (!isIE10 && isHTML) {
955
- var marginTop = parseFloat(styles.marginTop, 10);
956
- var marginLeft = parseFloat(styles.marginLeft, 10);
955
+ var marginTop = parseFloat(styles.marginTop);
956
+ var marginLeft = parseFloat(styles.marginLeft);
957
957
  offsets.top -= borderTopWidth - marginTop;
958
958
  offsets.bottom -= borderTopWidth - marginTop;
959
959
  offsets.left -= borderLeftWidth - marginLeft;
@@ -1893,8 +1893,8 @@ function arrow(data, options) {
1893
1893
  // take popper margin in account because we don't have this info available
1894
1894
 
1895
1895
  var css = getStyleComputedProperty(data.instance.popper);
1896
- var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);
1897
- var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);
1896
+ var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);
1897
+ var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);
1898
1898
  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; // prevent arrowElement from being placed not contiguously to its popper
1899
1899
 
1900
1900
  sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);
@@ -3042,7 +3042,7 @@ Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;
3042
3042
  Popper.placements = placements;
3043
3043
  Popper.Defaults = Defaults;
3044
3044
  /* harmony default export */ __webpack_exports__["a"] = (Popper);
3045
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(20)))
3045
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(19)))
3046
3046
 
3047
3047
  /***/ }),
3048
3048
  /* 10 */
@@ -3278,7 +3278,7 @@ Object.defineProperty(exports, "__esModule", {
3278
3278
  });
3279
3279
  exports.default = deprecated;
3280
3280
 
3281
- var _warning = __webpack_require__(16);
3281
+ var _warning = __webpack_require__(5);
3282
3282
 
3283
3283
  var _warning2 = _interopRequireDefault(_warning);
3284
3284
 
@@ -3324,33 +3324,6 @@ module.exports = exports['default'];
3324
3324
  /* 16 */
3325
3325
  /***/ (function(module, exports, __webpack_require__) {
3326
3326
 
3327
- "use strict";
3328
- /**
3329
- * Copyright 2014-2015, Facebook, Inc.
3330
- * All rights reserved.
3331
- *
3332
- * This source code is licensed under the BSD-style license found in the
3333
- * LICENSE file in the root directory of this source tree. An additional grant
3334
- * of patent rights can be found in the PATENTS file in the same directory.
3335
- */
3336
-
3337
- /**
3338
- * Similar to invariant but only logs a warning if the condition is not met.
3339
- * This can be used to log issues in development environments in critical
3340
- * paths. Removing the logging code for production environments will keep the
3341
- * same logic and follow the same code paths.
3342
- */
3343
-
3344
- var warning = function () {};
3345
-
3346
- if (false) {}
3347
-
3348
- module.exports = warning;
3349
-
3350
- /***/ }),
3351
- /* 17 */
3352
- /***/ (function(module, exports, __webpack_require__) {
3353
-
3354
3327
  "use strict";
3355
3328
 
3356
3329
 
@@ -3362,7 +3335,7 @@ var _react = __webpack_require__(1);
3362
3335
 
3363
3336
  var _react2 = _interopRequireDefault(_react);
3364
3337
 
3365
- var _reactIs = __webpack_require__(18);
3338
+ var _reactIs = __webpack_require__(17);
3366
3339
 
3367
3340
  var _createChainableTypeChecker = __webpack_require__(10);
3368
3341
 
@@ -3392,22 +3365,22 @@ exports.default = (0, _createChainableTypeChecker2.default)(elementType);
3392
3365
  module.exports = exports['default'];
3393
3366
 
3394
3367
  /***/ }),
3395
- /* 18 */
3368
+ /* 17 */
3396
3369
  /***/ (function(module, exports, __webpack_require__) {
3397
3370
 
3398
3371
  "use strict";
3399
3372
 
3400
3373
 
3401
3374
  if (true) {
3402
- module.exports = __webpack_require__(19);
3375
+ module.exports = __webpack_require__(18);
3403
3376
  } else {}
3404
3377
 
3405
3378
  /***/ }),
3406
- /* 19 */
3379
+ /* 18 */
3407
3380
  /***/ (function(module, exports, __webpack_require__) {
3408
3381
 
3409
3382
  "use strict";
3410
- /** @license React v16.10.2
3383
+ /** @license React v16.12.0
3411
3384
  * react-is.production.min.js
3412
3385
  *
3413
3386
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -3458,6 +3431,8 @@ function y(a) {
3458
3431
  switch (a = a && a.$$typeof, a) {
3459
3432
  case k:
3460
3433
  case n:
3434
+ case t:
3435
+ case r:
3461
3436
  case h:
3462
3437
  return a;
3463
3438
 
@@ -3467,8 +3442,6 @@ function y(a) {
3467
3442
 
3468
3443
  }
3469
3444
 
3470
- case t:
3471
- case r:
3472
3445
  case d:
3473
3446
  return u;
3474
3447
  }
@@ -3549,7 +3522,7 @@ exports.isSuspense = function (a) {
3549
3522
  };
3550
3523
 
3551
3524
  /***/ }),
3552
- /* 20 */
3525
+ /* 19 */
3553
3526
  /***/ (function(module, exports) {
3554
3527
 
3555
3528
  var g; // This works in non-strict mode
@@ -3572,7 +3545,7 @@ try {
3572
3545
  module.exports = g;
3573
3546
 
3574
3547
  /***/ }),
3575
- /* 21 */
3548
+ /* 20 */
3576
3549
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3577
3550
 
3578
3551
  "use strict";
@@ -3624,7 +3597,7 @@ var prop_types = __webpack_require__(0);
3624
3597
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
3625
3598
 
3626
3599
  // EXTERNAL MODULE: ./node_modules/invariant/browser.js
3627
- var browser = __webpack_require__(5);
3600
+ var browser = __webpack_require__(6);
3628
3601
  var browser_default = /*#__PURE__*/__webpack_require__.n(browser);
3629
3602
 
3630
3603
  // CONCATENATED MODULE: ./node_modules/uncontrollable/esm/utils.js
@@ -5106,6 +5079,8 @@ var AccordionCollapse_propTypes = {
5106
5079
  * A key that corresponds to the toggler that triggers this collapse's expand or collapse.
5107
5080
  */
5108
5081
  eventKey: prop_types_default.a.string.isRequired,
5082
+
5083
+ /** Children prop should only contain a single child, and is enforced as such */
5109
5084
  children: prop_types_default.a.element.isRequired
5110
5085
  };
5111
5086
  var AccordionCollapse = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef(function (_ref, ref) {
@@ -5120,13 +5095,13 @@ var AccordionCollapse = external_root_React_commonjs2_react_commonjs_react_amd_r
5120
5095
  }, props, {
5121
5096
  __source: {
5122
5097
  fileName: AccordionCollapse_jsxFileName,
5123
- lineNumber: 21
5098
+ lineNumber: 22
5124
5099
  },
5125
5100
  __self: this
5126
5101
  }), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
5127
5102
  __source: {
5128
5103
  fileName: AccordionCollapse_jsxFileName,
5129
- lineNumber: 22
5104
+ lineNumber: 23
5130
5105
  },
5131
5106
  __self: this
5132
5107
  }, external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.only(children)));
@@ -5643,6 +5618,7 @@ var Alert = external_root_React_commonjs2_react_commonjs_react_amd_react_default
5643
5618
  var alert = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", _extends({
5644
5619
  role: "alert"
5645
5620
  }, Transition ? props : undefined, {
5621
+ ref: ref,
5646
5622
  className: classnames_default()(className, prefix, variant && prefix + "-" + variant, dismissible && prefix + "-dismissible"),
5647
5623
  __source: {
5648
5624
  fileName: Alert_jsxFileName,
@@ -5654,19 +5630,18 @@ var Alert = external_root_React_commonjs2_react_commonjs_react_amd_react_default
5654
5630
  label: closeLabel,
5655
5631
  __source: {
5656
5632
  fileName: Alert_jsxFileName,
5657
- lineNumber: 97
5633
+ lineNumber: 98
5658
5634
  },
5659
5635
  __self: this
5660
5636
  }), children);
5661
5637
  if (!Transition) return show ? alert : null;
5662
5638
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Transition, _extends({
5663
- unmountOnExit: true,
5664
- ref: ref
5639
+ unmountOnExit: true
5665
5640
  }, props, {
5666
5641
  in: show,
5667
5642
  __source: {
5668
5643
  fileName: Alert_jsxFileName,
5669
- lineNumber: 105
5644
+ lineNumber: 106
5670
5645
  },
5671
5646
  __self: this
5672
5647
  }), alert);
@@ -5854,7 +5829,7 @@ var Breadcrumb_propTypes = {
5854
5829
  label: prop_types_default.a.string,
5855
5830
 
5856
5831
  /**
5857
- * Additional props passed as-is to the underlying `<ul>` element
5832
+ * Additional props passed as-is to the underlying `<ol>` element
5858
5833
  */
5859
5834
  listProps: prop_types_default.a.object,
5860
5835
  as: prop_types_default.a.elementType
@@ -7109,6 +7084,7 @@ function useCallbackRef() {
7109
7084
 
7110
7085
  function useForceUpdate() {
7111
7086
  // The toggling state value is designed to defeat React optimizations for skipping
7087
+ // updates when they are stricting equal to the last state value
7112
7088
  var _useReducer = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useReducer"])(function (state) {
7113
7089
  return !state;
7114
7090
  }, false),
@@ -7255,15 +7231,22 @@ function contains(context, node) {
7255
7231
  if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
7256
7232
  }
7257
7233
  // EXTERNAL MODULE: ./node_modules/warning/warning.js
7258
- var warning = __webpack_require__(6);
7234
+ var warning = __webpack_require__(5);
7259
7235
  var warning_default = /*#__PURE__*/__webpack_require__.n(warning);
7260
7236
 
7237
+ // CONCATENATED MODULE: ./node_modules/react-overlays/esm/utils/ownerDocument.js
7238
+
7239
+
7240
+ /* harmony default export */ var utils_ownerDocument = (function (componentOrElement) {
7241
+ return ownerDocument(external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default.a.findDOMNode(componentOrElement));
7242
+ });
7261
7243
  // CONCATENATED MODULE: ./node_modules/react-overlays/esm/useRootClose.js
7262
7244
 
7263
7245
 
7264
7246
 
7265
7247
 
7266
7248
 
7249
+
7267
7250
  var escapeKeyCode = 27;
7268
7251
 
7269
7252
  var useRootClose_noop = function noop() {};
@@ -7313,17 +7296,18 @@ function useRootClose(ref, onRootClose, _temp) {
7313
7296
  }
7314
7297
  });
7315
7298
  Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useEffect"])(function () {
7316
- if (disabled || ref == null) return undefined; // Use capture for this listener so it fires before React's listener, to
7299
+ if (disabled || ref == null) return undefined;
7300
+ var doc = utils_ownerDocument(ref.current); // Use capture for this listener so it fires before React's listener, to
7317
7301
  // avoid false positives in the contains() check below if the target DOM
7318
7302
  // element is removed in the React mouse callback.
7319
7303
 
7320
- var removeMouseCaptureListener = esm_listen(document, clickTrigger, handleMouseCapture, true);
7321
- var removeMouseListener = esm_listen(document, clickTrigger, handleMouse);
7322
- var removeKeyupListener = esm_listen(document, 'keyup', handleKeyUp);
7304
+ var removeMouseCaptureListener = esm_listen(doc, clickTrigger, handleMouseCapture, true);
7305
+ var removeMouseListener = esm_listen(doc, clickTrigger, handleMouse);
7306
+ var removeKeyupListener = esm_listen(doc, 'keyup', handleKeyUp);
7323
7307
  var mobileSafariHackListeners = [];
7324
7308
 
7325
- if ('ontouchstart' in document.documentElement) {
7326
- mobileSafariHackListeners = [].slice.call(document.body.children).map(function (el) {
7309
+ if ('ontouchstart' in doc.documentElement) {
7310
+ mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {
7327
7311
  return esm_listen(el, 'mousemove', useRootClose_noop);
7328
7312
  });
7329
7313
  }
@@ -9031,7 +9015,7 @@ var FormLabel_propTypes = {
9031
9015
  * Renders the FormLabel as a `<Col>` component (accepting all the same props),
9032
9016
  * as well as adding additional styling for horizontal forms.
9033
9017
  */
9034
- column: prop_types_default.a.bool,
9018
+ column: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.oneOf(['sm', 'lg'])]),
9035
9019
 
9036
9020
  /**
9037
9021
  * The FormLabel `ref` will be forwarded to the underlying element.
@@ -9065,7 +9049,9 @@ var FormLabel = external_root_React_commonjs2_react_commonjs_react_amd_react_def
9065
9049
  controlId = _useContext.controlId;
9066
9050
 
9067
9051
  bsPrefix = useBootstrapPrefix(bsPrefix, 'form-label');
9068
- var classes = classnames_default()(className, bsPrefix, srOnly && 'sr-only', column && 'col-form-label');
9052
+ var columnClass = 'col-form-label';
9053
+ if (typeof column === 'string') columnClass = columnClass + "-" + column;
9054
+ var classes = classnames_default()(className, bsPrefix, srOnly && 'sr-only', column && columnClass);
9069
9055
  false ? undefined : void 0;
9070
9056
  htmlFor = htmlFor || controlId;
9071
9057
  if (column) return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Col, _extends({
@@ -9075,7 +9061,7 @@ var FormLabel = external_root_React_commonjs2_react_commonjs_react_amd_react_def
9075
9061
  }, props, {
9076
9062
  __source: {
9077
9063
  fileName: FormLabel_jsxFileName,
9078
- lineNumber: 70
9064
+ lineNumber: 72
9079
9065
  },
9080
9066
  __self: this
9081
9067
  }));
@@ -9087,7 +9073,7 @@ var FormLabel = external_root_React_commonjs2_react_commonjs_react_amd_react_def
9087
9073
  }, props, {
9088
9074
  __source: {
9089
9075
  fileName: FormLabel_jsxFileName,
9090
- lineNumber: 75
9076
+ lineNumber: 77
9091
9077
  },
9092
9078
  __self: this
9093
9079
  }))
@@ -9255,6 +9241,7 @@ var Container_jsxFileName = "/Users/jquense/src/react-bootstrap/src/Container.js
9255
9241
 
9256
9242
 
9257
9243
 
9244
+ var containerSizes = prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.oneOf(['sm', 'md', 'lg', 'xl'])]);
9258
9245
  var Container_propTypes = {
9259
9246
  /**
9260
9247
  * @default 'container'
@@ -9263,8 +9250,9 @@ var Container_propTypes = {
9263
9250
 
9264
9251
  /**
9265
9252
  * Allow the Container to fill all of its available horizontal space.
9253
+ * @type {(true|"sm"|"md"|"lg"|"xl")}
9266
9254
  */
9267
- fluid: prop_types_default.a.bool,
9255
+ fluid: containerSizes,
9268
9256
 
9269
9257
  /**
9270
9258
  * You can use a custom element for this component
@@ -9274,8 +9262,7 @@ var Container_propTypes = {
9274
9262
  var Container_defaultProps = {
9275
9263
  fluid: false
9276
9264
  };
9277
- var Container = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
9278
- function (_ref, ref) {
9265
+ var Container = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef(function (_ref, ref) {
9279
9266
  var bsPrefix = _ref.bsPrefix,
9280
9267
  fluid = _ref.fluid,
9281
9268
  _ref$as = _ref.as,
@@ -9284,13 +9271,14 @@ function (_ref, ref) {
9284
9271
  props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "fluid", "as", "className"]);
9285
9272
 
9286
9273
  var prefix = useBootstrapPrefix(bsPrefix, 'container');
9274
+ var suffix = typeof fluid === 'string' ? "-" + fluid : '-fluid';
9287
9275
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Component, _extends({
9288
9276
  ref: ref
9289
9277
  }, props, {
9290
- className: classnames_default()(className, fluid ? prefix + "-fluid" : prefix),
9278
+ className: classnames_default()(className, fluid ? "" + prefix + suffix : prefix),
9291
9279
  __source: {
9292
9280
  fileName: Container_jsxFileName,
9293
- lineNumber: 32
9281
+ lineNumber: 48
9294
9282
  },
9295
9283
  __self: this
9296
9284
  }));
@@ -10340,12 +10328,6 @@ function () {
10340
10328
  }();
10341
10329
 
10342
10330
  /* harmony default export */ var esm_ModalManager = (ModalManager_ModalManager);
10343
- // CONCATENATED MODULE: ./node_modules/react-overlays/esm/utils/ownerDocument.js
10344
-
10345
-
10346
- /* harmony default export */ var utils_ownerDocument = (function (componentOrElement) {
10347
- return ownerDocument(external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default.a.findDOMNode(componentOrElement));
10348
- });
10349
10331
  // CONCATENATED MODULE: ./node_modules/react-overlays/esm/utils/useWaitForDOMRef.js
10350
10332
 
10351
10333
 
@@ -10402,7 +10384,6 @@ function useWaitForDOMRef(ref, onResolved) {
10402
10384
 
10403
10385
 
10404
10386
 
10405
- var modalManager = new esm_ModalManager();
10406
10387
 
10407
10388
  function omitProps(props, propTypes) {
10408
10389
  var keys = Object.keys(props);
@@ -10414,6 +10395,8 @@ function omitProps(props, propTypes) {
10414
10395
  });
10415
10396
  return newProps;
10416
10397
  }
10398
+
10399
+ var manager;
10417
10400
  /**
10418
10401
  * Love them or hate them, `<Modal />` provides a solid foundation for creating dialogs, lightboxes, or whatever else.
10419
10402
  * The Modal component renders its `children` node in front of a backdrop component.
@@ -10435,7 +10418,6 @@ function omitProps(props, propTypes) {
10435
10418
  * React hierarchy (such as the default: document.body).
10436
10419
  */
10437
10420
 
10438
-
10439
10421
  var Modal_Modal =
10440
10422
  /*#__PURE__*/
10441
10423
  function (_React$Component) {
@@ -10457,9 +10439,10 @@ function (_React$Component) {
10457
10439
  var _this$props = _this.props,
10458
10440
  container = _this$props.container,
10459
10441
  containerClassName = _this$props.containerClassName,
10460
- manager = _this$props.manager,
10461
10442
  onShow = _this$props.onShow;
10462
- manager.add(_assertThisInitialized(_this), container, containerClassName);
10443
+
10444
+ _this.getModalManager().add(_assertThisInitialized(_this), container, containerClassName);
10445
+
10463
10446
  _this.removeKeydownListener = esm_listen(document, 'keydown', _this.handleDocumentKeyDown);
10464
10447
  _this.removeFocusListener = esm_listen(document, 'focus', // the timeout is necessary b/c this will run before the new modal is mounted
10465
10448
  // and so steals focus from it
@@ -10477,7 +10460,7 @@ function (_React$Component) {
10477
10460
  };
10478
10461
 
10479
10462
  _this.onHide = function () {
10480
- _this.props.manager.remove(_assertThisInitialized(_this));
10463
+ _this.getModalManager().remove(_assertThisInitialized(_this));
10481
10464
 
10482
10465
  _this.removeKeydownListener();
10483
10466
 
@@ -10625,6 +10608,18 @@ function (_React$Component) {
10625
10608
  return null;
10626
10609
  };
10627
10610
 
10611
+ _proto.getModalManager = function getModalManager() {
10612
+ if (this.props.manager) {
10613
+ return this.props.manager;
10614
+ }
10615
+
10616
+ if (!manager) {
10617
+ manager = new esm_ModalManager();
10618
+ }
10619
+
10620
+ return manager;
10621
+ };
10622
+
10628
10623
  _proto.restoreLastFocus = function restoreLastFocus() {
10629
10624
  // Support: <=IE11 doesn't support `focus()` on svg elements (RB: #917)
10630
10625
  if (this.lastFocus && this.lastFocus.focus) {
@@ -10644,7 +10639,7 @@ function (_React$Component) {
10644
10639
  };
10645
10640
 
10646
10641
  _proto.isTopModal = function isTopModal() {
10647
- return this.props.manager.isTopModal(this);
10642
+ return this.getModalManager().isTopModal(this);
10648
10643
  };
10649
10644
 
10650
10645
  _proto.render = function render() {
@@ -10858,7 +10853,7 @@ Modal_Modal.propTypes = {
10858
10853
  * A ModalManager instance used to track and manage the state of open
10859
10854
  * Modals. Useful when customizing how modals interact within a container
10860
10855
  */
10861
- manager: prop_types_default.a.object.isRequired
10856
+ manager: prop_types_default.a.object
10862
10857
  };
10863
10858
  Modal_Modal.defaultProps = {
10864
10859
  show: false,
@@ -10869,7 +10864,6 @@ Modal_Modal.defaultProps = {
10869
10864
  enforceFocus: true,
10870
10865
  restoreFocus: true,
10871
10866
  onHide: function onHide() {},
10872
- manager: modalManager,
10873
10867
  renderBackdrop: function renderBackdrop(props) {
10874
10868
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", props);
10875
10869
  }
@@ -11157,6 +11151,7 @@ var Modal_jsxFileName = "/Users/jquense/src/react-bootstrap/src/Modal.js";
11157
11151
 
11158
11152
 
11159
11153
 
11154
+ var Modal_manager;
11160
11155
  var Modal_propTypes = {
11161
11156
  /**
11162
11157
  * @default 'modal'
@@ -11235,6 +11230,15 @@ var Modal_propTypes = {
11235
11230
  */
11236
11231
  restoreFocus: prop_types_default.a.bool,
11237
11232
 
11233
+ /**
11234
+ * Options passed to focus function when `restoreFocus` is set to `true`
11235
+ *
11236
+ * @link https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#Parameters
11237
+ */
11238
+ restoreFocusOptions: prop_types_default.a.shape({
11239
+ preventScroll: prop_types_default.a.bool
11240
+ }),
11241
+
11238
11242
  /**
11239
11243
  * When `true` The modal will show itself.
11240
11244
  */
@@ -11290,7 +11294,7 @@ var Modal_propTypes = {
11290
11294
  * A ModalManager instance used to track and manage the state of open
11291
11295
  * Modals. Useful when customizing how modals interact within a container
11292
11296
  */
11293
- manager: prop_types_default.a.object.isRequired,
11297
+ manager: prop_types_default.a.object,
11294
11298
 
11295
11299
  /**
11296
11300
  * @private
@@ -11305,8 +11309,7 @@ var Modal_defaultProps = {
11305
11309
  enforceFocus: true,
11306
11310
  restoreFocus: true,
11307
11311
  animation: true,
11308
- dialogAs: src_ModalDialog,
11309
- manager: new BootstrapModalManager_BootstrapModalManager()
11312
+ dialogAs: src_ModalDialog
11310
11313
  };
11311
11314
  /* eslint-disable no-use-before-define, react/no-multi-comp */
11312
11315
 
@@ -11314,7 +11317,7 @@ function DialogTransition(props) {
11314
11317
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Fade, _extends({}, props, {
11315
11318
  __source: {
11316
11319
  fileName: Modal_jsxFileName,
11317
- lineNumber: 175
11320
+ lineNumber: 185
11318
11321
  },
11319
11322
  __self: this
11320
11323
  }));
@@ -11324,7 +11327,7 @@ function BackdropTransition(props) {
11324
11327
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Fade, _extends({}, props, {
11325
11328
  __source: {
11326
11329
  fileName: Modal_jsxFileName,
11327
- lineNumber: 179
11330
+ lineNumber: 189
11328
11331
  },
11329
11332
  __self: this
11330
11333
  }));
@@ -11425,6 +11428,18 @@ function (_React$Component) {
11425
11428
  _this.updateDialogStyle(_this._modal.dialog);
11426
11429
  };
11427
11430
 
11431
+ _this.getModalManager = function () {
11432
+ if (_this.props.manager) {
11433
+ return _this.props.manager;
11434
+ }
11435
+
11436
+ if (!Modal_manager) {
11437
+ Modal_manager = new BootstrapModalManager_BootstrapModalManager();
11438
+ }
11439
+
11440
+ return Modal_manager;
11441
+ };
11442
+
11428
11443
  _this.renderBackdrop = function (props) {
11429
11444
  var _this$props4 = _this.props,
11430
11445
  bsPrefix = _this$props4.bsPrefix,
@@ -11434,7 +11449,7 @@ function (_React$Component) {
11434
11449
  className: classnames_default()(bsPrefix + "-backdrop", backdropClassName, !animation && 'show'),
11435
11450
  __source: {
11436
11451
  fileName: Modal_jsxFileName,
11437
- lineNumber: 278
11452
+ lineNumber: 301
11438
11453
  },
11439
11454
  __self: this
11440
11455
  }));
@@ -11452,8 +11467,7 @@ function (_React$Component) {
11452
11467
 
11453
11468
  _proto.updateDialogStyle = function updateDialogStyle(node) {
11454
11469
  if (!canUseDOM) return;
11455
- var manager = this.props.manager;
11456
- var containerIsOverflowing = manager.isContainerOverflowing(this._modal);
11470
+ var containerIsOverflowing = this.getModalManager().isContainerOverflowing(this._modal);
11457
11471
  var modalIsOverflowing = node.scrollHeight > ownerDocument(node).documentElement.clientHeight;
11458
11472
  this.setState({
11459
11473
  style: {
@@ -11475,7 +11489,6 @@ function (_React$Component) {
11475
11489
  animation = _this$props5.animation,
11476
11490
  backdrop = _this$props5.backdrop,
11477
11491
  keyboard = _this$props5.keyboard,
11478
- manager = _this$props5.manager,
11479
11492
  onEscapeKeyDown = _this$props5.onEscapeKeyDown,
11480
11493
  onShow = _this$props5.onShow,
11481
11494
  onHide = _this$props5.onHide,
@@ -11483,6 +11496,7 @@ function (_React$Component) {
11483
11496
  autoFocus = _this$props5.autoFocus,
11484
11497
  enforceFocus = _this$props5.enforceFocus,
11485
11498
  restoreFocus = _this$props5.restoreFocus,
11499
+ restoreFocusOptions = _this$props5.restoreFocusOptions,
11486
11500
  onEntered = _this$props5.onEntered,
11487
11501
  onExit = _this$props5.onExit,
11488
11502
  onExiting = _this$props5.onExiting,
@@ -11491,7 +11505,7 @@ function (_React$Component) {
11491
11505
  _6 = _this$props5.onEnter,
11492
11506
  _4 = _this$props5.onEntering,
11493
11507
  _2 = _this$props5.backdropClassName,
11494
- props = _objectWithoutPropertiesLoose(_this$props5, ["bsPrefix", "className", "style", "dialogClassName", "children", "dialogAs", "show", "animation", "backdrop", "keyboard", "manager", "onEscapeKeyDown", "onShow", "onHide", "container", "autoFocus", "enforceFocus", "restoreFocus", "onEntered", "onExit", "onExiting", "onExited", "onEntering", "onEnter", "onEntering", "backdropClassName"]);
11508
+ props = _objectWithoutPropertiesLoose(_this$props5, ["bsPrefix", "className", "style", "dialogClassName", "children", "dialogAs", "show", "animation", "backdrop", "keyboard", "onEscapeKeyDown", "onShow", "onHide", "container", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "onEntered", "onExit", "onExiting", "onExited", "onEntering", "onEnter", "onEntering", "backdropClassName"]);
11495
11509
 
11496
11510
  var clickHandler = backdrop === true ? this.handleClick : null;
11497
11511
 
@@ -11503,7 +11517,7 @@ function (_React$Component) {
11503
11517
  value: this.modalContext,
11504
11518
  __source: {
11505
11519
  fileName: Modal_jsxFileName,
11506
- lineNumber: 332
11520
+ lineNumber: 355
11507
11521
  },
11508
11522
  __self: this
11509
11523
  }, external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(esm_Modal, _extends({
@@ -11514,13 +11528,14 @@ function (_React$Component) {
11514
11528
  autoFocus: autoFocus,
11515
11529
  enforceFocus: enforceFocus,
11516
11530
  restoreFocus: restoreFocus,
11531
+ restoreFocusOptions: restoreFocusOptions,
11517
11532
  onEscapeKeyDown: onEscapeKeyDown,
11518
11533
  onShow: onShow,
11519
11534
  onHide: onHide,
11520
11535
  onEntered: onEntered,
11521
11536
  onExit: onExit,
11522
11537
  onExiting: onExiting,
11523
- manager: manager,
11538
+ manager: this.getModalManager(),
11524
11539
  ref: this.setModalRef,
11525
11540
  style: baseModalStyle,
11526
11541
  className: classnames_default()(className, bsPrefix),
@@ -11536,7 +11551,7 @@ function (_React$Component) {
11536
11551
  }, {
11537
11552
  __source: {
11538
11553
  fileName: Modal_jsxFileName,
11539
- lineNumber: 333
11554
+ lineNumber: 356
11540
11555
  },
11541
11556
  __self: this
11542
11557
  }), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(Dialog, _extends({}, props, {
@@ -11544,7 +11559,7 @@ function (_React$Component) {
11544
11559
  className: dialogClassName,
11545
11560
  __source: {
11546
11561
  fileName: Modal_jsxFileName,
11547
- lineNumber: 363
11562
+ lineNumber: 387
11548
11563
  },
11549
11564
  __self: this
11550
11565
  }), children)));
@@ -11650,7 +11665,7 @@ var NavLink_propTypes = {
11650
11665
 
11651
11666
  /**
11652
11667
  * Uniquely idenifies the `NavItem` amongst its siblings,
11653
- * used to determine and control the active state ofthe parent `Nav`
11668
+ * used to determine and control the active state of the parent `Nav`
11654
11669
  */
11655
11670
  eventKey: prop_types_default.a.any,
11656
11671
 
@@ -12701,13 +12716,138 @@ function Overlay_Overlay(_ref) {
12701
12716
  Overlay_Overlay.propTypes = Overlay_propTypes;
12702
12717
  Overlay_Overlay.defaultProps = Overlay_defaultProps;
12703
12718
  /* harmony default export */ var src_Overlay = (Overlay_Overlay);
12719
+ // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
12720
+
12721
+ /**
12722
+ * Track whether a component is current mounted. Generally less preferable than
12723
+ * properlly canceling effects so they don't run after a component is unmounted,
12724
+ * but helpful in cases where that isn't feasible, such as a `Promise` resolution.
12725
+ *
12726
+ * @returns a function that returns the current isMounted state of the component
12727
+ *
12728
+ * ```ts
12729
+ * const [data, setData] = useState(null)
12730
+ * const isMounted = useMounted()
12731
+ *
12732
+ * useEffect(() => {
12733
+ * fetchdata().then((newData) => {
12734
+ * if (isMounted()) {
12735
+ * setData(newData);
12736
+ * }
12737
+ * })
12738
+ * })
12739
+ * ```
12740
+ */
12741
+
12742
+ function useMounted() {
12743
+ var mounted = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(true);
12744
+ var isMounted = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(function () {
12745
+ return mounted.current;
12746
+ });
12747
+ Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useEffect"])(function () {
12748
+ return function () {
12749
+ mounted.current = false;
12750
+ };
12751
+ }, []);
12752
+ return isMounted.current;
12753
+ }
12754
+ // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useUpdatedRef.js
12755
+
12756
+ /**
12757
+ * Returns a ref that is immediately updated with the new value
12758
+ *
12759
+ * @param value The Ref value
12760
+ */
12761
+
12762
+ function useUpdatedRef(value) {
12763
+ var valueRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(value);
12764
+ valueRef.current = value;
12765
+ return valueRef;
12766
+ }
12767
+ // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useWillUnmount.js
12768
+
12769
+
12770
+ /**
12771
+ * Attach a callback that fires when a component unmounts
12772
+ *
12773
+ * @param fn Handler to run when the component unmounts
12774
+ */
12775
+
12776
+ function useWillUnmount(fn) {
12777
+ var onUnmount = useUpdatedRef(fn);
12778
+ Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useEffect"])(function () {
12779
+ return function () {
12780
+ return onUnmount.current();
12781
+ };
12782
+ }, []);
12783
+ }
12784
+ // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useTimeout.js
12785
+
12786
+
12787
+
12788
+ /*
12789
+ * Browsers including Internet Explorer, Chrome, Safari, and Firefox store the
12790
+ * delay as a 32-bit signed integer internally. This causes an integer overflow
12791
+ * when using delays larger than 2,147,483,647 ms (about 24.8 days),
12792
+ * resulting in the timeout being executed immediately.
12793
+ *
12794
+ * via: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
12795
+ */
12796
+
12797
+ var MAX_DELAY_MS = Math.pow(2, 31) - 1;
12798
+
12799
+ function setChainedTimeout(handleRef, fn, timeoutAtMs) {
12800
+ var delayMs = timeoutAtMs - Date.now();
12801
+ handleRef.current = delayMs <= MAX_DELAY_MS ? setTimeout(fn, delayMs) : setTimeout(function () {
12802
+ return setChainedTimeout(handleRef, fn, timeoutAtMs);
12803
+ }, MAX_DELAY_MS);
12804
+ }
12805
+ /**
12806
+ * Returns a controller object for setting a timeout that is properly cleaned up
12807
+ * once the component unmounts. New timeouts cancel and replace existing ones.
12808
+ */
12809
+
12810
+
12811
+ function useTimeout() {
12812
+ var isMounted = useMounted(); // types are confused between node and web here IDK
12813
+
12814
+ var handleRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])();
12815
+ useWillUnmount(function () {
12816
+ return clearTimeout(handleRef.current);
12817
+ });
12818
+ return Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useMemo"])(function () {
12819
+ var clear = function clear() {
12820
+ return clearTimeout(handleRef.current);
12821
+ };
12822
+
12823
+ function set(fn, delayMs) {
12824
+ if (delayMs === void 0) {
12825
+ delayMs = 0;
12826
+ }
12827
+
12828
+ if (!isMounted()) return;
12829
+ clear();
12830
+
12831
+ if (delayMs <= MAX_DELAY_MS) {
12832
+ // For simplicity, if the timeout is short, just set a normal timeout.
12833
+ handleRef.current = setTimeout(fn, delayMs);
12834
+ } else {
12835
+ setChainedTimeout(handleRef, fn, Date.now() + delayMs);
12836
+ }
12837
+ }
12838
+
12839
+ return {
12840
+ set: set,
12841
+ clear: clear
12842
+ };
12843
+ }, []);
12844
+ }
12704
12845
  // CONCATENATED MODULE: ./src/OverlayTrigger.js
12705
12846
 
12706
12847
 
12707
12848
 
12708
12849
  var OverlayTrigger_jsxFileName = "/Users/jquense/src/react-bootstrap/src/OverlayTrigger.js";
12709
12850
 
12710
- /* eslint-disable max-classes-per-file */
12711
12851
 
12712
12852
 
12713
12853
 
@@ -12733,12 +12873,25 @@ function (_React$Component) {
12733
12873
  return RefHolder;
12734
12874
  }(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Component);
12735
12875
 
12736
- var normalizeDelay = function normalizeDelay(delay) {
12876
+ function normalizeDelay(delay) {
12737
12877
  return delay && typeof delay === 'object' ? delay : {
12738
12878
  show: delay,
12739
12879
  hide: delay
12740
12880
  };
12741
- };
12881
+ } // Simple implementation of mouseEnter and mouseLeave.
12882
+ // React's built version is broken: https://github.com/facebook/react/issues/4251
12883
+ // for cases when the trigger is disabled and mouseOut/Over can cause flicker
12884
+ // moving from one child element to another.
12885
+
12886
+
12887
+ function handleMouseOverOut(handler, e, relatedNative) {
12888
+ var target = e.currentTarget;
12889
+ var related = e.relatedTarget || e.nativeEvent[relatedNative];
12890
+
12891
+ if ((!related || related !== target) && !contains(target, related)) {
12892
+ handler(e);
12893
+ }
12894
+ }
12742
12895
 
12743
12896
  var triggerType = prop_types_default.a.oneOf(['click', 'hover', 'focus']);
12744
12897
  var OverlayTrigger_propTypes = {
@@ -12797,212 +12950,146 @@ var OverlayTrigger_propTypes = {
12797
12950
  show: prop_types_default.a.oneOf([null])
12798
12951
  };
12799
12952
  var OverlayTrigger_defaultProps = {
12800
- defaultOverlayShown: false,
12953
+ defaultShow: false,
12801
12954
  trigger: ['hover', 'focus']
12802
- }; // eslint-disable-next-line react/no-multi-comp
12803
-
12804
- var OverlayTrigger_OverlayTrigger =
12805
- /*#__PURE__*/
12806
- function (_React$Component2) {
12807
- _inheritsLoose(OverlayTrigger, _React$Component2);
12808
-
12809
- function OverlayTrigger(props, context) {
12810
- var _this;
12811
-
12812
- _this = _React$Component2.call(this, props, context) || this;
12813
-
12814
- _this.getTarget = function () {
12815
- return external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default.a.findDOMNode(_this.trigger.current);
12816
- };
12817
-
12818
- _this.handleShow = function () {
12819
- clearTimeout(_this._timeout);
12820
- _this._hoverState = 'show';
12821
- var delay = normalizeDelay(_this.props.delay);
12822
-
12823
- if (!delay.show) {
12824
- _this.show();
12825
-
12826
- return;
12827
- }
12828
-
12829
- _this._timeout = setTimeout(function () {
12830
- if (_this._hoverState === 'show') _this.show();
12831
- }, delay.show);
12832
- };
12833
-
12834
- _this.handleHide = function () {
12835
- clearTimeout(_this._timeout);
12836
- _this._hoverState = 'hide';
12837
- var delay = normalizeDelay(_this.props.delay);
12838
-
12839
- if (!delay.hide) {
12840
- _this.hide();
12841
-
12842
- return;
12843
- }
12844
-
12845
- _this._timeout = setTimeout(function () {
12846
- if (_this._hoverState === 'hide') _this.hide();
12847
- }, delay.hide);
12848
- };
12849
-
12850
- _this.handleFocus = function (e) {
12851
- var _this$getChildProps = _this.getChildProps(),
12852
- onFocus = _this$getChildProps.onFocus;
12853
-
12854
- _this.handleShow(e);
12855
-
12856
- if (onFocus) onFocus(e);
12857
- };
12858
-
12859
- _this.handleBlur = function (e) {
12860
- var _this$getChildProps2 = _this.getChildProps(),
12861
- onBlur = _this$getChildProps2.onBlur;
12862
-
12863
- _this.handleHide(e);
12864
-
12865
- if (onBlur) onBlur(e);
12866
- };
12867
-
12868
- _this.handleClick = function (e) {
12869
- var _this$getChildProps3 = _this.getChildProps(),
12870
- onClick = _this$getChildProps3.onClick;
12871
-
12872
- if (_this.state.show) _this.hide();else _this.show();
12873
- if (onClick) onClick(e);
12874
- };
12875
-
12876
- _this.handleMouseOver = function (e) {
12877
- _this.handleMouseOverOut(_this.handleShow, e, 'fromElement');
12878
- };
12879
-
12880
- _this.handleMouseOut = function (e) {
12881
- return _this.handleMouseOverOut(_this.handleHide, e, 'toElement');
12882
- };
12883
-
12884
- _this.trigger = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createRef();
12885
- _this.state = {
12886
- show: !!props.defaultShow
12887
- }; // We add aria-describedby in the case where the overlay is a role="tooltip"
12888
- // for other cases describedby isn't appropriate (e.g. a popover with inputs) so we don't add it.
12889
-
12890
- _this.ariaModifier = {
12891
- enabled: true,
12892
- order: 900,
12893
- fn: function fn(data) {
12894
- var popper = data.instance.popper;
12955
+ };
12895
12956
 
12896
- var target = _this.getTarget();
12957
+ function OverlayTrigger(_ref) {
12958
+ var trigger = _ref.trigger,
12959
+ overlay = _ref.overlay,
12960
+ children = _ref.children,
12961
+ _ref$popperConfig = _ref.popperConfig,
12962
+ popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig,
12963
+ defaultShow = _ref.defaultShow,
12964
+ propsDelay = _ref.delay,
12965
+ props = _objectWithoutPropertiesLoose(_ref, ["trigger", "overlay", "children", "popperConfig", "defaultShow", "delay"]);
12897
12966
 
12898
- if (!_this.state.show || !target) return data;
12899
- var role = popper.getAttribute('role') || '';
12967
+ var triggerNodeRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(null);
12968
+ var timeout = useTimeout();
12969
+ var hoverStateRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])();
12900
12970
 
12901
- if (popper.id && role.toLowerCase() === 'tooltip') {
12902
- target.setAttribute('aria-describedby', popper.id);
12903
- }
12971
+ var _useState = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useState"])(!!defaultShow),
12972
+ show = _useState[0],
12973
+ setShow = _useState[1];
12904
12974
 
12905
- return data;
12906
- }
12907
- };
12908
- return _this;
12909
- }
12910
-
12911
- var _proto2 = OverlayTrigger.prototype;
12912
-
12913
- _proto2.componentWillUnmount = function componentWillUnmount() {
12914
- clearTimeout(this._timeout);
12915
- };
12975
+ var delay = normalizeDelay(propsDelay);
12976
+ var child = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.only(children);
12977
+ var _child$props = child.props,
12978
+ onFocus = _child$props.onFocus,
12979
+ onBlur = _child$props.onBlur,
12980
+ onClick = _child$props.onClick;
12981
+ var getTarget = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function () {
12982
+ return external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default.a.findDOMNode(triggerNodeRef.current);
12983
+ }, []);
12984
+ var handleShow = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function () {
12985
+ timeout.clear();
12986
+ hoverStateRef.current = 'show';
12916
12987
 
12917
- _proto2.getChildProps = function getChildProps() {
12918
- return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.only(this.props.children).props;
12919
- };
12988
+ if (!delay.show) {
12989
+ setShow(true);
12990
+ return;
12991
+ }
12920
12992
 
12921
- // Simple implementation of mouseEnter and mouseLeave.
12922
- // React's built version is broken: https://github.com/facebook/react/issues/4251
12923
- // for cases when the trigger is disabled and mouseOut/Over can cause flicker
12924
- // moving from one child element to another.
12925
- _proto2.handleMouseOverOut = function handleMouseOverOut(handler, e, relatedNative) {
12926
- var target = e.currentTarget;
12927
- var related = e.relatedTarget || e.nativeEvent[relatedNative];
12993
+ timeout.set(function () {
12994
+ if (hoverStateRef.current === 'show') setShow(true);
12995
+ }, delay.show);
12996
+ }, [delay.show, timeout]);
12997
+ var handleHide = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function () {
12998
+ timeout.clear();
12999
+ hoverStateRef.current = 'hide';
12928
13000
 
12929
- if ((!related || related !== target) && !contains(target, related)) {
12930
- handler(e);
13001
+ if (!delay.hide) {
13002
+ setShow(false);
13003
+ return;
12931
13004
  }
12932
- };
12933
-
12934
- _proto2.hide = function hide() {
12935
- this.setState({
12936
- show: false
12937
- });
12938
- };
12939
13005
 
12940
- _proto2.show = function show() {
12941
- this.setState({
12942
- show: true
13006
+ timeout.set(function () {
13007
+ if (hoverStateRef.current === 'hide') setShow(false);
13008
+ }, delay.hide);
13009
+ }, [delay.hide, timeout]);
13010
+ var handleFocus = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function (e) {
13011
+ handleShow(e);
13012
+ if (onFocus) onFocus(e);
13013
+ }, [handleShow, onFocus]);
13014
+ var handleBlur = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function (e) {
13015
+ handleHide(e);
13016
+ if (onBlur) onBlur(e);
13017
+ }, [handleHide, onBlur]);
13018
+ var handleClick = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function (e) {
13019
+ setShow(function (prevShow) {
13020
+ return !prevShow;
12943
13021
  });
12944
- };
12945
-
12946
- _proto2.render = function render() {
12947
- var _this$props = this.props,
12948
- trigger = _this$props.trigger,
12949
- overlay = _this$props.overlay,
12950
- children = _this$props.children,
12951
- _this$props$popperCon = _this$props.popperConfig,
12952
- popperConfig = _this$props$popperCon === void 0 ? {} : _this$props$popperCon,
12953
- props = _objectWithoutPropertiesLoose(_this$props, ["trigger", "overlay", "children", "popperConfig"]);
12954
-
12955
- delete props.delay;
12956
- delete props.defaultShow;
12957
- var child = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Children.only(children);
12958
- var triggerProps = {};
12959
- var triggers = trigger == null ? [] : [].concat(trigger);
13022
+ if (onClick) onClick(e);
13023
+ }, [onClick]);
13024
+ var handleMouseOver = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function (e) {
13025
+ handleMouseOverOut(handleShow, e, 'fromElement');
13026
+ }, [handleShow]);
13027
+ var handleMouseOut = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useCallback"])(function (e) {
13028
+ handleMouseOverOut(handleHide, e, 'toElement');
13029
+ }, [handleHide]); // We add aria-describedby in the case where the overlay is a role="tooltip"
13030
+ // for other cases describedby isn't appropriate (e.g. a popover with inputs) so we don't add it.
13031
+
13032
+ var ariaModifier = {
13033
+ enabled: true,
13034
+ order: 900,
13035
+ fn: function fn(data) {
13036
+ var popper = data.instance.popper;
13037
+ var target = getTarget();
13038
+ if (!show || !target) return data;
13039
+ var role = popper.getAttribute('role') || '';
13040
+
13041
+ if (popper.id && role.toLowerCase() === 'tooltip') {
13042
+ target.setAttribute('aria-describedby', popper.id);
13043
+ }
12960
13044
 
12961
- if (triggers.indexOf('click') !== -1) {
12962
- triggerProps.onClick = this.handleClick;
13045
+ return data;
12963
13046
  }
13047
+ };
13048
+ var triggers = trigger == null ? [] : [].concat(trigger);
13049
+ var triggerProps = {};
12964
13050
 
12965
- if (triggers.indexOf('focus') !== -1) {
12966
- triggerProps.onFocus = this.handleShow;
12967
- triggerProps.onBlur = this.handleHide;
12968
- }
13051
+ if (triggers.indexOf('click') !== -1) {
13052
+ triggerProps.onClick = handleClick;
13053
+ }
12969
13054
 
12970
- if (triggers.indexOf('hover') !== -1) {
12971
- false ? undefined : void 0;
12972
- triggerProps.onMouseOver = this.handleMouseOver;
12973
- triggerProps.onMouseOut = this.handleMouseOut;
12974
- }
13055
+ if (triggers.indexOf('focus') !== -1) {
13056
+ triggerProps.onFocus = handleFocus;
13057
+ triggerProps.onBlur = handleBlur;
13058
+ }
12975
13059
 
12976
- return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Fragment, null, external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(OverlayTrigger_RefHolder, {
12977
- ref: this.trigger,
12978
- __source: {
12979
- fileName: OverlayTrigger_jsxFileName,
12980
- lineNumber: 245
12981
- },
12982
- __self: this
12983
- }, Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["cloneElement"])(child, triggerProps)), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Overlay, _extends({}, props, {
12984
- popperConfig: _extends({}, popperConfig, {
12985
- modifiers: _extends({}, popperConfig.modifiers, {
12986
- ariaModifier: this.ariaModifier
12987
- })
12988
- }),
12989
- show: this.state.show,
12990
- onHide: this.handleHide,
12991
- target: this.getTarget,
12992
- __source: {
12993
- fileName: OverlayTrigger_jsxFileName,
12994
- lineNumber: 248
12995
- },
12996
- __self: this
12997
- }), overlay));
12998
- };
13060
+ if (triggers.indexOf('hover') !== -1) {
13061
+ false ? undefined : void 0;
13062
+ triggerProps.onMouseOver = handleMouseOver;
13063
+ triggerProps.onMouseOut = handleMouseOut;
13064
+ }
12999
13065
 
13000
- return OverlayTrigger;
13001
- }(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Component);
13066
+ return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.Fragment, null, external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(OverlayTrigger_RefHolder, {
13067
+ ref: triggerNodeRef,
13068
+ __source: {
13069
+ fileName: OverlayTrigger_jsxFileName,
13070
+ lineNumber: 234
13071
+ },
13072
+ __self: this
13073
+ }, Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["cloneElement"])(child, triggerProps)), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Overlay, _extends({}, props, {
13074
+ popperConfig: _extends({}, popperConfig, {
13075
+ modifiers: _extends({}, popperConfig.modifiers, {
13076
+ ariaModifier: ariaModifier
13077
+ })
13078
+ }),
13079
+ show: show,
13080
+ onHide: handleHide,
13081
+ target: getTarget,
13082
+ __source: {
13083
+ fileName: OverlayTrigger_jsxFileName,
13084
+ lineNumber: 237
13085
+ },
13086
+ __self: this
13087
+ }), overlay));
13088
+ }
13002
13089
 
13003
- OverlayTrigger_OverlayTrigger.propTypes = OverlayTrigger_propTypes;
13004
- OverlayTrigger_OverlayTrigger.defaultProps = OverlayTrigger_defaultProps;
13005
- /* harmony default export */ var src_OverlayTrigger = (OverlayTrigger_OverlayTrigger);
13090
+ OverlayTrigger.propTypes = OverlayTrigger_propTypes;
13091
+ OverlayTrigger.defaultProps = OverlayTrigger_defaultProps;
13092
+ /* harmony default export */ var src_OverlayTrigger = (OverlayTrigger);
13006
13093
  // CONCATENATED MODULE: ./src/PageItem.js
13007
13094
 
13008
13095
 
@@ -13674,6 +13761,7 @@ var Row = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a
13674
13761
  __self: this
13675
13762
  }));
13676
13763
  });
13764
+ Row.displayName = 'Row';
13677
13765
  Row.propTypes = Row_propTypes;
13678
13766
  Row.defaultProps = Row_defaultProps;
13679
13767
  /* harmony default export */ var src_Row = (Row);
@@ -13789,6 +13877,9 @@ var SplitButton_propTypes = {
13789
13877
  /** The content of the non-toggle Button. */
13790
13878
  title: prop_types_default.a.node.isRequired,
13791
13879
 
13880
+ /** A `type` passed to the non-toggle Button */
13881
+ type: prop_types_default.a.string,
13882
+
13792
13883
  /** Disables both Buttons */
13793
13884
  disabled: prop_types_default.a.bool,
13794
13885
 
@@ -13812,7 +13903,8 @@ var SplitButton_propTypes = {
13812
13903
  size: prop_types_default.a.string
13813
13904
  };
13814
13905
  var SplitButton_defaultProps = {
13815
- toggleLabel: 'Toggle dropdown'
13906
+ toggleLabel: 'Toggle dropdown',
13907
+ type: 'button'
13816
13908
  };
13817
13909
  var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.forwardRef(function (_ref, ref) {
13818
13910
  var id = _ref.id,
@@ -13820,6 +13912,7 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13820
13912
  size = _ref.size,
13821
13913
  variant = _ref.variant,
13822
13914
  title = _ref.title,
13915
+ type = _ref.type,
13823
13916
  toggleLabel = _ref.toggleLabel,
13824
13917
  children = _ref.children,
13825
13918
  onClick = _ref.onClick,
@@ -13827,7 +13920,7 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13827
13920
  target = _ref.target,
13828
13921
  menuRole = _ref.menuRole,
13829
13922
  rootCloseEvent = _ref.rootCloseEvent,
13830
- props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "toggleLabel", "children", "onClick", "href", "target", "menuRole", "rootCloseEvent"]);
13923
+ props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "menuRole", "rootCloseEvent"]);
13831
13924
 
13832
13925
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Dropdown, _extends({
13833
13926
  ref: ref
@@ -13835,7 +13928,7 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13835
13928
  as: src_ButtonGroup,
13836
13929
  __source: {
13837
13930
  fileName: SplitButton_jsxFileName,
13838
- lineNumber: 76
13931
+ lineNumber: 81
13839
13932
  },
13840
13933
  __self: this
13841
13934
  }), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Button, {
@@ -13846,9 +13939,10 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13846
13939
  href: href,
13847
13940
  target: target,
13848
13941
  onClick: onClick,
13942
+ type: type,
13849
13943
  __source: {
13850
13944
  fileName: SplitButton_jsxFileName,
13851
- lineNumber: 77
13945
+ lineNumber: 82
13852
13946
  },
13853
13947
  __self: this
13854
13948
  }, title), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Dropdown.Toggle, {
@@ -13860,14 +13954,14 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13860
13954
  childBsPrefix: bsPrefix,
13861
13955
  __source: {
13862
13956
  fileName: SplitButton_jsxFileName,
13863
- lineNumber: 88
13957
+ lineNumber: 94
13864
13958
  },
13865
13959
  __self: this
13866
13960
  }, external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("span", {
13867
13961
  className: "sr-only",
13868
13962
  __source: {
13869
13963
  fileName: SplitButton_jsxFileName,
13870
- lineNumber: 96
13964
+ lineNumber: 102
13871
13965
  },
13872
13966
  __self: this
13873
13967
  }, toggleLabel)), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement(src_Dropdown.Menu, {
@@ -13875,7 +13969,7 @@ var SplitButton = external_root_React_commonjs2_react_commonjs_react_amd_react_d
13875
13969
  rootCloseEvent: rootCloseEvent,
13876
13970
  __source: {
13877
13971
  fileName: SplitButton_jsxFileName,
13878
- lineNumber: 99
13972
+ lineNumber: 105
13879
13973
  },
13880
13974
  __self: this
13881
13975
  }, children));
@@ -14802,7 +14896,10 @@ var Tooltip_propTypes = {
14802
14896
  scheduleUpdate: prop_types_default.a.func,
14803
14897
 
14804
14898
  /** @private */
14805
- outOfBoundaries: prop_types_default.a.any
14899
+ outOfBoundaries: prop_types_default.a.any,
14900
+
14901
+ /** @private */
14902
+ show: prop_types_default.a.any
14806
14903
  };
14807
14904
  var Tooltip_defaultProps = {
14808
14905
  placement: 'right'
@@ -14816,7 +14913,8 @@ var Tooltip = external_root_React_commonjs2_react_commonjs_react_amd_react_defau
14816
14913
  arrowProps = _ref.arrowProps,
14817
14914
  _ = _ref.scheduleUpdate,
14818
14915
  _1 = _ref.outOfBoundaries,
14819
- props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "arrowProps", "scheduleUpdate", "outOfBoundaries"]);
14916
+ _2 = _ref.show,
14917
+ props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "arrowProps", "scheduleUpdate", "outOfBoundaries", "show"]);
14820
14918
 
14821
14919
  bsPrefix = useBootstrapPrefix(bsPrefix, 'tooltip');
14822
14920
  return external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", _extends({
@@ -14828,7 +14926,7 @@ var Tooltip = external_root_React_commonjs2_react_commonjs_react_amd_react_defau
14828
14926
  }, props, {
14829
14927
  __source: {
14830
14928
  fileName: Tooltip_jsxFileName,
14831
- lineNumber: 86
14929
+ lineNumber: 90
14832
14930
  },
14833
14931
  __self: this
14834
14932
  }), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", _extends({
@@ -14836,14 +14934,14 @@ var Tooltip = external_root_React_commonjs2_react_commonjs_react_amd_react_defau
14836
14934
  }, arrowProps, {
14837
14935
  __source: {
14838
14936
  fileName: Tooltip_jsxFileName,
14839
- lineNumber: 94
14937
+ lineNumber: 98
14840
14938
  },
14841
14939
  __self: this
14842
14940
  })), external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createElement("div", {
14843
14941
  className: bsPrefix + "-inner",
14844
14942
  __source: {
14845
14943
  fileName: Tooltip_jsxFileName,
14846
- lineNumber: 95
14944
+ lineNumber: 99
14847
14945
  },
14848
14946
  __self: this
14849
14947
  }, children));
@@ -14852,98 +14950,6 @@ Tooltip.propTypes = Tooltip_propTypes;
14852
14950
  Tooltip.defaultProps = Tooltip_defaultProps;
14853
14951
  Tooltip.displayName = 'Tooltip';
14854
14952
  /* harmony default export */ var src_Tooltip = (Tooltip);
14855
- // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useUpdatedRef.js
14856
-
14857
- /**
14858
- * Returns a ref that is immediately updated with the new value
14859
- *
14860
- * @param value The Ref value
14861
- */
14862
-
14863
- function useUpdatedRef(value) {
14864
- var valueRef = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(value);
14865
- valueRef.current = value;
14866
- return valueRef;
14867
- }
14868
- // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useWillUnmount.js
14869
-
14870
-
14871
- /**
14872
- * Attach a callback that fires when a component unmounts
14873
- *
14874
- * @param fn Handler to run when the component unmounts
14875
- */
14876
-
14877
- function useWillUnmount(fn) {
14878
- var onUnmount = useUpdatedRef(fn);
14879
- Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useEffect"])(function () {
14880
- return function () {
14881
- return onUnmount.current();
14882
- };
14883
- }, []);
14884
- }
14885
- // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
14886
-
14887
- /**
14888
- * Track whether a component is current mounted. Generally less preferable than
14889
- * properlly canceling effects so they don't run after a component is unmounted,
14890
- * but helpful in cases where that isn't feasible, such as a `Promise` resolution.
14891
- *
14892
- * @returns a function that returns the current isMounted state of the component
14893
- *
14894
- * ```ts
14895
- * const [data, setData] = useState(null)
14896
- * const isMounted = useMounted()
14897
- *
14898
- * useEffect(() => {
14899
- * fetchdata().then((newData) => {
14900
- * if (isMounted()) {
14901
- * setData(newData);
14902
- * }
14903
- * })
14904
- * })
14905
- * ```
14906
- */
14907
-
14908
- function useMounted() {
14909
- var mounted = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(true);
14910
- var isMounted = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])(function () {
14911
- return mounted.current;
14912
- });
14913
- Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useEffect"])(function () {
14914
- return function () {
14915
- mounted.current = false;
14916
- };
14917
- }, []);
14918
- return isMounted.current;
14919
- }
14920
- // CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useTimeout.js
14921
-
14922
-
14923
-
14924
- /**
14925
- * Returns a controller object for setting a timeout that is properly cleaned up
14926
- * once the component unmounts. New timeouts cancel and replace existing ones.
14927
- */
14928
-
14929
- function useTimeout() {
14930
- var isMounted = useMounted();
14931
- var handle = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_["useRef"])();
14932
-
14933
- var clear = function clear() {
14934
- return clearTimeout(handle.current);
14935
- };
14936
-
14937
- useWillUnmount(clear);
14938
- return {
14939
- set: function set(fn, ms) {
14940
- if (!isMounted()) return;
14941
- clear();
14942
- handle.current = setTimeout(fn, ms);
14943
- },
14944
- clear: clear
14945
- };
14946
- }
14947
14953
  // CONCATENATED MODULE: ./src/ToastContext.js
14948
14954
 
14949
14955
  var ToastContext = external_root_React_commonjs2_react_commonjs_react_amd_react_default.a.createContext({
@@ -15200,6 +15206,7 @@ Toast.Header = src_ToastHeader;
15200
15206
  /* concated harmony reexport NavbarBrand */__webpack_require__.d(__webpack_exports__, "NavbarBrand", function() { return src_NavbarBrand; });
15201
15207
  /* concated harmony reexport NavDropdown */__webpack_require__.d(__webpack_exports__, "NavDropdown", function() { return src_NavDropdown; });
15202
15208
  /* concated harmony reexport NavItem */__webpack_require__.d(__webpack_exports__, "NavItem", function() { return src_NavItem; });
15209
+ /* concated harmony reexport NavLink */__webpack_require__.d(__webpack_exports__, "NavLink", function() { return src_NavLink; });
15203
15210
  /* concated harmony reexport Overlay */__webpack_require__.d(__webpack_exports__, "Overlay", function() { return src_Overlay; });
15204
15211
  /* concated harmony reexport OverlayTrigger */__webpack_require__.d(__webpack_exports__, "OverlayTrigger", function() { return src_OverlayTrigger; });
15205
15212
  /* concated harmony reexport PageItem */__webpack_require__.d(__webpack_exports__, "PageItem", function() { return src_PageItem; });
@@ -15375,6 +15382,8 @@ Toast.Header = src_ToastHeader;
15375
15382
 
15376
15383
 
15377
15384
 
15385
+
15386
+
15378
15387
 
15379
15388
 
15380
15389