react-bootstrap 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/cjs/AbstractNav.d.ts +15 -0
  2. package/cjs/AbstractNavItem.d.ts +19 -0
  3. package/cjs/AccordionToggle.d.ts +11 -0
  4. package/cjs/CardColumns.d.ts +2 -0
  5. package/cjs/CardContext.d.ts +6 -0
  6. package/cjs/CardDeck.d.ts +2 -0
  7. package/cjs/CloseButton.js +3 -0
  8. package/cjs/Form.d.ts +6 -6
  9. package/cjs/FormFile.d.ts +23 -0
  10. package/cjs/FormFileInput.d.ts +10 -0
  11. package/cjs/FormFileLabel.d.ts +7 -0
  12. package/cjs/Jumbotron.d.ts +7 -0
  13. package/cjs/ListGroupItem.js +3 -0
  14. package/cjs/Media.d.ts +8 -0
  15. package/cjs/Modal.js +1 -1
  16. package/cjs/OverlayTrigger.d.ts +5 -5
  17. package/cjs/PageItem.js +0 -1
  18. package/cjs/PopoverContent.d.ts +5 -0
  19. package/cjs/PopoverTitle.d.ts +5 -0
  20. package/cjs/ResponsiveEmbed.d.ts +9 -0
  21. package/cjs/SafeAnchor.d.ts +17 -0
  22. package/cjs/SelectableContext.d.ts +5 -0
  23. package/cjs/Spinner.d.ts +1 -1
  24. package/cjs/Spinner.js +1 -1
  25. package/cjs/Tab.d.ts +2 -2
  26. package/cjs/TabContainer.d.ts +2 -2
  27. package/cjs/TabContext.d.ts +12 -0
  28. package/cjs/Tabs.d.ts +3 -3
  29. package/cjs/safeFindDOMNode.d.ts +1 -1
  30. package/cjs/types.d.ts +1 -1
  31. package/cjs/usePopperMarginModifiers.d.ts +4 -0
  32. package/dist/react-bootstrap.js +82 -258
  33. package/dist/react-bootstrap.min.js +1 -1
  34. package/esm/AbstractNav.d.ts +15 -0
  35. package/esm/AbstractNavItem.d.ts +19 -0
  36. package/esm/AccordionToggle.d.ts +11 -0
  37. package/esm/CardColumns.d.ts +2 -0
  38. package/esm/CardContext.d.ts +6 -0
  39. package/esm/CardDeck.d.ts +2 -0
  40. package/esm/CloseButton.js +3 -0
  41. package/esm/Form.d.ts +6 -6
  42. package/esm/FormFile.d.ts +23 -0
  43. package/esm/FormFileInput.d.ts +10 -0
  44. package/esm/FormFileLabel.d.ts +7 -0
  45. package/esm/Jumbotron.d.ts +7 -0
  46. package/esm/ListGroupItem.js +2 -0
  47. package/esm/Media.d.ts +8 -0
  48. package/esm/Modal.js +1 -1
  49. package/esm/OverlayTrigger.d.ts +5 -5
  50. package/esm/PageItem.js +0 -1
  51. package/esm/PopoverContent.d.ts +5 -0
  52. package/esm/PopoverTitle.d.ts +5 -0
  53. package/esm/ResponsiveEmbed.d.ts +9 -0
  54. package/esm/SafeAnchor.d.ts +17 -0
  55. package/esm/SelectableContext.d.ts +5 -0
  56. package/esm/Spinner.d.ts +1 -1
  57. package/esm/Spinner.js +1 -1
  58. package/esm/Tab.d.ts +2 -2
  59. package/esm/TabContainer.d.ts +2 -2
  60. package/esm/TabContext.d.ts +12 -0
  61. package/esm/Tabs.d.ts +3 -3
  62. package/esm/safeFindDOMNode.d.ts +1 -1
  63. package/esm/types.d.ts +1 -1
  64. package/esm/usePopperMarginModifiers.d.ts +4 -0
  65. package/package.json +2 -2
@@ -1101,7 +1101,7 @@ var prop_types = __webpack_require__(526);
1101
1101
  var prop_types_default = /*#__PURE__*/__webpack_require__.n(prop_types);
1102
1102
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
1103
1103
  function extends_extends() {
1104
- extends_extends = Object.assign || function (target) {
1104
+ extends_extends = Object.assign ? Object.assign.bind() : function (target) {
1105
1105
  for (var i = 1; i < arguments.length; i++) {
1106
1106
  var source = arguments[i];
1107
1107
 
@@ -1114,7 +1114,6 @@ function extends_extends() {
1114
1114
 
1115
1115
  return target;
1116
1116
  };
1117
-
1118
1117
  return extends_extends.apply(this, arguments);
1119
1118
  }
1120
1119
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
@@ -1774,11 +1773,10 @@ function style(node, property) {
1774
1773
  /* harmony default export */ const css = (style);
1775
1774
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1776
1775
  function _setPrototypeOf(o, p) {
1777
- _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
1776
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
1778
1777
  o.__proto__ = p;
1779
1778
  return o;
1780
1779
  };
1781
-
1782
1780
  return _setPrototypeOf(o, p);
1783
1781
  }
1784
1782
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js
@@ -2550,7 +2548,7 @@ const TransitionWrapper = /*#__PURE__*/external_root_React_commonjs2_react_commo
2550
2548
  })
2551
2549
  }, void 0, false, {
2552
2550
  fileName: TransitionWrapper_jsxFileName,
2553
- lineNumber: 68,
2551
+ lineNumber: 66,
2554
2552
  columnNumber: 7
2555
2553
  }, undefined);
