@solostylist/ui-kit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/README.md +13 -0
  2. package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
  3. package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
  4. package/dist/AppAutocomplete/index.d.ts +1 -0
  5. package/dist/AppAutocomplete/index.js +4 -0
  6. package/dist/AppAutocomplete/package.json +5 -0
  7. package/dist/AppAvatar/AppAvatar.d.ts +7 -0
  8. package/dist/AppAvatar/AppAvatar.js +13 -0
  9. package/dist/AppAvatar/index.d.ts +1 -0
  10. package/dist/AppAvatar/index.js +4 -0
  11. package/dist/AppAvatar/package.json +5 -0
  12. package/dist/AppBox/AppBox.d.ts +7 -0
  13. package/dist/AppBox/AppBox.js +7 -0
  14. package/dist/AppBox/index.d.ts +1 -0
  15. package/dist/AppBox/index.js +4 -0
  16. package/dist/AppBox/package.json +5 -0
  17. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
  18. package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
  19. package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
  20. package/dist/AppBreadcrumbsSeparator/index.js +4 -0
  21. package/dist/AppBreadcrumbsSeparator/package.json +5 -0
  22. package/dist/AppButton/AppButton.d.ts +9 -0
  23. package/dist/AppButton/AppButton.js +44 -0
  24. package/dist/AppButton/index.d.ts +1 -0
  25. package/dist/AppButton/index.js +4 -0
  26. package/dist/AppButton/package.json +5 -0
  27. package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
  28. package/dist/AppButtonLink/AppButtonLink.js +36 -0
  29. package/dist/AppButtonLink/index.d.ts +1 -0
  30. package/dist/AppButtonLink/index.js +4 -0
  31. package/dist/AppButtonLink/package.json +5 -0
  32. package/dist/AppCard/AppCard.d.ts +6 -0
  33. package/dist/AppCard/AppCard.js +6 -0
  34. package/dist/AppCard/index.d.ts +1 -0
  35. package/dist/AppCard/index.js +4 -0
  36. package/dist/AppCard/package.json +5 -0
  37. package/dist/AppCardActions/AppCardActions.d.ts +6 -0
  38. package/dist/AppCardActions/AppCardActions.js +6 -0
  39. package/dist/AppCardActions/index.d.ts +1 -0
  40. package/dist/AppCardActions/index.js +4 -0
  41. package/dist/AppCardActions/package.json +5 -0
  42. package/dist/AppCardContent/AppCardContent.d.ts +6 -0
  43. package/dist/AppCardContent/AppCardContent.js +6 -0
  44. package/dist/AppCardContent/index.d.ts +1 -0
  45. package/dist/AppCardContent/index.js +4 -0
  46. package/dist/AppCardContent/package.json +5 -0
  47. package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
  48. package/dist/AppCardHeader/AppCardHeader.js +13 -0
  49. package/dist/AppCardHeader/index.d.ts +1 -0
  50. package/dist/AppCardHeader/index.js +4 -0
  51. package/dist/AppCardHeader/package.json +5 -0
  52. package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
  53. package/dist/AppCheckbox/AppCheckbox.js +16 -0
  54. package/dist/AppCheckbox/index.d.ts +1 -0
  55. package/dist/AppCheckbox/index.js +4 -0
  56. package/dist/AppCheckbox/package.json +5 -0
  57. package/dist/AppChip/AppChip.d.ts +6 -0
  58. package/dist/AppChip/AppChip.js +6 -0
  59. package/dist/AppChip/index.d.ts +1 -0
  60. package/dist/AppChip/index.js +4 -0
  61. package/dist/AppChip/package.json +5 -0
  62. package/dist/AppChips/AppChips.d.ts +7 -0
  63. package/dist/AppChips/AppChips.js +72 -0
  64. package/dist/AppChips/index.d.ts +1 -0
  65. package/dist/AppChips/index.js +4 -0
  66. package/dist/AppChips/package.json +5 -0
  67. package/dist/AppDataTable/AppDataTable.d.ts +29 -0
  68. package/dist/AppDataTable/AppDataTable.js +1178 -0
  69. package/dist/AppDataTable/index.d.ts +2 -0
  70. package/dist/AppDataTable/index.js +4 -0
  71. package/dist/AppDataTable/package.json +5 -0
  72. package/dist/AppDialog/AppDialog.d.ts +15 -0
  73. package/dist/AppDialog/AppDialog.js +31 -0
  74. package/dist/AppDialog/index.d.ts +1 -0
  75. package/dist/AppDialog/index.js +4 -0
  76. package/dist/AppDialog/package.json +5 -0
  77. package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
  78. package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
  79. package/dist/AppDialogConfirm/index.d.ts +2 -0
  80. package/dist/AppDialogConfirm/index.js +6 -0
  81. package/dist/AppDialogConfirm/package.json +5 -0
  82. package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
  83. package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
  84. package/dist/AppDialogMessage/index.d.ts +2 -0
  85. package/dist/AppDialogMessage/index.js +6 -0
  86. package/dist/AppDialogMessage/package.json +5 -0
  87. package/dist/AppEmpty/AppEmpty.d.ts +5 -0
  88. package/dist/AppEmpty/AppEmpty.js +6 -0
  89. package/dist/AppEmpty/index.d.ts +1 -0
  90. package/dist/AppEmpty/index.js +4 -0
  91. package/dist/AppEmpty/package.json +5 -0
  92. package/dist/AppError/AppError.d.ts +3 -0
  93. package/dist/AppError/AppError.js +18 -0
  94. package/dist/AppError/index.d.ts +1 -0
  95. package/dist/AppError/index.js +4 -0
  96. package/dist/AppError/package.json +5 -0
  97. package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
  98. package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
  99. package/dist/AppFileDropzone/index.d.ts +2 -0
  100. package/dist/AppFileDropzone/index.js +4 -0
  101. package/dist/AppFileDropzone/package.json +5 -0
  102. package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
  103. package/dist/AppFileIcon/AppFileIcon.js +29 -0
  104. package/dist/AppFileIcon/index.d.ts +1 -0
  105. package/dist/AppFileIcon/index.js +4 -0
  106. package/dist/AppFileIcon/package.json +5 -0
  107. package/dist/AppFormControl/AppFormControl.d.ts +8 -0
  108. package/dist/AppFormControl/AppFormControl.js +10 -0
  109. package/dist/AppFormControl/index.d.ts +1 -0
  110. package/dist/AppFormControl/index.js +4 -0
  111. package/dist/AppFormControl/package.json +5 -0
  112. package/dist/AppGallery/AppGallery.d.ts +6 -0
  113. package/dist/AppGallery/AppGallery.js +1089 -0
  114. package/dist/AppGallery/index.d.ts +1 -0
  115. package/dist/AppGallery/index.js +4 -0
  116. package/dist/AppGallery/package.json +5 -0
  117. package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
  118. package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
  119. package/dist/AppI18nProvider/index.d.ts +1 -0
  120. package/dist/AppI18nProvider/index.js +4 -0
  121. package/dist/AppI18nProvider/package.json +5 -0
  122. package/dist/AppIconButton/AppIconButton.d.ts +8 -0
  123. package/dist/AppIconButton/AppIconButton.js +6 -0
  124. package/dist/AppIconButton/index.d.ts +1 -0
  125. package/dist/AppIconButton/index.js +4 -0
  126. package/dist/AppIconButton/package.json +5 -0
  127. package/dist/AppIcons/AppIcons.d.ts +3 -0
  128. package/dist/AppIcons/AppIcons.js +1081 -0
  129. package/dist/AppIcons/index.d.ts +1 -0
  130. package/dist/AppIcons/index.js +4 -0
  131. package/dist/AppIcons/package.json +5 -0
  132. package/dist/AppLabel/AppLabel.d.ts +11 -0
  133. package/dist/AppLabel/AppLabel.js +21 -0
  134. package/dist/AppLabel/index.d.ts +1 -0
  135. package/dist/AppLabel/index.js +4 -0
  136. package/dist/AppLabel/package.json +5 -0
  137. package/dist/AppLink/AppLink.d.ts +6 -0
  138. package/dist/AppLink/AppLink.js +6 -0
  139. package/dist/AppLink/index.d.ts +1 -0
  140. package/dist/AppLink/index.js +4 -0
  141. package/dist/AppLink/package.json +5 -0
  142. package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
  143. package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
  144. package/dist/AppMultiSelect/index.d.ts +1 -0
  145. package/dist/AppMultiSelect/index.js +4 -0
  146. package/dist/AppMultiSelect/package.json +5 -0
  147. package/dist/AppNoData/AppNoData.d.ts +5 -0
  148. package/dist/AppNoData/AppNoData.js +6 -0
  149. package/dist/AppNoData/index.d.ts +1 -0
  150. package/dist/AppNoData/index.js +4 -0
  151. package/dist/AppNoData/package.json +5 -0
  152. package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
  153. package/dist/AppNoSsr/AppNoSsr.js +14 -0
  154. package/dist/AppNoSsr/index.d.ts +1 -0
  155. package/dist/AppNoSsr/index.js +4 -0
  156. package/dist/AppNoSsr/package.json +5 -0
  157. package/dist/AppOption/AppOption.d.ts +9 -0
  158. package/dist/AppOption/AppOption.js +6 -0
  159. package/dist/AppOption/index.d.ts +1 -0
  160. package/dist/AppOption/index.js +4 -0
  161. package/dist/AppOption/package.json +5 -0
  162. package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
  163. package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
  164. package/dist/AppOutlinedInput/index.d.ts +1 -0
  165. package/dist/AppOutlinedInput/index.js +4 -0
  166. package/dist/AppOutlinedInput/package.json +5 -0
  167. package/dist/AppPagination/AppPagination.d.ts +7 -0
  168. package/dist/AppPagination/AppPagination.js +17 -0
  169. package/dist/AppPagination/index.d.ts +1 -0
  170. package/dist/AppPagination/index.js +4 -0
  171. package/dist/AppPagination/package.json +5 -0
  172. package/dist/AppRating/AppRating.d.ts +7 -0
  173. package/dist/AppRating/AppRating.js +7 -0
  174. package/dist/AppRating/index.d.ts +1 -0
  175. package/dist/AppRating/index.js +4 -0
  176. package/dist/AppRating/package.json +5 -0
  177. package/dist/AppSelect/AppSelect.d.ts +14 -0
  178. package/dist/AppSelect/AppSelect.js +82 -0
  179. package/dist/AppSelect/index.d.ts +1 -0
  180. package/dist/AppSelect/index.js +4 -0
  181. package/dist/AppSelect/package.json +5 -0
  182. package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
  183. package/dist/AppSkeleton/AppSkeleton.js +34 -0
  184. package/dist/AppSkeleton/index.d.ts +1 -0
  185. package/dist/AppSkeleton/index.js +4 -0
  186. package/dist/AppSkeleton/package.json +5 -0
  187. package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
  188. package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
  189. package/dist/AppSnackbarMessage/index.d.ts +2 -0
  190. package/dist/AppSnackbarMessage/index.js +6 -0
  191. package/dist/AppSnackbarMessage/package.json +5 -0
  192. package/dist/AppStack/AppStack.d.ts +6 -0
  193. package/dist/AppStack/AppStack.js +6 -0
  194. package/dist/AppStack/index.d.ts +1 -0
  195. package/dist/AppStack/index.js +4 -0
  196. package/dist/AppStack/package.json +5 -0
  197. package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
  198. package/dist/AppTextEditor/AppTextEditor.js +80 -0
  199. package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
  200. package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
  201. package/dist/AppTextEditor/index.d.ts +1 -0
  202. package/dist/AppTextEditor/index.js +4 -0
  203. package/dist/AppTextEditor/package.json +5 -0
  204. package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
  205. package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
  206. package/dist/AppTextTruncation/index.d.ts +1 -0
  207. package/dist/AppTextTruncation/index.js +4 -0
  208. package/dist/AppTextTruncation/package.json +5 -0
  209. package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
  210. package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
  211. package/dist/AppThemeProvider/index.d.ts +1 -0
  212. package/dist/AppThemeProvider/index.js +4 -0
  213. package/dist/AppThemeProvider/package.json +5 -0
  214. package/dist/AppTip/AppTip.d.ts +6 -0
  215. package/dist/AppTip/AppTip.js +28 -0
  216. package/dist/AppTip/index.d.ts +1 -0
  217. package/dist/AppTip/index.js +4 -0
  218. package/dist/AppTip/package.json +5 -0
  219. package/dist/Box-yxuKPTCX.js +60 -0
  220. package/dist/ButtonBase-p_uz8ITC.js +989 -0
  221. package/dist/CaretDown-CgrRY9__.js +41 -0
  222. package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
  223. package/dist/Lightbulb-1rDyOsPk.js +47 -0
  224. package/dist/Menu-B0R91i07.js +2994 -0
  225. package/dist/MenuItem-BjjYkRmW.js +262 -0
  226. package/dist/SSRBase-B9xq2wUG.js +56 -0
  227. package/dist/Stack-D9qNbbkC.js +198 -0
  228. package/dist/Typography-BYkXNa-U.js +260 -0
  229. package/dist/User-Bx-HYRxI.js +41 -0
  230. package/dist/X-DETrowOy.js +47 -0
  231. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  232. package/dist/assets/AppGallery.css +1 -0
  233. package/dist/assets/AppTextTruncation.css +1 -0
  234. package/dist/backdropClasses-DDhytLTQ.js +9 -0
  235. package/dist/clsx-C-FXfxyk.js +236 -0
  236. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  237. package/dist/createTheme-C97xvI-s.js +2789 -0
  238. package/dist/extendSxProp-CKQgGYDd.js +37 -0
  239. package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
  240. package/dist/hooks/index.d.ts +2 -0
  241. package/dist/hooks/index.js +6 -0
  242. package/dist/hooks/use-dialog.d.ts +7 -0
  243. package/dist/hooks/use-dialog.js +12 -0
  244. package/dist/hooks/use-popover.d.ts +10 -0
  245. package/dist/hooks/use-popover.js +14 -0
  246. package/dist/index-Btrukby7.js +88 -0
  247. package/dist/inputBaseClasses-s6dljKxi.js +9 -0
  248. package/dist/jsx-runtime-B6kdoens.js +634 -0
  249. package/dist/listItemIconClasses-CTdclC9V.js +5 -0
  250. package/dist/main.d.ts +51 -0
  251. package/dist/main.js +111 -0
  252. package/dist/memoTheme-B2qvAi64.js +404 -0
  253. package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
  254. package/dist/paperClasses-Bf2rrWVr.js +9 -0
  255. package/dist/styles/theme/color-schemes.d.ts +7 -0
  256. package/dist/styles/theme/color-schemes.js +195 -0
  257. package/dist/styles/theme/colors.d.ts +92 -0
  258. package/dist/styles/theme/colors.js +94 -0
  259. package/dist/styles/theme/components/accordion.d.ts +8 -0
  260. package/dist/styles/theme/components/accordion.js +11 -0
  261. package/dist/styles/theme/components/alert.d.ts +7 -0
  262. package/dist/styles/theme/components/alert.js +4 -0
  263. package/dist/styles/theme/components/autocomplete.d.ts +124 -0
  264. package/dist/styles/theme/components/autocomplete.js +51 -0
  265. package/dist/styles/theme/components/avatar.d.ts +18 -0
  266. package/dist/styles/theme/components/avatar.js +21 -0
  267. package/dist/styles/theme/components/backdrop.d.ts +9 -0
  268. package/dist/styles/theme/components/backdrop.js +9 -0
  269. package/dist/styles/theme/components/button-base.d.ts +5 -0
  270. package/dist/styles/theme/components/button-base.js +4 -0
  271. package/dist/styles/theme/components/button-group.d.ts +5 -0
  272. package/dist/styles/theme/components/button-group.js +4 -0
  273. package/dist/styles/theme/components/button.d.ts +180 -0
  274. package/dist/styles/theme/components/button.js +109 -0
  275. package/dist/styles/theme/components/card-actions.d.ts +7 -0
  276. package/dist/styles/theme/components/card-actions.js +6 -0
  277. package/dist/styles/theme/components/card-content.d.ts +10 -0
  278. package/dist/styles/theme/components/card-content.js +7 -0
  279. package/dist/styles/theme/components/card-header.d.ts +25 -0
  280. package/dist/styles/theme/components/card-header.js +20 -0
  281. package/dist/styles/theme/components/card.d.ts +979 -0
  282. package/dist/styles/theme/components/card.js +17 -0
  283. package/dist/styles/theme/components/checkbox.d.ts +18 -0
  284. package/dist/styles/theme/components/checkbox.js +60 -0
  285. package/dist/styles/theme/components/chip.d.ts +1092 -0
  286. package/dist/styles/theme/components/chip.js +106 -0
  287. package/dist/styles/theme/components/components.d.ts +3206 -0
  288. package/dist/styles/theme/components/components.js +115 -0
  289. package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
  290. package/dist/styles/theme/components/dialog-actions.js +6 -0
  291. package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
  292. package/dist/styles/theme/components/dialog-content-text.js +6 -0
  293. package/dist/styles/theme/components/dialog-content.d.ts +8 -0
  294. package/dist/styles/theme/components/dialog-content.js +6 -0
  295. package/dist/styles/theme/components/dialog-title.d.ts +7 -0
  296. package/dist/styles/theme/components/dialog-title.js +6 -0
  297. package/dist/styles/theme/components/filled-input.d.ts +31 -0
  298. package/dist/styles/theme/components/filled-input.js +21 -0
  299. package/dist/styles/theme/components/form-control-label.d.ts +15 -0
  300. package/dist/styles/theme/components/form-control-label.js +7 -0
  301. package/dist/styles/theme/components/form-group.d.ts +7 -0
  302. package/dist/styles/theme/components/form-group.js +4 -0
  303. package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
  304. package/dist/styles/theme/components/form-helper-text.js +8 -0
  305. package/dist/styles/theme/components/form-label.d.ts +12 -0
  306. package/dist/styles/theme/components/form-label.js +9 -0
  307. package/dist/styles/theme/components/icon-button.d.ts +83 -0
  308. package/dist/styles/theme/components/icon-button.js +49 -0
  309. package/dist/styles/theme/components/input-base.d.ts +39 -0
  310. package/dist/styles/theme/components/input-base.js +34 -0
  311. package/dist/styles/theme/components/input-label.d.ts +10 -0
  312. package/dist/styles/theme/components/input-label.js +6 -0
  313. package/dist/styles/theme/components/input.d.ts +32 -0
  314. package/dist/styles/theme/components/input.js +22 -0
  315. package/dist/styles/theme/components/linear-progress.d.ts +8 -0
  316. package/dist/styles/theme/components/linear-progress.js +6 -0
  317. package/dist/styles/theme/components/link.d.ts +10 -0
  318. package/dist/styles/theme/components/link.js +11 -0
  319. package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
  320. package/dist/styles/theme/components/list-item-avatar.js +6 -0
  321. package/dist/styles/theme/components/list-item-button.d.ts +10 -0
  322. package/dist/styles/theme/components/list-item-button.js +7 -0
  323. package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
  324. package/dist/styles/theme/components/list-item-icon.js +6 -0
  325. package/dist/styles/theme/components/list-item-text.d.ts +7 -0
  326. package/dist/styles/theme/components/list-item-text.js +6 -0
  327. package/dist/styles/theme/components/list-item.d.ts +7 -0
  328. package/dist/styles/theme/components/list-item.js +6 -0
  329. package/dist/styles/theme/components/list.d.ts +7 -0
  330. package/dist/styles/theme/components/list.js +6 -0
  331. package/dist/styles/theme/components/menu-item.d.ts +17 -0
  332. package/dist/styles/theme/components/menu-item.js +17 -0
  333. package/dist/styles/theme/components/menu.d.ts +13 -0
  334. package/dist/styles/theme/components/menu.js +7 -0
  335. package/dist/styles/theme/components/outlined-input.d.ts +127 -0
  336. package/dist/styles/theme/components/outlined-input.js +47 -0
  337. package/dist/styles/theme/components/paper.d.ts +7 -0
  338. package/dist/styles/theme/components/paper.js +6 -0
  339. package/dist/styles/theme/components/popover.d.ts +11 -0
  340. package/dist/styles/theme/components/popover.js +7 -0
  341. package/dist/styles/theme/components/radio.d.ts +13 -0
  342. package/dist/styles/theme/components/radio.js +25 -0
  343. package/dist/styles/theme/components/select.d.ts +21 -0
  344. package/dist/styles/theme/components/select.js +18 -0
  345. package/dist/styles/theme/components/skeleton.d.ts +5 -0
  346. package/dist/styles/theme/components/skeleton.js +8 -0
  347. package/dist/styles/theme/components/stack.d.ts +5 -0
  348. package/dist/styles/theme/components/stack.js +4 -0
  349. package/dist/styles/theme/components/switch.d.ts +19 -0
  350. package/dist/styles/theme/components/switch.js +11 -0
  351. package/dist/styles/theme/components/tab.d.ts +18 -0
  352. package/dist/styles/theme/components/tab.js +15 -0
  353. package/dist/styles/theme/components/table-body.d.ts +5 -0
  354. package/dist/styles/theme/components/table-body.js +10 -0
  355. package/dist/styles/theme/components/table-cell.d.ts +10 -0
  356. package/dist/styles/theme/components/table-cell.js +11 -0
  357. package/dist/styles/theme/components/table-head.d.ts +11 -0
  358. package/dist/styles/theme/components/table-head.js +15 -0
  359. package/dist/styles/theme/components/table-pagination.d.ts +28 -0
  360. package/dist/styles/theme/components/table-pagination.js +93 -0
  361. package/dist/styles/theme/components/tabs.d.ts +33 -0
  362. package/dist/styles/theme/components/tabs.js +20 -0
  363. package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
  364. package/dist/styles/theme/components/timeline-connector.js +6 -0
  365. package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
  366. package/dist/styles/theme/components/toggle-button-group.js +17 -0
  367. package/dist/styles/theme/components/toggle-button.d.ts +12 -0
  368. package/dist/styles/theme/components/toggle-button.js +9 -0
  369. package/dist/styles/theme/components/tooltip.d.ts +10 -0
  370. package/dist/styles/theme/components/tooltip.js +7 -0
  371. package/dist/styles/theme/create-theme.d.ts +8 -0
  372. package/dist/styles/theme/create-theme.js +22 -0
  373. package/dist/styles/theme/index.d.ts +1 -0
  374. package/dist/styles/theme/index.js +4 -0
  375. package/dist/styles/theme/shadows.d.ts +4 -0
  376. package/dist/styles/theme/shadows.js +59 -0
  377. package/dist/styles/theme/typography.d.ts +68 -0
  378. package/dist/styles/theme/typography.js +31 -0
  379. package/dist/tableCellClasses-BIg5orIQ.js +9 -0
  380. package/dist/useControlled-CYUofcJ9.js +287 -0
  381. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  382. package/dist/useTheme-DYc4rgBb.js +17 -0
  383. package/dist/utils/bytes-to-size.d.ts +1 -0
  384. package/dist/utils/bytes-to-size.js +9 -0
  385. package/dist/utils/dayjs.d.ts +3 -0
  386. package/dist/utils/dayjs.js +108 -0
  387. package/dist/utils/index.d.ts +3 -0
  388. package/dist/utils/index.js +13 -0
  389. package/dist/utils/logger.d.ts +26 -0
  390. package/dist/utils/logger.js +51 -0
  391. package/package.json +108 -0
