@mui/material 5.10.5 → 5.10.6
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 +75 -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/CardHeader.js +1 -3
- 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/NotchedOutline.js +2 -2
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- 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 +1 -0
- 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/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/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/CardHeader/CardHeader.js +1 -3
- package/esm/OutlinedInput/NotchedOutline.js +2 -2
- package/esm/index.js +2 -1
- package/index.d.ts +3 -0
- package/index.js +11 -2
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/CardHeader/CardHeader.js +1 -3
- package/legacy/OutlinedInput/NotchedOutline.js +2 -2
- package/legacy/index.js +3 -2
- package/locale/index.d.ts +71 -71
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/CardHeader/CardHeader.js +1 -3
- package/modern/OutlinedInput/NotchedOutline.js +2 -2
- package/modern/index.js +3 -2
- package/package.json +6 -6
- 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 +36 -53
- 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,13 +1,13 @@
|
|
|
1
|
-
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
-
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
-
export interface EasingProps {
|
|
6
|
-
easing: string | {
|
|
7
|
-
enter?: string;
|
|
8
|
-
exit?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
-
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
-
}
|
|
1
|
+
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
+
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
+
export interface EasingProps {
|
|
6
|
+
easing: string | {
|
|
7
|
+
enter?: string;
|
|
8
|
+
exit?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
+
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
+
}
|
package/transitions/utils.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const reflow: (node: Element) => number;
|
|
3
|
-
interface ComponentProps {
|
|
4
|
-
easing: string | {
|
|
5
|
-
enter?: string;
|
|
6
|
-
exit?: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
style: React.CSSProperties | undefined;
|
|
9
|
-
timeout: number | {
|
|
10
|
-
enter?: number;
|
|
11
|
-
exit?: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface Options {
|
|
15
|
-
mode: 'enter' | 'exit';
|
|
16
|
-
}
|
|
17
|
-
interface TransitionProps {
|
|
18
|
-
duration: string | number;
|
|
19
|
-
easing: string | undefined;
|
|
20
|
-
delay: string | undefined;
|
|
21
|
-
}
|
|
22
|
-
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const reflow: (node: Element) => number;
|
|
3
|
+
interface ComponentProps {
|
|
4
|
+
easing: string | {
|
|
5
|
+
enter?: string;
|
|
6
|
+
exit?: string;
|
|
7
|
+
} | undefined;
|
|
8
|
+
style: React.CSSProperties | undefined;
|
|
9
|
+
timeout: number | {
|
|
10
|
+
enter?: number;
|
|
11
|
+
exit?: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface Options {
|
|
15
|
+
mode: 'enter' | 'exit';
|
|
16
|
+
}
|
|
17
|
+
interface TransitionProps {
|
|
18
|
+
duration: string | number;
|
|
19
|
+
easing: string | undefined;
|
|
20
|
+
delay: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.6
|
|
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.
|
|
@@ -1838,6 +1838,16 @@
|
|
|
1838
1838
|
};
|
|
1839
1839
|
|
|
1840
1840
|
var isBrowser$3 = typeof document !== 'undefined';
|
|
1841
|
+
|
|
1842
|
+
var syncFallback = function syncFallback(create) {
|
|
1843
|
+
return create();
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
|
|
1847
|
+
var useInsertionEffectAlwaysWithSyncFallback = !isBrowser$3 ? syncFallback : useInsertionEffect || syncFallback;
|
|
1848
|
+
var useInsertionEffectWithLayoutFallback = useInsertionEffect || React.useLayoutEffect;
|
|
1849
|
+
|
|
1850
|
+
var isBrowser$2 = typeof document !== 'undefined';
|
|
1841
1851
|
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
1842
1852
|
|
|
1843
1853
|
var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
@@ -1865,7 +1875,7 @@
|
|
|
1865
1875
|
});
|
|
1866
1876
|
};
|
|
1867
1877
|
|
|
1868
|
-
if (!isBrowser$
|
|
1878
|
+
if (!isBrowser$2) {
|
|
1869
1879
|
withEmotionCache = function withEmotionCache(func) {
|
|
1870
1880
|
return function (props) {
|
|
1871
1881
|
var cache = React.useContext(EmotionCacheContext);
|
|
@@ -1895,18 +1905,6 @@
|
|
|
1895
1905
|
ThemeContext$2.displayName = 'EmotionThemeContext';
|
|
1896
1906
|
}
|
|
1897
1907
|
|
|
1898
|
-
var isBrowser$1$1 = typeof document !== 'undefined';
|
|
1899
|
-
var useInsertionEffect$2 = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : function useInsertionEffect(create) {
|
|
1900
|
-
create();
|
|
1901
|
-
};
|
|
1902
|
-
function useInsertionEffectMaybe$1(create) {
|
|
1903
|
-
if (!isBrowser$1$1) {
|
|
1904
|
-
return create();
|
|
1905
|
-
}
|
|
1906
|
-
|
|
1907
|
-
useInsertionEffect$2(create);
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
1908
|
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
1911
1909
|
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
|
1912
1910
|
|
|
@@ -1915,11 +1913,11 @@
|
|
|
1915
1913
|
serialized = _ref.serialized,
|
|
1916
1914
|
isStringTag = _ref.isStringTag;
|
|
1917
1915
|
registerStyles(cache, serialized, isStringTag);
|
|
1918
|
-
var rules =
|
|
1916
|
+
var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
|
|
1919
1917
|
return insertStyles(cache, serialized, isStringTag);
|
|
1920
1918
|
});
|
|
1921
1919
|
|
|
1922
|
-
if (!isBrowser$
|
|
1920
|
+
if (!isBrowser$2 && rules !== undefined) {
|
|
1923
1921
|
var _ref2;
|
|
1924
1922
|
|
|
1925
1923
|
var serializedNames = serialized.name;
|
|
@@ -1991,7 +1989,7 @@
|
|
|
1991
1989
|
|
|
1992
1990
|
var pkg = {
|
|
1993
1991
|
name: "@emotion/react",
|
|
1994
|
-
version: "11.10.
|
|
1992
|
+
version: "11.10.4",
|
|
1995
1993
|
main: "dist/emotion-react.cjs.js",
|
|
1996
1994
|
module: "dist/emotion-react.esm.js",
|
|
1997
1995
|
browser: {
|
|
@@ -2057,6 +2055,7 @@
|
|
|
2057
2055
|
"@emotion/babel-plugin": "^11.10.0",
|
|
2058
2056
|
"@emotion/cache": "^11.10.0",
|
|
2059
2057
|
"@emotion/serialize": "^1.1.0",
|
|
2058
|
+
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
|
|
2060
2059
|
"@emotion/utils": "^1.2.0",
|
|
2061
2060
|
"@emotion/weak-memoize": "^0.3.0",
|
|
2062
2061
|
"hoist-non-react-statics": "^3.3.1"
|
|
@@ -2079,7 +2078,7 @@
|
|
|
2079
2078
|
"@emotion/css": "11.10.0",
|
|
2080
2079
|
"@emotion/css-prettifier": "1.1.0",
|
|
2081
2080
|
"@emotion/server": "11.10.0",
|
|
2082
|
-
"@emotion/styled": "11.10.
|
|
2081
|
+
"@emotion/styled": "11.10.4",
|
|
2083
2082
|
"html-tag-names": "^1.1.2",
|
|
2084
2083
|
react: "16.14.0",
|
|
2085
2084
|
"svg-tag-names": "^1.1.1",
|
|
@@ -2111,7 +2110,6 @@
|
|
|
2111
2110
|
}
|
|
2112
2111
|
};
|
|
2113
2112
|
|
|
2114
|
-
var useInsertionEffect$1 = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : React.useLayoutEffect;
|
|
2115
2113
|
var warnedAboutCssPropForGlobal = false; // maintain place over rerenders.
|
|
2116
2114
|
// initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
|
|
2117
2115
|
// initial client-side render from SSR, use place of hydrating tag
|
|
@@ -2129,7 +2127,7 @@
|
|
|
2129
2127
|
var styles = props.styles;
|
|
2130
2128
|
var serialized = serializeStyles([styles], undefined, React.useContext(ThemeContext$2));
|
|
2131
2129
|
|
|
2132
|
-
if (!isBrowser$
|
|
2130
|
+
if (!isBrowser$2) {
|
|
2133
2131
|
var _ref;
|
|
2134
2132
|
|
|
2135
2133
|
var serializedNames = serialized.name;
|
|
@@ -2162,7 +2160,7 @@
|
|
|
2162
2160
|
|
|
2163
2161
|
|
|
2164
2162
|
var sheetRef = React.useRef();
|
|
2165
|
-
|
|
2163
|
+
useInsertionEffectWithLayoutFallback(function () {
|
|
2166
2164
|
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
2167
2165
|
|
|
2168
2166
|
var sheet = new cache.sheet.constructor({
|
|
@@ -2191,7 +2189,7 @@
|
|
|
2191
2189
|
sheet.flush();
|
|
2192
2190
|
};
|
|
2193
2191
|
}, [cache]);
|
|
2194
|
-
|
|
2192
|
+
useInsertionEffectWithLayoutFallback(function () {
|
|
2195
2193
|
var sheetRefCurrent = sheetRef.current;
|
|
2196
2194
|
var sheet = sheetRefCurrent[0],
|
|
2197
2195
|
rehydrating = sheetRefCurrent[1];
|
|
@@ -2309,23 +2307,23 @@
|
|
|
2309
2307
|
var Insertion$1 = function Insertion(_ref) {
|
|
2310
2308
|
var cache = _ref.cache,
|
|
2311
2309
|
serializedArr = _ref.serializedArr;
|
|
2312
|
-
var rules =
|
|
2310
|
+
var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
|
|
2313
2311
|
var rules = '';
|
|
2314
2312
|
|
|
2315
2313
|
for (var i = 0; i < serializedArr.length; i++) {
|
|
2316
2314
|
var res = insertStyles(cache, serializedArr[i], false);
|
|
2317
2315
|
|
|
2318
|
-
if (!isBrowser$
|
|
2316
|
+
if (!isBrowser$2 && res !== undefined) {
|
|
2319
2317
|
rules += res;
|
|
2320
2318
|
}
|
|
2321
2319
|
}
|
|
2322
2320
|
|
|
2323
|
-
if (!isBrowser$
|
|
2321
|
+
if (!isBrowser$2) {
|
|
2324
2322
|
return rules;
|
|
2325
2323
|
}
|
|
2326
2324
|
});
|
|
2327
2325
|
|
|
2328
|
-
if (!isBrowser$
|
|
2326
|
+
if (!isBrowser$2 && rules.length !== 0) {
|
|
2329
2327
|
var _ref2;
|
|
2330
2328
|
|
|
2331
2329
|
return /*#__PURE__*/React.createElement("style", (_ref2 = {}, _ref2["data-emotion"] = cache.key + " " + serializedArr.map(function (serialized) {
|
|
@@ -2388,15 +2386,15 @@
|
|
|
2388
2386
|
}
|
|
2389
2387
|
|
|
2390
2388
|
{
|
|
2391
|
-
var isBrowser$
|
|
2389
|
+
var isBrowser$1 = typeof document !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock
|
|
2392
2390
|
|
|
2393
2391
|
var isJest = typeof jest !== 'undefined';
|
|
2394
2392
|
|
|
2395
|
-
if (isBrowser$
|
|
2393
|
+
if (isBrowser$1 && !isJest) {
|
|
2396
2394
|
// globalThis has wide browser support - https://caniuse.com/?search=globalThis, Node.js 12 and later
|
|
2397
2395
|
var globalContext = // $FlowIgnore
|
|
2398
2396
|
typeof globalThis !== 'undefined' ? globalThis // eslint-disable-line no-undef
|
|
2399
|
-
: isBrowser$
|
|
2397
|
+
: isBrowser$1 ? window : global$1;
|
|
2400
2398
|
var globalKey = "__EMOTION_REACT_" + pkg.version.split('.')[0] + "__";
|
|
2401
2399
|
|
|
2402
2400
|
if (globalContext[globalKey]) {
|
|
@@ -2436,31 +2434,19 @@
|
|
|
2436
2434
|
return shouldForwardProp;
|
|
2437
2435
|
};
|
|
2438
2436
|
|
|
2439
|
-
var isBrowser = typeof document !== 'undefined';
|
|
2440
|
-
var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : function useInsertionEffect(create) {
|
|
2441
|
-
create();
|
|
2442
|
-
};
|
|
2443
|
-
function useInsertionEffectMaybe(create) {
|
|
2444
|
-
if (!isBrowser) {
|
|
2445
|
-
return create();
|
|
2446
|
-
}
|
|
2447
|
-
|
|
2448
|
-
useInsertionEffect(create);
|
|
2449
|
-
}
|
|
2450
|
-
|
|
2451
2437
|
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
2452
|
-
var isBrowser
|
|
2438
|
+
var isBrowser = typeof document !== 'undefined';
|
|
2453
2439
|
|
|
2454
2440
|
var Insertion = function Insertion(_ref) {
|
|
2455
2441
|
var cache = _ref.cache,
|
|
2456
2442
|
serialized = _ref.serialized,
|
|
2457
2443
|
isStringTag = _ref.isStringTag;
|
|
2458
2444
|
registerStyles(cache, serialized, isStringTag);
|
|
2459
|
-
var rules =
|
|
2445
|
+
var rules = useInsertionEffectAlwaysWithSyncFallback(function () {
|
|
2460
2446
|
return insertStyles(cache, serialized, isStringTag);
|
|
2461
2447
|
});
|
|
2462
2448
|
|
|
2463
|
-
if (!isBrowser
|
|
2449
|
+
if (!isBrowser && rules !== undefined) {
|
|
2464
2450
|
var _ref2;
|
|
2465
2451
|
|
|
2466
2452
|
var serializedNames = serialized.name;
|
|
@@ -10439,7 +10425,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10439
10425
|
*
|
|
10440
10426
|
* Demos:
|
|
10441
10427
|
*
|
|
10442
|
-
* - [Click-
|
|
10428
|
+
* - [Click-Away Listener](https://mui.com/base/react-click-away-listener/)
|
|
10443
10429
|
*
|
|
10444
10430
|
* API:
|
|
10445
10431
|
*
|
|
@@ -14162,8 +14148,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14162
14148
|
const {
|
|
14163
14149
|
children,
|
|
14164
14150
|
className,
|
|
14165
|
-
value
|
|
14166
|
-
theme
|
|
14151
|
+
value
|
|
14167
14152
|
} = props;
|
|
14168
14153
|
const classes = useValueLabelClasses(props);
|
|
14169
14154
|
return /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
@@ -14171,7 +14156,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14171
14156
|
}, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
14172
14157
|
children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
|
|
14173
14158
|
className: clsx(classes.offset, className),
|
|
14174
|
-
theme: theme,
|
|
14175
14159
|
"aria-hidden": true,
|
|
14176
14160
|
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
14177
14161
|
className: classes.circle,
|
|
@@ -27124,9 +27108,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27124
27108
|
* The component used for the root node.
|
|
27125
27109
|
* Either a string to use a HTML element or a component.
|
|
27126
27110
|
*/
|
|
27127
|
-
component: PropTypes
|
|
27128
|
-
/* @typescript-to-proptypes-ignore */
|
|
27129
|
-
.elementType,
|
|
27111
|
+
component: PropTypes.elementType,
|
|
27130
27112
|
|
|
27131
27113
|
/**
|
|
27132
27114
|
* If `true`, `subheader` and `title` won't be wrapped by a Typography component.
|
|
@@ -39027,6 +39009,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39027
39009
|
}) => _extends({
|
|
39028
39010
|
float: 'unset',
|
|
39029
39011
|
// Fix conflict with bootstrap
|
|
39012
|
+
width: 'auto',
|
|
39013
|
+
// Fix conflict with bootstrap
|
|
39030
39014
|
overflow: 'hidden'
|
|
39031
39015
|
}, !ownerState.withLabel && {
|
|
39032
39016
|
padding: 0,
|
|
@@ -39039,8 +39023,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39039
39023
|
}, ownerState.withLabel && _extends({
|
|
39040
39024
|
display: 'block',
|
|
39041
39025
|
// Fix conflict with normalize.css and sanitize.css
|
|
39042
|
-
width: 'auto',
|
|
39043
|
-
// Fix conflict with bootstrap
|
|
39044
39026
|
padding: 0,
|
|
39045
39027
|
height: 11,
|
|
39046
39028
|
// sync with `lineHeight` in `legend` styles
|
|
@@ -52735,6 +52717,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
52735
52717
|
exports.Tooltip = Tooltip$1;
|
|
52736
52718
|
exports.Typography = Typography$1;
|
|
52737
52719
|
exports.Unstable_Grid2 = Grid2$1;
|
|
52720
|
+
exports.Unstable_TrapFocus = TrapFocus;
|
|
52738
52721
|
exports.Zoom = Zoom$1;
|
|
52739
52722
|
exports.accordionActionsClasses = accordionActionsClasses$1;
|
|
52740
52723
|
exports.accordionClasses = accordionClasses$1;
|