@vodafone_de/brix-components 3.1.3 → 3.1.6

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 (1104) hide show
  1. package/package.json +2 -14
  2. package/Accordion/Accordion.d.ts +0 -122
  3. package/Accordion/Accordion.js +0 -334
  4. package/Accordion/AccordionContext.js +0 -18
  5. package/Accordion/accordionClasses.d.ts +0 -20
  6. package/Accordion/accordionClasses.js +0 -15
  7. package/Accordion/index.d.ts +0 -4
  8. package/Accordion/index.js +0 -35
  9. package/AccordionActions/AccordionActions.d.ts +0 -35
  10. package/AccordionActions/AccordionActions.js +0 -100
  11. package/AccordionActions/accordionActionsClasses.d.ts +0 -10
  12. package/AccordionActions/accordionActionsClasses.js +0 -15
  13. package/AccordionActions/index.d.ts +0 -4
  14. package/AccordionActions/index.js +0 -35
  15. package/AccordionDetails/AccordionDetails.d.ts +0 -30
  16. package/AccordionDetails/AccordionDetails.js +0 -76
  17. package/AccordionDetails/accordionDetailsClasses.d.ts +0 -8
  18. package/AccordionDetails/accordionDetailsClasses.js +0 -15
  19. package/AccordionDetails/index.d.ts +0 -4
  20. package/AccordionDetails/index.js +0 -35
  21. package/AccordionSummary/AccordionSummary.d.ts +0 -80
  22. package/AccordionSummary/AccordionSummary.js +0 -254
  23. package/AccordionSummary/accordionSummaryClasses.d.ts +0 -25
  24. package/AccordionSummary/accordionSummaryClasses.js +0 -15
  25. package/AccordionSummary/index.d.ts +0 -4
  26. package/AccordionSummary/index.js +0 -35
  27. package/Alert/Alert.d.ts +0 -178
  28. package/Alert/Alert.js +0 -390
  29. package/Alert/alertClasses.d.ts +0 -100
  30. package/Alert/alertClasses.js +0 -15
  31. package/Alert/index.d.ts +0 -4
  32. package/Alert/index.js +0 -35
  33. package/AlertTitle/AlertTitle.d.ts +0 -31
  34. package/AlertTitle/AlertTitle.js +0 -82
  35. package/AlertTitle/alertTitleClasses.d.ts +0 -8
  36. package/AlertTitle/alertTitleClasses.js +0 -15
  37. package/AlertTitle/index.d.ts +0 -4
  38. package/AlertTitle/index.js +0 -35
  39. package/AppBar/AppBar.d.ts +0 -59
  40. package/AppBar/AppBar.js +0 -234
  41. package/AppBar/appBarClasses.d.ts +0 -36
  42. package/AppBar/appBarClasses.js +0 -15
  43. package/AppBar/index.d.ts +0 -4
  44. package/AppBar/index.js +0 -35
  45. package/Autocomplete/Autocomplete.d.ts +0 -320
  46. package/Autocomplete/Autocomplete.js +0 -1202
  47. package/Autocomplete/autocompleteClasses.d.ts +0 -58
  48. package/Autocomplete/autocompleteClasses.js +0 -15
  49. package/Autocomplete/index.d.ts +0 -4
  50. package/Autocomplete/index.js +0 -41
  51. package/Avatar/Avatar.d.ts +0 -112
  52. package/Avatar/Avatar.js +0 -325
  53. package/Avatar/avatarClasses.d.ts +0 -20
  54. package/Avatar/avatarClasses.js +0 -15
  55. package/Avatar/index.d.ts +0 -4
  56. package/Avatar/index.js +0 -35
  57. package/AvatarGroup/AvatarGroup.d.ts +0 -96
  58. package/AvatarGroup/AvatarGroup.js +0 -238
  59. package/AvatarGroup/avatarGroupClasses.d.ts +0 -10
  60. package/AvatarGroup/avatarGroupClasses.js +0 -15
  61. package/AvatarGroup/index.d.ts +0 -4
  62. package/AvatarGroup/index.js +0 -35
  63. package/Backdrop/Backdrop.d.ts +0 -118
  64. package/Backdrop/Backdrop.js +0 -212
  65. package/Backdrop/backdropClasses.d.ts +0 -10
  66. package/Backdrop/backdropClasses.js +0 -15
  67. package/Backdrop/index.d.ts +0 -4
  68. package/Backdrop/index.js +0 -35
  69. package/Badge/Badge.d.ts +0 -157
  70. package/Badge/Badge.js +0 -441
  71. package/Badge/badgeClasses.d.ts +0 -56
  72. package/Badge/badgeClasses.js +0 -17
  73. package/Badge/index.d.ts +0 -4
  74. package/Badge/index.js +0 -35
  75. package/Badge/useBadge.d.ts +0 -3
  76. package/Badge/useBadge.js +0 -37
  77. package/Badge/useBadge.types.d.ts +0 -39
  78. package/Badge/useBadge.types.js +0 -5
  79. package/BottomNavigation/BottomNavigation.d.ts +0 -55
  80. package/BottomNavigation/BottomNavigation.js +0 -129
  81. package/BottomNavigation/bottomNavigationClasses.d.ts +0 -8
  82. package/BottomNavigation/bottomNavigationClasses.js +0 -15
  83. package/BottomNavigation/index.d.ts +0 -4
  84. package/BottomNavigation/index.js +0 -35
  85. package/BottomNavigationAction/BottomNavigationAction.d.ts +0 -87
  86. package/BottomNavigationAction/BottomNavigationAction.js +0 -237
  87. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +0 -14
  88. package/BottomNavigationAction/bottomNavigationActionClasses.js +0 -15
  89. package/BottomNavigationAction/index.d.ts +0 -4
  90. package/BottomNavigationAction/index.js +0 -35
  91. package/Box/Box.d.ts +0 -20
  92. package/Box/Box.js +0 -41
  93. package/Box/boxClasses.d.ts +0 -7
  94. package/Box/boxClasses.js +0 -10
  95. package/Box/index.d.ts +0 -4
  96. package/Box/index.js +0 -35
  97. package/Breadcrumbs/BreadcrumbCollapsed.js +0 -97
  98. package/Breadcrumbs/Breadcrumbs.d.ts +0 -94
  99. package/Breadcrumbs/Breadcrumbs.js +0 -245
  100. package/Breadcrumbs/breadcrumbsClasses.d.ts +0 -14
  101. package/Breadcrumbs/breadcrumbsClasses.js +0 -15
  102. package/Breadcrumbs/index.d.ts +0 -4
  103. package/Breadcrumbs/index.js +0 -35
  104. package/Button/Button.d.ts +0 -130
  105. package/Button/Button.js +0 -693
  106. package/Button/buttonClasses.d.ts +0 -194
  107. package/Button/buttonClasses.js +0 -15
  108. package/Button/index.d.ts +0 -4
  109. package/Button/index.js +0 -35
  110. package/ButtonBase/ButtonBase.d.ts +0 -125
  111. package/ButtonBase/ButtonBase.js +0 -453
  112. package/ButtonBase/Ripple.js +0 -93
  113. package/ButtonBase/TouchRipple.d.ts +0 -22
  114. package/ButtonBase/TouchRipple.js +0 -331
  115. package/ButtonBase/buttonBaseClasses.d.ts +0 -12
  116. package/ButtonBase/buttonBaseClasses.js +0 -15
  117. package/ButtonBase/index.d.ts +0 -6
  118. package/ButtonBase/index.js +0 -54
  119. package/ButtonBase/touchRippleClasses.d.ts +0 -20
  120. package/ButtonBase/touchRippleClasses.js +0 -15
  121. package/ButtonGroup/ButtonGroup.d.ts +0 -91
  122. package/ButtonGroup/ButtonGroup.js +0 -397
  123. package/ButtonGroup/ButtonGroupButtonContext.d.ts +0 -6
  124. package/ButtonGroup/ButtonGroupButtonContext.js +0 -17
  125. package/ButtonGroup/ButtonGroupContext.d.ts +0 -18
  126. package/ButtonGroup/ButtonGroupContext.js +0 -17
  127. package/ButtonGroup/buttonGroupClasses.d.ts +0 -104
  128. package/ButtonGroup/buttonGroupClasses.js +0 -15
  129. package/ButtonGroup/index.d.ts +0 -6
  130. package/ButtonGroup/index.js +0 -51
  131. package/Card/Card.d.ts +0 -47
  132. package/Card/Card.js +0 -90
  133. package/Card/cardClasses.d.ts +0 -8
  134. package/Card/cardClasses.js +0 -15
  135. package/Card/index.d.ts +0 -4
  136. package/Card/index.js +0 -35
  137. package/CardActionArea/CardActionArea.d.ts +0 -63
  138. package/CardActionArea/CardActionArea.js +0 -161
  139. package/CardActionArea/cardActionAreaClasses.d.ts +0 -12
  140. package/CardActionArea/cardActionAreaClasses.js +0 -15
  141. package/CardActionArea/index.d.ts +0 -4
  142. package/CardActionArea/index.js +0 -35
  143. package/CardActions/CardActions.d.ts +0 -35
  144. package/CardActions/CardActions.js +0 -101
  145. package/CardActions/cardActionsClasses.d.ts +0 -10
  146. package/CardActions/cardActionsClasses.js +0 -15
  147. package/CardActions/index.d.ts +0 -4
  148. package/CardActions/index.js +0 -35
  149. package/CardContent/CardContent.d.ts +0 -38
  150. package/CardContent/CardContent.js +0 -86
  151. package/CardContent/cardContentClasses.d.ts +0 -8
  152. package/CardContent/cardContentClasses.js +0 -15
  153. package/CardContent/index.d.ts +0 -4
  154. package/CardContent/index.js +0 -35
  155. package/CardHeader/CardHeader.d.ts +0 -157
  156. package/CardHeader/CardHeader.js +0 -271
  157. package/CardHeader/cardHeaderClasses.d.ts +0 -18
  158. package/CardHeader/cardHeaderClasses.js +0 -15
  159. package/CardHeader/index.d.ts +0 -4
  160. package/CardHeader/index.js +0 -35
  161. package/CardMedia/CardMedia.d.ts +0 -51
  162. package/CardMedia/CardMedia.js +0 -152
  163. package/CardMedia/cardMediaClasses.d.ts +0 -12
  164. package/CardMedia/cardMediaClasses.js +0 -15
  165. package/CardMedia/index.d.ts +0 -4
  166. package/CardMedia/index.js +0 -35
  167. package/Checkbox/Checkbox.d.ts +0 -131
  168. package/Checkbox/Checkbox.js +0 -287
  169. package/Checkbox/checkboxClasses.d.ts +0 -22
  170. package/Checkbox/checkboxClasses.js +0 -15
  171. package/Checkbox/index.d.ts +0 -4
  172. package/Checkbox/index.js +0 -35
  173. package/Chip/Chip.d.ts +0 -107
  174. package/Chip/Chip.js +0 -583
  175. package/Chip/chipClasses.d.ts +0 -150
  176. package/Chip/chipClasses.js +0 -15
  177. package/Chip/index.d.ts +0 -4
  178. package/Chip/index.js +0 -35
  179. package/CircularProgress/CircularProgress.d.ts +0 -71
  180. package/CircularProgress/CircularProgress.js +0 -291
  181. package/CircularProgress/circularProgressClasses.d.ts +0 -30
  182. package/CircularProgress/circularProgressClasses.js +0 -15
  183. package/CircularProgress/index.d.ts +0 -4
  184. package/CircularProgress/index.js +0 -35
  185. package/ClickAwayListener/ClickAwayListener.d.ts +0 -47
  186. package/ClickAwayListener/ClickAwayListener.js +0 -183
  187. package/ClickAwayListener/index.d.ts +0 -2
  188. package/ClickAwayListener/index.js +0 -12
  189. package/Collapse/Collapse.d.ts +0 -71
  190. package/Collapse/Collapse.js +0 -416
  191. package/Collapse/collapseClasses.d.ts +0 -18
  192. package/Collapse/collapseClasses.js +0 -15
  193. package/Collapse/index.d.ts +0 -4
  194. package/Collapse/index.js +0 -35
  195. package/Container/Container.d.ts +0 -55
  196. package/Container/Container.js +0 -73
  197. package/Container/containerClasses.d.ts +0 -6
  198. package/Container/containerClasses.js +0 -15
  199. package/Container/index.d.ts +0 -4
  200. package/Container/index.js +0 -35
  201. package/CssBaseline/CssBaseline.d.ts +0 -28
  202. package/CssBaseline/CssBaseline.js +0 -170
  203. package/CssBaseline/index.d.ts +0 -2
  204. package/CssBaseline/index.js +0 -13
  205. package/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -13
  206. package/DefaultPropsProvider/DefaultPropsProvider.js +0 -37
  207. package/DefaultPropsProvider/index.d.ts +0 -1
  208. package/DefaultPropsProvider/index.js +0 -19
  209. package/Dialog/Dialog.d.ts +0 -184
  210. package/Dialog/Dialog.js +0 -516
  211. package/Dialog/DialogContext.d.ts +0 -6
  212. package/Dialog/DialogContext.js +0 -14
  213. package/Dialog/dialogClasses.d.ts +0 -40
  214. package/Dialog/dialogClasses.js +0 -15
  215. package/Dialog/index.d.ts +0 -4
  216. package/Dialog/index.js +0 -35
  217. package/DialogActions/DialogActions.d.ts +0 -35
  218. package/DialogActions/DialogActions.js +0 -103
  219. package/DialogActions/dialogActionsClasses.d.ts +0 -10
  220. package/DialogActions/dialogActionsClasses.js +0 -15
  221. package/DialogActions/index.d.ts +0 -4
  222. package/DialogActions/index.js +0 -35
  223. package/DialogContent/DialogContent.d.ts +0 -35
  224. package/DialogContent/DialogContent.js +0 -116
  225. package/DialogContent/dialogContentClasses.d.ts +0 -10
  226. package/DialogContent/dialogContentClasses.js +0 -15
  227. package/DialogContent/index.d.ts +0 -4
  228. package/DialogContent/index.js +0 -35
  229. package/DialogContentText/DialogContentText.d.ts +0 -37
  230. package/DialogContentText/DialogContentText.js +0 -83
  231. package/DialogContentText/dialogContentTextClasses.d.ts +0 -8
  232. package/DialogContentText/dialogContentTextClasses.js +0 -15
  233. package/DialogContentText/index.d.ts +0 -4
  234. package/DialogContentText/index.js +0 -35
  235. package/DialogTitle/DialogTitle.d.ts +0 -43
  236. package/DialogTitle/DialogTitle.js +0 -87
  237. package/DialogTitle/dialogTitleClasses.d.ts +0 -8
  238. package/DialogTitle/dialogTitleClasses.js +0 -15
  239. package/DialogTitle/index.d.ts +0 -4
  240. package/DialogTitle/index.js +0 -35
  241. package/Divider/Divider.d.ts +0 -74
  242. package/Divider/Divider.js +0 -321
  243. package/Divider/dividerClasses.d.ts +0 -38
  244. package/Divider/dividerClasses.js +0 -15
  245. package/Divider/index.d.ts +0 -4
  246. package/Divider/index.js +0 -35
  247. package/Drawer/Drawer.d.ts +0 -154
  248. package/Drawer/Drawer.js +0 -443
  249. package/Drawer/drawerClasses.d.ts +0 -54
  250. package/Drawer/drawerClasses.js +0 -15
  251. package/Drawer/index.d.ts +0 -4
  252. package/Drawer/index.js +0 -35
  253. package/Fab/Fab.d.ts +0 -82
  254. package/Fab/Fab.js +0 -278
  255. package/Fab/fabClasses.d.ts +0 -26
  256. package/Fab/fabClasses.js +0 -15
  257. package/Fab/index.d.ts +0 -4
  258. package/Fab/index.js +0 -35
  259. package/Fade/Fade.d.ts +0 -48
  260. package/Fade/Fade.js +0 -217
  261. package/Fade/index.d.ts +0 -2
  262. package/Fade/index.js +0 -13
  263. package/FilledInput/FilledInput.d.ts +0 -42
  264. package/FilledInput/FilledInput.js +0 -523
  265. package/FilledInput/filledInputClasses.d.ts +0 -30
  266. package/FilledInput/filledInputClasses.js +0 -19
  267. package/FilledInput/index.d.ts +0 -4
  268. package/FilledInput/index.js +0 -35
  269. package/FormControl/FormControl.d.ts +0 -120
  270. package/FormControl/FormControl.js +0 -312
  271. package/FormControl/FormControlContext.d.ts +0 -17
  272. package/FormControl/FormControlContext.js +0 -17
  273. package/FormControl/formControlClasses.d.ts +0 -14
  274. package/FormControl/formControlClasses.js +0 -15
  275. package/FormControl/formControlState.js +0 -21
  276. package/FormControl/index.d.ts +0 -6
  277. package/FormControl/index.js +0 -43
  278. package/FormControl/useFormControl.d.ts +0 -2
  279. package/FormControl/useFormControl.js +0 -14
  280. package/FormControlLabel/FormControlLabel.d.ts +0 -101
  281. package/FormControlLabel/FormControlLabel.js +0 -289
  282. package/FormControlLabel/formControlLabelClasses.d.ts +0 -24
  283. package/FormControlLabel/formControlLabelClasses.js +0 -15
  284. package/FormControlLabel/index.d.ts +0 -4
  285. package/FormControlLabel/index.js +0 -35
  286. package/FormGroup/FormGroup.d.ts +0 -39
  287. package/FormGroup/FormGroup.js +0 -115
  288. package/FormGroup/formGroupClasses.d.ts +0 -12
  289. package/FormGroup/formGroupClasses.js +0 -15
  290. package/FormGroup/index.d.ts +0 -4
  291. package/FormGroup/index.js +0 -35
  292. package/FormHelperText/FormHelperText.d.ts +0 -71
  293. package/FormHelperText/FormHelperText.js +0 -193
  294. package/FormHelperText/formHelperTextClasses.d.ts +0 -22
  295. package/FormHelperText/formHelperTextClasses.js +0 -15
  296. package/FormHelperText/index.d.ts +0 -4
  297. package/FormHelperText/index.js +0 -35
  298. package/FormLabel/FormLabel.d.ts +0 -78
  299. package/FormLabel/FormLabel.js +0 -188
  300. package/FormLabel/formLabelClasses.d.ts +0 -22
  301. package/FormLabel/formLabelClasses.js +0 -15
  302. package/FormLabel/index.d.ts +0 -4
  303. package/FormLabel/index.js +0 -45
  304. package/GlobalStyles/GlobalStyles.d.ts +0 -20
  305. package/GlobalStyles/GlobalStyles.js +0 -33
  306. package/GlobalStyles/index.d.ts +0 -2
  307. package/GlobalStyles/index.js +0 -13
  308. package/Grid/Grid.d.ts +0 -111
  309. package/Grid/Grid.js +0 -144
  310. package/Grid/gridClasses.d.ts +0 -10
  311. package/Grid/gridClasses.js +0 -27
  312. package/Grid/index.d.ts +0 -4
  313. package/Grid/index.js +0 -45
  314. package/GridLegacy/GridLegacy.d.ts +0 -160
  315. package/GridLegacy/GridLegacy.js +0 -601
  316. package/GridLegacy/GridLegacyContext.js +0 -17
  317. package/GridLegacy/gridLegacyClasses.d.ts +0 -48
  318. package/GridLegacy/gridLegacyClasses.js +0 -27
  319. package/GridLegacy/index.d.ts +0 -4
  320. package/GridLegacy/index.js +0 -35
  321. package/Grow/Grow.d.ts +0 -49
  322. package/Grow/Grow.js +0 -269
  323. package/Grow/index.d.ts +0 -2
  324. package/Grow/index.js +0 -13
  325. package/Icon/Icon.d.ts +0 -62
  326. package/Icon/Icon.js +0 -192
  327. package/Icon/iconClasses.d.ts +0 -24
  328. package/Icon/iconClasses.js +0 -15
  329. package/Icon/index.d.ts +0 -4
  330. package/Icon/index.js +0 -35
  331. package/IconButton/IconButton.d.ts +0 -90
  332. package/IconButton/IconButton.js +0 -328
  333. package/IconButton/iconButtonClasses.d.ts +0 -40
  334. package/IconButton/iconButtonClasses.js +0 -15
  335. package/IconButton/index.d.ts +0 -4
  336. package/IconButton/index.js +0 -35
  337. package/ImageList/ImageList.d.ts +0 -60
  338. package/ImageList/ImageList.js +0 -157
  339. package/ImageList/ImageListContext.js +0 -18
  340. package/ImageList/imageListClasses.d.ts +0 -16
  341. package/ImageList/imageListClasses.js +0 -15
  342. package/ImageList/index.d.ts +0 -4
  343. package/ImageList/index.js +0 -35
  344. package/ImageListItem/ImageListItem.d.ts +0 -48
  345. package/ImageListItem/ImageListItem.js +0 -195
  346. package/ImageListItem/imageListItemClasses.d.ts +0 -18
  347. package/ImageListItem/imageListItemClasses.js +0 -15
  348. package/ImageListItem/index.d.ts +0 -4
  349. package/ImageListItem/index.js +0 -35
  350. package/ImageListItemBar/ImageListItemBar.d.ts +0 -49
  351. package/ImageListItemBar/ImageListItemBar.js +0 -258
  352. package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -42
  353. package/ImageListItemBar/imageListItemBarClasses.js +0 -15
  354. package/ImageListItemBar/index.d.ts +0 -4
  355. package/ImageListItemBar/index.js +0 -35
  356. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -66
  357. package/InitColorSchemeScript/InitColorSchemeScript.js +0 -99
  358. package/InitColorSchemeScript/index.d.ts +0 -1
  359. package/InitColorSchemeScript/index.js +0 -13
  360. package/Input/Input.d.ts +0 -35
  361. package/Input/Input.js +0 -368
  362. package/Input/index.d.ts +0 -4
  363. package/Input/index.js +0 -35
  364. package/Input/inputClasses.d.ts +0 -38
  365. package/Input/inputClasses.js +0 -19
  366. package/InputAdornment/InputAdornment.d.ts +0 -59
  367. package/InputAdornment/InputAdornment.js +0 -193
  368. package/InputAdornment/index.d.ts +0 -4
  369. package/InputAdornment/index.js +0 -35
  370. package/InputAdornment/inputAdornmentClasses.d.ts +0 -24
  371. package/InputAdornment/inputAdornmentClasses.js +0 -15
  372. package/InputBase/InputBase.d.ts +0 -247
  373. package/InputBase/InputBase.js +0 -758
  374. package/InputBase/index.d.ts +0 -4
  375. package/InputBase/index.js +0 -35
  376. package/InputBase/inputBaseClasses.d.ts +0 -55
  377. package/InputBase/inputBaseClasses.js +0 -15
  378. package/InputBase/utils.js +0 -38
  379. package/InputLabel/InputLabel.d.ts +0 -79
  380. package/InputLabel/InputLabel.js +0 -290
  381. package/InputLabel/index.d.ts +0 -4
  382. package/InputLabel/index.js +0 -35
  383. package/InputLabel/inputLabelClasses.d.ts +0 -32
  384. package/InputLabel/inputLabelClasses.js +0 -15
  385. package/LinearProgress/LinearProgress.d.ts +0 -57
  386. package/LinearProgress/LinearProgress.js +0 -462
  387. package/LinearProgress/index.d.ts +0 -4
  388. package/LinearProgress/index.js +0 -35
  389. package/LinearProgress/linearProgressClasses.d.ts +0 -64
  390. package/LinearProgress/linearProgressClasses.js +0 -15
  391. package/Link/Link.d.ts +0 -63
  392. package/Link/Link.js +0 -290
  393. package/Link/getTextDecoration.d.ts +0 -11
  394. package/Link/getTextDecoration.js +0 -22
  395. package/Link/index.d.ts +0 -4
  396. package/Link/index.js +0 -35
  397. package/Link/linkClasses.d.ts +0 -18
  398. package/Link/linkClasses.js +0 -15
  399. package/List/List.d.ts +0 -65
  400. package/List/List.js +0 -141
  401. package/List/ListContext.d.ts +0 -5
  402. package/List/ListContext.js +0 -17
  403. package/List/index.d.ts +0 -4
  404. package/List/index.js +0 -35
  405. package/List/listClasses.d.ts +0 -14
  406. package/List/listClasses.js +0 -15
  407. package/ListItem/ListItem.d.ts +0 -127
  408. package/ListItem/ListItem.js +0 -395
  409. package/ListItem/index.d.ts +0 -4
  410. package/ListItem/index.js +0 -35
  411. package/ListItem/listItemClasses.d.ts +0 -22
  412. package/ListItem/listItemClasses.js +0 -15
  413. package/ListItemAvatar/ListItemAvatar.d.ts +0 -30
  414. package/ListItemAvatar/ListItemAvatar.js +0 -98
  415. package/ListItemAvatar/index.d.ts +0 -4
  416. package/ListItemAvatar/index.js +0 -35
  417. package/ListItemAvatar/listItemAvatarClasses.d.ts +0 -10
  418. package/ListItemAvatar/listItemAvatarClasses.js +0 -15
  419. package/ListItemButton/ListItemButton.d.ts +0 -85
  420. package/ListItemButton/ListItemButton.js +0 -272
  421. package/ListItemButton/index.d.ts +0 -4
  422. package/ListItemButton/index.js +0 -35
  423. package/ListItemButton/listItemButtonClasses.d.ts +0 -22
  424. package/ListItemButton/listItemButtonClasses.js +0 -15
  425. package/ListItemIcon/ListItemIcon.d.ts +0 -32
  426. package/ListItemIcon/ListItemIcon.js +0 -104
  427. package/ListItemIcon/index.d.ts +0 -4
  428. package/ListItemIcon/index.js +0 -35
  429. package/ListItemIcon/listItemIconClasses.d.ts +0 -10
  430. package/ListItemIcon/listItemIconClasses.js +0 -15
  431. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -36
  432. package/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -103
  433. package/ListItemSecondaryAction/index.d.ts +0 -4
  434. package/ListItemSecondaryAction/index.js +0 -35
  435. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +0 -10
  436. package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +0 -15
  437. package/ListItemText/ListItemText.d.ts +0 -105
  438. package/ListItemText/ListItemText.js +0 -234
  439. package/ListItemText/index.d.ts +0 -4
  440. package/ListItemText/index.js +0 -35
  441. package/ListItemText/listItemTextClasses.d.ts +0 -18
  442. package/ListItemText/listItemTextClasses.js +0 -15
  443. package/ListSubheader/ListSubheader.d.ts +0 -59
  444. package/ListSubheader/ListSubheader.js +0 -174
  445. package/ListSubheader/index.d.ts +0 -4
  446. package/ListSubheader/index.js +0 -35
  447. package/ListSubheader/listSubheaderClasses.d.ts +0 -18
  448. package/ListSubheader/listSubheaderClasses.js +0 -15
  449. package/Menu/Menu.d.ts +0 -162
  450. package/Menu/Menu.js +0 -345
  451. package/Menu/index.d.ts +0 -4
  452. package/Menu/index.js +0 -35
  453. package/Menu/menuClasses.d.ts +0 -12
  454. package/Menu/menuClasses.js +0 -15
  455. package/MenuItem/MenuItem.d.ts +0 -69
  456. package/MenuItem/MenuItem.js +0 -291
  457. package/MenuItem/index.d.ts +0 -4
  458. package/MenuItem/index.js +0 -35
  459. package/MenuItem/menuItemClasses.d.ts +0 -20
  460. package/MenuItem/menuItemClasses.js +0 -15
  461. package/MenuList/MenuList.d.ts +0 -62
  462. package/MenuList/MenuList.js +0 -297
  463. package/MenuList/index.d.ts +0 -2
  464. package/MenuList/index.js +0 -13
  465. package/MobileStepper/MobileStepper.d.ts +0 -112
  466. package/MobileStepper/MobileStepper.js +0 -311
  467. package/MobileStepper/index.d.ts +0 -4
  468. package/MobileStepper/index.js +0 -35
  469. package/MobileStepper/mobileStepperClasses.d.ts +0 -22
  470. package/MobileStepper/mobileStepperClasses.js +0 -15
  471. package/Modal/Modal.d.ts +0 -218
  472. package/Modal/Modal.js +0 -397
  473. package/Modal/ModalManager.d.ts +0 -25
  474. package/Modal/ModalManager.js +0 -222
  475. package/Modal/index.d.ts +0 -5
  476. package/Modal/index.js +0 -43
  477. package/Modal/modalClasses.d.ts +0 -12
  478. package/Modal/modalClasses.js +0 -15
  479. package/Modal/useModal.d.ts +0 -3
  480. package/Modal/useModal.js +0 -200
  481. package/Modal/useModal.types.d.ts +0 -118
  482. package/Modal/useModal.types.js +0 -5
  483. package/NativeSelect/NativeSelect.d.ts +0 -68
  484. package/NativeSelect/NativeSelect.js +0 -140
  485. package/NativeSelect/NativeSelectInput.d.ts +0 -13
  486. package/NativeSelect/NativeSelectInput.js +0 -247
  487. package/NativeSelect/index.d.ts +0 -4
  488. package/NativeSelect/index.js +0 -35
  489. package/NativeSelect/nativeSelectClasses.d.ts +0 -34
  490. package/NativeSelect/nativeSelectClasses.js +0 -15
  491. package/NoSsr/NoSsr.d.ts +0 -25
  492. package/NoSsr/NoSsr.js +0 -78
  493. package/NoSsr/NoSsr.types.d.ts +0 -18
  494. package/NoSsr/NoSsr.types.js +0 -5
  495. package/NoSsr/index.d.ts +0 -3
  496. package/NoSsr/index.js +0 -13
  497. package/OutlinedInput/NotchedOutline.d.ts +0 -12
  498. package/OutlinedInput/NotchedOutline.js +0 -161
  499. package/OutlinedInput/OutlinedInput.d.ts +0 -54
  500. package/OutlinedInput/OutlinedInput.js +0 -436
  501. package/OutlinedInput/index.d.ts +0 -4
  502. package/OutlinedInput/index.js +0 -35
  503. package/OutlinedInput/outlinedInputClasses.d.ts +0 -38
  504. package/OutlinedInput/outlinedInputClasses.js +0 -19
  505. package/OverridableComponent/index.d.ts +0 -41
  506. package/OverridableComponent/index.js +0 -5
  507. package/Pagination/Pagination.d.ts +0 -79
  508. package/Pagination/Pagination.js +0 -251
  509. package/Pagination/index.d.ts +0 -4
  510. package/Pagination/index.js +0 -35
  511. package/Pagination/paginationClasses.d.ts +0 -14
  512. package/Pagination/paginationClasses.js +0 -15
  513. package/PaginationItem/PaginationItem.d.ts +0 -110
  514. package/PaginationItem/PaginationItem.js +0 -478
  515. package/PaginationItem/index.d.ts +0 -4
  516. package/PaginationItem/index.js +0 -35
  517. package/PaginationItem/paginationItemClasses.d.ts +0 -54
  518. package/PaginationItem/paginationItemClasses.js +0 -15
  519. package/Paper/Paper.d.ts +0 -62
  520. package/Paper/Paper.js +0 -177
  521. package/Paper/index.d.ts +0 -4
  522. package/Paper/index.js +0 -35
  523. package/Paper/paperClasses.d.ts +0 -64
  524. package/Paper/paperClasses.js +0 -15
  525. package/PigmentContainer/PigmentContainer.d.ts +0 -55
  526. package/PigmentContainer/PigmentContainer.js +0 -107
  527. package/PigmentContainer/index.d.ts +0 -3
  528. package/PigmentContainer/index.js +0 -35
  529. package/PigmentGrid/PigmentGrid.d.ts +0 -83
  530. package/PigmentGrid/PigmentGrid.js +0 -135
  531. package/PigmentGrid/index.d.ts +0 -3
  532. package/PigmentGrid/index.js +0 -35
  533. package/PigmentStack/PigmentStack.d.ts +0 -49
  534. package/PigmentStack/PigmentStack.js +0 -90
  535. package/PigmentStack/index.d.ts +0 -3
  536. package/PigmentStack/index.js +0 -35
  537. package/Popover/Popover.d.ts +0 -233
  538. package/Popover/Popover.js +0 -590
  539. package/Popover/index.d.ts +0 -4
  540. package/Popover/index.js +0 -45
  541. package/Popover/popoverClasses.d.ts +0 -10
  542. package/Popover/popoverClasses.js +0 -15
  543. package/Popper/BasePopper.d.ts +0 -7
  544. package/Popper/BasePopper.js +0 -382
  545. package/Popper/BasePopper.types.d.ts +0 -129
  546. package/Popper/BasePopper.types.js +0 -5
  547. package/Popper/Popper.d.ts +0 -46
  548. package/Popper/Popper.js +0 -216
  549. package/Popper/index.d.ts +0 -4
  550. package/Popper/index.js +0 -26
  551. package/Popper/popperClasses.d.ts +0 -8
  552. package/Popper/popperClasses.js +0 -15
  553. package/Portal/Portal.d.ts +0 -16
  554. package/Portal/Portal.js +0 -98
  555. package/Portal/Portal.types.d.ts +0 -23
  556. package/Portal/Portal.types.js +0 -5
  557. package/Portal/index.d.ts +0 -3
  558. package/Portal/index.js +0 -13
  559. package/Radio/Radio.d.ts +0 -86
  560. package/Radio/Radio.js +0 -316
  561. package/Radio/RadioButtonIcon.js +0 -94
  562. package/Radio/index.d.ts +0 -4
  563. package/Radio/index.js +0 -35
  564. package/Radio/radioClasses.d.ts +0 -18
  565. package/Radio/radioClasses.js +0 -15
  566. package/RadioGroup/RadioGroup.d.ts +0 -38
  567. package/RadioGroup/RadioGroup.js +0 -121
  568. package/RadioGroup/RadioGroupContext.d.ts +0 -11
  569. package/RadioGroup/RadioGroupContext.js +0 -17
  570. package/RadioGroup/index.d.ts +0 -5
  571. package/RadioGroup/index.js +0 -43
  572. package/RadioGroup/radioGroupClasses.d.ts +0 -6
  573. package/RadioGroup/radioGroupClasses.js +0 -15
  574. package/RadioGroup/useRadioGroup.d.ts +0 -3
  575. package/RadioGroup/useRadioGroup.js +0 -14
  576. package/Rating/Rating.d.ts +0 -183
  577. package/Rating/Rating.js +0 -784
  578. package/Rating/index.d.ts +0 -4
  579. package/Rating/index.js +0 -35
  580. package/Rating/ratingClasses.d.ts +0 -40
  581. package/Rating/ratingClasses.js +0 -15
  582. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +0 -55
  583. package/ScopedCssBaseline/ScopedCssBaseline.js +0 -126
  584. package/ScopedCssBaseline/index.d.ts +0 -4
  585. package/ScopedCssBaseline/index.js +0 -35
  586. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +0 -8
  587. package/ScopedCssBaseline/scopedCssBaselineClasses.js +0 -15
  588. package/Select/Select.d.ts +0 -188
  589. package/Select/Select.js +0 -306
  590. package/Select/SelectInput.d.ts +0 -55
  591. package/Select/SelectInput.js +0 -679
  592. package/Select/index.d.ts +0 -4
  593. package/Select/index.js +0 -35
  594. package/Select/selectClasses.d.ts +0 -42
  595. package/Select/selectClasses.js +0 -15
  596. package/Skeleton/Skeleton.d.ts +0 -62
  597. package/Skeleton/Skeleton.js +0 -276
  598. package/Skeleton/index.d.ts +0 -4
  599. package/Skeleton/index.js +0 -35
  600. package/Skeleton/skeletonClasses.d.ts +0 -26
  601. package/Skeleton/skeletonClasses.js +0 -15
  602. package/Slide/Slide.d.ts +0 -63
  603. package/Slide/Slide.js +0 -345
  604. package/Slide/index.d.ts +0 -2
  605. package/Slide/index.js +0 -13
  606. package/Slider/Slider.d.ts +0 -298
  607. package/Slider/Slider.js +0 -1097
  608. package/Slider/SliderValueLabel.d.ts +0 -13
  609. package/Slider/SliderValueLabel.js +0 -60
  610. package/Slider/SliderValueLabel.types.d.ts +0 -25
  611. package/Slider/SliderValueLabel.types.js +0 -5
  612. package/Slider/index.d.ts +0 -4
  613. package/Slider/index.js +0 -45
  614. package/Slider/sliderClasses.d.ts +0 -88
  615. package/Slider/sliderClasses.js +0 -15
  616. package/Slider/useSlider.d.ts +0 -4
  617. package/Slider/useSlider.js +0 -711
  618. package/Slider/useSlider.types.d.ts +0 -226
  619. package/Slider/useSlider.types.js +0 -5
  620. package/Snackbar/Snackbar.d.ts +0 -182
  621. package/Snackbar/Snackbar.js +0 -437
  622. package/Snackbar/index.d.ts +0 -4
  623. package/Snackbar/index.js +0 -35
  624. package/Snackbar/snackbarClasses.d.ts +0 -20
  625. package/Snackbar/snackbarClasses.js +0 -15
  626. package/Snackbar/useSnackbar.d.ts +0 -3
  627. package/Snackbar/useSnackbar.js +0 -130
  628. package/Snackbar/useSnackbar.types.d.ts +0 -59
  629. package/Snackbar/useSnackbar.types.js +0 -5
  630. package/SnackbarContent/SnackbarContent.d.ts +0 -42
  631. package/SnackbarContent/SnackbarContent.js +0 -136
  632. package/SnackbarContent/index.d.ts +0 -4
  633. package/SnackbarContent/index.js +0 -35
  634. package/SnackbarContent/snackbarContentClasses.d.ts +0 -12
  635. package/SnackbarContent/snackbarContentClasses.js +0 -15
  636. package/SpeedDial/SpeedDial.d.ts +0 -131
  637. package/SpeedDial/SpeedDial.js +0 -585
  638. package/SpeedDial/index.d.ts +0 -4
  639. package/SpeedDial/index.js +0 -35
  640. package/SpeedDial/speedDialClasses.d.ts +0 -22
  641. package/SpeedDial/speedDialClasses.js +0 -15
  642. package/SpeedDialAction/SpeedDialAction.d.ts +0 -117
  643. package/SpeedDialAction/SpeedDialAction.js +0 -357
  644. package/SpeedDialAction/index.d.ts +0 -4
  645. package/SpeedDialAction/index.js +0 -35
  646. package/SpeedDialAction/speedDialActionClasses.d.ts +0 -20
  647. package/SpeedDialAction/speedDialActionClasses.js +0 -15
  648. package/SpeedDialIcon/SpeedDialIcon.d.ts +0 -43
  649. package/SpeedDialIcon/SpeedDialIcon.js +0 -163
  650. package/SpeedDialIcon/index.d.ts +0 -4
  651. package/SpeedDialIcon/index.js +0 -35
  652. package/SpeedDialIcon/speedDialIconClasses.d.ts +0 -18
  653. package/SpeedDialIcon/speedDialIconClasses.js +0 -15
  654. package/Stack/Stack.d.ts +0 -58
  655. package/Stack/Stack.js +0 -67
  656. package/Stack/index.d.ts +0 -4
  657. package/Stack/index.js +0 -20
  658. package/Stack/stackClasses.d.ts +0 -6
  659. package/Stack/stackClasses.js +0 -15
  660. package/Step/Step.d.ts +0 -70
  661. package/Step/Step.js +0 -183
  662. package/Step/StepContext.d.ts +0 -20
  663. package/Step/StepContext.js +0 -26
  664. package/Step/index.d.ts +0 -6
  665. package/Step/index.js +0 -54
  666. package/Step/stepClasses.d.ts +0 -16
  667. package/Step/stepClasses.js +0 -15
  668. package/StepButton/StepButton.d.ts +0 -51
  669. package/StepButton/StepButton.js +0 -140
  670. package/StepButton/index.d.ts +0 -4
  671. package/StepButton/index.js +0 -35
  672. package/StepButton/stepButtonClasses.d.ts +0 -14
  673. package/StepButton/stepButtonClasses.js +0 -15
  674. package/StepConnector/StepConnector.d.ts +0 -29
  675. package/StepConnector/StepConnector.js +0 -159
  676. package/StepConnector/index.d.ts +0 -4
  677. package/StepConnector/index.js +0 -35
  678. package/StepConnector/stepConnectorClasses.d.ts +0 -30
  679. package/StepConnector/stepConnectorClasses.js +0 -15
  680. package/StepContent/StepContent.d.ts +0 -75
  681. package/StepContent/StepContent.js +0 -193
  682. package/StepContent/index.d.ts +0 -4
  683. package/StepContent/index.js +0 -35
  684. package/StepContent/stepContentClasses.d.ts +0 -12
  685. package/StepContent/stepContentClasses.js +0 -15
  686. package/StepIcon/StepIcon.d.ts +0 -50
  687. package/StepIcon/StepIcon.js +0 -166
  688. package/StepIcon/index.d.ts +0 -4
  689. package/StepIcon/index.js +0 -35
  690. package/StepIcon/stepIconClasses.d.ts +0 -16
  691. package/StepIcon/stepIconClasses.js +0 -15
  692. package/StepLabel/StepLabel.d.ts +0 -106
  693. package/StepLabel/StepLabel.js +0 -284
  694. package/StepLabel/index.d.ts +0 -4
  695. package/StepLabel/index.js +0 -35
  696. package/StepLabel/stepLabelClasses.d.ts +0 -28
  697. package/StepLabel/stepLabelClasses.js +0 -15
  698. package/Stepper/Stepper.d.ts +0 -71
  699. package/Stepper/Stepper.js +0 -174
  700. package/Stepper/StepperContext.d.ts +0 -18
  701. package/Stepper/StepperContext.js +0 -26
  702. package/Stepper/index.d.ts +0 -6
  703. package/Stepper/index.js +0 -54
  704. package/Stepper/stepperClasses.d.ts +0 -16
  705. package/Stepper/stepperClasses.js +0 -15
  706. package/SvgIcon/SvgIcon.d.ts +0 -89
  707. package/SvgIcon/SvgIcon.js +0 -241
  708. package/SvgIcon/index.d.ts +0 -4
  709. package/SvgIcon/index.js +0 -35
  710. package/SvgIcon/svgIconClasses.d.ts +0 -26
  711. package/SvgIcon/svgIconClasses.js +0 -15
  712. package/SwipeableDrawer/SwipeArea.js +0 -111
  713. package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -106
  714. package/SwipeableDrawer/SwipeableDrawer.js +0 -668
  715. package/SwipeableDrawer/index.d.ts +0 -2
  716. package/SwipeableDrawer/index.js +0 -13
  717. package/Switch/Switch.d.ts +0 -123
  718. package/Switch/Switch.js +0 -412
  719. package/Switch/index.d.ts +0 -4
  720. package/Switch/index.js +0 -35
  721. package/Switch/switchClasses.d.ts +0 -32
  722. package/Switch/switchClasses.js +0 -15
  723. package/Tab/Tab.d.ts +0 -75
  724. package/Tab/Tab.js +0 -345
  725. package/Tab/index.d.ts +0 -4
  726. package/Tab/index.js +0 -35
  727. package/Tab/tabClasses.d.ts +0 -30
  728. package/Tab/tabClasses.js +0 -15
  729. package/TabScrollButton/TabScrollButton.d.ts +0 -67
  730. package/TabScrollButton/TabScrollButton.js +0 -179
  731. package/TabScrollButton/index.d.ts +0 -4
  732. package/TabScrollButton/index.js +0 -35
  733. package/TabScrollButton/tabScrollButtonClasses.d.ts +0 -12
  734. package/TabScrollButton/tabScrollButtonClasses.js +0 -15
  735. package/Table/Table.d.ts +0 -55
  736. package/Table/Table.js +0 -143
  737. package/Table/TableContext.d.ts +0 -7
  738. package/Table/TableContext.js +0 -17
  739. package/Table/Tablelvl2Context.d.ts +0 -6
  740. package/Table/Tablelvl2Context.js +0 -17
  741. package/Table/index.d.ts +0 -4
  742. package/Table/index.js +0 -35
  743. package/Table/tableClasses.d.ts +0 -10
  744. package/Table/tableClasses.js +0 -15
  745. package/TableBody/TableBody.d.ts +0 -38
  746. package/TableBody/TableBody.js +0 -92
  747. package/TableBody/index.d.ts +0 -4
  748. package/TableBody/index.js +0 -35
  749. package/TableBody/tableBodyClasses.d.ts +0 -8
  750. package/TableBody/tableBodyClasses.js +0 -15
  751. package/TableCell/TableCell.d.ts +0 -82
  752. package/TableCell/TableCell.js +0 -277
  753. package/TableCell/index.d.ts +0 -4
  754. package/TableCell/index.js +0 -35
  755. package/TableCell/tableCellClasses.d.ts +0 -32
  756. package/TableCell/tableCellClasses.js +0 -15
  757. package/TableContainer/TableContainer.d.ts +0 -38
  758. package/TableContainer/TableContainer.js +0 -84
  759. package/TableContainer/index.d.ts +0 -4
  760. package/TableContainer/index.js +0 -35
  761. package/TableContainer/tableContainerClasses.d.ts +0 -8
  762. package/TableContainer/tableContainerClasses.js +0 -15
  763. package/TableFooter/TableFooter.d.ts +0 -38
  764. package/TableFooter/TableFooter.js +0 -92
  765. package/TableFooter/index.d.ts +0 -4
  766. package/TableFooter/index.js +0 -35
  767. package/TableFooter/tableFooterClasses.d.ts +0 -8
  768. package/TableFooter/tableFooterClasses.js +0 -15
  769. package/TableHead/TableHead.d.ts +0 -38
  770. package/TableHead/TableHead.js +0 -92
  771. package/TableHead/index.d.ts +0 -4
  772. package/TableHead/index.js +0 -35
  773. package/TableHead/tableHeadClasses.d.ts +0 -8
  774. package/TableHead/tableHeadClasses.js +0 -15
  775. package/TablePagination/TablePagination.d.ts +0 -263
  776. package/TablePagination/TablePagination.js +0 -507
  777. package/TablePagination/TablePaginationActions.d.ts +0 -94
  778. package/TablePagination/TablePaginationActions.js +0 -199
  779. package/TablePagination/index.d.ts +0 -4
  780. package/TablePagination/index.js +0 -35
  781. package/TablePagination/tablePaginationClasses.d.ts +0 -28
  782. package/TablePagination/tablePaginationClasses.js +0 -15
  783. package/TableRow/TableRow.d.ts +0 -50
  784. package/TableRow/TableRow.js +0 -134
  785. package/TableRow/index.d.ts +0 -4
  786. package/TableRow/index.js +0 -35
  787. package/TableRow/tableRowClasses.d.ts +0 -16
  788. package/TableRow/tableRowClasses.js +0 -15
  789. package/TableSortLabel/TableSortLabel.d.ts +0 -90
  790. package/TableSortLabel/TableSortLabel.js +0 -219
  791. package/TableSortLabel/index.d.ts +0 -4
  792. package/TableSortLabel/index.js +0 -35
  793. package/TableSortLabel/tableSortLabelClasses.d.ts +0 -24
  794. package/TableSortLabel/tableSortLabelClasses.js +0 -15
  795. package/Tabs/ScrollbarSize.js +0 -65
  796. package/Tabs/Tabs.d.ts +0 -272
  797. package/Tabs/Tabs.js +0 -962
  798. package/Tabs/index.d.ts +0 -4
  799. package/Tabs/index.js +0 -35
  800. package/Tabs/tabsClasses.d.ts +0 -36
  801. package/Tabs/tabsClasses.js +0 -15
  802. package/TextField/TextField.d.ts +0 -342
  803. package/TextField/TextField.js +0 -463
  804. package/TextField/index.d.ts +0 -4
  805. package/TextField/index.js +0 -35
  806. package/TextField/textFieldClasses.d.ts +0 -8
  807. package/TextField/textFieldClasses.js +0 -15
  808. package/TextareaAutosize/TextareaAutosize.d.ts +0 -14
  809. package/TextareaAutosize/TextareaAutosize.js +0 -263
  810. package/TextareaAutosize/TextareaAutosize.types.d.ts +0 -13
  811. package/TextareaAutosize/TextareaAutosize.types.js +0 -5
  812. package/TextareaAutosize/index.d.ts +0 -3
  813. package/TextareaAutosize/index.js +0 -13
  814. package/ToggleButton/ToggleButton.d.ts +0 -95
  815. package/ToggleButton/ToggleButton.js +0 -275
  816. package/ToggleButton/index.d.ts +0 -4
  817. package/ToggleButton/index.js +0 -35
  818. package/ToggleButton/toggleButtonClasses.d.ts +0 -26
  819. package/ToggleButton/toggleButtonClasses.js +0 -15
  820. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -82
  821. package/ToggleButtonGroup/ToggleButtonGroup.js +0 -288
  822. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +0 -6
  823. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -17
  824. package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +0 -16
  825. package/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -17
  826. package/ToggleButtonGroup/index.d.ts +0 -4
  827. package/ToggleButtonGroup/index.js +0 -35
  828. package/ToggleButtonGroup/isValueSelected.js +0 -17
  829. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -34
  830. package/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -15
  831. package/Toolbar/Toolbar.d.ts +0 -51
  832. package/Toolbar/Toolbar.js +0 -136
  833. package/Toolbar/index.d.ts +0 -4
  834. package/Toolbar/index.js +0 -35
  835. package/Toolbar/toolbarClasses.d.ts +0 -14
  836. package/Toolbar/toolbarClasses.js +0 -15
  837. package/Tooltip/Tooltip.d.ts +0 -229
  838. package/Tooltip/Tooltip.js +0 -905
  839. package/Tooltip/index.d.ts +0 -4
  840. package/Tooltip/index.js +0 -35
  841. package/Tooltip/tooltipClasses.d.ts +0 -30
  842. package/Tooltip/tooltipClasses.js +0 -15
  843. package/Typography/Typography.d.ts +0 -99
  844. package/Typography/Typography.js +0 -275
  845. package/Typography/index.d.ts +0 -4
  846. package/Typography/index.js +0 -35
  847. package/Typography/typographyClasses.d.ts +0 -53
  848. package/Typography/typographyClasses.js +0 -15
  849. package/Unstable_TrapFocus/FocusTrap.d.ts +0 -10
  850. package/Unstable_TrapFocus/FocusTrap.js +0 -340
  851. package/Unstable_TrapFocus/FocusTrap.types.d.ts +0 -54
  852. package/Unstable_TrapFocus/FocusTrap.types.js +0 -5
  853. package/Unstable_TrapFocus/index.d.ts +0 -2
  854. package/Unstable_TrapFocus/index.js +0 -13
  855. package/Zoom/Zoom.d.ts +0 -49
  856. package/Zoom/Zoom.js +0 -217
  857. package/Zoom/index.d.ts +0 -2
  858. package/Zoom/index.js +0 -13
  859. package/className/index.d.ts +0 -1
  860. package/className/index.js +0 -13
  861. package/colors/amber.d.ts +0 -62
  862. package/colors/amber.js +0 -23
  863. package/colors/blue.d.ts +0 -62
  864. package/colors/blue.js +0 -23
  865. package/colors/blueGrey.d.ts +0 -62
  866. package/colors/blueGrey.js +0 -23
  867. package/colors/brown.d.ts +0 -62
  868. package/colors/brown.js +0 -23
  869. package/colors/common.d.ts +0 -14
  870. package/colors/common.js +0 -11
  871. package/colors/cyan.d.ts +0 -62
  872. package/colors/cyan.js +0 -23
  873. package/colors/deepOrange.d.ts +0 -62
  874. package/colors/deepOrange.js +0 -23
  875. package/colors/deepPurple.d.ts +0 -62
  876. package/colors/deepPurple.js +0 -23
  877. package/colors/green.d.ts +0 -62
  878. package/colors/green.js +0 -23
  879. package/colors/grey.d.ts +0 -62
  880. package/colors/grey.js +0 -23
  881. package/colors/index.d.ts +0 -20
  882. package/colors/index.js +0 -146
  883. package/colors/indigo.d.ts +0 -62
  884. package/colors/indigo.js +0 -23
  885. package/colors/lightBlue.d.ts +0 -62
  886. package/colors/lightBlue.js +0 -23
  887. package/colors/lightGreen.d.ts +0 -62
  888. package/colors/lightGreen.js +0 -23
  889. package/colors/lime.d.ts +0 -62
  890. package/colors/lime.js +0 -23
  891. package/colors/orange.d.ts +0 -62
  892. package/colors/orange.js +0 -23
  893. package/colors/pink.d.ts +0 -62
  894. package/colors/pink.js +0 -23
  895. package/colors/purple.d.ts +0 -62
  896. package/colors/purple.js +0 -23
  897. package/colors/red.d.ts +0 -62
  898. package/colors/red.js +0 -23
  899. package/colors/teal.d.ts +0 -62
  900. package/colors/teal.js +0 -23
  901. package/colors/yellow.d.ts +0 -62
  902. package/colors/yellow.js +0 -23
  903. package/darkScrollbar/index.d.ts +0 -28
  904. package/darkScrollbar/index.js +0 -38
  905. package/generateUtilityClass/index.d.ts +0 -2
  906. package/generateUtilityClass/index.js +0 -13
  907. package/generateUtilityClasses/index.d.ts +0 -1
  908. package/generateUtilityClasses/index.js +0 -13
  909. package/index.d.ts +0 -324
  910. package/index.js +0 -2612
  911. package/internal/SwitchBase.d.ts +0 -108
  912. package/internal/SwitchBase.js +0 -362
  913. package/internal/animate.js +0 -45
  914. package/internal/svg-icons/Add.js +0 -17
  915. package/internal/svg-icons/ArrowDownward.js +0 -18
  916. package/internal/svg-icons/ArrowDropDown.js +0 -18
  917. package/internal/svg-icons/Cancel.js +0 -18
  918. package/internal/svg-icons/CheckBox.js +0 -18
  919. package/internal/svg-icons/CheckBoxOutlineBlank.js +0 -18
  920. package/internal/svg-icons/CheckCircle.js +0 -18
  921. package/internal/svg-icons/Close.js +0 -20
  922. package/internal/svg-icons/ErrorOutline.js +0 -18
  923. package/internal/svg-icons/FirstPage.js +0 -18
  924. package/internal/svg-icons/IndeterminateCheckBox.js +0 -18
  925. package/internal/svg-icons/InfoOutlined.js +0 -18
  926. package/internal/svg-icons/KeyboardArrowLeft.js +0 -18
  927. package/internal/svg-icons/KeyboardArrowRight.js +0 -18
  928. package/internal/svg-icons/LastPage.js +0 -18
  929. package/internal/svg-icons/MoreHoriz.js +0 -18
  930. package/internal/svg-icons/NavigateBefore.js +0 -18
  931. package/internal/svg-icons/NavigateNext.js +0 -18
  932. package/internal/svg-icons/Person.js +0 -18
  933. package/internal/svg-icons/RadioButtonChecked.js +0 -18
  934. package/internal/svg-icons/RadioButtonUnchecked.js +0 -18
  935. package/internal/svg-icons/ReportProblemOutlined.js +0 -18
  936. package/internal/svg-icons/Star.js +0 -18
  937. package/internal/svg-icons/StarBorder.js +0 -18
  938. package/internal/svg-icons/SuccessOutlined.js +0 -18
  939. package/internal/svg-icons/Warning.js +0 -18
  940. package/internal/switchBaseClasses.d.ts +0 -12
  941. package/internal/switchBaseClasses.js +0 -15
  942. package/locale/index.d.ts +0 -82
  943. package/locale/index.js +0 -4330
  944. package/styles/ThemeProvider.d.ts +0 -76
  945. package/styles/ThemeProvider.js +0 -47
  946. package/styles/ThemeProviderNoVars.d.ts +0 -10
  947. package/styles/ThemeProviderNoVars.js +0 -24
  948. package/styles/ThemeProviderWithVars.d.ts +0 -51
  949. package/styles/ThemeProviderWithVars.js +0 -101
  950. package/styles/adaptV4Theme.d.ts +0 -36
  951. package/styles/adaptV4Theme.js +0 -88
  952. package/styles/components.d.ts +0 -595
  953. package/styles/components.js +0 -5
  954. package/styles/createColorScheme.d.ts +0 -9
  955. package/styles/createColorScheme.js +0 -50
  956. package/styles/createGetSelector.d.ts +0 -16
  957. package/styles/createGetSelector.js +0 -68
  958. package/styles/createMixins.d.ts +0 -32
  959. package/styles/createMixins.js +0 -22
  960. package/styles/createMuiStrictModeTheme.js +0 -14
  961. package/styles/createPalette.d.ts +0 -125
  962. package/styles/createPalette.js +0 -311
  963. package/styles/createStyles.d.ts +0 -1
  964. package/styles/createStyles.js +0 -16
  965. package/styles/createTheme.d.ts +0 -14
  966. package/styles/createTheme.js +0 -105
  967. package/styles/createThemeNoVars.d.ts +0 -70
  968. package/styles/createThemeNoVars.js +0 -99
  969. package/styles/createThemeWithVars.d.ts +0 -350
  970. package/styles/createThemeWithVars.js +0 -396
  971. package/styles/createTransitions.d.ts +0 -51
  972. package/styles/createTransitions.js +0 -96
  973. package/styles/createTypography.d.ts +0 -28
  974. package/styles/createTypography.js +0 -99
  975. package/styles/cssUtils.d.ts +0 -25
  976. package/styles/cssUtils.js +0 -137
  977. package/styles/defaultTheme.js +0 -11
  978. package/styles/excludeVariablesFromRoot.d.ts +0 -5
  979. package/styles/excludeVariablesFromRoot.js +0 -11
  980. package/styles/experimental_extendTheme.js +0 -16
  981. package/styles/getOverlayAlpha.d.ts +0 -1
  982. package/styles/getOverlayAlpha.js +0 -16
  983. package/styles/identifier.d.ts +0 -2
  984. package/styles/identifier.js +0 -7
  985. package/styles/index.d.ts +0 -49
  986. package/styles/index.js +0 -348
  987. package/styles/makeStyles.d.ts +0 -1
  988. package/styles/makeStyles.js +0 -11
  989. package/styles/overrides.d.ts +0 -244
  990. package/styles/overrides.js +0 -5
  991. package/styles/props.d.ts +0 -241
  992. package/styles/props.js +0 -5
  993. package/styles/responsiveFontSizes.d.ts +0 -11
  994. package/styles/responsiveFontSizes.js +0 -74
  995. package/styles/rootShouldForwardProp.d.ts +0 -2
  996. package/styles/rootShouldForwardProp.js +0 -10
  997. package/styles/shadows.d.ts +0 -3
  998. package/styles/shadows.js +0 -16
  999. package/styles/shouldSkipGeneratingVar.d.ts +0 -1
  1000. package/styles/shouldSkipGeneratingVar.js +0 -11
  1001. package/styles/slotShouldForwardProp.d.ts +0 -2
  1002. package/styles/slotShouldForwardProp.js +0 -11
  1003. package/styles/stringifyTheme.d.ts +0 -20
  1004. package/styles/stringifyTheme.js +0 -61
  1005. package/styles/styled.d.ts +0 -13
  1006. package/styles/styled.js +0 -31
  1007. package/styles/useTheme.d.ts +0 -2
  1008. package/styles/useTheme.js +0 -22
  1009. package/styles/useThemeProps.d.ts +0 -42
  1010. package/styles/useThemeProps.js +0 -22
  1011. package/styles/variants.d.ts +0 -10
  1012. package/styles/variants.js +0 -5
  1013. package/styles/withStyles.d.ts +0 -1
  1014. package/styles/withStyles.js +0 -11
  1015. package/styles/withTheme.d.ts +0 -1
  1016. package/styles/withTheme.js +0 -11
  1017. package/styles/zIndex.d.ts +0 -13
  1018. package/styles/zIndex.js +0 -19
  1019. package/themeCssVarsAugmentation/index.d.ts +0 -10
  1020. package/transitions/index.d.ts +0 -1
  1021. package/transitions/index.js +0 -16
  1022. package/transitions/transition.d.ts +0 -12
  1023. package/transitions/transition.js +0 -5
  1024. package/transitions/utils.d.ts +0 -23
  1025. package/transitions/utils.js +0 -21
  1026. package/types/OverridableComponentAugmentation.d.ts +0 -31
  1027. package/types/OverridableComponentAugmentation.js +0 -5
  1028. package/useAutocomplete/index.d.ts +0 -2
  1029. package/useAutocomplete/index.js +0 -19
  1030. package/useAutocomplete/useAutocomplete.d.ts +0 -420
  1031. package/useAutocomplete/useAutocomplete.js +0 -1030
  1032. package/useLazyRipple/index.d.ts +0 -1
  1033. package/useLazyRipple/index.js +0 -14
  1034. package/useLazyRipple/useLazyRipple.d.ts +0 -32
  1035. package/useLazyRipple/useLazyRipple.js +0 -94
  1036. package/useMediaQuery/index.d.ts +0 -7
  1037. package/useMediaQuery/index.js +0 -13
  1038. package/usePagination/index.d.ts +0 -2
  1039. package/usePagination/index.js +0 -13
  1040. package/usePagination/usePagination.d.ts +0 -74
  1041. package/usePagination/usePagination.js +0 -119
  1042. package/useScrollTrigger/index.d.ts +0 -1
  1043. package/useScrollTrigger/index.js +0 -13
  1044. package/useScrollTrigger/useScrollTrigger.d.ts +0 -6
  1045. package/useScrollTrigger/useScrollTrigger.js +0 -61
  1046. package/utils/PolymorphicComponent.d.ts +0 -17
  1047. package/utils/PolymorphicComponent.js +0 -5
  1048. package/utils/areArraysEqual.d.ts +0 -3
  1049. package/utils/areArraysEqual.js +0 -10
  1050. package/utils/capitalize.d.ts +0 -2
  1051. package/utils/capitalize.js +0 -9
  1052. package/utils/createChainedFunction.d.ts +0 -2
  1053. package/utils/createChainedFunction.js +0 -9
  1054. package/utils/createSimplePaletteValueFilter.d.ts +0 -12
  1055. package/utils/createSimplePaletteValueFilter.js +0 -47
  1056. package/utils/createSvgIcon.d.ts +0 -2
  1057. package/utils/createSvgIcon.js +0 -31
  1058. package/utils/debounce.d.ts +0 -2
  1059. package/utils/debounce.js +0 -9
  1060. package/utils/deprecatedPropType.d.ts +0 -2
  1061. package/utils/deprecatedPropType.js +0 -9
  1062. package/utils/getScrollbarSize.d.ts +0 -2
  1063. package/utils/getScrollbarSize.js +0 -9
  1064. package/utils/index.d.ts +0 -20
  1065. package/utils/index.js +0 -145
  1066. package/utils/isHostComponent.d.ts +0 -6
  1067. package/utils/isHostComponent.js +0 -13
  1068. package/utils/isMuiElement.d.ts +0 -2
  1069. package/utils/isMuiElement.js +0 -9
  1070. package/utils/memoTheme.d.ts +0 -7
  1071. package/utils/memoTheme.js +0 -9
  1072. package/utils/mergeSlotProps.d.ts +0 -2
  1073. package/utils/mergeSlotProps.js +0 -81
  1074. package/utils/omitEventHandlers.d.ts +0 -9
  1075. package/utils/omitEventHandlers.js +0 -24
  1076. package/utils/ownerDocument.d.ts +0 -2
  1077. package/utils/ownerDocument.js +0 -9
  1078. package/utils/ownerWindow.d.ts +0 -2
  1079. package/utils/ownerWindow.js +0 -9
  1080. package/utils/requirePropFactory.d.ts +0 -2
  1081. package/utils/requirePropFactory.js +0 -9
  1082. package/utils/setRef.d.ts +0 -2
  1083. package/utils/setRef.js +0 -9
  1084. package/utils/shouldSpreadAdditionalProps.js +0 -12
  1085. package/utils/types.d.ts +0 -26
  1086. package/utils/types.js +0 -5
  1087. package/utils/unsupportedProp.d.ts +0 -2
  1088. package/utils/unsupportedProp.js +0 -9
  1089. package/utils/useControlled.d.ts +0 -2
  1090. package/utils/useControlled.js +0 -10
  1091. package/utils/useEnhancedEffect.d.ts +0 -2
  1092. package/utils/useEnhancedEffect.js +0 -10
  1093. package/utils/useEventCallback.d.ts +0 -2
  1094. package/utils/useEventCallback.js +0 -10
  1095. package/utils/useForkRef.d.ts +0 -2
  1096. package/utils/useForkRef.js +0 -10
  1097. package/utils/useId.d.ts +0 -2
  1098. package/utils/useId.js +0 -10
  1099. package/utils/useSlot.d.ts +0 -81
  1100. package/utils/useSlot.js +0 -86
  1101. package/version/index.d.ts +0 -6
  1102. package/version/index.js +0 -12
  1103. package/zero-styled/index.d.ts +0 -12
  1104. package/zero-styled/index.js +0 -59