@@ -0,0 +1,989 @@
1
+ var $e = Object.defineProperty;
2
+ var Fe = (e, t, n) => t in e ? $e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var X = (e, t, n) => Fe(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import * as f from "react";
5
+ import K, { Children as Ue, isValidElement as Z, cloneElement as J } from "react";
6
+ import { P as o } from "./createTheme-C97xvI-s.js";
7
+ import { c as E } from "./clsx-C-FXfxyk.js";
8
+ import { j as L } from "./jsx-runtime-B6kdoens.js";
9
+ import { g as be, a as _e } from "./generateUtilityClasses-CuEy5gtx.js";
10
+ import { s as re, c as ze } from "./memoTheme-B2qvAi64.js";
11
+ import { u as ge } from "./DefaultPropsProvider-BV4t9fEW.js";
12
+ import { keyframes as ie } from "@emotion/react";
13
+ import { u as Ae } from "./useEnhancedEffect-CJGo-L3B.js";
14
+ function Ye(e, t) {
15
+ return process.env.NODE_ENV === "production" ? () => null : function(...r) {
16
+ return e(...r) || t(...r);
17
+ };
18
+ }
19
+ const Xe = o.oneOfType([o.func, o.object]);
20
+ function Ke(e) {
21
+ const {
22
+ prototype: t = {}
23
+ } = e;
24
+ return !!t.isReactComponent;
25
+ }
26
+ function qe(e, t, n, r, s) {
27
+ const i = e[t], u = s || t;
28
+ if (i == null || // When server-side rendering React doesn't warn either.
29
+ // This is not an accurate check for SSR.
30
+ // This is only in place for emotion compat.
31
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
32
+ typeof window > "u")
33
+ return null;
34
+ let l;
35
+ return typeof i == "function" && !Ke(i) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${r} \`${u}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
36
+ }
37
+ const He = Ye(o.elementType, qe);
38
+ function fe(e) {
39
+ try {
40
+ return e.matches(":focus-visible");
41
+ } catch {
42
+ process.env.NODE_ENV !== "production" && !/jsdom/.test(window.navigator.userAgent) && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join(`
43
+ `));
44
+ }
45
+ return !1;
46
+ }
47
+ function We(e, t) {
48
+ typeof e == "function" ? e(t) : e && (e.current = t);
49
+ }
50
+ function de(...e) {
51
+ return f.useMemo(() => e.every((t) => t == null) ? null : (t) => {
52
+ e.forEach((n) => {
53
+ We(n, t);
54
+ });
55
+ }, e);
56
+ }
57
+ function G(e) {
58
+ const t = f.useRef(e);
59
+ return Ae(() => {
60
+ t.current = e;
61
+ }), f.useRef((...n) => (
62
+ // @ts-expect-error hide `this`
63
+ (0, t.current)(...n)
64
+ )).current;
65
+ }
66
+ const he = {};
67
+ function ye(e, t) {
68
+ const n = f.useRef(he);
69
+ return n.current === he && (n.current = e(t)), n;
70
+ }
71
+ class Q {
72
+ constructor() {
73
+ X(this, "mountEffect", () => {
74
+ this.shouldMount && !this.didMount && this.ref.current !== null && (this.didMount = !0, this.mounted.resolve());
75
+ });
76
+ this.ref = {
77
+ current: null
78
+ }, this.mounted = null, this.didMount = !1, this.shouldMount = !1, this.setShouldMount = null;
79
+ }
80
+ /** React ref to the ripple instance */
81
+ /** If the ripple component should be mounted */
82
+ /** Promise that resolves when the ripple component is mounted */
83
+ /** If the ripple component has been mounted */
84
+ /** React state hook setter */
85
+ static create() {
86
+ return new Q();
87
+ }
88
+ static use() {
89
+ const t = ye(Q.create).current, [n, r] = f.useState(!1);
90
+ return t.shouldMount = n, t.setShouldMount = r, f.useEffect(t.mountEffect, [n]), t;
91
+ }
92
+ mount() {
93
+ return this.mounted || (this.mounted = Ze(), this.shouldMount = !0, this.setShouldMount(this.shouldMount)), this.mounted;
94
+ }
95
+ /* Ripple API */
96
+ start(...t) {
97
+ this.mount().then(() => {
98
+ var n;
99
+ return (n = this.ref.current) == null ? void 0 : n.start(...t);
100
+ });
101
+ }
102
+ stop(...t) {
103
+ this.mount().then(() => {
104
+ var n;
105
+ return (n = this.ref.current) == null ? void 0 : n.stop(...t);
106
+ });
107
+ }
108
+ pulsate(...t) {
109
+ this.mount().then(() => {
110
+ var n;
111
+ return (n = this.ref.current) == null ? void 0 : n.pulsate(...t);
112
+ });
113
+ }
114
+ }
115
+ function Ge() {
116
+ return Q.use();
117
+ }
118
+ function Ze() {
119
+ let e, t;
120
+ const n = new Promise((r, s) => {
121
+ e = r, t = s;
122
+ });
123
+ return n.resolve = e, n.reject = t, n;
124
+ }
125
+ function te() {
126
+ return te = Object.assign ? Object.assign.bind() : function(e) {
127
+ for (var t = 1; t < arguments.length; t++) {
128
+ var n = arguments[t];
129
+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
130
+ }
131
+ return e;
132
+ }, te.apply(null, arguments);
133
+ }
134
+ function Je(e, t) {
135
+ if (e == null) return {};
136
+ var n = {};
137
+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
138
+ if (t.includes(r)) continue;
139
+ n[r] = e[r];
140
+ }
141
+ return n;
142
+ }
143
+ function ne(e, t) {
144
+ return ne = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
145
+ return n.__proto__ = r, n;
146
+ }, ne(e, t);
147
+ }
148
+ function Qe(e, t) {
149
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, ne(e, t);
150
+ }
151
+ const me = K.createContext(null);
152
+ function et(e) {
153
+ if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
154
+ return e;
155
+ }
156
+ function se(e, t) {
157
+ var n = function(i) {
158
+ return t && Z(i) ? t(i) : i;
159
+ }, r = /* @__PURE__ */ Object.create(null);
160
+ return e && Ue.map(e, function(s) {
161
+ return s;
162
+ }).forEach(function(s) {
163
+ r[s.key] = n(s);
164
+ }), r;
165
+ }
166
+ function tt(e, t) {
167
+ e = e || {}, t = t || {};
168
+ function n(h) {
169
+ return h in t ? t[h] : e[h];
170
+ }
171
+ var r = /* @__PURE__ */ Object.create(null), s = [];
172
+ for (var i in e)
173
+ i in t ? s.length && (r[i] = s, s = []) : s.push(i);
174
+ var u, l = {};
175
+ for (var c in t) {
176
+ if (r[c])
177
+ for (u = 0; u < r[c].length; u++) {
178
+ var d = r[c][u];
179
+ l[r[c][u]] = n(d);
180
+ }
181
+ l[c] = n(c);
182
+ }
183
+ for (u = 0; u < s.length; u++)
184
+ l[s[u]] = n(s[u]);
185
+ return l;
186
+ }
187
+ function B(e, t, n) {
188
+ return n[t] != null ? n[t] : e.props[t];
189
+ }
190
+ function nt(e, t) {
191
+ return se(e.children, function(n) {
192
+ return J(n, {
193
+ onExited: t.bind(null, n),
194
+ in: !0,
195
+ appear: B(n, "appear", e),
196
+ enter: B(n, "enter", e),
197
+ exit: B(n, "exit", e)
198
+ });
199
+ });
200
+ }
201
+ function ot(e, t, n) {
202
+ var r = se(e.children), s = tt(t, r);
203
+ return Object.keys(s).forEach(function(i) {
204
+ var u = s[i];
205
+ if (Z(u)) {
206
+ var l = i in t, c = i in r, d = t[i], h = Z(d) && !d.props.in;
207
+ c && (!l || h) ? s[i] = J(u, {
208
+ onExited: n.bind(null, u),
209
+ in: !0,
210
+ exit: B(u, "exit", e),
211
+ enter: B(u, "enter", e)
212
+ }) : !c && l && !h ? s[i] = J(u, {
213
+ in: !1
214
+ }) : c && l && Z(d) && (s[i] = J(u, {
215
+ onExited: n.bind(null, u),
216
+ in: d.props.in,
217
+ exit: B(u, "exit", e),
218
+ enter: B(u, "enter", e)
219
+ }));
220
+ }
221
+ }), s;
222
+ }
223
+ var rt = Object.values || function(e) {
224
+ return Object.keys(e).map(function(t) {
225
+ return e[t];
226
+ });
227
+ }, it = {
228
+ component: "div",
229
+ childFactory: function(t) {
230
+ return t;
231
+ }
232
+ }, ue = /* @__PURE__ */ function(e) {
233
+ Qe(t, e);
234
+ function t(r, s) {
235
+ var i;
236
+ i = e.call(this, r, s) || this;
237
+ var u = i.handleExited.bind(et(i));
238
+ return i.state = {
239
+ contextValue: {
240
+ isMounting: !0
241
+ },
242
+ handleExited: u,
243
+ firstRender: !0
244
+ }, i;
245
+ }
246
+ var n = t.prototype;
247
+ return n.componentDidMount = function() {
248
+ this.mounted = !0, this.setState({
249
+ contextValue: {
250
+ isMounting: !1
251
+ }
252
+ });
253
+ }, n.componentWillUnmount = function() {
254
+ this.mounted = !1;
255
+ }, t.getDerivedStateFromProps = function(s, i) {
256
+ var u = i.children, l = i.handleExited, c = i.firstRender;
257
+ return {
258
+ children: c ? nt(s, l) : ot(s, u, l),
259
+ firstRender: !1
260
+ };
261
+ }, n.handleExited = function(s, i) {
262
+ var u = se(this.props.children);
263
+ s.key in u || (s.props.onExited && s.props.onExited(i), this.mounted && this.setState(function(l) {
264
+ var c = te({}, l.children);
265
+ return delete c[s.key], {
266
+ children: c
267
+ };
268
+ }));
269
+ }, n.render = function() {
270
+ var s = this.props, i = s.component, u = s.childFactory, l = Je(s, ["component", "childFactory"]), c = this.state.contextValue, d = rt(this.state.children).map(u);
271
+ return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ K.createElement(me.Provider, {
272
+ value: c
273
+ }, d) : /* @__PURE__ */ K.createElement(me.Provider, {
274
+ value: c
275
+ }, /* @__PURE__ */ K.createElement(i, l, d));
276
+ }, t;
277
+ }(K.Component);
278
+ ue.propTypes = process.env.NODE_ENV !== "production" ? {
279
+ /**
280
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
281
+ * behavior by providing a `component` prop.
282
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
283
+ * you can pass in `component={null}`. This is useful if the wrapping div
284
+ * borks your css styles.
285
+ */
286
+ component: o.any,
287
+ /**
288
+ * A set of `<Transition>` components, that are toggled `in` and out as they
289
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
290
+ * remember to spread them through if you are wrapping the `<Transition>` as
291
+ * with our `<Fade>` example.
292
+ *
293
+ * While this component is meant for multiple `Transition` or `CSSTransition`
294
+ * children, sometimes you may want to have a single transition child with
295
+ * content that you want to be transitioned out and in when you change it
296
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
297
+ * the transition child as you change its content, this will cause
298
+ * `TransitionGroup` to transition the child out and back in.
299
+ */
300
+ children: o.node,
301
+ /**
302
+ * A convenience prop that enables or disables appear animations
303
+ * for all children. Note that specifying this will override any defaults set
304
+ * on individual children Transitions.
305
+ */
306
+ appear: o.bool,
307
+ /**
308
+ * A convenience prop that enables or disables enter animations
309
+ * for all children. Note that specifying this will override any defaults set
310
+ * on individual children Transitions.
311
+ */
312
+ enter: o.bool,
313
+ /**
314
+ * A convenience prop that enables or disables exit animations
315
+ * for all children. Note that specifying this will override any defaults set
316
+ * on individual children Transitions.
317
+ */
318
+ exit: o.bool,
319
+ /**
320
+ * You may need to apply reactive updates to a child as it is exiting.
321
+ * This is generally done by using `cloneElement` however in the case of an exiting
322
+ * child the element has already been removed and not accessible to the consumer.
323
+ *
324
+ * If you do need to update a child as it leaves you can provide a `childFactory`
325
+ * to wrap every child, even the ones that are leaving.
326
+ *
327
+ * @type Function(child: ReactElement) -> ReactElement
328
+ */
329
+ childFactory: o.func
330
+ } : {};
331
+ ue.defaultProps = it;
332
+ const st = [];
333
+ function ut(e) {
334
+ f.useEffect(e, st);
335
+ }
336
+ class ae {
337
+ constructor() {
338
+ X(this, "currentId", null);
339
+ X(this, "clear", () => {
340
+ this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
341
+ });
342
+ X(this, "disposeEffect", () => this.clear);
343
+ }
344
+ static create() {
345
+ return new ae();
346
+ }
347
+ /**
348
+ * Executes `fn` after `delay`, clearing any previously scheduled call.
349
+ */
350
+ start(t, n) {
351
+ this.clear(), this.currentId = setTimeout(() => {
352
+ this.currentId = null, n();
353
+ }, t);
354
+ }
355
+ }
356
+ function at() {
357
+ const e = ye(ae.create).current;
358
+ return ut(e.disposeEffect), e;
359
+ }
360
+ function Me(e) {
361
+ const {
362
+ className: t,
363
+ classes: n,
364
+ pulsate: r = !1,
365
+ rippleX: s,
366
+ rippleY: i,
367
+ rippleSize: u,
368
+ in: l,
369
+ onExited: c,
370
+ timeout: d
371
+ } = e, [h, M] = f.useState(!1), g = E(t, n.ripple, n.rippleVisible, r && n.ripplePulsate), w = {
372
+ width: u,
373
+ height: u,
374
+ top: -(u / 2) + i,
375
+ left: -(u / 2) + s
376
+ }, m = E(n.child, h && n.childLeaving, r && n.childPulsate);
377
+ return !l && !h && M(!0), f.useEffect(() => {
378
+ if (!l && c != null) {
379
+ const D = setTimeout(c, d);
380
+ return () => {
381
+ clearTimeout(D);
382
+ };
383
+ }
384
+ }, [c, l, d]), /* @__PURE__ */ L.jsx("span", {
385
+ className: g,
386
+ style: w,
387
+ children: /* @__PURE__ */ L.jsx("span", {
388
+ className: m
389
+ })
390
+ });
391
+ }
392
+ process.env.NODE_ENV !== "production" && (Me.propTypes = {
393
+ /**
394
+ * Override or extend the styles applied to the component.
395
+ */
396
+ classes: o.object.isRequired,
397
+ className: o.string,
398
+ /**
399
+ * @ignore - injected from TransitionGroup
400
+ */
401
+ in: o.bool,
402
+ /**
403
+ * @ignore - injected from TransitionGroup
404
+ */
405
+ onExited: o.func,
406
+ /**
407
+ * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
408
+ */
409
+ pulsate: o.bool,
410
+ /**
411
+ * Diameter of the ripple.
412
+ */
413
+ rippleSize: o.number,
414
+ /**
415
+ * Horizontal position of the ripple center.
416
+ */
417
+ rippleX: o.number,
418
+ /**
419
+ * Vertical position of the ripple center.
420
+ */
421
+ rippleY: o.number,
422
+ /**
423
+ * exit delay
424
+ */
425
+ timeout: o.number.isRequired
426
+ });
427
+ const b = be("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), oe = 550, lt = 80, ct = ie`
428
+ 0% {
429
+ transform: scale(0);
430
+ opacity: 0.1;
431
+ }
432
+
433
+ 100% {
434
+ transform: scale(1);
435
+ opacity: 0.3;
436
+ }
437
+ `, pt = ie`
438
+ 0% {
439
+ opacity: 1;
440
+ }
441
+
442
+ 100% {
443
+ opacity: 0;
444
+ }
445
+ `, ft = ie`
446
+ 0% {
447
+ transform: scale(1);
448
+ }
449
+
450
+ 50% {
451
+ transform: scale(0.92);
452
+ }
453
+
454
+ 100% {
455
+ transform: scale(1);
456
+ }
457
+ `, dt = re("span", {
458
+ name: "MuiTouchRipple",
459
+ slot: "Root"
460
+ })({
461
+ overflow: "hidden",
462
+ pointerEvents: "none",
463
+ position: "absolute",
464
+ zIndex: 0,
465
+ top: 0,
466
+ right: 0,
467
+ bottom: 0,
468
+ left: 0,
469
+ borderRadius: "inherit"
470
+ }), ht = re(Me, {
471
+ name: "MuiTouchRipple",
472
+ slot: "Ripple"
473
+ })`
474
+ opacity: 0;
475
+ position: absolute;
476
+
477
+ &.${b.rippleVisible} {
478
+ opacity: 0.3;
479
+ transform: scale(1);
480
+ animation-name: ${ct};
481
+ animation-duration: ${oe}ms;
482
+ animation-timing-function: ${({
483
+ theme: e
484
+ }) => e.transitions.easing.easeInOut};
485
+ }
486
+
487
+ &.${b.ripplePulsate} {
488
+ animation-duration: ${({
489
+ theme: e
490
+ }) => e.transitions.duration.shorter}ms;
491
+ }
492
+
493
+ & .${b.child} {
494
+ opacity: 1;
495
+ display: block;
496
+ width: 100%;
497
+ height: 100%;
498
+ border-radius: 50%;
499
+ background-color: currentColor;
500
+ }
501
+
502
+ & .${b.childLeaving} {
503
+ opacity: 0;
504
+ animation-name: ${pt};
505
+ animation-duration: ${oe}ms;
506
+ animation-timing-function: ${({
507
+ theme: e
508
+ }) => e.transitions.easing.easeInOut};
509
+ }
510
+
511
+ & .${b.childPulsate} {
512
+ position: absolute;
513
+ /* @noflip */
514
+ left: 0px;
515
+ top: 0;
516
+ animation-name: ${ft};
517
+ animation-duration: 2500ms;
518
+ animation-timing-function: ${({
519
+ theme: e
520
+ }) => e.transitions.easing.easeInOut};
521
+ animation-iteration-count: infinite;
522
+ animation-delay: 200ms;
523
+ }
524
+ `, Re = /* @__PURE__ */ f.forwardRef(function(t, n) {
525
+ const r = ge({
526
+ props: t,
527
+ name: "MuiTouchRipple"
528
+ }), {
529
+ center: s = !1,
530
+ classes: i = {},
531
+ className: u,
532
+ ...l
533
+ } = r, [c, d] = f.useState([]), h = f.useRef(0), M = f.useRef(null);
534
+ f.useEffect(() => {
535
+ M.current && (M.current(), M.current = null);
536
+ }, [c]);
537
+ const g = f.useRef(!1), w = at(), m = f.useRef(null), D = f.useRef(null), x = f.useCallback((p) => {
538
+ const {
539
+ pulsate: R,
540
+ rippleX: y,
541
+ rippleY: F,
542
+ rippleSize: V,
543
+ cb: U
544
+ } = p;
545
+ d((T) => [...T, /* @__PURE__ */ L.jsx(ht, {
546
+ classes: {
547
+ ripple: E(i.ripple, b.ripple),
548
+ rippleVisible: E(i.rippleVisible, b.rippleVisible),
549
+ ripplePulsate: E(i.ripplePulsate, b.ripplePulsate),
550
+ child: E(i.child, b.child),
551
+ childLeaving: E(i.childLeaving, b.childLeaving),
552
+ childPulsate: E(i.childPulsate, b.childPulsate)
553
+ },
554
+ timeout: oe,
555
+ pulsate: R,
556
+ rippleX: y,
557
+ rippleY: F,
558
+ rippleSize: V
559
+ }, h.current)]), h.current += 1, M.current = U;
560
+ }, [i]), k = f.useCallback((p = {}, R = {}, y = () => {
561
+ }) => {
562
+ const {
563
+ pulsate: F = !1,
564
+ center: V = s || R.pulsate,
565
+ fakeElement: U = !1
566
+ // For test purposes
567
+ } = R;
568
+ if ((p == null ? void 0 : p.type) === "mousedown" && g.current) {
569
+ g.current = !1;
570
+ return;
571
+ }
572
+ (p == null ? void 0 : p.type) === "touchstart" && (g.current = !0);
573
+ const T = U ? null : D.current, N = T ? T.getBoundingClientRect() : {
574
+ width: 0,
575
+ height: 0,
576
+ left: 0,
577
+ top: 0
578
+ };
579
+ let O, C, j;
580
+ if (V || p === void 0 || p.clientX === 0 && p.clientY === 0 || !p.clientX && !p.touches)
581
+ O = Math.round(N.width / 2), C = Math.round(N.height / 2);
582
+ else {
583
+ const {
584
+ clientX: _,
585
+ clientY: S
586
+ } = p.touches && p.touches.length > 0 ? p.touches[0] : p;
587
+ O = Math.round(_ - N.left), C = Math.round(S - N.top);
588
+ }
589
+ if (V)
590
+ j = Math.sqrt((2 * N.width ** 2 + N.height ** 2) / 3), j % 2 === 0 && (j += 1);
591
+ else {
592
+ const _ = Math.max(Math.abs((T ? T.clientWidth : 0) - O), O) * 2 + 2, S = Math.max(Math.abs((T ? T.clientHeight : 0) - C), C) * 2 + 2;
593
+ j = Math.sqrt(_ ** 2 + S ** 2);
594
+ }
595
+ p != null && p.touches ? m.current === null && (m.current = () => {
596
+ x({
597
+ pulsate: F,
598
+ rippleX: O,
599
+ rippleY: C,
600
+ rippleSize: j,
601
+ cb: y
602
+ });
603
+ }, w.start(lt, () => {
604
+ m.current && (m.current(), m.current = null);
605
+ })) : x({
606
+ pulsate: F,
607
+ rippleX: O,
608
+ rippleY: C,
609
+ rippleSize: j,
610
+ cb: y
611
+ });
612
+ }, [s, x, w]), q = f.useCallback(() => {
613
+ k({}, {
614
+ pulsate: !0
615
+ });
616
+ }, [k]), $ = f.useCallback((p, R) => {
617
+ if (w.clear(), (p == null ? void 0 : p.type) === "touchend" && m.current) {
618
+ m.current(), m.current = null, w.start(0, () => {
619
+ $(p, R);
620
+ });
621
+ return;
622
+ }
623
+ m.current = null, d((y) => y.length > 0 ? y.slice(1) : y), M.current = R;
624
+ }, [w]);
625
+ return f.useImperativeHandle(n, () => ({
626
+ pulsate: q,
627
+ start: k,
628
+ stop: $
629
+ }), [q, k, $]), /* @__PURE__ */ L.jsx(dt, {
630
+ className: E(b.root, i.root, u),
631
+ ref: D,
632
+ ...l,
633
+ children: /* @__PURE__ */ L.jsx(ue, {
634
+ component: null,
635
+ exit: !0,
636
+ children: c
637
+ })
638
+ });
639
+ });
640
+ process.env.NODE_ENV !== "production" && (Re.propTypes = {
641
+ /**
642
+ * If `true`, the ripple starts at the center of the component
643
+ * rather than at the point of interaction.
644
+ */
645
+ center: o.bool,
646
+ /**
647
+ * Override or extend the styles applied to the component.
648
+ */
649
+ classes: o.object,
650
+ /**
651
+ * @ignore
652
+ */
653
+ className: o.string
654
+ });
655
+ function mt(e) {
656
+ return _e("MuiButtonBase", e);
657
+ }
658
+ const bt = be("MuiButtonBase", ["root", "disabled", "focusVisible"]), gt = (e) => {
659
+ const {
660
+ disabled: t,
661
+ focusVisible: n,
662
+ focusVisibleClassName: r,
663
+ classes: s
664
+ } = e, u = ze({
665
+ root: ["root", t && "disabled", n && "focusVisible"]
666
+ }, mt, s);
667
+ return n && r && (u.root += ` ${r}`), u;
668
+ }, yt = re("button", {
669
+ name: "MuiButtonBase",
670
+ slot: "Root",
671
+ overridesResolver: (e, t) => t.root
672
+ })({
673
+ display: "inline-flex",
674
+ alignItems: "center",
675
+ justifyContent: "center",
676
+ position: "relative",
677
+ boxSizing: "border-box",
678
+ WebkitTapHighlightColor: "transparent",
679
+ backgroundColor: "transparent",
680
+ // Reset default value
681
+ // We disable the focus ring for mouse, touch and keyboard users.
682
+ outline: 0,
683
+ border: 0,
684
+ margin: 0,
685
+ // Remove the margin in Safari
686
+ borderRadius: 0,
687
+ padding: 0,
688
+ // Remove the padding in Firefox
689
+ cursor: "pointer",
690
+ userSelect: "none",
691
+ verticalAlign: "middle",
692
+ MozAppearance: "none",
693
+ // Reset
694
+ WebkitAppearance: "none",
695
+ // Reset
696
+ textDecoration: "none",
697
+ // So we take precedent over the style of a native <a /> element.
698
+ color: "inherit",
699
+ "&::-moz-focus-inner": {
700
+ borderStyle: "none"
701
+ // Remove Firefox dotted outline.
702
+ },
703
+ [`&.${bt.disabled}`]: {
704
+ pointerEvents: "none",
705
+ // Disable link interactions
706
+ cursor: "default"
707
+ },
708
+ "@media print": {
709
+ colorAdjust: "exact"
710
+ }
711
+ }), Mt = /* @__PURE__ */ f.forwardRef(function(t, n) {
712
+ const r = ge({
713
+ props: t,
714
+ name: "MuiButtonBase"
715
+ }), {
716
+ action: s,
717
+ centerRipple: i = !1,
718
+ children: u,
719
+ className: l,
720
+ component: c = "button",
721
+ disabled: d = !1,
722
+ disableRipple: h = !1,
723
+ disableTouchRipple: M = !1,
724
+ focusRipple: g = !1,
725
+ focusVisibleClassName: w,
726
+ LinkComponent: m = "a",
727
+ onBlur: D,
728
+ onClick: x,
729
+ onContextMenu: k,
730
+ onDragLeave: q,
731
+ onFocus: $,
732
+ onFocusVisible: p,
733
+ onKeyDown: R,
734
+ onKeyUp: y,
735
+ onMouseDown: F,
736
+ onMouseLeave: V,
737
+ onMouseUp: U,
738
+ onTouchEnd: T,
739
+ onTouchMove: N,
740
+ onTouchStart: O,
741
+ tabIndex: C = 0,
742
+ TouchRippleProps: j,
743
+ touchRippleRef: _,
744
+ type: S,
745
+ ...z
746
+ } = r, A = f.useRef(null), P = Ge(), Te = de(P.ref, _), [I, H] = f.useState(!1);
747
+ d && I && H(!1), f.useImperativeHandle(s, () => ({
748
+ focusVisible: () => {
749
+ H(!0), A.current.focus();
750
+ }
751
+ }), []);
752
+ const Ee = P.shouldMount && !h && !d;
753
+ f.useEffect(() => {
754
+ I && g && !h && P.pulsate();
755
+ }, [h, g, I, P]);
756
+ function v(a, ce, ke = M) {
757
+ return G((pe) => (ce && ce(pe), ke || P[a](pe), !0));
758
+ }
759
+ const xe = v("start", F), Ce = v("stop", k), Pe = v("stop", q), ve = v("stop", U), we = v("stop", (a) => {
760
+ I && a.preventDefault(), V && V(a);
761
+ }), Ne = v("start", O), Oe = v("stop", T), je = v("stop", N), De = v("stop", (a) => {
762
+ fe(a.target) || H(!1), D && D(a);
763
+ }, !1), Ve = G((a) => {
764
+ A.current || (A.current = a.currentTarget), fe(a.target) && (H(!0), p && p(a)), $ && $(a);
765
+ }), ee = () => {
766
+ const a = A.current;
767
+ return c && c !== "button" && !(a.tagName === "A" && a.href);
768
+ }, Se = G((a) => {
769
+ g && !a.repeat && I && a.key === " " && P.stop(a, () => {
770
+ P.start(a);
771
+ }), a.target === a.currentTarget && ee() && a.key === " " && a.preventDefault(), R && R(a), a.target === a.currentTarget && ee() && a.key === "Enter" && !d && (a.preventDefault(), x && x(a));
772
+ }), Ie = G((a) => {
773
+ g && a.key === " " && I && !a.defaultPrevented && P.stop(a, () => {
774
+ P.pulsate(a);
775
+ }), y && y(a), x && a.target === a.currentTarget && ee() && a.key === " " && !a.defaultPrevented && x(a);
776
+ });
777
+ let W = c;
778
+ W === "button" && (z.href || z.to) && (W = m);
779
+ const Y = {};
780
+ W === "button" ? (Y.type = S === void 0 ? "button" : S, Y.disabled = d) : (!z.href && !z.to && (Y.role = "button"), d && (Y["aria-disabled"] = d));
781
+ const Be = de(n, A), le = {
782
+ ...r,
783
+ centerRipple: i,
784
+ component: c,
785
+ disabled: d,
786
+ disableRipple: h,
787
+ disableTouchRipple: M,
788
+ focusRipple: g,
789
+ tabIndex: C,
790
+ focusVisible: I
791
+ }, Le = gt(le);
792
+ return /* @__PURE__ */ L.jsxs(yt, {
793
+ as: W,
794
+ className: E(Le.root, l),
795
+ ownerState: le,
796
+ onBlur: De,
797
+ onClick: x,
798
+ onContextMenu: Ce,
799
+ onFocus: Ve,
800
+ onKeyDown: Se,
801
+ onKeyUp: Ie,
802
+ onMouseDown: xe,
803
+ onMouseLeave: we,
804
+ onMouseUp: ve,
805
+ onDragLeave: Pe,
806
+ onTouchEnd: Oe,
807
+ onTouchMove: je,
808
+ onTouchStart: Ne,
809
+ ref: Be,
810
+ tabIndex: d ? -1 : C,
811
+ type: S,
812
+ ...Y,
813
+ ...z,
814
+ children: [u, Ee ? /* @__PURE__ */ L.jsx(Re, {
815
+ ref: Te,
816
+ center: i,
817
+ ...j
818
+ }) : null]
819
+ });
820
+ });
821
+ process.env.NODE_ENV !== "production" && (Mt.propTypes = {
822
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
823
+ // │ These PropTypes are generated from the TypeScript type definitions. │
824
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
825
+ // └─────────────────────────────────────────────────────────────────────┘
826
+ /**
827
+ * A ref for imperative actions.
828
+ * It currently only supports `focusVisible()` action.
829
+ */
830
+ action: Xe,
831
+ /**
832
+ * If `true`, the ripples are centered.
833
+ * They won't start at the cursor interaction position.
834
+ * @default false
835
+ */
836
+ centerRipple: o.bool,
837
+ /**
838
+ * The content of the component.
839
+ */
840
+ children: o.node,
841
+ /**
842
+ * Override or extend the styles applied to the component.
843
+ */
844
+ classes: o.object,
845
+ /**
846
+ * @ignore
847
+ */
848
+ className: o.string,
849
+ /**
850
+ * The component used for the root node.
851
+ * Either a string to use a HTML element or a component.
852
+ */
853
+ component: He,
854
+ /**
855
+ * If `true`, the component is disabled.
856
+ * @default false
857
+ */
858
+ disabled: o.bool,
859
+ /**
860
+ * If `true`, the ripple effect is disabled.
861
+ *
862
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
863
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
864
+ * @default false
865
+ */
866
+ disableRipple: o.bool,
867
+ /**
868
+ * If `true`, the touch ripple effect is disabled.
869
+ * @default false
870
+ */
871
+ disableTouchRipple: o.bool,
872
+ /**
873
+ * If `true`, the base button will have a keyboard focus ripple.
874
+ * @default false
875
+ */
876
+ focusRipple: o.bool,
877
+ /**
878
+ * This prop can help identify which element has keyboard focus.
879
+ * The class name will be applied when the element gains the focus through keyboard interaction.
880
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
881
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
882
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
883
+ * if needed.
884
+ */
885
+ focusVisibleClassName: o.string,
886
+ /**
887
+ * @ignore
888
+ */
889
+ href: o.any,
890
+ /**
891
+ * The component used to render a link when the `href` prop is provided.
892
+ * @default 'a'
893
+ */
894
+ LinkComponent: o.elementType,
895
+ /**
896
+ * @ignore
897
+ */
898
+ onBlur: o.func,
899
+ /**
900
+ * @ignore
901
+ */
902
+ onClick: o.func,
903
+ /**
904
+ * @ignore
905
+ */
906
+ onContextMenu: o.func,
907
+ /**
908
+ * @ignore
909
+ */
910
+ onDragLeave: o.func,
911
+ /**
912
+ * @ignore
913
+ */
914
+ onFocus: o.func,
915
+ /**
916
+ * Callback fired when the component is focused with a keyboard.
917
+ * We trigger a `onFocus` callback too.
918
+ */
919
+ onFocusVisible: o.func,
920
+ /**
921
+ * @ignore
922
+ */
923
+ onKeyDown: o.func,
924
+ /**
925
+ * @ignore
926
+ */
927
+ onKeyUp: o.func,
928
+ /**
929
+ * @ignore
930
+ */
931
+ onMouseDown: o.func,
932
+ /**
933
+ * @ignore
934
+ */
935
+ onMouseLeave: o.func,
936
+ /**
937
+ * @ignore
938
+ */
939
+ onMouseUp: o.func,
940
+ /**
941
+ * @ignore
942
+ */
943
+ onTouchEnd: o.func,
944
+ /**
945
+ * @ignore
946
+ */
947
+ onTouchMove: o.func,
948
+ /**
949
+ * @ignore
950
+ */
951
+ onTouchStart: o.func,
952
+ /**
953
+ * The system prop that allows defining system overrides as well as additional CSS styles.
954
+ */
955
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
956
+ /**
957
+ * @default 0
958
+ */
959
+ tabIndex: o.number,
960
+ /**
961
+ * Props applied to the `TouchRipple` element.
962
+ */
963
+ TouchRippleProps: o.object,
964
+ /**
965
+ * A ref that points to the `TouchRipple` element.
966
+ */
967
+ touchRippleRef: o.oneOfType([o.func, o.shape({
968
+ current: o.shape({
969
+ pulsate: o.func.isRequired,
970
+ start: o.func.isRequired,
971
+ stop: o.func.isRequired
972
+ })
973
+ })]),
974
+ /**
975
+ * @ignore
976
+ */
977
+ type: o.oneOfType([o.oneOf(["button", "reset", "submit"]), o.string])
978
+ });
979
+ export {
980
+ Mt as B,
981
+ me as T,
982
+ Qe as _,
983
+ Je as a,
984
+ at as b,
985
+ Ye as c,
986
+ He as e,
987
+ Xe as r,
988
+ de as u
989
+ };