@clearstory/drywall-react 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/Accordion-Bjv72dwO.js +317 -0
  2. package/dist/{AccordionActions-C1ZT3281.js → AccordionActions-OpMdCn2Z.js} +4 -4
  3. package/dist/{AccordionDetails-DCfHx-gN.js → AccordionDetails-CgLf6g7z.js} +5 -5
  4. package/dist/{AccordionSummary-BBUJY2Md.js → AccordionSummary-BBzy17VA.js} +6 -6
  5. package/dist/{AdapterDayjs-C8ZgwrtX.js → AdapterDayjs-DHQqsLxp.js} +57 -57
  6. package/dist/{Alert-DcX_y1AL.js → Alert-CwVHuUeb.js} +9 -9
  7. package/dist/{AlertTitle-uPLtFYGV.js → AlertTitle-BJh7YkkD.js} +6 -6
  8. package/dist/{ArrowDropDown-B_GoxrEG.js → ArrowDropDown-1q6M8Obd.js} +4 -4
  9. package/dist/{Autocomplete-CvzurW86.js → Autocomplete-BJRGyATm.js} +16 -16
  10. package/dist/{Avatar-eq-ldnqA.js → Avatar-BW1coVo5.js} +6 -6
  11. package/dist/{AvatarGroup-DT47Vv-P.js → AvatarGroup-Cymumkbs.js} +6 -6
  12. package/dist/{Backdrop-C5vDuTS2.js → Backdrop-D9hYyloM.js} +7 -7
  13. package/dist/{Badge-C1z58sm7.js → Badge-CKX_N8SZ.js} +5 -5
  14. package/dist/{Box-DgV1WTGz.js → Box-O7SvtIw8.js} +8 -8
  15. package/dist/{Breadcrumbs-BnV1lLSV.js → Breadcrumbs-fB-IPg0A.js} +8 -8
  16. package/dist/{Button-I-mRnNZH.js → Button-CGfvySfX.js} +8 -8
  17. package/dist/{ButtonBase-BTeC5f5N.js → ButtonBase-BPJ8MSTg.js} +9 -9
  18. package/dist/{ButtonGroup-BGE_09t8.js → ButtonGroup-DejD8J4b.js} +5 -5
  19. package/dist/{Card-DovaR-aa.js → Card-C4KBUbxB.js} +5 -5
  20. package/dist/{CardActionArea-CQxIU8XV.js → CardActionArea-Bn4UpyQS.js} +6 -6
  21. package/dist/{CardActions-LAfIukud.js → CardActions-pYmlOEiI.js} +4 -4
  22. package/dist/{CardContent-CdN6sXl-.js → CardContent-DeEDpoJu.js} +4 -4
  23. package/dist/{CardHeader-y0n80wwL.js → CardHeader-kp6aSapw.js} +5 -5
  24. package/dist/{CardMedia-DO1YS5pr.js → CardMedia-CCgHX4bc.js} +4 -4
  25. package/dist/{Checkbox-6FS_vXfI.js → Checkbox-BoQfL31i.js} +7 -7
  26. package/dist/{Chip-B4y0KVug.js → Chip-CGkjw3qR.js} +7 -7
  27. package/dist/{CircularProgress-DARwGqkC.js → CircularProgress-CjDaz1a_.js} +6 -6
  28. package/dist/{Clear-COrY0rQj.js → Clear-Cp_Sfbwo.js} +1 -1
  29. package/dist/{Close-C_rzwPZb.js → Close-CXMaN7wz.js} +1 -1
  30. package/dist/Collapse-Dled_24V.js +335 -0
  31. package/dist/{CssBaseline-BtuRtR8D.js → CssBaseline-B8z8Y0X2.js} +3 -3
  32. package/dist/{Datepicker-B2x_XpJy.js → Datepicker-DBHJAV8B.js} +36 -36
  33. package/dist/{DefaultPropsProvider-B8He4J5K.js → DefaultPropsProvider-B3clbJFR.js} +1 -1
  34. package/dist/{DefaultPropsProvider-DF9yx5s6.js → DefaultPropsProvider-PBxTVeaD.js} +2 -2
  35. package/dist/{Dialog-B_c7MQn7.js → Dialog-CgBDoc1Q.js} +9 -9
  36. package/dist/{DialogActions-Ss0tMQFB.js → DialogActions-B9aTR1RT.js} +4 -4
  37. package/dist/{DialogContent-lHBjGLnw.js → DialogContent-BQeFmie3.js} +6 -6
  38. package/dist/{DialogContentText-B7wS41vs.js → DialogContentText-DTcw2F2t.js} +5 -5
  39. package/dist/{DialogTitle-DyCS4Z68.js → DialogTitle-BKSAT2jz.js} +5 -5
  40. package/dist/{Divider-BIRa8_YW.js → Divider-CN1iZXpV.js} +5 -5
  41. package/dist/{Drawer-D_yvLAwI.js → Drawer-u9qup5a9.js} +12 -12
  42. package/dist/{FormControl-D8JOAADw.js → FormControl-D-rAmw3r.js} +4 -4
  43. package/dist/{FormControlLabel-B4nGYoAg.js → FormControlLabel-Dc1NyaPl.js} +7 -7
  44. package/dist/{FormGroup-DTqC5ZA-.js → FormGroup-C6hX5Rxp.js} +4 -4
  45. package/dist/{FormHelperText-hC6hxzfk.js → FormHelperText-BWHhdCfT.js} +5 -5
  46. package/dist/{FormLabel-8HY8QhhM.js → FormLabel-DNn2gpAc.js} +5 -5
  47. package/dist/{GlobalStyles-CZion1Aa.js → GlobalStyles-ChwRSWsx.js} +4 -4
  48. package/dist/{Grow-DeVbuqRT.js → Grow-DR-owdbZ.js} +4 -4
  49. package/dist/{IconButton-CBpbDzvE.js → IconButton-DhZf0uZp.js} +7 -7
  50. package/dist/{Info-CDNZW1YQ.js → Info-Nc5BG3Yc.js} +1 -1
  51. package/dist/{InputAdornment-hfdtaURj.js → InputAdornment-DbMMP6fx.js} +6 -6
  52. package/dist/{InputBase-C9Xo7i0F.js → InputBase-B6OIIVG0.js} +8 -8
  53. package/dist/{LinearProgress-BDR-nxDb.js → LinearProgress-BhzXKKHq.js} +7 -7
  54. package/dist/{Link-CnG4OqKm.js → Link-BMYQsA2J.js} +8 -8
  55. package/dist/{List-BgCeyPLh.js → List-BQ82y_D2.js} +4 -4
  56. package/dist/{ListItem-Canmgc7j.js → ListItem-BTJrs0xk.js} +7 -7
  57. package/dist/{ListItemAvatar-Db4h5ooI.js → ListItemAvatar-DMY5yneH.js} +4 -4
  58. package/dist/{ListItemButton-9UdMufnJ.js → ListItemButton-C53i6rKK.js} +6 -6
  59. package/dist/{ListItemIcon-DrmeEZyl.js → ListItemIcon-Cwg5u5_e.js} +5 -5
  60. package/dist/{ListItemText-CF-J9oub.js → ListItemText-BRX2EYOb.js} +5 -5
  61. package/dist/{ListSubheader-NNYrCr3A.js → ListSubheader-CHpW48wG.js} +5 -5
  62. package/dist/{Menu-BnLqPNN6.js → Menu-CA0hNHG8.js} +12 -12
  63. package/dist/{MenuItem-A3jSEMB-.js → MenuItem-Dw7SGa8b.js} +9 -9
  64. package/dist/{MenuList-Cv3f2gIi.js → MenuList-G9HnfsX2.js} +2 -2
  65. package/dist/{Modal--wPOUnot.js → Modal-DLT528-9.js} +8 -8
  66. package/dist/{Paper-PEfCpMjo.js → Paper-DeGJAQE9.js} +6 -6
  67. package/dist/{Popper-DikE99Jz.js → Popper-706X-ixW.js} +7 -7
  68. package/dist/{Portal-BibBHMIY.js → Portal-CkohOYPG.js} +1 -1
  69. package/dist/{Radio-CI6UYi5K.js → Radio-i1P4YKI7.js} +8 -8
  70. package/dist/{RadioGroup-P4ok8co3.js → RadioGroup-C0A6busY.js} +3 -3
  71. package/dist/{Select-BK6NpMk0.js → Select-tNyTsCta.js} +9 -9
  72. package/dist/{SelectControl-D9Wgw59-.js → SelectControl-Dq4iJSPa.js} +10 -10
  73. package/dist/{Skeleton-B5KZYNFz.js → Skeleton-B8pM1f3a.js} +6 -6
  74. package/dist/{Snackbar-BuPAimli.js → Snackbar-6S8FLk-7.js} +9 -9
  75. package/dist/Step-CwOFbDz2.js +166 -0
  76. package/dist/StepButton-4b7hYvlK.js +127 -0
  77. package/dist/StepConnector-BMHzfsfk.js +147 -0
  78. package/dist/StepContent-w8xvdrAQ.js +174 -0
  79. package/dist/StepContext-DBP0UfQI.js +17 -0
  80. package/dist/StepIcon-Cukq5aE2.js +156 -0
  81. package/dist/StepLabel-Cy2krTW-.js +264 -0
  82. package/dist/Stepper-Bm6IDco_.js +160 -0
  83. package/dist/{SvgIcon-BGsjo99W.js → SvgIcon-ChnoHwqF.js} +5 -5
  84. package/dist/{Switch-BkHJJnsn.js → Switch-yy-QweXX.js} +7 -7
  85. package/dist/{SwitchBase-uus85a3F.js → SwitchBase-D0pEK_t_.js} +5 -5
  86. package/dist/{Tab-BgDlYL8Z.js → Tab-DWUzd7y1.js} +6 -6
  87. package/dist/{Tabs-Ddl5wFQu.js → Tabs-BwX10hQ7.js} +10 -10
  88. package/dist/{ThemeProviderWithVars-e0hVbY5b.js → ThemeProviderWithVars-bg3WT8UX.js} +6 -6
  89. package/dist/{Toolbar-CEXB4NhM.js → Toolbar-UdVSl6Kk.js} +5 -5
  90. package/dist/{Tooltip-K2JJXsxE.js → Tooltip-CsdchI1h.js} +10 -10
  91. package/dist/{Typography-CYYcoWf5.js → Typography-DPs_xiDb.js} +6 -6
  92. package/dist/{WarningAmberOutlined-pTb3tAY6.js → WarningAmberOutlined-YV5tlDPZ.js} +1 -1
  93. package/dist/{ZoomOut-nS3fSkGz.js → ZoomOut-BFDV7ZI9.js} +113 -110
  94. package/dist/components/Accordion/index.js +1 -1
  95. package/dist/components/AccordionActions/index.js +1 -1
  96. package/dist/components/AccordionDetails/index.js +1 -1
  97. package/dist/components/AccordionSummary/index.js +1 -1
  98. package/dist/components/Alert/index.js +1 -1
  99. package/dist/components/AlertTitle/index.js +1 -1
  100. package/dist/components/Autocomplete/Autocomplete.js +3 -3
  101. package/dist/components/Autocomplete/index.js +1 -1
  102. package/dist/components/AutocompleteControl/AutocompleteControl.js +10 -10
  103. package/dist/components/AutocompleteControl/index.js +1 -1
  104. package/dist/components/Avatar/index.js +1 -1
  105. package/dist/components/AvatarGroup/index.js +1 -1
  106. package/dist/components/Backdrop/index.js +1 -1
  107. package/dist/components/Badge/index.js +1 -1
  108. package/dist/components/Box/index.js +1 -1
  109. package/dist/components/Breadcrumbs/index.js +1 -1
  110. package/dist/components/Button/index.js +1 -1
  111. package/dist/components/ButtonGroup/index.js +1 -1
  112. package/dist/components/Card/index.js +1 -1
  113. package/dist/components/CardActionArea/index.js +1 -1
  114. package/dist/components/CardActions/index.js +1 -1
  115. package/dist/components/CardContent/index.js +1 -1
  116. package/dist/components/CardHeader/index.js +1 -1
  117. package/dist/components/CardMedia/index.js +1 -1
  118. package/dist/components/Checkbox/index.js +1 -1
  119. package/dist/components/Chip/index.js +1 -1
  120. package/dist/components/CircularProgress/index.js +1 -1
  121. package/dist/components/Container/index.js +1 -1
  122. package/dist/components/CssBaseline/index.js +1 -1
  123. package/dist/components/Datepicker/Datepicker.js +3 -3
  124. package/dist/components/Datepicker/index.js +2 -2
  125. package/dist/components/DatepickerControl/DatepickerControl.js +10 -10
  126. package/dist/components/DatepickerControl/index.js +1 -1
  127. package/dist/components/Dialog/index.js +1 -1
  128. package/dist/components/DialogActions/index.js +1 -1
  129. package/dist/components/DialogContent/index.js +1 -1
  130. package/dist/components/DialogContentText/index.js +1 -1
  131. package/dist/components/DialogTitle/index.js +2 -2
  132. package/dist/components/Divider/index.js +2 -2
  133. package/dist/components/Drawer/index.js +1 -1
  134. package/dist/components/FormControl/index.js +1 -1
  135. package/dist/components/FormControlLabel/index.js +1 -1
  136. package/dist/components/FormGroup/index.js +1 -1
  137. package/dist/components/FormHelperText/index.js +1 -1
  138. package/dist/components/FormLabel/index.js +1 -1
  139. package/dist/components/FormSublabel/FormSublabel.js +6 -6
  140. package/dist/components/FormSublabel/index.js +1 -1
  141. package/dist/components/IconButton/index.js +1 -1
  142. package/dist/components/Input/Input.js +1 -1
  143. package/dist/components/InputAdornment/index.js +1 -1
  144. package/dist/components/InputControl/InputControl.js +10 -10
  145. package/dist/components/InputControl/index.js +1 -1
  146. package/dist/components/LinearProgress/index.js +1 -1
  147. package/dist/components/Link/index.js +1 -1
  148. package/dist/components/List/index.js +1 -1
  149. package/dist/components/ListItem/index.js +1 -1
  150. package/dist/components/ListItemAvatar/index.js +1 -1
  151. package/dist/components/ListItemButton/index.js +2 -2
  152. package/dist/components/ListItemIcon/index.js +2 -2
  153. package/dist/components/ListItemText/index.js +2 -2
  154. package/dist/components/ListSubheader/index.js +1 -1
  155. package/dist/components/Menu/index.js +1 -1
  156. package/dist/components/MenuItem/index.js +1 -1
  157. package/dist/components/MenuList/index.js +1 -1
  158. package/dist/components/Paper/index.js +1 -1
  159. package/dist/components/Radio/index.js +1 -1
  160. package/dist/components/RadioGroup/index.js +1 -1
  161. package/dist/components/Select/Select.js +1 -1
  162. package/dist/components/Select/index.js +1 -1
  163. package/dist/components/SelectControl/SelectControl.js +10 -10
  164. package/dist/components/SelectControl/index.js +1 -1
  165. package/dist/components/Skeleton/index.js +1 -1
  166. package/dist/components/Snackbar/index.js +1 -1
  167. package/dist/components/Stack/index.js +1 -1
  168. package/dist/components/Step/index.d.ts +2 -0
  169. package/dist/components/Step/index.js +9 -0
  170. package/dist/components/StepButton/index.d.ts +2 -0
  171. package/dist/components/StepButton/index.js +6 -0
  172. package/dist/components/StepConnector/index.d.ts +2 -0
  173. package/dist/components/StepConnector/index.js +6 -0
  174. package/dist/components/StepContent/index.d.ts +2 -0
  175. package/dist/components/StepContent/index.js +6 -0
  176. package/dist/components/StepIcon/index.d.ts +2 -0
  177. package/dist/components/StepIcon/index.js +6 -0
  178. package/dist/components/StepLabel/index.d.ts +2 -0
  179. package/dist/components/StepLabel/index.js +6 -0
  180. package/dist/components/Stepper/index.d.ts +2 -0
  181. package/dist/components/Stepper/index.js +9 -0
  182. package/dist/components/SvgIcon/index.js +1 -1
  183. package/dist/components/Switch/index.js +1 -1
  184. package/dist/components/Tab/index.js +1 -1
  185. package/dist/components/Tabs/index.js +1 -1
  186. package/dist/components/ThemeProvider/ThemeProvider.js +2 -2
  187. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  188. package/dist/components/ToastContainer/useToast.js +5 -5
  189. package/dist/components/Toolbar/index.js +1 -1
  190. package/dist/components/Tooltip/index.js +1 -1
  191. package/dist/components/Typography/index.js +1 -1
  192. package/dist/{containerClasses-B0TYuslU.js → containerClasses-CeRyE1e2.js} +6 -6
  193. package/dist/{createSvgIcon-Dr1tsORu.js → createSvgIcon-D1SROVbP.js} +1 -1
  194. package/dist/{createTheme-BX9lNtXz.js → createTheme-D79OrE1w.js} +15 -15
  195. package/dist/defaultTheme-BmQF15Jm.js +5 -0
  196. package/dist/{dialogTitleClasses-CPNrppw9.js → dialogTitleClasses-L_U38KY4.js} +2 -2
  197. package/dist/{dividerClasses-6DAvh6rg.js → dividerClasses-3YRwzxAH.js} +2 -2
  198. package/dist/{elementAcceptingRef-CkL3Ly_7.js → elementAcceptingRef-DYOMXWeA.js} +1 -1
  199. package/dist/{elementTypeAcceptingRef-BTEc9s5I.js → elementTypeAcceptingRef-CnEbk7Q_.js} +1 -1
  200. package/dist/{emotion-react.browser.esm-DkQ6Ce1n.js → emotion-react.browser.esm-CNRN7WoC.js} +6 -6
  201. package/dist/{extendSxProp-DXn0AsAr.js → extendSxProp-BJVEtb89.js} +1 -1
  202. package/dist/{generateUtilityClasses-B6l3Ncbw.js → generateUtilityClasses-CwzvHfCm.js} +1 -1
  203. package/dist/{getThemeProps-eyNYXfWA.js → getThemeProps-DT8XKnCO.js} +1 -1
  204. package/dist/icons/ClearstoryIcon.js +1 -1
  205. package/dist/icons/InternalOnlyIcon.js +1 -1
  206. package/dist/icons/MoneyBucketIcon.js +1 -1
  207. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  208. package/dist/icons/index.d.ts +2 -1
  209. package/dist/icons/index.js +113 -112
  210. package/dist/{index-C-Spcjiu.js → index-CcV0p0bw.js} +1 -1
  211. package/dist/{index-BDM4YVE1.js → index-D7UP9u8i.js} +3 -3
  212. package/dist/{index-Cj6oCTYK.js → index-RvUJzkTI.js} +5 -5
  213. package/dist/{index-DOhPQ36N.js → index-YQi4Xs-t.js} +2 -2
  214. package/dist/{listItemButtonClasses-Dl8z2bFF.js → listItemButtonClasses-DY7lE6xx.js} +2 -2
  215. package/dist/{listItemIconClasses-CIriVfIB.js → listItemIconClasses-DZarNdF_.js} +2 -2
  216. package/dist/{listItemTextClasses-BPKVctLb.js → listItemTextClasses-CMDvgiXw.js} +2 -2
  217. package/dist/main.d.ts +7 -0
  218. package/dist/main.js +421 -387
  219. package/dist/{memoTheme-D7TvXkNU.js → memoTheme-DqlI3JW3.js} +1 -1
  220. package/dist/{refType-D0Xe0JaC.js → refType-CCckNw0a.js} +1 -1
  221. package/dist/{stackClasses-5sEePZcs.js → stackClasses-DqA89FGy.js} +9 -9
  222. package/dist/{styled-ClvF2J4P.js → styled-bJ6DXD3Z.js} +3 -3
  223. package/dist/styled-w_4QIfiM.js +5 -0
  224. package/dist/theme/index.js +7 -7
  225. package/dist/theme/internal.js +1 -1
  226. package/dist/{useTheme-DUALJCno.js → useTheme-BB-P11R3.js} +3 -3
  227. package/dist/{useTheme-BvEFxn0B.js → useTheme-DTBpB7d-.js} +2 -2
  228. package/dist/{useThemeProps-DvG_tm_w.js → useThemeProps-Dll6b3d8.js} +2 -2
  229. package/dist/{utils-CYwnlZ9i.js → utils-OCLAA0Ck.js} +3 -3
  230. package/package.json +1 -1
  231. package/dist/Accordion-o6vxfq4I.js +0 -639
  232. package/dist/defaultTheme-B0P968dJ.js +0 -5
  233. package/dist/styled-6AMsmuWv.js +0 -5
