react-bootstrap 2.10.8 → 2.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/AbstractModalHeader.js +1 -0
- package/cjs/BootstrapModalManager.js +1 -2
- package/cjs/Carousel.js +4 -1
- package/cjs/Col.d.ts +1 -1
- package/cjs/Collapse.js +3 -4
- package/cjs/Form.d.ts +2 -2
- package/cjs/FormLabel.js +6 -10
- package/cjs/Image.js +0 -1
- package/cjs/InputGroup.d.ts +2 -2
- package/cjs/ListGroupItem.js +0 -2
- package/cjs/Modal.js +0 -3
- package/cjs/ModalContext.js +0 -1
- package/cjs/Navbar.d.ts +1 -0
- package/cjs/OverlayTrigger.js +1 -3
- package/cjs/PageItem.js +0 -2
- package/cjs/Popover.js +1 -0
- package/cjs/ProgressBar.js +0 -1
- package/cjs/Ratio.js +1 -0
- package/cjs/Tab.d.ts +1 -1
- package/cjs/Tab.js +0 -1
- package/cjs/TabContainer.d.ts +1 -2
- package/cjs/TabContainer.js +0 -3
- package/cjs/Table.js +1 -0
- package/cjs/ThemeProvider.d.ts +1 -1
- package/cjs/ToastContext.js +0 -1
- package/cjs/ToggleButtonGroup.js +1 -0
- package/cjs/TransitionWrapper.js +1 -4
- package/cjs/createChainedFunction.js +2 -2
- package/cjs/divWithClassName.js +4 -1
- package/cjs/safeFindDOMNode.js +2 -0
- package/cjs/types.d.ts +2 -2
- package/cjs/useWrappedRefWithWarning.js +1 -1
- package/dist/react-bootstrap.js +74 -83
- package/dist/react-bootstrap.min.js +1 -1
- package/esm/AbstractModalHeader.js +1 -0
- package/esm/BootstrapModalManager.js +1 -2
- package/esm/Carousel.js +4 -1
- package/esm/Col.d.ts +1 -1
- package/esm/Collapse.js +3 -5
- package/esm/Form.d.ts +2 -2
- package/esm/FormLabel.js +6 -10
- package/esm/Image.js +0 -1
- package/esm/InputGroup.d.ts +2 -2
- package/esm/ListGroupItem.js +0 -2
- package/esm/Modal.js +0 -3
- package/esm/ModalContext.js +0 -1
- package/esm/Navbar.d.ts +1 -0
- package/esm/OverlayTrigger.js +1 -3
- package/esm/PageItem.js +0 -1
- package/esm/Popover.js +1 -0
- package/esm/ProgressBar.js +0 -1
- package/esm/Ratio.js +1 -0
- package/esm/Tab.d.ts +1 -1
- package/esm/Tab.js +0 -1
- package/esm/TabContainer.d.ts +1 -2
- package/esm/TabContainer.js +0 -1
- package/esm/Table.js +1 -0
- package/esm/ThemeProvider.d.ts +1 -1
- package/esm/ToastContext.js +0 -1
- package/esm/ToggleButtonGroup.js +1 -0
- package/esm/TransitionWrapper.js +1 -4
- package/esm/createChainedFunction.js +2 -2
- package/esm/divWithClassName.js +4 -1
- package/esm/safeFindDOMNode.js +2 -0
- package/esm/types.d.ts +2 -2
- package/esm/useWrappedRefWithWarning.js +1 -1
- package/package.json +2 -2
package/dist/react-bootstrap.js
CHANGED
|
@@ -2230,9 +2230,9 @@ function createChainedFunction(...funcs) {
|
|
|
2230
2230
|
}
|
|
2231
2231
|
if (acc === null) return f;
|
|
2232
2232
|
return function chainedFunction(...args) {
|
|
2233
|
-
// @ts-ignore
|
|
2233
|
+
// @ts-expect-error ignore "this" error
|
|
2234
2234
|
acc.apply(this, args);
|
|
2235
|
-
// @ts-ignore
|
|
2235
|
+
// @ts-expect-error ignore "this" error
|
|
2236
2236
|
f.apply(this, args);
|
|
2237
2237
|
};
|
|
2238
2238
|
}, null);
|
|
@@ -2283,6 +2283,8 @@ function useMergedRefs(refA, refB) {
|
|
|
2283
2283
|
|
|
2284
2284
|
function safeFindDOMNode(componentOrElement) {
|
|
2285
2285
|
if (componentOrElement && 'setState' in componentOrElement) {
|
|
2286
|
+
// TODO: Remove in next major.
|
|
2287
|
+
// eslint-disable-next-line react/no-find-dom-node
|
|
2286
2288
|
return external_root_ReactDOM_commonjs2_react_dom_commonjs_react_dom_amd_react_dom_default().findDOMNode(componentOrElement);
|
|
2287
2289
|
}
|
|
2288
2290
|
return componentOrElement != null ? componentOrElement : null;
|
|
@@ -2317,8 +2319,6 @@ const TransitionWrapper = /*#__PURE__*/external_root_React_commonjs2_react_commo
|
|
|
2317
2319
|
callback(nodeRef.current, param);
|
|
2318
2320
|
}
|
|
2319
2321
|
};
|
|
2320
|
-
|
|
2321
|
-
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2322
2322
|
const handleEnter = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(onEnter), [onEnter]);
|
|
2323
2323
|
const handleEntering = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(onEntering), [onEntering]);
|
|
2324
2324
|
const handleEntered = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(onEntered), [onEntered]);
|
|
@@ -2326,8 +2326,6 @@ const TransitionWrapper = /*#__PURE__*/external_root_React_commonjs2_react_commo
|
|
|
2326
2326
|
const handleExiting = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(onExiting), [onExiting]);
|
|
2327
2327
|
const handleExited = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(onExited), [onExited]);
|
|
2328
2328
|
const handleAddEndListener = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useCallback)(normalize(addEndListener), [addEndListener]);
|
|
2329
|
-
/* eslint-enable react-hooks/exhaustive-deps */
|
|
2330
|
-
|
|
2331
2329
|
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(esm_Transition, {
|
|
2332
2330
|
ref: ref,
|
|
2333
2331
|
...props,
|
|
@@ -2349,10 +2347,11 @@ const TransitionWrapper = /*#__PURE__*/external_root_React_commonjs2_react_commo
|
|
|
2349
2347
|
})
|
|
2350
2348
|
}, void 0, false, {
|
|
2351
2349
|
fileName: TransitionWrapper_jsxFileName,
|
|
2352
|
-
lineNumber:
|
|
2350
|
+
lineNumber: 64,
|
|
2353
2351
|
columnNumber: 7
|
|
2354
2352
|
}, undefined);
|
|
2355
2353
|
});
|
|
2354
|
+
TransitionWrapper.displayName = 'TransitionWrapper';
|
|
2356
2355
|
/* harmony default export */ const src_TransitionWrapper = (TransitionWrapper);
|
|
2357
2356
|
;// CONCATENATED MODULE: ./src/Collapse.tsx
|
|
2358
2357
|
var Collapse_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-bootstrap/src/Collapse.tsx";
|
|
@@ -2376,9 +2375,9 @@ function getDefaultDimensionValue(dimension, elem) {
|
|
|
2376
2375
|
const value = elem[offset];
|
|
2377
2376
|
const margins = MARGINS[dimension];
|
|
2378
2377
|
return value +
|
|
2379
|
-
// @ts-
|
|
2378
|
+
// @ts-expect-error TODO
|
|
2380
2379
|
parseInt(css(elem, margins[0]), 10) +
|
|
2381
|
-
// @ts-
|
|
2380
|
+
// @ts-expect-error TODO
|
|
2382
2381
|
parseInt(css(elem, margins[1]), 10);
|
|
2383
2382
|
}
|
|
2384
2383
|
const collapseStyles = {
|
|
@@ -2525,8 +2524,7 @@ const Collapse = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
2525
2524
|
columnNumber: 7
|
|
2526
2525
|
}, undefined);
|
|
2527
2526
|
});
|
|
2528
|
-
|
|
2529
|
-
// @ts-ignore
|
|
2527
|
+
Collapse.displayName = 'Collapse';
|
|
2530
2528
|
Collapse.propTypes = propTypes;
|
|
2531
2529
|
/* harmony default export */ const src_Collapse = (Collapse);
|
|
2532
2530
|
;// CONCATENATED MODULE: ./src/AccordionContext.ts
|
|
@@ -2986,13 +2984,16 @@ var divWithClassName_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-b
|
|
|
2986
2984
|
|
|
2987
2985
|
|
|
2988
2986
|
|
|
2989
|
-
/* harmony default export */ const divWithClassName = (className =>
|
|
2987
|
+
/* harmony default export */ const divWithClassName = (className =>
|
|
2988
|
+
/*#__PURE__*/
|
|
2989
|
+
// eslint-disable-next-line react/display-name
|
|
2990
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_.forwardRef((p, ref) => /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("div", {
|
|
2990
2991
|
...p,
|
|
2991
2992
|
ref: ref,
|
|
2992
2993
|
className: classnames_default()(p.className, className)
|
|
2993
2994
|
}, void 0, false, {
|
|
2994
2995
|
fileName: divWithClassName_jsxFileName,
|
|
2995
|
-
lineNumber:
|
|
2996
|
+
lineNumber: 7,
|
|
2996
2997
|
columnNumber: 5
|
|
2997
2998
|
}, undefined)));
|
|
2998
2999
|
;// CONCATENATED MODULE: ./src/AlertHeading.tsx
|
|
@@ -5090,7 +5091,10 @@ function isVisible(element) {
|
|
|
5090
5091
|
const elementStyle = getComputedStyle(element);
|
|
5091
5092
|
return elementStyle.display !== 'none' && elementStyle.visibility !== 'hidden' && getComputedStyle(element.parentNode).display !== 'none';
|
|
5092
5093
|
}
|
|
5093
|
-
const Carousel =
|
|
5094
|
+
const Carousel =
|
|
5095
|
+
/*#__PURE__*/
|
|
5096
|
+
// eslint-disable-next-line react/display-name
|
|
5097
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_.forwardRef(({
|
|
5094
5098
|
defaultActiveIndex = 0,
|
|
5095
5099
|
...uncontrolledProps
|
|
5096
5100
|
}, ref) => {
|
|
@@ -5123,7 +5127,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5123
5127
|
className: "carousel-control-prev-icon"
|
|
5124
5128
|
}, void 0, false, {
|
|
5125
5129
|
fileName: Carousel_jsxFileName,
|
|
5126
|
-
lineNumber:
|
|
5130
|
+
lineNumber: 230,
|
|
5127
5131
|
columnNumber: 11
|
|
5128
5132
|
}, undefined),
|
|
5129
5133
|
prevLabel = 'Previous',
|
|
@@ -5132,7 +5136,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5132
5136
|
className: "carousel-control-next-icon"
|
|
5133
5137
|
}, void 0, false, {
|
|
5134
5138
|
fileName: Carousel_jsxFileName,
|
|
5135
|
-
lineNumber:
|
|
5139
|
+
lineNumber: 234,
|
|
5136
5140
|
columnNumber: 11
|
|
5137
5141
|
}, undefined),
|
|
5138
5142
|
nextLabel = 'Next',
|
|
@@ -5362,12 +5366,12 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5362
5366
|
"aria-current": index === renderedActiveIndex
|
|
5363
5367
|
}, index, false, {
|
|
5364
5368
|
fileName: Carousel_jsxFileName,
|
|
5365
|
-
lineNumber:
|
|
5369
|
+
lineNumber: 553,
|
|
5366
5370
|
columnNumber: 17
|
|
5367
5371
|
}, undefined))
|
|
5368
5372
|
}, void 0, false, {
|
|
5369
5373
|
fileName: Carousel_jsxFileName,
|
|
5370
|
-
lineNumber:
|
|
5374
|
+
lineNumber: 551,
|
|
5371
5375
|
columnNumber: 13
|
|
5372
5376
|
}, undefined), /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("div", {
|
|
5373
5377
|
className: `${prefix}-inner`,
|
|
@@ -5384,7 +5388,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5384
5388
|
})
|
|
5385
5389
|
}, void 0, false, {
|
|
5386
5390
|
fileName: Carousel_jsxFileName,
|
|
5387
|
-
lineNumber:
|
|
5391
|
+
lineNumber: 579,
|
|
5388
5392
|
columnNumber: 17
|
|
5389
5393
|
}, undefined) : ( /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement(child, {
|
|
5390
5394
|
className: classnames_default()(child.props.className, isActive && 'active')
|
|
@@ -5392,7 +5396,7 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5392
5396
|
})
|
|
5393
5397
|
}, void 0, false, {
|
|
5394
5398
|
fileName: Carousel_jsxFileName,
|
|
5395
|
-
lineNumber:
|
|
5399
|
+
lineNumber: 574,
|
|
5396
5400
|
columnNumber: 11
|
|
5397
5401
|
}, undefined), controls && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(jsx_dev_runtime.Fragment, {
|
|
5398
5402
|
children: [(wrap || activeIndex !== 0) && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(esm_Anchor, {
|
|
@@ -5403,12 +5407,12 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5403
5407
|
children: prevLabel
|
|
5404
5408
|
}, void 0, false, {
|
|
5405
5409
|
fileName: Carousel_jsxFileName,
|
|
5406
|
-
lineNumber:
|
|
5410
|
+
lineNumber: 619,
|
|
5407
5411
|
columnNumber: 21
|
|
5408
5412
|
}, undefined)]
|
|
5409
5413
|
}, void 0, true, {
|
|
5410
5414
|
fileName: Carousel_jsxFileName,
|
|
5411
|
-
lineNumber:
|
|
5415
|
+
lineNumber: 616,
|
|
5412
5416
|
columnNumber: 17
|
|
5413
5417
|
}, undefined), (wrap || activeIndex !== numChildren - 1) && /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(esm_Anchor, {
|
|
5414
5418
|
className: `${prefix}-control-next`,
|
|
@@ -5418,18 +5422,18 @@ const Carousel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
5418
5422
|
children: nextLabel
|
|
5419
5423
|
}, void 0, false, {
|
|
5420
5424
|
fileName: Carousel_jsxFileName,
|
|
5421
|
-
lineNumber:
|
|
5425
|
+
lineNumber: 627,
|
|
5422
5426
|
columnNumber: 21
|
|
5423
5427
|
}, undefined)]
|
|
5424
5428
|
}, void 0, true, {
|
|
5425
5429
|
fileName: Carousel_jsxFileName,
|
|
5426
|
-
lineNumber:
|
|
5430
|
+
lineNumber: 624,
|
|
5427
5431
|
columnNumber: 17
|
|
5428
5432
|
}, undefined)]
|
|
5429
5433
|
}, void 0, true)]
|
|
5430
5434
|
}, void 0, true, {
|
|
5431
5435
|
fileName: Carousel_jsxFileName,
|
|
5432
|
-
lineNumber:
|
|
5436
|
+
lineNumber: 533,
|
|
5433
5437
|
columnNumber: 9
|
|
5434
5438
|
}, undefined);
|
|
5435
5439
|
});
|
|
@@ -8713,7 +8717,7 @@ NavbarContext_context.displayName = 'NavbarContext';
|
|
|
8713
8717
|
|
|
8714
8718
|
|
|
8715
8719
|
function useWrappedRefWithWarning(ref, componentName) {
|
|
8716
|
-
// @ts-
|
|
8720
|
+
// @ts-expect-error Ignore global __DEV__ variable
|
|
8717
8721
|
if (true) return ref;
|
|
8718
8722
|
|
|
8719
8723
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -9322,7 +9326,6 @@ const Image_Image = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
9322
9326
|
}, ref) => {
|
|
9323
9327
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'img');
|
|
9324
9328
|
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("img", {
|
|
9325
|
-
// eslint-disable-line jsx-a11y/alt-text
|
|
9326
9329
|
ref: ref,
|
|
9327
9330
|
...props,
|
|
9328
9331
|
className: classnames_default()(className, fluid && `${bsPrefix}-fluid`, rounded && `rounded`, roundedCircle && `rounded-circle`, thumbnail && `${bsPrefix}-thumbnail`)
|
|
@@ -9996,20 +9999,16 @@ const FormLabel = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_reac
|
|
|
9996
9999
|
lineNumber: 104,
|
|
9997
10000
|
columnNumber: 11
|
|
9998
10001
|
}, undefined);
|
|
9999
|
-
return (
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
lineNumber: 115,
|
|
10010
|
-
columnNumber: 9
|
|
10011
|
-
}, undefined)
|
|
10012
|
-
);
|
|
10002
|
+
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(Component, {
|
|
10003
|
+
ref: ref,
|
|
10004
|
+
className: classes,
|
|
10005
|
+
htmlFor: htmlFor,
|
|
10006
|
+
...props
|
|
10007
|
+
}, void 0, false, {
|
|
10008
|
+
fileName: FormLabel_jsxFileName,
|
|
10009
|
+
lineNumber: 114,
|
|
10010
|
+
columnNumber: 9
|
|
10011
|
+
}, undefined);
|
|
10013
10012
|
});
|
|
10014
10013
|
FormLabel.displayName = 'FormLabel';
|
|
10015
10014
|
FormLabel.propTypes = FormLabel_propTypes;
|
|
@@ -10772,8 +10771,6 @@ const ListGroupItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_
|
|
|
10772
10771
|
props.tabIndex = -1;
|
|
10773
10772
|
props['aria-disabled'] = true;
|
|
10774
10773
|
}
|
|
10775
|
-
|
|
10776
|
-
// eslint-disable-next-line no-nested-ternary
|
|
10777
10774
|
const Component = as || (action ? props.href ? 'a' : 'button' : 'div');
|
|
10778
10775
|
false ? 0 : void 0;
|
|
10779
10776
|
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(Component, {
|
|
@@ -10784,7 +10781,7 @@ const ListGroupItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_
|
|
|
10784
10781
|
className: classnames_default()(className, bsPrefix, meta.isActive && 'active', disabled && 'disabled', variant && `${bsPrefix}-${variant}`, action && `${bsPrefix}-action`)
|
|
10785
10782
|
}, void 0, false, {
|
|
10786
10783
|
fileName: ListGroupItem_jsxFileName,
|
|
10787
|
-
lineNumber:
|
|
10784
|
+
lineNumber: 112,
|
|
10788
10785
|
columnNumber: 9
|
|
10789
10786
|
}, undefined);
|
|
10790
10787
|
});
|
|
@@ -11115,6 +11112,7 @@ function useWaitForDOMRef(ref, onResolved) {
|
|
|
11115
11112
|
|
|
11116
11113
|
|
|
11117
11114
|
|
|
11115
|
+
|
|
11118
11116
|
function NoopTransition({
|
|
11119
11117
|
children,
|
|
11120
11118
|
in: inProp,
|
|
@@ -11130,7 +11128,7 @@ function NoopTransition({
|
|
|
11130
11128
|
handleExited(ref.current);
|
|
11131
11129
|
}
|
|
11132
11130
|
}, [inProp, handleExited]);
|
|
11133
|
-
const combinedRef = hooks_esm_useMergedRefs(ref, children
|
|
11131
|
+
const combinedRef = hooks_esm_useMergedRefs(ref, getChildRef(children));
|
|
11134
11132
|
const child = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(children, {
|
|
11135
11133
|
ref: combinedRef
|
|
11136
11134
|
});
|
|
@@ -11255,6 +11253,7 @@ const RTGTransition = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_
|
|
|
11255
11253
|
|
|
11256
11254
|
|
|
11257
11255
|
|
|
11256
|
+
|
|
11258
11257
|
function useTransition({
|
|
11259
11258
|
in: inProp,
|
|
11260
11259
|
onTransition
|
|
@@ -11323,7 +11322,7 @@ function ImperativeTransition({
|
|
|
11323
11322
|
});
|
|
11324
11323
|
}
|
|
11325
11324
|
});
|
|
11326
|
-
const combinedRef = hooks_esm_useMergedRefs(ref, children
|
|
11325
|
+
const combinedRef = hooks_esm_useMergedRefs(ref, getChildRef(children));
|
|
11327
11326
|
return exited && !inProp ? null : /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.cloneElement)(children, {
|
|
11328
11327
|
ref: combinedRef
|
|
11329
11328
|
});
|
|
@@ -11652,8 +11651,7 @@ const Selector = {
|
|
|
11652
11651
|
class BootstrapModalManager extends esm_ModalManager {
|
|
11653
11652
|
adjustAndStore(prop, element, adjust) {
|
|
11654
11653
|
const actual = element.style[prop];
|
|
11655
|
-
// TODO: DOMStringMap and CSSStyleDeclaration aren't strictly compatible
|
|
11656
|
-
// @ts-ignore
|
|
11654
|
+
// @ts-expect-error TODO: DOMStringMap and CSSStyleDeclaration aren't strictly compatible
|
|
11657
11655
|
element.dataset[prop] = actual;
|
|
11658
11656
|
css(element, {
|
|
11659
11657
|
[prop]: `${parseFloat(css(element, prop)) + adjust}px`
|
|
@@ -11724,7 +11722,6 @@ ModalBody.displayName = 'ModalBody';
|
|
|
11724
11722
|
;// CONCATENATED MODULE: ./src/ModalContext.tsx
|
|
11725
11723
|
|
|
11726
11724
|
const ModalContext = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext({
|
|
11727
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
11728
11725
|
onHide() {}
|
|
11729
11726
|
});
|
|
11730
11727
|
/* harmony default export */ const src_ModalContext = (ModalContext);
|
|
@@ -11883,6 +11880,7 @@ const AbstractModalHeader = /*#__PURE__*/external_root_React_commonjs2_react_com
|
|
|
11883
11880
|
columnNumber: 7
|
|
11884
11881
|
}, undefined);
|
|
11885
11882
|
});
|
|
11883
|
+
AbstractModalHeader.displayName = 'AbstractModalHeader';
|
|
11886
11884
|
AbstractModalHeader.propTypes = AbstractModalHeader_propTypes;
|
|
11887
11885
|
/* harmony default export */ const src_AbstractModalHeader = (AbstractModalHeader);
|
|
11888
11886
|
;// CONCATENATED MODULE: ./src/ModalHeader.tsx
|
|
@@ -12135,15 +12133,13 @@ const Modal_propTypes = {
|
|
|
12135
12133
|
'aria-describedby': (prop_types_default()).string,
|
|
12136
12134
|
'aria-label': (prop_types_default()).string
|
|
12137
12135
|
};
|
|
12138
|
-
|
|
12139
|
-
/* eslint-disable no-use-before-define, react/no-multi-comp */
|
|
12140
12136
|
function DialogTransition(props) {
|
|
12141
12137
|
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(src_Fade, {
|
|
12142
12138
|
...props,
|
|
12143
12139
|
timeout: null
|
|
12144
12140
|
}, void 0, false, {
|
|
12145
12141
|
fileName: Modal_jsxFileName,
|
|
12146
|
-
lineNumber:
|
|
12142
|
+
lineNumber: 227,
|
|
12147
12143
|
columnNumber: 10
|
|
12148
12144
|
}, this);
|
|
12149
12145
|
}
|
|
@@ -12153,12 +12149,10 @@ function BackdropTransition(props) {
|
|
|
12153
12149
|
timeout: null
|
|
12154
12150
|
}, void 0, false, {
|
|
12155
12151
|
fileName: Modal_jsxFileName,
|
|
12156
|
-
lineNumber:
|
|
12152
|
+
lineNumber: 231,
|
|
12157
12153
|
columnNumber: 10
|
|
12158
12154
|
}, this);
|
|
12159
12155
|
}
|
|
12160
|
-
|
|
12161
|
-
/* eslint-enable no-use-before-define */
|
|
12162
12156
|
const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.forwardRef(({
|
|
12163
12157
|
bsPrefix,
|
|
12164
12158
|
className,
|
|
@@ -12308,7 +12302,7 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
12308
12302
|
className: classnames_default()(`${bsPrefix}-backdrop`, backdropClassName, !animation && 'show')
|
|
12309
12303
|
}, void 0, false, {
|
|
12310
12304
|
fileName: Modal_jsxFileName,
|
|
12311
|
-
lineNumber:
|
|
12305
|
+
lineNumber: 426,
|
|
12312
12306
|
columnNumber: 11
|
|
12313
12307
|
}, undefined), [animation, backdropClassName, bsPrefix]);
|
|
12314
12308
|
const baseModalStyle = {
|
|
@@ -12338,12 +12332,12 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
12338
12332
|
children: children
|
|
12339
12333
|
}, void 0, false, {
|
|
12340
12334
|
fileName: Modal_jsxFileName,
|
|
12341
|
-
lineNumber:
|
|
12335
|
+
lineNumber: 462,
|
|
12342
12336
|
columnNumber: 11
|
|
12343
12337
|
}, undefined)
|
|
12344
12338
|
}, void 0, false, {
|
|
12345
12339
|
fileName: Modal_jsxFileName,
|
|
12346
|
-
lineNumber:
|
|
12340
|
+
lineNumber: 445,
|
|
12347
12341
|
columnNumber: 9
|
|
12348
12342
|
}, undefined);
|
|
12349
12343
|
return /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(src_ModalContext.Provider, {
|
|
@@ -12375,12 +12369,12 @@ const Modal_Modal = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
12375
12369
|
renderDialog: renderDialog
|
|
12376
12370
|
}, void 0, false, {
|
|
12377
12371
|
fileName: Modal_jsxFileName,
|
|
12378
|
-
lineNumber:
|
|
12372
|
+
lineNumber: 475,
|
|
12379
12373
|
columnNumber: 11
|
|
12380
12374
|
}, undefined)
|
|
12381
12375
|
}, void 0, false, {
|
|
12382
12376
|
fileName: Modal_jsxFileName,
|
|
12383
|
-
lineNumber:
|
|
12377
|
+
lineNumber: 474,
|
|
12384
12378
|
columnNumber: 9
|
|
12385
12379
|
}, undefined);
|
|
12386
12380
|
});
|
|
@@ -13657,17 +13651,17 @@ const Navbar = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_a
|
|
|
13657
13651
|
className: classnames_default()(className, bsPrefix, expand && expandClass, variant && `${bsPrefix}-${variant}`, bg && `bg-${bg}`, sticky && `sticky-${sticky}`, fixed && `fixed-${fixed}`)
|
|
13658
13652
|
}, void 0, false, {
|
|
13659
13653
|
fileName: Navbar_jsxFileName,
|
|
13660
|
-
lineNumber:
|
|
13654
|
+
lineNumber: 193,
|
|
13661
13655
|
columnNumber: 11
|
|
13662
13656
|
}, undefined)
|
|
13663
13657
|
}, void 0, false, {
|
|
13664
13658
|
fileName: Navbar_jsxFileName,
|
|
13665
|
-
lineNumber:
|
|
13659
|
+
lineNumber: 192,
|
|
13666
13660
|
columnNumber: 9
|
|
13667
13661
|
}, undefined)
|
|
13668
13662
|
}, void 0, false, {
|
|
13669
13663
|
fileName: Navbar_jsxFileName,
|
|
13670
|
-
lineNumber:
|
|
13664
|
+
lineNumber: 191,
|
|
13671
13665
|
columnNumber: 7
|
|
13672
13666
|
}, undefined);
|
|
13673
13667
|
});
|
|
@@ -14109,6 +14103,7 @@ const Popover = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_
|
|
|
14109
14103
|
columnNumber: 7
|
|
14110
14104
|
}, undefined);
|
|
14111
14105
|
});
|
|
14106
|
+
Popover.displayName = 'Popover';
|
|
14112
14107
|
Popover.propTypes = Popover_propTypes;
|
|
14113
14108
|
/* harmony default export */ const src_Popover = (Object.assign(Popover, {
|
|
14114
14109
|
Header: src_PopoverHeader,
|
|
@@ -14463,9 +14458,7 @@ function normalizeDelay(delay) {
|
|
|
14463
14458
|
// React's built version is broken: https://github.com/facebook/react/issues/4251
|
|
14464
14459
|
// for cases when the trigger is disabled and mouseOut/Over can cause flicker
|
|
14465
14460
|
// moving from one child element to another.
|
|
14466
|
-
function handleMouseOverOut(
|
|
14467
|
-
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
14468
|
-
handler, args, relatedNative) {
|
|
14461
|
+
function handleMouseOverOut(handler, args, relatedNative) {
|
|
14469
14462
|
const [e] = args;
|
|
14470
14463
|
const target = e.currentTarget;
|
|
14471
14464
|
const related = e.relatedTarget || e.nativeEvent[relatedNative];
|
|
@@ -14634,7 +14627,7 @@ const OverlayTrigger = ({
|
|
|
14634
14627
|
children: overlay
|
|
14635
14628
|
}, void 0, false, {
|
|
14636
14629
|
fileName: OverlayTrigger_jsxFileName,
|
|
14637
|
-
lineNumber:
|
|
14630
|
+
lineNumber: 307,
|
|
14638
14631
|
columnNumber: 7
|
|
14639
14632
|
}, undefined)]
|
|
14640
14633
|
}, void 0, true);
|
|
@@ -14643,7 +14636,6 @@ OverlayTrigger.propTypes = OverlayTrigger_propTypes;
|
|
|
14643
14636
|
/* harmony default export */ const src_OverlayTrigger = (OverlayTrigger);
|
|
14644
14637
|
;// CONCATENATED MODULE: ./src/PageItem.tsx
|
|
14645
14638
|
var PageItem_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-bootstrap/src/PageItem.tsx";
|
|
14646
|
-
/* eslint-disable react/no-multi-comp */
|
|
14647
14639
|
|
|
14648
14640
|
|
|
14649
14641
|
|
|
@@ -14694,17 +14686,17 @@ const PageItem = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react
|
|
|
14694
14686
|
children: activeLabel
|
|
14695
14687
|
}, void 0, false, {
|
|
14696
14688
|
fileName: PageItem_jsxFileName,
|
|
14697
|
-
lineNumber:
|
|
14689
|
+
lineNumber: 73,
|
|
14698
14690
|
columnNumber: 15
|
|
14699
14691
|
}, undefined)]
|
|
14700
14692
|
}, void 0, true, {
|
|
14701
14693
|
fileName: PageItem_jsxFileName,
|
|
14702
|
-
lineNumber:
|
|
14694
|
+
lineNumber: 66,
|
|
14703
14695
|
columnNumber: 11
|
|
14704
14696
|
}, undefined)
|
|
14705
14697
|
}, void 0, false, {
|
|
14706
14698
|
fileName: PageItem_jsxFileName,
|
|
14707
|
-
lineNumber:
|
|
14699
|
+
lineNumber: 61,
|
|
14708
14700
|
columnNumber: 9
|
|
14709
14701
|
}, undefined);
|
|
14710
14702
|
});
|
|
@@ -14723,19 +14715,19 @@ function createButton(name, defaultValue, label = name) {
|
|
|
14723
14715
|
children: children || defaultValue
|
|
14724
14716
|
}, void 0, false, {
|
|
14725
14717
|
fileName: PageItem_jsxFileName,
|
|
14726
|
-
lineNumber:
|
|
14718
|
+
lineNumber: 90,
|
|
14727
14719
|
columnNumber: 9
|
|
14728
14720
|
}, this), /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)("span", {
|
|
14729
14721
|
className: "visually-hidden",
|
|
14730
14722
|
children: label
|
|
14731
14723
|
}, void 0, false, {
|
|
14732
14724
|
fileName: PageItem_jsxFileName,
|
|
14733
|
-
lineNumber:
|
|
14725
|
+
lineNumber: 91,
|
|
14734
14726
|
columnNumber: 9
|
|
14735
14727
|
}, this)]
|
|
14736
14728
|
}, void 0, true, {
|
|
14737
14729
|
fileName: PageItem_jsxFileName,
|
|
14738
|
-
lineNumber:
|
|
14730
|
+
lineNumber: 89,
|
|
14739
14731
|
columnNumber: 7
|
|
14740
14732
|
}, this));
|
|
14741
14733
|
Button.displayName = name;
|
|
@@ -14933,10 +14925,9 @@ function onlyProgressBar(props, propName, componentName) {
|
|
|
14933
14925
|
*
|
|
14934
14926
|
* see https://github.com/gaearon/react-hot-loader#checking-element-types
|
|
14935
14927
|
*/
|
|
14936
|
-
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
14937
14928
|
const element = /*#__PURE__*/(0,jsx_dev_runtime.jsxDEV)(ProgressBar, {}, void 0, false, {
|
|
14938
14929
|
fileName: ProgressBar_jsxFileName,
|
|
14939
|
-
lineNumber:
|
|
14930
|
+
lineNumber: 49,
|
|
14940
14931
|
columnNumber: 21
|
|
14941
14932
|
}, this);
|
|
14942
14933
|
if (child.type === element.type) return;
|
|
@@ -15035,12 +15026,12 @@ function renderProgressBar({
|
|
|
15035
15026
|
children: label
|
|
15036
15027
|
}, void 0, false, {
|
|
15037
15028
|
fileName: ProgressBar_jsxFileName,
|
|
15038
|
-
lineNumber:
|
|
15029
|
+
lineNumber: 164,
|
|
15039
15030
|
columnNumber: 9
|
|
15040
15031
|
}, this) : label
|
|
15041
15032
|
}, void 0, false, {
|
|
15042
15033
|
fileName: ProgressBar_jsxFileName,
|
|
15043
|
-
lineNumber:
|
|
15034
|
+
lineNumber: 149,
|
|
15044
15035
|
columnNumber: 5
|
|
15045
15036
|
}, this);
|
|
15046
15037
|
}
|
|
@@ -15094,7 +15085,7 @@ const ProgressBar = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_re
|
|
|
15094
15085
|
}, ref)
|
|
15095
15086
|
}, void 0, false, {
|
|
15096
15087
|
fileName: ProgressBar_jsxFileName,
|
|
15097
|
-
lineNumber:
|
|
15088
|
+
lineNumber: 207,
|
|
15098
15089
|
columnNumber: 7
|
|
15099
15090
|
}, undefined);
|
|
15100
15091
|
});
|
|
@@ -15155,6 +15146,7 @@ const Ratio = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_am
|
|
|
15155
15146
|
columnNumber: 7
|
|
15156
15147
|
}, undefined);
|
|
15157
15148
|
});
|
|
15149
|
+
Ratio.displayName = 'Ratio';
|
|
15158
15150
|
Ratio.propTypes = Ratio_propTypes;
|
|
15159
15151
|
/* harmony default export */ const src_Ratio = (Ratio);
|
|
15160
15152
|
;// CONCATENATED MODULE: ./src/Row.tsx
|
|
@@ -15737,7 +15729,6 @@ var TabContainer_jsxFileName = "/Users/kyletsang/Documents/Kyle/Code/react-boots
|
|
|
15737
15729
|
|
|
15738
15730
|
|
|
15739
15731
|
|
|
15740
|
-
|
|
15741
15732
|
const TabContainer_propTypes = {
|
|
15742
15733
|
/**
|
|
15743
15734
|
* HTML id attribute, required if no `generateChildId` prop
|
|
@@ -15796,7 +15787,7 @@ const TabContainer = ({
|
|
|
15796
15787
|
transition: getTabTransitionComponent(transition)
|
|
15797
15788
|
}, void 0, false, {
|
|
15798
15789
|
fileName: TabContainer_jsxFileName,
|
|
15799
|
-
lineNumber:
|
|
15790
|
+
lineNumber: 70,
|
|
15800
15791
|
columnNumber: 3
|
|
15801
15792
|
}, undefined);
|
|
15802
15793
|
TabContainer.propTypes = TabContainer_propTypes;
|
|
@@ -15973,7 +15964,6 @@ TabPane.propTypes = TabPane_propTypes;
|
|
|
15973
15964
|
|
|
15974
15965
|
|
|
15975
15966
|
|
|
15976
|
-
/* eslint-disable react/no-unused-prop-types */
|
|
15977
15967
|
const Tab_propTypes = {
|
|
15978
15968
|
eventKey: prop_types_default().oneOfType([(prop_types_default()).string, (prop_types_default()).number]),
|
|
15979
15969
|
/**
|
|
@@ -16091,6 +16081,7 @@ const Table = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_am
|
|
|
16091
16081
|
}
|
|
16092
16082
|
return table;
|
|
16093
16083
|
});
|
|
16084
|
+
Table.displayName = 'Table';
|
|
16094
16085
|
Table.propTypes = Table_propTypes;
|
|
16095
16086
|
/* harmony default export */ const src_Table = (Table);
|
|
16096
16087
|
;// CONCATENATED MODULE: ./src/Tabs.tsx
|
|
@@ -16300,7 +16291,6 @@ ToastFade.displayName = 'ToastFade';
|
|
|
16300
16291
|
;// CONCATENATED MODULE: ./src/ToastContext.tsx
|
|
16301
16292
|
|
|
16302
16293
|
const ToastContext = /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_.createContext({
|
|
16303
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
16304
16294
|
onClose() {}
|
|
16305
16295
|
});
|
|
16306
16296
|
/* harmony default export */ const src_ToastContext = (ToastContext);
|
|
@@ -16806,6 +16796,7 @@ const ToggleButtonGroup = /*#__PURE__*/external_root_React_commonjs2_react_commo
|
|
|
16806
16796
|
columnNumber: 5
|
|
16807
16797
|
}, undefined);
|
|
16808
16798
|
});
|
|
16799
|
+
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
16809
16800
|
ToggleButtonGroup.propTypes = ToggleButtonGroup_propTypes;
|
|
16810
16801
|
/* harmony default export */ const src_ToggleButtonGroup = (Object.assign(ToggleButtonGroup, {
|
|
16811
16802
|
Button: src_ToggleButton
|