2556
2554
  });
@@ -3175,7 +3173,7 @@ function useEventCallback(fn) {
3175
3173
  return ref.current && ref.current.apply(ref, arguments);
3176
3174
  }, [ref]);
3177
3175
  }
3178
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCallbackRef.js
3176
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCallbackRef.js
3179
3177
 
3180
3178
  /**
3181
3179
  * A convenience hook around `useState` designed to be paired with
@@ -3205,37 +3203,7 @@ function useEventCallback(fn) {
3205
3203
  function useCallbackRef() {
3206
3204
  return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(null);
3207
3205
  }
3208
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useCommittedRef.js
3209
-
3210
- /**
3211
- * Creates a `Ref` whose value is updated in an effect, ensuring the most recent
3212
- * value is the one rendered with. Generally only required for Concurrent mode usage
3213
- * where previous work in `render()` may be discarded before being used.
3214
- *
3215
- * This is safe to access in an event handler.
3216
- *
3217
- * @param value The `Ref` value
3218
- */
3219
-
3220
- function esm_useCommittedRef_useCommittedRef(value) {
3221
- var ref = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(value);
3222
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
3223
- ref.current = value;
3224
- }, [value]);
3225
- return ref;
3226
- }
3227
-
3228
- /* harmony default export */ const hooks_esm_useCommittedRef = (esm_useCommittedRef_useCommittedRef);
3229
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventCallback.js
3230
-
3231
-
3232
- function useEventCallback_useEventCallback(fn) {
3233
- var ref = hooks_esm_useCommittedRef(fn);
3234
- return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(function () {
3235
- return ref.current && ref.current.apply(ref, arguments);
3236
- }, [ref]);
3237
- }
3238
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useEventListener.js
3206
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useEventListener.js
3239
3207
 
3240
3208
 
3241
3209
  /**
@@ -3253,7 +3221,7 @@ function useEventListener_useEventListener(eventTarget, event, listener, capture
3253
3221
  capture = false;
3254
3222
  }
3255
3223
 
3256
- var handler = useEventCallback_useEventCallback(listener);
3224
+ var handler = useEventCallback(listener);
3257
3225
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
3258
3226
  var target = typeof eventTarget === 'function' ? eventTarget() : eventTarget;
3259
3227
  target.addEventListener(event, handler, capture);
@@ -3262,7 +3230,7 @@ function useEventListener_useEventListener(eventTarget, event, listener, capture
3262
3230
  };
3263
3231
  }, [eventTarget]);
3264
3232
  }
3265
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useGlobalListener.js
3233
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useGlobalListener.js
3266
3234
 
3267
3235
 
3268
3236
  /**
@@ -3290,7 +3258,7 @@ function useGlobalListener(event, handler, capture) {
3290
3258
  }, []);
3291
3259
  return useEventListener(documentTarget, event, handler, capture);
3292
3260
  }
3293
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useInterval.js
3261
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useInterval.js
3294
3262
 
3295
3263
 
3296
3264
  /**
@@ -3349,7 +3317,7 @@ function useInterval(fn, ms, paused, runImmediately) {
3349
3317
  }
3350
3318
 
3351
3319
  /* harmony default export */ const esm_useInterval = ((/* unused pure expression or super */ null && (useInterval)));
3352
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useRafInterval.js
3320
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useRafInterval.js
3353
3321
 
3354
3322
 
3355
3323
 
@@ -3388,7 +3356,7 @@ function useRafInterval(fn, ms, paused) {
3388
3356
  }
3389
3357
 
3390
3358
  /* harmony default export */ const esm_useRafInterval = ((/* unused pure expression or super */ null && (useRafInterval)));
3391
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergeState.js
3359
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMergeState.js
3392
3360
  function useMergeState_extends() {
3393
3361
  useMergeState_extends = Object.assign || function (target) {
3394
3362
  for (var i = 1; i < arguments.length; i++) {
@@ -3445,7 +3413,7 @@ function useMergeState_useMergeState(initialState) {
3445
3413
  }, [setState]);
3446
3414
  return [state, updater];
3447
3415
  }
3448
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergeStateFromProps.js
3416
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMergeStateFromProps.js
3449
3417
 
3450
3418
  function useMergeStateFromProps(props, gDSFP, initialState) {
3451
3419
  var _useMergeState = useMergeState(initialState),
@@ -3456,7 +3424,7 @@ function useMergeStateFromProps(props, gDSFP, initialState) {
3456
3424
  if (nextState !== null) setState(nextState);
3457
3425
  return [state, setState];
3458
3426
  }
3459
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMounted.js
3427
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
3460
3428
 
3461
3429
  /**
3462
3430
  * Track whether a component is current mounted. Generally less preferable than
@@ -3492,7 +3460,7 @@ function useMounted() {
3492
3460
  }, []);
3493
3461
  return isMounted.current;
3494
3462
  }
3495
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/usePrevious.js
3463
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/usePrevious.js
3496
3464
 
3497
3465
  /**
3498
3466
  * Store the last of some value. Tracked via a `Ref` only updating it
@@ -3519,7 +3487,7 @@ function usePrevious(value) {
3519
3487
  });
3520
3488
  return ref.current;
3521
3489
  }
3522
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useImage.js
3490
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useImage.js
3523
3491
 
3524
3492
  /**
3525
3493
  * Fetch and load an image for programatic use such as in a `<canvas>` element.
@@ -3598,7 +3566,7 @@ function useImage(imageOrUrl, crossOrigin) {
3598
3566
  }, [imageOrUrl, crossOrigin]);
3599
3567
  return state;
3600
3568
  }
3601
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useIsomorphicEffect.js
3569
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useIsomorphicEffect.js
3602
3570
 
3603
3571
  var isReactNative = typeof __webpack_require__.g !== 'undefined' && // @ts-ignore
3604
3572
  __webpack_require__.g.navigator && // @ts-ignore
@@ -3614,7 +3582,7 @@ var isDOM = typeof document !== 'undefined';
3614
3582
  */
3615
3583
 
3616
3584
  /* harmony default export */ const useIsomorphicEffect = (isDOM || isReactNative ? external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect : external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect);
3617
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useResizeObserver.js
3585
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useResizeObserver.js
3618
3586
 
3619
3587
 
3620
3588
  var targetMap = new WeakMap();
@@ -3667,7 +3635,7 @@ function useResizeObserver(element) {
3667
3635
  }, [element]);
3668
3636
  return rect;
3669
3637
  }
