@cgi-learning-hub/ui 1.9.0 → 1.10.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.
- package/dist/index.cjs.js +63417 -1
- package/dist/index.d.ts +773 -1
- package/dist/index.es.js +63394 -417
- package/dist/ui.css +151 -0
- package/package.json +26 -24
- package/dist/Alert-BH_3hKCB.cjs +0 -1
- package/dist/Alert-BeVYzSS-.js +0 -94
- package/dist/Alert-BoYBWOXe.cjs +0 -1
- package/dist/Alert-CEu3llDi.js +0 -369
- package/dist/Autocomplete-BKpavKFW.cjs +0 -6
- package/dist/Autocomplete-DBZYn4YL.js +0 -1881
- package/dist/Backdrop-BvL371G3.js +0 -360
- package/dist/Backdrop-qOBrabpf.cjs +0 -1
- package/dist/Badge-2Kgbx-Cs.js +0 -466
- package/dist/Badge-DXl0Da36.cjs +0 -1
- package/dist/Box-BaZ7KlAc.js +0 -59
- package/dist/Box-CYQlQqRB.cjs +0 -1
- package/dist/Button-BP-QmmUu.cjs +0 -1
- package/dist/Button-C1mKNW-c.js +0 -698
- package/dist/ButtonBase-C2jRC_V7.js +0 -883
- package/dist/ButtonBase-DSJojbNE.cjs +0 -74
- package/dist/CardContent-DVcUynuH.cjs +0 -1
- package/dist/CardContent-kIapWv4T.js +0 -225
- package/dist/Checkbox-DhhuvKO5.cjs +0 -1
- package/dist/Checkbox-RxHWtafR.js +0 -271
- package/dist/Chip-DgGmi9yn.js +0 -574
- package/dist/Chip-n1kY-Dsh.cjs +0 -1
- package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
- package/dist/CircularProgress-CLq0Rl-1.js +0 -253
- package/dist/Close-DR9m6hv3.cjs +0 -1
- package/dist/Close-vu-MZYNA.js +0 -9
- package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
- package/dist/CloseRounded-DF05lCUu.js +0 -8
- package/dist/CustomTreeItem-AecanDDg.js +0 -2046
- package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
- package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
- package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
- package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
- package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
- package/dist/Delete-C36W48MB.cjs +0 -1
- package/dist/Delete-DXUljXzP.js +0 -8
- package/dist/Dialog-C2HYr67H.cjs +0 -1
- package/dist/Dialog-D__8rwpw.js +0 -469
- package/dist/DialogContent-MPwmUJQp.js +0 -195
- package/dist/DialogContent-lup2v_ab.cjs +0 -1
- package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
- package/dist/DialogTitle-Dly5D3Ud.js +0 -134
- package/dist/Divider-BN12gMv9.js +0 -297
- package/dist/Divider-wisA5Qp_.cjs +0 -1
- package/dist/Folder-BSZMyA2L.js +0 -8
- package/dist/Folder-aAI_w_uF.cjs +0 -1
- package/dist/FormLabel-ByYWZh7M.cjs +0 -2
- package/dist/FormLabel-DtxJI2CU.js +0 -408
- package/dist/Grid-C0LY-MbT.js +0 -419
- package/dist/Grid-CPXE25PR.cjs +0 -2
- package/dist/Grow-6zwoqUfO.cjs +0 -1
- package/dist/Grow-CeGwnQpw.js +0 -197
- package/dist/IconButton-BTN16gZi.cjs +0 -2
- package/dist/IconButton-DBjiNqOa.js +0 -299
- package/dist/InputAdornment-C1r1YutO.cjs +0 -1
- package/dist/InputAdornment-DuR35FtU.js +0 -173
- package/dist/InputBase-CxknnWV4.cjs +0 -4
- package/dist/InputBase-D5UJOJBu.js +0 -797
- package/dist/Link-T11NCxGd.cjs +0 -1
- package/dist/Link-hWCqsQiI.js +0 -281
- package/dist/List-CmJ1jCss.js +0 -131
- package/dist/List-eQ4D0MvJ.cjs +0 -1
- package/dist/ListItem-CgWgbZ_g.cjs +0 -1
- package/dist/ListItem-onoPfwb4.js +0 -423
- package/dist/ListItemText-B-dySXgz.cjs +0 -1
- package/dist/ListItemText-BjhXxIIV.js +0 -441
- package/dist/Menu-D7B383z4.cjs +0 -7
- package/dist/Menu-DGvAkF5F.js +0 -911
- package/dist/MenuItem-Cusmy5t2.js +0 -268
- package/dist/MenuItem-D-4xzo-S.cjs +0 -1
- package/dist/Modal-DB9K8sJI.cjs +0 -2
- package/dist/Modal-DtjScKxh.js +0 -744
- package/dist/MoreVert-BwfUF9pO.cjs +0 -1
- package/dist/MoreVert-woCQ0dNf.js +0 -8
- package/dist/Paper-CZXfHfN_.js +0 -158
- package/dist/Paper-DcVuAxq3.cjs +0 -2
- package/dist/Popper-BwuGO_Si.js +0 -1407
- package/dist/Popper-D5Cs38W_.cjs +0 -4
- package/dist/Portal-Cmv45gpL.cjs +0 -1
- package/dist/Portal-PkRJuFYN.js +0 -85
- package/dist/Radio-DiyDpiVL.js +0 -617
- package/dist/Radio-DzKwkI68.cjs +0 -1
- package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
- package/dist/RadioGroup-CjUaFqjJ.js +0 -191
- package/dist/Select-BxH16ruJ.js +0 -2648
- package/dist/Select-CSQfbogA.cjs +0 -3
- package/dist/Stack-ChvZzNqc.cjs +0 -1
- package/dist/Stack-pMJEpL7k.js +0 -173
- package/dist/Stepper-BsfN7O-W.cjs +0 -1
- package/dist/Stepper-DyH4sgY5.js +0 -966
- package/dist/Switch-BgZUmsKc.js +0 -392
- package/dist/Switch-Dr2jgPGV.cjs +0 -1
- package/dist/SwitchBase-BP_I-APE.cjs +0 -1
- package/dist/SwitchBase-BWz31Ed6.js +0 -319
- package/dist/Tab-Bksf_S4K.js +0 -1454
- package/dist/Tab-D2mI5G0L.cjs +0 -4
- package/dist/TextField-C9AnzUpZ.cjs +0 -1
- package/dist/TextField-Ctx4aW6-.js +0 -560
- package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
- package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
- package/dist/Tooltip-C5AffX17.js +0 -722
- package/dist/Tooltip-CUm8vKGq.cjs +0 -4
- package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
- package/dist/Typography-Cr-aIusw.js +0 -261
- package/dist/Typography-DHjq4GzQ.cjs +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/LoaderBackdrop.css +0 -1
- package/dist/capitalize-3OjkeP9i.cjs +0 -1
- package/dist/capitalize-BHEX83JQ.js +0 -9
- package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/client-error-CHkavqXs.cjs +0 -1
- package/dist/client-error-D0Ng5oOn.js +0 -393
- package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
- package/dist/components/ActionBar/ActionBar.d.ts +0 -3
- package/dist/components/ActionBar/ActionBar.es.js +0 -63
- package/dist/components/ActionBar/index.cjs.js +0 -1
- package/dist/components/ActionBar/index.d.ts +0 -2
- package/dist/components/ActionBar/index.es.js +0 -4
- package/dist/components/ActionBar/style.cjs.js +0 -1
- package/dist/components/ActionBar/style.es.js +0 -61
- package/dist/components/ActionBar/types.cjs.js +0 -1
- package/dist/components/ActionBar/types.d.ts +0 -17
- package/dist/components/ActionBar/types.es.js +0 -1
- package/dist/components/Alert/Alert.cjs.js +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -6
- package/dist/components/Alert/Alert.es.js +0 -8
- package/dist/components/Alert/index.cjs.js +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.es.js +0 -4
- package/dist/components/Button/Button.cjs.js +0 -1
- package/dist/components/Button/Button.d.ts +0 -3
- package/dist/components/Button/Button.es.js +0 -44
- package/dist/components/Button/index.cjs.js +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.es.js +0 -4
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
- package/dist/components/ButtonGroup/index.cjs.js +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -2
- package/dist/components/ButtonGroup/index.es.js +0 -4
- package/dist/components/ButtonGroup/style.cjs.js +0 -1
- package/dist/components/ButtonGroup/style.es.js +0 -29
- package/dist/components/ButtonGroup/types.cjs.js +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -22
- package/dist/components/ButtonGroup/types.es.js +0 -1
- package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
- package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
- package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
- package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
- package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
- package/dist/components/ColorPicker/index.cjs.js +0 -1
- package/dist/components/ColorPicker/index.d.ts +0 -3
- package/dist/components/ColorPicker/index.es.js +0 -4
- package/dist/components/ColorPicker/styles.cjs.js +0 -1
- package/dist/components/ColorPicker/styles.es.js +0 -28
- package/dist/components/ColorPicker/types.cjs.js +0 -1
- package/dist/components/ColorPicker/types.d.ts +0 -19
- package/dist/components/ColorPicker/types.es.js +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -6
- package/dist/components/DatePicker/DatePicker.es.js +0 -5
- package/dist/components/DatePicker/index.cjs.js +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.es.js +0 -4
- package/dist/components/Dialog/Dialog.cjs.js +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.es.js +0 -31
- package/dist/components/Dialog/index.cjs.js +0 -1
- package/dist/components/Dialog/index.d.ts +0 -2
- package/dist/components/Dialog/index.es.js +0 -4
- package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +0 -12
- package/dist/components/Dropzone/Dropzone.es.js +0 -55
- package/dist/components/Dropzone/index.cjs.js +0 -1
- package/dist/components/Dropzone/index.d.ts +0 -2
- package/dist/components/Dropzone/index.es.js +0 -4
- package/dist/components/Dropzone/types.cjs.js +0 -1
- package/dist/components/Dropzone/types.d.ts +0 -8
- package/dist/components/Dropzone/types.es.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
- package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
- package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -22
- package/dist/components/EmptyState/EmptyState.es.js +0 -34
- package/dist/components/EmptyState/index.cjs.js +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/EmptyState/index.es.js +0 -4
- package/dist/components/FileList/FileIcon.cjs.js +0 -1
- package/dist/components/FileList/FileIcon.d.ts +0 -3
- package/dist/components/FileList/FileIcon.es.js +0 -56
- package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
- package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
- package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
- package/dist/components/FileList/FileList.cjs.js +0 -1
- package/dist/components/FileList/FileList.d.ts +0 -9
- package/dist/components/FileList/FileList.es.js +0 -24
- package/dist/components/FileList/FileListItem.cjs.js +0 -1
- package/dist/components/FileList/FileListItem.d.ts +0 -16
- package/dist/components/FileList/FileListItem.es.js +0 -122
- package/dist/components/FileList/index.cjs.js +0 -1
- package/dist/components/FileList/index.d.ts +0 -4
- package/dist/components/FileList/index.es.js +0 -6
- package/dist/components/FileList/utils.cjs.js +0 -1
- package/dist/components/FileList/utils.d.ts +0 -2
- package/dist/components/FileList/utils.es.js +0 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
- package/dist/components/FolderCard/FolderCard.d.ts +0 -12
- package/dist/components/FolderCard/FolderCard.es.js +0 -88
- package/dist/components/FolderCard/index.cjs.js +0 -1
- package/dist/components/FolderCard/index.d.ts +0 -2
- package/dist/components/FolderCard/index.es.js +0 -4
- package/dist/components/FolderCard/styles.cjs.js +0 -1
- package/dist/components/FolderCard/styles.d.ts +0 -24
- package/dist/components/FolderCard/styles.es.js +0 -27
- package/dist/components/FolderCard/types.cjs.js +0 -1
- package/dist/components/FolderCard/types.d.ts +0 -3
- package/dist/components/FolderCard/types.es.js +0 -14
- package/dist/components/Heading/Heading.cjs.js +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -14
- package/dist/components/Heading/Heading.es.js +0 -39
- package/dist/components/Heading/index.cjs.js +0 -1
- package/dist/components/Heading/index.d.ts +0 -2
- package/dist/components/Heading/index.es.js +0 -4
- package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
- package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
- package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
- package/dist/components/ImagePicker/index.cjs.js +0 -1
- package/dist/components/ImagePicker/index.d.ts +0 -2
- package/dist/components/ImagePicker/index.es.js +0 -4
- package/dist/components/Loader/Loader.cjs.js +0 -1
- package/dist/components/Loader/Loader.d.ts +0 -3
- package/dist/components/Loader/Loader.es.js +0 -11
- package/dist/components/Loader/index.cjs.js +0 -1
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/index.es.js +0 -4
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
- package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/index.d.ts +0 -2
- package/dist/components/LoaderBackdrop/index.es.js +0 -4
- package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
- package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
- package/dist/components/PasswordInput/index.cjs.js +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -2
- package/dist/components/PasswordInput/index.es.js +0 -4
- package/dist/components/QueryError/QueryError.cjs.js +0 -1
- package/dist/components/QueryError/QueryError.d.ts +0 -8
- package/dist/components/QueryError/QueryError.es.js +0 -46
- package/dist/components/QueryError/helpers.cjs.js +0 -1
- package/dist/components/QueryError/helpers.d.ts +0 -11
- package/dist/components/QueryError/helpers.es.js +0 -10
- package/dist/components/QueryError/index.cjs.js +0 -1
- package/dist/components/QueryError/index.d.ts +0 -2
- package/dist/components/QueryError/index.es.js +0 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
- package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
- package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
- package/dist/components/ResourceCard/index.cjs.js +0 -1
- package/dist/components/ResourceCard/index.d.ts +0 -2
- package/dist/components/ResourceCard/index.es.js +0 -4
- package/dist/components/ResourceCard/style.cjs.js +0 -1
- package/dist/components/ResourceCard/style.es.js +0 -130
- package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
- package/dist/components/SearchInput/SearchInput.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.es.js +0 -38
- package/dist/components/SearchInput/index.cjs.js +0 -1
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/index.es.js +0 -4
- package/dist/components/TreeView/TreeView.cjs.js +0 -5
- package/dist/components/TreeView/TreeView.d.ts +0 -4
- package/dist/components/TreeView/TreeView.es.js +0 -1663
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
- package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
- package/dist/components/TreeView/index.cjs.js +0 -1
- package/dist/components/TreeView/index.d.ts +0 -2
- package/dist/components/TreeView/index.es.js +0 -6
- package/dist/components/TreeView/style.cjs.js +0 -1
- package/dist/components/TreeView/style.es.js +0 -35
- package/dist/components/TreeView/types.cjs.js +0 -1
- package/dist/components/TreeView/types.d.ts +0 -45
- package/dist/components/TreeView/types.es.js +0 -4
- package/dist/components/TreeView/utils.cjs.js +0 -1
- package/dist/components/TreeView/utils.d.ts +0 -6
- package/dist/components/TreeView/utils.es.js +0 -50
- package/dist/components/index.cjs.js +0 -1
- package/dist/components/index.d.ts +0 -197
- package/dist/components/index.es.js +0 -419
- package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
- package/dist/components/stories/ActionBar.stories.d.ts +0 -11
- package/dist/components/stories/ActionBar.stories.es.js +0 -206
- package/dist/components/stories/Alert.stories.cjs.js +0 -1
- package/dist/components/stories/Alert.stories.d.ts +0 -9
- package/dist/components/stories/Alert.stories.es.js +0 -32
- package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
- package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
- package/dist/components/stories/Autocomplete.stories.es.js +0 -62
- package/dist/components/stories/Badge.stories.cjs.js +0 -1
- package/dist/components/stories/Badge.stories.d.ts +0 -17
- package/dist/components/stories/Badge.stories.es.js +0 -188
- package/dist/components/stories/Button.stories.cjs.js +0 -1
- package/dist/components/stories/Button.stories.d.ts +0 -8
- package/dist/components/stories/Button.stories.es.js +0 -61
- package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
- package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
- package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
- package/dist/components/stories/Card.stories.cjs.js +0 -1
- package/dist/components/stories/Card.stories.d.ts +0 -7
- package/dist/components/stories/Card.stories.es.js +0 -42
- package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
- package/dist/components/stories/Checkbox.stories.d.ts +0 -10
- package/dist/components/stories/Checkbox.stories.es.js +0 -57
- package/dist/components/stories/Chip.stories.cjs.js +0 -1
- package/dist/components/stories/Chip.stories.d.ts +0 -10
- package/dist/components/stories/Chip.stories.es.js +0 -77
- package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
- package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
- package/dist/components/stories/ColoPicker.stories.es.js +0 -23
- package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
- package/dist/components/stories/DatePicker.stories.d.ts +0 -6
- package/dist/components/stories/DatePicker.stories.es.js +0 -13
- package/dist/components/stories/Dialog.stories.cjs.js +0 -1
- package/dist/components/stories/Dialog.stories.d.ts +0 -7
- package/dist/components/stories/Dialog.stories.es.js +0 -65
- package/dist/components/stories/Divider.stories.cjs.js +0 -1
- package/dist/components/stories/Divider.stories.d.ts +0 -6
- package/dist/components/stories/Divider.stories.es.js +0 -41
- package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
- package/dist/components/stories/Dropzone.stories.d.ts +0 -6
- package/dist/components/stories/Dropzone.stories.es.js +0 -14
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
- package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
- package/dist/components/stories/EmptyState.stories.d.ts +0 -6
- package/dist/components/stories/EmptyState.stories.es.js +0 -30
- package/dist/components/stories/FileList.stories.cjs.js +0 -8
- package/dist/components/stories/FileList.stories.d.ts +0 -6
- package/dist/components/stories/FileList.stories.es.js +0 -150
- package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
- package/dist/components/stories/FolderCard.stories.d.ts +0 -7
- package/dist/components/stories/FolderCard.stories.es.js +0 -71
- package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
- package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
- package/dist/components/stories/Heading.stories.cjs.js +0 -1
- package/dist/components/stories/Heading.stories.d.ts +0 -6
- package/dist/components/stories/Heading.stories.es.js +0 -20
- package/dist/components/stories/IconButton.stories.cjs.js +0 -1
- package/dist/components/stories/IconButton.stories.d.ts +0 -6
- package/dist/components/stories/IconButton.stories.es.js +0 -55
- package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
- package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
- package/dist/components/stories/ImagePicker.stories.es.js +0 -57
- package/dist/components/stories/Link.stories.cjs.js +0 -1
- package/dist/components/stories/Link.stories.d.ts +0 -7
- package/dist/components/stories/Link.stories.es.js +0 -43
- package/dist/components/stories/Loader.stories.cjs.js +0 -1
- package/dist/components/stories/Loader.stories.d.ts +0 -6
- package/dist/components/stories/Loader.stories.es.js +0 -11
- package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
- package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
- package/dist/components/stories/Menu.stories.cjs.js +0 -1
- package/dist/components/stories/Menu.stories.d.ts +0 -7
- package/dist/components/stories/Menu.stories.es.js +0 -51
- package/dist/components/stories/Paper.stories.cjs.js +0 -1
- package/dist/components/stories/Paper.stories.d.ts +0 -7
- package/dist/components/stories/Paper.stories.es.js +0 -28
- package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
- package/dist/components/stories/PasswordInput.stories.es.js +0 -13
- package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
- package/dist/components/stories/RadioGroup.stories.es.js +0 -37
- package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
- package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
- package/dist/components/stories/ResourceCard.stories.es.js +0 -141
- package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
- package/dist/components/stories/SearchInput.stories.d.ts +0 -6
- package/dist/components/stories/SearchInput.stories.es.js +0 -13
- package/dist/components/stories/Select.stories.cjs.js +0 -1
- package/dist/components/stories/Select.stories.d.ts +0 -10
- package/dist/components/stories/Select.stories.es.js +0 -52
- package/dist/components/stories/Stepper.stories.cjs.js +0 -1
- package/dist/components/stories/Stepper.stories.d.ts +0 -7
- package/dist/components/stories/Stepper.stories.es.js +0 -161
- package/dist/components/stories/TabList.stories.cjs.js +0 -1
- package/dist/components/stories/TabList.stories.d.ts +0 -7
- package/dist/components/stories/TabList.stories.es.js +0 -73
- package/dist/components/stories/TextField.stories.cjs.js +0 -1
- package/dist/components/stories/TextField.stories.d.ts +0 -10
- package/dist/components/stories/TextField.stories.es.js +0 -69
- package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
- package/dist/components/stories/Tooltip.stories.d.ts +0 -7
- package/dist/components/stories/Tooltip.stories.es.js +0 -46
- package/dist/components/stories/TreeView.stories.cjs.js +0 -69
- package/dist/components/stories/TreeView.stories.d.ts +0 -15
- package/dist/components/stories/TreeView.stories.es.js +0 -1036
- package/dist/components/stories/Typography.stories.cjs.js +0 -1
- package/dist/components/stories/Typography.stories.d.ts +0 -6
- package/dist/components/stories/Typography.stories.es.js +0 -65
- package/dist/composeClasses-BskurlZX.js +0 -51
- package/dist/composeClasses-vN5Almps.cjs +0 -1
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
- package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
- package/dist/createSvgIcon-DFIM5PqN.js +0 -254
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/debounce-DpCj7ugL.cjs +0 -1
- package/dist/dividerClasses-BEzQ_reA.js +0 -9
- package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
- package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
- package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
- package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
- package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
- package/dist/error-CRNeivL7.js +0 -5
- package/dist/error-Dk3o6ber.cjs +0 -1
- package/dist/extendSxProp-DGsHTtAe.js +0 -37
- package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
- package/dist/formControlState-CuX6WjAX.cjs +0 -1
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
- package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
- package/dist/hooks/lazySvgImport.cjs.js +0 -1
- package/dist/hooks/lazySvgImport.d.ts +0 -6
- package/dist/hooks/lazySvgImport.es.js +0 -34
- package/dist/index-B9vkf41S.js +0 -672
- package/dist/index-BPpGXp0s.cjs +0 -1
- package/dist/index-BS46Ff4t.cjs +0 -5
- package/dist/index-Ba4TEBpP.js +0 -22
- package/dist/index-CJMnfcQs.js +0 -2152
- package/dist/index-CwHv-blH.js +0 -97
- package/dist/index-D_kvDIOz.cjs +0 -1
- package/dist/index-kjfz41UI.cjs +0 -20
- package/dist/integerPropType-BihGt2aU.js +0 -31
- package/dist/integerPropType-CR7ytEJG.cjs +0 -1
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isFocusVisible-DlSijby6.cjs +0 -2
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
- package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
- package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
- package/dist/memoTheme-C-PaH-Cy.js +0 -15
- package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
- package/dist/mergeSlotProps-DVtjofCS.js +0 -62
- package/dist/ownerDocument-4MViGo3k.cjs +0 -1
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-DDHucZi0.cjs +0 -1
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/refType-8hihVLUh.js +0 -5
- package/dist/refType-DJyA--UV.cjs +0 -1
- package/dist/server-error-CqyYyPLN.cjs +0 -1
- package/dist/server-error-CvgIy7ap.js +0 -398
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-QrrYcKxm.cjs +0 -3
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEventCallback-BxpcFap0.cjs +0 -1
- package/dist/useEventCallback-Y2KwRxBw.js +0 -15
- package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
- package/dist/useForkRef-u29GSuCu.js +0 -27
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useId-DNXtOFeX.cjs +0 -1
- package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
- package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
- package/dist/useSlot-BSkdRaZr.js +0 -125
- package/dist/useSlot-C-aMxEm0.cjs +0 -1
- package/dist/useSlotProps-BVVfeURp.cjs +0 -1
- package/dist/useSlotProps-CWTjRiRv.js +0 -25
- package/dist/useTheme-0AkY41zn.js +0 -11
- package/dist/useTheme-BT6SDKkk.cjs +0 -1
- package/dist/useTheme-BrGF2Vm0.cjs +0 -1
- package/dist/useTheme-DSA6Ir8k.js +0 -18
- package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
- package/dist/useThemeProps-CAonvyKa.js +0 -27
- package/dist/useThemeProps-JozrkyA_.cjs +0 -1
- package/dist/useThemeProps-hSh1qhnc.js +0 -17
- package/dist/useTimeout-COCrDKz-.cjs +0 -1
- package/dist/useTimeout-CrCYVizI.js +0 -42
- package/dist/utils-BWx1W_q1.cjs +0 -1
- package/dist/utils-B_pVp6UZ.js +0 -363
- package/dist/utils-DWqc1kRF.js +0 -13
- package/dist/utils-XujN9ndp.cjs +0 -1
- package/dist/warning-C8W811fV.js +0 -11
- package/dist/warning-DMUNDgRg.cjs +0 -2
|
@@ -1,797 +0,0 @@
|
|
|
1
|
-
import * as l from "react";
|
|
2
|
-
import { P as e } from "./index-B9vkf41S.js";
|
|
3
|
-
import { F as Ae, G as Be, H as pe, I as He } from "./generateUtilityClasses-B_xKAflz.js";
|
|
4
|
-
import { i as fe } from "./isHostComponent-kiaBvYVo.js";
|
|
5
|
-
import { f as Me } from "./formControlState-vgaj2ksH.js";
|
|
6
|
-
import { u as We, F as Pe } from "./useFormControl-CatNKXAi.js";
|
|
7
|
-
import { g as Le } from "./index-CwHv-blH.js";
|
|
8
|
-
import { m as ge } from "./memoTheme-C-PaH-Cy.js";
|
|
9
|
-
import { i as De } from "./utils-DWqc1kRF.js";
|
|
10
|
-
import { jsxs as X, jsx as B } from "react/jsx-runtime";
|
|
11
|
-
import { u as je, s as ve, c as Ue } from "./DefaultPropsProvider-BrmlvPWg.js";
|
|
12
|
-
import { u as we } from "./useForkRef-u29GSuCu.js";
|
|
13
|
-
import { a as Ve, u as ee } from "./useEventCallback-Y2KwRxBw.js";
|
|
14
|
-
import { o as me } from "./ownerWindow-niciwP7I.js";
|
|
15
|
-
import { d as _e } from "./debounce-46wSf_lW.js";
|
|
16
|
-
import { c as oe } from "./capitalize-BHEX83JQ.js";
|
|
17
|
-
import { r as $e } from "./refType-8hihVLUh.js";
|
|
18
|
-
import { e as Ge } from "./elementTypeAcceptingRef-vRb2iI4O.js";
|
|
19
|
-
function D(t) {
|
|
20
|
-
return parseInt(t, 10) || 0;
|
|
21
|
-
}
|
|
22
|
-
const Ke = {
|
|
23
|
-
shadow: {
|
|
24
|
-
// Visibility needed to hide the extra text area on iPads
|
|
25
|
-
visibility: "hidden",
|
|
26
|
-
// Remove from the content flow
|
|
27
|
-
position: "absolute",
|
|
28
|
-
// Ignore the scrollbar width
|
|
29
|
-
overflow: "hidden",
|
|
30
|
-
height: 0,
|
|
31
|
-
top: 0,
|
|
32
|
-
left: 0,
|
|
33
|
-
// Create a new layer, increase the isolation of the computed values
|
|
34
|
-
transform: "translateZ(0)"
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
function qe(t) {
|
|
38
|
-
for (const o in t)
|
|
39
|
-
return !1;
|
|
40
|
-
return !0;
|
|
41
|
-
}
|
|
42
|
-
function he(t) {
|
|
43
|
-
return qe(t) || t.outerHeightStyle === 0 && !t.overflowing;
|
|
44
|
-
}
|
|
45
|
-
const Se = /* @__PURE__ */ l.forwardRef(function(o, r) {
|
|
46
|
-
const {
|
|
47
|
-
onChange: d,
|
|
48
|
-
maxRows: h,
|
|
49
|
-
minRows: p = 1,
|
|
50
|
-
style: R,
|
|
51
|
-
value: T,
|
|
52
|
-
...H
|
|
53
|
-
} = o, {
|
|
54
|
-
current: S
|
|
55
|
-
} = l.useRef(T != null), f = l.useRef(null), O = we(r, f), m = l.useRef(null), C = l.useRef(null), g = l.useCallback(() => {
|
|
56
|
-
const i = f.current, n = C.current;
|
|
57
|
-
if (!i || !n)
|
|
58
|
-
return;
|
|
59
|
-
const u = me(i).getComputedStyle(i);
|
|
60
|
-
if (u.width === "0px")
|
|
61
|
-
return {
|
|
62
|
-
outerHeightStyle: 0,
|
|
63
|
-
overflowing: !1
|
|
64
|
-
};
|
|
65
|
-
n.style.width = u.width, n.value = i.value || o.placeholder || "x", n.value.slice(-1) === `
|
|
66
|
-
` && (n.value += " ");
|
|
67
|
-
const E = u.boxSizing, M = D(u.paddingBottom) + D(u.paddingTop), U = D(u.borderBottomWidth) + D(u.borderTopWidth), w = n.scrollHeight;
|
|
68
|
-
n.value = "x";
|
|
69
|
-
const I = n.scrollHeight;
|
|
70
|
-
let b = w;
|
|
71
|
-
p && (b = Math.max(Number(p) * I, b)), h && (b = Math.min(Number(h) * I, b)), b = Math.max(b, I);
|
|
72
|
-
const W = b + (E === "border-box" ? M + U : 0), V = Math.abs(b - w) <= 1;
|
|
73
|
-
return {
|
|
74
|
-
outerHeightStyle: W,
|
|
75
|
-
overflowing: V
|
|
76
|
-
};
|
|
77
|
-
}, [h, p, o.placeholder]), N = Ve(() => {
|
|
78
|
-
const i = f.current, n = g();
|
|
79
|
-
if (!i || !n || he(n))
|
|
80
|
-
return !1;
|
|
81
|
-
const c = n.outerHeightStyle;
|
|
82
|
-
return m.current != null && m.current !== c;
|
|
83
|
-
}), x = l.useCallback(() => {
|
|
84
|
-
const i = f.current, n = g();
|
|
85
|
-
if (!i || !n || he(n))
|
|
86
|
-
return;
|
|
87
|
-
const c = n.outerHeightStyle;
|
|
88
|
-
m.current !== c && (m.current = c, i.style.height = `${c}px`), i.style.overflow = n.overflowing ? "hidden" : "";
|
|
89
|
-
}, [g]), F = l.useRef(-1);
|
|
90
|
-
ee(() => {
|
|
91
|
-
const i = _e(x), n = f == null ? void 0 : f.current;
|
|
92
|
-
if (!n)
|
|
93
|
-
return;
|
|
94
|
-
const c = me(n);
|
|
95
|
-
c.addEventListener("resize", i);
|
|
96
|
-
let u;
|
|
97
|
-
return typeof ResizeObserver < "u" && (u = new ResizeObserver(() => {
|
|
98
|
-
N() && (u.unobserve(n), cancelAnimationFrame(F.current), x(), F.current = requestAnimationFrame(() => {
|
|
99
|
-
u.observe(n);
|
|
100
|
-
}));
|
|
101
|
-
}), u.observe(n)), () => {
|
|
102
|
-
i.clear(), cancelAnimationFrame(F.current), c.removeEventListener("resize", i), u && u.disconnect();
|
|
103
|
-
};
|
|
104
|
-
}, [g, x, N]), ee(() => {
|
|
105
|
-
x();
|
|
106
|
-
});
|
|
107
|
-
const j = (i) => {
|
|
108
|
-
S || x();
|
|
109
|
-
const n = i.target, c = n.value.length, u = n.value.endsWith(`
|
|
110
|
-
`), E = n.selectionStart === c;
|
|
111
|
-
u && E && n.setSelectionRange(c, c), d && d(i);
|
|
112
|
-
};
|
|
113
|
-
return /* @__PURE__ */ X(l.Fragment, {
|
|
114
|
-
children: [/* @__PURE__ */ B("textarea", {
|
|
115
|
-
value: T,
|
|
116
|
-
onChange: j,
|
|
117
|
-
ref: O,
|
|
118
|
-
rows: p,
|
|
119
|
-
style: R,
|
|
120
|
-
...H
|
|
121
|
-
}), /* @__PURE__ */ B("textarea", {
|
|
122
|
-
"aria-hidden": !0,
|
|
123
|
-
className: o.className,
|
|
124
|
-
readOnly: !0,
|
|
125
|
-
ref: C,
|
|
126
|
-
tabIndex: -1,
|
|
127
|
-
style: {
|
|
128
|
-
...Ke.shadow,
|
|
129
|
-
...R,
|
|
130
|
-
paddingTop: 0,
|
|
131
|
-
paddingBottom: 0
|
|
132
|
-
}
|
|
133
|
-
})]
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
process.env.NODE_ENV !== "production" && (Se.propTypes = {
|
|
137
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
138
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
139
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
140
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
141
|
-
/**
|
|
142
|
-
* @ignore
|
|
143
|
-
*/
|
|
144
|
-
className: e.string,
|
|
145
|
-
/**
|
|
146
|
-
* Maximum number of rows to display.
|
|
147
|
-
*/
|
|
148
|
-
maxRows: e.oneOfType([e.number, e.string]),
|
|
149
|
-
/**
|
|
150
|
-
* Minimum number of rows to display.
|
|
151
|
-
* @default 1
|
|
152
|
-
*/
|
|
153
|
-
minRows: e.oneOfType([e.number, e.string]),
|
|
154
|
-
/**
|
|
155
|
-
* @ignore
|
|
156
|
-
*/
|
|
157
|
-
onChange: e.func,
|
|
158
|
-
/**
|
|
159
|
-
* @ignore
|
|
160
|
-
*/
|
|
161
|
-
placeholder: e.string,
|
|
162
|
-
/**
|
|
163
|
-
* @ignore
|
|
164
|
-
*/
|
|
165
|
-
style: e.object,
|
|
166
|
-
/**
|
|
167
|
-
* @ignore
|
|
168
|
-
*/
|
|
169
|
-
value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
|
|
170
|
-
});
|
|
171
|
-
function Ye(t) {
|
|
172
|
-
return Be("MuiInputBase", t);
|
|
173
|
-
}
|
|
174
|
-
const te = Ae("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
|
|
175
|
-
var be;
|
|
176
|
-
const Ze = (t, o) => {
|
|
177
|
-
const {
|
|
178
|
-
ownerState: r
|
|
179
|
-
} = t;
|
|
180
|
-
return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${oe(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
|
|
181
|
-
}, Je = (t, o) => {
|
|
182
|
-
const {
|
|
183
|
-
ownerState: r
|
|
184
|
-
} = t;
|
|
185
|
-
return [o.input, r.size === "small" && o.inputSizeSmall, r.multiline && o.inputMultiline, r.type === "search" && o.inputTypeSearch, r.startAdornment && o.inputAdornedStart, r.endAdornment && o.inputAdornedEnd, r.hiddenLabel && o.inputHiddenLabel];
|
|
186
|
-
}, Qe = (t) => {
|
|
187
|
-
const {
|
|
188
|
-
classes: o,
|
|
189
|
-
color: r,
|
|
190
|
-
disabled: d,
|
|
191
|
-
error: h,
|
|
192
|
-
endAdornment: p,
|
|
193
|
-
focused: R,
|
|
194
|
-
formControl: T,
|
|
195
|
-
fullWidth: H,
|
|
196
|
-
hiddenLabel: S,
|
|
197
|
-
multiline: f,
|
|
198
|
-
readOnly: O,
|
|
199
|
-
size: m,
|
|
200
|
-
startAdornment: C,
|
|
201
|
-
type: g
|
|
202
|
-
} = t, N = {
|
|
203
|
-
root: ["root", `color${oe(r)}`, d && "disabled", h && "error", H && "fullWidth", R && "focused", T && "formControl", m && m !== "medium" && `size${oe(m)}`, f && "multiline", C && "adornedStart", p && "adornedEnd", S && "hiddenLabel", O && "readOnly"],
|
|
204
|
-
input: ["input", d && "disabled", g === "search" && "inputTypeSearch", f && "inputMultiline", m === "small" && "inputSizeSmall", S && "inputHiddenLabel", C && "inputAdornedStart", p && "inputAdornedEnd", O && "readOnly"]
|
|
205
|
-
};
|
|
206
|
-
return Ue(N, Ye, o);
|
|
207
|
-
}, Xe = ve("div", {
|
|
208
|
-
name: "MuiInputBase",
|
|
209
|
-
slot: "Root",
|
|
210
|
-
overridesResolver: Ze
|
|
211
|
-
})(ge(({
|
|
212
|
-
theme: t
|
|
213
|
-
}) => ({
|
|
214
|
-
...t.typography.body1,
|
|
215
|
-
color: (t.vars || t).palette.text.primary,
|
|
216
|
-
lineHeight: "1.4375em",
|
|
217
|
-
// 23px
|
|
218
|
-
boxSizing: "border-box",
|
|
219
|
-
// Prevent padding issue with fullWidth.
|
|
220
|
-
position: "relative",
|
|
221
|
-
cursor: "text",
|
|
222
|
-
display: "inline-flex",
|
|
223
|
-
alignItems: "center",
|
|
224
|
-
[`&.${te.disabled}`]: {
|
|
225
|
-
color: (t.vars || t).palette.text.disabled,
|
|
226
|
-
cursor: "default"
|
|
227
|
-
},
|
|
228
|
-
variants: [{
|
|
229
|
-
props: ({
|
|
230
|
-
ownerState: o
|
|
231
|
-
}) => o.multiline,
|
|
232
|
-
style: {
|
|
233
|
-
padding: "4px 0 5px"
|
|
234
|
-
}
|
|
235
|
-
}, {
|
|
236
|
-
props: ({
|
|
237
|
-
ownerState: o,
|
|
238
|
-
size: r
|
|
239
|
-
}) => o.multiline && r === "small",
|
|
240
|
-
style: {
|
|
241
|
-
paddingTop: 1
|
|
242
|
-
}
|
|
243
|
-
}, {
|
|
244
|
-
props: ({
|
|
245
|
-
ownerState: o
|
|
246
|
-
}) => o.fullWidth,
|
|
247
|
-
style: {
|
|
248
|
-
width: "100%"
|
|
249
|
-
}
|
|
250
|
-
}]
|
|
251
|
-
}))), eo = ve("input", {
|
|
252
|
-
name: "MuiInputBase",
|
|
253
|
-
slot: "Input",
|
|
254
|
-
overridesResolver: Je
|
|
255
|
-
})(ge(({
|
|
256
|
-
theme: t
|
|
257
|
-
}) => {
|
|
258
|
-
const o = t.palette.mode === "light", r = {
|
|
259
|
-
color: "currentColor",
|
|
260
|
-
...t.vars ? {
|
|
261
|
-
opacity: t.vars.opacity.inputPlaceholder
|
|
262
|
-
} : {
|
|
263
|
-
opacity: o ? 0.42 : 0.5
|
|
264
|
-
},
|
|
265
|
-
transition: t.transitions.create("opacity", {
|
|
266
|
-
duration: t.transitions.duration.shorter
|
|
267
|
-
})
|
|
268
|
-
}, d = {
|
|
269
|
-
opacity: "0 !important"
|
|
270
|
-
}, h = t.vars ? {
|
|
271
|
-
opacity: t.vars.opacity.inputPlaceholder
|
|
272
|
-
} : {
|
|
273
|
-
opacity: o ? 0.42 : 0.5
|
|
274
|
-
};
|
|
275
|
-
return {
|
|
276
|
-
font: "inherit",
|
|
277
|
-
letterSpacing: "inherit",
|
|
278
|
-
color: "currentColor",
|
|
279
|
-
padding: "4px 0 5px",
|
|
280
|
-
border: 0,
|
|
281
|
-
boxSizing: "content-box",
|
|
282
|
-
background: "none",
|
|
283
|
-
height: "1.4375em",
|
|
284
|
-
// Reset 23pxthe native input line-height
|
|
285
|
-
margin: 0,
|
|
286
|
-
// Reset for Safari
|
|
287
|
-
WebkitTapHighlightColor: "transparent",
|
|
288
|
-
display: "block",
|
|
289
|
-
// Make the flex item shrink with Firefox
|
|
290
|
-
minWidth: 0,
|
|
291
|
-
width: "100%",
|
|
292
|
-
"&::-webkit-input-placeholder": r,
|
|
293
|
-
"&::-moz-placeholder": r,
|
|
294
|
-
// Firefox 19+
|
|
295
|
-
"&::-ms-input-placeholder": r,
|
|
296
|
-
// Edge
|
|
297
|
-
"&:focus": {
|
|
298
|
-
outline: 0
|
|
299
|
-
},
|
|
300
|
-
// Reset Firefox invalid required input style
|
|
301
|
-
"&:invalid": {
|
|
302
|
-
boxShadow: "none"
|
|
303
|
-
},
|
|
304
|
-
"&::-webkit-search-decoration": {
|
|
305
|
-
// Remove the padding when type=search.
|
|
306
|
-
WebkitAppearance: "none"
|
|
307
|
-
},
|
|
308
|
-
// Show and hide the placeholder logic
|
|
309
|
-
[`label[data-shrink=false] + .${te.formControl} &`]: {
|
|
310
|
-
"&::-webkit-input-placeholder": d,
|
|
311
|
-
"&::-moz-placeholder": d,
|
|
312
|
-
// Firefox 19+
|
|
313
|
-
"&::-ms-input-placeholder": d,
|
|
314
|
-
// Edge
|
|
315
|
-
"&:focus::-webkit-input-placeholder": h,
|
|
316
|
-
"&:focus::-moz-placeholder": h,
|
|
317
|
-
// Firefox 19+
|
|
318
|
-
"&:focus::-ms-input-placeholder": h
|
|
319
|
-
// Edge
|
|
320
|
-
},
|
|
321
|
-
[`&.${te.disabled}`]: {
|
|
322
|
-
opacity: 1,
|
|
323
|
-
// Reset iOS opacity
|
|
324
|
-
WebkitTextFillColor: (t.vars || t).palette.text.disabled
|
|
325
|
-
// Fix opacity Safari bug
|
|
326
|
-
},
|
|
327
|
-
variants: [{
|
|
328
|
-
props: ({
|
|
329
|
-
ownerState: p
|
|
330
|
-
}) => !p.disableInjectingGlobalStyles,
|
|
331
|
-
style: {
|
|
332
|
-
animationName: "mui-auto-fill-cancel",
|
|
333
|
-
animationDuration: "10ms",
|
|
334
|
-
"&:-webkit-autofill": {
|
|
335
|
-
animationDuration: "5000s",
|
|
336
|
-
animationName: "mui-auto-fill"
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}, {
|
|
340
|
-
props: {
|
|
341
|
-
size: "small"
|
|
342
|
-
},
|
|
343
|
-
style: {
|
|
344
|
-
paddingTop: 1
|
|
345
|
-
}
|
|
346
|
-
}, {
|
|
347
|
-
props: ({
|
|
348
|
-
ownerState: p
|
|
349
|
-
}) => p.multiline,
|
|
350
|
-
style: {
|
|
351
|
-
height: "auto",
|
|
352
|
-
resize: "none",
|
|
353
|
-
padding: 0,
|
|
354
|
-
paddingTop: 0
|
|
355
|
-
}
|
|
356
|
-
}, {
|
|
357
|
-
props: {
|
|
358
|
-
type: "search"
|
|
359
|
-
},
|
|
360
|
-
style: {
|
|
361
|
-
MozAppearance: "textfield"
|
|
362
|
-
// Improve type search style.
|
|
363
|
-
}
|
|
364
|
-
}]
|
|
365
|
-
};
|
|
366
|
-
})), ye = Le({
|
|
367
|
-
"@keyframes mui-auto-fill": {
|
|
368
|
-
from: {
|
|
369
|
-
display: "block"
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
"@keyframes mui-auto-fill-cancel": {
|
|
373
|
-
from: {
|
|
374
|
-
display: "block"
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}), oo = /* @__PURE__ */ l.forwardRef(function(o, r) {
|
|
378
|
-
const d = je({
|
|
379
|
-
props: o,
|
|
380
|
-
name: "MuiInputBase"
|
|
381
|
-
}), {
|
|
382
|
-
"aria-describedby": h,
|
|
383
|
-
autoComplete: p,
|
|
384
|
-
autoFocus: R,
|
|
385
|
-
className: T,
|
|
386
|
-
color: H,
|
|
387
|
-
components: S = {},
|
|
388
|
-
componentsProps: f = {},
|
|
389
|
-
defaultValue: O,
|
|
390
|
-
disabled: m,
|
|
391
|
-
disableInjectingGlobalStyles: C,
|
|
392
|
-
endAdornment: g,
|
|
393
|
-
error: N,
|
|
394
|
-
fullWidth: x = !1,
|
|
395
|
-
id: F,
|
|
396
|
-
inputComponent: j = "input",
|
|
397
|
-
inputProps: i = {},
|
|
398
|
-
inputRef: n,
|
|
399
|
-
margin: c,
|
|
400
|
-
maxRows: u,
|
|
401
|
-
minRows: E,
|
|
402
|
-
multiline: M = !1,
|
|
403
|
-
name: U,
|
|
404
|
-
onBlur: w,
|
|
405
|
-
onChange: I,
|
|
406
|
-
onClick: b,
|
|
407
|
-
onFocus: W,
|
|
408
|
-
onKeyDown: V,
|
|
409
|
-
onKeyUp: Ce,
|
|
410
|
-
placeholder: xe,
|
|
411
|
-
readOnly: _,
|
|
412
|
-
renderSuffix: ne,
|
|
413
|
-
rows: P,
|
|
414
|
-
size: to,
|
|
415
|
-
slotProps: re = {},
|
|
416
|
-
slots: ie = {},
|
|
417
|
-
startAdornment: k,
|
|
418
|
-
type: ae = "text",
|
|
419
|
-
value: Re,
|
|
420
|
-
...Te
|
|
421
|
-
} = d, L = i.value != null ? i.value : Re, {
|
|
422
|
-
current: $
|
|
423
|
-
} = l.useRef(L != null), z = l.useRef(), Oe = l.useCallback((a) => {
|
|
424
|
-
process.env.NODE_ENV !== "production" && a && a.nodeName !== "INPUT" && !a.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(`
|
|
425
|
-
`));
|
|
426
|
-
}, []), Ee = we(z, n, i.ref, Oe), [G, K] = l.useState(!1), s = We();
|
|
427
|
-
process.env.NODE_ENV !== "production" && l.useEffect(() => {
|
|
428
|
-
if (s)
|
|
429
|
-
return s.registerEffect();
|
|
430
|
-
}, [s]);
|
|
431
|
-
const y = Me({
|
|
432
|
-
props: d,
|
|
433
|
-
muiFormControl: s,
|
|
434
|
-
states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
|
|
435
|
-
});
|
|
436
|
-
y.focused = s ? s.focused : G, l.useEffect(() => {
|
|
437
|
-
!s && m && G && (K(!1), w && w());
|
|
438
|
-
}, [s, m, G, w]);
|
|
439
|
-
const q = s && s.onFilled, Y = s && s.onEmpty, A = l.useCallback((a) => {
|
|
440
|
-
De(a) ? q && q() : Y && Y();
|
|
441
|
-
}, [q, Y]);
|
|
442
|
-
ee(() => {
|
|
443
|
-
$ && A({
|
|
444
|
-
value: L
|
|
445
|
-
});
|
|
446
|
-
}, [L, A, $]);
|
|
447
|
-
const Ie = (a) => {
|
|
448
|
-
W && W(a), i.onFocus && i.onFocus(a), s && s.onFocus ? s.onFocus(a) : K(!0);
|
|
449
|
-
}, ze = (a) => {
|
|
450
|
-
w && w(a), i.onBlur && i.onBlur(a), s && s.onBlur ? s.onBlur(a) : K(!1);
|
|
451
|
-
}, Ne = (a, ...ce) => {
|
|
452
|
-
if (!$) {
|
|
453
|
-
const de = a.target || z.current;
|
|
454
|
-
if (de == null)
|
|
455
|
-
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));
|
|
456
|
-
A({
|
|
457
|
-
value: de.value
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
i.onChange && i.onChange(a, ...ce), I && I(a, ...ce);
|
|
461
|
-
};
|
|
462
|
-
l.useEffect(() => {
|
|
463
|
-
A(z.current);
|
|
464
|
-
}, []);
|
|
465
|
-
const Fe = (a) => {
|
|
466
|
-
z.current && a.currentTarget === a.target && z.current.focus(), b && b(a);
|
|
467
|
-
};
|
|
468
|
-
let Z = j, v = i;
|
|
469
|
-
M && Z === "input" && (P ? (process.env.NODE_ENV !== "production" && (E || u) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
|
|
470
|
-
type: void 0,
|
|
471
|
-
minRows: P,
|
|
472
|
-
maxRows: P,
|
|
473
|
-
...v
|
|
474
|
-
}) : v = {
|
|
475
|
-
type: void 0,
|
|
476
|
-
maxRows: u,
|
|
477
|
-
minRows: E,
|
|
478
|
-
...v
|
|
479
|
-
}, Z = Se);
|
|
480
|
-
const ke = (a) => {
|
|
481
|
-
A(a.animationName === "mui-auto-fill-cancel" ? z.current : {
|
|
482
|
-
value: "x"
|
|
483
|
-
});
|
|
484
|
-
};
|
|
485
|
-
l.useEffect(() => {
|
|
486
|
-
s && s.setAdornedStart(!!k);
|
|
487
|
-
}, [s, k]);
|
|
488
|
-
const J = {
|
|
489
|
-
...d,
|
|
490
|
-
color: y.color || "primary",
|
|
491
|
-
disabled: y.disabled,
|
|
492
|
-
endAdornment: g,
|
|
493
|
-
error: y.error,
|
|
494
|
-
focused: y.focused,
|
|
495
|
-
formControl: s,
|
|
496
|
-
fullWidth: x,
|
|
497
|
-
hiddenLabel: y.hiddenLabel,
|
|
498
|
-
multiline: M,
|
|
499
|
-
size: y.size,
|
|
500
|
-
startAdornment: k,
|
|
501
|
-
type: ae
|
|
502
|
-
}, se = Qe(J), le = ie.root || S.Root || Xe, Q = re.root || f.root || {}, ue = ie.input || S.Input || eo;
|
|
503
|
-
return v = {
|
|
504
|
-
...v,
|
|
505
|
-
...re.input ?? f.input
|
|
506
|
-
}, /* @__PURE__ */ X(l.Fragment, {
|
|
507
|
-
children: [!C && typeof ye == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
|
|
508
|
-
// For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
|
|
509
|
-
(be || (be = /* @__PURE__ */ B(ye, {}))), /* @__PURE__ */ X(le, {
|
|
510
|
-
...Q,
|
|
511
|
-
ref: r,
|
|
512
|
-
onClick: Fe,
|
|
513
|
-
...Te,
|
|
514
|
-
...!fe(le) && {
|
|
515
|
-
ownerState: {
|
|
516
|
-
...J,
|
|
517
|
-
...Q.ownerState
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
className: pe(se.root, Q.className, T, _ && "MuiInputBase-readOnly"),
|
|
521
|
-
children: [k, /* @__PURE__ */ B(Pe.Provider, {
|
|
522
|
-
value: null,
|
|
523
|
-
children: /* @__PURE__ */ B(ue, {
|
|
524
|
-
"aria-invalid": y.error,
|
|
525
|
-
"aria-describedby": h,
|
|
526
|
-
autoComplete: p,
|
|
527
|
-
autoFocus: R,
|
|
528
|
-
defaultValue: O,
|
|
529
|
-
disabled: y.disabled,
|
|
530
|
-
id: F,
|
|
531
|
-
onAnimationStart: ke,
|
|
532
|
-
name: U,
|
|
533
|
-
placeholder: xe,
|
|
534
|
-
readOnly: _,
|
|
535
|
-
required: y.required,
|
|
536
|
-
rows: P,
|
|
537
|
-
value: L,
|
|
538
|
-
onKeyDown: V,
|
|
539
|
-
onKeyUp: Ce,
|
|
540
|
-
type: ae,
|
|
541
|
-
...v,
|
|
542
|
-
...!fe(ue) && {
|
|
543
|
-
as: Z,
|
|
544
|
-
ownerState: {
|
|
545
|
-
...J,
|
|
546
|
-
...v.ownerState
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
ref: Ee,
|
|
550
|
-
className: pe(se.input, v.className, _ && "MuiInputBase-readOnly"),
|
|
551
|
-
onBlur: ze,
|
|
552
|
-
onChange: Ne,
|
|
553
|
-
onFocus: Ie
|
|
554
|
-
})
|
|
555
|
-
}), g, ne ? ne({
|
|
556
|
-
...y,
|
|
557
|
-
startAdornment: k
|
|
558
|
-
}) : null]
|
|
559
|
-
})]
|
|
560
|
-
});
|
|
561
|
-
});
|
|
562
|
-
process.env.NODE_ENV !== "production" && (oo.propTypes = {
|
|
563
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
564
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
565
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
566
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
567
|
-
/**
|
|
568
|
-
* @ignore
|
|
569
|
-
*/
|
|
570
|
-
"aria-describedby": e.string,
|
|
571
|
-
/**
|
|
572
|
-
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
573
|
-
* The name can be confusing, as it's more like an autofill.
|
|
574
|
-
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
575
|
-
*/
|
|
576
|
-
autoComplete: e.string,
|
|
577
|
-
/**
|
|
578
|
-
* If `true`, the `input` element is focused during the first mount.
|
|
579
|
-
*/
|
|
580
|
-
autoFocus: e.bool,
|
|
581
|
-
/**
|
|
582
|
-
* Override or extend the styles applied to the component.
|
|
583
|
-
*/
|
|
584
|
-
classes: e.object,
|
|
585
|
-
/**
|
|
586
|
-
* @ignore
|
|
587
|
-
*/
|
|
588
|
-
className: e.string,
|
|
589
|
-
/**
|
|
590
|
-
* The color of the component.
|
|
591
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
592
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
593
|
-
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
594
|
-
*/
|
|
595
|
-
color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
596
|
-
/**
|
|
597
|
-
* The components used for each slot inside.
|
|
598
|
-
*
|
|
599
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
600
|
-
*
|
|
601
|
-
* @default {}
|
|
602
|
-
*/
|
|
603
|
-
components: e.shape({
|
|
604
|
-
Input: e.elementType,
|
|
605
|
-
Root: e.elementType
|
|
606
|
-
}),
|
|
607
|
-
/**
|
|
608
|
-
* The extra props for the slot components.
|
|
609
|
-
* You can override the existing props or add new ones.
|
|
610
|
-
*
|
|
611
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
612
|
-
*
|
|
613
|
-
* @default {}
|
|
614
|
-
*/
|
|
615
|
-
componentsProps: e.shape({
|
|
616
|
-
input: e.object,
|
|
617
|
-
root: e.object
|
|
618
|
-
}),
|
|
619
|
-
/**
|
|
620
|
-
* The default value. Use when the component is not controlled.
|
|
621
|
-
*/
|
|
622
|
-
defaultValue: e.any,
|
|
623
|
-
/**
|
|
624
|
-
* If `true`, the component is disabled.
|
|
625
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
626
|
-
*/
|
|
627
|
-
disabled: e.bool,
|
|
628
|
-
/**
|
|
629
|
-
* 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.
|
|
630
|
-
* This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
|
|
631
|
-
* @default false
|
|
632
|
-
*/
|
|
633
|
-
disableInjectingGlobalStyles: e.bool,
|
|
634
|
-
/**
|
|
635
|
-
* End `InputAdornment` for this component.
|
|
636
|
-
*/
|
|
637
|
-
endAdornment: e.node,
|
|
638
|
-
/**
|
|
639
|
-
* If `true`, the `input` will indicate an error.
|
|
640
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
641
|
-
*/
|
|
642
|
-
error: e.bool,
|
|
643
|
-
/**
|
|
644
|
-
* If `true`, the `input` will take up the full width of its container.
|
|
645
|
-
* @default false
|
|
646
|
-
*/
|
|
647
|
-
fullWidth: e.bool,
|
|
648
|
-
/**
|
|
649
|
-
* The id of the `input` element.
|
|
650
|
-
*/
|
|
651
|
-
id: e.string,
|
|
652
|
-
/**
|
|
653
|
-
* The component used for the `input` element.
|
|
654
|
-
* Either a string to use a HTML element or a component.
|
|
655
|
-
* @default 'input'
|
|
656
|
-
*/
|
|
657
|
-
inputComponent: Ge,
|
|
658
|
-
/**
|
|
659
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
660
|
-
* @default {}
|
|
661
|
-
*/
|
|
662
|
-
inputProps: e.object,
|
|
663
|
-
/**
|
|
664
|
-
* Pass a ref to the `input` element.
|
|
665
|
-
*/
|
|
666
|
-
inputRef: $e,
|
|
667
|
-
/**
|
|
668
|
-
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
669
|
-
* FormControl.
|
|
670
|
-
* The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
|
|
671
|
-
*/
|
|
672
|
-
margin: e.oneOf(["dense", "none"]),
|
|
673
|
-
/**
|
|
674
|
-
* Maximum number of rows to display when multiline option is set to true.
|
|
675
|
-
*/
|
|
676
|
-
maxRows: e.oneOfType([e.number, e.string]),
|
|
677
|
-
/**
|
|
678
|
-
* Minimum number of rows to display when multiline option is set to true.
|
|
679
|
-
*/
|
|
680
|
-
minRows: e.oneOfType([e.number, e.string]),
|
|
681
|
-
/**
|
|
682
|
-
* If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
|
|
683
|
-
* @default false
|
|
684
|
-
*/
|
|
685
|
-
multiline: e.bool,
|
|
686
|
-
/**
|
|
687
|
-
* Name attribute of the `input` element.
|
|
688
|
-
*/
|
|
689
|
-
name: e.string,
|
|
690
|
-
/**
|
|
691
|
-
* Callback fired when the `input` is blurred.
|
|
692
|
-
*
|
|
693
|
-
* Notice that the first argument (event) might be undefined.
|
|
694
|
-
*/
|
|
695
|
-
onBlur: e.func,
|
|
696
|
-
/**
|
|
697
|
-
* Callback fired when the value is changed.
|
|
698
|
-
*
|
|
699
|
-
* @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
|
|
700
|
-
* You can pull out the new value by accessing `event.target.value` (string).
|
|
701
|
-
*/
|
|
702
|
-
onChange: e.func,
|
|
703
|
-
/**
|
|
704
|
-
* @ignore
|
|
705
|
-
*/
|
|
706
|
-
onClick: e.func,
|
|
707
|
-
/**
|
|
708
|
-
* @ignore
|
|
709
|
-
*/
|
|
710
|
-
onFocus: e.func,
|
|
711
|
-
/**
|
|
712
|
-
* Callback fired when the `input` doesn't satisfy its constraints.
|
|
713
|
-
*/
|
|
714
|
-
onInvalid: e.func,
|
|
715
|
-
/**
|
|
716
|
-
* @ignore
|
|
717
|
-
*/
|
|
718
|
-
onKeyDown: e.func,
|
|
719
|
-
/**
|
|
720
|
-
* @ignore
|
|
721
|
-
*/
|
|
722
|
-
onKeyUp: e.func,
|
|
723
|
-
/**
|
|
724
|
-
* The short hint displayed in the `input` before the user enters a value.
|
|
725
|
-
*/
|
|
726
|
-
placeholder: e.string,
|
|
727
|
-
/**
|
|
728
|
-
* It prevents the user from changing the value of the field
|
|
729
|
-
* (not from interacting with the field).
|
|
730
|
-
*/
|
|
731
|
-
readOnly: e.bool,
|
|
732
|
-
/**
|
|
733
|
-
* @ignore
|
|
734
|
-
*/
|
|
735
|
-
renderSuffix: e.func,
|
|
736
|
-
/**
|
|
737
|
-
* If `true`, the `input` element is required.
|
|
738
|
-
* The prop defaults to the value (`false`) inherited from the parent FormControl component.
|
|
739
|
-
*/
|
|
740
|
-
required: e.bool,
|
|
741
|
-
/**
|
|
742
|
-
* Number of rows to display when multiline option is set to true.
|
|
743
|
-
*/
|
|
744
|
-
rows: e.oneOfType([e.number, e.string]),
|
|
745
|
-
/**
|
|
746
|
-
* The size of the component.
|
|
747
|
-
*/
|
|
748
|
-
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
749
|
-
/**
|
|
750
|
-
* The extra props for the slot components.
|
|
751
|
-
* You can override the existing props or add new ones.
|
|
752
|
-
*
|
|
753
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
754
|
-
*
|
|
755
|
-
* @default {}
|
|
756
|
-
*/
|
|
757
|
-
slotProps: e.shape({
|
|
758
|
-
input: e.object,
|
|
759
|
-
root: e.object
|
|
760
|
-
}),
|
|
761
|
-
/**
|
|
762
|
-
* The components used for each slot inside.
|
|
763
|
-
*
|
|
764
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
765
|
-
*
|
|
766
|
-
* @default {}
|
|
767
|
-
*/
|
|
768
|
-
slots: e.shape({
|
|
769
|
-
input: e.elementType,
|
|
770
|
-
root: e.elementType
|
|
771
|
-
}),
|
|
772
|
-
/**
|
|
773
|
-
* Start `InputAdornment` for this component.
|
|
774
|
-
*/
|
|
775
|
-
startAdornment: e.node,
|
|
776
|
-
/**
|
|
777
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
778
|
-
*/
|
|
779
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
780
|
-
/**
|
|
781
|
-
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
|
|
782
|
-
* @default 'text'
|
|
783
|
-
*/
|
|
784
|
-
type: e.string,
|
|
785
|
-
/**
|
|
786
|
-
* The value of the `input` element, required for a controlled component.
|
|
787
|
-
*/
|
|
788
|
-
value: e.any
|
|
789
|
-
});
|
|
790
|
-
export {
|
|
791
|
-
oo as I,
|
|
792
|
-
Xe as a,
|
|
793
|
-
eo as b,
|
|
794
|
-
Je as c,
|
|
795
|
-
te as i,
|
|
796
|
-
Ze as r
|
|
797
|
-
};
|