@cgi-learning-hub/ui 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/dist/Backdrop-CxHwPsCX.js +789 -0
  2. package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
  3. package/dist/Box-D61CmHcZ.cjs +1 -0
  4. package/dist/{Box-Bawb5zHX.js → Box-a6v7fn61.js} +31 -30
  5. package/dist/Button-B8Vr_qVd.js +450 -0
  6. package/dist/Button-elp97nQ8.cjs +1 -0
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/ButtonBase-Y5TK5SRu.js +890 -0
  9. package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
  10. package/dist/CircularProgress-DU3DJQfF.js +252 -0
  11. package/dist/DatePicker-BigDV0IN.cjs +17 -0
  12. package/dist/{DatePicker-DGVeagTz.js → DatePicker-ZdjLD9eR.js} +6100 -5984
  13. package/dist/DefaultPropsProvider-7QnSWHxy.js +484 -0
  14. package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
  15. package/dist/IconButton-C7H_G1LX.js +230 -0
  16. package/dist/IconButton-DfmbM9nO.cjs +2 -0
  17. package/dist/InputAdornment-C-EbfNtT.cjs +1 -0
  18. package/dist/{InputAdornment-hNrnvXW9.js → InputAdornment-CPJFY_m_.js} +81 -64
  19. package/dist/InputBase-5GB2c2J6.js +803 -0
  20. package/dist/InputBase-CPtGhJye.cjs +3 -0
  21. package/dist/Stack-656bqKiW.cjs +1 -0
  22. package/dist/{Stack-BJ2ths-g.js → Stack-CutIWKkG.js} +61 -60
  23. package/dist/Tabs-CKic46Op.js +1222 -0
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/TextField-BLEvZwPH.cjs +14 -0
  26. package/dist/TextField-CGMPbx_J.js +5686 -0
  27. package/dist/Tooltip-BJefPCe7.cjs +100 -0
  28. package/dist/{Tooltip-D42pzHKW.js → Tooltip-DqLAZimE.js} +4764 -3511
  29. package/dist/TransitionGroupContext-DMJLhY9-.js +24 -0
  30. package/dist/TransitionGroupContext-DbXD5xqS.cjs +1 -0
  31. package/dist/Typography-CreZW2v6.cjs +1 -0
  32. package/dist/Typography-DsJC595c.js +259 -0
  33. package/dist/assets/styles.css +1 -1
  34. package/dist/assets/styles2.css +1 -1
  35. package/dist/client-error-BUtdld5f.cjs +1 -0
  36. package/dist/client-error-B_-qjgAB.js +395 -0
  37. package/dist/components/Alert/Alert.cjs.js +1 -0
  38. package/dist/components/{feedback/Alert → Alert}/Alert.d.ts +0 -1
  39. package/dist/components/Alert/Alert.stories.cjs.js +1 -0
  40. package/dist/components/{feedback/Alert → Alert}/Alert.stories.d.ts +0 -1
  41. package/dist/components/{feedback/Alert → Alert}/Alert.stories.es.js +7 -7
  42. package/dist/components/Button/Button.cjs.js +1 -0
  43. package/dist/components/Button/Button.d.ts +4 -0
  44. package/dist/components/Button/Button.es.js +334 -0
  45. package/dist/components/Button/Button.stories.cjs.js +1 -0
  46. package/dist/components/{buttons/SecondaryButton/SecondaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -2
  47. package/dist/components/Button/Button.stories.es.js +45 -0
  48. package/dist/components/Button/index.cjs.js +1 -0
  49. package/dist/components/Button/index.d.ts +2 -0
  50. package/dist/components/Button/index.es.js +4 -0
  51. package/dist/components/DatePicker/DatePicker.cjs.js +1 -0
  52. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.d.ts +0 -1
  53. package/dist/components/DatePicker/DatePicker.es.js +6 -0
  54. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -0
  55. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.stories.d.ts +0 -1
  56. package/dist/components/DatePicker/DatePicker.stories.es.js +16 -0
  57. package/dist/components/{pickers → DatePicker}/index.cjs.js +1 -1
  58. package/dist/components/DatePicker/index.es.js +4 -0
  59. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  60. package/dist/components/Dropzone/Dropzone.d.ts +0 -1
  61. package/dist/components/Dropzone/Dropzone.es.js +1685 -686
  62. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  63. package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
  64. package/dist/components/Dropzone/Dropzone.stories.es.js +1 -1
  65. package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
  66. package/dist/components/EmptyState/EmptyState.d.ts +12 -0
  67. package/dist/components/EmptyState/EmptyState.es.js +31 -0
  68. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
  69. package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → EmptyState/EmptyState.stories.d.ts} +0 -1
  70. package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
  71. package/dist/components/EmptyState/index.cjs.js +1 -0
  72. package/dist/components/EmptyState/index.d.ts +2 -0
  73. package/dist/components/EmptyState/index.es.js +4 -0
  74. package/dist/components/FileList/FileList.cjs.js +1 -0
  75. package/dist/components/{lists/FileList → FileList}/FileList.d.ts +0 -1
  76. package/dist/components/{lists/FileList → FileList}/FileList.es.js +1 -1
  77. package/dist/components/FileList/FileList.stories.cjs.js +1 -0
  78. package/dist/components/{lists/FileList → FileList}/FileList.stories.d.ts +0 -1
  79. package/dist/components/{lists/FileList → FileList}/FileList.stories.es.js +3 -3
  80. package/dist/components/FileList/FileListItem.cjs.js +1 -0
  81. package/dist/components/FileList/FileListItem.d.ts +12 -0
  82. package/dist/components/FileList/FileListItem.es.js +29 -0
  83. package/dist/components/Heading/Heading.cjs.js +1 -0
  84. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +6 -5
  85. package/dist/components/Heading/Heading.es.js +39 -0
  86. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  87. package/dist/components/{buttons/PrimaryButton/PrimaryButton.stories.d.ts → Heading/Heading.stories.d.ts} +0 -1
  88. package/dist/components/Heading/Heading.stories.es.js +22 -0
  89. package/dist/components/Heading/index.cjs.js +1 -0
  90. package/dist/components/Heading/index.d.ts +2 -0
  91. package/dist/components/Heading/index.es.js +4 -0
  92. package/dist/components/IconButton.stories.cjs.js +1 -0
  93. package/dist/components/{buttons/IconButton.stories.d.ts → IconButton.stories.d.ts} +0 -1
  94. package/dist/components/IconButton.stories.es.js +21 -0
  95. package/dist/components/Loader/Loader.cjs.js +1 -1
  96. package/dist/components/Loader/Loader.d.ts +0 -1
  97. package/dist/components/Loader/Loader.es.js +2 -2
  98. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  99. package/dist/components/Loader/Loader.stories.d.ts +0 -1
  100. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +10 -8
  103. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -1
  104. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -0
  105. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.d.ts +0 -1
  106. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.es.js +10 -11
  107. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.cjs.js +1 -1
  108. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.d.ts +0 -1
  109. package/dist/components/PasswordInput/PasswordInput.stories.es.js +16 -0
  110. package/dist/components/QueryError/QueryError.cjs.js +1 -0
  111. package/dist/components/{feedback/QueryError → QueryError}/QueryError.d.ts +0 -1
  112. package/dist/components/QueryError/QueryError.es.js +43 -0
  113. package/dist/components/{feedback/QueryError → QueryError}/helpers.d.ts +0 -1
  114. package/dist/components/SearchInput/SearchInput.cjs.js +1 -0
  115. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.d.ts +0 -1
  116. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.es.js +4 -4
  117. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -0
  118. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.d.ts +0 -1
  119. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.es.js +1 -1
  120. package/dist/components/TabList.stories.cjs.js +1 -0
  121. package/dist/components/{lists/TabList.stories.d.ts → TabList.stories.d.ts} +0 -1
  122. package/dist/components/{lists/TabList.stories.es.js → TabList.stories.es.js} +99 -87
  123. package/dist/components/TextInput/TextInput.cjs.js +1 -0
  124. package/dist/components/{inputs/TextInput → TextInput}/TextInput.d.ts +0 -1
  125. package/dist/components/{inputs/TextInput → TextInput}/TextInput.es.js +1 -1
  126. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -0
  127. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.d.ts +0 -1
  128. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.es.js +7 -7
  129. package/dist/components/index.cjs.js +1 -1
  130. package/dist/components/index.d.ts +14 -20
  131. package/dist/components/index.es.js +270 -272
  132. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  133. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  134. package/dist/createSvgIcon-Ae1vF9Lv.js +250 -0
  135. package/dist/createSvgIcon-PXjVOXDY.cjs +1 -0
  136. package/dist/error-CRNeivL7.js +5 -0
  137. package/dist/error-Dk3o6ber.cjs +1 -0
  138. package/dist/extendSxProp-BzTGWWcy.js +37 -0
  139. package/dist/extendSxProp-DLhbnNxc.cjs +1 -0
  140. package/dist/{fr-By4s91yO.js → fr-B0c4Eu-I.js} +13 -13
  141. package/dist/{fr-TRjulm1Q.cjs → fr-BtINyNRC.cjs} +1 -1
  142. package/dist/hooks/lazySvgImport.cjs.js +1 -0
  143. package/dist/hooks/lazySvgImport.d.ts +6 -0
  144. package/dist/hooks/lazySvgImport.es.js +34 -0
  145. package/dist/identifier-B_IiMbpZ.cjs +59 -0
  146. package/dist/identifier-Bu3vgTzE.js +3115 -0
  147. package/dist/index-BDy6VH40.cjs +1 -0
  148. package/dist/index-D4YvqRSh.js +45 -0
  149. package/dist/index-DNmEgr4X.js +89 -0
  150. package/dist/index-Dl4BXU0b.cjs +1 -0
  151. package/dist/index.cjs.js +1 -1
  152. package/dist/index.d.ts +0 -1
  153. package/dist/index.es.js +271 -273
  154. package/dist/memoTheme-C4_nd-x4.js +15 -0
  155. package/dist/memoTheme-DvW891YJ.cjs +1 -0
  156. package/dist/{ownerWindow-C7EH1lr6.js → ownerWindow-BoRkeomM.js} +2 -2
  157. package/dist/refType-DYRsy3ld.cjs +1 -0
  158. package/dist/refType-DvOnKTmB.js +27 -0
  159. package/dist/server-error-CeAtUo4S.cjs +1 -0
  160. package/dist/server-error-DMyaPFs8.js +400 -0
  161. package/dist/useForkRef-D-DyzOXj.js +21 -0
  162. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  163. package/dist/useId-CK6Kn3Tn.js +21 -0
  164. package/dist/useId-DNXtOFeX.cjs +1 -0
  165. package/dist/useTheme-B_3HWqyi.js +88 -0
  166. package/dist/useTheme-BvsnROiB.cjs +1 -0
  167. package/dist/{useTheme-CjBTq22m.js → useTheme-DhYab2-0.js} +5 -5
  168. package/dist/useTheme-vN32oV1t.cjs +1 -0
  169. package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
  170. package/dist/{useThemeProps-BM4fCFq5.js → useThemeProps-Bmkt_XOR.js} +2 -2
  171. package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
  172. package/dist/useThemeProps-DftpgVZ0.js +24 -0
  173. package/dist/useTimeout-Bx22KOcH.js +53 -0
  174. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  175. package/package.json +14 -17
  176. package/dist/Box-5x1F2S3-.cjs +0 -1
  177. package/dist/Button-C__-QOJY.js +0 -359
  178. package/dist/Button-DKIRmOzf.cjs +0 -1
  179. package/dist/ButtonBase-4F5roLHd.js +0 -827
  180. package/dist/ButtonBase-Bw3wq81v.cjs +0 -75
  181. package/dist/CircularProgress-BNazIBar.js +0 -217
  182. package/dist/CircularProgress-WnNPMTjD.cjs +0 -28
  183. package/dist/DatePicker-B0jLSEvZ.cjs +0 -19
  184. package/dist/DefaultButton-F67BOmrx.js +0 -258
  185. package/dist/DefaultButton-y-mHSNFH.cjs +0 -1
  186. package/dist/IconButton-D_deQOvN.js +0 -184
  187. package/dist/IconButton-DhWgsgQ7.cjs +0 -2
  188. package/dist/InputAdornment-DYqMrYJz.cjs +0 -1
  189. package/dist/InputBase-BeZ70Fbf.cjs +0 -3
  190. package/dist/InputBase-DNkF-TAp.js +0 -794
  191. package/dist/Stack-BOcvai-O.cjs +0 -1
  192. package/dist/Tabs-CG428TT3.cjs +0 -4
  193. package/dist/Tabs-CWujD0SK.js +0 -1091
  194. package/dist/TextField-DDmGQyEr.js +0 -5800
  195. package/dist/TextField-wYRnAj1v.cjs +0 -12
  196. package/dist/Tooltip-O30xWGZU.cjs +0 -95
  197. package/dist/TransitionGroupContext-BkoHK5Kx.js +0 -14
  198. package/dist/TransitionGroupContext-mYDSzffd.cjs +0 -1
  199. package/dist/Typography-B2XMXu83.js +0 -178
  200. package/dist/Typography-DR_aF9lJ.cjs +0 -1
  201. package/dist/assets/index.css +0 -1
  202. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  203. package/dist/components/PaperHeader/PaperHeader.es.js +0 -41
  204. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  205. package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
  206. package/dist/components/PaperHeader/index.cjs.js +0 -1
  207. package/dist/components/PaperHeader/index.d.ts +0 -2
  208. package/dist/components/PaperHeader/index.es.js +0 -4
  209. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +0 -1
  210. package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +0 -9
  211. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +0 -8
  212. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  213. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +0 -9
  214. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +0 -143
  215. package/dist/components/buttons/DefaultButton/index.cjs.js +0 -1
  216. package/dist/components/buttons/DefaultButton/index.d.ts +0 -2
  217. package/dist/components/buttons/DefaultButton/index.es.js +0 -4
  218. package/dist/components/buttons/IconButton.stories.cjs.js +0 -1
  219. package/dist/components/buttons/IconButton.stories.es.js +0 -28
  220. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +0 -1
  221. package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +0 -6
  222. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +0 -13
  223. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  224. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  225. package/dist/components/buttons/PrimaryButton/index.cjs.js +0 -1
  226. package/dist/components/buttons/PrimaryButton/index.d.ts +0 -2
  227. package/dist/components/buttons/PrimaryButton/index.es.js +0 -4
  228. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +0 -1
  229. package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +0 -6
  230. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +0 -6
  231. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  232. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  233. package/dist/components/buttons/SecondaryButton/index.cjs.js +0 -1
  234. package/dist/components/buttons/SecondaryButton/index.d.ts +0 -2
  235. package/dist/components/buttons/SecondaryButton/index.es.js +0 -4
  236. package/dist/components/buttons/index.cjs.js +0 -1
  237. package/dist/components/buttons/index.d.ts +0 -3
  238. package/dist/components/buttons/index.es.js +0 -8
  239. package/dist/components/feedback/Alert/Alert.cjs.js +0 -1
  240. package/dist/components/feedback/Alert/Alert.stories.cjs.js +0 -1
  241. package/dist/components/feedback/QueryError/QueryError.cjs.js +0 -1
  242. package/dist/components/feedback/QueryError/QueryError.es.js +0 -19
  243. package/dist/components/feedback/index.cjs.js +0 -1
  244. package/dist/components/feedback/index.d.ts +0 -2
  245. package/dist/components/feedback/index.es.js +0 -6
  246. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +0 -1
  247. package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +0 -16
  248. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +0 -1
  249. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +0 -1
  250. package/dist/components/inputs/TextInput/TextInput.cjs.js +0 -1
  251. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +0 -1
  252. package/dist/components/inputs/index.cjs.js +0 -1
  253. package/dist/components/inputs/index.d.ts +0 -3
  254. package/dist/components/inputs/index.es.js +0 -8
  255. package/dist/components/lists/FileList/FileList.cjs.js +0 -1
  256. package/dist/components/lists/FileList/FileList.stories.cjs.js +0 -1
  257. package/dist/components/lists/FileList/FileListItem.cjs.js +0 -1
  258. package/dist/components/lists/FileList/FileListItem.d.ts +0 -14
  259. package/dist/components/lists/FileList/FileListItem.es.js +0 -42
  260. package/dist/components/lists/TabList.stories.cjs.js +0 -1
  261. package/dist/components/lists/index.cjs.js +0 -1
  262. package/dist/components/lists/index.d.ts +0 -1
  263. package/dist/components/lists/index.es.js +0 -6
  264. package/dist/components/pickers/DatePicker/DatePicker.cjs.js +0 -1
  265. package/dist/components/pickers/DatePicker/DatePicker.es.js +0 -6
  266. package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +0 -1
  267. package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +0 -16
  268. package/dist/components/pickers/DatePicker/index.cjs.js +0 -1
  269. package/dist/components/pickers/DatePicker/index.es.js +0 -4
  270. package/dist/components/pickers/index.d.ts +0 -1
  271. package/dist/components/pickers/index.es.js +0 -4
  272. package/dist/createStyled-CzVedz8V.js +0 -142
  273. package/dist/createStyled-LobpFGWo.cjs +0 -1
  274. package/dist/createSvgIcon-B8vHI3I6.js +0 -183
  275. package/dist/createSvgIcon-BGm-SWUB.cjs +0 -1
  276. package/dist/createSvgIcon-CKlvKClV.cjs +0 -2
  277. package/dist/createSvgIcon-DjuUwmEp.js +0 -75
  278. package/dist/identifier-4KVhx666.cjs +0 -50
  279. package/dist/identifier-D-ng7Qqa.js +0 -3047
  280. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/refType-BhXrhWFB.cjs +0 -1
  283. package/dist/refType-COGEdfch.js +0 -29
  284. package/dist/styled-ZF_yhfMW.cjs +0 -17
  285. package/dist/styled-xiAudcD_.js +0 -533
  286. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  287. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  288. package/dist/useControlled-DKpcyPsg.cjs +0 -3
  289. package/dist/useControlled-DoRrpN8o.js +0 -48
  290. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  291. package/dist/useForkRef-DwN_Iz9R.js +0 -17
  292. package/dist/useId-BW-oWmul.js +0 -19
  293. package/dist/useId-Cw0TtD-8.cjs +0 -1
  294. package/dist/useIsFocusVisible-Bv_7uvif.cjs +0 -1
  295. package/dist/useIsFocusVisible-DhASXQ4o.js +0 -69
  296. package/dist/useTheme-B5RCz7rY.cjs +0 -1
  297. package/dist/useTheme-iNHILPzK.js +0 -99
  298. package/dist/useTheme-kqsjFBnC.cjs +0 -1
  299. package/dist/useThemeProps-B-Oq4Y2j.cjs +0 -1
  300. package/dist/useThemeProps-BHAsCmc4.cjs +0 -1
  301. package/dist/useThemeProps-BVvSbkPP.js +0 -17
  302. package/dist/useTimeout-BdvDipeg.js +0 -47
  303. package/dist/useTimeout-XUWYBnl6.cjs +0 -1
  304. package/dist/vite-env.d.cjs.js +0 -1
  305. package/dist/vite-env.d.es.js +0 -1
  306. /package/dist/components/{feedback/Alert → Alert}/Alert.es.js +0 -0
  307. /package/dist/components/{feedback/Alert → Alert}/index.cjs.js +0 -0
  308. /package/dist/components/{feedback/Alert → Alert}/index.d.ts +0 -0
  309. /package/dist/components/{feedback/Alert → Alert}/index.es.js +0 -0
  310. /package/dist/components/{pickers/DatePicker → DatePicker}/index.d.ts +0 -0
  311. /package/dist/components/{lists/FileList → FileList}/index.cjs.js +0 -0
  312. /package/dist/components/{lists/FileList → FileList}/index.d.ts +0 -0
  313. /package/dist/components/{lists/FileList → FileList}/index.es.js +0 -0
  314. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.cjs.js +0 -0
  315. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.d.ts +0 -0
  316. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.es.js +0 -0
  317. /package/dist/components/{feedback/QueryError → QueryError}/helpers.cjs.js +0 -0
  318. /package/dist/components/{feedback/QueryError → QueryError}/helpers.es.js +0 -0
  319. /package/dist/components/{feedback/QueryError → QueryError}/index.cjs.js +0 -0
  320. /package/dist/components/{feedback/QueryError → QueryError}/index.d.ts +0 -0
  321. /package/dist/components/{feedback/QueryError → QueryError}/index.es.js +0 -0
  322. /package/dist/components/{inputs/SearchInput → SearchInput}/index.cjs.js +0 -0
  323. /package/dist/components/{inputs/SearchInput → SearchInput}/index.d.ts +0 -0
  324. /package/dist/components/{inputs/SearchInput → SearchInput}/index.es.js +0 -0
  325. /package/dist/components/{inputs/TextInput → TextInput}/index.cjs.js +0 -0
  326. /package/dist/components/{inputs/TextInput → TextInput}/index.d.ts +0 -0
  327. /package/dist/components/{inputs/TextInput → TextInput}/index.es.js +0 -0