3670
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/index.js
3638
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/index.js
3671
3639
 
3672
3640
 
3673
3641
 
@@ -3842,7 +3810,7 @@ const Anchor = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_a
3842
3810
  const [buttonProps] = useButtonProps(Object.assign({
3843
3811
  tagName: 'a'
3844
3812
  }, props));
3845
- const handleKeyDown = useEventCallback_useEventCallback(e => {
3813
+ const handleKeyDown = useEventCallback(e => {
3846
3814
  buttonProps.onKeyDown(e);
3847
3815
  onKeyDown == null ? void 0 : onKeyDown(e);
3848
3816
  });
@@ -3991,7 +3959,10 @@ var CloseButton_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-bootst
3991
3959
 
3992
3960
 
3993
3961
  const CloseButton_propTypes = {
3962
+ /** An accessible label indicating the relevant information about the Close Button. */
3994
3963
  'aria-label': (prop_types_default()).string,
3964
+
3965
+ /** A callback fired after the Close Button is clicked. */
3995
3966
  onClick: (prop_types_default()).func,
3996
3967
 
3997
3968
  /**
@@ -4015,7 +3986,7 @@ const CloseButton = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
4015
3986
  ...props
4016
3987
  }, void 0, false, {
4017
3988
  fileName: CloseButton_jsxFileName,
4018
- lineNumber: 30,
3989
+ lineNumber: 33,
4019
3990
  columnNumber: 5
4020
3991
  }, undefined));
4021
3992
  CloseButton.displayName = 'CloseButton';
@@ -4881,42 +4852,6 @@ function useUpdateEffect(fn, deps) {
4881
4852
  }
4882
4853
 
4883
4854
  /* harmony default export */ const esm_useUpdateEffect = (useUpdateEffect);
4884
- ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useMounted.js
4885
-
4886
- /**
4887
- * Track whether a component is current mounted. Generally less preferable than
4888
- * properlly canceling effects so they don't run after a component is unmounted,
4889
- * but helpful in cases where that isn't feasible, such as a `Promise` resolution.
4890
- *
4891
- * @returns a function that returns the current isMounted state of the component
4892
- *
4893
- * ```ts
4894
- * const [data, setData] = useState(null)
4895
- * const isMounted = useMounted()
4896
- *
4897
- * useEffect(() => {
4898
- * fetchdata().then((newData) => {
4899
- * if (isMounted()) {
4900
- * setData(newData);
4901
- * }
4902
- * })
4903
- * })
4904
- * ```
4905
- */
4906
-
4907
- function useMounted_useMounted() {
4908
- var mounted = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(true);
4909
- var isMounted = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(function () {
4910
- return mounted.current;
4911
- });
4912
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
4913
- mounted.current = true;
4914
- return function () {
4915
- mounted.current = false;
4916
- };
4917
- }, []);
4918
- return isMounted.current;
4919
- }
4920
4855
  ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useUpdatedRef.js
4921
4856
 
4922
4857
  /**
@@ -4991,7 +4926,7 @@ function setChainedTimeout(handleRef, fn, timeoutAtMs) {
4991
4926
 
4992
4927
 
4993
4928
  function useTimeout() {
4994
- var isMounted = useMounted_useMounted(); // types are confused between node and web here IDK
4929
+ var isMounted = useMounted(); // types are confused between node and web here IDK
4995
4930
 
4996
4931
  var handleRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)();
4997
4932
  useWillUnmount(function () {
@@ -5773,7 +5708,7 @@ var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
5773
5708
  function qsa(element, selector) {
5774
5709
  return toArray(element.querySelectorAll(selector));
5775
5710
  }
5776
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useForceUpdate.js
5711
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useForceUpdate.js
5777
5712
 
5778
5713
  /**
5779
5714
  * Returns a function that triggers a component update. the hook equivalent to
@@ -5892,7 +5827,7 @@ function dequal(foo, bar) {
5892
5827
  return foo !== foo && bar !== bar;
5893
5828
  }
5894
5829
 
5895
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useSafeState.js
5830
+ ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useSafeState.js
5896
5831
 
5897
5832
 
5898
5833
 
@@ -8047,14 +7982,14 @@ function useClickOutside(ref, onClickOutside = useClickOutside_noop, {
8047
7982
  preventMouseClickOutsideRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains_contains(currentTarget, e.target) || waitingForTrigger.current;
8048
7983
  waitingForTrigger.current = false;
8049
7984
  }, [ref]);
8050
- const handleInitialMouse = useEventCallback_useEventCallback(e => {
7985
+ const handleInitialMouse = useEventCallback(e => {
8051
7986
  const currentTarget = getRefTarget(ref);
8052
7987
 
8053
7988
  if (currentTarget && contains_contains(currentTarget, e.target)) {
8054
7989
  waitingForTrigger.current = true;
8055
7990
  }
8056
7991
  });
8057
- const handleMouse = useEventCallback_useEventCallback(e => {
7992
+ const handleMouse = useEventCallback(e => {
8058
7993
  if (!preventMouseClickOutsideRef.current) {
8059
7994
  onClickOutside(e);
8060
7995
  }
@@ -8132,7 +8067,7 @@ function mergeOptionsWithPopperConfig({
8132
8067
  arrowElement,
8133
8068
  popperConfig = {}
8134
8069
  }) {
8135
- var _modifiers$preventOve, _modifiers$preventOve2, _modifiers$offset, _modifiers$arrow;
8070
+ var _modifiers$eventListe, _modifiers$preventOve, _modifiers$preventOve2, _modifiers$offset, _modifiers$arrow;
8136
8071
 
8137
8072
  const modifiers = toModifierMap(popperConfig.modifiers);
8138
8073
  return Object.assign({}, popperConfig, {
@@ -8141,7 +8076,8 @@ function mergeOptionsWithPopperConfig({
8141
8076
  strategy: fixed ? 'fixed' : popperConfig.strategy,
8142
8077
  modifiers: toModifierArray(Object.assign({}, modifiers, {
8143
8078
  eventListeners: {
8144
- enabled: enableEvents
8079
+ enabled: enableEvents,
8080
+ options: (_modifiers$eventListe = modifiers.eventListeners) == null ? void 0 : _modifiers$eventListe.options
8145
8081
  },
8146
8082
  preventOverflow: Object.assign({}, modifiers.preventOverflow, {
8147
8083
  options: containerPadding ? Object.assign({
@@ -8501,7 +8437,7 @@ function useDropdownItem({
8501
8437
  } = navContext || {};
8502
8438
  const eventKey = makeEventKey(key, href);
8503
8439
  const isActive = active == null && key != null ? makeEventKey(activeKey) === eventKey : active;
8504
- const handleClick = useEventCallback_useEventCallback(event => {
8440
+ const handleClick = useEventCallback(event => {
8505
8441
  if (disabled) return;
8506
8442
  onClick == null ? void 0 : onClick(event);
8507
8443
 
@@ -8620,7 +8556,7 @@ function Dropdown({
8620
8556
  source
8621
8557
  });
8622
8558
  }, [onToggle]);
8623
- const handleSelect = useEventCallback_useEventCallback((key, event) => {
8559
+ const handleSelect = useEventCallback((key, event) => {
8624
8560
  onSelect == null ? void 0 : onSelect(key, event);
8625
8561
  toggle(false, event, 'select');
8626
8562
 
@@ -8642,12 +8578,12 @@ function Dropdown({
8642
8578
  focusInDropdown.current = menuElement.contains(menuElement.ownerDocument.activeElement);
8643
8579
  }
8644
8580
 
8645
- const focusToggle = useEventCallback_useEventCallback(() => {
8581
+ const focusToggle = useEventCallback(() => {
8646
8582
  if (toggleElement && toggleElement.focus) {
8647
8583
  toggleElement.focus();
8648
8584
  }
8649
8585
  });
8650
- const maybeFocusFirst = useEventCallback_useEventCallback(() => {
8586
+ const maybeFocusFirst = useEventCallback(() => {
8651
8587
  const type = lastSourceEvent.current;
8652
8588
  let focusType = focusFirstItemOnShow;
8653
8589
 
@@ -8849,22 +8785,6 @@ const DropdownItem_DropdownItem = /*#__PURE__*/external_root_React_commonjs2_rea
8849
8785
  DropdownItem_DropdownItem.displayName = 'DropdownItem';
8850
8786
  DropdownItem_DropdownItem.propTypes = DropdownItem_propTypes;
8851
8787
  /* harmony default export */ const src_DropdownItem = (DropdownItem_DropdownItem);
8852
- ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useIsomorphicEffect.js
8853
-
8854
- var useIsomorphicEffect_isReactNative = typeof __webpack_require__.g !== 'undefined' && // @ts-ignore
8855
- __webpack_require__.g.navigator && // @ts-ignore
8856
- __webpack_require__.g.navigator.product === 'ReactNative';
8857
- var useIsomorphicEffect_isDOM = typeof document !== 'undefined';
8858
- /**
8859
- * Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect
8860
- * Only useful to avoid the console warning.
8861
- *
8862
- * PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.
8863
- *
8864
- * @category effects
8865
- */
8866
-
8867
- /* harmony default export */ const esm_useIsomorphicEffect = (useIsomorphicEffect_isDOM || useIsomorphicEffect_isReactNative ? external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect : external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect);
8868
8788
  ;// CONCATENATED MODULE: ./src/InputGroupContext.tsx
8869
8789
 
8870
8790
  const InputGroupContext_context = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext(null);
@@ -9053,7 +8973,7 @@ const DropdownMenu_DropdownMenu = /*#__PURE__*/external_root_React_commonjs2_rea
9053
8973
  placement
9054
8974
  });
