@mui/material 5.10.0 → 5.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +62 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +88 -88
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +24 -24
- package/README.md +6 -6
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.d.ts +2 -1
- package/TableCell/TableCell.js +3 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/TableCell/TableCell.js +3 -1
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +71 -71
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/TableCell/TableCell.js +3 -1
- package/modern/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/TableCell/TableCell.js +3 -1
- package/node/index.js +1 -1
- package/package.json +4 -3
- package/styles/CssVarsProvider.d.ts +14 -14
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +68 -55
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.1
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -10672,38 +10672,57 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10672
10672
|
var min = Math.min;
|
|
10673
10673
|
var round$2 = Math.round;
|
|
10674
10674
|
|
|
10675
|
-
function
|
|
10675
|
+
function getUAString() {
|
|
10676
|
+
var uaData = navigator.userAgentData;
|
|
10677
|
+
|
|
10678
|
+
if (uaData != null && uaData.brands) {
|
|
10679
|
+
return uaData.brands.map(function (item) {
|
|
10680
|
+
return item.brand + "/" + item.version;
|
|
10681
|
+
}).join(' ');
|
|
10682
|
+
}
|
|
10683
|
+
|
|
10684
|
+
return navigator.userAgent;
|
|
10685
|
+
}
|
|
10686
|
+
|
|
10687
|
+
function isLayoutViewport() {
|
|
10688
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
10689
|
+
}
|
|
10690
|
+
|
|
10691
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
10676
10692
|
if (includeScale === void 0) {
|
|
10677
10693
|
includeScale = false;
|
|
10678
10694
|
}
|
|
10679
10695
|
|
|
10680
|
-
|
|
10696
|
+
if (isFixedStrategy === void 0) {
|
|
10697
|
+
isFixedStrategy = false;
|
|
10698
|
+
}
|
|
10699
|
+
|
|
10700
|
+
var clientRect = element.getBoundingClientRect();
|
|
10681
10701
|
var scaleX = 1;
|
|
10682
10702
|
var scaleY = 1;
|
|
10683
10703
|
|
|
10684
|
-
if (isHTMLElement(element)
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
// Fallback to 1 in case both values are `0`
|
|
10688
|
-
|
|
10689
|
-
if (offsetWidth > 0) {
|
|
10690
|
-
scaleX = round$2(rect.width) / offsetWidth || 1;
|
|
10691
|
-
}
|
|
10692
|
-
|
|
10693
|
-
if (offsetHeight > 0) {
|
|
10694
|
-
scaleY = round$2(rect.height) / offsetHeight || 1;
|
|
10695
|
-
}
|
|
10704
|
+
if (includeScale && isHTMLElement(element)) {
|
|
10705
|
+
scaleX = element.offsetWidth > 0 ? round$2(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
10706
|
+
scaleY = element.offsetHeight > 0 ? round$2(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
10696
10707
|
}
|
|
10697
10708
|
|
|
10709
|
+
var _ref = isElement(element) ? getWindow(element) : window,
|
|
10710
|
+
visualViewport = _ref.visualViewport;
|
|
10711
|
+
|
|
10712
|
+
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
10713
|
+
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
10714
|
+
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
10715
|
+
var width = clientRect.width / scaleX;
|
|
10716
|
+
var height = clientRect.height / scaleY;
|
|
10698
10717
|
return {
|
|
10699
|
-
width:
|
|
10700
|
-
height:
|
|
10701
|
-
top:
|
|
10702
|
-
right:
|
|
10703
|
-
bottom:
|
|
10704
|
-
left:
|
|
10705
|
-
x:
|
|
10706
|
-
y:
|
|
10718
|
+
width: width,
|
|
10719
|
+
height: height,
|
|
10720
|
+
top: y,
|
|
10721
|
+
right: x + width,
|
|
10722
|
+
bottom: y + height,
|
|
10723
|
+
left: x,
|
|
10724
|
+
x: x,
|
|
10725
|
+
y: y
|
|
10707
10726
|
};
|
|
10708
10727
|
}
|
|
10709
10728
|
|
|
@@ -10798,8 +10817,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10798
10817
|
|
|
10799
10818
|
|
|
10800
10819
|
function getContainingBlock(element) {
|
|
10801
|
-
var isFirefox =
|
|
10802
|
-
var isIE =
|
|
10820
|
+
var isFirefox = /firefox/i.test(getUAString());
|
|
10821
|
+
var isIE = /Trident/i.test(getUAString());
|
|
10803
10822
|
|
|
10804
10823
|
if (isIE && isHTMLElement(element)) {
|
|
10805
10824
|
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
@@ -11239,31 +11258,21 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11239
11258
|
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
11240
11259
|
}
|
|
11241
11260
|
|
|
11242
|
-
function getViewportRect(element) {
|
|
11261
|
+
function getViewportRect(element, strategy) {
|
|
11243
11262
|
var win = getWindow(element);
|
|
11244
11263
|
var html = getDocumentElement(element);
|
|
11245
11264
|
var visualViewport = win.visualViewport;
|
|
11246
11265
|
var width = html.clientWidth;
|
|
11247
11266
|
var height = html.clientHeight;
|
|
11248
11267
|
var x = 0;
|
|
11249
|
-
var y = 0;
|
|
11250
|
-
// can be obscured underneath it.
|
|
11251
|
-
// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
|
|
11252
|
-
// if it isn't open, so if this isn't available, the popper will be detected
|
|
11253
|
-
// to overflow the bottom of the screen too early.
|
|
11268
|
+
var y = 0;
|
|
11254
11269
|
|
|
11255
11270
|
if (visualViewport) {
|
|
11256
11271
|
width = visualViewport.width;
|
|
11257
|
-
height = visualViewport.height;
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
// Feature detection fails in mobile emulation mode in Chrome.
|
|
11262
|
-
// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
|
|
11263
|
-
// 0.001
|
|
11264
|
-
// Fallback here: "Not Safari" userAgent
|
|
11265
|
-
|
|
11266
|
-
if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
|
|
11272
|
+
height = visualViewport.height;
|
|
11273
|
+
var layoutViewport = isLayoutViewport();
|
|
11274
|
+
|
|
11275
|
+
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
11267
11276
|
x = visualViewport.offsetLeft;
|
|
11268
11277
|
y = visualViewport.offsetTop;
|
|
11269
11278
|
}
|
|
@@ -11357,8 +11366,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11357
11366
|
});
|
|
11358
11367
|
}
|
|
11359
11368
|
|
|
11360
|
-
function getInnerBoundingClientRect(element) {
|
|
11361
|
-
var rect = getBoundingClientRect(element);
|
|
11369
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
11370
|
+
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
11362
11371
|
rect.top = rect.top + element.clientTop;
|
|
11363
11372
|
rect.left = rect.left + element.clientLeft;
|
|
11364
11373
|
rect.bottom = rect.top + element.clientHeight;
|
|
@@ -11370,8 +11379,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11370
11379
|
return rect;
|
|
11371
11380
|
}
|
|
11372
11381
|
|
|
11373
|
-
function getClientRectFromMixedType(element, clippingParent) {
|
|
11374
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
11382
|
+
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
11383
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
11375
11384
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
11376
11385
|
// clipping (or hiding) overflowing elements with a position different from
|
|
11377
11386
|
// `initial`
|
|
@@ -11394,18 +11403,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11394
11403
|
// clipping parents
|
|
11395
11404
|
|
|
11396
11405
|
|
|
11397
|
-
function getClippingRect(element, boundary, rootBoundary) {
|
|
11406
|
+
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
11398
11407
|
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
11399
11408
|
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
11400
11409
|
var firstClippingParent = clippingParents[0];
|
|
11401
11410
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
11402
|
-
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
11411
|
+
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
11403
11412
|
accRect.top = max(rect.top, accRect.top);
|
|
11404
11413
|
accRect.right = min(rect.right, accRect.right);
|
|
11405
11414
|
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
11406
11415
|
accRect.left = max(rect.left, accRect.left);
|
|
11407
11416
|
return accRect;
|
|
11408
|
-
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
11417
|
+
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
11409
11418
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
11410
11419
|
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
11411
11420
|
clippingRect.x = clippingRect.left;
|
|
@@ -11486,6 +11495,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11486
11495
|
var _options = options,
|
|
11487
11496
|
_options$placement = _options.placement,
|
|
11488
11497
|
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
11498
|
+
_options$strategy = _options.strategy,
|
|
11499
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
11489
11500
|
_options$boundary = _options.boundary,
|
|
11490
11501
|
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
11491
11502
|
_options$rootBoundary = _options.rootBoundary,
|
|
@@ -11500,7 +11511,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11500
11511
|
var altContext = elementContext === popper ? reference : popper;
|
|
11501
11512
|
var popperRect = state.rects.popper;
|
|
11502
11513
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
11503
|
-
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
11514
|
+
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
|
11504
11515
|
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
11505
11516
|
var popperOffsets = computeOffsets({
|
|
11506
11517
|
reference: referenceClientRect,
|
|
@@ -12018,7 +12029,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12018
12029
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
12019
12030
|
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
12020
12031
|
var documentElement = getDocumentElement(offsetParent);
|
|
12021
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
12032
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
12022
12033
|
var scroll = {
|
|
12023
12034
|
scrollLeft: 0,
|
|
12024
12035
|
scrollTop: 0
|
|
@@ -13467,18 +13478,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13467
13478
|
|
|
13468
13479
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
13469
13480
|
children: [/*#__PURE__*/jsxRuntime_1("div", {
|
|
13470
|
-
tabIndex: 0,
|
|
13481
|
+
tabIndex: open ? 0 : -1,
|
|
13471
13482
|
onFocus: handleFocusSentinel,
|
|
13472
13483
|
ref: sentinelStart,
|
|
13473
|
-
"data-
|
|
13484
|
+
"data-testid": "sentinelStart"
|
|
13474
13485
|
}), /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
13475
13486
|
ref: handleRef,
|
|
13476
13487
|
onFocus
|
|
13477
13488
|
}), /*#__PURE__*/jsxRuntime_1("div", {
|
|
13478
|
-
tabIndex: 0,
|
|
13489
|
+
tabIndex: open ? 0 : -1,
|
|
13479
13490
|
onFocus: handleFocusSentinel,
|
|
13480
13491
|
ref: sentinelEnd,
|
|
13481
|
-
"data-
|
|
13492
|
+
"data-testid": "sentinelEnd"
|
|
13482
13493
|
})]
|
|
13483
13494
|
});
|
|
13484
13495
|
}
|
|
@@ -49122,7 +49133,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49122
49133
|
* Specify the cell type.
|
|
49123
49134
|
* The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.
|
|
49124
49135
|
*/
|
|
49125
|
-
variant: PropTypes
|
|
49136
|
+
variant: PropTypes
|
|
49137
|
+
/* @typescript-to-proptypes-ignore */
|
|
49138
|
+
.oneOfType([PropTypes.oneOf(['body', 'footer', 'head']), PropTypes.string])
|
|
49126
49139
|
} ;
|
|
49127
49140
|
var TableCell$1 = TableCell;
|
|
49128
49141
|
|