@clearstory/drywall-react 3.5.0 → 3.6.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 (288) hide show
  1. package/dist/{Accordion-DCOykts4.js → Accordion-N2zr4DAg.js} +6 -6
  2. package/dist/{AccordionActions-BAiH7fCc.js → AccordionActions-D3BC-mkr.js} +3 -3
  3. package/dist/{AccordionDetails-m2yw4JWL.js → AccordionDetails-CxFvueuN.js} +4 -4
  4. package/dist/{AccordionSummary-Bcz3kHL3.js → AccordionSummary-D2tzapDR.js} +5 -5
  5. package/dist/{AdapterDayjs-BbRw4Xr1.js → AdapterDayjs-DmNdmnYn.js} +2 -2
  6. package/dist/{Alert-BAwPio4K.js → Alert-OI-evg5Q.js} +8 -8
  7. package/dist/{AlertTitle-DmUXFJub.js → AlertTitle-DsZy6q2Z.js} +5 -5
  8. package/dist/{ArrowDropDown-CHZToUze.js → ArrowDropDown-Dg2nxMKG.js} +4 -4
  9. package/dist/{Autocomplete-BjL4YeDS.js → Autocomplete-6OyJ32ew.js} +14 -14
  10. package/dist/{Avatar-C331iVZj.js → Avatar-DG90pRjP.js} +5 -5
  11. package/dist/{AvatarGroup-CguRmDSR.js → AvatarGroup-BCsEfujH.js} +5 -5
  12. package/dist/Backdrop-gg1OVYeE.js +201 -0
  13. package/dist/{Badge-CVhZHphu.js → Badge-DR9Xf01j.js} +4 -4
  14. package/dist/{Box-CKDKtm7F.js → Box-BH66vz6T.js} +15 -14
  15. package/dist/{Breadcrumbs-ze8mc2Zg.js → Breadcrumbs-BR8QOArh.js} +7 -7
  16. package/dist/{Button-6w4XBJj2.js → Button-Dwe5-ka7.js} +6 -6
  17. package/dist/{ButtonBase-COzHF9dg.js → ButtonBase-D2KI3JHl.js} +4 -4
  18. package/dist/{ButtonGroup-D-4yW6k2.js → ButtonGroup-Ct0OLFwo.js} +50 -52
  19. package/dist/{Card-Cqms7NUL.js → Card-Bhek6A3a.js} +4 -4
  20. package/dist/{CardActionArea-B2Ix5eDP.js → CardActionArea-DwdW85Ul.js} +5 -5
  21. package/dist/{CardActions-CMKGIQ5P.js → CardActions-CDFBLzjd.js} +3 -3
  22. package/dist/{CardContent-BEE7_vOd.js → CardContent-CnCrbHTS.js} +3 -3
  23. package/dist/{CardHeader-CeJ4xLV1.js → CardHeader-lx6JWWip.js} +4 -4
  24. package/dist/{CardMedia-CjIGijkw.js → CardMedia-BjZYtx5M.js} +3 -3
  25. package/dist/{Checkbox-BlCrwG_a.js → Checkbox-Cf3DgeZ-.js} +6 -6
  26. package/dist/{Chip-BqSPADPe.js → Chip-CSmhOdUA.js} +6 -6
  27. package/dist/{CircularProgress-CE-gUslP.js → CircularProgress-C8rTSDsK.js} +5 -5
  28. package/dist/{Clear-ABzw_mBN.js → Clear-CQi-XSTk.js} +1 -1
  29. package/dist/Close-BQl12sEw.js +8 -0
  30. package/dist/{Close-sCOhjzLZ.js → Close-BgPk7eQX.js} +1 -1
  31. package/dist/{Collapse-54fTKYrR.js → Collapse-B6RSXnAZ.js} +27 -26
  32. package/dist/{CssBaseline-dhNsGT6h.js → CssBaseline-DRSyTqEj.js} +1 -1
  33. package/dist/{Datepicker-BW_oZhpV.js → Datepicker-CXAX8MHh.js} +30 -30
  34. package/dist/{Dialog-DVIwe9ZI.js → Dialog-CZ12ossO.js} +15 -14
  35. package/dist/{DialogActions-CPDvDLrR.js → DialogActions-CA6rHb-U.js} +3 -3
  36. package/dist/{DialogContent-CKtOueUR.js → DialogContent-BqPESVtO.js} +5 -5
  37. package/dist/{DialogContentText-4wkWrNzG.js → DialogContentText-CbO2B4Z9.js} +4 -4
  38. package/dist/{DialogTitle-CKBNYMcR.js → DialogTitle-CiIRMfyK.js} +3 -3
  39. package/dist/{Divider-DANmFTyq.js → Divider-CyEo7bil.js} +3 -3
  40. package/dist/Drawer-Thixj4OK.js +405 -0
  41. package/dist/Fade-Gtmak1th.js +170 -0
  42. package/dist/{FormControl-CuHXXTcL.js → FormControl-CTM-PuGq.js} +3 -3
  43. package/dist/{FormControlLabel-DfKMLiFM.js → FormControlLabel-B_NYtzoE.js} +5 -5
  44. package/dist/{FormGroup-CclOJ_ni.js → FormGroup-BqyR9U5M.js} +3 -3
  45. package/dist/{FormHelperText-wucHHOG8.js → FormHelperText-IjFT4yts.js} +4 -4
  46. package/dist/{FormLabel-CgNd8XLN.js → FormLabel-BXdv649w.js} +4 -4
  47. package/dist/{GlobalStyles-BEfXiUlZ.js → GlobalStyles-BK9ZVXgm.js} +3 -3
  48. package/dist/{Grow-C0dChpKD.js → Grow-BY83ldu0.js} +1 -1
  49. package/dist/HTMLElementType-Co_vUhOX.js +9 -0
  50. package/dist/{IconButton-rSBl8wjc.js → IconButton-TpdTqzbL.js} +6 -6
  51. package/dist/{Info-DtWHV9kz.js → Info-CULapxL8.js} +1 -1
  52. package/dist/{InputAdornment-BpuZG6da.js → InputAdornment-6GxVjFAJ.js} +5 -5
  53. package/dist/{InputBase-CfVedJZK.js → InputBase-C0p5hzfj.js} +5 -5
  54. package/dist/{LinearProgress-C7E3wvv7.js → LinearProgress-DBdJLldX.js} +5 -5
  55. package/dist/{Link-DuB1TakW.js → Link-CwdfkEyp.js} +6 -6
  56. package/dist/{List-R1y2rt2I.js → List-XvltH5j2.js} +3 -3
  57. package/dist/{ListItem-YdhXS7jh.js → ListItem-hSmSQZ5M.js} +5 -5
  58. package/dist/{ListItemAvatar-Zov7uhBa.js → ListItemAvatar-CIR_FCWw.js} +3 -3
  59. package/dist/{ListItemButton-Dd8ymeh-.js → ListItemButton-DGuk59D7.js} +4 -4
  60. package/dist/{ListItemIcon-C48tLADF.js → ListItemIcon-qpl0jIUb.js} +3 -3
  61. package/dist/{ListItemText-C4IUFTAh.js → ListItemText--2ZAv8r-.js} +3 -3
  62. package/dist/{ListSubheader-B2dYS-AB.js → ListSubheader-CQgQmaSV.js} +4 -4
  63. package/dist/{Menu-DSTbuLGZ.js → Menu-CE9qTVST.js} +6 -6
  64. package/dist/{MenuItem-B2Y2sEBv.js → MenuItem-trBk-sK2.js} +8 -8
  65. package/dist/{MenuList-DHWy1THR.js → MenuList-CL9OITCI.js} +2 -2
  66. package/dist/{Modal-quA3LOv8.js → Modal-B1F20IqD.js} +15 -14
  67. package/dist/{Paper-DpGDlTnE.js → Paper-CFXI_f81.js} +10 -10
  68. package/dist/{Popover-C4UMEZFM.js → Popover-H9am5WFr.js} +7 -7
  69. package/dist/{Popper-CEmc3hgj.js → Popper-5y6_LfWc.js} +5 -4
  70. package/dist/{Portal-BD1qgEF2.js → Portal-R03qxPC_.js} +26 -32
  71. package/dist/{Radio-CWGlqtWa.js → Radio-Chip_J5Y.js} +6 -6
  72. package/dist/{RadioGroup-BA0CQX02.js → RadioGroup-uF_FkK9Y.js} +3 -3
  73. package/dist/{Select-G7DzAygS.js → Select-BaTU7yXy.js} +7 -7
  74. package/dist/{SelectControl-uhYAlpEk.js → SelectControl-BVkg3axE.js} +9 -9
  75. package/dist/{Skeleton-D9qDjbaT.js → Skeleton-CTzxP9ZP.js} +5 -5
  76. package/dist/Slide-CTOPI8UL.js +237 -0
  77. package/dist/{Snackbar-B4ylEaa1.js → Snackbar-DNzHR78G.js} +7 -7
  78. package/dist/{Step-C3KsW_sV.js → Step-De_J26Kx.js} +3 -3
  79. package/dist/{StepButton-Cm9DhOQx.js → StepButton-Ct5V996M.js} +5 -5
  80. package/dist/{StepConnector-DK4MJqzZ.js → StepConnector-D2zy7UfA.js} +4 -4
  81. package/dist/{StepContent-Dl6UHgdu.js → StepContent-CGd0JHuK.js} +5 -5
  82. package/dist/{StepIcon-ElSTT-7B.js → StepIcon-DtjJGPoX.js} +6 -6
  83. package/dist/{StepLabel-B_4bjXGA.js → StepLabel-tG0KXLar.js} +5 -5
  84. package/dist/{Stepper-CMQnaky0.js → Stepper-D8YGPzfv.js} +4 -4
  85. package/dist/{SvgIcon-CAF-TTUy.js → SvgIcon-SrruGHpO.js} +4 -4
  86. package/dist/{Switch-C72ijhRh.js → Switch-B8V1pe_R.js} +5 -5
  87. package/dist/{SwitchBase-BxwR-ITa.js → SwitchBase-CZegcH6m.js} +4 -4
  88. package/dist/{Tab-DpKBtsUw.js → Tab-DZoEFF3d.js} +5 -5
  89. package/dist/Table-qXK3k7_9.js +134 -0
  90. package/dist/TableBody-Cz4-zG4_.js +83 -0
  91. package/dist/TableCell-DoYXdVk-.js +247 -0
  92. package/dist/TableContainer-C9YDy1mv.js +77 -0
  93. package/dist/TableContext-DMoc2nds.js +6 -0
  94. package/dist/TableFooter-BNiCxiFp.js +83 -0
  95. package/dist/TableHead-CIgnNtbe.js +83 -0
  96. package/dist/TableRow-BtFlGgF8.js +120 -0
  97. package/dist/Tablelvl2Context-Bk64984_.js +6 -0
  98. package/dist/{Tabs-SKtYSjnS.js → Tabs-DzfngSGu.js} +7 -7
  99. package/dist/{ThemeProviderWithVars-Cd9Vwf-U.js → ThemeProviderWithVars-Dkq81Wx8.js} +4 -4
  100. package/dist/ToggleButton-BoIRPL6Y.js +246 -0
  101. package/dist/ToggleButtonGroup-BinoCAui.js +245 -0
  102. package/dist/ToggleButtonGroupButtonContext-BgZ0ZVmu.js +16 -0
  103. package/dist/{Toolbar-Dmu2ceP6.js → Toolbar-BrvXkKNF.js} +4 -4
  104. package/dist/{Tooltip-BJmTHiZe.js → Tooltip-BAUhcOqU.js} +7 -7
  105. package/dist/{Typography-DnNWmNen.js → Typography-DHgJeiAU.js} +5 -5
  106. package/dist/{WarningAmberOutlined-Bip82sqV.js → WarningAmberOutlined-DEuXzxTT.js} +9 -12
  107. package/dist/Zoom-DWJxiZNB.js +170 -0
  108. package/dist/{ZoomOut-BPcEBCcb.js → ZoomOut-D9dmi-BN.js} +1 -1
  109. package/dist/components/Accordion/index.js +1 -1
  110. package/dist/components/AccordionActions/index.js +1 -1
  111. package/dist/components/AccordionDetails/index.js +1 -1
  112. package/dist/components/AccordionSummary/index.js +1 -1
  113. package/dist/components/Alert/index.js +1 -1
  114. package/dist/components/AlertTitle/index.js +1 -1
  115. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  116. package/dist/components/Autocomplete/index.js +1 -1
  117. package/dist/components/AutocompleteControl/AutocompleteControl.js +9 -9
  118. package/dist/components/AutocompleteControl/index.js +1 -1
  119. package/dist/components/Avatar/index.js +1 -1
  120. package/dist/components/AvatarGroup/index.js +1 -1
  121. package/dist/components/Backdrop/index.js +1 -1
  122. package/dist/components/Badge/index.js +1 -1
  123. package/dist/components/Box/index.js +1 -1
  124. package/dist/components/Breadcrumbs/index.js +1 -1
  125. package/dist/components/Button/Button.js +1 -1
  126. package/dist/components/ButtonBase/index.js +1 -1
  127. package/dist/components/ButtonGroup/ButtonGroup.theme.d.ts +2 -0
  128. package/dist/components/ButtonGroup/ButtonGroup.theme.js +27 -0
  129. package/dist/components/ButtonGroup/index.js +1 -1
  130. package/dist/components/Card/index.js +1 -1
  131. package/dist/components/CardActionArea/index.js +1 -1
  132. package/dist/components/CardActions/index.js +1 -1
  133. package/dist/components/CardContent/index.js +1 -1
  134. package/dist/components/CardHeader/index.js +1 -1
  135. package/dist/components/CardMedia/index.js +1 -1
  136. package/dist/components/Checkbox/index.js +1 -1
  137. package/dist/components/Chip/Chip.js +1 -1
  138. package/dist/components/CircularProgress/index.js +1 -1
  139. package/dist/components/Collapse/index.d.ts +2 -0
  140. package/dist/components/Collapse/index.js +6 -0
  141. package/dist/components/Container/index.js +1 -1
  142. package/dist/components/CssBaseline/index.js +1 -1
  143. package/dist/components/Datepicker/Datepicker.js +3 -3
  144. package/dist/components/Datepicker/index.js +2 -2
  145. package/dist/components/DatepickerControl/DatepickerControl.js +9 -9
  146. package/dist/components/DatepickerControl/index.js +1 -1
  147. package/dist/components/DescriptionDetails/DescriptionDetails.js +1 -1
  148. package/dist/components/DescriptionList/DescriptionList.js +1 -1
  149. package/dist/components/DescriptionTerm/DescriptionTerm.js +1 -1
  150. package/dist/components/Dialog/index.js +1 -1
  151. package/dist/components/DialogActions/index.js +1 -1
  152. package/dist/components/DialogClose/DialogClose.d.ts +5 -0
  153. package/dist/components/DialogClose/DialogClose.js +42 -0
  154. package/dist/components/DialogClose/index.d.ts +1 -0
  155. package/dist/components/DialogClose/index.js +4 -0
  156. package/dist/components/DialogContent/index.js +1 -1
  157. package/dist/components/DialogContentText/index.js +1 -1
  158. package/dist/components/DialogTitle/index.js +2 -2
  159. package/dist/components/Divider/index.js +2 -2
  160. package/dist/components/Drawer/index.js +1 -1
  161. package/dist/components/Fade/index.d.ts +2 -0
  162. package/dist/components/Fade/index.js +4 -0
  163. package/dist/components/FormControl/index.js +1 -1
  164. package/dist/components/FormControlLabel/index.js +1 -1
  165. package/dist/components/FormGroup/index.js +1 -1
  166. package/dist/components/FormHelperText/index.js +1 -1
  167. package/dist/components/FormLabel/index.js +1 -1
  168. package/dist/components/FormSublabel/FormSublabel.js +6 -6
  169. package/dist/components/FormSublabel/index.js +1 -1
  170. package/dist/components/Grow/index.d.ts +2 -0
  171. package/dist/components/Grow/index.js +4 -0
  172. package/dist/components/IconButton/index.js +1 -1
  173. package/dist/components/Input/Input.js +1 -1
  174. package/dist/components/InputAdornment/index.js +1 -1
  175. package/dist/components/InputControl/InputControl.js +9 -9
  176. package/dist/components/InputControl/index.js +1 -1
  177. package/dist/components/LinearProgress/index.js +1 -1
  178. package/dist/components/Link/index.js +1 -1
  179. package/dist/components/List/index.js +1 -1
  180. package/dist/components/ListItem/index.js +1 -1
  181. package/dist/components/ListItemAvatar/index.js +1 -1
  182. package/dist/components/ListItemButton/index.js +2 -2
  183. package/dist/components/ListItemIcon/index.js +2 -2
  184. package/dist/components/ListItemText/index.js +2 -2
  185. package/dist/components/ListSubheader/index.js +1 -1
  186. package/dist/components/Menu/index.js +1 -1
  187. package/dist/components/MenuItem/index.js +1 -1
  188. package/dist/components/MenuList/index.js +1 -1
  189. package/dist/components/NumberInput/NumberInput.js +3 -3
  190. package/dist/components/NumberInput/index.js +1 -1
  191. package/dist/components/NumberInputControl/NumberInputControl.js +9 -9
  192. package/dist/components/NumberInputControl/index.js +1 -1
  193. package/dist/components/Paper/index.js +1 -1
  194. package/dist/components/Popover/index.js +1 -1
  195. package/dist/components/Popper/index.js +1 -1
  196. package/dist/components/Radio/index.js +1 -1
  197. package/dist/components/RadioGroup/index.js +1 -1
  198. package/dist/components/Select/Select.js +1 -1
  199. package/dist/components/Select/index.js +1 -1
  200. package/dist/components/SelectControl/SelectControl.js +9 -9
  201. package/dist/components/SelectControl/index.js +1 -1
  202. package/dist/components/Skeleton/index.js +1 -1
  203. package/dist/components/Slide/index.d.ts +2 -0
  204. package/dist/components/Slide/index.js +4 -0
  205. package/dist/components/Snackbar/index.js +1 -1
  206. package/dist/components/Stack/index.js +1 -1
  207. package/dist/components/Step/index.js +1 -1
  208. package/dist/components/StepButton/index.js +1 -1
  209. package/dist/components/StepConnector/index.js +1 -1
  210. package/dist/components/StepContent/index.js +1 -1
  211. package/dist/components/StepIcon/index.js +1 -1
  212. package/dist/components/StepLabel/index.js +1 -1
  213. package/dist/components/Stepper/index.js +1 -1
  214. package/dist/components/SvgIcon/index.js +1 -1
  215. package/dist/components/Switch/index.js +1 -1
  216. package/dist/components/Tab/index.js +1 -1
  217. package/dist/components/Table/index.d.ts +2 -0
  218. package/dist/components/Table/index.js +6 -0
  219. package/dist/components/TableBody/index.d.ts +2 -0
  220. package/dist/components/TableBody/index.js +6 -0
  221. package/dist/components/TableCell/index.d.ts +2 -0
  222. package/dist/components/TableCell/index.js +6 -0
  223. package/dist/components/TableContainer/index.d.ts +2 -0
  224. package/dist/components/TableContainer/index.js +6 -0
  225. package/dist/components/TableFooter/index.d.ts +2 -0
  226. package/dist/components/TableFooter/index.js +6 -0
  227. package/dist/components/TableHead/index.d.ts +2 -0
  228. package/dist/components/TableHead/index.js +6 -0
  229. package/dist/components/TableRow/index.d.ts +2 -0
  230. package/dist/components/TableRow/index.js +6 -0
  231. package/dist/components/Tabs/index.js +1 -1
  232. package/dist/components/ThemeProvider/ThemeProvider.js +2 -2
  233. package/dist/components/ToastContainer/ToastContainer.js +24 -6
  234. package/dist/components/ToastContainer/useToast.js +20 -19
  235. package/dist/components/ToggleButton/ToggleButton.theme.d.ts +2 -0
  236. package/dist/components/ToggleButton/ToggleButton.theme.js +28 -0
  237. package/dist/components/ToggleButton/index.d.ts +2 -0
  238. package/dist/components/ToggleButton/index.js +7 -0
  239. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.theme.d.ts +2 -0
  240. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.theme.js +62 -0
  241. package/dist/components/ToggleButtonGroup/index.d.ts +2 -0
  242. package/dist/components/ToggleButtonGroup/index.js +6 -0
  243. package/dist/components/Toolbar/index.js +1 -1
  244. package/dist/components/Tooltip/index.js +1 -1
  245. package/dist/components/Typography/index.js +1 -1
  246. package/dist/components/Zoom/index.d.ts +2 -0
  247. package/dist/components/Zoom/index.js +4 -0
  248. package/dist/{containerClasses-BzFNrSIR.js → containerClasses-D1k-OQxc.js} +5 -5
  249. package/dist/{createSvgIcon-DHWmMfd-.js → createSvgIcon-CGGjtU_g.js} +1 -1
  250. package/dist/{createTheme-BnGUhbht.js → createTheme-B1FDFl52.js} +3 -3
  251. package/dist/defaultTheme-BSvUK9rJ.js +5 -0
  252. package/dist/{dialogTitleClasses-Y20vamk3.js → dialogTitleClasses-dak6NgSZ.js} +2 -2
  253. package/dist/{dividerClasses-C13nqEzJ.js → dividerClasses-BejrNVgA.js} +2 -2
  254. package/dist/emotion-element-f0de968e.browser.esm-CX7iy5u6.js +903 -0
  255. package/dist/{emotion-react.browser.esm-VKtuqypl.js → emotion-react.browser.esm-CvjRvNuP.js} +1 -1
  256. package/dist/{extendSxProp-Ch2FDJvf.js → extendSxProp-Cae9F896.js} +1 -1
  257. package/dist/{generateUtilityClasses-njw3KdKN.js → generateUtilityClasses-CIjBDg4V.js} +1 -1
  258. package/dist/getValidReactChildren-ueQX-LDd.js +7 -0
  259. package/dist/icons/ClearstoryIcon.js +1 -1
  260. package/dist/icons/InternalOnlyIcon.js +1 -1
  261. package/dist/icons/MoneyBucketIcon.js +1 -1
  262. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  263. package/dist/icons/index.js +26 -25
  264. package/dist/{index-JqwbD7Nb.js → index-ChmGGOCR.js} +2 -2
  265. package/dist/index-Dt2kGIWG.js +249 -0
  266. package/dist/{index-De_dzPp4.js → index-kh0XXQaW.js} +4 -4
  267. package/dist/{listItemButtonClasses-B_nV0YiI.js → listItemButtonClasses-DK3pwe9e.js} +2 -2
  268. package/dist/{listItemIconClasses-CMPPJSFR.js → listItemIconClasses-Dj1KxRly.js} +2 -2
  269. package/dist/{listItemTextClasses-BUDn-rsR.js → listItemTextClasses-CepMuqE-.js} +2 -2
  270. package/dist/main.d.ts +15 -0
  271. package/dist/main.js +484 -432
  272. package/dist/{memoTheme-R-LnLD8I.js → memoTheme-CCudmmpb.js} +1 -1
  273. package/dist/{stackClasses-BGzeCt42.js → stackClasses-BcAe238O.js} +6 -6
  274. package/dist/styled-C1tcllXX.js +5 -0
  275. package/dist/{styled-fvngWWLy.js → styled-D8CtiDxW.js} +9 -8
  276. package/dist/theme/components.js +42 -36
  277. package/dist/theme/index.js +7 -7
  278. package/dist/theme/internal.js +1 -1
  279. package/dist/useTheme-DAG00iEG.js +11 -0
  280. package/dist/{useTheme-Cz5y14_g.js → useTheme-zuIKvOcV.js} +4 -4
  281. package/dist/{useThemeProps-FvXli9RO.js → useThemeProps-BaZ_Jfig.js} +1 -1
  282. package/package.json +1 -1
  283. package/dist/Backdrop-DLtFFTHy.js +0 -365
  284. package/dist/Drawer-SY5DxFp0.js +0 -634
  285. package/dist/defaultTheme-B960IsQ-.js +0 -5
  286. package/dist/index-YQi4Xs-t.js +0 -1143
  287. package/dist/styled-DKUIcd6R.js +0 -5
  288. package/dist/useTheme-CbsaMxqD.js +0 -11