9055
8975
  menuProps.ref = esm_useMergedRefs(useWrappedRefWithWarning(ref, 'DropdownMenu'), menuProps.ref);
9056
- esm_useIsomorphicEffect(() => {
8976
+ useIsomorphicEffect(() => {
9057
8977
  // Popper's initial position for the menu is incorrect when
9058
8978
  // renderOnMount=true. Need to call update() to correct it.
9059
8979
  if (show) popper == null ? void 0 : popper.update();
@@ -10693,47 +10613,6 @@ InputGroup.displayName = 'InputGroup';
10693
10613
  Radio: InputGroupRadio,
10694
10614
  Checkbox: InputGroupCheckbox
10695
10615
  }));
10696
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useMergedRefs.js
10697
-
10698
-
10699
- var useMergedRefs_toFnRef = function toFnRef(ref) {
10700
- return !ref || typeof ref === 'function' ? ref : function (value) {
10701
- ref.current = value;
10702
- };
10703
- };
10704
-
10705
- function useMergedRefs_mergeRefs(refA, refB) {
10706
- var a = useMergedRefs_toFnRef(refA);
10707
- var b = useMergedRefs_toFnRef(refB);
10708
- return function (value) {
10709
- if (a) a(value);
10710
- if (b) b(value);
10711
- };
10712
- }
10713
- /**
10714
- * Create and returns a single callback ref composed from two other Refs.
10715
- *
10716
- * ```tsx
10717
- * const Button = React.forwardRef((props, ref) => {
10718
- * const [element, attachRef] = useCallbackRef<HTMLButtonElement>();
10719
- * const mergedRef = useMergedRefs(ref, attachRef);
10720
- *
10721
- * return <button ref={mergedRef} {...props}/>
10722
- * })
10723
- * ```
10724
- *
10725
- * @param refA A Callback or mutable Ref
10726
- * @param refB A Callback or mutable Ref
10727
- * @category refs
10728
- */
10729
-
10730
- function useMergedRefs_useMergedRefs(refA, refB) {
10731
- return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
10732
- return useMergedRefs_mergeRefs(refA, refB);
10733
- }, [refA, refB]);
10734
- }
10735
-
10736
- /* harmony default export */ const hooks_esm_useMergedRefs = (useMergedRefs_useMergedRefs);
10737
10616
  ;// CONCATENATED MODULE: ./node_modules/@restart/ui/esm/TabContext.js