@@ -1,794 +0,0 @@
1
- import { K as ke, P as e, _ as ye, m as d, T as Be, v as Pe, w as Me, x as pe, q as Q, L as He } from "./identifier-D-ng7Qqa.js";
2
- import * as l from "react";
3
- import { d as De, s as be, u as We, c as Ve } from "./styled-xiAudcD_.js";
4
- import { jsx as N, jsxs as X } from "react/jsx-runtime";
5
- import { a as ge, u as ee } from "./useForkRef-DwN_Iz9R.js";
6
- import { a as fe, d as Le } from "./ownerWindow-C7EH1lr6.js";
7
- import { i as me } from "./isHostComponent-kiaBvYVo.js";
8
- import { e as _e, r as je } from "./refType-COGEdfch.js";
9
- import { u as Ue } from "./useTheme-CjBTq22m.js";
10
- function we({
11
- styles: o,
12
- themeId: n,
13
- defaultTheme: t = {}
14
- }) {
15
- const s = Ue(t), i = typeof o == "function" ? o(n && s[n] || s) : o;
16
- return /* @__PURE__ */ N(ke, {
17
- styles: i
18
- });
19
- }
20
- process.env.NODE_ENV !== "production" && (we.propTypes = {
21
- // ┌────────────────────────────── Warning ──────────────────────────────┐
22
- // │ These PropTypes are generated from the TypeScript type definitions. │
23
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
24
- // └─────────────────────────────────────────────────────────────────────┘
25
- /**
26
- * @ignore
27
- */
28
- defaultTheme: e.object,
29
- /**
30
- * @ignore
31
- */
32
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool]),
33
- /**
34
- * @ignore
35
- */
36
- themeId: e.string
37
- });
38
- const ne = /* @__PURE__ */ l.createContext(void 0);
39
- process.env.NODE_ENV !== "production" && (ne.displayName = "FormControlContext");
40
- function $e() {
41
- return l.useContext(ne);
42
- }
43
- function he(o) {
44
- return o != null && !(Array.isArray(o) && o.length === 0);
45
- }
46
- function Ke(o, n = !1) {
47
- return o && (he(o.value) && o.value !== "" || n && he(o.defaultValue) && o.defaultValue !== "");
48
- }
49
- function ho(o) {
50
- return o.startAdornment;
51
- }
52
- function Ge({
53
- props: o,
54
- states: n,
55
- muiFormControl: t
56
- }) {
57
- return n.reduce((s, i) => (s[i] = o[i], t && typeof o[i] > "u" && (s[i] = t[i]), s), {});
58
- }
59
- const qe = ["onChange", "maxRows", "minRows", "style", "value"];
60
- function L(o) {
61
- return parseInt(o, 10) || 0;
62
- }
63
- const Ye = {
64
- shadow: {
65
- // Visibility needed to hide the extra text area on iPads
66
- visibility: "hidden",
67
- // Remove from the content flow
68
- position: "absolute",
69
- // Ignore the scrollbar width
70
- overflow: "hidden",
71
- height: 0,
72
- top: 0,
73
- left: 0,
74
- // Create a new layer, increase the isolation of the computed values
75
- transform: "translateZ(0)"
76
- }
77
- };
78
- function Ze(o) {
79
- return o == null || Object.keys(o).length === 0 || o.outerHeightStyle === 0 && !o.overflowing;
80
- }
81
- const ve = /* @__PURE__ */ l.forwardRef(function(n, t) {
82
- const {
83
- onChange: s,
84
- maxRows: i,
85
- minRows: p = 1,
86
- style: z,
87
- value: A
88
- } = n, B = ye(n, qe), {
89
- current: R
90
- } = l.useRef(A != null), b = l.useRef(null), I = ge(t, b), g = l.useRef(null), T = l.useRef(null), v = l.useCallback(() => {
91
- const c = b.current, f = fe(c).getComputedStyle(c);
92
- if (f.width === "0px")
93
- return {
94
- outerHeightStyle: 0,
95
- overflowing: !1
96
- };
97
- const m = T.current;
98
- m.style.width = f.width, m.value = c.value || n.placeholder || "x", m.value.slice(-1) === `
99
- ` && (m.value += " ");
100
- const E = f.boxSizing, O = L(f.paddingBottom) + L(f.paddingTop), x = L(f.borderBottomWidth) + L(f.borderTopWidth), S = m.scrollHeight;
101
- m.value = "x";
102
- const F = m.scrollHeight;
103
- let y = S;
104
- p && (y = Math.max(Number(p) * F, y)), i && (y = Math.min(Number(i) * F, y)), y = Math.max(y, F);
105
- const H = y + (E === "border-box" ? O + x : 0), j = Math.abs(y - S) <= 1;
106
- return {
107
- outerHeightStyle: H,
108
- overflowing: j
109
- };
110
- }, [i, p, n.placeholder]), C = l.useCallback(() => {
111
- const c = v();
112
- if (Ze(c))
113
- return;
114
- const u = c.outerHeightStyle, f = b.current;
115
- g.current !== u && (g.current = u, f.style.height = `${u}px`), f.style.overflow = c.overflowing ? "hidden" : "";
116
- }, [v]);
117
- ee(() => {
118
- const c = () => {
119
- C();
120
- };
121
- let u;
122
- const f = () => {
123
- cancelAnimationFrame(u), u = requestAnimationFrame(() => {
124
- c();
125
- });
126
- }, m = Le(c), E = b.current, O = fe(E);
127
- O.addEventListener("resize", m);
128
- let x;
129
- return typeof ResizeObserver < "u" && (x = new ResizeObserver(process.env.NODE_ENV === "test" ? f : c), x.observe(E)), () => {
130
- m.clear(), cancelAnimationFrame(u), O.removeEventListener("resize", m), x && x.disconnect();
131
- };
132
- }, [v, C]), ee(() => {
133
- C();
134
- });
135
- const _ = (c) => {
136
- R || C(), s && s(c);
137
- };
138
- return /* @__PURE__ */ X(l.Fragment, {
139
- children: [/* @__PURE__ */ N("textarea", d({
140
- value: A,
141
- onChange: _,
142
- ref: I,
143
- rows: p,
144
- style: z
145
- }, B)), /* @__PURE__ */ N("textarea", {
146
- "aria-hidden": !0,
147
- className: n.className,
148
- readOnly: !0,
149
- ref: T,
150
- tabIndex: -1,
151
- style: d({}, Ye.shadow, z, {
152
- paddingTop: 0,
153
- paddingBottom: 0
154
- })
155
- })]
156
- });
157
- });
158
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
159
- // ┌────────────────────────────── Warning ──────────────────────────────┐
160
- // │ These PropTypes are generated from the TypeScript type definitions. │
161
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
162
- // └─────────────────────────────────────────────────────────────────────┘
163
- /**
164
- * @ignore
165
- */
166
- className: e.string,
167
- /**
168
- * Maximum number of rows to display.
169
- */
170
- maxRows: e.oneOfType([e.number, e.string]),
171
- /**
172
- * Minimum number of rows to display.
173
- * @default 1
174
- */
175
- minRows: e.oneOfType([e.number, e.string]),
176
- /**
177
- * @ignore
178
- */
179
- onChange: e.func,
180
- /**
181
- * @ignore
182
- */
183
- placeholder: e.string,
184
- /**
185
- * @ignore
186
- */
187
- style: e.object,
188
- /**
189
- * @ignore
190
- */
191
- value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
192
- });
193
- function Ce(o) {
194
- return /* @__PURE__ */ N(we, d({}, o, {
195
- defaultTheme: De,
196
- themeId: Be
197
- }));
198
- }
199
- process.env.NODE_ENV !== "production" && (Ce.propTypes = {
200
- // ┌────────────────────────────── Warning ──────────────────────────────┐
201
- // │ These PropTypes are generated from the TypeScript type definitions. │
202
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
203
- // └─────────────────────────────────────────────────────────────────────┘
204
- /**
205
- * The styles you want to apply globally.
206
- */
207
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
208
- });
209
- function Je(o) {
210
- return Me("MuiInputBase", o);
211
- }
212
- const oe = Pe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]), Qe = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"], Xe = (o, n) => {
213
- const {
214
- ownerState: t
215
- } = o;
216
- return [n.root, t.formControl && n.formControl, t.startAdornment && n.adornedStart, t.endAdornment && n.adornedEnd, t.error && n.error, t.size === "small" && n.sizeSmall, t.multiline && n.multiline, t.color && n[`color${Q(t.color)}`], t.fullWidth && n.fullWidth, t.hiddenLabel && n.hiddenLabel];
217
- }, eo = (o, n) => {
218
- const {
219
- ownerState: t
220
- } = o;
221
- return [n.input, t.size === "small" && n.inputSizeSmall, t.multiline && n.inputMultiline, t.type === "search" && n.inputTypeSearch, t.startAdornment && n.inputAdornedStart, t.endAdornment && n.inputAdornedEnd, t.hiddenLabel && n.inputHiddenLabel];
222
- }, oo = (o) => {
223
- const {
224
- classes: n,
225
- color: t,
226
- disabled: s,
227
- error: i,
228
- endAdornment: p,
229
- focused: z,
230
- formControl: A,
231
- fullWidth: B,
232
- hiddenLabel: R,
233
- multiline: b,
234
- readOnly: I,
235
- size: g,
236
- startAdornment: T,
237
- type: v
238
- } = o, C = {
239
- root: ["root", `color${Q(t)}`, s && "disabled", i && "error", B && "fullWidth", z && "focused", A && "formControl", g && g !== "medium" && `size${Q(g)}`, b && "multiline", T && "adornedStart", p && "adornedEnd", R && "hiddenLabel", I && "readOnly"],
240
- input: ["input", s && "disabled", v === "search" && "inputTypeSearch", b && "inputMultiline", g === "small" && "inputSizeSmall", R && "inputHiddenLabel", T && "inputAdornedStart", p && "inputAdornedEnd", I && "readOnly"]
241
- };
242
- return Ve(C, Je, n);
243
- }, no = be("div", {
244
- name: "MuiInputBase",
245
- slot: "Root",
246
- overridesResolver: Xe
247
- })(({
248
- theme: o,
249
- ownerState: n
250
- }) => d({}, o.typography.body1, {
251
- color: (o.vars || o).palette.text.primary,
252
- lineHeight: "1.4375em",
253
- // 23px
254
- boxSizing: "border-box",
255
- // Prevent padding issue with fullWidth.
256
- position: "relative",
257
- cursor: "text",
258
- display: "inline-flex",
259
- alignItems: "center",
260
- [`&.${oe.disabled}`]: {
261
- color: (o.vars || o).palette.text.disabled,
262
- cursor: "default"
263
- }
264
- }, n.multiline && d({
265
- padding: "4px 0 5px"
266
- }, n.size === "small" && {
267
- paddingTop: 1
268
- }), n.fullWidth && {
269
- width: "100%"
270
- })), to = be("input", {
271
- name: "MuiInputBase",
272
- slot: "Input",
273
- overridesResolver: eo
274
- })(({
275
- theme: o,
276
- ownerState: n
277
- }) => {
278
- const t = o.palette.mode === "light", s = d({
279
- color: "currentColor"
280
- }, o.vars ? {
281
- opacity: o.vars.opacity.inputPlaceholder
282
- } : {
283
- opacity: t ? 0.42 : 0.5
284
- }, {
285
- transition: o.transitions.create("opacity", {
286
- duration: o.transitions.duration.shorter
287
- })
288
- }), i = {
289
- opacity: "0 !important"
290
- }, p = o.vars ? {
291
- opacity: o.vars.opacity.inputPlaceholder
292
- } : {
293
- opacity: t ? 0.42 : 0.5
294
- };
295
- return d({
296
- font: "inherit",
297
- letterSpacing: "inherit",
298
- color: "currentColor",
299
- padding: "4px 0 5px",
300
- border: 0,
301
- boxSizing: "content-box",
302
- background: "none",
303
- height: "1.4375em",
304
- // Reset 23pxthe native input line-height
305
- margin: 0,
306
- // Reset for Safari
307
- WebkitTapHighlightColor: "transparent",
308
- display: "block",
309
- // Make the flex item shrink with Firefox
310
- minWidth: 0,
311
- width: "100%",
312
- // Fix IE11 width issue
313
- animationName: "mui-auto-fill-cancel",
314
- animationDuration: "10ms",
315
- "&::-webkit-input-placeholder": s,
316
- "&::-moz-placeholder": s,
317
- // Firefox 19+
318
- "&:-ms-input-placeholder": s,
319
- // IE11
320
- "&::-ms-input-placeholder": s,
321
- // Edge
322
- "&:focus": {
323
- outline: 0
324
- },
325
- // Reset Firefox invalid required input style
326
- "&:invalid": {
327
- boxShadow: "none"
328
- },
329
- "&::-webkit-search-decoration": {
330
- // Remove the padding when type=search.
331
- WebkitAppearance: "none"
332
- },
333
- // Show and hide the placeholder logic
334
- [`label[data-shrink=false] + .${oe.formControl} &`]: {
335
- "&::-webkit-input-placeholder": i,
336
- "&::-moz-placeholder": i,
337
- // Firefox 19+
338
- "&:-ms-input-placeholder": i,
339
- // IE11
340
- "&::-ms-input-placeholder": i,
341
- // Edge
342
- "&:focus::-webkit-input-placeholder": p,
343
- "&:focus::-moz-placeholder": p,
344
- // Firefox 19+
345
- "&:focus:-ms-input-placeholder": p,
346
- // IE11
347
- "&:focus::-ms-input-placeholder": p
348
- // Edge
349
- },
350
- [`&.${oe.disabled}`]: {
351
- opacity: 1,
352
- // Reset iOS opacity
353
- WebkitTextFillColor: (o.vars || o).palette.text.disabled
354
- // Fix opacity Safari bug
355
- },
356
- "&:-webkit-autofill": {
357
- animationDuration: "5000s",
358
- animationName: "mui-auto-fill"
359
- }
360
- }, n.size === "small" && {
361
- paddingTop: 1
362
- }, n.multiline && {
363
- height: "auto",
364
- resize: "none",
365
- padding: 0,
366
- paddingTop: 0
367
- }, n.type === "search" && {
368
- // Improve type search style.
369
- MozAppearance: "textfield"
370
- });
371
- }), ro = /* @__PURE__ */ N(Ce, {
372
- styles: {
373
- "@keyframes mui-auto-fill": {
374
- from: {
375
- display: "block"
376
- }
377
- },
378
- "@keyframes mui-auto-fill-cancel": {
379
- from: {
380
- display: "block"
381
- }
382
- }
383
- }
384
- }), io = /* @__PURE__ */ l.forwardRef(function(n, t) {
385
- var s;
386
- const i = We({
387
- props: n,
388
- name: "MuiInputBase"
389
- }), {
390
- "aria-describedby": p,
391
- autoComplete: z,
392
- autoFocus: A,
393
- className: B,
394
- components: R = {},
395
- componentsProps: b = {},
396
- defaultValue: I,
397
- disabled: g,
398
- disableInjectingGlobalStyles: T,
399
- endAdornment: v,
400
- fullWidth: C = !1,
401
- id: _,
402
- inputComponent: c = "input",
403
- inputProps: u = {},
404
- inputRef: f,
405
- maxRows: m,
406
- minRows: E,
407
- multiline: O = !1,
408
- name: x,
409
- onBlur: S,
410
- onChange: F,
411
- onClick: y,
412
- onFocus: H,
413
- onKeyDown: j,
414
- onKeyUp: xe,
415
- placeholder: Se,
416
- readOnly: U,
417
- renderSuffix: te,
418
- rows: D,
419
- slotProps: re = {},
420
- slots: ie = {},
421
- startAdornment: P,
422
- type: ae = "text",
423
- value: Re
424
- } = i, Te = ye(i, Qe), W = u.value != null ? u.value : Re, {
425
- current: $
426
- } = l.useRef(W != null), k = l.useRef(), Ee = l.useCallback((r) => {
427
- process.env.NODE_ENV !== "production" && r && r.nodeName !== "INPUT" && !r.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
428
- `));
429
- }, []), Oe = ge(k, f, u.ref, Ee), [K, G] = l.useState(!1), a = $e();
430
- process.env.NODE_ENV !== "production" && l.useEffect(() => {
431
- if (a)
432
- return a.registerEffect();
433
- }, [a]);
434
- const h = Ge({
435
- props: i,
436
- muiFormControl: a,
437
- states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
438
- });
439
- h.focused = a ? a.focused : K, l.useEffect(() => {
440
- !a && g && K && (G(!1), S && S());
441
- }, [a, g, K, S]);
442
- const q = a && a.onFilled, Y = a && a.onEmpty, M = l.useCallback((r) => {
443
- Ke(r) ? q && q() : Y && Y();
444
- }, [q, Y]);
445
- ee(() => {
446
- $ && M({
447
- value: W
448
- });
449
- }, [W, M, $]);
450
- const Ne = (r) => {
451
- if (h.disabled) {
452
- r.stopPropagation();
453
- return;
454
- }
455
- H && H(r), u.onFocus && u.onFocus(r), a && a.onFocus ? a.onFocus(r) : G(!0);
456
- }, ze = (r) => {
457
- S && S(r), u.onBlur && u.onBlur(r), a && a.onBlur ? a.onBlur(r) : G(!1);
458
- }, Ae = (r, ...de) => {
459
- if (!$) {
460
- const ce = r.target || k.current;
461
- if (ce == null)
462
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : He(1));
463
- M({
464
- value: ce.value
465
- });
466
- }
467
- u.onChange && u.onChange(r, ...de), F && F(r, ...de);
468
- };
469
- l.useEffect(() => {
470
- M(k.current);
471
- }, []);
472
- const Ie = (r) => {
473
- k.current && r.currentTarget === r.target && k.current.focus(), y && y(r);
474
- };
475
- let Z = c, w = u;
476
- O && Z === "input" && (D ? (process.env.NODE_ENV !== "production" && (E || m) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), w = d({
477
- type: void 0,
478
- minRows: D,
479
- maxRows: D
480
- }, w)) : w = d({
481
- type: void 0,
482
- maxRows: m,
483
- minRows: E
484
- }, w), Z = ve);
485
- const Fe = (r) => {
486
- M(r.animationName === "mui-auto-fill-cancel" ? k.current : {
487
- value: "x"
488
- });
489
- };
490
- l.useEffect(() => {
491
- a && a.setAdornedStart(!!P);
492
- }, [a, P]);
493
- const V = d({}, i, {
494
- color: h.color || "primary",
495
- disabled: h.disabled,
496
- endAdornment: v,
497
- error: h.error,
498
- focused: h.focused,
499
- formControl: a,
500
- fullWidth: C,
501
- hiddenLabel: h.hiddenLabel,
502
- multiline: O,
503
- size: h.size,
504
- startAdornment: P,
505
- type: ae
506
- }), se = oo(V), le = ie.root || R.Root || no, J = re.root || b.root || {}, ue = ie.input || R.Input || to;
507
- return w = d({}, w, (s = re.input) != null ? s : b.input), /* @__PURE__ */ X(l.Fragment, {
508
- children: [!T && ro, /* @__PURE__ */ X(le, d({}, J, !me(le) && {
509
- ownerState: d({}, V, J.ownerState)
510
- }, {
511
- ref: t,
512
- onClick: Ie
513
- }, Te, {
514
- className: pe(se.root, J.className, B, U && "MuiInputBase-readOnly"),
515
- children: [P, /* @__PURE__ */ N(ne.Provider, {
516
- value: null,
517
- children: /* @__PURE__ */ N(ue, d({
518
- ownerState: V,
519
- "aria-invalid": h.error,
520
- "aria-describedby": p,
521
- autoComplete: z,
522
- autoFocus: A,
523
- defaultValue: I,
524
- disabled: h.disabled,
525
- id: _,
526
- onAnimationStart: Fe,
527
- name: x,
528
- placeholder: Se,
529
- readOnly: U,
530
- required: h.required,
531
- rows: D,
532
- value: W,
533
- onKeyDown: j,
534
- onKeyUp: xe,
535
- type: ae
536
- }, w, !me(ue) && {
537
- as: Z,
538
- ownerState: d({}, V, w.ownerState)
539
- }, {
540
- ref: Oe,
541
- className: pe(se.input, w.className, U && "MuiInputBase-readOnly"),
542
- onBlur: ze,
543
- onChange: Ae,
544
- onFocus: Ne
545
- }))
546
- }), v, te ? te(d({}, h, {
547
- startAdornment: P
548
- })) : null]
549
- }))]
550
- });
551
- });
552
- process.env.NODE_ENV !== "production" && (io.propTypes = {
553
- // ┌────────────────────────────── Warning ──────────────────────────────┐
554
- // │ These PropTypes are generated from the TypeScript type definitions. │
555
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
556
- // └─────────────────────────────────────────────────────────────────────┘
557
- /**
558
- * @ignore
559
- */
560
- "aria-describedby": e.string,
561
- /**
562
- * This prop helps users to fill forms faster, especially on mobile devices.
563
- * The name can be confusing, as it's more like an autofill.
564
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
565
- */
566
- autoComplete: e.string,
567
- /**
568
- * If `true`, the `input` element is focused during the first mount.
569
- */
570
- autoFocus: e.bool,
571
- /**
572
- * Override or extend the styles applied to the component.
573
- */
574
- classes: e.object,
575
- /**
576
- * @ignore
577
- */
578
- className: e.string,
579
- /**
580
- * The color of the component.
581
- * It supports both default and custom theme colors, which can be added as shown in the
582
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
583
- * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
584
- */
585
- color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
586
- /**
587
- * The components used for each slot inside.
588
- *
589
- * This prop is an alias for the `slots` prop.
590
- * It's recommended to use the `slots` prop instead.
591
- *
592
- * @default {}
593
- */
594
- components: e.shape({
595
- Input: e.elementType,
596
- Root: e.elementType
597
- }),
598
- /**
599
- * The extra props for the slot components.
600
- * You can override the existing props or add new ones.
601
- *
602
- * This prop is an alias for the `slotProps` prop.
603
- * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
604
- *
605
- * @default {}
606
- */
607
- componentsProps: e.shape({
608
- input: e.object,
609
- root: e.object
610
- }),
611
- /**
612
- * The default value. Use when the component is not controlled.
613
- */
614
- defaultValue: e.any,
615
- /**
616
- * If `true`, the component is disabled.
617
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
618
- */
619
- disabled: e.bool,
620
- /**
621
- * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
622
- * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
623
- * @default false
624
- */
625
- disableInjectingGlobalStyles: e.bool,
626
- /**
627
- * End `InputAdornment` for this component.
628
- */
629
- endAdornment: e.node,
630
- /**
631
- * If `true`, the `input` will indicate an error.
632
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
633
- */
634
- error: e.bool,
635
- /**
636
- * If `true`, the `input` will take up the full width of its container.
637
- * @default false
638
- */
639
- fullWidth: e.bool,
640
- /**
641
- * The id of the `input` element.
642
- */
643
- id: e.string,
644
- /**
645
- * The component used for the `input` element.
646
- * Either a string to use a HTML element or a component.
647
- * @default 'input'
648
- */
649
- inputComponent: _e,
650
- /**
651
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
652
- * @default {}
653
- */
654
- inputProps: e.object,
655
- /**
656
- * Pass a ref to the `input` element.
657
- */
658
- inputRef: je,
659
- /**
660
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
661
- * FormControl.
662
- * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
663
- */
664
- margin: e.oneOf(["dense", "none"]),
665
- /**
666
- * Maximum number of rows to display when multiline option is set to true.
667
- */
668
- maxRows: e.oneOfType([e.number, e.string]),
669
- /**
670
- * Minimum number of rows to display when multiline option is set to true.
671
- */
672
- minRows: e.oneOfType([e.number, e.string]),
673
- /**
674
- * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
675
- * @default false
676
- */
677
- multiline: e.bool,
678
- /**
679
- * Name attribute of the `input` element.
680
- */
681
- name: e.string,
682
- /**
683
- * Callback fired when the `input` is blurred.
684
- *
685
- * Notice that the first argument (event) might be undefined.
686
- */
687
- onBlur: e.func,
688
- /**
689
- * Callback fired when the value is changed.
690
- *
691
- * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
692
- * You can pull out the new value by accessing `event.target.value` (string).
693
- */
694
- onChange: e.func,
695
- /**
696
- * @ignore
697
- */
698
- onClick: e.func,
699
- /**
700
- * @ignore
701
- */
702
- onFocus: e.func,
703
- /**
704
- * Callback fired when the `input` doesn't satisfy its constraints.
705
- */
706
- onInvalid: e.func,
707
- /**
708
- * @ignore
709
- */
710
- onKeyDown: e.func,
711
- /**
712
- * @ignore
713
- */
714
- onKeyUp: e.func,
715
- /**
716
- * The short hint displayed in the `input` before the user enters a value.
717
- */
718
- placeholder: e.string,
719
- /**
720
- * It prevents the user from changing the value of the field
721
- * (not from interacting with the field).
722
- */
723
- readOnly: e.bool,
724
- /**
725
- * @ignore
726
- */
727
- renderSuffix: e.func,
728
- /**
729
- * If `true`, the `input` element is required.
730
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
731
- */
732
- required: e.bool,
733
- /**
734
- * Number of rows to display when multiline option is set to true.
735
- */
736
- rows: e.oneOfType([e.number, e.string]),
737
- /**
738
- * The size of the component.
739
- */
740
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
741
- /**
742
- * The extra props for the slot components.
743
- * You can override the existing props or add new ones.
744
- *
745
- * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
746
- *
747
- * @default {}
748
- */
749
- slotProps: e.shape({
750
- input: e.object,
751
- root: e.object
752
- }),
753
- /**
754
- * The components used for each slot inside.
755
- *
756
- * This prop is an alias for the `components` prop, which will be deprecated in the future.
757
- *
758
- * @default {}
759
- */
760
- slots: e.shape({
761
- input: e.elementType,
762
- root: e.elementType
763
- }),
764
- /**
765
- * Start `InputAdornment` for this component.
766
- */
767
- startAdornment: e.node,
768
- /**
769
- * The system prop that allows defining system overrides as well as additional CSS styles.
770
- */
771
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
772
- /**
773
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
774
- * @default 'text'
775
- */
776
- type: e.string,
777
- /**
778
- * The value of the `input` element, required for a controlled component.
779
- */
780
- value: e.any
781
- });
782
- export {
783
- ne as F,
784
- io as I,
785
- Ke as a,
786
- oe as b,
787
- no as c,
788
- to as d,
789
- eo as e,
790
- Ge as f,
791
- ho as i,
792
- Xe as r,
793
- $e as u
794
- };