@clearstory/drywall-react 2.2.0 → 2.3.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.
Files changed (236) hide show
  1. package/dist/{Accordion-Bjv72dwO.js → Accordion-DCOykts4.js} +8 -7
  2. package/dist/{AccordionActions-OpMdCn2Z.js → AccordionActions-BAiH7fCc.js} +10 -9
  3. package/dist/{AccordionDetails-CgLf6g7z.js → AccordionDetails-m2yw4JWL.js} +12 -11
  4. package/dist/{AccordionSummary-C2WduOvw.js → AccordionSummary-Bcz3kHL3.js} +11 -10
  5. package/dist/{AdapterDayjs-BOLWylMD.js → AdapterDayjs-BrkWLsMH.js} +3 -3
  6. package/dist/{Alert-4WYM0NA5.js → Alert-BAwPio4K.js} +15 -14
  7. package/dist/{AlertTitle-BJh7YkkD.js → AlertTitle-DmUXFJub.js} +13 -12
  8. package/dist/{ArrowDropDown-1q6M8Obd.js → ArrowDropDown-CHZToUze.js} +4 -4
  9. package/dist/{Autocomplete-C9jR7Gz3.js → Autocomplete-BnNe-Ocu.js} +20 -19
  10. package/dist/{Avatar-BW1coVo5.js → Avatar-C331iVZj.js} +14 -13
  11. package/dist/{AvatarGroup-Cymumkbs.js → AvatarGroup-CguRmDSR.js} +15 -14
  12. package/dist/{Backdrop-D9hYyloM.js → Backdrop-DLtFFTHy.js} +13 -12
  13. package/dist/{Badge-CKX_N8SZ.js → Badge-CVhZHphu.js} +13 -12
  14. package/dist/{Box-O7SvtIw8.js → Box-CKDKtm7F.js} +19 -18
  15. package/dist/{Breadcrumbs-BCuC1VRi.js → Breadcrumbs-ze8mc2Zg.js} +9 -8
  16. package/dist/{Button-D5FpepiD.js → Button-B4158Ttr.js} +15 -14
  17. package/dist/{ButtonBase-t_kdVaqI.js → ButtonBase-COzHF9dg.js} +14 -13
  18. package/dist/{ButtonGroup-DejD8J4b.js → ButtonGroup-D-4yW6k2.js} +11 -10
  19. package/dist/{Card-C4KBUbxB.js → Card-Cqms7NUL.js} +13 -12
  20. package/dist/{CardActionArea-CJoEgqCm.js → CardActionArea-B2Ix5eDP.js} +19 -18
  21. package/dist/{CardActions-pYmlOEiI.js → CardActions-CMKGIQ5P.js} +8 -7
  22. package/dist/{CardContent-DeEDpoJu.js → CardContent-BEE7_vOd.js} +12 -11
  23. package/dist/{CardHeader-kp6aSapw.js → CardHeader-CeJ4xLV1.js} +13 -12
  24. package/dist/{CardMedia-CCgHX4bc.js → CardMedia-CjIGijkw.js} +10 -9
  25. package/dist/{Checkbox-BlVkkvFG.js → Checkbox-BlCrwG_a.js} +14 -13
  26. package/dist/{Chip-Dald_f2Y.js → Chip-BzXGbbX1.js} +14 -13
  27. package/dist/{CircularProgress-CjDaz1a_.js → CircularProgress-CE-gUslP.js} +14 -13
  28. package/dist/{Clear-Cp_Sfbwo.js → Clear-ABzw_mBN.js} +1 -1
  29. package/dist/ClickAwayListener-BhNP8Zmy.js +104 -0
  30. package/dist/{Close-CXMaN7wz.js → Close-sCOhjzLZ.js} +1 -1
  31. package/dist/{Collapse-Dled_24V.js → Collapse-54fTKYrR.js} +13 -12
  32. package/dist/{CssBaseline-B8z8Y0X2.js → CssBaseline-dhNsGT6h.js} +3 -3
  33. package/dist/{Datepicker-CqhyyHOO.js → Datepicker-DYDSgJ7Y.js} +90 -89
  34. package/dist/{DefaultPropsProvider-B3clbJFR.js → DefaultPropsProvider-972kdsvD.js} +1 -1
  35. package/dist/{DefaultPropsProvider-PBxTVeaD.js → DefaultPropsProvider-Hks9kyHW.js} +2 -2
  36. package/dist/{Dialog-CgBDoc1Q.js → Dialog-DVIwe9ZI.js} +12 -11
  37. package/dist/{DialogActions-B9aTR1RT.js → DialogActions-CPDvDLrR.js} +19 -18
  38. package/dist/{DialogContent-BQeFmie3.js → DialogContent-CKtOueUR.js} +13 -12
  39. package/dist/{DialogContentText-DTcw2F2t.js → DialogContentText-4wkWrNzG.js} +13 -12
  40. package/dist/{DialogTitle-BKSAT2jz.js → DialogTitle-CKBNYMcR.js} +5 -5
  41. package/dist/{Divider-CN1iZXpV.js → Divider-DANmFTyq.js} +5 -5
  42. package/dist/{Drawer-u9qup5a9.js → Drawer-SY5DxFp0.js} +44 -43
  43. package/dist/{FormControl-D-rAmw3r.js → FormControl-CuHXXTcL.js} +21 -20
  44. package/dist/{FormControlLabel-Dc1NyaPl.js → FormControlLabel-DfKMLiFM.js} +20 -19
  45. package/dist/{FormGroup-C6hX5Rxp.js → FormGroup-CclOJ_ni.js} +10 -9
  46. package/dist/{FormHelperText-BWHhdCfT.js → FormHelperText-wucHHOG8.js} +14 -13
  47. package/dist/{FormLabel-DNn2gpAc.js → FormLabel-CgNd8XLN.js} +21 -20
  48. package/dist/{GlobalStyles-ChwRSWsx.js → GlobalStyles-BEfXiUlZ.js} +3 -3
  49. package/dist/{Grow-DR-owdbZ.js → Grow-C0dChpKD.js} +4 -4
  50. package/dist/{IconButton-CMvCM_Lp.js → IconButton-rSBl8wjc.js} +20 -19
  51. package/dist/{Info-Nc5BG3Yc.js → Info-DtWHV9kz.js} +1 -1
  52. package/dist/{InputAdornment-DbMMP6fx.js → InputAdornment-BpuZG6da.js} +35 -34
  53. package/dist/{InputBase-B6OIIVG0.js → InputBase-CfVedJZK.js} +20 -19
  54. package/dist/{LinearProgress-BhzXKKHq.js → LinearProgress-C7E3wvv7.js} +22 -21
  55. package/dist/{Link-BMYQsA2J.js → Link-DuB1TakW.js} +21 -20
  56. package/dist/{List-BQ82y_D2.js → List-R1y2rt2I.js} +12 -11
  57. package/dist/{ListItem-BTJrs0xk.js → ListItem-YdhXS7jh.js} +10 -9
  58. package/dist/{ListItemAvatar-DMY5yneH.js → ListItemAvatar-Zov7uhBa.js} +16 -15
  59. package/dist/{ListItemButton-DuUhNIFe.js → ListItemButton-Dd8ymeh-.js} +6 -6
  60. package/dist/{ListItemIcon-Cwg5u5_e.js → ListItemIcon-C48tLADF.js} +5 -5
  61. package/dist/{ListItemText-BRX2EYOb.js → ListItemText-C4IUFTAh.js} +5 -5
  62. package/dist/{ListSubheader-CHpW48wG.js → ListSubheader-B2dYS-AB.js} +15 -14
  63. package/dist/Menu-DSTbuLGZ.js +289 -0
  64. package/dist/{MenuItem-B2uAesJs.js → MenuItem-B2Y2sEBv.js} +15 -14
  65. package/dist/{MenuList-G9HnfsX2.js → MenuList-DHWy1THR.js} +3 -2
  66. package/dist/{Modal-DLT528-9.js → Modal-quA3LOv8.js} +15 -14
  67. package/dist/{Paper-DeGJAQE9.js → Paper-DpGDlTnE.js} +17 -16
  68. package/dist/Popover-C4UMEZFM.js +485 -0
  69. package/dist/{Popper-706X-ixW.js → Popper-CEmc3hgj.js} +10 -8
  70. package/dist/{Portal-CkohOYPG.js → Portal-BD1qgEF2.js} +1 -1
  71. package/dist/{Radio-JRcvAFCw.js → Radio-CWGlqtWa.js} +38 -37
  72. package/dist/{RadioGroup-C0A6busY.js → RadioGroup-BA0CQX02.js} +17 -16
  73. package/dist/{Select-tNyTsCta.js → Select-G7DzAygS.js} +17 -16
  74. package/dist/{SelectControl-Bz5THtuf.js → SelectControl-DGAnDeHt.js} +9 -9
  75. package/dist/{Skeleton-B8pM1f3a.js → Skeleton-D9qDjbaT.js} +23 -22
  76. package/dist/Snackbar-B4ylEaa1.js +576 -0
  77. package/dist/{Step-CwOFbDz2.js → Step-C3KsW_sV.js} +13 -12
  78. package/dist/{StepButton-DSXTT103.js → StepButton-Cm9DhOQx.js} +14 -13
  79. package/dist/{StepConnector-BMHzfsfk.js → StepConnector-DK4MJqzZ.js} +15 -14
  80. package/dist/{StepContent-w8xvdrAQ.js → StepContent-Dl6UHgdu.js} +21 -20
  81. package/dist/{StepIcon-Cukq5aE2.js → StepIcon-ElSTT-7B.js} +26 -25
  82. package/dist/{StepLabel-Cy2krTW-.js → StepLabel-B_4bjXGA.js} +12 -11
  83. package/dist/{Stepper-Bm6IDco_.js → Stepper-CMQnaky0.js} +11 -10
  84. package/dist/{SvgIcon-ChnoHwqF.js → SvgIcon-CAF-TTUy.js} +24 -23
  85. package/dist/{Switch-Cvd5G-7l.js → Switch-C72ijhRh.js} +15 -14
  86. package/dist/{SwitchBase-CufBsptm.js → SwitchBase-BxwR-ITa.js} +11 -10
  87. package/dist/{Tab-zSeGVRiK.js → Tab-DpKBtsUw.js} +10 -9
  88. package/dist/{Tabs-Cksd8YLg.js → Tabs-SKtYSjnS.js} +11 -10
  89. package/dist/{ThemeProviderWithVars-bg3WT8UX.js → ThemeProviderWithVars-Cd9Vwf-U.js} +10 -9
  90. package/dist/{Toolbar-UdVSl6Kk.js → Toolbar-Dmu2ceP6.js} +10 -9
  91. package/dist/{Tooltip-CsdchI1h.js → Tooltip-BJmTHiZe.js} +14 -13
  92. package/dist/{Typography-DPs_xiDb.js → Typography-DnNWmNen.js} +16 -15
  93. package/dist/{WarningAmberOutlined-YV5tlDPZ.js → WarningAmberOutlined-Bip82sqV.js} +1 -1
  94. package/dist/{ZoomOut-CoqaIFxD.js → ZoomOut-BsqVAKgf.js} +1 -1
  95. package/dist/components/Accordion/index.js +1 -1
  96. package/dist/components/AccordionActions/index.js +1 -1
  97. package/dist/components/AccordionDetails/index.js +1 -1
  98. package/dist/components/AccordionSummary/index.js +1 -1
  99. package/dist/components/Alert/index.js +1 -1
  100. package/dist/components/AlertTitle/index.js +1 -1
  101. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  102. package/dist/components/Autocomplete/index.js +1 -1
  103. package/dist/components/AutocompleteControl/AutocompleteControl.js +9 -9
  104. package/dist/components/AutocompleteControl/index.js +1 -1
  105. package/dist/components/Avatar/index.js +1 -1
  106. package/dist/components/AvatarGroup/index.js +1 -1
  107. package/dist/components/Backdrop/index.js +1 -1
  108. package/dist/components/Badge/index.js +1 -1
  109. package/dist/components/Box/index.js +1 -1
  110. package/dist/components/Breadcrumbs/index.js +1 -1
  111. package/dist/components/Button/index.js +1 -1
  112. package/dist/components/ButtonBase/index.js +1 -1
  113. package/dist/components/ButtonGroup/index.js +1 -1
  114. package/dist/components/Card/index.js +1 -1
  115. package/dist/components/CardActionArea/index.js +1 -1
  116. package/dist/components/CardActions/index.js +1 -1
  117. package/dist/components/CardContent/index.js +1 -1
  118. package/dist/components/CardHeader/index.js +1 -1
  119. package/dist/components/CardMedia/index.js +1 -1
  120. package/dist/components/Checkbox/index.js +1 -1
  121. package/dist/components/Chip/index.js +1 -1
  122. package/dist/components/CircularProgress/index.js +1 -1
  123. package/dist/components/ClickAwayListener/index.d.ts +2 -0
  124. package/dist/components/ClickAwayListener/index.js +4 -0
  125. package/dist/components/Container/index.js +1 -1
  126. package/dist/components/CssBaseline/index.js +1 -1
  127. package/dist/components/Datepicker/Datepicker.js +3 -3
  128. package/dist/components/Datepicker/index.js +2 -2
  129. package/dist/components/DatepickerControl/DatepickerControl.js +9 -9
  130. package/dist/components/DatepickerControl/index.js +1 -1
  131. package/dist/components/Dialog/index.js +1 -1
  132. package/dist/components/DialogActions/index.js +1 -1
  133. package/dist/components/DialogContent/index.js +1 -1
  134. package/dist/components/DialogContentText/index.js +1 -1
  135. package/dist/components/DialogTitle/index.js +2 -2
  136. package/dist/components/Divider/index.js +2 -2
  137. package/dist/components/Drawer/index.js +1 -1
  138. package/dist/components/FormControl/index.js +1 -1
  139. package/dist/components/FormControlLabel/index.js +1 -1
  140. package/dist/components/FormGroup/index.js +1 -1
  141. package/dist/components/FormHelperText/index.js +1 -1
  142. package/dist/components/FormLabel/index.js +1 -1
  143. package/dist/components/FormSublabel/FormSublabel.js +5 -5
  144. package/dist/components/FormSublabel/index.js +1 -1
  145. package/dist/components/IconButton/index.js +1 -1
  146. package/dist/components/Input/Input.js +1 -1
  147. package/dist/components/InputAdornment/index.js +1 -1
  148. package/dist/components/InputControl/InputControl.js +9 -9
  149. package/dist/components/InputControl/index.js +1 -1
  150. package/dist/components/LinearProgress/index.js +1 -1
  151. package/dist/components/Link/index.js +1 -1
  152. package/dist/components/List/index.js +1 -1
  153. package/dist/components/ListItem/index.js +1 -1
  154. package/dist/components/ListItemAvatar/index.js +1 -1
  155. package/dist/components/ListItemButton/index.js +2 -2
  156. package/dist/components/ListItemIcon/index.js +2 -2
  157. package/dist/components/ListItemText/index.js +2 -2
  158. package/dist/components/ListSubheader/index.js +1 -1
  159. package/dist/components/Menu/index.js +1 -1
  160. package/dist/components/MenuItem/index.js +1 -1
  161. package/dist/components/MenuList/index.js +1 -1
  162. package/dist/components/Paper/index.js +1 -1
  163. package/dist/components/Popover/index.d.ts +2 -0
  164. package/dist/components/Popover/index.js +10 -0
  165. package/dist/components/Popper/index.d.ts +2 -0
  166. package/dist/components/Popper/index.js +5 -0
  167. package/dist/components/Radio/index.js +1 -1
  168. package/dist/components/RadioGroup/index.js +1 -1
  169. package/dist/components/Select/Select.js +1 -1
  170. package/dist/components/Select/index.js +1 -1
  171. package/dist/components/SelectControl/SelectControl.js +9 -9
  172. package/dist/components/SelectControl/index.js +1 -1
  173. package/dist/components/Skeleton/index.js +1 -1
  174. package/dist/components/Snackbar/index.js +1 -1
  175. package/dist/components/Stack/index.js +1 -1
  176. package/dist/components/Step/index.js +1 -1
  177. package/dist/components/StepButton/index.js +1 -1
  178. package/dist/components/StepConnector/index.js +1 -1
  179. package/dist/components/StepContent/index.js +1 -1
  180. package/dist/components/StepIcon/index.js +1 -1
  181. package/dist/components/StepLabel/index.js +1 -1
  182. package/dist/components/Stepper/index.js +1 -1
  183. package/dist/components/SvgIcon/index.js +1 -1
  184. package/dist/components/Switch/index.js +1 -1
  185. package/dist/components/Tab/index.js +1 -1
  186. package/dist/components/Tabs/index.js +1 -1
  187. package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
  188. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  189. package/dist/components/ToastContainer/useToast.js +4 -4
  190. package/dist/components/Toolbar/index.js +1 -1
  191. package/dist/components/Tooltip/index.js +1 -1
  192. package/dist/components/Typography/index.js +1 -1
  193. package/dist/{containerClasses-CeRyE1e2.js → containerClasses-BzFNrSIR.js} +20 -19
  194. package/dist/{createSvgIcon-D1SROVbP.js → createSvgIcon-DHWmMfd-.js} +1 -1
  195. package/dist/createTheme-BnGUhbht.js +2328 -0
  196. package/dist/defaultTheme-B960IsQ-.js +5 -0
  197. package/dist/{dialogTitleClasses-L_U38KY4.js → dialogTitleClasses-Y20vamk3.js} +2 -2
  198. package/dist/{dividerClasses-3YRwzxAH.js → dividerClasses-C13nqEzJ.js} +2 -2
  199. package/dist/{elementAcceptingRef-DYOMXWeA.js → elementAcceptingRef-C0N4y82j.js} +1 -1
  200. package/dist/{elementTypeAcceptingRef-CnEbk7Q_.js → elementTypeAcceptingRef-B2d5_Vhf.js} +1 -1
  201. package/dist/{emotion-react.browser.esm-CNRN7WoC.js → emotion-react.browser.esm-VKtuqypl.js} +1 -1
  202. package/dist/{extendSxProp-BJVEtb89.js → extendSxProp-Ch2FDJvf.js} +1 -1
  203. package/dist/{generateUtilityClasses-CwzvHfCm.js → generateUtilityClasses-njw3KdKN.js} +1 -1
  204. package/dist/{getThemeProps-DT8XKnCO.js → getThemeProps-EVOScHVn.js} +1 -1
  205. package/dist/icons/ClearstoryIcon.js +1 -1
  206. package/dist/icons/InternalOnlyIcon.js +1 -1
  207. package/dist/icons/MoneyBucketIcon.js +1 -1
  208. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  209. package/dist/icons/index.js +4 -4
  210. package/dist/index-CyAhC1RZ.js +672 -0
  211. package/dist/{index-CcV0p0bw.js → index-D2IRntbh.js} +1 -1
  212. package/dist/{index-RvUJzkTI.js → index-De_dzPp4.js} +4 -4
  213. package/dist/{index-D7UP9u8i.js → index-JqwbD7Nb.js} +2 -2
  214. package/dist/{listItemButtonClasses-DY7lE6xx.js → listItemButtonClasses-B_nV0YiI.js} +2 -2
  215. package/dist/{listItemIconClasses-DZarNdF_.js → listItemIconClasses-CMPPJSFR.js} +2 -2
  216. package/dist/{listItemTextClasses-CMDvgiXw.js → listItemTextClasses-BUDn-rsR.js} +2 -2
  217. package/dist/main.d.ts +3 -0
  218. package/dist/main.js +223 -210
  219. package/dist/{memoTheme-DqlI3JW3.js → memoTheme-R-LnLD8I.js} +1 -1
  220. package/dist/{refType-CCckNw0a.js → refType-CedFpkve.js} +1 -1
  221. package/dist/{stackClasses-DqA89FGy.js → stackClasses-BGzeCt42.js} +22 -21
  222. package/dist/styled-DKUIcd6R.js +5 -0
  223. package/dist/{styled-bJ6DXD3Z.js → styled-fvngWWLy.js} +2 -2
  224. package/dist/theme/colorSchemes.js +1 -1
  225. package/dist/theme/index.js +25 -24
  226. package/dist/theme/internal.js +1 -1
  227. package/dist/{useTheme-BB-P11R3.js → useTheme-CbsaMxqD.js} +2 -2
  228. package/dist/{useTheme-DTBpB7d-.js → useTheme-Cz5y14_g.js} +1 -1
  229. package/dist/{useThemeProps-Dll6b3d8.js → useThemeProps-FvXli9RO.js} +2 -2
  230. package/dist/{utils-OCLAA0Ck.js → utils-CAuCuXQr.js} +1 -1
  231. package/package.json +1 -1
  232. package/dist/Menu-CA0hNHG8.js +0 -752
  233. package/dist/Snackbar-6S8FLk-7.js +0 -672
  234. package/dist/createTheme-D79OrE1w.js +0 -2997
  235. package/dist/defaultTheme-BmQF15Jm.js +0 -5
  236. package/dist/styled-w_4QIfiM.js +0 -5