@@ -1,634 +0,0 @@
1
- import * as h from "react";
2
- import { P as e } from "./index-CyAhC1RZ.js";
3
- import { c as H } from "./clsx-OuTLNxxd.js";
4
- import { u as oe } from "./index-D2IRntbh.js";
5
- import { s as U, r as ne } from "./styled-fvngWWLy.js";
6
- import { u as q } from "./useTheme-CbsaMxqD.js";
7
- import { jsx as k } from "react/jsx-runtime";
8
- import { m as G } from "./memoTheme-R-LnLD8I.js";
9
- import { g as se } from "./generateUtilityClasses-njw3KdKN.js";
10
- import { c as ie, j as O } from "./createTheme-BnGUhbht.js";
11
- import { u as A } from "./useSlot-BVGwJA4b.js";
12
- import { u as ae } from "./DefaultPropsProvider-Hks9kyHW.js";
13
- import { m as pe } from "./mergeSlotProps-CuzBQdlp.js";
14
- import { T as ce, g as _, r as le } from "./utils-CAuCuXQr.js";
15
- import { u as de } from "./useForkRef-9kN4DArm.js";
16
- import { g as fe } from "./getReactElementRef-DA-Xf2PF.js";
17
- import { d as ue } from "./debounce-46wSf_lW.js";
18
- import { o as J } from "./ownerWindow-niciwP7I.js";
19
- import { c as me } from "./chainPropTypes-D9lkm76m.js";
20
- import { e as he } from "./elementAcceptingRef-C0N4y82j.js";
21
- import { H as ge } from "./Portal-BD1qgEF2.js";
22
- import { c as ye } from "./composeClasses-2Ou-RZJr.js";
23
- import { M as be } from "./Modal-quA3LOv8.js";
24
- import { P as Te } from "./Paper-DpGDlTnE.js";
25
- import { i as xe } from "./integerPropType-BihGt2aU.js";
26
- function ve(r, t, s) {
27
- const n = t.getBoundingClientRect(), i = s && s.getBoundingClientRect(), b = J(t);
28
- let l;
29
- if (t.fakeTransform)
30
- l = t.fakeTransform;
31
- else {
32
- const p = b.getComputedStyle(t);
33
- l = p.getPropertyValue("-webkit-transform") || p.getPropertyValue("transform");
34
- }
35
- let u = 0, d = 0;
36
- if (l && l !== "none" && typeof l == "string") {
37
- const p = l.split("(")[1].split(")")[0].split(",");
38
- u = parseInt(p[4], 10), d = parseInt(p[5], 10);
39
- }
40
- return r === "left" ? i ? `translateX(${i.right + u - n.left}px)` : `translateX(${b.innerWidth + u - n.left}px)` : r === "right" ? i ? `translateX(-${n.right - i.left - u}px)` : `translateX(-${n.left + n.width - u}px)` : r === "up" ? i ? `translateY(${i.bottom + d - n.top}px)` : `translateY(${b.innerHeight + d - n.top}px)` : i ? `translateY(-${n.top - i.top + n.height - d}px)` : `translateY(-${n.top + n.height - d}px)`;
41
- }
42
- function K(r) {
43
- return typeof r == "function" ? r() : r;
44
- }
45
- function B(r, t, s) {
46
- const n = K(s), i = ve(r, t, n);
47
- i && (t.style.webkitTransform = i, t.style.transform = i);
48
- }
49
- const Q = /* @__PURE__ */ h.forwardRef(function(t, s) {
50
- const n = q(), i = {
51
- enter: n.transitions.easing.easeOut,
52
- exit: n.transitions.easing.sharp
53
- }, b = {
54
- enter: n.transitions.duration.enteringScreen,
55
- exit: n.transitions.duration.leavingScreen
56
- }, {
57
- addEndListener: l,
58
- appear: u = !0,
59
- children: d,
60
- container: p,
61
- direction: f = "down",
62
- easing: D = i,
63
- in: g,
64
- onEnter: j,
65
- onEntered: L,
66
- onEntering: $,
67
- onExit: P,
68
- onExited: R,
69
- onExiting: N,
70
- style: S,
71
- timeout: w = b,
72
- // eslint-disable-next-line react/prop-types
73
- TransitionComponent: E = ce,
74
- ...z
75
- } = t, c = h.useRef(null), C = de(fe(d), c, s), m = (o) => (a) => {
76
- o && (a === void 0 ? o(c.current) : o(c.current, a));
77
- }, I = m((o, a) => {
78
- B(f, o, p), le(o), j && j(o, a);
79
- }), Y = m((o, a) => {
80
- const v = _({
81
- timeout: w,
82
- style: S,
83
- easing: D
84
- }, {
85
- mode: "enter"
86
- });
87
- o.style.webkitTransition = n.transitions.create("-webkit-transform", {
88
- ...v
89
- }), o.style.transition = n.transitions.create("transform", {
90
- ...v
91
- }), o.style.webkitTransform = "none", o.style.transform = "none", $ && $(o, a);
92
- }), T = m(L), x = m(N), y = m((o) => {
93
- const a = _({
94
- timeout: w,
95
- style: S,
96
- easing: D
97
- }, {
98
- mode: "exit"
99
- });
100
- o.style.webkitTransition = n.transitions.create("-webkit-transform", a), o.style.transition = n.transitions.create("transform", a), B(f, o, p), P && P(o);
101
- }), V = m((o) => {
102
- o.style.webkitTransition = "", o.style.transition = "", R && R(o);
103
- }), F = (o) => {
104
- l && l(c.current, o);
105
- }, M = h.useCallback(() => {
106
- c.current && B(f, c.current, p);
107
- }, [f, p]);
108
- return h.useEffect(() => {
109
- if (g || f === "down" || f === "right")
110
- return;
111
- const o = ue(() => {
112
- c.current && B(f, c.current, p);
113
- }), a = J(c.current);
114
- return a.addEventListener("resize", o), () => {
115
- o.clear(), a.removeEventListener("resize", o);
116
- };
117
- }, [f, g, p]), h.useEffect(() => {
118
- g || M();
119
- }, [g, M]), /* @__PURE__ */ k(E, {
120
- nodeRef: c,
121
- onEnter: I,
122
- onEntered: T,
123
- onEntering: Y,
124
- onExit: y,
125
- onExited: V,
126
- onExiting: x,
127
- addEndListener: F,
128
- appear: u,
129
- in: g,
130
- timeout: w,
131
- ...z,
132
- children: (o, {
133
- ownerState: a,
134
- ...v
135
- }) => /* @__PURE__ */ h.cloneElement(d, {
136
- ref: C,
137
- style: {
138
- visibility: o === "exited" && !g ? "hidden" : void 0,
139
- ...S,
140
- ...d.props.style
141
- },
142
- ...v
143
- })
144
- });
145
- });
146
- process.env.NODE_ENV !== "production" && (Q.propTypes = {
147
- // ┌────────────────────────────── Warning ──────────────────────────────┐
148
- // │ These PropTypes are generated from the TypeScript type definitions. │
149
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
150
- // └─────────────────────────────────────────────────────────────────────┘
151
- /**
152
- * Add a custom transition end trigger. Called with the transitioning DOM
153
- * node and a done callback. Allows for more fine grained transition end
154
- * logic. Note: Timeouts are still used as a fallback if provided.
155
- */
156
- addEndListener: e.func,
157
- /**
158
- * Perform the enter transition when it first mounts if `in` is also `true`.
159
- * Set this to `false` to disable this behavior.
160
- * @default true
161
- */
162
- appear: e.bool,
163
- /**
164
- * A single child content element.
165
- */
166
- children: he.isRequired,
167
- /**
168
- * An HTML element, or a function that returns one.
169
- * It's used to set the container the Slide is transitioning from.
170
- */
171
- container: me(e.oneOfType([ge, e.func]), (r) => {
172
- if (r.open) {
173
- const t = K(r.container);
174
- if (t && t.nodeType === 1) {
175
- const s = t.getBoundingClientRect();
176
- if (process.env.NODE_ENV !== "test" && s.top === 0 && s.left === 0 && s.right === 0 && s.bottom === 0)
177
- return new Error(["MUI: The `container` 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(`
178
- `));
179
- } else if (!t || typeof t.getBoundingClientRect != "function" || t.contextElement != null && t.contextElement.nodeType !== 1)
180
- return new Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join(`
181
- `));
182
- }
183
- return null;
184
- }),
185
- /**
186
- * Direction the child node will enter from.
187
- * @default 'down'
188
- */
189
- direction: e.oneOf(["down", "left", "right", "up"]),
190
- /**
191
- * The transition timing function.
192
- * You may specify a single easing or a object containing enter and exit values.
193
- * @default {
194
- * enter: theme.transitions.easing.easeOut,
195
- * exit: theme.transitions.easing.sharp,
196
- * }
197
- */
198
- easing: e.oneOfType([e.shape({
199
- enter: e.string,
200
- exit: e.string
201
- }), e.string]),
202
- /**
203
- * If `true`, the component will transition in.
204
- */
205
- in: e.bool,
206
- /**
207
- * @ignore
208
- */
209
- onEnter: e.func,
210
- /**
211
- * @ignore
212
- */
213
- onEntered: e.func,
214
- /**
215
- * @ignore
216
- */
217
- onEntering: e.func,
218
- /**
219
- * @ignore
220
- */
221
- onExit: e.func,
222
- /**
223
- * @ignore
224
- */
225
- onExited: e.func,
226
- /**
227
- * @ignore
228
- */
229
- onExiting: e.func,
230
- /**
231
- * @ignore
232
- */
233
- style: e.object,
234
- /**
235
- * The duration for the transition, in milliseconds.
236
- * You may specify a single timeout for all transitions, or individually with an object.
237
- * @default {
238
- * enter: theme.transitions.duration.enteringScreen,
239
- * exit: theme.transitions.duration.leavingScreen,
240
- * }
241
- */
242
- timeout: e.oneOfType([e.number, e.shape({
243
- appear: e.number,
244
- enter: e.number,
245
- exit: e.number
246
- })])
247
- });
248
- function Pe(r) {
249
- return ie("MuiDrawer", r);
250
- }
251
- const et = se("MuiDrawer", ["root", "docked", "paper", "anchorLeft", "anchorRight", "anchorTop", "anchorBottom", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]), Z = (r, t) => {
252
- const {
253
- ownerState: s
254
- } = r;
255
- return [t.root, (s.variant === "permanent" || s.variant === "persistent") && t.docked, t.modal];
256
- }, we = (r) => {
257
- const {
258
- classes: t,
259
- anchor: s,
260
- variant: n
261
- } = r, i = {
262
- root: ["root", `anchor${O(s)}`],
263
- docked: [(n === "permanent" || n === "persistent") && "docked"],
264
- modal: ["modal"],
265
- paper: ["paper", `paperAnchor${O(s)}`, n !== "temporary" && `paperAnchorDocked${O(s)}`]
266
- };
267
- return ye(i, Pe, t);
268
- }, Ee = U(be, {
269
- name: "MuiDrawer",
270
- slot: "Root",
271
- overridesResolver: Z
272
- })(G(({
273
- theme: r
274
- }) => ({
275
- zIndex: (r.vars || r).zIndex.drawer
276
- }))), ke = U("div", {
277
- shouldForwardProp: ne,
278
- name: "MuiDrawer",
279
- slot: "Docked",
280
- skipVariantsResolver: !1,
281
- overridesResolver: Z
282
- })({
283
- flex: "0 0 auto"
284
- }), De = U(Te, {
285
- name: "MuiDrawer",
286
- slot: "Paper",
287
- overridesResolver: (r, t) => {
288
- const {
289
- ownerState: s
290
- } = r;
291
- return [t.paper, t[`paperAnchor${O(s.anchor)}`], s.variant !== "temporary" && t[`paperAnchorDocked${O(s.anchor)}`]];
292
- }
293
- })(G(({
294
- theme: r
295
- }) => ({
296
- overflowY: "auto",
297
- display: "flex",
298
- flexDirection: "column",
299
- height: "100%",
300
- flex: "1 0 auto",
301
- zIndex: (r.vars || r).zIndex.drawer,
302
- // Add iOS momentum scrolling for iOS < 13.0
303
- WebkitOverflowScrolling: "touch",
304
- // temporary style
305
- position: "fixed",
306
- top: 0,
307
- // We disable the focus ring for mouse, touch and keyboard users.
308
- // At some point, it would be better to keep it for keyboard users.
309
- // :focus-ring CSS pseudo-class will help.
310
- outline: 0,
311
- variants: [{
312
- props: {
313
- anchor: "left"
314
- },
315
- style: {
316
- left: 0
317
- }
318
- }, {
319
- props: {
320
- anchor: "top"
321
- },
322
- style: {
323
- top: 0,
324
- left: 0,
325
- right: 0,
326
- height: "auto",
327
- maxHeight: "100%"
328
- }
329
- }, {
330
- props: {
331
- anchor: "right"
332
- },
333
- style: {
334
- right: 0
335
- }
336
- }, {
337
- props: {
338
- anchor: "bottom"
339
- },
340
- style: {
341
- top: "auto",
342
- left: 0,
343
- bottom: 0,
344
- right: 0,
345
- height: "auto",
346
- maxHeight: "100%"
347
- }
348
- }, {
349
- props: ({
350
- ownerState: t
351
- }) => t.anchor === "left" && t.variant !== "temporary",
352
- style: {
353
- borderRight: `1px solid ${(r.vars || r).palette.divider}`
354
- }
355
- }, {
356
- props: ({
357
- ownerState: t
358
- }) => t.anchor === "top" && t.variant !== "temporary",
359
- style: {
360
- borderBottom: `1px solid ${(r.vars || r).palette.divider}`
361
- }
362
- }, {
363
- props: ({
364
- ownerState: t
365
- }) => t.anchor === "right" && t.variant !== "temporary",
366
- style: {
367
- borderLeft: `1px solid ${(r.vars || r).palette.divider}`
368
- }
369
- }, {
370
- props: ({
371
- ownerState: t
372
- }) => t.anchor === "bottom" && t.variant !== "temporary",
373
- style: {
374
- borderTop: `1px solid ${(r.vars || r).palette.divider}`
375
- }
376
- }]
377
- }))), ee = {
378
- left: "right",
379
- right: "left",
380
- top: "down",
381
- bottom: "up"
382
- };
383
- function Re(r) {
384
- return ["left", "right"].includes(r);
385
- }
386
- function Se({
387
- direction: r
388
- }, t) {
389
- return r === "rtl" && Re(t) ? ee[t] : t;
390
- }
391
- const Ce = /* @__PURE__ */ h.forwardRef(function(t, s) {
392
- const n = ae({
393
- props: t,
394
- name: "MuiDrawer"
395
- }), i = q(), b = oe(), l = {
396
- enter: i.transitions.duration.enteringScreen,
397
- exit: i.transitions.duration.leavingScreen
398
- }, {
399
- anchor: u = "left",
400
- BackdropProps: d,
401
- children: p,
402
- className: f,
403
- elevation: D = 16,
404
- hideBackdrop: g = !1,
405
- ModalProps: {
406
- BackdropProps: j,
407
- ...L
408
- } = {},
409
- onClose: $,
410
- open: P = !1,
411
- PaperProps: R = {},
412
- SlideProps: N,
413
- // eslint-disable-next-line react/prop-types
414
- TransitionComponent: S,
415
- transitionDuration: w = l,
416
- variant: E = "temporary",
417
- slots: z = {},
418
- slotProps: c = {},
419
- ...C
420
- } = n, m = h.useRef(!1);
421
- h.useEffect(() => {
422
- m.current = !0;
423
- }, []);
424
- const I = Se({
425
- direction: b ? "rtl" : "ltr"
426
- }, u), T = {
427
- ...n,
428
- anchor: u,
429
- elevation: D,
430
- open: P,
431
- variant: E,
432
- ...C
433
- }, x = we(T), y = {
434
- slots: {
435
- transition: S,
436
- ...z
437
- },
438
- slotProps: {
439
- paper: R,
440
- transition: N,
441
- ...c,
442
- backdrop: pe(c.backdrop || {
443
- ...d,
444
- ...j
445
- }, {
446
- transitionDuration: w
447
- })
448
- }
449
- }, [V, F] = A("root", {
450
- ref: s,
451
- elementType: Ee,
452
- className: H(x.root, x.modal, f),
453
- shouldForwardComponentProp: !0,
454
- ownerState: T,
455
- externalForwardedProps: {
456
- ...y,
457
- ...C,
458
- ...L
459
- },
460
- additionalProps: {
461
- open: P,
462
- onClose: $,
463
- hideBackdrop: g,
464
- slots: {
465
- backdrop: y.slots.backdrop
466
- },
467
- slotProps: {
468
- backdrop: y.slotProps.backdrop
469
- }
470
- }
471
- }), [M, o] = A("paper", {
472
- elementType: De,
473
- shouldForwardComponentProp: !0,
474
- className: H(x.paper, R.className),
475
- ownerState: T,
476
- externalForwardedProps: y,
477
- additionalProps: {
478
- elevation: E === "temporary" ? D : 0,
479
- square: !0
480
- }
481
- }), [a, v] = A("docked", {
482
- elementType: ke,
483
- ref: s,
484
- className: H(x.root, x.docked, f),
485
- ownerState: T,
486
- externalForwardedProps: y,
487
- additionalProps: C
488
- // pass `other` here because `DockedSlot` is also a root slot for some variants
489
- }), [te, re] = A("transition", {
490
- elementType: Q,
491
- ownerState: T,
492
- externalForwardedProps: y,
493
- additionalProps: {
494
- in: P,
495
- direction: ee[I],
496
- timeout: w,
497
- appear: m.current
498
- }
499
- }), W = /* @__PURE__ */ k(M, {
500
- ...o,
501
- children: p
502
- });
503
- if (E === "permanent")
504
- return /* @__PURE__ */ k(a, {
505
- ...v,
506
- children: W
507
- });
508
- const X = /* @__PURE__ */ k(te, {
509
- ...re,
510
- children: W
511
- });
512
- return E === "persistent" ? /* @__PURE__ */ k(a, {
513
- ...v,
514
- children: X
515
- }) : /* @__PURE__ */ k(V, {
516
- ...F,
517
- children: X
518
- });
519
- });
520
- process.env.NODE_ENV !== "production" && (Ce.propTypes = {
521
- // ┌────────────────────────────── Warning ──────────────────────────────┐
522
- // │ These PropTypes are generated from the TypeScript type definitions. │
523
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
524
- // └─────────────────────────────────────────────────────────────────────┘
525
- /**
526
- * Side from which the drawer will appear.
527
- * @default 'left'
528
- */
529
- anchor: e.oneOf(["bottom", "left", "right", "top"]),
530
- /**
531
- * @ignore
532
- */
533
- BackdropProps: e.object,
534
- /**
535
- * The content of the component.
536
- */
537
- children: e.node,
538
- /**
539
- * Override or extend the styles applied to the component.
540
- */
541
- classes: e.object,
542
- /**
543
- * @ignore
544
- */
545
- className: e.string,
546
- /**
547
- * The elevation of the drawer.
548
- * @default 16
549
- */
550
- elevation: xe,
551
- /**
552
- * If `true`, the backdrop is not rendered.
553
- * @default false
554
- */
555
- hideBackdrop: e.bool,
556
- /**
557
- * Props applied to the [`Modal`](https://mui.com/material-ui/api/modal/) element.
558
- * @default {}
559
- */
560
- ModalProps: e.object,
561
- /**
562
- * Callback fired when the component requests to be closed.
563
- * The `reason` parameter can optionally be used to control the response to `onClose`.
564
- *
565
- * @param {object} event The event source of the callback.
566
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
567
- */
568
- onClose: e.func,
569
- /**
570
- * If `true`, the component is shown.
571
- * @default false
572
- */
573
- open: e.bool,
574
- /**
575
- * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
576
- * @deprecated use the `slotProps.paper` 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.
577
- * @default {}
578
- */
579
- PaperProps: e.object,
580
- /**
581
- * Props applied to the [`Slide`](https://mui.com/material-ui/api/slide/) element.
582
- * @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.
583
- */
584
- SlideProps: e.object,
585
- /**
586
- * The props used for each slot inside.
587
- * @default {}
588
- */
589
- slotProps: e.shape({
590
- backdrop: e.oneOfType([e.func, e.object]),
591
- docked: e.oneOfType([e.func, e.object]),
592
- paper: e.oneOfType([e.func, e.object]),
593
- root: e.oneOfType([e.func, e.object]),
594
- transition: e.oneOfType([e.func, e.object])
595
- }),
596
- /**
597
- * The components used for each slot inside.
598
- * @default {}
599
- */
600
- slots: e.shape({
601
- backdrop: e.elementType,
602
- docked: e.elementType,
603
- paper: e.elementType,
604
- root: e.elementType,
605
- transition: e.elementType
606
- }),
607
- /**
608
- * The system prop that allows defining system overrides as well as additional CSS styles.
609
- */
610
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
611
- /**
612
- * The duration for the transition, in milliseconds.
613
- * You may specify a single timeout for all transitions, or individually with an object.
614
- * @default {
615
- * enter: theme.transitions.duration.enteringScreen,
616
- * exit: theme.transitions.duration.leavingScreen,
617
- * }
618
- */
619
- transitionDuration: e.oneOfType([e.number, e.shape({
620
- appear: e.number,
621
- enter: e.number,
622
- exit: e.number
623
- })]),
624
- /**
625
- * The variant to use.
626
- * @default 'temporary'
627
- */
628
- variant: e.oneOf(["permanent", "persistent", "temporary"])
629
- });
630
- export {
631
- Ce as D,
632
- et as d,
633
- Pe as g
634
- };
@@ -1,5 +0,0 @@
1
- import { f as e } from "./createTheme-BnGUhbht.js";
2
- const a = e();
3
- export {
4
- a as d
5
- };