@cgi-learning-hub/ui 1.3.3 → 1.3.4-dev.1733911143

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 (270) hide show
  1. package/dist/Backdrop-DqUdx8FP.cjs +1 -0
  2. package/dist/Backdrop-ZqzrnV2E.js +360 -0
  3. package/dist/Box-Be6jhcmK.cjs +1 -0
  4. package/dist/{Box-UE-zctbJ.js → Box-DN_2fcm9.js} +9 -9
  5. package/dist/Button-C6UXybBV.cjs +1 -0
  6. package/dist/{Button-Bjy0iPNm.js → Button-CL9rFoOY.js} +152 -118
  7. package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-CYkLbJ0U.js} +232 -240
  8. package/dist/ButtonBase-DzK1n18b.cjs +74 -0
  9. package/dist/Card-DO4cAmNC.js +74 -0
  10. package/dist/Card-DsmqVSx1.cjs +1 -0
  11. package/dist/Checkbox-Btg05OjV.cjs +1 -0
  12. package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-CLM5GjuC.js} +27 -26
  13. package/dist/CircularProgress-BfbGcmHT.cjs +28 -0
  14. package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-C4xtwh4E.js} +28 -27
  15. package/dist/DatePicker-BXTOQETi.cjs +14 -0
  16. package/dist/DatePicker-D9suyaUZ.js +10846 -0
  17. package/dist/DefaultPropsProvider-DE-Tx_ov.cjs +17 -0
  18. package/dist/DefaultPropsProvider-DUWovK-8.js +454 -0
  19. package/dist/Delete-CpADFuIX.cjs +1 -0
  20. package/dist/Delete-DWXEW4-c.js +8 -0
  21. package/dist/DialogContent-D_JmqJt6.js +603 -0
  22. package/dist/DialogContent-gRISmOoj.cjs +1 -0
  23. package/dist/DialogTitle-CID6RFNo.js +134 -0
  24. package/dist/DialogTitle-Dhxh1DVb.cjs +1 -0
  25. package/dist/Divider-BjxxEFnr.cjs +1 -0
  26. package/dist/Divider-HhF8ckeh.js +296 -0
  27. package/dist/FormControlLabel-0-cflTuo.js +262 -0
  28. package/dist/FormControlLabel-C-eZV5Xc.cjs +1 -0
  29. package/dist/FormGroup-Ck7StJ6i.cjs +1 -0
  30. package/dist/FormGroup-DIP4u-gv.js +95 -0
  31. package/dist/FormLabel-Ch103TK-.cjs +2 -0
  32. package/dist/{FormLabel-B4QlkhhB.js → FormLabel-X7FN1eBV.js} +39 -44
  33. package/dist/Grow-BgMSa0P2.js +193 -0
  34. package/dist/Grow-D7OAahbU.cjs +1 -0
  35. package/dist/{IconButton-Av8eJ5IG.js → IconButton-CMwpC2Co.js} +10 -9
  36. package/dist/IconButton-DbWtCGLB.cjs +2 -0
  37. package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-B4hI0-Jz.js} +9 -8
  38. package/dist/InputAdornment-Cl2OaKlw.cjs +1 -0
  39. package/dist/InputBase-BuVAuMNp.cjs +3 -0
  40. package/dist/{InputBase-Bbgoz8GV.js → InputBase-DrofJ7xL.js} +60 -59
  41. package/dist/Link-AXhb0uJT.cjs +1 -0
  42. package/dist/Link-Bdupo_fW.js +267 -0
  43. package/dist/Menu-DR-xtxpt.js +966 -0
  44. package/dist/Menu-_chQG-Za.cjs +7 -0
  45. package/dist/{MenuItem-D7HWYhF3.js → MenuItem-C_d0Sc_L.js} +69 -74
  46. package/dist/MenuItem-De6eStq9.cjs +1 -0
  47. package/dist/Modal-C4Jb6sd1.js +750 -0
  48. package/dist/Modal-GXSEk85U.cjs +2 -0
  49. package/dist/Paper-CH4BABUB.cjs +2 -0
  50. package/dist/Paper-nlWPEgQh.js +185 -0
  51. package/dist/Popper-CjTplNLW.cjs +4 -0
  52. package/dist/Popper-CkAj_qw_.js +1407 -0
  53. package/dist/Portal-BcFwfiTx.js +86 -0
  54. package/dist/Portal-BruYsISj.cjs +1 -0
  55. package/dist/Radio-B0v6nDvz.js +313 -0
  56. package/dist/Radio-BbZnB74m.cjs +1 -0
  57. package/dist/Select-BFGwwKap.cjs +3 -0
  58. package/dist/Select-D9fwtA9U.js +2604 -0
  59. package/dist/{Stack-y1PjTHKX.js → Stack-C1i6_V9e.js} +105 -60
  60. package/dist/Stack-DMNZvXss.cjs +1 -0
  61. package/dist/SwitchBase-BpMNk4XV.cjs +1 -0
  62. package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-DfbwljzN.js} +25 -24
  63. package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-DwnLOHOy.js} +2645 -3965
  64. package/dist/TableSortLabel-lnTBXy-V.cjs +98 -0
  65. package/dist/{Tabs-DK4Bc5xo.js → Tabs-BoFP2RHv.js} +333 -329
  66. package/dist/Tabs-DEvwJheI.cjs +4 -0
  67. package/dist/{TextField-C-B529_r.js → TextField-kwhzNVAL.js} +35 -34
  68. package/dist/TextField-waKWSLD4.cjs +1 -0
  69. package/dist/Tooltip-CFyOA9CT.cjs +4 -0
  70. package/dist/Tooltip-tgkiC77d.js +721 -0
  71. package/dist/Typography-B6KFjCtE.cjs +1 -0
  72. package/dist/{Typography-C_ESP41L.js → Typography-DWXYj92v.js} +13 -12
  73. package/dist/assets/styles.css +1 -1
  74. package/dist/assets/styles2.css +1 -1
  75. package/dist/capitalize-DASFtB-F.cjs +1 -0
  76. package/dist/capitalize-NmHVRYy8.js +9 -0
  77. package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
  78. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  79. package/dist/components/Button/Button.cjs.js +1 -1
  80. package/dist/components/Button/Button.es.js +28 -27
  81. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  82. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  83. package/dist/components/DatePicker/index.cjs.js +1 -1
  84. package/dist/components/DatePicker/index.es.js +1 -1
  85. package/dist/components/Dropzone/Dropzone.cjs.js +1 -5
  86. package/dist/components/Dropzone/Dropzone.es.js +24 -2162
  87. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  88. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  89. package/dist/components/FileList/FileList.cjs.js +1 -1
  90. package/dist/components/FileList/FileList.es.js +1 -1
  91. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  92. package/dist/components/FileList/FileListItem.es.js +21 -22
  93. package/dist/components/Heading/Heading.cjs.js +1 -1
  94. package/dist/components/Heading/Heading.es.js +2 -2
  95. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
  96. package/dist/components/ImagePicker/ImagePicker.d.ts +12 -0
  97. package/dist/components/ImagePicker/ImagePicker.es.js +174 -0
  98. package/dist/components/ImagePicker/index.cjs.js +1 -0
  99. package/dist/components/ImagePicker/index.d.ts +2 -0
  100. package/dist/components/ImagePicker/index.es.js +4 -0
  101. package/dist/components/Loader/Loader.cjs.js +1 -1
  102. package/dist/components/Loader/Loader.es.js +2 -2
  103. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  104. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
  105. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  106. package/dist/components/PasswordInput/PasswordInput.es.js +8 -7
  107. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  108. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  109. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  110. package/dist/components/TextInput/TextInput.es.js +1 -1
  111. package/dist/components/index.cjs.js +1 -1
  112. package/dist/components/index.d.ts +3 -0
  113. package/dist/components/index.es.js +276 -262
  114. package/dist/components/stories/Button.stories.cjs.js +1 -1
  115. package/dist/components/stories/Button.stories.es.js +1 -1
  116. package/dist/components/stories/Card.stories.cjs.js +1 -0
  117. package/dist/components/stories/Card.stories.d.ts +7 -0
  118. package/dist/components/stories/Card.stories.es.js +193 -0
  119. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  120. package/dist/components/stories/Checkbox.stories.es.js +41 -12
  121. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  122. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  123. package/dist/components/stories/Dialog.stories.cjs.js +1 -0
  124. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  125. package/dist/components/stories/Dialog.stories.es.js +53 -0
  126. package/dist/components/stories/Divider.stories.cjs.js +1 -0
  127. package/dist/components/stories/Divider.stories.d.ts +6 -0
  128. package/dist/components/stories/Divider.stories.es.js +41 -0
  129. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
  130. package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
  131. package/dist/components/stories/FormControlLabel.stories.es.js +379 -0
  132. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  133. package/dist/components/stories/Heading.stories.es.js +2 -2
  134. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  135. package/dist/components/stories/IconButton.stories.es.js +47 -11
  136. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
  137. package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
  138. package/dist/components/stories/ImagePicker.stories.es.js +50 -0
  139. package/dist/components/stories/Link.stories.cjs.js +1 -0
  140. package/dist/components/stories/Link.stories.d.ts +7 -0
  141. package/dist/components/stories/Link.stories.es.js +43 -0
  142. package/dist/components/stories/Menu.stories.cjs.js +1 -0
  143. package/dist/components/stories/Menu.stories.d.ts +7 -0
  144. package/dist/components/stories/Menu.stories.es.js +51 -0
  145. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  146. package/dist/components/stories/Paper.stories.d.ts +7 -0
  147. package/dist/components/stories/Paper.stories.es.js +28 -0
  148. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  149. package/dist/components/stories/RadioGroup.stories.es.js +70 -371
  150. package/dist/components/stories/Select.stories.cjs.js +1 -1
  151. package/dist/components/stories/Select.stories.es.js +3 -3
  152. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  153. package/dist/components/stories/TabList.stories.es.js +140 -90
  154. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  155. package/dist/components/stories/TextField.stories.es.js +1 -1
  156. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  157. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  158. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  159. package/dist/components/stories/Typography.stories.cjs.js +1 -0
  160. package/dist/components/stories/Typography.stories.d.ts +6 -0
  161. package/dist/components/stories/Typography.stories.es.js +65 -0
  162. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  163. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  164. package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-CeuAoIMQ.js} +6 -5
  165. package/dist/createSvgIcon-eUfAcV0x.cjs +1 -0
  166. package/dist/debounce-46wSf_lW.js +15 -0
  167. package/dist/debounce-DpCj7ugL.cjs +1 -0
  168. package/dist/dividerClasses-CSD96RzX.cjs +1 -0
  169. package/dist/dividerClasses-DrJ5oIdP.js +9 -0
  170. package/dist/elementTypeAcceptingRef-Cz_FeG92.cjs +1 -0
  171. package/dist/elementTypeAcceptingRef-HBfwF2vD.js +23 -0
  172. package/dist/extendSxProp-Fr1MMO0I.cjs +1 -0
  173. package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-NjjUyYdB.js} +1 -1
  174. package/dist/formControlState-CuX6WjAX.cjs +1 -0
  175. package/dist/formControlState-vgaj2ksH.js +10 -0
  176. package/dist/fr-ChrHtTbj.cjs +1 -0
  177. package/dist/fr-rmVQsNbI.js +312 -0
  178. package/dist/{identifier-BqadgaK7.js → generateUtilityClasses--6MLb_cS.js} +990 -956
  179. package/dist/generateUtilityClasses-DEQ18TAF.cjs +59 -0
  180. package/dist/{index-BUxqDIr9.js → index-B4GmPutS.js} +6 -5
  181. package/dist/index-BGCIdIru.js +2152 -0
  182. package/dist/index-BoQHt8iN.cjs +1 -0
  183. package/dist/index-CRdsZkOC.cjs +17 -0
  184. package/dist/index-CmEzEdk2.cjs +5 -0
  185. package/dist/index-XYfXmNqA.js +186 -0
  186. package/dist/index.cjs.js +1 -1
  187. package/dist/index.es.js +276 -262
  188. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  189. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  190. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  191. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  192. package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-D99chbOP.cjs} +1 -1
  193. package/dist/{memoTheme-DfGVDRrB.js → memoTheme-o8RCKrNG.js} +1 -1
  194. package/dist/mergeSlotProps-DSv3FKLb.cjs +1 -0
  195. package/dist/{resolveComponentProps-CxJ2yAJn.js → mergeSlotProps-KHPCviGJ.js} +7 -7
  196. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  197. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  198. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  199. package/dist/ownerWindow-niciwP7I.js +7 -0
  200. package/dist/useEnhancedEffect-C9MKL5N4.cjs +1 -0
  201. package/dist/useEnhancedEffect-DlS7O_-p.js +7 -0
  202. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  203. package/dist/useForkRef-C_4o__cU.js +15 -0
  204. package/dist/useSlot-DsW0udy9.cjs +1 -0
  205. package/dist/{useSlot-Co14PUn6.js → useSlot-eWxwpnv1.js} +2 -2
  206. package/dist/useSlotProps--FPRW1CI.cjs +1 -0
  207. package/dist/{index-CRT92bm7.js → useSlotProps-C7zjg7t9.js} +26 -26
  208. package/dist/useTheme-B1YEBlI0.cjs +1 -0
  209. package/dist/useTheme-BXzyKigM.js +11 -0
  210. package/dist/{useTheme-oM_SFWy4.js → useTheme-D0ITn2Re.js} +1 -1
  211. package/dist/useTheme-DFJNv-zn.cjs +1 -0
  212. package/dist/useThemeProps-BwyYDczI.cjs +1 -0
  213. package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-DrCROxdY.js} +2 -2
  214. package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-DsDeaP0E.js} +3 -3
  215. package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-j-HQOOfB.cjs} +1 -1
  216. package/dist/{useTimeout-D16vpBhn.js → useTimeout-FkIxJmTC.js} +4 -4
  217. package/dist/useTimeout-NIA-3R5R.cjs +1 -0
  218. package/dist/utils-70jLtOQP.js +391 -0
  219. package/dist/utils-BWx1W_q1.cjs +1 -0
  220. package/dist/utils-DWqc1kRF.js +13 -0
  221. package/dist/utils-DlWHEABQ.cjs +1 -0
  222. package/package.json +5 -5
  223. package/dist/Backdrop-KAJqifAq.cjs +0 -1
  224. package/dist/Backdrop-RBPtVAPX.js +0 -744
  225. package/dist/Box-H49yQEt_.cjs +0 -1
  226. package/dist/Button-qc45QbX6.cjs +0 -1
  227. package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
  228. package/dist/Checkbox-CuYTY0gd.cjs +0 -1
  229. package/dist/CircularProgress-BPHINMQw.cjs +0 -28
  230. package/dist/DatePicker-rhgpaD-r.cjs +0 -17
  231. package/dist/DatePicker-u4rtXGeo.js +0 -12791
  232. package/dist/DefaultPropsProvider-BrX6iuA3.cjs +0 -17
  233. package/dist/DefaultPropsProvider-CaRoy5OV.js +0 -484
  234. package/dist/FormGroup-BBYEQB4C.cjs +0 -1
  235. package/dist/FormGroup-BVtE8Mrv.js +0 -348
  236. package/dist/FormLabel-D8jYibc1.cjs +0 -2
  237. package/dist/IconButton-CVyLtjcH.cjs +0 -2
  238. package/dist/InputAdornment-BJfpEQAa.cjs +0 -1
  239. package/dist/InputBase-Ctmib7Br.cjs +0 -3
  240. package/dist/MenuItem-Els-vJZW.cjs +0 -1
  241. package/dist/Select-BlPQngVF.js +0 -4720
  242. package/dist/Select-ipcMZ4iK.cjs +0 -11
  243. package/dist/Stack-CEjx3KHM.cjs +0 -1
  244. package/dist/SwitchBase-URM3X3YZ.cjs +0 -1
  245. package/dist/Tabs-Nvk94RTW.cjs +0 -4
  246. package/dist/TextField-BVAkADOb.cjs +0 -1
  247. package/dist/Tooltip-DvPL2M0E.cjs +0 -100
  248. package/dist/Typography-5OodZ94T.cjs +0 -1
  249. package/dist/createSvgIcon-GU7fqNnI.cjs +0 -1
  250. package/dist/extendSxProp-D11-pC6h.cjs +0 -1
  251. package/dist/formControlState-DCkDUdfO.cjs +0 -1
  252. package/dist/formControlState-DdQP43Uo.js +0 -21
  253. package/dist/fr-B8_MxRl5.js +0 -307
  254. package/dist/fr-Nvp7C-vS.cjs +0 -1
  255. package/dist/identifier-BQH88SE0.cjs +0 -59
  256. package/dist/index-CNv8ppur.cjs +0 -1
  257. package/dist/index-D7nFYLYq.cjs +0 -1
  258. package/dist/ownerWindow-BoRkeomM.js +0 -23
  259. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  260. package/dist/refType-DlHf9HvO.js +0 -27
  261. package/dist/refType-Do7KaOvv.cjs +0 -1
  262. package/dist/resolveComponentProps-DTv6xPbb.cjs +0 -1
  263. package/dist/useForkRef-D-DyzOXj.js +0 -21
  264. package/dist/useForkRef-D81w5oMb.cjs +0 -1
  265. package/dist/useSlot-42jgZftI.cjs +0 -1
  266. package/dist/useTheme-CtT7O-Wk.js +0 -11
  267. package/dist/useTheme-cVN-YQNB.cjs +0 -1
  268. package/dist/useTheme-tZYpFplW.cjs +0 -1
  269. package/dist/useThemeProps-r0DnR8FJ.cjs +0 -1
  270. package/dist/useTimeout-DWEGwfTA.cjs +0 -1