@@ -1,752 +0,0 @@
1
- import * as p from "react";
2
- import { c as lo, P as o, r as Mo } from "./createTheme-D79OrE1w.js";
3
- import { c as co } from "./clsx-OuTLNxxd.js";
4
- import { u as wo } from "./index-CcV0p0bw.js";
5
- import { s as U, r as Ro } from "./styled-bJ6DXD3Z.js";
6
- import { g as uo } from "./generateUtilityClasses-CwzvHfCm.js";
7
- import { u as L } from "./useSlot-BVGwJA4b.js";
8
- import { jsx as z } from "react/jsx-runtime";
9
- import { u as fo } from "./DefaultPropsProvider-PBxTVeaD.js";
10
- import { u as Co } from "./useSlotProps-D0I_wOtk.js";
11
- import { c as mo } from "./composeClasses-2Ou-RZJr.js";
12
- import { i as So } from "./isHostComponent-kiaBvYVo.js";
13
- import { P as jo } from "./Paper-DeGJAQE9.js";
14
- import { o as ro } from "./ownerDocument-CUrv0DIK.js";
15
- import { o as so } from "./ownerWindow-niciwP7I.js";
16
- import { d as xo } from "./debounce-46wSf_lW.js";
17
- import { G as ko } from "./Grow-DR-owdbZ.js";
18
- import { m as No } from "./mergeSlotProps-CuzBQdlp.js";
19
- import { M as Do } from "./Modal-DLT528-9.js";
20
- import { i as Io } from "./integerPropType-BihGt2aU.js";
21
- import { c as Fo } from "./chainPropTypes-D9lkm76m.js";
22
- import { r as Lo } from "./refType-CCckNw0a.js";
23
- import { e as zo } from "./elementTypeAcceptingRef-CnEbk7Q_.js";
24
- import { H as J } from "./Portal-CkohOYPG.js";
25
- import { M as Uo } from "./MenuList-G9HnfsX2.js";
26
- function Vo(e) {
27
- return lo("MuiPopover", e);
28
- }
29
- uo("MuiPopover", ["root", "paper"]);
30
- function io(e, t) {
31
- let s = 0;
32
- return typeof t == "number" ? s = t : t === "center" ? s = e.height / 2 : t === "bottom" && (s = e.height), s;
33
- }
34
- function ao(e, t) {
35
- let s = 0;
36
- return typeof t == "number" ? s = t : t === "center" ? s = e.width / 2 : t === "right" && (s = e.width), s;
37
- }
38
- function po(e) {
39
- return [e.horizontal, e.vertical].map((t) => typeof t == "number" ? `${t}px` : t).join(" ");
40
- }
41
- function F(e) {
42
- return typeof e == "function" ? e() : e;
43
- }
44
- const _o = (e) => {
45
- const {
46
- classes: t
47
- } = e;
48
- return mo({
49
- root: ["root"],
50
- paper: ["paper"]
51
- }, Vo, t);
52
- }, Ao = U(Do, {
53
- name: "MuiPopover",
54
- slot: "Root"
55
- })({}), ho = U(jo, {
56
- name: "MuiPopover",
57
- slot: "Paper"
58
- })({
59
- position: "absolute",
60
- overflowY: "auto",
61
- overflowX: "hidden",
62
- // So we see the popover when it's empty.
63
- // It's most likely on issue on userland.
64
- minWidth: 16,
65
- minHeight: 16,
66
- maxWidth: "calc(100% - 32px)",
67
- maxHeight: "calc(100% - 32px)",
68
- // We disable the focus ring for mouse, touch and keyboard users.
69
- outline: 0
70
- }), Po = /* @__PURE__ */ p.forwardRef(function(t, s) {
71
- const k = fo({
72
- props: t,
73
- name: "MuiPopover"
74
- }), {
75
- action: N,
76
- anchorEl: c,
77
- anchorOrigin: g = {
78
- vertical: "top",
79
- horizontal: "left"
80
- },
81
- anchorPosition: v,
82
- anchorReference: y = "anchorEl",
83
- children: D,
84
- className: V,
85
- container: _,
86
- elevation: A = 8,
87
- marginThreshold: l = 16,
88
- open: u,
89
- PaperProps: H = {},
90
- // TODO: remove in v7
91
- slots: S = {},
92
- slotProps: f = {},
93
- transformOrigin: m = {
94
- vertical: "top",
95
- horizontal: "left"
96
- },
97
- TransitionComponent: q,
98
- // TODO: remove in v7
99
- transitionDuration: O = "auto",
100
- TransitionProps: b = {},
101
- // TODO: remove in v7
102
- disableScrollLock: E = !1,
103
- ...K
104
- } = k, M = p.useRef(), w = {
105
- ...k,
106
- anchorOrigin: g,
107
- anchorReference: y,
108
- elevation: A,
109
- marginThreshold: l,
110
- transformOrigin: m,
111
- TransitionComponent: q,
112
- transitionDuration: O,
113
- TransitionProps: b
114
- }, W = _o(w), R = p.useCallback(() => {
115
- if (y === "anchorPosition")
116
- return process.env.NODE_ENV !== "production" && (v || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), v;
117
- const n = F(c), r = n && n.nodeType === 1 ? n : ro(M.current).body, a = r.getBoundingClientRect();
118
- if (process.env.NODE_ENV !== "production") {
119
- const C = r.getBoundingClientRect();
120
- process.env.NODE_ENV !== "test" && C.top === 0 && C.left === 0 && C.right === 0 && C.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(`
121
- `));
122
- }
123
- return {
124
- top: a.top + io(a, g.vertical),
125
- left: a.left + ao(a, g.horizontal)
126
- };
127
- }, [c, g.horizontal, g.vertical, v, y]), T = p.useCallback((n) => ({
128
- vertical: io(n, m.vertical),
129
- horizontal: ao(n, m.horizontal)
130
- }), [m.horizontal, m.vertical]), $ = p.useCallback((n) => {
131
- const r = {
132
- width: n.offsetWidth,
133
- height: n.offsetHeight
134
- }, a = T(r);
135
- if (y === "none")
136
- return {
137
- top: null,
138
- left: null,
139
- transformOrigin: po(a)
140
- };
141
- const C = R();
142
- let j = C.top - a.vertical, x = C.left - a.horizontal;
143
- const oo = j + r.height, eo = x + r.width, to = so(F(c)), I = to.innerHeight - l, no = to.innerWidth - l;
144
- if (l !== null && j < l) {
145
- const P = j - l;
146
- j -= P, a.vertical += P;
147
- } else if (l !== null && oo > I) {
148
- const P = oo - I;
149
- j -= P, a.vertical += P;
150
- }
151
- if (process.env.NODE_ENV !== "production" && r.height > I && r.height && I && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${r.height - I}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
152
- `)), l !== null && x < l) {
153
- const P = x - l;
154
- x -= P, a.horizontal += P;
155
- } else if (eo > no) {
156
- const P = eo - no;
157
- x -= P, a.horizontal += P;
158
- }
159
- return {
160
- top: `${Math.round(j)}px`,
161
- left: `${Math.round(x)}px`,
162
- transformOrigin: po(a)
163
- };
164
- }, [c, y, R, T, l]), [Y, B] = p.useState(u), d = p.useCallback(() => {
165
- const n = M.current;
166
- if (!n)
167
- return;
168
- const r = $(n);
169
- r.top !== null && n.style.setProperty("top", r.top), r.left !== null && (n.style.left = r.left), n.style.transformOrigin = r.transformOrigin, B(!0);
170
- }, [$]);
171
- p.useEffect(() => (E && window.addEventListener("scroll", d), () => window.removeEventListener("scroll", d)), [c, E, d]);
172
- const X = () => {
173
- d();
174
- }, G = () => {
175
- B(!1);
176
- };
177
- p.useEffect(() => {
178
- u && d();
179
- }), p.useImperativeHandle(N, () => u ? {
180
- updatePosition: () => {
181
- d();
182
- }
183
- } : null, [u, d]), p.useEffect(() => {
184
- if (!u)
185
- return;
186
- const n = xo(() => {
187
- d();
188
- }), r = so(F(c));
189
- return r.addEventListener("resize", n), () => {
190
- n.clear(), r.removeEventListener("resize", n);
191
- };
192
- }, [c, u, d]);
193
- let i = O;
194
- const h = {
195
- slots: {
196
- transition: q,
197
- ...S
198
- },
199
- slotProps: {
200
- transition: b,
201
- paper: H,
202
- ...f
203
- }
204
- }, [Q, bo] = L("transition", {
205
- elementType: ko,
206
- externalForwardedProps: h,
207
- ownerState: w,
208
- getSlotProps: (n) => ({
209
- ...n,
210
- onEntering: (r, a) => {
211
- n.onEntering?.(r, a), X();
212
- },
213
- onExited: (r) => {
214
- n.onExited?.(r), G();
215
- }
216
- }),
217
- additionalProps: {
218
- appear: !0,
219
- in: u
220
- }
221
- });
222
- O === "auto" && !Q.muiSupportAuto && (i = void 0);
223
- const yo = _ || (c ? ro(F(c)).body : void 0), [Z, {
224
- slots: To,
225
- slotProps: go,
226
- ...vo
227
- }] = L("root", {
228
- ref: s,
229
- elementType: Ao,
230
- externalForwardedProps: {
231
- ...h,
232
- ...K
233
- },
234
- shouldForwardComponentProp: !0,
235
- additionalProps: {
236
- slots: {
237
- backdrop: S.backdrop
238
- },
239
- slotProps: {
240
- backdrop: No(typeof f.backdrop == "function" ? f.backdrop(w) : f.backdrop, {
241
- invisible: !0
242
- })
243
- },
244
- container: yo,
245
- open: u
246
- },
247
- ownerState: w,
248
- className: co(W.root, V)
249
- }), [Oo, Eo] = L("paper", {
250
- ref: M,
251
- className: W.paper,
252
- elementType: ho,
253
- externalForwardedProps: h,
254
- shouldForwardComponentProp: !0,
255
- additionalProps: {
256
- elevation: A,
257
- style: Y ? void 0 : {
258
- opacity: 0
259
- }
260
- },
261
- ownerState: w
262
- });
263
- return /* @__PURE__ */ z(Z, {
264
- ...vo,
265
- ...!So(Z) && {
266
- slots: To,
267
- slotProps: go,
268
- disableScrollLock: E
269
- },
270
- children: /* @__PURE__ */ z(Q, {
271
- ...bo,
272
- timeout: i,
273
- children: /* @__PURE__ */ z(Oo, {
274
- ...Eo,
275
- children: D
276
- })
277
- })
278
- });
279
- });
280
- process.env.NODE_ENV !== "production" && (Po.propTypes = {
281
- // ┌────────────────────────────── Warning ──────────────────────────────┐
282
- // │ These PropTypes are generated from the TypeScript type definitions. │
283
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
284
- // └─────────────────────────────────────────────────────────────────────┘
285
- /**
286
- * A ref for imperative actions.
287
- * It currently only supports updatePosition() action.
288
- */
289
- action: Lo,
290
- /**
291
- * An HTML element, [PopoverVirtualElement](https://mui.com/material-ui/react-popover/#virtual-element),
292
- * or a function that returns either.
293
- * It's used to set the position of the popover.
294
- */
295
- anchorEl: Fo(o.oneOfType([J, o.func]), (e) => {
296
- if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
297
- const t = F(e.anchorEl);
298
- if (t && t.nodeType === 1) {
299
- const s = t.getBoundingClientRect();
300
- if (process.env.NODE_ENV !== "test" && s.top === 0 && s.left === 0 && s.right === 0 && s.bottom === 0)
301
- 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(`
302
- `));
303
- } else
304
- return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", `It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
305
- `));
306
- }
307
- return null;
308
- }),
309
- /**
310
- * This is the point on the anchor where the popover's
311
- * `anchorEl` will attach to. This is not used when the
312
- * anchorReference is 'anchorPosition'.
313
- *
314
- * Options:
315
- * vertical: [top, center, bottom];
316
- * horizontal: [left, center, right].
317
- * @default {
318
- * vertical: 'top',
319
- * horizontal: 'left',
320
- * }
321
- */
322
- anchorOrigin: o.shape({
323
- horizontal: o.oneOfType([o.oneOf(["center", "left", "right"]), o.number]).isRequired,
324
- vertical: o.oneOfType([o.oneOf(["bottom", "center", "top"]), o.number]).isRequired
325
- }),
326
- /**
327
- * This is the position that may be used to set the position of the popover.
328
- * The coordinates are relative to the application's client area.
329
- */
330
- anchorPosition: o.shape({
331
- left: o.number.isRequired,
332
- top: o.number.isRequired
333
- }),
334
- /**
335
- * This determines which anchor prop to refer to when setting
336
- * the position of the popover.
337
- * @default 'anchorEl'
338
- */
339
- anchorReference: o.oneOf(["anchorEl", "anchorPosition", "none"]),
340
- /**
341
- * A backdrop component. This prop enables custom backdrop rendering.
342
- * @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.
343
- * @default styled(Backdrop, {
344
- * name: 'MuiModal',
345
- * slot: 'Backdrop',
346
- * overridesResolver: (props, styles) => {
347
- * return styles.backdrop;
348
- * },
349
- * })({
350
- * zIndex: -1,
351
- * })
352
- */
353
- BackdropComponent: o.elementType,
354
- /**
355
- * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
356
- * @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.
357
- */
358
- BackdropProps: o.object,
359
- /**
360
- * The content of the component.
361
- */
362
- children: o.node,
363
- /**
364
- * Override or extend the styles applied to the component.
365
- */
366
- classes: o.object,
367
- /**
368
- * @ignore
369
- */
370
- className: o.string,
371
- /**
372
- * An HTML element, component instance, or function that returns either.
373
- * The `container` will passed to the Modal component.
374
- *
375
- * By default, it uses the body of the anchorEl's top-level document object,
376
- * so it's simply `document.body` most of the time.
377
- */
378
- container: o.oneOfType([J, o.func]),
379
- /**
380
- * Disable the scroll lock behavior.
381
- * @default false
382
- */
383
- disableScrollLock: o.bool,
384
- /**
385
- * The elevation of the popover.
386
- * @default 8
387
- */
388
- elevation: Io,
389
- /**
390
- * Specifies how close to the edge of the window the popover can appear.
391
- * If null, the popover will not be constrained by the window.
392
- * @default 16
393
- */
394
- marginThreshold: o.number,
395
- /**
396
- * Callback fired when the component requests to be closed.
397
- * The `reason` parameter can optionally be used to control the response to `onClose`.
398
- */
399
- onClose: o.func,
400
- /**
401
- * If `true`, the component is shown.
402
- */
403
- open: o.bool.isRequired,
404
- /**
405
- * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
406
- *
407
- * This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.
408
- * @deprecated Use `slotProps.paper` instead.
409
- *
410
- * @default {}
411
- */
412
- PaperProps: o.shape({
413
- component: zo
414
- }),
415
- /**
416
- * The props used for each slot inside.
417
- * @default {}
418
- */
419
- slotProps: o.shape({
420
- backdrop: o.oneOfType([o.func, o.object]),
421
- paper: o.oneOfType([o.func, o.object]),
422
- root: o.oneOfType([o.func, o.object]),
423
- transition: o.oneOfType([o.func, o.object])
424
- }),
425
- /**
426
- * The components used for each slot inside.
427
- * @default {}
428
- */
429
- slots: o.shape({
430
- backdrop: o.elementType,
431
- paper: o.elementType,
432
- root: o.elementType,
433
- transition: o.elementType
434
- }),
435
- /**
436
- * The system prop that allows defining system overrides as well as additional CSS styles.
437
- */
438
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
439
- /**
440
- * This is the point on the popover which
441
- * will attach to the anchor's origin.
442
- *
443
- * Options:
444
- * vertical: [top, center, bottom, x(px)];
445
- * horizontal: [left, center, right, x(px)].
446
- * @default {
447
- * vertical: 'top',
448
- * horizontal: 'left',
449
- * }
450
- */
451
- transformOrigin: o.shape({
452
- horizontal: o.oneOfType([o.oneOf(["center", "left", "right"]), o.number]).isRequired,
453
- vertical: o.oneOfType([o.oneOf(["bottom", "center", "top"]), o.number]).isRequired
454
- }),
455
- /**
456
- * The component used for the transition.
457
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
458
- * @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.
459
- * @default Grow
460
- */
461
- TransitionComponent: o.elementType,
462
- /**
463
- * Set to 'auto' to automatically calculate transition time based on height.
464
- * @default 'auto'
465
- */
466
- transitionDuration: o.oneOfType([o.oneOf(["auto"]), o.number, o.shape({
467
- appear: o.number,
468
- enter: o.number,
469
- exit: o.number
470
- })]),
471
- /**
472
- * Props applied to the transition element.
473
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
474
- * @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.
475
- * @default {}
476
- */
477
- TransitionProps: o.object
478
- });
479
- function Ho(e) {
480
- return lo("MuiMenu", e);
481
- }
482
- const ge = uo("MuiMenu", ["root", "paper", "list"]), qo = {
483
- vertical: "top",
484
- horizontal: "right"
485
- }, Wo = {
486
- vertical: "top",
487
- horizontal: "left"
488
- }, $o = (e) => {
489
- const {
490
- classes: t
491
- } = e;
492
- return mo({
493
- root: ["root"],
494
- paper: ["paper"],
495
- list: ["list"]
496
- }, Ho, t);
497
- }, Bo = U(Po, {
498
- shouldForwardProp: (e) => Ro(e) || e === "classes",
499
- name: "MuiMenu",
500
- slot: "Root"
501
- })({}), Go = U(ho, {
502
- name: "MuiMenu",
503
- slot: "Paper"
504
- })({
505
- // specZ: The maximum height of a simple menu should be one or more rows less than the view
506
- // height. This ensures a tappable area outside of the simple menu with which to dismiss
507
- // the menu.
508
- maxHeight: "calc(100% - 96px)",
509
- // Add iOS momentum scrolling for iOS < 13.0
510
- WebkitOverflowScrolling: "touch"
511
- }), Ko = U(Uo, {
512
- name: "MuiMenu",
513
- slot: "List"
514
- })({
515
- // We disable the focus ring for mouse, touch and keyboard users.
516
- outline: 0
517
- }), Yo = /* @__PURE__ */ p.forwardRef(function(t, s) {
518
- const k = fo({
519
- props: t,
520
- name: "MuiMenu"
521
- }), {
522
- autoFocus: N = !0,
523
- children: c,
524
- className: g,
525
- disableAutoFocusItem: v = !1,
526
- MenuListProps: y = {},
527
- onClose: D,
528
- open: V,
529
- PaperProps: _ = {},
530
- PopoverClasses: A,
531
- transitionDuration: l = "auto",
532
- TransitionProps: {
533
- onEntering: u,
534
- ...H
535
- } = {},
536
- variant: S = "selectedMenu",
537
- slots: f = {},
538
- slotProps: m = {},
539
- ...q
540
- } = k, O = wo(), b = {
541
- ...k,
542
- autoFocus: N,
543
- disableAutoFocusItem: v,
544
- MenuListProps: y,
545
- onEntering: u,
546
- PaperProps: _,
547
- transitionDuration: l,
548
- TransitionProps: H,
549
- variant: S
550
- }, E = $o(b), K = N && !v && V, M = p.useRef(null), w = (i, h) => {
551
- M.current && M.current.adjustStyleForScrollbar(i, {
552
- direction: O ? "rtl" : "ltr"
553
- }), u && u(i, h);
554
- }, W = (i) => {
555
- i.key === "Tab" && (i.preventDefault(), D && D(i, "tabKeyDown"));
556
- };
557
- let R = -1;
558
- p.Children.map(c, (i, h) => {
559
- /* @__PURE__ */ p.isValidElement(i) && (process.env.NODE_ENV !== "production" && Mo.isFragment(i) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
560
- `)), i.props.disabled || (S === "selectedMenu" && i.props.selected || R === -1) && (R = h));
561
- });
562
- const T = {
563
- slots: f,
564
- slotProps: {
565
- list: y,
566
- transition: H,
567
- paper: _,
568
- ...m
569
- }
570
- }, $ = Co({
571
- elementType: f.root,
572
- externalSlotProps: m.root,
573
- ownerState: b,
574
- className: [E.root, g]
575
- }), [Y, B] = L("paper", {
576
- className: E.paper,
577
- elementType: Go,
578
- externalForwardedProps: T,
579
- shouldForwardComponentProp: !0,
580
- ownerState: b
581
- }), [d, X] = L("list", {
582
- className: co(E.list, y.className),
583
- elementType: Ko,
584
- shouldForwardComponentProp: !0,
585
- externalForwardedProps: T,
586
- getSlotProps: (i) => ({
587
- ...i,
588
- onKeyDown: (h) => {
589
- W(h), i.onKeyDown?.(h);
590
- }
591
- }),
592
- ownerState: b
593
- }), G = typeof T.slotProps.transition == "function" ? T.slotProps.transition(b) : T.slotProps.transition;
594
- return /* @__PURE__ */ z(Bo, {
595
- onClose: D,
596
- anchorOrigin: {
597
- vertical: "bottom",
598
- horizontal: O ? "right" : "left"
599
- },
600
- transformOrigin: O ? qo : Wo,
601
- slots: {
602
- root: f.root,
603
- paper: Y,
604
- backdrop: f.backdrop,
605
- ...f.transition && {
606
- // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
607
- transition: f.transition
608
- }
609
- },
610
- slotProps: {
611
- root: $,
612
- paper: B,
613
- backdrop: typeof m.backdrop == "function" ? m.backdrop(b) : m.backdrop,
614
- transition: {
615
- ...G,
616
- onEntering: (...i) => {
617
- w(...i), G?.onEntering?.(...i);
618
- }
619
- }
620
- },
621
- open: V,
622
- ref: s,
623
- transitionDuration: l,
624
- ownerState: b,
625
- ...q,
626
- classes: A,
627
- children: /* @__PURE__ */ z(d, {
628
- actions: M,
629
- autoFocus: N && (R === -1 || v),
630
- autoFocusItem: K,
631
- variant: S,
632
- ...X,
633
- children: c
634
- })
635
- });
636
- });
637
- process.env.NODE_ENV !== "production" && (Yo.propTypes = {
638
- // ┌────────────────────────────── Warning ──────────────────────────────┐
639
- // │ These PropTypes are generated from the TypeScript type definitions. │
640
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
641
- // └─────────────────────────────────────────────────────────────────────┘
642
- /**
643
- * An HTML element, or a function that returns one.
644
- * It's used to set the position of the menu.
645
- */
646
- anchorEl: o.oneOfType([J, o.func]),
647
- /**
648
- * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
649
- * children are not focusable. If you set this prop to `false` focus will be placed
650
- * on the parent modal container. This has severe accessibility implications
651
- * and should only be considered if you manage focus otherwise.
652
- * @default true
653
- */
654
- autoFocus: o.bool,
655
- /**
656
- * Menu contents, normally `MenuItem`s.
657
- */
658
- children: o.node,
659
- /**
660
- * Override or extend the styles applied to the component.
661
- */
662
- classes: o.object,
663
- /**
664
- * @ignore
665
- */
666
- className: o.string,
667
- /**
668
- * When opening the menu will not focus the active item but the `[role="menu"]`
669
- * unless `autoFocus` is also set to `false`. Not using the default means not
670
- * following WAI-ARIA authoring practices. Please be considerate about possible
671
- * accessibility implications.
672
- * @default false
673
- */
674
- disableAutoFocusItem: o.bool,
675
- /**
676
- * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
677
- * @deprecated use the `slotProps.list` 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.
678
- * @default {}
679
- */
680
- MenuListProps: o.object,
681
- /**
682
- * Callback fired when the component requests to be closed.
683
- *
684
- * @param {object} event The event source of the callback.
685
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`, `"tabKeyDown"`.
686
- */
687
- onClose: o.func,
688
- /**
689
- * If `true`, the component is shown.
690
- */
691
- open: o.bool.isRequired,
692
- /**
693
- * @ignore
694
- */
695
- PaperProps: o.object,
696
- /**
697
- * `classes` prop applied to the [`Popover`](https://mui.com/material-ui/api/popover/) element.
698
- */
699
- PopoverClasses: o.object,
700
- /**
701
- * The props used for each slot inside.
702
- * @default {}
703
- */
704
- slotProps: o.shape({
705
- backdrop: o.oneOfType([o.func, o.object]),
706
- list: o.oneOfType([o.func, o.object]),
707
- paper: o.oneOfType([o.func, o.object]),
708
- root: o.oneOfType([o.func, o.object]),
709
- transition: o.oneOfType([o.func, o.object])
710
- }),
711
- /**
712
- * The components used for each slot inside.
713
- * @default {}
714
- */
715
- slots: o.shape({
716
- backdrop: o.elementType,
717
- list: o.elementType,
718
- paper: o.elementType,
719
- root: o.elementType,
720
- transition: o.elementType
721
- }),
722
- /**
723
- * The system prop that allows defining system overrides as well as additional CSS styles.
724
- */
725
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
726
- /**
727
- * The length of the transition in `ms`, or 'auto'
728
- * @default 'auto'
729
- */
730
- transitionDuration: o.oneOfType([o.oneOf(["auto"]), o.number, o.shape({
731
- appear: o.number,
732
- enter: o.number,
733
- exit: o.number
734
- })]),
735
- /**
736
- * Props applied to the transition element.
737
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
738
- * @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.
739
- * @default {}
740
- */
741
- TransitionProps: o.object,
742
- /**
743
- * The variant to use. Use `menu` to prevent selected items from impacting the initial focus.
744
- * @default 'selectedMenu'
745
- */
746
- variant: o.oneOf(["menu", "selectedMenu"])
747
- });
748
- export {
749
- Yo as M,
750
- Ho as g,
751
- ge as m
752
- };