@clearstory/drywall-react 7.2.1 → 8.0.0
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/dist/{Accordion-BsHUL286.js → Accordion-xHSrLkHR.js} +5 -5
- package/dist/{AccordionActions-4Ib1j4O_.js → AccordionActions-DxJvzLUL.js} +1 -1
- package/dist/{AccordionDetails-BIg3WsU5.js → AccordionDetails-CuogXgRY.js} +2 -2
- package/dist/{AccordionSummary-Dc7nj11o.js → AccordionSummary-Cigw_LZo.js} +3 -3
- package/dist/{AdapterDayjs-CYYeILyK.js → AdapterDayjs-Cd89npE5.js} +1 -1
- package/dist/{Alert-Dfl1Khby.js → Alert-BzbQJE20.js} +82 -82
- package/dist/{AlertTitle-VVwCVZYG.js → AlertTitle-DPNlhdPa.js} +3 -3
- package/dist/{ArrowDropDown-DQQG1hDJ.js → ArrowDropDown-uZ1AcIgk.js} +2 -2
- package/dist/{Autocomplete-DG51WhfR.js → Autocomplete-D34P06vA.js} +110 -109
- package/dist/{Avatar-Tq-lIvMN.js → Avatar-C-9_FAjq.js} +3 -3
- package/dist/{AvatarGroup-CIrXsp4z.js → AvatarGroup-D8lUylMk.js} +4 -4
- package/dist/{Backdrop-DPvRl1zZ.js → Backdrop-B4Ia7EtY.js} +2 -2
- package/dist/Badge-NPGe_51o.js +388 -0
- package/dist/{Box-Cd1YLOZ-.js → Box-tMEqMAfx.js} +3 -3
- package/dist/{Breadcrumbs-CFlvMfCb.js → Breadcrumbs-DYRzTcFu.js} +6 -6
- package/dist/{Button-DryY7NPT.js → Button-QivqHp-M.js} +5 -5
- package/dist/{ButtonBase-6EprNl2X.js → ButtonBase-Bi72noqx.js} +1 -1
- package/dist/{ButtonGroup-GJATBD_c.js → ButtonGroup-Do3gIQtE.js} +3 -3
- package/dist/{Card-DBCbdVU2.js → Card-BFSopHcs.js} +2 -2
- package/dist/{CardActionArea-BNb8G37z.js → CardActionArea-c_b2tFe3.js} +3 -3
- package/dist/{CardActions-DfmPr0gn.js → CardActions-C7KQU20Q.js} +1 -1
- package/dist/{CardContent-DA4dkHBt.js → CardContent-yPYgrFcu.js} +1 -1
- package/dist/{CardHeader-Br6uwVrD.js → CardHeader-CR9DeOu4.js} +2 -2
- package/dist/{CardMedia-87tscu3v.js → CardMedia-Dd67I2ML.js} +1 -1
- package/dist/{Checkbox-D3GsjNS3.js → Checkbox-DNovTM5C.js} +5 -5
- package/dist/{Chip-ChFTXi3v.js → Chip-CVCFF0g4.js} +18 -18
- package/dist/{CircularProgress-p7Gq5t6L.js → CircularProgress-D4cGLctr.js} +3 -3
- package/dist/{Clear-CFMBhrck.js → Clear-Dvmnc6Px.js} +1 -1
- package/dist/{Close-lJmbkALB.js → Close-BTh_3opG.js} +1 -1
- package/dist/{Close-CaDQwoD1.js → Close-DFkW1yae.js} +1 -1
- package/dist/{Collapse-0Er5Sz5z.js → Collapse-BUKXVJlO.js} +40 -40
- package/dist/{CssBaseline-Cd0iXsQU.js → CssBaseline-DiUOI0Ii.js} +1 -1
- package/dist/{Datepicker-e89VG7du.js → Datepicker-CTJBmZj2.js} +7123 -7128
- package/dist/{Dialog-DUKrtDDF.js → Dialog-C0Dcyh5Y.js} +8 -8
- package/dist/{DialogActions-Ct2qdXd6.js → DialogActions-VYDNPqM2.js} +1 -1
- package/dist/{DialogContent-Ch2mnmQi.js → DialogContent-CFQ5KUbP.js} +2 -2
- package/dist/{DialogContentText-BBc1ck5w.js → DialogContentText-DLMP3Hdd.js} +2 -2
- package/dist/{DialogTitle-BYmZnfik.js → DialogTitle-v-iQClHs.js} +2 -2
- package/dist/{Divider-ycx7AMFV.js → Divider-zOioqF3O.js} +2 -2
- package/dist/{Drawer-DLSoa2I3.js → Drawer-Bhdn7gd4.js} +8 -8
- package/dist/{Fade-BZd1kkqK.js → Fade--9eywODE.js} +1 -1
- package/dist/{FormControl-CpqxugQk.js → FormControl-DrPP8dU0.js} +2 -2
- package/dist/{FormControlLabel-CxehHu9o.js → FormControlLabel-IfSPCCOh.js} +4 -4
- package/dist/{FormGroup-FX1e1oPO.js → FormGroup-DFyvCj6T.js} +1 -1
- package/dist/{FormHelperText-RAXwx2JF.js → FormHelperText-BSyZcI5O.js} +3 -3
- package/dist/{FormLabel-DXsbRwTS.js → FormLabel-tmdQuE4G.js} +3 -3
- package/dist/{GlobalStyles-BqCTWHBT.js → GlobalStyles-C081E6-3.js} +1 -1
- package/dist/{Grow-Be_BslSM.js → Grow-DiR0VE3b.js} +1 -1
- package/dist/{IconButton-D3kPVOmj.js → IconButton-B1h37ok8.js} +5 -5
- package/dist/{Info-B3KWVOXO.js → Info-Dmczo2E6.js} +1 -1
- package/dist/{InputAdornment-DsE-yUEZ.js → InputAdornment-BN3LG3wf.js} +4 -4
- package/dist/{InputBase-Dab955T6.js → InputBase-95uVeCOm.js} +4 -4
- package/dist/{KeyboardArrowRight-oiZtLJ6Q.js → KeyboardArrowRight-5YOKZbbG.js} +1 -1
- package/dist/{LinearProgress-CaUqErK0.js → LinearProgress-DT4D6lvI.js} +3 -3
- package/dist/{Link-BFT7iy4g.js → Link-C05DkKOU.js} +5 -5
- package/dist/{List-Dv9tf8iZ.js → List-DLwkox4l.js} +1 -1
- package/dist/{ListItem-VHCeeUFy.js → ListItem-DJw2D8KA.js} +2 -2
- package/dist/{ListItemAvatar-BPERHU0-.js → ListItemAvatar-GFRp0ERe.js} +1 -1
- package/dist/{ListItemButton-DGhq5uuh.js → ListItemButton-CJSrwY0m.js} +3 -3
- package/dist/{ListItemIcon-BC3sbSFT.js → ListItemIcon-BwUlPQvG.js} +2 -2
- package/dist/{ListItemText-Cw5ZVTv-.js → ListItemText-5kgKWqp6.js} +2 -2
- package/dist/{ListSubheader-DoqnloIr.js → ListSubheader-Cn7zo2WN.js} +3 -3
- package/dist/{Menu-DKJf-zB8.js → Menu-QTcbrC3U.js} +4 -4
- package/dist/{MenuItem-D21TDo3G.js → MenuItem-C9C4rZZK.js} +3 -3
- package/dist/{MenuList-BI70VkVk.js → MenuList-wRLNxVzl.js} +2 -2
- package/dist/{Modal-BY3aNTGo.js → Modal-lphk3OGn.js} +3 -3
- package/dist/{Paper-BnDCvNy8.js → Paper-CYjHHuGi.js} +4 -4
- package/dist/{Popover-BqaNmmBN.js → Popover-C4g4Cvlp.js} +153 -153
- package/dist/{Popper-BNAb-qpg.js → Popper-D_FgLacq.js} +75 -75
- package/dist/{Radio-B6ofhFJI.js → Radio-CByRmGXi.js} +5 -5
- package/dist/{RadioGroup-CDB3As1a.js → RadioGroup-BlvdvpJ1.js} +1 -1
- package/dist/{Select-CtPZNPng.js → Select-qGJUZPI0.js} +6 -6
- package/dist/{Skeleton-rG_vS_vK.js → Skeleton-cbpGJ4mi.js} +2 -2
- package/dist/{Slide-C75WIR2B.js → Slide-2poxm08g.js} +39 -39
- package/dist/{Snackbar-DeiuAlGC.js → Snackbar-BNZo_eyF.js} +6 -6
- package/dist/{Step-BCxfFlJV.js → Step-mNXE2D06.js} +1 -1
- package/dist/{StepButton-DUpmLnG4.js → StepButton-DIppSlpE.js} +3 -3
- package/dist/{StepConnector-BJEuXuSN.js → StepConnector-BYa8Kne-.js} +3 -3
- package/dist/{StepContent-DUl-0SWI.js → StepContent-BhoB35wQ.js} +3 -3
- package/dist/{StepIcon-DAmVGnL0.js → StepIcon-aV_wkp9m.js} +4 -4
- package/dist/{StepLabel-CqAB-FtZ.js → StepLabel-BkOZ6zjJ.js} +3 -3
- package/dist/{Stepper-bbLAVxVE.js → Stepper-CXbp97X6.js} +2 -2
- package/dist/{SvgIcon-BrAsqASc.js → SvgIcon-B8oryoa5.js} +3 -3
- package/dist/{Switch-DKDfHQVm.js → Switch-B6PEKd8o.js} +4 -4
- package/dist/{SwitchBase-BZz84J1E.js → SwitchBase-C2XAgHZG.js} +11 -12
- package/dist/{Tab-DaPL6tC4.js → Tab-Bo9Q9fUY.js} +4 -4
- package/dist/{Table-BSP0xwVw.js → Table-1FpmJB-p.js} +2 -2
- package/dist/{TableBody-DuPWKF6v.js → TableBody-msUAmdxa.js} +1 -1
- package/dist/{TableCell-BdweS1ET.js → TableCell-CovS0283.js} +3 -3
- package/dist/{TableContainer-BLr1B1N1.js → TableContainer-D5Olxe9m.js} +1 -1
- package/dist/{TableFooter-mWAuLOYG.js → TableFooter-DB2mje5n.js} +1 -1
- package/dist/{TableHead-DmSgS_lJ.js → TableHead-Cra442qd.js} +1 -1
- package/dist/{TablePagination-lAsiYfVQ.js → TablePagination-DUdl-BaY.js} +10 -10
- package/dist/{TableRow-BuJHocbv.js → TableRow-tv9A8znJ.js} +2 -2
- package/dist/{Tabs-BUYEnWj4.js → Tabs-hon-LGqp.js} +19 -19
- package/dist/{ThemeProviderWithVars-D_h1BuKO.js → ThemeProviderWithVars-BNUcBdVQ.js} +3 -3
- package/dist/{ToggleButton-xh5Df3-1.js → ToggleButton-BiMckaCd.js} +4 -4
- package/dist/{ToggleButtonGroup-DXVCiUuR.js → ToggleButtonGroup-D4LFlIbs.js} +3 -3
- package/dist/{Toolbar-BIKVMMEi.js → Toolbar-Bt1Qa2mH.js} +2 -2
- package/dist/{Tooltip-iDF8vneX.js → Tooltip-B41Kh1k0.js} +6 -6
- package/dist/{Typography-CJD_1YNp.js → Typography-BgU_ldl-.js} +4 -4
- package/dist/{WarningAmberOutlined-YFF6FFJ9.js → WarningAmberOutlined-DMySBPYG.js} +1 -1
- package/dist/{Zoom-CvftAd7B.js → Zoom-C2osCIgz.js} +1 -1
- package/dist/{ZoomOut-CSnKUaeV.js → ZoomOut-CCdLSR93.js} +1 -1
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/AccordionActions/index.js +1 -1
- package/dist/components/AccordionDetails/index.js +1 -1
- package/dist/components/AccordionSummary/index.js +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AlertTitle/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.js +2 -2
- package/dist/components/Autocomplete/index.js +1 -1
- package/dist/components/AutocompleteControl/AutocompleteControl.js +7 -7
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/AvatarGroup/index.js +1 -1
- package/dist/components/Backdrop/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Box/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonBase/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CardActionArea/index.js +1 -1
- package/dist/components/CardActions/index.js +1 -1
- package/dist/components/CardContent/index.js +1 -1
- package/dist/components/CardHeader/index.js +1 -1
- package/dist/components/CardMedia/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/CircularProgress/index.js +1 -1
- package/dist/components/Collapse/index.js +1 -1
- package/dist/components/Container/index.js +1 -1
- package/dist/components/CssBaseline/index.js +1 -1
- package/dist/components/Datepicker/Datepicker.js +3 -3
- package/dist/components/Datepicker/index.d.ts +0 -1
- package/dist/components/Datepicker/index.js +13 -16
- package/dist/components/DatepickerControl/DatepickerControl.js +7 -7
- package/dist/components/DescriptionDetails/DescriptionDetails.js +1 -1
- package/dist/components/DescriptionList/DescriptionList.js +1 -1
- package/dist/components/DescriptionTerm/DescriptionTerm.js +1 -1
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/DialogActions/index.js +1 -1
- package/dist/components/DialogClose/DialogClose.js +2 -2
- package/dist/components/DialogContent/index.js +1 -1
- package/dist/components/DialogContentText/index.js +1 -1
- package/dist/components/DialogTitle/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Drawer/index.js +1 -1
- package/dist/components/Fade/index.js +1 -1
- package/dist/components/FormControl/index.js +1 -1
- package/dist/components/FormControlLabel/index.js +1 -1
- package/dist/components/FormGroup/index.js +1 -1
- package/dist/components/FormHelperText/index.js +1 -1
- package/dist/components/FormLabel/index.js +1 -1
- package/dist/components/FormSublabel/FormSublabel.js +2 -2
- package/dist/components/Grow/index.js +1 -1
- package/dist/components/IconButton/index.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InputAdornment/index.js +1 -1
- package/dist/components/InputControl/InputControl.js +6 -6
- package/dist/components/LinearProgress/index.js +1 -1
- package/dist/components/Link/index.js +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/ListItem/index.js +1 -1
- package/dist/components/ListItemAvatar/index.js +1 -1
- package/dist/components/ListItemButton/index.js +1 -1
- package/dist/components/ListItemIcon/index.js +1 -1
- package/dist/components/ListItemText/index.js +1 -1
- package/dist/components/ListSubheader/index.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/MenuItem/index.js +1 -1
- package/dist/components/MenuList/index.js +1 -1
- package/dist/components/NumberInputControl/NumberInputControl.js +6 -6
- package/dist/components/Paper/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Popper/index.js +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/SelectControl/SelectControl.js +6 -6
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slide/index.js +1 -1
- package/dist/components/Snackbar/index.js +1 -1
- package/dist/components/Stack/index.js +1 -1
- package/dist/components/Step/index.js +1 -1
- package/dist/components/StepButton/index.js +1 -1
- package/dist/components/StepConnector/index.js +1 -1
- package/dist/components/StepContent/index.js +1 -1
- package/dist/components/StepIcon/index.js +1 -1
- package/dist/components/StepLabel/index.js +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SvgIcon/index.js +1 -1
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tab/index.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/TableBody/index.js +1 -1
- package/dist/components/TableCell/index.js +1 -1
- package/dist/components/TableContainer/index.js +1 -1
- package/dist/components/TableFooter/index.js +1 -1
- package/dist/components/TableHead/index.js +1 -1
- package/dist/components/TablePagination/index.js +1 -1
- package/dist/components/TableRow/index.js +1 -1
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Textarea/Textarea.js +1 -1
- package/dist/components/TextareaControl/TextareaControl.js +6 -6
- package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/components/ToastContainer/ToastContainer.js +1 -1
- package/dist/components/ToastContainer/useToast.js +5 -5
- package/dist/components/ToggleButton/index.js +1 -1
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/components/Toolbar/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Zoom/index.js +1 -1
- package/dist/{containerClasses-Zulzrsj8.js → containerClasses-d0knG_Lk.js} +4 -4
- package/dist/{createSvgIcon-BXROV6bT.js → createSvgIcon-DULirWwm.js} +1 -1
- package/dist/{createTheme-BFWMvXRe.js → createTheme-PiEw_V9m.js} +130 -127
- package/dist/defaultTheme-Cd478y90.js +5 -0
- package/dist/eslint-config/index.js +14 -10
- package/dist/eslint-config/no-palette-grey.d.ts +3 -0
- package/dist/eslint-config/no-palette-grey.js +121 -0
- package/dist/{extendSxProp-DsZikgKo.js → extendSxProp-DFDhj_4Z.js} +1 -1
- package/dist/icons/ClearstoryIcon.js +1 -1
- package/dist/icons/InternalOnlyIcon.js +1 -1
- package/dist/icons/MoneyBucketIcon.js +1 -1
- package/dist/icons/MoreCircleOutlineIcon.js +1 -1
- package/dist/icons/SparkleIcon.js +1 -1
- package/dist/icons/index.js +5 -5
- package/dist/{index-iKRLpQIf.js → index-Db3avKaK.js} +3 -3
- package/dist/{index-DtVyyURM.js → index-DrR6lRMV.js} +1 -1
- package/dist/main.js +458 -461
- package/dist/{memoTheme-CXi6MqCq.js → memoTheme-BtPmrCmh.js} +1 -1
- package/dist/{stackClasses-vPxNSpzG.js → stackClasses-4ps9E778.js} +5 -5
- package/dist/{styled-BWUuu_Y7.js → styled-DGv3Bxg0.js} +2 -2
- package/dist/styled-uiPN25VC.js +5 -0
- package/dist/theme/index.js +5 -5
- package/dist/theme/internal.js +1 -1
- package/dist/{useTheme-CSYDyilx.js → useTheme-By3Sjbe_.js} +2 -2
- package/dist/{useTheme-DFnskFLF.js → useTheme-DJ2s8uyO.js} +1 -1
- package/dist/{useThemeProps-DLN1jrTs.js → useThemeProps-D4d6k1b4.js} +1 -1
- package/package.json +5 -5
- package/dist/Badge-BEVVgsje.js +0 -470
- package/dist/defaultTheme-s7mxt8ja.js +0 -5
- package/dist/styled-B14RdXLD.js +0 -5
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { P as
|
|
3
|
-
import { c as
|
|
4
|
-
import { g as
|
|
5
|
-
import { g as
|
|
6
|
-
import { u as
|
|
7
|
-
import { jsx as
|
|
8
|
-
import { s as Z } from "./styled-
|
|
9
|
-
import { P as
|
|
10
|
-
import { u as
|
|
2
|
+
import { P as o } from "./index-B5q5ym9h.js";
|
|
3
|
+
import { c as go } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
import { g as bo } from "./generateUtilityClass-BhfUaMgk.js";
|
|
5
|
+
import { g as To } from "./generateUtilityClasses-E9gROIFd.js";
|
|
6
|
+
import { u as M } from "./useSlot-CoTIuujp.js";
|
|
7
|
+
import { jsx as S } from "react/jsx-runtime";
|
|
8
|
+
import { s as Z } from "./styled-DGv3Bxg0.js";
|
|
9
|
+
import { P as yo } from "./Paper-CYjHHuGi.js";
|
|
10
|
+
import { u as vo } from "./DefaultPropsProvider-CE6KNOqW.js";
|
|
11
11
|
import { o as G } from "./ownerDocument-CUrv0DIK.js";
|
|
12
12
|
import { o as Y } from "./ownerWindow-niciwP7I.js";
|
|
13
|
-
import { d as
|
|
14
|
-
import { G as
|
|
15
|
-
import { m as
|
|
16
|
-
import { i as
|
|
17
|
-
import { c as
|
|
18
|
-
import { M as
|
|
19
|
-
import { i as
|
|
20
|
-
import { c as
|
|
21
|
-
import { r as
|
|
22
|
-
import { e as
|
|
13
|
+
import { d as Eo } from "./debounce-46wSf_lW.js";
|
|
14
|
+
import { G as Oo } from "./Grow-DiR0VE3b.js";
|
|
15
|
+
import { m as wo } from "./mergeSlotProps-CuzBQdlp.js";
|
|
16
|
+
import { i as Ro } from "./isHostComponent-kiaBvYVo.js";
|
|
17
|
+
import { c as xo } from "./composeClasses-2Ou-RZJr.js";
|
|
18
|
+
import { M as Co } from "./Modal-lphk3OGn.js";
|
|
19
|
+
import { i as Mo } from "./integerPropType-BihGt2aU.js";
|
|
20
|
+
import { c as So } from "./chainPropTypes-D9lkm76m.js";
|
|
21
|
+
import { r as ko } from "./refType-C3kIdphZ.js";
|
|
22
|
+
import { e as No } from "./elementTypeAcceptingRef-xVpq_4jW.js";
|
|
23
23
|
import { H as X } from "./HTMLElementType-Co_vUhOX.js";
|
|
24
|
-
function
|
|
25
|
-
return
|
|
24
|
+
function jo(t) {
|
|
25
|
+
return bo("MuiPopover", t);
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const ie = To("MuiPopover", ["root", "paper"]);
|
|
28
28
|
function J(t, n) {
|
|
29
29
|
let i = 0;
|
|
30
30
|
return typeof n == "number" ? i = n : n === "center" ? i = t.height / 2 : n === "bottom" && (i = t.height), i;
|
|
@@ -36,21 +36,21 @@ function K(t, n) {
|
|
|
36
36
|
function Q(t) {
|
|
37
37
|
return [t.horizontal, t.vertical].map((n) => typeof n == "number" ? `${n}px` : n).join(" ");
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function v(t) {
|
|
40
40
|
return typeof t == "function" ? t() : t;
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const zo = (t) => {
|
|
43
43
|
const {
|
|
44
44
|
classes: n
|
|
45
45
|
} = t;
|
|
46
|
-
return
|
|
46
|
+
return xo({
|
|
47
47
|
root: ["root"],
|
|
48
48
|
paper: ["paper"]
|
|
49
|
-
},
|
|
50
|
-
},
|
|
49
|
+
}, jo, n);
|
|
50
|
+
}, Do = Z(Co, {
|
|
51
51
|
name: "MuiPopover",
|
|
52
52
|
slot: "Root"
|
|
53
|
-
})({}),
|
|
53
|
+
})({}), Uo = Z(yo, {
|
|
54
54
|
name: "MuiPopover",
|
|
55
55
|
slot: "Paper"
|
|
56
56
|
})({
|
|
@@ -65,12 +65,12 @@ const je = (t) => {
|
|
|
65
65
|
maxHeight: "calc(100% - 32px)",
|
|
66
66
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
67
67
|
outline: 0
|
|
68
|
-
}),
|
|
69
|
-
const
|
|
68
|
+
}), Io = /* @__PURE__ */ l.forwardRef(function(n, i) {
|
|
69
|
+
const k = vo({
|
|
70
70
|
props: n,
|
|
71
71
|
name: "MuiPopover"
|
|
72
72
|
}), {
|
|
73
|
-
action:
|
|
73
|
+
action: oo,
|
|
74
74
|
anchorEl: c,
|
|
75
75
|
anchorOrigin: P = {
|
|
76
76
|
vertical: "top",
|
|
@@ -78,13 +78,13 @@ const je = (t) => {
|
|
|
78
78
|
},
|
|
79
79
|
anchorPosition: O,
|
|
80
80
|
anchorReference: g = "anchorEl",
|
|
81
|
-
children:
|
|
82
|
-
className:
|
|
83
|
-
container:
|
|
81
|
+
children: eo,
|
|
82
|
+
className: to,
|
|
83
|
+
container: no,
|
|
84
84
|
elevation: N = 8,
|
|
85
85
|
marginThreshold: a = 16,
|
|
86
86
|
open: u,
|
|
87
|
-
PaperProps:
|
|
87
|
+
PaperProps: ro = {},
|
|
88
88
|
// TODO: remove in v7
|
|
89
89
|
slots: j = {},
|
|
90
90
|
slotProps: E = {},
|
|
@@ -98,9 +98,9 @@ const je = (t) => {
|
|
|
98
98
|
TransitionProps: D = {},
|
|
99
99
|
// TODO: remove in v7
|
|
100
100
|
disableScrollLock: R = !1,
|
|
101
|
-
...
|
|
102
|
-
} =
|
|
103
|
-
...
|
|
101
|
+
...io
|
|
102
|
+
} = k, x = l.useRef(), T = {
|
|
103
|
+
...k,
|
|
104
104
|
anchorOrigin: P,
|
|
105
105
|
anchorReference: g,
|
|
106
106
|
elevation: N,
|
|
@@ -109,44 +109,44 @@ const je = (t) => {
|
|
|
109
109
|
TransitionComponent: z,
|
|
110
110
|
transitionDuration: w,
|
|
111
111
|
TransitionProps: D
|
|
112
|
-
}, U =
|
|
112
|
+
}, U = zo(T), I = l.useCallback(() => {
|
|
113
113
|
if (g === "anchorPosition")
|
|
114
114
|
return process.env.NODE_ENV !== "production" && (O || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), O;
|
|
115
|
-
const
|
|
115
|
+
const e = v(c), r = e && e.nodeType === 1 ? e : G(x.current).body, s = r.getBoundingClientRect();
|
|
116
116
|
if (process.env.NODE_ENV !== "production") {
|
|
117
117
|
const m = r.getBoundingClientRect();
|
|
118
|
-
|
|
118
|
+
!globalThis.MUI_TEST_ENV && m.top === 0 && m.left === 0 && m.right === 0 && m.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
119
119
|
`));
|
|
120
120
|
}
|
|
121
121
|
return {
|
|
122
122
|
top: s.top + J(s, P.vertical),
|
|
123
123
|
left: s.left + K(s, P.horizontal)
|
|
124
124
|
};
|
|
125
|
-
}, [c, P.horizontal, P.vertical, O, g]),
|
|
126
|
-
vertical: J(
|
|
127
|
-
horizontal: K(
|
|
128
|
-
}), [b.horizontal, b.vertical]),
|
|
125
|
+
}, [c, P.horizontal, P.vertical, O, g]), V = l.useCallback((e) => ({
|
|
126
|
+
vertical: J(e, b.vertical),
|
|
127
|
+
horizontal: K(e, b.horizontal)
|
|
128
|
+
}), [b.horizontal, b.vertical]), _ = l.useCallback((e) => {
|
|
129
129
|
const r = {
|
|
130
|
-
width:
|
|
131
|
-
height:
|
|
132
|
-
}, s =
|
|
130
|
+
width: e.offsetWidth,
|
|
131
|
+
height: e.offsetHeight
|
|
132
|
+
}, s = V(r);
|
|
133
133
|
if (g === "none")
|
|
134
134
|
return {
|
|
135
135
|
top: null,
|
|
136
136
|
left: null,
|
|
137
137
|
transformOrigin: Q(s)
|
|
138
138
|
};
|
|
139
|
-
const m =
|
|
139
|
+
const m = I();
|
|
140
140
|
let d = m.top - s.vertical, h = m.left - s.horizontal;
|
|
141
|
-
const
|
|
141
|
+
const A = d + r.height, B = h + r.width, $ = Y(v(c)), y = $.innerHeight - a, F = $.innerWidth - a;
|
|
142
142
|
if (a !== null && d < a) {
|
|
143
143
|
const p = d - a;
|
|
144
144
|
d -= p, s.vertical += p;
|
|
145
|
-
} else if (a !== null &&
|
|
146
|
-
const p =
|
|
145
|
+
} else if (a !== null && A > y) {
|
|
146
|
+
const p = A - y;
|
|
147
147
|
d -= p, s.vertical += p;
|
|
148
148
|
}
|
|
149
|
-
if (process.env.NODE_ENV !== "production" && r.height >
|
|
149
|
+
if (process.env.NODE_ENV !== "production" && r.height > y && r.height && y && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${r.height - y}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
150
150
|
`)), a !== null && h < a) {
|
|
151
151
|
const p = h - a;
|
|
152
152
|
h -= p, s.horizontal += p;
|
|
@@ -159,36 +159,36 @@ const je = (t) => {
|
|
|
159
159
|
left: `${Math.round(h)}px`,
|
|
160
160
|
transformOrigin: Q(s)
|
|
161
161
|
};
|
|
162
|
-
}, [c, g,
|
|
163
|
-
const
|
|
164
|
-
if (!
|
|
162
|
+
}, [c, g, I, V, a]), [so, H] = l.useState(u), f = l.useCallback(() => {
|
|
163
|
+
const e = x.current;
|
|
164
|
+
if (!e)
|
|
165
165
|
return;
|
|
166
|
-
const r =
|
|
167
|
-
r.top !== null &&
|
|
168
|
-
}, [
|
|
166
|
+
const r = _(e);
|
|
167
|
+
r.top !== null && e.style.setProperty("top", r.top), r.left !== null && (e.style.left = r.left), e.style.transformOrigin = r.transformOrigin, H(!0);
|
|
168
|
+
}, [_]);
|
|
169
169
|
l.useEffect(() => (R && window.addEventListener("scroll", f), () => window.removeEventListener("scroll", f)), [c, R, f]);
|
|
170
|
-
const
|
|
170
|
+
const ao = () => {
|
|
171
171
|
f();
|
|
172
|
-
},
|
|
173
|
-
|
|
172
|
+
}, po = () => {
|
|
173
|
+
H(!1);
|
|
174
174
|
};
|
|
175
175
|
l.useEffect(() => {
|
|
176
176
|
u && f();
|
|
177
|
-
}), l.useImperativeHandle(
|
|
177
|
+
}), l.useImperativeHandle(oo, () => u ? {
|
|
178
178
|
updatePosition: () => {
|
|
179
179
|
f();
|
|
180
180
|
}
|
|
181
181
|
} : null, [u, f]), l.useEffect(() => {
|
|
182
182
|
if (!u)
|
|
183
183
|
return;
|
|
184
|
-
const
|
|
184
|
+
const e = Eo(() => {
|
|
185
185
|
f();
|
|
186
|
-
}), r = Y(
|
|
187
|
-
return r.addEventListener("resize",
|
|
188
|
-
|
|
186
|
+
}), r = Y(v(c));
|
|
187
|
+
return r.addEventListener("resize", e), () => {
|
|
188
|
+
e.clear(), r.removeEventListener("resize", e);
|
|
189
189
|
};
|
|
190
190
|
}, [c, u, f]);
|
|
191
|
-
let
|
|
191
|
+
let L = w;
|
|
192
192
|
const C = {
|
|
193
193
|
slots: {
|
|
194
194
|
transition: z,
|
|
@@ -196,20 +196,20 @@ const je = (t) => {
|
|
|
196
196
|
},
|
|
197
197
|
slotProps: {
|
|
198
198
|
transition: D,
|
|
199
|
-
paper:
|
|
199
|
+
paper: ro,
|
|
200
200
|
...E
|
|
201
201
|
}
|
|
202
|
-
}, [
|
|
203
|
-
elementType:
|
|
202
|
+
}, [q, lo] = M("transition", {
|
|
203
|
+
elementType: Oo,
|
|
204
204
|
externalForwardedProps: C,
|
|
205
|
-
ownerState:
|
|
206
|
-
getSlotProps: (
|
|
207
|
-
...
|
|
205
|
+
ownerState: T,
|
|
206
|
+
getSlotProps: (e) => ({
|
|
207
|
+
...e,
|
|
208
208
|
onEntering: (r, s) => {
|
|
209
|
-
|
|
209
|
+
e.onEntering?.(r, s), ao();
|
|
210
210
|
},
|
|
211
211
|
onExited: (r) => {
|
|
212
|
-
|
|
212
|
+
e.onExited?.(r), po();
|
|
213
213
|
}
|
|
214
214
|
}),
|
|
215
215
|
additionalProps: {
|
|
@@ -217,17 +217,17 @@ const je = (t) => {
|
|
|
217
217
|
in: u
|
|
218
218
|
}
|
|
219
219
|
});
|
|
220
|
-
w === "auto" && !
|
|
221
|
-
const
|
|
222
|
-
slots:
|
|
223
|
-
slotProps:
|
|
224
|
-
...
|
|
225
|
-
}] =
|
|
220
|
+
w === "auto" && !q.muiSupportAuto && (L = void 0);
|
|
221
|
+
const co = no || (c ? G(v(c)).body : void 0), [W, {
|
|
222
|
+
slots: fo,
|
|
223
|
+
slotProps: uo,
|
|
224
|
+
...mo
|
|
225
|
+
}] = M("root", {
|
|
226
226
|
ref: i,
|
|
227
|
-
elementType:
|
|
227
|
+
elementType: Do,
|
|
228
228
|
externalForwardedProps: {
|
|
229
229
|
...C,
|
|
230
|
-
...
|
|
230
|
+
...io
|
|
231
231
|
},
|
|
232
232
|
shouldForwardComponentProp: !0,
|
|
233
233
|
additionalProps: {
|
|
@@ -235,47 +235,47 @@ const je = (t) => {
|
|
|
235
235
|
backdrop: j.backdrop
|
|
236
236
|
},
|
|
237
237
|
slotProps: {
|
|
238
|
-
backdrop:
|
|
238
|
+
backdrop: wo(typeof E.backdrop == "function" ? E.backdrop(T) : E.backdrop, {
|
|
239
239
|
invisible: !0
|
|
240
240
|
})
|
|
241
241
|
},
|
|
242
|
-
container:
|
|
242
|
+
container: co,
|
|
243
243
|
open: u
|
|
244
244
|
},
|
|
245
|
-
ownerState:
|
|
246
|
-
className:
|
|
247
|
-
}), [
|
|
245
|
+
ownerState: T,
|
|
246
|
+
className: go(U.root, to)
|
|
247
|
+
}), [ho, Po] = M("paper", {
|
|
248
248
|
ref: x,
|
|
249
249
|
className: U.paper,
|
|
250
|
-
elementType:
|
|
250
|
+
elementType: Uo,
|
|
251
251
|
externalForwardedProps: C,
|
|
252
252
|
shouldForwardComponentProp: !0,
|
|
253
253
|
additionalProps: {
|
|
254
254
|
elevation: N,
|
|
255
|
-
style:
|
|
255
|
+
style: so ? void 0 : {
|
|
256
256
|
opacity: 0
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
|
-
ownerState:
|
|
259
|
+
ownerState: T
|
|
260
260
|
});
|
|
261
|
-
return /* @__PURE__ */
|
|
262
|
-
...
|
|
263
|
-
...!
|
|
264
|
-
slots:
|
|
265
|
-
slotProps:
|
|
261
|
+
return /* @__PURE__ */ S(W, {
|
|
262
|
+
...mo,
|
|
263
|
+
...!Ro(W) && {
|
|
264
|
+
slots: fo,
|
|
265
|
+
slotProps: uo,
|
|
266
266
|
disableScrollLock: R
|
|
267
267
|
},
|
|
268
|
-
children: /* @__PURE__ */
|
|
269
|
-
...
|
|
270
|
-
timeout:
|
|
271
|
-
children: /* @__PURE__ */
|
|
272
|
-
...
|
|
273
|
-
children:
|
|
268
|
+
children: /* @__PURE__ */ S(q, {
|
|
269
|
+
...lo,
|
|
270
|
+
timeout: L,
|
|
271
|
+
children: /* @__PURE__ */ S(ho, {
|
|
272
|
+
...Po,
|
|
273
|
+
children: eo
|
|
274
274
|
})
|
|
275
275
|
})
|
|
276
276
|
});
|
|
277
277
|
});
|
|
278
|
-
process.env.NODE_ENV !== "production" && (
|
|
278
|
+
process.env.NODE_ENV !== "production" && (Io.propTypes = {
|
|
279
279
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
280
280
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
281
281
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -284,18 +284,18 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
284
284
|
* A ref for imperative actions.
|
|
285
285
|
* It currently only supports updatePosition() action.
|
|
286
286
|
*/
|
|
287
|
-
action:
|
|
287
|
+
action: ko,
|
|
288
288
|
/**
|
|
289
289
|
* An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
|
|
290
290
|
* or a function that returns either.
|
|
291
291
|
* It's used to set the position of the popover.
|
|
292
292
|
*/
|
|
293
|
-
anchorEl:
|
|
293
|
+
anchorEl: So(o.oneOfType([X, o.func]), (t) => {
|
|
294
294
|
if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
|
|
295
|
-
const n =
|
|
295
|
+
const n = v(t.anchorEl);
|
|
296
296
|
if (n && n.nodeType === 1) {
|
|
297
297
|
const i = n.getBoundingClientRect();
|
|
298
|
-
if (process.env.NODE_ENV !== "
|
|
298
|
+
if (process.env.NODE_ENV !== "production" && !globalThis.MUI_TEST_ENV && i.top === 0 && i.left === 0 && i.right === 0 && i.bottom === 0)
|
|
299
299
|
return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
300
300
|
`));
|
|
301
301
|
} else
|
|
@@ -317,24 +317,24 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
317
317
|
* horizontal: 'left',
|
|
318
318
|
* }
|
|
319
319
|
*/
|
|
320
|
-
anchorOrigin:
|
|
321
|
-
horizontal:
|
|
322
|
-
vertical:
|
|
320
|
+
anchorOrigin: o.shape({
|
|
321
|
+
horizontal: o.oneOfType([o.oneOf(["center", "left", "right"]), o.number]).isRequired,
|
|
322
|
+
vertical: o.oneOfType([o.oneOf(["bottom", "center", "top"]), o.number]).isRequired
|
|
323
323
|
}),
|
|
324
324
|
/**
|
|
325
325
|
* This is the position that may be used to set the position of the popover.
|
|
326
326
|
* The coordinates are relative to the application's client area.
|
|
327
327
|
*/
|
|
328
|
-
anchorPosition:
|
|
329
|
-
left:
|
|
330
|
-
top:
|
|
328
|
+
anchorPosition: o.shape({
|
|
329
|
+
left: o.number.isRequired,
|
|
330
|
+
top: o.number.isRequired
|
|
331
331
|
}),
|
|
332
332
|
/**
|
|
333
333
|
* This determines which anchor prop to refer to when setting
|
|
334
334
|
* the position of the popover.
|
|
335
335
|
* @default 'anchorEl'
|
|
336
336
|
*/
|
|
337
|
-
anchorReference:
|
|
337
|
+
anchorReference: o.oneOf(["anchorEl", "anchorPosition", "none"]),
|
|
338
338
|
/**
|
|
339
339
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
340
340
|
* @deprecated Use `slots.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
@@ -348,24 +348,24 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
348
348
|
* zIndex: -1,
|
|
349
349
|
* })
|
|
350
350
|
*/
|
|
351
|
-
BackdropComponent:
|
|
351
|
+
BackdropComponent: o.elementType,
|
|
352
352
|
/**
|
|
353
353
|
* Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
|
|
354
354
|
* @deprecated Use `slotProps.backdrop` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
355
355
|
*/
|
|
356
|
-
BackdropProps:
|
|
356
|
+
BackdropProps: o.object,
|
|
357
357
|
/**
|
|
358
358
|
* The content of the component.
|
|
359
359
|
*/
|
|
360
|
-
children:
|
|
360
|
+
children: o.node,
|
|
361
361
|
/**
|
|
362
362
|
* Override or extend the styles applied to the component.
|
|
363
363
|
*/
|
|
364
|
-
classes:
|
|
364
|
+
classes: o.object,
|
|
365
365
|
/**
|
|
366
366
|
* @ignore
|
|
367
367
|
*/
|
|
368
|
-
className:
|
|
368
|
+
className: o.string,
|
|
369
369
|
/**
|
|
370
370
|
* An HTML element, component instance, or function that returns either.
|
|
371
371
|
* The `container` will passed to the Modal component.
|
|
@@ -373,32 +373,32 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
373
373
|
* By default, it uses the body of the anchorEl's top-level document object,
|
|
374
374
|
* so it's simply `document.body` most of the time.
|
|
375
375
|
*/
|
|
376
|
-
container:
|
|
376
|
+
container: o.oneOfType([X, o.func]),
|
|
377
377
|
/**
|
|
378
378
|
* Disable the scroll lock behavior.
|
|
379
379
|
* @default false
|
|
380
380
|
*/
|
|
381
|
-
disableScrollLock:
|
|
381
|
+
disableScrollLock: o.bool,
|
|
382
382
|
/**
|
|
383
383
|
* The elevation of the popover.
|
|
384
384
|
* @default 8
|
|
385
385
|
*/
|
|
386
|
-
elevation:
|
|
386
|
+
elevation: Mo,
|
|
387
387
|
/**
|
|
388
388
|
* Specifies how close to the edge of the window the popover can appear.
|
|
389
389
|
* If null, the popover will not be constrained by the window.
|
|
390
390
|
* @default 16
|
|
391
391
|
*/
|
|
392
|
-
marginThreshold:
|
|
392
|
+
marginThreshold: o.number,
|
|
393
393
|
/**
|
|
394
394
|
* Callback fired when the component requests to be closed.
|
|
395
395
|
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
396
396
|
*/
|
|
397
|
-
onClose:
|
|
397
|
+
onClose: o.func,
|
|
398
398
|
/**
|
|
399
399
|
* If `true`, the component is shown.
|
|
400
400
|
*/
|
|
401
|
-
open:
|
|
401
|
+
open: o.bool.isRequired,
|
|
402
402
|
/**
|
|
403
403
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
404
404
|
*
|
|
@@ -407,33 +407,33 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
407
407
|
*
|
|
408
408
|
* @default {}
|
|
409
409
|
*/
|
|
410
|
-
PaperProps:
|
|
411
|
-
component:
|
|
410
|
+
PaperProps: o.shape({
|
|
411
|
+
component: No
|
|
412
412
|
}),
|
|
413
413
|
/**
|
|
414
414
|
* The props used for each slot inside.
|
|
415
415
|
* @default {}
|
|
416
416
|
*/
|
|
417
|
-
slotProps:
|
|
418
|
-
backdrop:
|
|
419
|
-
paper:
|
|
420
|
-
root:
|
|
421
|
-
transition:
|
|
417
|
+
slotProps: o.shape({
|
|
418
|
+
backdrop: o.oneOfType([o.func, o.object]),
|
|
419
|
+
paper: o.oneOfType([o.func, o.object]),
|
|
420
|
+
root: o.oneOfType([o.func, o.object]),
|
|
421
|
+
transition: o.oneOfType([o.func, o.object])
|
|
422
422
|
}),
|
|
423
423
|
/**
|
|
424
424
|
* The components used for each slot inside.
|
|
425
425
|
* @default {}
|
|
426
426
|
*/
|
|
427
|
-
slots:
|
|
428
|
-
backdrop:
|
|
429
|
-
paper:
|
|
430
|
-
root:
|
|
431
|
-
transition:
|
|
427
|
+
slots: o.shape({
|
|
428
|
+
backdrop: o.elementType,
|
|
429
|
+
paper: o.elementType,
|
|
430
|
+
root: o.elementType,
|
|
431
|
+
transition: o.elementType
|
|
432
432
|
}),
|
|
433
433
|
/**
|
|
434
434
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
435
435
|
*/
|
|
436
|
-
sx:
|
|
436
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
437
437
|
/**
|
|
438
438
|
* This is the point on the popover which
|
|
439
439
|
* will attach to the anchor's origin.
|
|
@@ -446,9 +446,9 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
446
446
|
* horizontal: 'left',
|
|
447
447
|
* }
|
|
448
448
|
*/
|
|
449
|
-
transformOrigin:
|
|
450
|
-
horizontal:
|
|
451
|
-
vertical:
|
|
449
|
+
transformOrigin: o.shape({
|
|
450
|
+
horizontal: o.oneOfType([o.oneOf(["center", "left", "right"]), o.number]).isRequired,
|
|
451
|
+
vertical: o.oneOfType([o.oneOf(["bottom", "center", "top"]), o.number]).isRequired
|
|
452
452
|
}),
|
|
453
453
|
/**
|
|
454
454
|
* The component used for the transition.
|
|
@@ -456,15 +456,15 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
456
456
|
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
457
457
|
* @default Grow
|
|
458
458
|
*/
|
|
459
|
-
TransitionComponent:
|
|
459
|
+
TransitionComponent: o.elementType,
|
|
460
460
|
/**
|
|
461
461
|
* Set to 'auto' to automatically calculate transition time based on height.
|
|
462
462
|
* @default 'auto'
|
|
463
463
|
*/
|
|
464
|
-
transitionDuration:
|
|
465
|
-
appear:
|
|
466
|
-
enter:
|
|
467
|
-
exit:
|
|
464
|
+
transitionDuration: o.oneOfType([o.oneOf(["auto"]), o.number, o.shape({
|
|
465
|
+
appear: o.number,
|
|
466
|
+
enter: o.number,
|
|
467
|
+
exit: o.number
|
|
468
468
|
})]),
|
|
469
469
|
/**
|
|
470
470
|
* Props applied to the transition element.
|
|
@@ -472,14 +472,14 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
|
|
|
472
472
|
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
473
473
|
* @default {}
|
|
474
474
|
*/
|
|
475
|
-
TransitionProps:
|
|
475
|
+
TransitionProps: o.object
|
|
476
476
|
});
|
|
477
477
|
export {
|
|
478
|
-
|
|
478
|
+
Io as P,
|
|
479
479
|
K as a,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
480
|
+
Do as b,
|
|
481
|
+
Uo as c,
|
|
482
|
+
jo as d,
|
|
483
483
|
J as g,
|
|
484
|
-
|
|
484
|
+
ie as p
|
|
485
485
|
};
|