@@ -1,18 +1,23 @@
1
1
  import * as s from "react";
2
- import { P as e, J as Fe, I as ke, K as ce, L as Z, Y as Be } from "./identifier-BqadgaK7.js";
3
- import { f as Me, i as He } from "./formControlState-DdQP43Uo.js";
4
- import { u as Pe, F as We } from "./useFormControl-CatNKXAi.js";
5
- import { g as De } from "./index-BUxqDIr9.js";
6
- import { m as be } from "./memoTheme-DfGVDRrB.js";
7
- import { jsxs as Q, jsx as B } from "react/jsx-runtime";
8
- import { s as ye, u as Le, c as je } from "./DefaultPropsProvider-CaRoy5OV.js";
9
- import { u as ge } from "./useForkRef-D-DyzOXj.js";
10
- import { u as X, e as Ve, r as Ue } from "./refType-DlHf9HvO.js";
11
- import { o as pe, d as _e } from "./ownerWindow-BoRkeomM.js";
2
+ import { P as e, I as Fe, H as ke, G as ce, J as Be } from "./generateUtilityClasses--6MLb_cS.js";
3
+ import { i as pe } from "./isHostComponent-kiaBvYVo.js";
4
+ import { f as He } from "./formControlState-vgaj2ksH.js";
5
+ import { u as Me, F as Pe } from "./useFormControl-CatNKXAi.js";
6
+ import { g as We } from "./index-B4GmPutS.js";
7
+ import { m as be } from "./memoTheme-o8RCKrNG.js";
8
+ import { i as De } from "./utils-DWqc1kRF.js";
9
+ import { jsxs as Z, jsx as B } from "react/jsx-runtime";
10
+ import { s as ye, u as Le, c as je } from "./DefaultPropsProvider-DUWovK-8.js";
11
+ import { u as ge } from "./useForkRef-C_4o__cU.js";
12
+ import { u as Q, r as Ve } from "./useEnhancedEffect-DlS7O_-p.js";
13
+ import { o as fe } from "./ownerWindow-niciwP7I.js";
14
+ import { d as Ue } from "./debounce-46wSf_lW.js";
15
+ import { e as _e } from "./elementTypeAcceptingRef-HBfwF2vD.js";
16
+ import { c as X } from "./capitalize-NmHVRYy8.js";
12
17
  function L(n) {
13
18
  return parseInt(n, 10) || 0;
14
19
  }