@@ -1,639 +0,0 @@
1
- import * as c from "react";
2
- import { c as Y, y as ae, P as e, r as de } from "./createTheme-BX9lNtXz.js";
3
- import { c as Z } from "./clsx-OuTLNxxd.js";
4
- import { m as K } from "./memoTheme-D7TvXkNU.js";
5
- import { A as le } from "./AccordionContext-Bddt-Hw5.js";
6
- import { u as U } from "./useSlot-BVGwJA4b.js";
7
- import { g as ee } from "./generateUtilityClasses-B6l3Ncbw.js";
8
- import { jsx as h, jsxs as ce } from "react/jsx-runtime";
9
- import { u as oe } from "./DefaultPropsProvider-DF9yx5s6.js";
10
- import { u as pe } from "./useControlled-nm4pBabJ.js";
11
- import { s as P } from "./styled-ClvF2J4P.js";
12
- import { u as ue } from "./useTheme-DUALJCno.js";
13
- import { T as fe, g as X } from "./utils-CYwnlZ9i.js";
14
- import { u as me } from "./useTimeout-DRd4LBXb.js";
15
- import { u as ge } from "./useForkRef-9kN4DArm.js";
16
- import { c as te } from "./composeClasses-2Ou-RZJr.js";
17
- import { e as he } from "./elementTypeAcceptingRef-BTEc9s5I.js";
18
- import { P as ye } from "./Paper-PEfCpMjo.js";
19
- import { c as be } from "./chainPropTypes-D9lkm76m.js";
20
- function xe(o) {
21
- return Y("MuiCollapse", o);
22
- }
23
- ee("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
24
- const Te = (o) => {
25
- const {
26
- orientation: t,
27
- classes: r
28
- } = o, p = {
29
- root: ["root", `${t}`],
30
- entered: ["entered"],
31
- hidden: ["hidden"],
32
- wrapper: ["wrapper", `${t}`],
33
- wrapperInner: ["wrapperInner", `${t}`]
34
- };
35
- return te(p, xe, r);
36
- }, Ee = P("div", {
37
- name: "MuiCollapse",
38
- slot: "Root",
39
- overridesResolver: (o, t) => {
40
- const {
41
- ownerState: r
42
- } = o;
43
- return [t.root, t[r.orientation], r.state === "entered" && t.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && t.hidden];
44
- }
45
- })(K(({
46
- theme: o
47
- }) => ({
48
- height: 0,
49
- overflow: "hidden",
50
- transition: o.transitions.create("height"),
51
- variants: [{
52
- props: {
53
- orientation: "horizontal"
54
- },
55
- style: {
56
- height: "auto",
57
- width: 0,
58
- transition: o.transitions.create("width")
59
- }
60
- }, {
61
- props: {
62
- state: "entered"
63
- },
64
- style: {
65
- height: "auto",
66
- overflow: "visible"
67
- }
68
- }, {
69
- props: {
70
- state: "entered",
71
- orientation: "horizontal"
72
- },
73
- style: {
74
- width: "auto"
75
- }
76
- }, {
77
- props: ({
78
- ownerState: t
79
- }) => t.state === "exited" && !t.in && t.collapsedSize === "0px",
80
- style: {
81
- visibility: "hidden"
82
- }
83
- }]
84
- }))), Ce = P("div", {
85
- name: "MuiCollapse",
86
- slot: "Wrapper"
87
- })({
88
- // Hack to get children with a negative margin to not falsify the height computation.
89
- display: "flex",
90
- width: "100%",
91
- variants: [{
92
- props: {
93
- orientation: "horizontal"
94
- },
95
- style: {
96
- width: "auto",
97
- height: "100%"
98
- }
99
- }]
100
- }), we = P("div", {
101
- name: "MuiCollapse",
102
- slot: "WrapperInner"
103
- })({
104
- width: "100%",
105
- variants: [{
106
- props: {
107
- orientation: "horizontal"
108
- },
109
- style: {
110
- width: "auto",
111
- height: "100%"
112
- }
113
- }]
114
- }), W = /* @__PURE__ */ c.forwardRef(function(t, r) {
115
- const p = oe({
116
- props: t,
117
- name: "MuiCollapse"
118
- }), {
119
- addEndListener: x,
120
- children: A,
121
- className: j,
122
- collapsedSize: f = "0px",
123
- component: S,
124
- easing: N,
125
- in: T,
126
- onEnter: z,
127
- onEntered: D,
128
- onEntering: F,
129
- onExit: H,
130
- onExited: q,
131
- onExiting: I,
132
- orientation: d = "vertical",
133
- style: E,
134
- timeout: l = ae.standard,
135
- // eslint-disable-next-line react/prop-types
136
- TransitionComponent: O = fe,
137
- ...B
138
- } = p, C = {
139
- ...p,
140
- orientation: d,
141
- collapsedSize: f
142
- }, i = Te(C), w = ue(), G = me(), u = c.useRef(null), m = c.useRef(), R = typeof f == "number" ? `${f}px` : f, y = d === "horizontal", b = y ? "width" : "height", v = c.useRef(null), V = ge(r, v), g = (n) => (s) => {
143
- if (n) {
144
- const a = v.current;
145
- s === void 0 ? n(a) : n(a, s);
146
- }
147
- }, M = () => u.current ? u.current[y ? "clientWidth" : "clientHeight"] : 0, _ = g((n, s) => {
148
- u.current && y && (u.current.style.position = "absolute"), n.style[b] = R, z && z(n, s);
149
- }), J = g((n, s) => {
150
- const a = M();
151
- u.current && y && (u.current.style.position = "");
152
- const {
153
- duration: $,
154
- easing: L
155
- } = X({
156
- style: E,
157
- timeout: l,
158
- easing: N
159
- }, {
160
- mode: "enter"
161
- });
162
- if (l === "auto") {
163
- const Q = w.transitions.getAutoHeightDuration(a);
164
- n.style.transitionDuration = `${Q}ms`, m.current = Q;
165
- } else
166
- n.style.transitionDuration = typeof $ == "string" ? $ : `${$}ms`;
167
- n.style[b] = `${a}px`, n.style.transitionTimingFunction = L, F && F(n, s);
168
- }), ne = g((n, s) => {
169
- n.style[b] = "auto", D && D(n, s);
170
- }), re = g((n) => {
171
- n.style[b] = `${M()}px`, H && H(n);
172
- }), ie = g(q), se = g((n) => {
173
- const s = M(), {
174
- duration: a,
175
- easing: $
176
- } = X({
177
- style: E,
178
- timeout: l,
179
- easing: N
180
- }, {
181
- mode: "exit"
182
- });
183
- if (l === "auto") {
184
- const L = w.transitions.getAutoHeightDuration(s);
185
- n.style.transitionDuration = `${L}ms`, m.current = L;
186
- } else
187
- n.style.transitionDuration = typeof a == "string" ? a : `${a}ms`;
188
- n.style[b] = R, n.style.transitionTimingFunction = $, I && I(n);
189
- });
190
- return /* @__PURE__ */ h(O, {
191
- in: T,
192
- onEnter: _,
193
- onEntered: ne,
194
- onEntering: J,
195
- onExit: re,
196
- onExited: ie,
197
- onExiting: se,
198
- addEndListener: (n) => {
199
- l === "auto" && G.start(m.current || 0, n), x && x(v.current, n);
200
- },
201
- nodeRef: v,
202
- timeout: l === "auto" ? null : l,
203
- ...B,
204
- children: (n, {
205
- ownerState: s,
206
- ...a
207
- }) => /* @__PURE__ */ h(Ee, {
208
- as: S,
209
- className: Z(i.root, j, {
210
- entered: i.entered,
211
- exited: !T && R === "0px" && i.hidden
212
- }[n]),
213
- style: {
214
- [y ? "minWidth" : "minHeight"]: R,
215
- ...E
216
- },
217
- ref: V,
218
- ownerState: {
219
- ...C,
220
- state: n
221
- },
222
- ...a,
223
- children: /* @__PURE__ */ h(Ce, {
224
- ownerState: {
225
- ...C,
226
- state: n
227
- },
228
- className: i.wrapper,
229
- ref: u,
230
- children: /* @__PURE__ */ h(we, {
231
- ownerState: {
232
- ...C,
233
- state: n
234
- },
235
- className: i.wrapperInner,
236
- children: A
237
- })
238
- })
239
- })
240
- });
241
- });
242
- process.env.NODE_ENV !== "production" && (W.propTypes = {
243
- // ┌────────────────────────────── Warning ──────────────────────────────┐
244
- // │ These PropTypes are generated from the TypeScript type definitions. │
245
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
246
- // └─────────────────────────────────────────────────────────────────────┘
247
- /**
248
- * Add a custom transition end trigger. Called with the transitioning DOM
249
- * node and a done callback. Allows for more fine grained transition end
250
- * logic. Note: Timeouts are still used as a fallback if provided.
251
- */
252
- addEndListener: e.func,
253
- /**
254
- * The content node to be collapsed.
255
- */
256
- children: e.node,
257
- /**
258
- * Override or extend the styles applied to the component.
259
- */
260
- classes: e.object,
261
- /**
262
- * @ignore
263
- */
264
- className: e.string,
265
- /**
266
- * The width (horizontal) or height (vertical) of the container when collapsed.
267
- * @default '0px'
268
- */
269
- collapsedSize: e.oneOfType([e.number, e.string]),
270
- /**
271
- * The component used for the root node.
272
- * Either a string to use a HTML element or a component.
273
- */
274
- component: he,
275
- /**
276
- * The transition timing function.
277
- * You may specify a single easing or a object containing enter and exit values.
278
- */
279
- easing: e.oneOfType([e.shape({
280
- enter: e.string,
281
- exit: e.string
282
- }), e.string]),
283
- /**
284
- * If `true`, the component will transition in.
285
- */
286
- in: e.bool,
287
- /**
288
- * @ignore
289
- */
290
- onEnter: e.func,
291
- /**
292
- * @ignore
293
- */
294
- onEntered: e.func,
295
- /**
296
- * @ignore
297
- */
298
- onEntering: e.func,
299
- /**
300
- * @ignore
301
- */
302
- onExit: e.func,
303
- /**
304
- * @ignore
305
- */
306
- onExited: e.func,
307
- /**
308
- * @ignore
309
- */
310
- onExiting: e.func,
311
- /**
312
- * The transition orientation.
313
- * @default 'vertical'
314
- */
315
- orientation: e.oneOf(["horizontal", "vertical"]),
316
- /**
317
- * @ignore
318
- */
319
- style: e.object,
320
- /**
321
- * The system prop that allows defining system overrides as well as additional CSS styles.
322
- */
323
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
324
- /**
325
- * The duration for the transition, in milliseconds.
326
- * You may specify a single timeout for all transitions, or individually with an object.
327
- *
328
- * Set to 'auto' to automatically calculate transition time based on height.
329
- * @default duration.standard
330
- */
331
- timeout: e.oneOfType([e.oneOf(["auto"]), e.number, e.shape({
332
- appear: e.number,
333
- enter: e.number,
334
- exit: e.number
335
- })])
336
- });
337
- W && (W.muiSupportAuto = !0);
338
- function Re(o) {
339
- return Y("MuiAccordion", o);
340
- }
341
- const k = ee("MuiAccordion", ["root", "heading", "rounded", "expanded", "disabled", "gutters", "region"]), ve = (o) => {
342
- const {
343
- classes: t,
344
- square: r,
345
- expanded: p,
346
- disabled: x,
347
- disableGutters: A
348
- } = o;
349
- return te({
350
- root: ["root", !r && "rounded", p && "expanded", x && "disabled", !A && "gutters"],
351
- heading: ["heading"],
352
- region: ["region"]
353
- }, Re, t);
354
- }, Pe = P(ye, {
355
- name: "MuiAccordion",
356
- slot: "Root",
357
- overridesResolver: (o, t) => {
358
- const {
359
- ownerState: r
360
- } = o;
361
- return [{
362
- [`& .${k.region}`]: t.region
363
- }, t.root, !r.square && t.rounded, !r.disableGutters && t.gutters];
364
- }
365
- })(K(({
366
- theme: o
367
- }) => {
368
- const t = {
369
- duration: o.transitions.duration.shortest
370
- };
371
- return {
372
- position: "relative",
373
- transition: o.transitions.create(["margin"], t),
374
- overflowAnchor: "none",
375
- // Keep the same scrolling position
376
- "&::before": {
377
- position: "absolute",
378
- left: 0,
379
- top: -1,
380
- right: 0,
381
- height: 1,
382
- content: '""',
383
- opacity: 1,
384
- backgroundColor: (o.vars || o).palette.divider,
385
- transition: o.transitions.create(["opacity", "background-color"], t)
386
- },
387
- "&:first-of-type": {
388
- "&::before": {
389
- display: "none"
390
- }
391
- },
392
- [`&.${k.expanded}`]: {
393
- "&::before": {
394
- opacity: 0
395
- },
396
- "&:first-of-type": {
397
- marginTop: 0
398
- },
399
- "&:last-of-type": {
400
- marginBottom: 0
401
- },
402
- "& + &": {
403
- "&::before": {
404
- display: "none"
405
- }
406
- }
407
- },
408
- [`&.${k.disabled}`]: {
409
- backgroundColor: (o.vars || o).palette.action.disabledBackground
410
- }
411
- };
412
- }), K(({
413
- theme: o
414
- }) => ({
415
- variants: [{
416
- props: (t) => !t.square,
417
- style: {
418
- borderRadius: 0,
419
- "&:first-of-type": {
420
- borderTopLeftRadius: (o.vars || o).shape.borderRadius,
421
- borderTopRightRadius: (o.vars || o).shape.borderRadius
422
- },
423
- "&:last-of-type": {
424
- borderBottomLeftRadius: (o.vars || o).shape.borderRadius,
425
- borderBottomRightRadius: (o.vars || o).shape.borderRadius,
426
- // Fix a rendering issue on Edge
427
- "@supports (-ms-ime-align: auto)": {
428
- borderBottomLeftRadius: 0,
429
- borderBottomRightRadius: 0
430
- }
431
- }
432
- }
433
- }, {
434
- props: (t) => !t.disableGutters,
435
- style: {
436
- [`&.${k.expanded}`]: {
437
- margin: "16px 0"
438
- }
439
- }
440
- }]
441
- }))), Ae = P("h3", {
442
- name: "MuiAccordion",
443
- slot: "Heading"
444
- })({
445
- all: "unset"
446
- }), Se = P("div", {
447
- name: "MuiAccordion",
448
- slot: "Region"
449
- })({}), ze = /* @__PURE__ */ c.forwardRef(function(t, r) {
450
- const p = oe({
451
- props: t,
452
- name: "MuiAccordion"
453
- }), {
454
- children: x,
455
- className: A,
456
- defaultExpanded: j = !1,
457
- disabled: f = !1,
458
- disableGutters: S = !1,
459
- expanded: N,
460
- onChange: T,
461
- square: z = !1,
462
- slots: D = {},
463
- slotProps: F = {},
464
- TransitionComponent: H,
465
- TransitionProps: q,
466
- ...I
467
- } = p, [d, E] = pe({
468
- controlled: N,
469
- default: j,
470
- name: "Accordion",
471
- state: "expanded"
472
- }), l = c.useCallback((J) => {
473
- E(!d), T && T(J, !d);
474
- }, [d, T, E]), [O, ...B] = c.Children.toArray(x), C = c.useMemo(() => ({
475
- expanded: d,
476
- disabled: f,
477
- disableGutters: S,
478
- toggle: l
479
- }), [d, f, S, l]), i = {
480
- ...p,
481
- square: z,
482
- disabled: f,
483
- disableGutters: S,
484
- expanded: d
485
- }, w = ve(i), G = {
486
- transition: H,
487
- ...D
488
- }, u = {
489
- transition: q,
490
- ...F
491
- }, m = {
492
- slots: G,
493
- slotProps: u
494
- }, [R, y] = U("root", {
495
- elementType: Pe,
496
- externalForwardedProps: {
497
- ...m,
498
- ...I
499
- },
500
- className: Z(w.root, A),
501
- shouldForwardComponentProp: !0,
502
- ownerState: i,
503
- ref: r,
504
- additionalProps: {
505
- square: z
506
- }
507
- }), [b, v] = U("heading", {
508
- elementType: Ae,
509
- externalForwardedProps: m,
510
- className: w.heading,
511
- ownerState: i
512
- }), [V, g] = U("transition", {
513
- elementType: W,
514
- externalForwardedProps: m,
515
- ownerState: i
516
- }), [M, _] = U("region", {
517
- elementType: Se,
518
- externalForwardedProps: m,
519
- ownerState: i,
520
- className: w.region,
521
- additionalProps: {
522
- "aria-labelledby": O.props.id,
523
- id: O.props["aria-controls"],
524
- role: "region"
525
- }
526
- });
527
- return /* @__PURE__ */ ce(R, {
528
- ...y,
529
- children: [/* @__PURE__ */ h(b, {
530
- ...v,
531
- children: /* @__PURE__ */ h(le.Provider, {
532
- value: C,
533
- children: O
534
- })
535
- }), /* @__PURE__ */ h(V, {
536
- in: d,
537
- timeout: "auto",
538
- ...g,
539
- children: /* @__PURE__ */ h(M, {
540
- ..._,
541
- children: B
542
- })
543
- })]
544
- });
545
- });
546
- process.env.NODE_ENV !== "production" && (ze.propTypes = {
547
- // ┌────────────────────────────── Warning ──────────────────────────────┐
548
- // │ These PropTypes are generated from the TypeScript type definitions. │
549
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
550
- // └─────────────────────────────────────────────────────────────────────┘
551
- /**
552
- * The content of the component.
553
- */
554
- children: be(e.node.isRequired, (o) => {
555
- const t = c.Children.toArray(o.children)[0];
556
- return de.isFragment(t) ? new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead.") : /* @__PURE__ */ c.isValidElement(t) ? null : new Error("MUI: Expected the first child of Accordion to be a valid element.");
557
- }),
558
- /**
559
- * Override or extend the styles applied to the component.
560
- */
561
- classes: e.object,
562
- /**
563
- * @ignore
564
- */
565
- className: e.string,
566
- /**
567
- * If `true`, expands the accordion by default.
568
- * @default false
569
- */
570
- defaultExpanded: e.bool,
571
- /**
572
- * If `true`, the component is disabled.
573
- * @default false
574
- */
575
- disabled: e.bool,
576
- /**
577
- * If `true`, it removes the margin between two expanded accordion items and the increase of height.
578
- * @default false
579
- */
580
- disableGutters: e.bool,
581
- /**
582
- * If `true`, expands the accordion, otherwise collapse it.
583
- * Setting this prop enables control over the accordion.
584
- */
585
- expanded: e.bool,
586
- /**
587
- * Callback fired when the expand/collapse state is changed.
588
- *
589
- * @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
590
- * @param {boolean} expanded The `expanded` state of the accordion.
591
- */
592
- onChange: e.func,
593
- /**
594
- * The props used for each slot inside.
595
- * @default {}
596
- */
597
- slotProps: e.shape({
598
- heading: e.oneOfType([e.func, e.object]),
599
- region: e.oneOfType([e.func, e.object]),
600
- root: e.oneOfType([e.func, e.object]),
601
- transition: e.oneOfType([e.func, e.object])
602
- }),
603
- /**
604
- * The components used for each slot inside.
605
- * @default {}
606
- */
607
- slots: e.shape({
608
- heading: e.elementType,
609
- region: e.elementType,
610
- root: e.elementType,
611
- transition: e.elementType
612
- }),
613
- /**
614
- * If `true`, rounded corners are disabled.
615
- * @default false
616
- */
617
- square: e.bool,
618
- /**
619
- * The system prop that allows defining system overrides as well as additional CSS styles.
620
- */
621
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
622
- /**
623
- * The component used for the transition.
624
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
625
- * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
626
- */
627
- TransitionComponent: e.elementType,
628
- /**
629
- * Props applied to the transition element.
630
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
631
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
632
- */
633
- TransitionProps: e.object
634
- });
635
- export {
636
- ze as A,
637
- k as a,
638
- Re as g
639
- };
@@ -1,5 +0,0 @@
1
- import { f as e } from "./createTheme-BX9lNtXz.js";
2
- const a = e();
3
- export {
4
- a as d
5
- };
@@ -1,5 +0,0 @@
1
- import { c as t } from "./styled-ClvF2J4P.js";
2
- const s = t();
3
- export {
4
- s
5
- };