@@ -1,668 +0,0 @@
1
- "use strict";
2
- 'use client';
3
-
4
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
- Object.defineProperty(exports, "__esModule", {
7
- value: true
8
- });
9
- exports.default = void 0;
10
- exports.reset = reset;
11
- var React = _interopRequireWildcard(require("react"));
12
- var ReactDOM = _interopRequireWildcard(require("react-dom"));
13
- var _propTypes = _interopRequireDefault(require("prop-types"));
14
- var _elementTypeAcceptingRef = _interopRequireDefault(require("@mui/utils/elementTypeAcceptingRef"));
15
- var _NoSsr = _interopRequireDefault(require("../NoSsr"));
16
- var _Drawer = _interopRequireWildcard(require("../Drawer/Drawer"));
17
- var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
18
- var _ownerDocument = _interopRequireDefault(require("../utils/ownerDocument"));
19
- var _ownerWindow = _interopRequireDefault(require("../utils/ownerWindow"));
20
- var _useEventCallback = _interopRequireDefault(require("../utils/useEventCallback"));
21
- var _useEnhancedEffect = _interopRequireDefault(require("../utils/useEnhancedEffect"));
22
- var _zeroStyled = require("../zero-styled");
23
- var _DefaultPropsProvider = require("../DefaultPropsProvider");
24
- var _utils = require("../transitions/utils");
25
- var _utils2 = require("../utils");
26
- var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
27
- var _SwipeArea = _interopRequireDefault(require("./SwipeArea"));
28
- var _jsxRuntime = require("react/jsx-runtime");
29
- // This value is closed to what browsers are using internally to
30
- // trigger a native scroll.
31
- const UNCERTAINTY_THRESHOLD = 3; // px
32
-
33
- // This is the part of the drawer displayed on touch start.
34
- const DRAG_STARTED_SIGNAL = 20; // px
35
-
36
- // We can only have one instance at the time claiming ownership for handling the swipe.
37
- // Otherwise, the UX would be confusing.
38
- // That's why we use a singleton here.
39
- let claimedSwipeInstance = null;
40
-
41
- // Exported for test purposes.
42
- function reset() {
43
- claimedSwipeInstance = null;
44
- }
45
- function calculateCurrentX(anchor, touches, doc) {
46
- return anchor === 'right' ? doc.body.offsetWidth - touches[0].pageX : touches[0].pageX;
47
- }
48
- function calculateCurrentY(anchor, touches, containerWindow) {
49
- return anchor === 'bottom' ? containerWindow.innerHeight - touches[0].clientY : touches[0].clientY;
50
- }
51
- function getMaxTranslate(horizontalSwipe, paperInstance) {
52
- return horizontalSwipe ? paperInstance.clientWidth : paperInstance.clientHeight;
53
- }
54
- function getTranslate(currentTranslate, startLocation, open, maxTranslate) {
55
- return Math.min(Math.max(open ? startLocation - currentTranslate : maxTranslate + startLocation - currentTranslate, 0), maxTranslate);
56
- }
57
-
58
- /**
59
- * @param {Element | null} element
60
- * @param {Element} rootNode
61
- */
62
- function getDomTreeShapes(element, rootNode) {
63
- // Adapted from https://github.com/oliviertassinari/react-swipeable-views/blob/7666de1dba253b896911adf2790ce51467670856/packages/react-swipeable-views/src/SwipeableViews.js#L129
64
- const domTreeShapes = [];
65
- while (element && element !== rootNode.parentElement) {
66
- const style = (0, _ownerWindow.default)(rootNode).getComputedStyle(element);
67
- if (
68
- // Ignore the scroll children if the element is absolute positioned.
69
- style.getPropertyValue('position') === 'absolute' ||
70
- // Ignore the scroll children if the element has an overflowX hidden
71
- style.getPropertyValue('overflow-x') === 'hidden') {
72
- // noop
73
- } else if (element.clientWidth > 0 && element.scrollWidth > element.clientWidth || element.clientHeight > 0 && element.scrollHeight > element.clientHeight) {
74
- // Ignore the nodes that have no width.
75
- // Keep elements with a scroll
76
- domTreeShapes.push(element);
77
- }
78
- element = element.parentElement;
79
- }
80
- return domTreeShapes;
81
- }
82
-
83
- /**
84
- * @param {object} param0
85
- * @param {ReturnType<getDomTreeShapes>} param0.domTreeShapes
86
- */
87
- function computeHasNativeHandler({
88
- domTreeShapes,
89
- start,
90
- current,
91
- anchor
92
- }) {
93
- // Adapted from https://github.com/oliviertassinari/react-swipeable-views/blob/7666de1dba253b896911adf2790ce51467670856/packages/react-swipeable-views/src/SwipeableViews.js#L175
94
- const axisProperties = {
95
- scrollPosition: {
96
- x: 'scrollLeft',
97
- y: 'scrollTop'
98
- },
99
- scrollLength: {
100
- x: 'scrollWidth',
101
- y: 'scrollHeight'
102
- },
103
- clientLength: {
104
- x: 'clientWidth',
105
- y: 'clientHeight'
106
- }
107
- };
108
- return domTreeShapes.some(shape => {
109
- // Determine if we are going backward or forward.
110
- let goingForward = current >= start;
111
- if (anchor === 'top' || anchor === 'left') {
112
- goingForward = !goingForward;
113
- }
114
- const axis = anchor === 'left' || anchor === 'right' ? 'x' : 'y';
115
- const scrollPosition = Math.round(shape[axisProperties.scrollPosition[axis]]);
116
- const areNotAtStart = scrollPosition > 0;
117
- const areNotAtEnd = scrollPosition + shape[axisProperties.clientLength[axis]] < shape[axisProperties.scrollLength[axis]];
118
- if (goingForward && areNotAtEnd || !goingForward && areNotAtStart) {
119
- return true;
120
- }
121
- return false;
122
- });
123
- }
124
- const iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
125
- const SwipeableDrawer = /*#__PURE__*/React.forwardRef(function SwipeableDrawer(inProps, ref) {
126
- const props = (0, _DefaultPropsProvider.useDefaultProps)({
127
- name: 'MuiSwipeableDrawer',
128
- props: inProps
129
- });
130
- const theme = (0, _zeroStyled.useTheme)();
131
- const transitionDurationDefault = {
132
- enter: theme.transitions.duration.enteringScreen,
133
- exit: theme.transitions.duration.leavingScreen
134
- };
135
- const {
136
- anchor = 'left',
137
- disableBackdropTransition = false,
138
- disableDiscovery = false,
139
- disableSwipeToOpen = iOS,
140
- hideBackdrop,
141
- hysteresis = 0.52,
142
- allowSwipeInChildren = false,
143
- minFlingVelocity = 450,
144
- ModalProps: {
145
- BackdropProps,
146
- ...ModalPropsProp
147
- } = {},
148
- onClose,
149
- onOpen,
150
- open = false,
151
- PaperProps = {},
152
- SwipeAreaProps,
153
- swipeAreaWidth = 20,
154
- transitionDuration = transitionDurationDefault,
155
- variant = 'temporary',
156
- // Mobile first.
157
- slots = {},
158
- slotProps = {},
159
- ...other
160
- } = props;
161
- const [maybeSwiping, setMaybeSwiping] = React.useState(false);
162
- const swipeInstance = React.useRef({
163
- isSwiping: null
164
- });
165
- const swipeAreaRef = React.useRef();
166
- const backdropRef = React.useRef();
167
- const paperRef = React.useRef();
168
- const handleRef = (0, _useForkRef.default)(PaperProps.ref, paperRef);
169
- const touchDetected = React.useRef(false);
170
-
171
- // Ref for transition duration based on / to match swipe speed
172
- const calculatedDurationRef = React.useRef();
173
-
174
- // Use a ref so the open value used is always up to date inside useCallback.
175
- (0, _useEnhancedEffect.default)(() => {
176
- calculatedDurationRef.current = null;
177
- }, [open]);
178
- const setPosition = React.useCallback((translate, options = {}) => {
179
- const {
180
- mode = null,
181
- changeTransition = true
182
- } = options;
183
- const anchorRtl = (0, _Drawer.getAnchor)(theme, anchor);
184
- const rtlTranslateMultiplier = ['right', 'bottom'].includes(anchorRtl) ? 1 : -1;
185
- const horizontalSwipe = (0, _Drawer.isHorizontal)(anchor);
186
- const transform = horizontalSwipe ? `translate(${rtlTranslateMultiplier * translate}px, 0)` : `translate(0, ${rtlTranslateMultiplier * translate}px)`;
187
- const drawerStyle = paperRef.current.style;
188
- drawerStyle.webkitTransform = transform;
189
- drawerStyle.transform = transform;
190
- let transition = '';
191
- if (mode) {
192
- transition = theme.transitions.create('all', (0, _utils.getTransitionProps)({
193
- easing: undefined,
194
- style: undefined,
195
- timeout: transitionDuration
196
- }, {
197
- mode
198
- }));
199
- }
200
- if (changeTransition) {
201
- drawerStyle.webkitTransition = transition;
202
- drawerStyle.transition = transition;
203
- }
204
- if (!disableBackdropTransition && !hideBackdrop) {
205
- const backdropStyle = backdropRef.current.style;
206
- backdropStyle.opacity = 1 - translate / getMaxTranslate(horizontalSwipe, paperRef.current);
207
- if (changeTransition) {
208
- backdropStyle.webkitTransition = transition;
209
- backdropStyle.transition = transition;
210
- }
211
- }
212
- }, [anchor, disableBackdropTransition, hideBackdrop, theme, transitionDuration]);
213
- const handleBodyTouchEnd = (0, _useEventCallback.default)(nativeEvent => {
214
- if (!touchDetected.current) {
215
- return;
216
- }
217
- // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- claimedSwipeInstance is a singleton
218
- claimedSwipeInstance = null;
219
- touchDetected.current = false;
220
- ReactDOM.flushSync(() => {
221
- setMaybeSwiping(false);
222
- });
223
-
224
- // The swipe wasn't started.
225
- if (!swipeInstance.current.isSwiping) {
226
- swipeInstance.current.isSwiping = null;
227
- return;
228
- }
229
- swipeInstance.current.isSwiping = null;
230
- const anchorRtl = (0, _Drawer.getAnchor)(theme, anchor);
231
- const horizontal = (0, _Drawer.isHorizontal)(anchor);
232
- let current;
233
- if (horizontal) {
234
- current = calculateCurrentX(anchorRtl, nativeEvent.changedTouches, (0, _ownerDocument.default)(nativeEvent.currentTarget));
235
- } else {
236
- current = calculateCurrentY(anchorRtl, nativeEvent.changedTouches, (0, _ownerWindow.default)(nativeEvent.currentTarget));
237
- }
238
- const startLocation = horizontal ? swipeInstance.current.startX : swipeInstance.current.startY;
239
- const maxTranslate = getMaxTranslate(horizontal, paperRef.current);
240
- const currentTranslate = getTranslate(current, startLocation, open, maxTranslate);
241
- const translateRatio = currentTranslate / maxTranslate;
242
- if (Math.abs(swipeInstance.current.velocity) > minFlingVelocity) {
243
- // Calculate transition duration to match swipe speed
244
- calculatedDurationRef.current = Math.abs((maxTranslate - currentTranslate) / swipeInstance.current.velocity) * 1000;
245
- }
246
- if (open) {
247
- if (swipeInstance.current.velocity > minFlingVelocity || translateRatio > hysteresis) {
248
- onClose();
249
- } else {
250
- // Reset the position, the swipe was aborted.
251
- setPosition(0, {
252
- mode: 'exit'
253
- });
254
- }
255
- return;
256
- }
257
- if (swipeInstance.current.velocity < -minFlingVelocity || 1 - translateRatio > hysteresis) {
258
- onOpen();
259
- } else {
260
- // Reset the position, the swipe was aborted.
261
- setPosition(getMaxTranslate(horizontal, paperRef.current), {
262
- mode: 'enter'
263
- });
264
- }
265
- });
266
- const startMaybeSwiping = (force = false) => {
267
- if (!maybeSwiping) {
268
- // on Safari Mobile, if you want to be able to have the 'click' event fired on child elements, nothing in the DOM can be changed.
269
- // this is because Safari Mobile will not fire any mouse events (still fires touch though) if the DOM changes during mousemove.
270
- // so do this change on first touchmove instead of touchstart
271
- if (force || !(disableDiscovery && allowSwipeInChildren)) {
272
- ReactDOM.flushSync(() => {
273
- setMaybeSwiping(true);
274
- });
275
- }
276
- const horizontalSwipe = (0, _Drawer.isHorizontal)(anchor);
277
- if (!open && paperRef.current) {
278
- // The ref may be null when a parent component updates while swiping.
279
- setPosition(getMaxTranslate(horizontalSwipe, paperRef.current) + (disableDiscovery ? 15 : -DRAG_STARTED_SIGNAL), {
280
- changeTransition: false
281
- });
282
- }
283
- swipeInstance.current.velocity = 0;
284
- swipeInstance.current.lastTime = null;
285
- swipeInstance.current.lastTranslate = null;
286
- swipeInstance.current.paperHit = false;
287
- touchDetected.current = true;
288
- }
289
- };
290
- const handleBodyTouchMove = (0, _useEventCallback.default)(nativeEvent => {
291
- // the ref may be null when a parent component updates while swiping
292
- if (!paperRef.current || !touchDetected.current) {
293
- return;
294
- }
295
-
296
- // We are not supposed to handle this touch move because the swipe was started in a scrollable container in the drawer
297
- if (claimedSwipeInstance !== null && claimedSwipeInstance !== swipeInstance.current) {
298
- return;
299
- }
300
- startMaybeSwiping(true);
301
- const anchorRtl = (0, _Drawer.getAnchor)(theme, anchor);
302
- const horizontalSwipe = (0, _Drawer.isHorizontal)(anchor);
303
- const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, (0, _ownerDocument.default)(nativeEvent.currentTarget));
304
- const currentY = calculateCurrentY(anchorRtl, nativeEvent.touches, (0, _ownerWindow.default)(nativeEvent.currentTarget));
305
- if (open && paperRef.current.contains(nativeEvent.target) && claimedSwipeInstance === null) {
306
- const domTreeShapes = getDomTreeShapes(nativeEvent.target, paperRef.current);
307
- const hasNativeHandler = computeHasNativeHandler({
308
- domTreeShapes,
309
- start: horizontalSwipe ? swipeInstance.current.startX : swipeInstance.current.startY,
310
- current: horizontalSwipe ? currentX : currentY,
311
- anchor
312
- });
313
- if (hasNativeHandler) {
314
- claimedSwipeInstance = true;
315
- return;
316
- }
317
- claimedSwipeInstance = swipeInstance.current;
318
- }
319
-
320
- // We don't know yet.
321
- if (swipeInstance.current.isSwiping == null) {
322
- const dx = Math.abs(currentX - swipeInstance.current.startX);
323
- const dy = Math.abs(currentY - swipeInstance.current.startY);
324
- const definitelySwiping = horizontalSwipe ? dx > dy && dx > UNCERTAINTY_THRESHOLD : dy > dx && dy > UNCERTAINTY_THRESHOLD;
325
- if (definitelySwiping && nativeEvent.cancelable) {
326
- nativeEvent.preventDefault();
327
- }
328
- if (definitelySwiping === true || (horizontalSwipe ? dy > UNCERTAINTY_THRESHOLD : dx > UNCERTAINTY_THRESHOLD)) {
329
- swipeInstance.current.isSwiping = definitelySwiping;
330
- if (!definitelySwiping) {
331
- handleBodyTouchEnd(nativeEvent);
332
- return;
333
- }
334
-
335
- // Shift the starting point.
336
- swipeInstance.current.startX = currentX;
337
- swipeInstance.current.startY = currentY;
338
-
339
- // Compensate for the part of the drawer displayed on touch start.
340
- if (!disableDiscovery && !open) {
341
- if (horizontalSwipe) {
342
- swipeInstance.current.startX -= DRAG_STARTED_SIGNAL;
343
- } else {
344
- swipeInstance.current.startY -= DRAG_STARTED_SIGNAL;
345
- }
346
- }
347
- }
348
- }
349
- if (!swipeInstance.current.isSwiping) {
350
- return;
351
- }
352
- const maxTranslate = getMaxTranslate(horizontalSwipe, paperRef.current);
353
- let startLocation = horizontalSwipe ? swipeInstance.current.startX : swipeInstance.current.startY;
354
- if (open && !swipeInstance.current.paperHit) {
355
- startLocation = Math.min(startLocation, maxTranslate);
356
- }
357
- const translate = getTranslate(horizontalSwipe ? currentX : currentY, startLocation, open, maxTranslate);
358
- if (open) {
359
- if (!swipeInstance.current.paperHit) {
360
- const paperHit = horizontalSwipe ? currentX < maxTranslate : currentY < maxTranslate;
361
- if (paperHit) {
362
- swipeInstance.current.paperHit = true;
363
- swipeInstance.current.startX = currentX;
364
- swipeInstance.current.startY = currentY;
365
- } else {
366
- return;
367
- }
368
- } else if (translate === 0) {
369
- swipeInstance.current.startX = currentX;
370
- swipeInstance.current.startY = currentY;
371
- }
372
- }
373
- if (swipeInstance.current.lastTranslate === null) {
374
- swipeInstance.current.lastTranslate = translate;
375
- swipeInstance.current.lastTime = performance.now() + 1;
376
- }
377
- const velocity = (translate - swipeInstance.current.lastTranslate) / (performance.now() - swipeInstance.current.lastTime) * 1e3;
378
-
379
- // Low Pass filter.
380
- swipeInstance.current.velocity = swipeInstance.current.velocity * 0.4 + velocity * 0.6;
381
- swipeInstance.current.lastTranslate = translate;
382
- swipeInstance.current.lastTime = performance.now();
383
-
384
- // We are swiping, let's prevent the scroll event on iOS.
385
- if (nativeEvent.cancelable) {
386
- nativeEvent.preventDefault();
387
- }
388
- setPosition(translate);
389
- });
390
- const handleBodyTouchStart = (0, _useEventCallback.default)(nativeEvent => {
391
- // We are not supposed to handle this touch move.
392
- // Example of use case: ignore the event if there is a Slider.
393
- if (nativeEvent.defaultPrevented) {
394
- return;
395
- }
396
-
397
- // We can only have one node at the time claiming ownership for handling the swipe.
398
- if (nativeEvent.defaultMuiPrevented) {
399
- return;
400
- }
401
-
402
- // At least one element clogs the drawer interaction zone.
403
- if (open && (hideBackdrop || !backdropRef.current.contains(nativeEvent.target)) && !paperRef.current.contains(nativeEvent.target)) {
404
- return;
405
- }
406
- const anchorRtl = (0, _Drawer.getAnchor)(theme, anchor);
407
- const horizontalSwipe = (0, _Drawer.isHorizontal)(anchor);
408
- const currentX = calculateCurrentX(anchorRtl, nativeEvent.touches, (0, _ownerDocument.default)(nativeEvent.currentTarget));
409
- const currentY = calculateCurrentY(anchorRtl, nativeEvent.touches, (0, _ownerWindow.default)(nativeEvent.currentTarget));
410
- if (!open) {
411
- // logic for if swipe should be ignored:
412
- // if disableSwipeToOpen
413
- // if target != swipeArea, and target is not a child of paper ref
414
- // if is a child of paper ref, and `allowSwipeInChildren` does not allow it
415
- if (disableSwipeToOpen || !(nativeEvent.target === swipeAreaRef.current || paperRef.current?.contains(nativeEvent.target) && (typeof allowSwipeInChildren === 'function' ? allowSwipeInChildren(nativeEvent, swipeAreaRef.current, paperRef.current) : allowSwipeInChildren))) {
416
- return;
417
- }
418
- if (horizontalSwipe) {
419
- if (currentX > swipeAreaWidth) {
420
- return;
421
- }
422
- } else if (currentY > swipeAreaWidth) {
423
- return;
424
- }
425
- }
426
- nativeEvent.defaultMuiPrevented = true;
427
- claimedSwipeInstance = null;
428
- swipeInstance.current.startX = currentX;
429
- swipeInstance.current.startY = currentY;
430
- startMaybeSwiping();
431
- });
432
- React.useEffect(() => {
433
- if (variant === 'temporary') {
434
- const doc = (0, _ownerDocument.default)(paperRef.current);
435
- doc.addEventListener('touchstart', handleBodyTouchStart);
436
- // A blocking listener prevents Firefox's navbar to auto-hide on scroll.
437
- // It only needs to prevent scrolling on the drawer's content when open.
438
- // When closed, the overlay prevents scrolling.
439
- doc.addEventListener('touchmove', handleBodyTouchMove, {
440
- passive: !open
441
- });
442
- doc.addEventListener('touchend', handleBodyTouchEnd);
443
- return () => {
444
- doc.removeEventListener('touchstart', handleBodyTouchStart);
445
- doc.removeEventListener('touchmove', handleBodyTouchMove, {
446
- passive: !open
447
- });
448
- doc.removeEventListener('touchend', handleBodyTouchEnd);
449
- };
450
- }
451
- return undefined;
452
- }, [variant, open, handleBodyTouchStart, handleBodyTouchMove, handleBodyTouchEnd]);
453
- React.useEffect(() => () => {
454
- // We need to release the lock.
455
- if (claimedSwipeInstance === swipeInstance.current) {
456
- claimedSwipeInstance = null;
457
- }
458
- }, []);
459
- React.useEffect(() => {
460
- if (!open) {
461
- setMaybeSwiping(false);
462
- }
463
- }, [open]);
464
- const [SwipeAreaSlot, swipeAreaSlotProps] = (0, _useSlot.default)('swipeArea', {
465
- ref: swipeAreaRef,
466
- elementType: _SwipeArea.default,
467
- ownerState: props,
468
- externalForwardedProps: {
469
- slots,
470
- slotProps: {
471
- swipeArea: SwipeAreaProps,
472
- ...slotProps
473
- }
474
- },
475
- additionalProps: {
476
- width: swipeAreaWidth,
477
- anchor
478
- }
479
- });
480
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
481
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
482
- open: variant === 'temporary' && maybeSwiping ? true : open,
483
- variant: variant,
484
- ModalProps: {
485
- BackdropProps: {
486
- ...BackdropProps,
487
- ref: backdropRef
488
- },
489
- // Ensures that paperRef.current will be defined inside the touch start event handler
490
- // See https://github.com/mui/material-ui/issues/30414 for more information
491
- ...(variant === 'temporary' && {
492
- keepMounted: true
493
- }),
494
- ...ModalPropsProp
495
- },
496
- hideBackdrop: hideBackdrop,
497
- anchor: anchor,
498
- transitionDuration: calculatedDurationRef.current || transitionDuration,
499
- onClose: onClose,
500
- ref: ref,
501
- slots: slots,
502
- slotProps: {
503
- ...slotProps,
504
- backdrop: (0, _utils2.mergeSlotProps)(slotProps.backdrop ?? BackdropProps, {
505
- ref: backdropRef
506
- }),
507
- paper: (0, _utils2.mergeSlotProps)(slotProps.paper ?? PaperProps, {
508
- style: {
509
- pointerEvents: variant === 'temporary' && !open && !allowSwipeInChildren ? 'none' : ''
510
- },
511
- ref: handleRef
512
- })
513
- },
514
- ...other
515
- }), !disableSwipeToOpen && variant === 'temporary' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_NoSsr.default, {
516
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(SwipeAreaSlot, {
517
- ...swipeAreaSlotProps
518
- })
519
- })]
520
- });
521
- });
522
- process.env.NODE_ENV !== "production" ? SwipeableDrawer.propTypes /* remove-proptypes */ = {
523
- // ┌────────────────────────────── Warning ──────────────────────────────┐
524
- // │ These PropTypes are generated from the TypeScript type definitions. │
525
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
526
- // └─────────────────────────────────────────────────────────────────────┘
527
- /**
528
- * If set to true, the swipe event will open the drawer even if the user begins the swipe on one of the drawer's children.
529
- * This can be useful in scenarios where the drawer is partially visible.
530
- * You can customize it further with a callback that determines which children the user can drag over to open the drawer
531
- * (for example, to ignore other elements that handle touch move events, like sliders).
532
- *
533
- * @param {TouchEvent} event The 'touchstart' event
534
- * @param {HTMLDivElement} swipeArea The swipe area element
535
- * @param {HTMLDivElement} paper The drawer's paper element
536
- *
537
- * @default false
538
- */
539
- allowSwipeInChildren: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.bool]),
540
- /**
541
- * @ignore
542
- */
543
- anchor: _propTypes.default.oneOf(['bottom', 'left', 'right', 'top']),
544
- /**
545
- * The content of the component.
546
- */
547
- children: _propTypes.default.node,
548
- /**
549
- * Disable the backdrop transition.
550
- * This can improve the FPS on low-end devices.
551
- * @default false
552
- */
553
- disableBackdropTransition: _propTypes.default.bool,
554
- /**
555
- * If `true`, touching the screen near the edge of the drawer will not slide in the drawer a bit
556
- * to promote accidental discovery of the swipe gesture.
557
- * @default false
558
- */
559
- disableDiscovery: _propTypes.default.bool,
560
- /**
561
- * If `true`, swipe to open is disabled. This is useful in browsers where swiping triggers
562
- * navigation actions. Swipe to open is disabled on iOS browsers by default.
563
- * @default typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent)
564
- */
565
- disableSwipeToOpen: _propTypes.default.bool,
566
- /**
567
- * @ignore
568
- */
569
- hideBackdrop: _propTypes.default.bool,
570
- /**
571
- * Affects how far the drawer must be opened/closed to change its state.
572
- * Specified as percent (0-1) of the width of the drawer
573
- * @default 0.52
574
- */
575
- hysteresis: _propTypes.default.number,
576
- /**
577
- * Defines, from which (average) velocity on, the swipe is
578
- * defined as complete although hysteresis isn't reached.
579
- * Good threshold is between 250 - 1000 px/s
580
- * @default 450
581
- */
582
- minFlingVelocity: _propTypes.default.number,
583
- /**
584
- * @ignore
585
- */
586
- ModalProps: _propTypes.default /* @typescript-to-proptypes-ignore */.shape({
587
- BackdropProps: _propTypes.default.shape({
588
- component: _elementTypeAcceptingRef.default
589
- })
590
- }),
591
- /**
592
- * Callback fired when the component requests to be closed.
593
- *
594
- * @param {React.SyntheticEvent<{}>} event The event source of the callback.
595
- */
596
- onClose: _propTypes.default.func.isRequired,
597
- /**
598
- * Callback fired when the component requests to be opened.
599
- *
600
- * @param {React.SyntheticEvent<{}>} event The event source of the callback.
601
- */
602
- onOpen: _propTypes.default.func.isRequired,
603
- /**
604
- * If `true`, the component is shown.
605
- * @default false
606
- */
607
- open: _propTypes.default.bool,
608
- /**
609
- * @ignore
610
- */
611
- PaperProps: _propTypes.default /* @typescript-to-proptypes-ignore */.shape({
612
- component: _elementTypeAcceptingRef.default,
613
- style: _propTypes.default.object
614
- }),
615
- /**
616
- * The props used for each slot inside.
617
- * @default {}
618
- */
619
- slotProps: _propTypes.default.shape({
620
- backdrop: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
621
- docked: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
622
- paper: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
623
- root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
624
- swipeArea: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
625
- transition: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
626
- }),
627
- /**
628
- * The components used for each slot inside.
629
- * @default {}
630
- */
631
- slots: _propTypes.default.shape({
632
- backdrop: _propTypes.default.elementType,
633
- docked: _propTypes.default.elementType,
634
- paper: _propTypes.default.elementType,
635
- root: _propTypes.default.elementType,
636
- swipeArea: _propTypes.default.elementType,
637
- transition: _propTypes.default.elementType
638
- }),
639
- /**
640
- * The element is used to intercept the touch events on the edge.
641
- * @deprecated use the `slotProps.swipeArea` 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.
642
- */
643
- SwipeAreaProps: _propTypes.default.object,
644
- /**
645
- * The width of the left most (or right most) area in `px` that
646
- * the drawer can be swiped open from.
647
- * @default 20
648
- */
649
- swipeAreaWidth: _propTypes.default.number,
650
- /**
651
- * The duration for the transition, in milliseconds.
652
- * You may specify a single timeout for all transitions, or individually with an object.
653
- * @default {
654
- * enter: theme.transitions.duration.enteringScreen,
655
- * exit: theme.transitions.duration.leavingScreen,
656
- * }
657
- */
658
- transitionDuration: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.shape({
659
- appear: _propTypes.default.number,
660
- enter: _propTypes.default.number,
661
- exit: _propTypes.default.number
662
- })]),
663
- /**
664
- * @ignore
665
- */
666
- variant: _propTypes.default.oneOf(['permanent', 'persistent', 'temporary'])
667
- } : void 0;
668
- var _default = exports.default = SwipeableDrawer;
@@ -1,2 +0,0 @@
1
- export { default } from "./SwipeableDrawer.js";
2
- export * from "./SwipeableDrawer.js";
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- Object.defineProperty(exports, "default", {
8
- enumerable: true,
9
- get: function () {
10
- return _SwipeableDrawer.default;
11
- }
12
- });
13
- var _SwipeableDrawer = _interopRequireDefault(require("./SwipeableDrawer"));