@mui/material 5.5.0 → 5.5.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/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 +76 -76
- 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 +65 -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 +80 -80
- 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 +22 -22
- 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/Fab.js +1 -0
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +1 -1
- 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/Grid.js +10 -14
- 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/Input.js +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +1 -1
- package/InputBase/InputBase.js +1 -1
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- 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 +3 -1
- package/OutlinedInput/OutlinedInput.js +1 -1
- 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 +17 -17
- package/Popper/Popper.js +6 -1
- 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 +24 -24
- package/Snackbar/Snackbar.js +1 -1
- 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/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/className/index.d.ts +8 -8
- 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/Fab/Fab.js +1 -0
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/Grid/Grid.js +11 -17
- package/legacy/Input/Input.js +1 -1
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +3 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/Popper/Popper.js +6 -1
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +149 -64
- package/legacy/styles/zIndex.js +1 -0
- package/locale/index.d.ts +71 -70
- package/locale/index.js +84 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Fab/Fab.js +1 -0
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/Grid/Grid.js +10 -14
- package/modern/Input/Input.js +1 -1
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/Popper/Popper.js +6 -1
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +84 -0
- package/modern/styles/zIndex.js +1 -0
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Fab/Fab.js +1 -0
- package/node/FilledInput/FilledInput.js +1 -1
- package/node/Grid/Grid.js +10 -14
- package/node/Input/Input.js +1 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +3 -1
- package/node/OutlinedInput/OutlinedInput.js +1 -1
- package/node/Popper/Popper.js +7 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +87 -2
- package/node/styles/zIndex.js +1 -0
- package/package.json +4 -4
- package/styles/components.d.ts +3 -0
- package/styles/props.d.ts +2 -0
- package/styles/zIndex.d.ts +1 -0
- package/styles/zIndex.js +1 -0
- 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 +39 -30
- package/umd/material-ui.production.min.js +6 -6
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/usePagination/usePagination.d.ts +1 -1
- 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
package/node/locale/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arEG = exports.amET = void 0;
|
|
6
|
+
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.mkMK = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arEG = exports.amET = void 0;
|
|
7
7
|
const amET = {
|
|
8
8
|
components: {
|
|
9
9
|
MuiBreadcrumbs: {
|
|
@@ -2315,8 +2315,93 @@ const kzKZ = {
|
|
|
2315
2315
|
}
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
|
-
};
|
|
2318
|
+
}; // Macedonian - Македонски
|
|
2319
|
+
|
|
2319
2320
|
exports.kzKZ = kzKZ;
|
|
2321
|
+
const mkMK = {
|
|
2322
|
+
components: {
|
|
2323
|
+
MuiBreadcrumbs: {
|
|
2324
|
+
defaultProps: {
|
|
2325
|
+
expandText: 'Прикажи патека'
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
MuiTablePagination: {
|
|
2329
|
+
defaultProps: {
|
|
2330
|
+
getItemAriaLabel: type => {
|
|
2331
|
+
if (type === 'first') {
|
|
2332
|
+
return 'Оди на прва страница';
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
if (type === 'last') {
|
|
2336
|
+
return 'Оди на последна страница';
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
if (type === 'next') {
|
|
2340
|
+
return 'Оди на следна страница';
|
|
2341
|
+
} // if (type === 'previous') {
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
return 'Оди на предходна страница';
|
|
2345
|
+
},
|
|
2346
|
+
labelRowsPerPage: 'Редови по страница:',
|
|
2347
|
+
labelDisplayedRows: ({
|
|
2348
|
+
from,
|
|
2349
|
+
to,
|
|
2350
|
+
count
|
|
2351
|
+
}) => `${from}–${to} од ${count !== -1 ? count : `повеќе од ${to}`}`
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
MuiRating: {
|
|
2355
|
+
defaultProps: {
|
|
2356
|
+
getLabelText: value => {
|
|
2357
|
+
const lastDigit = value % 10;
|
|
2358
|
+
return `${value} Ѕвезд${lastDigit === 1 ? 'а' : 'и'}`;
|
|
2359
|
+
},
|
|
2360
|
+
emptyLabelText: 'Празно'
|
|
2361
|
+
}
|
|
2362
|
+
},
|
|
2363
|
+
MuiAutocomplete: {
|
|
2364
|
+
defaultProps: {
|
|
2365
|
+
clearText: 'Избриши',
|
|
2366
|
+
closeText: 'Затвори',
|
|
2367
|
+
loadingText: 'Се презема',
|
|
2368
|
+
noOptionsText: 'Нема опција',
|
|
2369
|
+
openText: 'Отвори'
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
MuiAlert: {
|
|
2373
|
+
defaultProps: {
|
|
2374
|
+
closeText: 'Затвори'
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
MuiPagination: {
|
|
2378
|
+
defaultProps: {
|
|
2379
|
+
'aria-label': 'Навигација низ страници',
|
|
2380
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2381
|
+
if (type === 'page') {
|
|
2382
|
+
return `${selected ? '' : 'Оди на '}страница ${page}`;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
if (type === 'first') {
|
|
2386
|
+
return 'Оди на прва страница';
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
if (type === 'last') {
|
|
2390
|
+
return 'Оди на последна страница';
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
if (type === 'next') {
|
|
2394
|
+
return 'Оди на следна страница';
|
|
2395
|
+
} // if (type === 'previous') {
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
return 'Оди на предходна страница';
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
};
|
|
2404
|
+
exports.mkMK = mkMK;
|
|
2320
2405
|
const nbNO = {
|
|
2321
2406
|
components: {
|
|
2322
2407
|
MuiBreadcrumbs: {
|
package/node/styles/zIndex.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.17.2",
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/system": "^5.5.
|
|
51
|
-
"@mui/types": "^7.1.
|
|
49
|
+
"@mui/base": "5.0.0-alpha.72",
|
|
50
|
+
"@mui/system": "^5.5.1",
|
|
51
|
+
"@mui/types": "^7.1.3",
|
|
52
52
|
"@mui/utils": "^5.4.4",
|
|
53
53
|
"@types/react-transition-group": "^4.4.4",
|
|
54
54
|
"clsx": "^1.1.1",
|
package/styles/components.d.ts
CHANGED
|
@@ -368,6 +368,9 @@ export interface Components<Theme = unknown> {
|
|
|
368
368
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPaper'];
|
|
369
369
|
variants?: ComponentsVariants['MuiPaper'];
|
|
370
370
|
};
|
|
371
|
+
MuiPopper?: {
|
|
372
|
+
defaultProps?: ComponentsProps['MuiPopper'];
|
|
373
|
+
};
|
|
371
374
|
MuiPopover?: {
|
|
372
375
|
defaultProps?: ComponentsProps['MuiPopover'];
|
|
373
376
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPopover'];
|
package/styles/props.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ import { ToolbarProps } from '../Toolbar';
|
|
|
115
115
|
import { TooltipProps } from '../Tooltip';
|
|
116
116
|
import { TouchRippleProps } from '../ButtonBase/TouchRipple';
|
|
117
117
|
import { TypographyProps } from '../Typography';
|
|
118
|
+
import { PopperProps } from '../Popper';
|
|
118
119
|
|
|
119
120
|
export type ComponentsProps = {
|
|
120
121
|
[Name in keyof ComponentsPropsList]?: Partial<ComponentsPropsList[Name]>;
|
|
@@ -195,6 +196,7 @@ export interface ComponentsPropsList {
|
|
|
195
196
|
MuiPagination: PaginationProps;
|
|
196
197
|
MuiPaginationItem: PaginationItemProps;
|
|
197
198
|
MuiPaper: PaperProps;
|
|
199
|
+
MuiPopper: PopperProps;
|
|
198
200
|
MuiPopover: PopoverProps;
|
|
199
201
|
MuiRadio: RadioProps;
|
|
200
202
|
MuiRadioGroup: RadioGroupProps;
|
package/styles/zIndex.d.ts
CHANGED
package/styles/zIndex.js
CHANGED
package/transitions/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transition';
|
|
1
|
+
export * from './transition';
|
|
@@ -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.5.
|
|
1
|
+
/** @license MUI v5.5.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.
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
|
|
2043
2043
|
var pkg = {
|
|
2044
2044
|
name: "@emotion/react",
|
|
2045
|
-
version: "11.8.
|
|
2045
|
+
version: "11.8.2",
|
|
2046
2046
|
main: "dist/emotion-react.cjs.js",
|
|
2047
2047
|
module: "dist/emotion-react.esm.js",
|
|
2048
2048
|
browser: {
|
|
@@ -2072,7 +2072,6 @@
|
|
|
2072
2072
|
"@emotion/babel-plugin": "^11.7.1",
|
|
2073
2073
|
"@emotion/cache": "^11.7.1",
|
|
2074
2074
|
"@emotion/serialize": "^1.0.2",
|
|
2075
|
-
"@emotion/sheet": "^1.1.0",
|
|
2076
2075
|
"@emotion/utils": "^1.1.0",
|
|
2077
2076
|
"@emotion/weak-memoize": "^0.2.5",
|
|
2078
2077
|
"hoist-non-react-statics": "^3.3.1"
|
|
@@ -2096,10 +2095,11 @@
|
|
|
2096
2095
|
"@emotion/server": "11.4.0",
|
|
2097
2096
|
"@emotion/styled": "11.8.1",
|
|
2098
2097
|
"@types/react": "^16.9.11",
|
|
2099
|
-
dtslint: "^
|
|
2098
|
+
dtslint: "^4.2.1",
|
|
2100
2099
|
"html-tag-names": "^1.1.2",
|
|
2101
2100
|
react: "16.14.0",
|
|
2102
|
-
"svg-tag-names": "^1.1.1"
|
|
2101
|
+
"svg-tag-names": "^1.1.1",
|
|
2102
|
+
typescript: "^4.5.5"
|
|
2103
2103
|
},
|
|
2104
2104
|
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
|
|
2105
2105
|
publishConfig: {
|
|
@@ -2169,8 +2169,9 @@
|
|
|
2169
2169
|
|
|
2170
2170
|
var sheetRef = React.useRef();
|
|
2171
2171
|
useInsertionEffect$1(function () {
|
|
2172
|
-
var key = cache.key + "-global";
|
|
2173
|
-
|
|
2172
|
+
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
2173
|
+
|
|
2174
|
+
var sheet = new cache.sheet.constructor({
|
|
2174
2175
|
key: key,
|
|
2175
2176
|
nonce: cache.sheet.nonce,
|
|
2176
2177
|
container: cache.sheet.container,
|
|
@@ -9489,6 +9490,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9489
9490
|
|
|
9490
9491
|
var currentNode = getParentNode(element);
|
|
9491
9492
|
|
|
9493
|
+
if (isShadowRoot(currentNode)) {
|
|
9494
|
+
currentNode = currentNode.host;
|
|
9495
|
+
}
|
|
9496
|
+
|
|
9492
9497
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
9493
9498
|
var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
9494
9499
|
// create a containing block.
|
|
@@ -9721,7 +9726,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9721
9726
|
|
|
9722
9727
|
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
9723
9728
|
sideY = bottom;
|
|
9724
|
-
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
9729
|
+
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
9725
9730
|
offsetParent[heightProp];
|
|
9726
9731
|
y -= offsetY - popperRect.height;
|
|
9727
9732
|
y *= gpuAcceleration ? 1 : -1;
|
|
@@ -9729,7 +9734,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9729
9734
|
|
|
9730
9735
|
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
9731
9736
|
sideX = right;
|
|
9732
|
-
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
9737
|
+
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
9733
9738
|
offsetParent[widthProp];
|
|
9734
9739
|
x -= offsetX - popperRect.width;
|
|
9735
9740
|
x *= gpuAcceleration ? 1 : -1;
|
|
@@ -14589,6 +14594,7 @@ const theme2 = createTheme({ palette: {
|
|
|
14589
14594
|
// like global values in the browser.
|
|
14590
14595
|
const zIndex = {
|
|
14591
14596
|
mobileStepper: 1000,
|
|
14597
|
+
fab: 1050,
|
|
14592
14598
|
speedDial: 1050,
|
|
14593
14599
|
appBar: 1100,
|
|
14594
14600
|
drawer: 1200,
|
|
@@ -19323,8 +19329,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19323
19329
|
*
|
|
19324
19330
|
* - [Popper API](https://mui.com/api/popper/)
|
|
19325
19331
|
*/
|
|
19326
|
-
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(
|
|
19332
|
+
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
19327
19333
|
const theme = useTheme$2();
|
|
19334
|
+
const props = useThemeProps({
|
|
19335
|
+
props: inProps,
|
|
19336
|
+
name: 'MuiPopper'
|
|
19337
|
+
});
|
|
19328
19338
|
return /*#__PURE__*/jsxRuntime_1(PopperUnstyled$1, _extends({
|
|
19329
19339
|
direction: theme == null ? void 0 : theme.direction
|
|
19330
19340
|
}, props, {
|
|
@@ -20814,7 +20824,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20814
20824
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
20815
20825
|
|
|
20816
20826
|
/**
|
|
20817
|
-
* If `true`, a
|
|
20827
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
20818
20828
|
* @default false
|
|
20819
20829
|
*/
|
|
20820
20830
|
multiline: PropTypes.bool,
|
|
@@ -28356,6 +28366,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28356
28366
|
minWidth: 0,
|
|
28357
28367
|
width: 56,
|
|
28358
28368
|
height: 56,
|
|
28369
|
+
zIndex: theme.zIndex.fab,
|
|
28359
28370
|
boxShadow: theme.shadows[6],
|
|
28360
28371
|
'&:active': {
|
|
28361
28372
|
boxShadow: theme.shadows[12]
|
|
@@ -28881,7 +28892,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28881
28892
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
28882
28893
|
|
|
28883
28894
|
/**
|
|
28884
|
-
* If `true`, a
|
|
28895
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
28885
28896
|
* @default false
|
|
28886
28897
|
*/
|
|
28887
28898
|
multiline: PropTypes.bool,
|
|
@@ -30270,10 +30281,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30270
30281
|
|
|
30271
30282
|
const rowSpacing = rowSpacingProp || spacing;
|
|
30272
30283
|
const columnSpacing = columnSpacingProp || spacing;
|
|
30273
|
-
const columnsContext = React__namespace.useContext(GridContext$1); //
|
|
30274
|
-
// colums set with default breakpoint unit of 12
|
|
30284
|
+
const columnsContext = React__namespace.useContext(GridContext$1); // columns set with default breakpoint unit of 12
|
|
30275
30285
|
|
|
30276
|
-
const columns = columnsProp ||
|
|
30286
|
+
const columns = container ? columnsProp || 12 : columnsContext;
|
|
30277
30287
|
|
|
30278
30288
|
const ownerState = _extends({}, props, {
|
|
30279
30289
|
columns,
|
|
@@ -30292,18 +30302,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30292
30302
|
});
|
|
30293
30303
|
|
|
30294
30304
|
const classes = useUtilityClasses$_(ownerState);
|
|
30295
|
-
|
|
30296
|
-
const wrapChild = element => columns !== 12 ? /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
|
|
30305
|
+
return /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
|
|
30297
30306
|
value: columns,
|
|
30298
|
-
children:
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
ref: ref
|
|
30306
|
-
}, other)));
|
|
30307
|
+
children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
30308
|
+
ownerState: ownerState,
|
|
30309
|
+
className: clsx(classes.root, className),
|
|
30310
|
+
as: component,
|
|
30311
|
+
ref: ref
|
|
30312
|
+
}, other))
|
|
30313
|
+
});
|
|
30307
30314
|
});
|
|
30308
30315
|
Grid.propTypes
|
|
30309
30316
|
/* remove-proptypes */
|
|
@@ -32482,7 +32489,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32482
32489
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
32483
32490
|
|
|
32484
32491
|
/**
|
|
32485
|
-
* If `true`, a
|
|
32492
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
32486
32493
|
* @default false
|
|
32487
32494
|
*/
|
|
32488
32495
|
multiline: PropTypes.bool,
|
|
@@ -36773,7 +36780,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36773
36780
|
'& > span': {
|
|
36774
36781
|
paddingLeft: 5,
|
|
36775
36782
|
paddingRight: 5,
|
|
36776
|
-
display: 'inline-block'
|
|
36783
|
+
display: 'inline-block',
|
|
36784
|
+
opacity: 0,
|
|
36785
|
+
visibility: 'visible'
|
|
36777
36786
|
}
|
|
36778
36787
|
}, ownerState.notched && {
|
|
36779
36788
|
maxWidth: '100%',
|
|
@@ -37109,7 +37118,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37109
37118
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
37110
37119
|
|
|
37111
37120
|
/**
|
|
37112
|
-
* If `true`, a
|
|
37121
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
37113
37122
|
* @default false
|
|
37114
37123
|
*/
|
|
37115
37124
|
multiline: PropTypes.bool,
|
|
@@ -41543,7 +41552,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41543
41552
|
onMouseLeave: handleMouseLeave,
|
|
41544
41553
|
ownerState: ownerState,
|
|
41545
41554
|
ref: ref // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
|
|
41546
|
-
// See https://github.com/mui
|
|
41555
|
+
// See https://github.com/mui/material-ui/issues/29080
|
|
41547
41556
|
,
|
|
41548
41557
|
role: "presentation"
|
|
41549
41558
|
}, other, {
|