10738
10617
 
10739
10618
  const TabContext = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext(null);
@@ -10815,7 +10694,7 @@ function useNavItem({
10815
10694
  }
10816
10695
  }
10817
10696
 
10818
- props.onClick = useEventCallback_useEventCallback(e => {
10697
+ props.onClick = useEventCallback(e => {
10819
10698
  if (disabled) return;
10820
10699
  onClick == null ? void 0 : onClick(e);
10821
10700
 
@@ -10972,7 +10851,7 @@ const Nav = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_
10972
10851
 
10973
10852
  needsRefocusRef.current = false;
10974
10853
  });
10975
- const mergedRef = hooks_esm_useMergedRefs(ref, listNode);
10854
+ const mergedRef = esm_useMergedRefs(ref, listNode);
10976
10855
  return /*#__PURE__*/(0,jsx_runtime.jsx)(esm_SelectableContext.Provider, {
10977
10856
  value: handleSelect,
10978
10857
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(esm_NavContext.Provider, {
@@ -11005,6 +10884,7 @@ var ListGroupItem_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-boot
11005
10884
 
11006
10885
 
11007
10886
 
10887
+
11008
10888
  const ListGroupItem_propTypes = {
11009
10889
  /**
11010
10890
  * @default 'list-group-item'
@@ -11012,7 +10892,7 @@ const ListGroupItem_propTypes = {
11012
10892
  bsPrefix: (prop_types_default()).string,
11013
10893
 
11014
10894
  /**
11015
- * Sets contextual classes for list item
10895
+ * Sets contextual classes for list item.
11016
10896
  * @type {('primary'|'secondary'|'success'|'danger'|'warning'|'info'|'dark'|'light')}
11017
10897
  */
11018
10898
  variant: (prop_types_default()).string,
@@ -11024,21 +10904,25 @@ const ListGroupItem_propTypes = {
11024
10904
  action: (prop_types_default()).bool,
11025
10905
 
11026
10906
  /**
11027
- * Sets list item as active
10907
+ * Sets list item as active.
11028
10908
  */
11029
10909
  active: (prop_types_default()).bool,
11030
10910
 
11031
10911
  /**
11032
- * Sets list item state as disabled
10912
+ * Sets list item state as disabled.
11033
10913
  */
11034
10914
  disabled: (prop_types_default()).bool,
11035
10915
  eventKey: prop_types_default().oneOfType([(prop_types_default()).string, (prop_types_default()).number]),
10916
+
10917
+ /** A callback function for when this component is clicked. */
11036
10918
  onClick: (prop_types_default()).func,
10919
+
10920
+ /** Providing a `href` and setting `action` to `true`, it will render the ListGroup.Item as an `<a>` element (unless `as` is provided). */
11037
10921
  href: (prop_types_default()).string,
11038
10922
 
11039
10923
  /**
11040
10924
  * You can use a custom element type for this component. For none `action` items, items render as `li`.
11041
- * For actions the default is an achor or button element depending on whether a `href` is provided.
10925
+ * For actions the default is an anchor or button element depending on whether a `href` is provided.
11042
10926
  *
11043
10927
  * @default {'div' | 'a' | 'button'}
11044
10928
  */
@@ -11078,6 +10962,7 @@ const ListGroupItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_
11078
10962
 
11079
10963
 
11080
10964
  const Component = as || (action ? props.href ? 'a' : 'button' : 'div');
10965
+ false ? 0 : void 0;
11081
10966
  return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(Component, {
11082
10967
  ref: ref,
11083
10968
  ...props,
@@ -11086,7 +10971,7 @@ const ListGroupItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_
11086
10971
  className: classnames_default()(className, bsPrefix, meta.isActive && 'active', disabled && 'disabled', variant && `${bsPrefix}-${variant}`, action && `${bsPrefix}-action`)
11087
10972
  }, void 0, false, {
11088
10973
  fileName: ListGroupItem_jsxFileName,
11089
- lineNumber: 105,
10974
+ lineNumber: 113,
11090
10975
  columnNumber: 9
11091
10976
  }, undefined);
11092
10977
  });
@@ -11193,36 +11078,6 @@ function scrollbarSize(recalc) {
11193
11078
 
11194
11079
  return size;
11195
11080
  }
11196
- ;// CONCATENATED MODULE: ./node_modules/@restart/hooks/esm/useCallbackRef.js
11197
-
11198
- /**
11199
- * A convenience hook around `useState` designed to be paired with
11200
- * the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.
11201
- * Callback refs are useful over `useRef()` when you need to respond to the ref being set
11202
- * instead of lazily accessing it in an effect.
11203
- *
11204
- * ```ts
11205
- * const [element, attachRef] = useCallbackRef<HTMLDivElement>()
11206
- *
11207
- * useEffect(() => {
11208
- * if (!element) return
11209
- *
11210
- * const calendar = new FullCalendar.Calendar(element)
11211
- *
11212
- * return () => {
11213
- * calendar.destroy()
11214
- * }
11215
- * }, [element])
11216
- *
11217
- * return <div ref={attachRef} />
11218
- * ```
11219
- *
11220
- * @category refs
11221
- */
11222
-
11223
- function useCallbackRef_useCallbackRef() {
11224
- return (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(null);
11225
- }
11226
11081
  ;// CONCATENATED MODULE: ./node_modules/dom-helpers/esm/activeElement.js
11227
11082
 
11228
11083
  /**
@@ -11249,38 +11104,6 @@ function activeElement(doc) {
11249
11104
  return doc.body;
11250
11105
  }
11251
11106
  }
11252
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useUpdatedRef.js
11253
-
11254
- /**
11255
- * Returns a ref that is immediately updated with the new value
11256
- *
11257
- * @param value The Ref value
11258
- * @category refs
11259
- */
11260
-
11261
- function useUpdatedRef_useUpdatedRef(value) {
11262
- var valueRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(value);
11263
- valueRef.current = value;
11264
- return valueRef;
11265
- }
11266
- ;// CONCATENATED MODULE: ./node_modules/@restart/ui/node_modules/@restart/hooks/esm/useWillUnmount.js
11267
-
11268
-
11269
- /**
11270
- * Attach a callback that fires when a component unmounts
11271
- *
11272
- * @param fn Handler to run when the component unmounts
11273
- * @category effects
11274
- */
11275
-
11276
- function useWillUnmount_useWillUnmount(fn) {
11277
- var onUnmount = useUpdatedRef_useUpdatedRef(fn);
11278
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
11279
- return function () {
11280
- return onUnmount.current();
11281
- };
11282
- }, []);
11283
- }
11284
11107
  ;// CONCATENATED MODULE: ./node_modules/@restart/ui/esm/getScrollbarWidth.js
11285
11108
  /**
11286
11109
  * Get the width of the vertical window scrollbar if it's visible
@@ -11415,13 +11238,11 @@ class ModalManager {
11415
11238
 
11416
11239
 
11417
11240
  const resolveContainerRef = (ref, document) => {
11418
- var _ref;
11419
-
11420
11241
  if (!canUseDOM) return null;
11421
11242
  if (ref == null) return (document || ownerDocument()).body;
11422
11243
  if (typeof ref === 'function') ref = ref();
11423
11244
  if (ref && 'current' in ref) ref = ref.current;
11424
- if ((_ref = ref) != null && _ref.nodeType) return ref || null;
11245
+ if (ref && ('nodeType' in ref || ref.getBoundingClientRect)) return ref;
11425
11246
  return null;
11426
11247
  };
11427
11248
  function useWaitForDOMRef(ref, onResolved) {
@@ -11563,7 +11384,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
11563
11384
  setExited(false);
11564
11385
  }
11565
11386
 
11566
- const handleShow = useEventCallback_useEventCallback(() => {
11387
+ const handleShow = useEventCallback(() => {
11567
11388
  modal.add();
11568
11389
  removeKeydownListenerRef.current = esm_listen(document, 'keydown', handleDocumentKeyDown);
11569
11390
  removeFocusListenerRef.current = esm_listen(document, 'focus', // the timeout is necessary b/c this will run before the new modal is mounted
@@ -11585,7 +11406,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
11585
11406
  }
11586
11407
  }
11587
11408
  });
11588
- const handleHide = useEventCallback_useEventCallback(() => {
11409
+ const handleHide = useEventCallback(() => {
11589
11410
  modal.remove();
11590
11411
  removeKeydownListenerRef.current == null ? void 0 : removeKeydownListenerRef.current();
11591
11412
  removeFocusListenerRef.current == null ? void 0 : removeFocusListenerRef.current();
@@ -11614,11 +11435,11 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
11614
11435
  if (!exited) return;
11615
11436
  handleHide();
11616
11437
  }, [exited, handleHide]);
11617
- useWillUnmount_useWillUnmount(() => {
11438
+ useWillUnmount(() => {
11618
11439
  handleHide();
11619
11440
  }); // --------------------------------
11620
11441
 
11621
- const handleEnforceFocus = useEventCallback_useEventCallback(() => {
11442
+ const handleEnforceFocus = useEventCallback(() => {
11622
11443
  if (!enforceFocus || !isMounted() || !modal.isTopModal()) {
11623
11444
  return;
11624
11445
  }
@@ -11629,7 +11450,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
11629
11450
  modal.dialog.focus();
11630
11451
  }
11631
11452
  });
11632
- const handleBackdropClick = useEventCallback_useEventCallback(e => {
11453
+ const handleBackdropClick = useEventCallback(e => {
11633
11454
  if (e.target !== e.currentTarget) {
11634
11455
  return;
11635
11456
  }
@@ -11640,7 +11461,7 @@ const Modal = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react
11640
11461
  onHide();
11641
11462
  }
11642
11463
  });
11643
- const handleDocumentKeyDown = useEventCallback_useEventCallback(e => {
11464
+ const handleDocumentKeyDown = useEventCallback(e => {
11644
11465
  if (keyboard && e.keyCode === 27 && modal.isTopModal()) {
11645
11466
  onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(e);
11646
11467
 
@@ -12323,7 +12144,7 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
12323
12144
  const waitingForMouseUpRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
12324
12145
  const ignoreBackdropClickRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
12325
12146
  const removeStaticModalAnimationRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
12326
- const [modal, setModalRef] = useCallbackRef_useCallbackRef();
12147
+ const [modal, setModalRef] = useCallbackRef();
12327
12148
  const mergedRef = esm_useMergedRefs(ref, setModalRef);
12328
12149
  const handleHide = useEventCallback(onHide);
12329
12150
  const isRTL = useIsRTL();
@@ -12458,7 +12279,7 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
12458
12279
  role: "dialog",
12459
12280
  ...dialogProps,
12460
12281
  style: baseModalStyle,
12461
- className: classnames_default()(className, bsPrefix, animateStaticModal && `${bsPrefix}-static`),
12282
+ className: classnames_default()(className, bsPrefix, animateStaticModal && `${bsPrefix}-static`, !animation && 'show'),
12462
12283
  onClick: backdrop ? handleClick : undefined,
12463
12284
  onMouseUp: handleMouseUp,
12464
12285
  "aria-label": ariaLabel,
@@ -12471,7 +12292,7 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
12471
12292
  children: children
12472
12293
  }, void 0, false, {
12473
12294
  fileName: Modal_jsxFileName,
12474
- lineNumber: 470,
12295
+ lineNumber: 471,
12475
12296
  columnNumber: 11
12476
12297
  }, undefined)
12477
12298
  }, void 0, false, {
@@ -12509,12 +12330,12 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
12509
12330
  renderDialog: renderDialog
12510
12331
  }, void 0, false, {
12511
12332
  fileName: Modal_jsxFileName,
12512
- lineNumber: 483,
12333
+ lineNumber: 484,
12513
12334
  columnNumber: 11
12514
12335
  }, undefined)
12515
12336
  }, void 0, false, {
12516
12337
  fileName: Modal_jsxFileName,
12517
- lineNumber: 482,
12338
+ lineNumber: 483,
12518
12339
  columnNumber: 9
12519
12340
  }, undefined);
12520
12341
  });
@@ -12979,7 +12800,7 @@ function useMediaQuery(query, targetWindow) {
12979
12800
  matches = _useState[0],
12980
12801
  setMatches = _useState[1];
12981
12802
 
12982
- esm_useIsomorphicEffect(function () {
12803
+ useIsomorphicEffect(function () {
12983
12804
  var mql = getMatcher(query, targetWindow);
12984
12805
 
12985
12806
  if (!mql) {
@@ -13122,7 +12943,8 @@ var useBreakpoint = createBreakpointHook({
13122
12943
  sm: 576,
13123
12944
  md: 768,
13124
12945
  lg: 992,
13125
- xl: 1200
12946
+ xl: 1200,
12947
+ xxl: 1400
13126
12948
  });
13127
12949
  /* harmony default export */ const esm_useBreakpoint = (useBreakpoint);
13128
12950
  ;// CONCATENATED MODULE: ./src/OffcanvasBody.tsx
@@ -13756,7 +13578,7 @@ const Navbar_propTypes = {
13756
13578
  collapseOnSelect: (prop_types_default()).bool,
13757
13579
 
13758
13580
  /**
13759
- * Controls the visiblity of the navbar body
13581
+ * Controls the visibility of the navbar body
13760
13582
  *
13761
13583
  * @controllable onToggle
13762
13584
  */
@@ -13991,7 +13813,7 @@ function useRootClose(ref, onRootClose, {
13991
13813
  disabled,
13992
13814
  clickTrigger
13993
13815
  });
13994
- const handleKeyUp = useEventCallback_useEventCallback(e => {
13816
+ const handleKeyUp = useEventCallback(e => {
13995
13817
  if (e.keyCode === escapeKeyCode) {
13996
13818
  onClose(e);
13997
13819
  }
@@ -14045,7 +13867,7 @@ const Overlay = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_
14045
13867
  } = props;
14046
13868
  const [rootElement, attachRef] = useCallbackRef();
14047
13869
  const [arrowElement, attachArrowRef] = useCallbackRef();
14048
- const mergedRef = hooks_esm_useMergedRefs(attachRef, outerRef);
13870
+ const mergedRef = esm_useMergedRefs(attachRef, outerRef);
14049
13871
  const container = useWaitForDOMRef(props.container);
14050
13872
  const target = useWaitForDOMRef(props.target);
14051
13873
  const [exited, setExited] = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(!props.show);
@@ -14398,7 +14220,7 @@ const Overlay_Overlay = /*#__PURE__*/external_root_React_commonjs2_react_commonj
14398
14220
  ...outerProps
14399
14221
  }, outerRef) => {
14400
14222
  const popperRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)({});
14401
- const [firstRenderedState, setFirstRenderedState] = useCallbackRef_useCallbackRef();
14223
+ const [firstRenderedState, setFirstRenderedState] = useCallbackRef();
14402
14224
  const [ref, modifiers] = useOverlayOffset(outerProps.offset);
14403
14225
  const mergedRef = esm_useMergedRefs(outerRef, ref);
14404
14226
  const actualTransition = transition === true ? src_Fade : transition || undefined;
@@ -14406,7 +14228,7 @@ const Overlay_Overlay = /*#__PURE__*/external_root_React_commonjs2_react_commonj
14406
14228
  setFirstRenderedState(state);
14407
14229
  popperConfig == null ? void 0 : popperConfig.onFirstUpdate == null ? void 0 : popperConfig.onFirstUpdate(state);
14408
14230
  });
14409
- esm_useIsomorphicEffect(() => {
14231
+ useIsomorphicEffect(() => {
14410
14232
  if (firstRenderedState) {
14411
14233
  popperRef.current.scheduleUpdate == null ? void 0 : popperRef.current.scheduleUpdate();
14412
14234
  }
@@ -14711,10 +14533,13 @@ const PageItem_propTypes = {
14711
14533
  /** Styles PageItem as active, and renders a `<span>` instead of an `<a>`. */
14712
14534
  active: (prop_types_default()).bool,
14713
14535
 
14714
- /** An accessible label indicating the active state.. */
14536
+ /** An accessible label indicating the active state. */
14715
14537
  activeLabel: (prop_types_default()).string,
14716
14538
 
14717
- /** A callback function for when this component is clicked */
14539
+ /** The HTML href attribute for the `PageItem`. */
14540
+ href: (prop_types_default()).string,
14541
+
14542
+ /** A callback function for when this component is clicked. */
14718
14543
  onClick: (prop_types_default()).func
14719
14544
  };
14720
14545
  const PageItem_defaultProps = {
@@ -14741,24 +14566,23 @@ const PageItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
14741
14566
  }),
14742
14567
  children: /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(Component, {
14743
14568
  className: "page-link",
14744
- disabled: disabled,
14745
14569
  ...props,
14746
14570
  children: [children, active && activeLabel && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("span", {
14747
14571
  className: "visually-hidden",
14748
14572
  children: activeLabel
14749
14573
  }, void 0, false, {
14750
14574
  fileName: PageItem_jsxFileName,
14751
- lineNumber: 62,
14575
+ lineNumber: 65,
14752
14576
  columnNumber: 15
14753
14577
  }, undefined)]
14754
14578
  }, void 0, true, {
14755
14579
  fileName: PageItem_jsxFileName,
14756
- lineNumber: 59,
14580
+ lineNumber: 62,
14757
14581
  columnNumber: 11
14758
14582
  }, undefined)
14759
14583
  }, void 0, false, {
14760
14584
  fileName: PageItem_jsxFileName,
14761
- lineNumber: 54,
14585
+ lineNumber: 57,
14762
14586
  columnNumber: 9
14763
14587
  }, undefined);
14764
14588
  });
@@ -14778,19 +14602,19 @@ function createButton(name, defaultValue, label = name) {
14778
14602
  children: children || defaultValue
14779
14603
  }, void 0, false, {
14780
14604
  fileName: PageItem_jsxFileName,
14781
- lineNumber: 80,
14605
+ lineNumber: 83,
14782
14606
  columnNumber: 9
14783
14607
  }, this), /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("span", {
14784
14608
  className: "visually-hidden",
14785
14609
  children: label
14786
14610
  }, void 0, false, {
14787
14611
  fileName: PageItem_jsxFileName,
14788
- lineNumber: 81,
14612
+ lineNumber: 84,
14789
14613
  columnNumber: 9
14790
14614
  }, this)]
14791
14615
  }, void 0, true, {
14792
14616
  fileName: PageItem_jsxFileName,
14793
- lineNumber: 79,
14617
+ lineNumber: 82,
14794
14618
  columnNumber: 7
14795
14619
  }, this));
14796
14620
  Button.displayName = name;
@@ -14817,7 +14641,7 @@ const Pagination_propTypes = {
14817
14641
  bsPrefix: (prop_types_default()).string,
14818
14642
 
14819
14643
  /**
14820
- * Set's the size of all PageItems.
14644
+ * Sets the size of all PageItems.
14821
14645
  *
14822
14646
  * @type {('sm'|'lg')}
14823
14647
  */
@@ -15413,7 +15237,7 @@ const Spinner_propTypes = {
15413
15237
  const Spinner = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.forwardRef(({
15414
15238
  bsPrefix,
15415
15239
  variant,
15416
- animation,
15240
+ animation = 'border',
15417
15241
  size,
15418
15242
  // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
15419
15243
  as: Component = 'div',
@@ -15428,7 +15252,7 @@ const Spinner = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_
15428
15252
  className: classnames_default()(className, bsSpinnerPrefix, size && `${bsSpinnerPrefix}-${size}`, variant && `text-${variant}`)
15429
15253
  }, void 0, false, {
15430
15254
  fileName: Spinner_jsxFileName,
15431
- lineNumber: 80,
15255
+ lineNumber: 79,
15432
15256
  columnNumber: 9
15433
15257
  }, undefined);
15434
15258
  });