@mui/material 5.11.14 → 5.11.15
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/Autocomplete.js +3 -0
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- 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 +52 -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/Chip.js +2 -3
- package/Chip/chipClasses.d.ts +96 -96
- 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/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- 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 +34 -34
- 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 +55 -55
- 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/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- 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/Stack/Stack.d.ts +10 -0
- package/Stack/Stack.js +11 -1
- package/Stack/stackClasses.d.ts +6 -6
- 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 +26 -26
- 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/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/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +3 -0
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Chip/Chip.js +2 -3
- package/legacy/Stack/Stack.js +11 -1
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +76 -76
- package/modern/Autocomplete/Autocomplete.js +3 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Chip/Chip.js +2 -3
- package/modern/Stack/Stack.js +11 -1
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +3 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Chip/Chip.js +2 -3
- package/node/Stack/Stack.js +11 -1
- package/node/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +15 -15
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +62 -58
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- 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,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.11.
|
|
2
|
+
* @mui/material v5.11.15
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -6450,36 +6450,6 @@
|
|
|
6450
6450
|
});
|
|
6451
6451
|
compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);
|
|
6452
6452
|
|
|
6453
|
-
const createFontStyleFunction = prop => {
|
|
6454
|
-
return props => {
|
|
6455
|
-
if (props[prop] !== undefined && props[prop] !== null) {
|
|
6456
|
-
const styleFromPropValue = propValue => {
|
|
6457
|
-
var _props$theme$typograp;
|
|
6458
|
-
// fetch the value directly defined in the theme, like fontWeightLight
|
|
6459
|
-
let value = (_props$theme$typograp = props.theme.typography) == null ? void 0 : _props$theme$typograp[propValue];
|
|
6460
|
-
if (typeof value === 'object') {
|
|
6461
|
-
// typography variant was pulled, but these props can't be an object
|
|
6462
|
-
value = null;
|
|
6463
|
-
}
|
|
6464
|
-
if (!value) {
|
|
6465
|
-
var _props$theme$typograp2, _props$prop;
|
|
6466
|
-
// fetch fontWeightLight when the value is 'light'
|
|
6467
|
-
value = (_props$theme$typograp2 = props.theme.typography) == null ? void 0 : _props$theme$typograp2[`${prop}${props[prop] === 'default' || props[prop] === prop ? '' : capitalize((_props$prop = props[prop]) == null ? void 0 : _props$prop.toString())}`];
|
|
6468
|
-
}
|
|
6469
|
-
if (!value) {
|
|
6470
|
-
var _props$theme$typograp3, _props$theme$typograp4, _props$theme$typograp5;
|
|
6471
|
-
// fetch the value from the typography variant or default to the propValue
|
|
6472
|
-
value = (_props$theme$typograp3 = (_props$theme$typograp4 = props.theme.typography) == null ? void 0 : (_props$theme$typograp5 = _props$theme$typograp4[propValue]) == null ? void 0 : _props$theme$typograp5[prop]) != null ? _props$theme$typograp3 : propValue;
|
|
6473
|
-
}
|
|
6474
|
-
return {
|
|
6475
|
-
[prop]: value
|
|
6476
|
-
};
|
|
6477
|
-
};
|
|
6478
|
-
return handleBreakpoints(props, props[prop], styleFromPropValue);
|
|
6479
|
-
}
|
|
6480
|
-
return null;
|
|
6481
|
-
};
|
|
6482
|
-
};
|
|
6483
6453
|
const defaultSxConfig = {
|
|
6484
6454
|
// borders
|
|
6485
6455
|
border: {
|
|
@@ -6738,19 +6708,16 @@
|
|
|
6738
6708
|
boxSizing: {},
|
|
6739
6709
|
// typography
|
|
6740
6710
|
fontFamily: {
|
|
6741
|
-
themeKey: 'typography'
|
|
6742
|
-
style: createFontStyleFunction('fontFamily')
|
|
6711
|
+
themeKey: 'typography'
|
|
6743
6712
|
},
|
|
6744
6713
|
fontSize: {
|
|
6745
|
-
themeKey: 'typography'
|
|
6746
|
-
style: createFontStyleFunction('fontSize')
|
|
6714
|
+
themeKey: 'typography'
|
|
6747
6715
|
},
|
|
6748
6716
|
fontStyle: {
|
|
6749
6717
|
themeKey: 'typography'
|
|
6750
6718
|
},
|
|
6751
6719
|
fontWeight: {
|
|
6752
|
-
themeKey: 'typography'
|
|
6753
|
-
style: createFontStyleFunction('fontWeight')
|
|
6720
|
+
themeKey: 'typography'
|
|
6754
6721
|
},
|
|
6755
6722
|
letterSpacing: {},
|
|
6756
6723
|
textTransform: {},
|
|
@@ -6794,6 +6761,11 @@
|
|
|
6794
6761
|
if (val == null) {
|
|
6795
6762
|
return null;
|
|
6796
6763
|
}
|
|
6764
|
+
if (themeKey === 'typography' && val === 'inherit') {
|
|
6765
|
+
return {
|
|
6766
|
+
[prop]: val
|
|
6767
|
+
};
|
|
6768
|
+
}
|
|
6797
6769
|
const themeMapping = getPath(theme, themeKey) || {};
|
|
6798
6770
|
if (style) {
|
|
6799
6771
|
return style(props);
|
|
@@ -8735,12 +8707,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8735
8707
|
return Container;
|
|
8736
8708
|
}
|
|
8737
8709
|
|
|
8710
|
+
function appendLevel(level) {
|
|
8711
|
+
if (!level) {
|
|
8712
|
+
return '';
|
|
8713
|
+
}
|
|
8714
|
+
return `Level${level}`;
|
|
8715
|
+
}
|
|
8738
8716
|
function isNestedContainer(ownerState) {
|
|
8739
8717
|
return ownerState.level > 0 && ownerState.container;
|
|
8740
8718
|
}
|
|
8741
8719
|
function createGetSelfSpacing(ownerState) {
|
|
8742
8720
|
return function getSelfSpacing(axis) {
|
|
8743
|
-
return `var(--Grid-${axis}Spacing${ownerState.level
|
|
8721
|
+
return `var(--Grid-${axis}Spacing${appendLevel(ownerState.level)})`;
|
|
8744
8722
|
};
|
|
8745
8723
|
}
|
|
8746
8724
|
function createGetParentSpacing(ownerState) {
|
|
@@ -8748,9 +8726,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8748
8726
|
if (ownerState.level === 0) {
|
|
8749
8727
|
return `var(--Grid-${axis}Spacing)`;
|
|
8750
8728
|
}
|
|
8751
|
-
return `var(--Grid-${axis}Spacing${ownerState.level - 1
|
|
8729
|
+
return `var(--Grid-${axis}Spacing${appendLevel(ownerState.level - 1)})`;
|
|
8752
8730
|
};
|
|
8753
8731
|
}
|
|
8732
|
+
function getParentColumns(ownerState) {
|
|
8733
|
+
if (ownerState.level === 0) {
|
|
8734
|
+
return `var(--Grid-columns)`;
|
|
8735
|
+
}
|
|
8736
|
+
return `var(--Grid-columns${appendLevel(ownerState.level - 1)})`;
|
|
8737
|
+
}
|
|
8754
8738
|
const filterBreakpointKeys = (breakpointsKeys, responsiveKeys) => breakpointsKeys.filter(key => responsiveKeys.includes(key));
|
|
8755
8739
|
const traverseBreakpoints = (breakpoints, responsive, iterator) => {
|
|
8756
8740
|
const smallestBreakpoint = breakpoints.keys[0]; // the keys is sorted from smallest to largest by `createBreakpoints`.
|
|
@@ -8821,7 +8805,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8821
8805
|
style = {
|
|
8822
8806
|
flexGrow: 0,
|
|
8823
8807
|
flexBasis: 'auto',
|
|
8824
|
-
width: `calc(100% * ${value} /
|
|
8808
|
+
width: `calc(100% * ${value} / ${getParentColumns(ownerState)}${isNestedContainer(ownerState) ? ` + ${getSelfSpacing('column')}` : ''})`
|
|
8825
8809
|
};
|
|
8826
8810
|
}
|
|
8827
8811
|
appendStyle(styles, style);
|
|
@@ -8842,7 +8826,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8842
8826
|
}
|
|
8843
8827
|
if (typeof value === 'number') {
|
|
8844
8828
|
style = {
|
|
8845
|
-
marginLeft: value === 0 ? '0px' : `calc(100% * ${value} /
|
|
8829
|
+
marginLeft: value === 0 ? '0px' : `calc(100% * ${value} / ${getParentColumns(ownerState)})`
|
|
8846
8830
|
};
|
|
8847
8831
|
}
|
|
8848
8832
|
appendStyle(styles, style);
|
|
@@ -8856,12 +8840,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8856
8840
|
if (!ownerState.container) {
|
|
8857
8841
|
return {};
|
|
8858
8842
|
}
|
|
8859
|
-
const styles = {
|
|
8843
|
+
const styles = isNestedContainer(ownerState) ? {
|
|
8844
|
+
[`--Grid-columns${appendLevel(ownerState.level)}`]: getParentColumns(ownerState)
|
|
8845
|
+
} : {
|
|
8860
8846
|
'--Grid-columns': 12
|
|
8861
8847
|
};
|
|
8862
8848
|
traverseBreakpoints(theme.breakpoints, ownerState.columns, (appendStyle, value) => {
|
|
8863
8849
|
appendStyle(styles, {
|
|
8864
|
-
|
|
8850
|
+
[`--Grid-columns${appendLevel(ownerState.level)}`]: value
|
|
8865
8851
|
});
|
|
8866
8852
|
});
|
|
8867
8853
|
return styles;
|
|
@@ -8877,12 +8863,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8877
8863
|
const styles = isNestedContainer(ownerState) ? {
|
|
8878
8864
|
// Set the default spacing as its parent spacing.
|
|
8879
8865
|
// It will be overridden if spacing props are provided
|
|
8880
|
-
[`--Grid-rowSpacing${ownerState.level
|
|
8866
|
+
[`--Grid-rowSpacing${appendLevel(ownerState.level)}`]: getParentSpacing('row')
|
|
8881
8867
|
} : {};
|
|
8882
8868
|
traverseBreakpoints(theme.breakpoints, ownerState.rowSpacing, (appendStyle, value) => {
|
|
8883
8869
|
var _theme$spacing;
|
|
8884
8870
|
appendStyle(styles, {
|
|
8885
|
-
[`--Grid-rowSpacing${ownerState.level
|
|
8871
|
+
[`--Grid-rowSpacing${appendLevel(ownerState.level)}`]: typeof value === 'string' ? value : (_theme$spacing = theme.spacing) == null ? void 0 : _theme$spacing.call(theme, value)
|
|
8886
8872
|
});
|
|
8887
8873
|
});
|
|
8888
8874
|
return styles;
|
|
@@ -8898,12 +8884,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8898
8884
|
const styles = isNestedContainer(ownerState) ? {
|
|
8899
8885
|
// Set the default spacing as its parent spacing.
|
|
8900
8886
|
// It will be overridden if spacing props are provided
|
|
8901
|
-
[`--Grid-columnSpacing${ownerState.level
|
|
8887
|
+
[`--Grid-columnSpacing${appendLevel(ownerState.level)}`]: getParentSpacing('column')
|
|
8902
8888
|
} : {};
|
|
8903
8889
|
traverseBreakpoints(theme.breakpoints, ownerState.columnSpacing, (appendStyle, value) => {
|
|
8904
8890
|
var _theme$spacing2;
|
|
8905
8891
|
appendStyle(styles, {
|
|
8906
|
-
[`--Grid-columnSpacing${ownerState.level
|
|
8892
|
+
[`--Grid-columnSpacing${appendLevel(ownerState.level)}`]: typeof value === 'string' ? value : (_theme$spacing2 = theme.spacing) == null ? void 0 : _theme$spacing2.call(theme, value)
|
|
8907
8893
|
});
|
|
8908
8894
|
});
|
|
8909
8895
|
return styles;
|
|
@@ -9134,7 +9120,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9134
9120
|
return Grid;
|
|
9135
9121
|
}
|
|
9136
9122
|
|
|
9137
|
-
const _excluded$2e = ["component", "direction", "spacing", "divider", "children", "className"];
|
|
9123
|
+
const _excluded$2e = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
9138
9124
|
const defaultTheme$4 = createTheme$1();
|
|
9139
9125
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
9140
9126
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
@@ -9218,6 +9204,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9218
9204
|
});
|
|
9219
9205
|
}
|
|
9220
9206
|
const styleFromPropValue = (propValue, breakpoint) => {
|
|
9207
|
+
if (ownerState.useFlexGap) {
|
|
9208
|
+
return {
|
|
9209
|
+
gap: getValue(transformer, propValue)
|
|
9210
|
+
};
|
|
9211
|
+
}
|
|
9221
9212
|
return {
|
|
9222
9213
|
'& > :not(style) + :not(style)': {
|
|
9223
9214
|
margin: 0,
|
|
@@ -9255,12 +9246,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9255
9246
|
spacing = 0,
|
|
9256
9247
|
divider,
|
|
9257
9248
|
children,
|
|
9258
|
-
className
|
|
9249
|
+
className,
|
|
9250
|
+
useFlexGap = false
|
|
9259
9251
|
} = props,
|
|
9260
9252
|
other = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
9261
9253
|
const ownerState = {
|
|
9262
9254
|
direction,
|
|
9263
|
-
spacing
|
|
9255
|
+
spacing,
|
|
9256
|
+
useFlexGap
|
|
9264
9257
|
};
|
|
9265
9258
|
const classes = useUtilityClasses();
|
|
9266
9259
|
return /*#__PURE__*/jsxRuntime_1(StackRoot, _extends({
|
|
@@ -11429,7 +11422,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11429
11422
|
function getUAString() {
|
|
11430
11423
|
var uaData = navigator.userAgentData;
|
|
11431
11424
|
|
|
11432
|
-
if (uaData != null && uaData.brands) {
|
|
11425
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
11433
11426
|
return uaData.brands.map(function (item) {
|
|
11434
11427
|
return item.brand + "/" + item.version;
|
|
11435
11428
|
}).join(' ');
|
|
@@ -11757,10 +11750,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11757
11750
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
11758
11751
|
// cleanly divide the values into the appropriate subpixels.
|
|
11759
11752
|
|
|
11760
|
-
function roundOffsetsByDPR(_ref) {
|
|
11753
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
11761
11754
|
var x = _ref.x,
|
|
11762
11755
|
y = _ref.y;
|
|
11763
|
-
var win = window;
|
|
11764
11756
|
var dpr = win.devicePixelRatio || 1;
|
|
11765
11757
|
return {
|
|
11766
11758
|
x: round$1(x * dpr) / dpr || 0,
|
|
@@ -11843,7 +11835,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11843
11835
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
11844
11836
|
x: x,
|
|
11845
11837
|
y: y
|
|
11846
|
-
}) : {
|
|
11838
|
+
}, getWindow(popper)) : {
|
|
11847
11839
|
x: x,
|
|
11848
11840
|
y: y
|
|
11849
11841
|
};
|
|
@@ -20814,7 +20806,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20814
20806
|
theme,
|
|
20815
20807
|
ownerState
|
|
20816
20808
|
}) => {
|
|
20817
|
-
const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
|
|
20818
20809
|
const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
|
|
20819
20810
|
return _extends({
|
|
20820
20811
|
maxWidth: '100%',
|
|
@@ -20881,12 +20872,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20881
20872
|
})),
|
|
20882
20873
|
[`& .${chipClasses$1.deleteIcon}`]: _extends({
|
|
20883
20874
|
WebkitTapHighlightColor: 'transparent',
|
|
20884
|
-
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` :
|
|
20875
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),
|
|
20885
20876
|
fontSize: 22,
|
|
20886
20877
|
cursor: 'pointer',
|
|
20887
20878
|
margin: '0 5px 0 -6px',
|
|
20888
20879
|
'&:hover': {
|
|
20889
|
-
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(
|
|
20880
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)
|
|
20890
20881
|
}
|
|
20891
20882
|
}, ownerState.size === 'small' && {
|
|
20892
20883
|
fontSize: 16,
|
|
@@ -22653,6 +22644,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22653
22644
|
* If `true`, the selected option becomes the value of the input
|
|
22654
22645
|
* when the Autocomplete loses focus unless the user chooses
|
|
22655
22646
|
* a different option or changes the character string in the input.
|
|
22647
|
+
*
|
|
22648
|
+
* When using `freeSolo` mode, the typed value will be the input value
|
|
22649
|
+
* if the Autocomplete loses focus without highlighting an option.
|
|
22656
22650
|
* @default false
|
|
22657
22651
|
*/
|
|
22658
22652
|
autoSelect: PropTypes.bool,
|
|
@@ -43411,7 +43405,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43411
43405
|
/**
|
|
43412
43406
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
43413
43407
|
*/
|
|
43414
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
43408
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
43409
|
+
/**
|
|
43410
|
+
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
43411
|
+
*
|
|
43412
|
+
* While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack#limitations),
|
|
43413
|
+
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
43414
|
+
*
|
|
43415
|
+
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
43416
|
+
* @default false
|
|
43417
|
+
*/
|
|
43418
|
+
useFlexGap: PropTypes.bool
|
|
43415
43419
|
} ;
|
|
43416
43420
|
var Stack$1 = Stack;
|
|
43417
43421
|
|