15
- const Ke = {
20
+ const $e = {
16
21
  shadow: {
17
22
  // Visibility needed to hide the extra text area on iPads
18
23
  visibility: "hidden",
@@ -27,7 +32,7 @@ const Ke = {
27
32
  transform: "translateZ(0)"
28
33
  }
29
34
  };
30
- function $e(n) {
35
+ function Ge(n) {
31
36
  return n == null || Object.keys(n).length === 0 || n.outerHeightStyle === 0 && !n.overflowing;
32
37
  }
33
38
  const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
@@ -37,11 +42,11 @@ const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
37
42
  minRows: c = 1,
38
43
  style: O,
39
44
  value: T,
40
- ...M
45
+ ...H
41
46
  } = o, {
42
47
  current: S
43
48
  } = s.useRef(T != null), h = s.useRef(null), E = ge(t, h), b = s.useRef(null), C = s.useRef(null), v = s.useCallback(() => {
44
- const l = h.current, r = pe(l).getComputedStyle(l);
49
+ const l = h.current, r = fe(l).getComputedStyle(l);
45
50
  if (r.width === "0px")
46
51
  return {
47
52
  outerHeightStyle: 0,
@@ -55,19 +60,19 @@ const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
55
60
  const A = p.scrollHeight;
56
61
  let u = N;
57
62
  c && (u = Math.max(Number(c) * A, u)), f && (u = Math.min(Number(f) * A, u)), u = Math.max(u, A);
58
- const H = u + (z === "border-box" ? R + g : 0), P = Math.abs(u - N) <= 1;
63
+ const M = u + (z === "border-box" ? R + g : 0), P = Math.abs(u - N) <= 1;
59
64
  return {
60
- outerHeightStyle: H,
65
+ outerHeightStyle: M,
61
66
  overflowing: P
62
67
  };
63
68
  }, [f, c, o.placeholder]), x = s.useCallback(() => {
64
69
  const l = v();
65
- if ($e(l))
70
+ if (Ge(l))
66
71
  return;
67
72
  const y = l.outerHeightStyle, r = h.current;
68
73
  b.current !== y && (b.current = y, r.style.height = `${y}px`), r.style.overflow = l.overflowing ? "hidden" : "";
69
74
  }, [v]);
70
- X(() => {
75
+ Q(() => {
71
76
  const l = () => {
72
77
  x();
73
78
  };
@@ -76,26 +81,26 @@ const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
76
81
  cancelAnimationFrame(y), y = requestAnimationFrame(() => {
77
82
  l();
78
83
  });
79
- }, p = _e(l), z = h.current, R = pe(z);
84
+ }, p = Ue(l), z = h.current, R = fe(z);
80
85
  R.addEventListener("resize", p);
81
86
  let g;
82
87
  return typeof ResizeObserver < "u" && (g = new ResizeObserver(process.env.NODE_ENV === "test" ? r : l), g.observe(z)), () => {
83
88
  p.clear(), cancelAnimationFrame(y), R.removeEventListener("resize", p), g && g.disconnect();
84
89
  };
85
- }, [v, x]), X(() => {
90
+ }, [v, x]), Q(() => {
86
91
  x();
87
92
  });
88
93
  const j = (l) => {
89
94
  S || x(), d && d(l);
90
95
  };
91
- return /* @__PURE__ */ Q(s.Fragment, {
96
+ return /* @__PURE__ */ Z(s.Fragment, {
92
97
  children: [/* @__PURE__ */ B("textarea", {
93
98
  value: T,
94
99
  onChange: j,
95
100
  ref: E,
96
101
  rows: c,
97
102
  style: O,
98
- ...M
103
+ ...H
99
104
  }), /* @__PURE__ */ B("textarea", {
100
105
  "aria-hidden": !0,
101
106
  className: o.className,
@@ -103,7 +108,7 @@ const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
103
108
  ref: C,
104
109
  tabIndex: -1,
105
110
  style: {
106
- ...Ke.shadow,
111
+ ...$e.shadow,
107
112
  ...O,
108
113
  paddingTop: 0,
109
114
  paddingBottom: 0
@@ -146,19 +151,16 @@ process.env.NODE_ENV !== "production" && (we.propTypes = {
146
151
  */
147
152
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
148
153
  });
149
- function fe(n) {
150
- return typeof n == "string";
151
- }
152
- function qe(n) {
154
+ function Ke(n) {
153
155
  return ke("MuiInputBase", n);
154
156
  }
155
157
  const ee = Fe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
156
158
  var me;
157
- const Ge = (n, o) => {
159
+ const qe = (n, o) => {
158
160
  const {
159
161
  ownerState: t
160
162
  } = n;
161
- return [o.root, t.formControl && o.formControl, t.startAdornment && o.adornedStart, t.endAdornment && o.adornedEnd, t.error && o.error, t.size === "small" && o.sizeSmall, t.multiline && o.multiline, t.color && o[`color${Z(t.color)}`], t.fullWidth && o.fullWidth, t.hiddenLabel && o.hiddenLabel];
163
+ return [o.root, t.formControl && o.formControl, t.startAdornment && o.adornedStart, t.endAdornment && o.adornedEnd, t.error && o.error, t.size === "small" && o.sizeSmall, t.multiline && o.multiline, t.color && o[`color${X(t.color)}`], t.fullWidth && o.fullWidth, t.hiddenLabel && o.hiddenLabel];
162
164
  }, Ye = (n, o) => {
163
165
  const {
164
166
  ownerState: t
@@ -173,7 +175,7 @@ const Ge = (n, o) => {
173
175
  endAdornment: c,
174
176
  focused: O,
175
177
  formControl: T,
176
- fullWidth: M,
178
+ fullWidth: H,
177
179
  hiddenLabel: S,
178
180
  multiline: h,
179
181
  readOnly: E,
@@ -181,14 +183,14 @@ const Ge = (n, o) => {
181
183
  startAdornment: C,
182
184
  type: v
183
185
  } = n, x = {
184
- root: ["root", `color${Z(t)}`, d && "disabled", f && "error", M && "fullWidth", O && "focused", T && "formControl", b && b !== "medium" && `size${Z(b)}`, h && "multiline", C && "adornedStart", c && "adornedEnd", S && "hiddenLabel", E && "readOnly"],
186
+ root: ["root", `color${X(t)}`, d && "disabled", f && "error", H && "fullWidth", O && "focused", T && "formControl", b && b !== "medium" && `size${X(b)}`, h && "multiline", C && "adornedStart", c && "adornedEnd", S && "hiddenLabel", E && "readOnly"],
185
187
  input: ["input", d && "disabled", v === "search" && "inputTypeSearch", h && "inputMultiline", b === "small" && "inputSizeSmall", S && "inputHiddenLabel", C && "inputAdornedStart", c && "inputAdornedEnd", E && "readOnly"]
186
188
  };
187
- return je(x, qe, o);
189
+ return je(x, Ke, o);
188
190
  }, Ze = ye("div", {
189
191
  name: "MuiInputBase",
190
192
  slot: "Root",
191
- overridesResolver: Ge
193
+ overridesResolver: qe
192
194
  })(be(({
193
195
  theme: n
194
196
  }) => ({
@@ -344,7 +346,7 @@ const Ge = (n, o) => {
344
346
  }
345
347
  }]
346
348
  };
347
- })), he = De({
349
+ })), he = We({
348
350
  "@keyframes mui-auto-fill": {
349
351
  from: {
350
352
  display: "block"
@@ -364,7 +366,7 @@ const Ge = (n, o) => {
364
366
  autoComplete: c,
365
367
  autoFocus: O,
366
368
  className: T,
367
- color: M,
369
+ color: H,
368
370
  components: S = {},
369
371
  componentsProps: h = {},
370
372
  defaultValue: E,
@@ -383,7 +385,7 @@ const Ge = (n, o) => {
383
385
  multiline: N = !1,
384
386
  name: A,
385
387
  onBlur: u,
386
- onChange: H,
388
+ onChange: M,
387
389
  onClick: P,
388
390
  onFocus: oe,
389
391
  onKeyDown: ve,
@@ -404,31 +406,31 @@ const Ge = (n, o) => {
404
406
  } = s.useRef(D != null), I = s.useRef(), Oe = s.useCallback((i) => {
405
407
  process.env.NODE_ENV !== "production" && i && i.nodeName !== "INPUT" && !i.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(`
406
408
  `));
407
- }, []), Te = ge(I, p, r.ref, Oe), [_, K] = s.useState(!1), a = Pe();
409
+ }, []), Te = ge(I, p, r.ref, Oe), [_, $] = s.useState(!1), a = Me();
408
410
  process.env.NODE_ENV !== "production" && s.useEffect(() => {
409
411
  if (a)
410
412
  return a.registerEffect();
411
413
  }, [a]);
412
- const m = Me({
414
+ const m = He({
413
415
  props: d,
414
416
  muiFormControl: a,
415
417
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
416
418
  });
417
419
  m.focused = a ? a.focused : _, s.useEffect(() => {
418
- !a && b && _ && (K(!1), u && u());
420
+ !a && b && _ && ($(!1), u && u());
419
421
  }, [a, b, _, u]);
420
- const $ = a && a.onFilled, q = a && a.onEmpty, k = s.useCallback((i) => {
421
- He(i) ? $ && $() : q && q();
422
- }, [$, q]);
423
- X(() => {
422
+ const G = a && a.onFilled, K = a && a.onEmpty, k = s.useCallback((i) => {
423
+ De(i) ? G && G() : K && K();
424
+ }, [G, K]);
425
+ Q(() => {
424
426
  U && k({
425
427
  value: D
426
428
  });
427
429
  }, [D, k, U]);
428
430
  const Ee = (i) => {
429
- oe && oe(i), r.onFocus && r.onFocus(i), a && a.onFocus ? a.onFocus(i) : K(!0);
431
+ oe && oe(i), r.onFocus && r.onFocus(i), a && a.onFocus ? a.onFocus(i) : $(!0);
430
432
  }, Ie = (i) => {
431
- u && u(i), r.onBlur && r.onBlur(i), a && a.onBlur ? a.onBlur(i) : K(!1);
433
+ u && u(i), r.onBlur && r.onBlur(i), a && a.onBlur ? a.onBlur(i) : $(!1);
432
434
  }, ze = (i, ...ue) => {
433
435
  if (!U) {
434
436
  const de = i.target || I.current;
@@ -438,7 +440,7 @@ const Ge = (n, o) => {
438
440
  value: de.value
439
441
  });
440
442
  }
441
- r.onChange && r.onChange(i, ...ue), H && H(i, ...ue);
443
+ r.onChange && r.onChange(i, ...ue), M && M(i, ...ue);
442
444
  };
443
445
  s.useEffect(() => {
444
446
  k(I.current);
@@ -446,8 +448,8 @@ const Ge = (n, o) => {
446
448
  const Ne = (i) => {
447
449
  I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
448
450
  };
449
- let G = y, w = r;
450
- N && G === "input" && (W ? (process.env.NODE_ENV !== "production" && (g || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), w = {
451
+ let q = y, w = r;
452
+ N && q === "input" && (W ? (process.env.NODE_ENV !== "production" && (g || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), w = {
451
453
  type: void 0,
452
454
  minRows: W,
453
455
  maxRows: W,
@@ -457,7 +459,7 @@ const Ge = (n, o) => {
457
459
  maxRows: R,
458
460
  minRows: g,
459
461
  ...w
460
- }, G = we);
462
+ }, q = we);
461
463
  const Ae = (i) => {
462
464
  k(i.animationName === "mui-auto-fill-cancel" ? I.current : {
463
465
  value: "x"
@@ -484,22 +486,22 @@ const Ge = (n, o) => {
484
486
  return w = {
485
487
  ...w,
486
488
  ...te.input ?? h.input
487
- }, /* @__PURE__ */ Q(s.Fragment, {
489
+ }, /* @__PURE__ */ Z(s.Fragment, {
488
490
  children: [!C && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
489
491
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
490
- (me || (me = /* @__PURE__ */ B(he, {}))), /* @__PURE__ */ Q(se, {
492
+ (me || (me = /* @__PURE__ */ B(he, {}))), /* @__PURE__ */ Z(se, {
491
493
  ...J,
492
494
  ref: t,
493
495
  onClick: Ne,
494
496
  ...Re,
495
- ...!fe(se) && {
497
+ ...!pe(se) && {
496
498
  ownerState: {
497
499
  ...Y,
498
500
  ...J.ownerState
499
501
  }
500
502
  },
501
503
  className: ce(ae.root, J.className, T, V && "MuiInputBase-readOnly"),
502
- children: [F, /* @__PURE__ */ B(We.Provider, {
504
+ children: [F, /* @__PURE__ */ B(Pe.Provider, {
503
505
  value: null,
504
506
  children: /* @__PURE__ */ B(le, {
505
507
  "aria-invalid": m.error,
@@ -520,8 +522,8 @@ const Ge = (n, o) => {
520
522
  onKeyUp: Se,
521
523
  type: ie,
522
524
  ...w,
523
- ...!fe(le) && {
524
- as: G,
525
+ ...!pe(le) && {
526
+ as: q,
525
527
  ownerState: {
526
528
  ...Y,
527
529
  ...w.ownerState
@@ -635,7 +637,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
635
637
  * Either a string to use a HTML element or a component.
636
638
  * @default 'input'
637
639
  */
638
- inputComponent: Ve,
640
+ inputComponent: _e,
639
641
  /**
640
642
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
641
643
  * @default {}
@@ -644,7 +646,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
644
646
  /**
645
647
  * Pass a ref to the `input` element.
646
648
  */
647
- inputRef: Ue,
649
+ inputRef: Ve,
648
650
  /**
649
651
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
650
652
  * FormControl.
@@ -773,7 +775,6 @@ export {
773
775
  Ze as a,
774
776
  Qe as b,
775
777
  Ye as c,
776
- fe as d,
777
778
  ee as i,
778
- Ge as r
779
+ qe as r
779
780
  };
@@ -0,0 +1 @@
1
+ "use strict";const V=require("react"),e=require("./generateUtilityClasses-DEQ18TAF.cjs"),q=require("./useTheme-B1YEBlI0.cjs"),F=require("react/jsx-runtime"),u=require("./DefaultPropsProvider-DE-Tx_ov.cjs"),R=require("./memoTheme-D99chbOP.cjs"),$=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),A=require("./Typography-B6KFjCtE.cjs"),x=require("./capitalize-DASFtB-F.cjs"),N=require("./elementTypeAcceptingRef-Cz_FeG92.cjs"),m=require("./isFocusVisible-DlSijby6.cjs");function z(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const h=z(V);function v(r){return e.generateUtilityClass("MuiLink",r)}const k=e.generateUtilityClasses("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),M=({theme:r,ownerState:o})=>{const t=o.color,n=e.getPath(r,`palette.${t}`,!1)||o.color,s=e.getPath(r,`palette.${t}Channel`);return"vars"in r&&s?`rgba(${s} / 0.4)`:e.alpha(n,.4)},C={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},U=r=>{const{classes:o,component:t,focusVisible:n,underline:s}=r,l={root:["root",`underline${x.capitalize(s)}`,t==="button"&&"button",n&&"focusVisible"]};return u.composeClasses(l,v,o)},B=u.styled(A.Typography,{name:"MuiLink",slot:"Root",overridesResolver:(r,o)=>{const{ownerState:t}=r;return[o.root,o[`underline${x.capitalize(t.underline)}`],t.component==="button"&&o.button]}})(R.memoTheme(({theme:r})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:o,ownerState:t})=>o==="always"&&t.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(r.palette).filter($.createSimplePaletteValueFilter()).map(([o])=>({props:{underline:"always",color:o},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette[o].mainChannel} / 0.4)`:e.alpha(r.palette[o].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.primaryChannel} / 0.4)`:e.alpha(r.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":r.vars?`rgba(${r.vars.palette.text.secondaryChannel} / 0.4)`:e.alpha(r.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(r.vars||r).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${k.focusVisible}`]:{outline:"auto"}}}]}))),w=h.forwardRef(function(o,t){const n=u.useDefaultProps({props:o,name:"MuiLink"}),s=q.useTheme(),{className:l,color:i="primary",component:y="a",onBlur:d,onFocus:f,TypographyClasses:L,underline:b="always",variant:T="inherit",sx:p,...g}=n,[D,P]=h.useState(!1),O=a=>{m.isFocusVisible(a.target)||P(!1),d&&d(a)},j=a=>{m.isFocusVisible(a.target)&&P(!0),f&&f(a)},c={...n,color:i,component:y,focusVisible:D,underline:b,variant:T},S=U(c);return F.jsx(B,{color:i,className:e.clsx(S.root,l),classes:L,component:y,onBlur:O,onFocus:j,ref:t,ownerState:c,variant:T,...g,sx:[...C[i]===void 0?[{color:i}]:[],...Array.isArray(p)?p:[p]],style:{...g.style,...b==="always"&&i!=="inherit"&&!C[i]&&{"--Link-underlineColor":M({theme:s,ownerState:c})}}})});process.env.NODE_ENV!=="production"&&(w.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),e.PropTypes.string]),component:N.elementTypeAcceptingRef,onBlur:e.PropTypes.func,onFocus:e.PropTypes.func,style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TypographyClasses:e.PropTypes.object,underline:e.PropTypes.oneOf(["always","hover","none"]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),e.PropTypes.string])});exports.Link=w;exports.getLinkUtilityClass=v;exports.linkClasses=k;
@@ -0,0 +1,267 @@
1
+ import * as C from "react";
2
+ import { H as V, I as $, N as v, n as l, G as P, P as o } from "./generateUtilityClasses--6MLb_cS.js";
3
+ import { u as j } from "./useTheme-BXzyKigM.js";
4
+ import { jsx as A } from "react/jsx-runtime";
5
+ import { s as F, u as N, c as R } from "./DefaultPropsProvider-DUWovK-8.js";
6
+ import { m as M } from "./memoTheme-o8RCKrNG.js";
7
+ import { c as B } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
8
+ import { T as U } from "./Typography-DWXYj92v.js";
9
+ import { c as w } from "./capitalize-NmHVRYy8.js";
10
+ import { e as z } from "./elementTypeAcceptingRef-HBfwF2vD.js";
11
+ import { i as h } from "./isFocusVisible-CPZqtjv2.js";
12
+ function H(e) {
13
+ return V("MuiLink", e);
14
+ }
15
+ const E = $("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlways", "button", "focusVisible"]), W = ({
16
+ theme: e,
17
+ ownerState: r
18
+ }) => {
19
+ const n = r.color, t = v(e, `palette.${n}`, !1) || r.color, s = v(e, `palette.${n}Channel`);
20
+ return "vars" in e && s ? `rgba(${s} / 0.4)` : l(t, 0.4);
21
+ }, k = {
22
+ primary: !0,
23
+ secondary: !0,
24
+ error: !0,
25
+ info: !0,
26
+ success: !0,
27
+ warning: !0,
28
+ textPrimary: !0,
29
+ textSecondary: !0,
30
+ textDisabled: !0
31
+ }, G = (e) => {
32
+ const {
33
+ classes: r,
34
+ component: n,
35
+ focusVisible: t,
36
+ underline: s
37
+ } = e, c = {
38
+ root: ["root", `underline${w(s)}`, n === "button" && "button", t && "focusVisible"]
39
+ };
40
+ return R(c, H, r);
41
+ }, I = F(U, {
42
+ name: "MuiLink",
43
+ slot: "Root",
44
+ overridesResolver: (e, r) => {
45
+ const {
46
+ ownerState: n
47
+ } = e;
48
+ return [r.root, r[`underline${w(n.underline)}`], n.component === "button" && r.button];
49
+ }
50
+ })(M(({
51
+ theme: e
52
+ }) => ({
53
+ variants: [{
54
+ props: {
55
+ underline: "none"
56
+ },
57
+ style: {
58
+ textDecoration: "none"
59
+ }
60
+ }, {
61
+ props: {
62
+ underline: "hover"
63
+ },
64
+ style: {
65
+ textDecoration: "none",
66
+ "&:hover": {
67
+ textDecoration: "underline"
68
+ }
69
+ }
70
+ }, {
71
+ props: {
72
+ underline: "always"
73
+ },
74
+ style: {
75
+ textDecoration: "underline",
76
+ "&:hover": {
77
+ textDecorationColor: "inherit"
78
+ }
79
+ }
80
+ }, {
81
+ props: ({
82
+ underline: r,
83
+ ownerState: n
84
+ }) => r === "always" && n.color !== "inherit",
85
+ style: {
86
+ textDecorationColor: "var(--Link-underlineColor)"
87
+ }
88
+ }, ...Object.entries(e.palette).filter(B()).map(([r]) => ({
89
+ props: {
90
+ underline: "always",
91
+ color: r
92
+ },
93
+ style: {
94
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette[r].mainChannel} / 0.4)` : l(e.palette[r].main, 0.4)
95
+ }
96
+ })), {
97
+ props: {
98
+ underline: "always",
99
+ color: "textPrimary"
100
+ },
101
+ style: {
102
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.4)` : l(e.palette.text.primary, 0.4)
103
+ }
104
+ }, {
105
+ props: {
106
+ underline: "always",
107
+ color: "textSecondary"
108
+ },
109
+ style: {
110
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.secondaryChannel} / 0.4)` : l(e.palette.text.secondary, 0.4)
111
+ }
112
+ }, {
113
+ props: {
114
+ underline: "always",
115
+ color: "textDisabled"
116
+ },
117
+ style: {
118
+ "--Link-underlineColor": (e.vars || e).palette.text.disabled
119
+ }
120
+ }, {
121
+ props: {
122
+ component: "button"
123
+ },
124
+ style: {
125
+ position: "relative",
126
+ WebkitTapHighlightColor: "transparent",
127
+ backgroundColor: "transparent",
128
+ // Reset default value
129
+ // We disable the focus ring for mouse, touch and keyboard users.
130
+ outline: 0,
131
+ border: 0,
132
+ margin: 0,
133
+ // Remove the margin in Safari
134
+ borderRadius: 0,
135
+ padding: 0,
136
+ // Remove the padding in Firefox
137
+ cursor: "pointer",
138
+ userSelect: "none",
139
+ verticalAlign: "middle",
140
+ MozAppearance: "none",
141
+ // Reset
142
+ WebkitAppearance: "none",
143
+ // Reset
144
+ "&::-moz-focus-inner": {
145
+ borderStyle: "none"
146
+ // Remove Firefox dotted outline.
147
+ },
148
+ [`&.${E.focusVisible}`]: {
149
+ outline: "auto"
150
+ }
151
+ }
152
+ }]
153
+ }))), _ = /* @__PURE__ */ C.forwardRef(function(r, n) {
154
+ const t = N({
155
+ props: r,
156
+ name: "MuiLink"
157
+ }), s = j(), {
158
+ className: c,
159
+ color: a = "primary",
160
+ component: d = "a",
161
+ onBlur: y,
162
+ onFocus: f,
163
+ TypographyClasses: L,
164
+ underline: m = "always",
165
+ variant: b = "inherit",
166
+ sx: u,
167
+ ...g
168
+ } = t, [T, x] = C.useState(!1), D = (i) => {
169
+ h(i.target) || x(!1), y && y(i);
170
+ }, O = (i) => {
171
+ h(i.target) && x(!0), f && f(i);
172
+ }, p = {
173
+ ...t,
174
+ color: a,
175
+ component: d,
176
+ focusVisible: T,
177
+ underline: m,
178
+ variant: b
179
+ }, S = G(p);
180
+ return /* @__PURE__ */ A(I, {
181
+ color: a,
182
+ className: P(S.root, c),
183
+ classes: L,
184
+ component: d,
185
+ onBlur: D,
186
+ onFocus: O,
187
+ ref: n,
188
+ ownerState: p,
189
+ variant: b,
190
+ ...g,
191
+ sx: [...k[a] === void 0 ? [{
192
+ color: a
193
+ }] : [], ...Array.isArray(u) ? u : [u]],
194
+ style: {
195
+ ...g.style,
196
+ ...m === "always" && a !== "inherit" && !k[a] && {
197
+ "--Link-underlineColor": W({
198
+ theme: s,
199
+ ownerState: p
200
+ })
201
+ }
202
+ }
203
+ });
204
+ });
205
+ process.env.NODE_ENV !== "production" && (_.propTypes = {
206
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
207
+ // │ These PropTypes are generated from the TypeScript type definitions. │
208
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
209
+ // └─────────────────────────────────────────────────────────────────────┘
210
+ /**
211
+ * The content of the component.
212
+ */
213
+ children: o.node,
214
+ /**
215
+ * Override or extend the styles applied to the component.
216
+ */
217
+ classes: o.object,
218
+ /**
219
+ * @ignore
220
+ */
221
+ className: o.string,
222
+ /**
223
+ * The color of the link.
224
+ * @default 'primary'
225
+ */
226
+ color: o.oneOfType([o.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), o.string]),
227
+ /**
228
+ * The component used for the root node.
229
+ * Either a string to use a HTML element or a component.
230
+ */
231
+ component: z,
232
+ /**
233
+ * @ignore
234
+ */
235
+ onBlur: o.func,
236
+ /**
237
+ * @ignore
238
+ */
239
+ onFocus: o.func,
240
+ /**
241
+ * @ignore
242
+ */
243
+ style: o.object,
244
+ /**
245
+ * The system prop that allows defining system overrides as well as additional CSS styles.
246
+ */
247
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
248
+ /**
249
+ * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.
250
+ */
251
+ TypographyClasses: o.object,
252
+ /**
253
+ * Controls when the link should have an underline.
254
+ * @default 'always'
255
+ */
256
+ underline: o.oneOf(["always", "hover", "none"]),
257
+ /**
258
+ * Applies the theme typography styles.
259
+ * @default 'inherit'
260
+ */
261
+ variant: o.oneOfType([o.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), o.string])
262
+ });
263
+ export {
264
+ _ as L,
265
+ H as g,
266
+ E as l
267
+ };