@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
package/dist/Stepper-DyH4sgY5.js
DELETED
|
@@ -1,966 +0,0 @@
|
|
|
1
|
-
import * as l from "react";
|
|
2
|
-
import { P as e } from "./index-B9vkf41S.js";
|
|
3
|
-
import { F as P, G as z, H as R } from "./generateUtilityClasses-B_xKAflz.js";
|
|
4
|
-
import { jsxs as D, jsx as b } from "react/jsx-runtime";
|
|
5
|
-
import { u as $, s as S, c as E } from "./DefaultPropsProvider-BrmlvPWg.js";
|
|
6
|
-
import { i as J } from "./integerPropType-BihGt2aU.js";
|
|
7
|
-
import { i as ne } from "./isMuiElement-DnSE4qG4.js";
|
|
8
|
-
import { m as V } from "./memoTheme-C-PaH-Cy.js";
|
|
9
|
-
import { u as k } from "./useSlot-BSkdRaZr.js";
|
|
10
|
-
import { c as K, S as re } from "./createSvgIcon-DFIM5PqN.js";
|
|
11
|
-
import { B as ae } from "./ButtonBase-C2jRC_V7.js";
|
|
12
|
-
import { c as Q } from "./capitalize-BHEX83JQ.js";
|
|
13
|
-
const w = /* @__PURE__ */ l.createContext({});
|
|
14
|
-
process.env.NODE_ENV !== "production" && (w.displayName = "StepperContext");
|
|
15
|
-
function He() {
|
|
16
|
-
return l.useContext(w);
|
|
17
|
-
}
|
|
18
|
-
const B = /* @__PURE__ */ l.createContext({});
|
|
19
|
-
process.env.NODE_ENV !== "production" && (B.displayName = "StepContext");
|
|
20
|
-
function Ge() {
|
|
21
|
-
return l.useContext(B);
|
|
22
|
-
}
|
|
23
|
-
function se(t) {
|
|
24
|
-
return z("MuiStep", t);
|
|
25
|
-
}
|
|
26
|
-
const qe = P("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "completed"]), le = (t) => {
|
|
27
|
-
const {
|
|
28
|
-
classes: o,
|
|
29
|
-
orientation: n,
|
|
30
|
-
alternativeLabel: r,
|
|
31
|
-
completed: a
|
|
32
|
-
} = t;
|
|
33
|
-
return E({
|
|
34
|
-
root: ["root", n, r && "alternativeLabel", a && "completed"]
|
|
35
|
-
}, se, o);
|
|
36
|
-
}, ie = S("div", {
|
|
37
|
-
name: "MuiStep",
|
|
38
|
-
slot: "Root",
|
|
39
|
-
overridesResolver: (t, o) => {
|
|
40
|
-
const {
|
|
41
|
-
ownerState: n
|
|
42
|
-
} = t;
|
|
43
|
-
return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.completed && o.completed];
|
|
44
|
-
}
|
|
45
|
-
})({
|
|
46
|
-
variants: [{
|
|
47
|
-
props: {
|
|
48
|
-
orientation: "horizontal"
|
|
49
|
-
},
|
|
50
|
-
style: {
|
|
51
|
-
paddingLeft: 8,
|
|
52
|
-
paddingRight: 8
|
|
53
|
-
}
|
|
54
|
-
}, {
|
|
55
|
-
props: {
|
|
56
|
-
alternativeLabel: !0
|
|
57
|
-
},
|
|
58
|
-
style: {
|
|
59
|
-
flex: 1,
|
|
60
|
-
position: "relative"
|
|
61
|
-
}
|
|
62
|
-
}]
|
|
63
|
-
}), ce = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
64
|
-
const r = $({
|
|
65
|
-
props: o,
|
|
66
|
-
name: "MuiStep"
|
|
67
|
-
}), {
|
|
68
|
-
active: a,
|
|
69
|
-
children: i,
|
|
70
|
-
className: d,
|
|
71
|
-
component: c = "div",
|
|
72
|
-
completed: u,
|
|
73
|
-
disabled: m,
|
|
74
|
-
expanded: p = !1,
|
|
75
|
-
index: s,
|
|
76
|
-
last: f,
|
|
77
|
-
...x
|
|
78
|
-
} = r, {
|
|
79
|
-
activeStep: y,
|
|
80
|
-
connector: v,
|
|
81
|
-
alternativeLabel: N,
|
|
82
|
-
orientation: M,
|
|
83
|
-
nonLinear: T
|
|
84
|
-
} = l.useContext(w);
|
|
85
|
-
let [C = !1, I = !1, h = !1] = [a, u, m];
|
|
86
|
-
y === s ? C = a !== void 0 ? a : !0 : !T && y > s ? I = u !== void 0 ? u : !0 : !T && y < s && (h = m !== void 0 ? m : !0);
|
|
87
|
-
const U = l.useMemo(() => ({
|
|
88
|
-
index: s,
|
|
89
|
-
last: f,
|
|
90
|
-
expanded: p,
|
|
91
|
-
icon: s + 1,
|
|
92
|
-
active: C,
|
|
93
|
-
completed: I,
|
|
94
|
-
disabled: h
|
|
95
|
-
}), [s, f, p, C, I, h]), L = {
|
|
96
|
-
...r,
|
|
97
|
-
active: C,
|
|
98
|
-
orientation: M,
|
|
99
|
-
alternativeLabel: N,
|
|
100
|
-
completed: I,
|
|
101
|
-
disabled: h,
|
|
102
|
-
expanded: p,
|
|
103
|
-
component: c
|
|
104
|
-
}, O = le(L), j = /* @__PURE__ */ D(ie, {
|
|
105
|
-
as: c,
|
|
106
|
-
className: R(O.root, d),
|
|
107
|
-
ref: n,
|
|
108
|
-
ownerState: L,
|
|
109
|
-
...x,
|
|
110
|
-
children: [v && N && s !== 0 ? v : null, i]
|
|
111
|
-
});
|
|
112
|
-
return /* @__PURE__ */ b(B.Provider, {
|
|
113
|
-
value: U,
|
|
114
|
-
children: v && !N && s !== 0 ? /* @__PURE__ */ D(l.Fragment, {
|
|
115
|
-
children: [v, j]
|
|
116
|
-
}) : j
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
process.env.NODE_ENV !== "production" && (ce.propTypes = {
|
|
120
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
121
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
122
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
123
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
124
|
-
/**
|
|
125
|
-
* Sets the step as active. Is passed to child components.
|
|
126
|
-
*/
|
|
127
|
-
active: e.bool,
|
|
128
|
-
/**
|
|
129
|
-
* Should be `Step` sub-components such as `StepLabel`, `StepContent`.
|
|
130
|
-
*/
|
|
131
|
-
children: e.node,
|
|
132
|
-
/**
|
|
133
|
-
* Override or extend the styles applied to the component.
|
|
134
|
-
*/
|
|
135
|
-
classes: e.object,
|
|
136
|
-
/**
|
|
137
|
-
* @ignore
|
|
138
|
-
*/
|
|
139
|
-
className: e.string,
|
|
140
|
-
/**
|
|
141
|
-
* Mark the step as completed. Is passed to child components.
|
|
142
|
-
*/
|
|
143
|
-
completed: e.bool,
|
|
144
|
-
/**
|
|
145
|
-
* The component used for the root node.
|
|
146
|
-
* Either a string to use a HTML element or a component.
|
|
147
|
-
*/
|
|
148
|
-
component: e.elementType,
|
|
149
|
-
/**
|
|
150
|
-
* If `true`, the step is disabled, will also disable the button if
|
|
151
|
-
* `StepButton` is a child of `Step`. Is passed to child components.
|
|
152
|
-
*/
|
|
153
|
-
disabled: e.bool,
|
|
154
|
-
/**
|
|
155
|
-
* Expand the step.
|
|
156
|
-
* @default false
|
|
157
|
-
*/
|
|
158
|
-
expanded: e.bool,
|
|
159
|
-
/**
|
|
160
|
-
* The position of the step.
|
|
161
|
-
* The prop defaults to the value inherited from the parent Stepper component.
|
|
162
|
-
*/
|
|
163
|
-
index: J,
|
|
164
|
-
/**
|
|
165
|
-
* If `true`, the Step is displayed as rendered last.
|
|
166
|
-
* The prop defaults to the value inherited from the parent Stepper component.
|
|
167
|
-
*/
|
|
168
|
-
last: e.bool,
|
|
169
|
-
/**
|
|
170
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
171
|
-
*/
|
|
172
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
173
|
-
});
|
|
174
|
-
const pe = K(/* @__PURE__ */ b("path", {
|
|
175
|
-
d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
|
|
176
|
-
}), "CheckCircle"), de = K(/* @__PURE__ */ b("path", {
|
|
177
|
-
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
178
|
-
}), "Warning");
|
|
179
|
-
function ue(t) {
|
|
180
|
-
return z("MuiStepIcon", t);
|
|
181
|
-
}
|
|
182
|
-
const F = P("MuiStepIcon", ["root", "active", "completed", "error", "text"]);
|
|
183
|
-
var G;
|
|
184
|
-
const be = (t) => {
|
|
185
|
-
const {
|
|
186
|
-
classes: o,
|
|
187
|
-
active: n,
|
|
188
|
-
completed: r,
|
|
189
|
-
error: a
|
|
190
|
-
} = t;
|
|
191
|
-
return E({
|
|
192
|
-
root: ["root", n && "active", r && "completed", a && "error"],
|
|
193
|
-
text: ["text"]
|
|
194
|
-
}, ue, o);
|
|
195
|
-
}, W = S(re, {
|
|
196
|
-
name: "MuiStepIcon",
|
|
197
|
-
slot: "Root"
|
|
198
|
-
})(V(({
|
|
199
|
-
theme: t
|
|
200
|
-
}) => ({
|
|
201
|
-
display: "block",
|
|
202
|
-
transition: t.transitions.create("color", {
|
|
203
|
-
duration: t.transitions.duration.shortest
|
|
204
|
-
}),
|
|
205
|
-
color: (t.vars || t).palette.text.disabled,
|
|
206
|
-
[`&.${F.completed}`]: {
|
|
207
|
-
color: (t.vars || t).palette.primary.main
|
|
208
|
-
},
|
|
209
|
-
[`&.${F.active}`]: {
|
|
210
|
-
color: (t.vars || t).palette.primary.main
|
|
211
|
-
},
|
|
212
|
-
[`&.${F.error}`]: {
|
|
213
|
-
color: (t.vars || t).palette.error.main
|
|
214
|
-
}
|
|
215
|
-
}))), me = S("text", {
|
|
216
|
-
name: "MuiStepIcon",
|
|
217
|
-
slot: "Text"
|
|
218
|
-
})(V(({
|
|
219
|
-
theme: t
|
|
220
|
-
}) => ({
|
|
221
|
-
fill: (t.vars || t).palette.primary.contrastText,
|
|
222
|
-
fontSize: t.typography.caption.fontSize,
|
|
223
|
-
fontFamily: t.typography.fontFamily
|
|
224
|
-
}))), X = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
225
|
-
const r = $({
|
|
226
|
-
props: o,
|
|
227
|
-
name: "MuiStepIcon"
|
|
228
|
-
}), {
|
|
229
|
-
active: a = !1,
|
|
230
|
-
className: i,
|
|
231
|
-
completed: d = !1,
|
|
232
|
-
error: c = !1,
|
|
233
|
-
icon: u,
|
|
234
|
-
...m
|
|
235
|
-
} = r, p = {
|
|
236
|
-
...r,
|
|
237
|
-
active: a,
|
|
238
|
-
completed: d,
|
|
239
|
-
error: c
|
|
240
|
-
}, s = be(p);
|
|
241
|
-
if (typeof u == "number" || typeof u == "string") {
|
|
242
|
-
const f = R(i, s.root);
|
|
243
|
-
return c ? /* @__PURE__ */ b(W, {
|
|
244
|
-
as: de,
|
|
245
|
-
className: f,
|
|
246
|
-
ref: n,
|
|
247
|
-
ownerState: p,
|
|
248
|
-
...m
|
|
249
|
-
}) : d ? /* @__PURE__ */ b(W, {
|
|
250
|
-
as: pe,
|
|
251
|
-
className: f,
|
|
252
|
-
ref: n,
|
|
253
|
-
ownerState: p,
|
|
254
|
-
...m
|
|
255
|
-
}) : /* @__PURE__ */ D(W, {
|
|
256
|
-
className: f,
|
|
257
|
-
ref: n,
|
|
258
|
-
ownerState: p,
|
|
259
|
-
...m,
|
|
260
|
-
children: [G || (G = /* @__PURE__ */ b("circle", {
|
|
261
|
-
cx: "12",
|
|
262
|
-
cy: "12",
|
|
263
|
-
r: "12"
|
|
264
|
-
})), /* @__PURE__ */ b(me, {
|
|
265
|
-
className: s.text,
|
|
266
|
-
x: "12",
|
|
267
|
-
y: "12",
|
|
268
|
-
textAnchor: "middle",
|
|
269
|
-
dominantBaseline: "central",
|
|
270
|
-
ownerState: p,
|
|
271
|
-
children: u
|
|
272
|
-
})]
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
return u;
|
|
276
|
-
});
|
|
277
|
-
process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
278
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
279
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
280
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
281
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
282
|
-
/**
|
|
283
|
-
* Whether this step is active.
|
|
284
|
-
* @default false
|
|
285
|
-
*/
|
|
286
|
-
active: e.bool,
|
|
287
|
-
/**
|
|
288
|
-
* Override or extend the styles applied to the component.
|
|
289
|
-
*/
|
|
290
|
-
classes: e.object,
|
|
291
|
-
/**
|
|
292
|
-
* @ignore
|
|
293
|
-
*/
|
|
294
|
-
className: e.string,
|
|
295
|
-
/**
|
|
296
|
-
* Mark the step as completed. Is passed to child components.
|
|
297
|
-
* @default false
|
|
298
|
-
*/
|
|
299
|
-
completed: e.bool,
|
|
300
|
-
/**
|
|
301
|
-
* If `true`, the step is marked as failed.
|
|
302
|
-
* @default false
|
|
303
|
-
*/
|
|
304
|
-
error: e.bool,
|
|
305
|
-
/**
|
|
306
|
-
* The label displayed in the step icon.
|
|
307
|
-
*/
|
|
308
|
-
icon: e.node,
|
|
309
|
-
/**
|
|
310
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
311
|
-
*/
|
|
312
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
313
|
-
});
|
|
314
|
-
function fe(t) {
|
|
315
|
-
return z("MuiStepLabel", t);
|
|
316
|
-
}
|
|
317
|
-
const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]), ve = (t) => {
|
|
318
|
-
const {
|
|
319
|
-
classes: o,
|
|
320
|
-
orientation: n,
|
|
321
|
-
active: r,
|
|
322
|
-
completed: a,
|
|
323
|
-
error: i,
|
|
324
|
-
disabled: d,
|
|
325
|
-
alternativeLabel: c
|
|
326
|
-
} = t;
|
|
327
|
-
return E({
|
|
328
|
-
root: ["root", n, i && "error", d && "disabled", c && "alternativeLabel"],
|
|
329
|
-
label: ["label", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
|
|
330
|
-
iconContainer: ["iconContainer", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
|
|
331
|
-
labelContainer: ["labelContainer", c && "alternativeLabel"]
|
|
332
|
-
}, fe, o);
|
|
333
|
-
}, Se = S("span", {
|
|
334
|
-
name: "MuiStepLabel",
|
|
335
|
-
slot: "Root",
|
|
336
|
-
overridesResolver: (t, o) => {
|
|
337
|
-
const {
|
|
338
|
-
ownerState: n
|
|
339
|
-
} = t;
|
|
340
|
-
return [o.root, o[n.orientation]];
|
|
341
|
-
}
|
|
342
|
-
})({
|
|
343
|
-
display: "flex",
|
|
344
|
-
alignItems: "center",
|
|
345
|
-
[`&.${g.alternativeLabel}`]: {
|
|
346
|
-
flexDirection: "column"
|
|
347
|
-
},
|
|
348
|
-
[`&.${g.disabled}`]: {
|
|
349
|
-
cursor: "default"
|
|
350
|
-
},
|
|
351
|
-
variants: [{
|
|
352
|
-
props: {
|
|
353
|
-
orientation: "vertical"
|
|
354
|
-
},
|
|
355
|
-
style: {
|
|
356
|
-
textAlign: "left",
|
|
357
|
-
padding: "8px 0"
|
|
358
|
-
}
|
|
359
|
-
}]
|
|
360
|
-
}), ye = S("span", {
|
|
361
|
-
name: "MuiStepLabel",
|
|
362
|
-
slot: "Label"
|
|
363
|
-
})(V(({
|
|
364
|
-
theme: t
|
|
365
|
-
}) => ({
|
|
366
|
-
...t.typography.body2,
|
|
367
|
-
display: "block",
|
|
368
|
-
transition: t.transitions.create("color", {
|
|
369
|
-
duration: t.transitions.duration.shortest
|
|
370
|
-
}),
|
|
371
|
-
[`&.${g.active}`]: {
|
|
372
|
-
color: (t.vars || t).palette.text.primary,
|
|
373
|
-
fontWeight: 500
|
|
374
|
-
},
|
|
375
|
-
[`&.${g.completed}`]: {
|
|
376
|
-
color: (t.vars || t).palette.text.primary,
|
|
377
|
-
fontWeight: 500
|
|
378
|
-
},
|
|
379
|
-
[`&.${g.alternativeLabel}`]: {
|
|
380
|
-
marginTop: 16
|
|
381
|
-
},
|
|
382
|
-
[`&.${g.error}`]: {
|
|
383
|
-
color: (t.vars || t).palette.error.main
|
|
384
|
-
}
|
|
385
|
-
}))), Ce = S("span", {
|
|
386
|
-
name: "MuiStepLabel",
|
|
387
|
-
slot: "IconContainer"
|
|
388
|
-
})({
|
|
389
|
-
flexShrink: 0,
|
|
390
|
-
display: "flex",
|
|
391
|
-
paddingRight: 8,
|
|
392
|
-
[`&.${g.alternativeLabel}`]: {
|
|
393
|
-
paddingRight: 0
|
|
394
|
-
}
|
|
395
|
-
}), xe = S("span", {
|
|
396
|
-
name: "MuiStepLabel",
|
|
397
|
-
slot: "LabelContainer"
|
|
398
|
-
})(V(({
|
|
399
|
-
theme: t
|
|
400
|
-
}) => ({
|
|
401
|
-
width: "100%",
|
|
402
|
-
color: (t.vars || t).palette.text.secondary,
|
|
403
|
-
[`&.${g.alternativeLabel}`]: {
|
|
404
|
-
textAlign: "center"
|
|
405
|
-
}
|
|
406
|
-
}))), A = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
407
|
-
const r = $({
|
|
408
|
-
props: o,
|
|
409
|
-
name: "MuiStepLabel"
|
|
410
|
-
}), {
|
|
411
|
-
children: a,
|
|
412
|
-
className: i,
|
|
413
|
-
componentsProps: d = {},
|
|
414
|
-
error: c = !1,
|
|
415
|
-
icon: u,
|
|
416
|
-
optional: m,
|
|
417
|
-
slots: p = {},
|
|
418
|
-
slotProps: s = {},
|
|
419
|
-
StepIconComponent: f,
|
|
420
|
-
StepIconProps: x,
|
|
421
|
-
...y
|
|
422
|
-
} = r, {
|
|
423
|
-
alternativeLabel: v,
|
|
424
|
-
orientation: N
|
|
425
|
-
} = l.useContext(w), {
|
|
426
|
-
active: M,
|
|
427
|
-
disabled: T,
|
|
428
|
-
completed: C,
|
|
429
|
-
icon: I
|
|
430
|
-
} = l.useContext(B), h = u || I;
|
|
431
|
-
let U = f;
|
|
432
|
-
h && !U && (U = X);
|
|
433
|
-
const L = {
|
|
434
|
-
...r,
|
|
435
|
-
active: M,
|
|
436
|
-
alternativeLabel: v,
|
|
437
|
-
completed: C,
|
|
438
|
-
disabled: T,
|
|
439
|
-
error: c,
|
|
440
|
-
orientation: N
|
|
441
|
-
}, O = ve(L), j = {
|
|
442
|
-
slots: p,
|
|
443
|
-
slotProps: {
|
|
444
|
-
stepIcon: x,
|
|
445
|
-
...d,
|
|
446
|
-
...s
|
|
447
|
-
}
|
|
448
|
-
}, [Z, ee] = k("root", {
|
|
449
|
-
elementType: Se,
|
|
450
|
-
externalForwardedProps: {
|
|
451
|
-
...j,
|
|
452
|
-
...y
|
|
453
|
-
},
|
|
454
|
-
ownerState: L,
|
|
455
|
-
ref: n,
|
|
456
|
-
className: R(O.root, i)
|
|
457
|
-
}), [te, _] = k("label", {
|
|
458
|
-
elementType: ye,
|
|
459
|
-
externalForwardedProps: j,
|
|
460
|
-
ownerState: L
|
|
461
|
-
}), [H, oe] = k("stepIcon", {
|
|
462
|
-
elementType: U,
|
|
463
|
-
externalForwardedProps: j,
|
|
464
|
-
ownerState: L
|
|
465
|
-
});
|
|
466
|
-
return /* @__PURE__ */ D(Z, {
|
|
467
|
-
...ee,
|
|
468
|
-
children: [h || H ? /* @__PURE__ */ b(Ce, {
|
|
469
|
-
className: O.iconContainer,
|
|
470
|
-
ownerState: L,
|
|
471
|
-
children: /* @__PURE__ */ b(H, {
|
|
472
|
-
completed: C,
|
|
473
|
-
active: M,
|
|
474
|
-
error: c,
|
|
475
|
-
icon: h,
|
|
476
|
-
...oe
|
|
477
|
-
})
|
|
478
|
-
}) : null, /* @__PURE__ */ D(xe, {
|
|
479
|
-
className: O.labelContainer,
|
|
480
|
-
ownerState: L,
|
|
481
|
-
children: [a ? /* @__PURE__ */ b(te, {
|
|
482
|
-
..._,
|
|
483
|
-
className: R(O.label, _ == null ? void 0 : _.className),
|
|
484
|
-
children: a
|
|
485
|
-
}) : null, m]
|
|
486
|
-
})]
|
|
487
|
-
});
|
|
488
|
-
});
|
|
489
|
-
process.env.NODE_ENV !== "production" && (A.propTypes = {
|
|
490
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
491
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
492
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
493
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
494
|
-
/**
|
|
495
|
-
* In most cases will simply be a string containing a title for the label.
|
|
496
|
-
*/
|
|
497
|
-
children: e.node,
|
|
498
|
-
/**
|
|
499
|
-
* Override or extend the styles applied to the component.
|
|
500
|
-
*/
|
|
501
|
-
classes: e.object,
|
|
502
|
-
/**
|
|
503
|
-
* @ignore
|
|
504
|
-
*/
|
|
505
|
-
className: e.string,
|
|
506
|
-
/**
|
|
507
|
-
* The props used for each slot inside.
|
|
508
|
-
* @default {}
|
|
509
|
-
* @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.
|
|
510
|
-
*/
|
|
511
|
-
componentsProps: e.shape({
|
|
512
|
-
label: e.object
|
|
513
|
-
}),
|
|
514
|
-
/**
|
|
515
|
-
* If `true`, the step is marked as failed.
|
|
516
|
-
* @default false
|
|
517
|
-
*/
|
|
518
|
-
error: e.bool,
|
|
519
|
-
/**
|
|
520
|
-
* Override the default label of the step icon.
|
|
521
|
-
*/
|
|
522
|
-
icon: e.node,
|
|
523
|
-
/**
|
|
524
|
-
* The optional node to display.
|
|
525
|
-
*/
|
|
526
|
-
optional: e.node,
|
|
527
|
-
/**
|
|
528
|
-
* The props used for each slot inside.
|
|
529
|
-
* @default {}
|
|
530
|
-
*/
|
|
531
|
-
slotProps: e.shape({
|
|
532
|
-
label: e.oneOfType([e.func, e.object]),
|
|
533
|
-
root: e.oneOfType([e.func, e.object]),
|
|
534
|
-
stepIcon: e.oneOfType([e.func, e.object])
|
|
535
|
-
}),
|
|
536
|
-
/**
|
|
537
|
-
* The components used for each slot inside.
|
|
538
|
-
* @default {}
|
|
539
|
-
*/
|
|
540
|
-
slots: e.shape({
|
|
541
|
-
label: e.elementType,
|
|
542
|
-
root: e.elementType,
|
|
543
|
-
stepIcon: e.elementType
|
|
544
|
-
}),
|
|
545
|
-
/**
|
|
546
|
-
* The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
|
|
547
|
-
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
548
|
-
*/
|
|
549
|
-
StepIconComponent: e.elementType,
|
|
550
|
-
/**
|
|
551
|
-
* Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
|
|
552
|
-
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
553
|
-
*/
|
|
554
|
-
StepIconProps: e.object,
|
|
555
|
-
/**
|
|
556
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
557
|
-
*/
|
|
558
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
559
|
-
});
|
|
560
|
-
A.muiName = "StepLabel";
|
|
561
|
-
function Le(t) {
|
|
562
|
-
return z("MuiStepButton", t);
|
|
563
|
-
}
|
|
564
|
-
const q = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]), he = (t) => {
|
|
565
|
-
const {
|
|
566
|
-
classes: o,
|
|
567
|
-
orientation: n
|
|
568
|
-
} = t;
|
|
569
|
-
return E({
|
|
570
|
-
root: ["root", n],
|
|
571
|
-
touchRipple: ["touchRipple"]
|
|
572
|
-
}, Le, o);
|
|
573
|
-
}, ge = S(ae, {
|
|
574
|
-
name: "MuiStepButton",
|
|
575
|
-
slot: "Root",
|
|
576
|
-
overridesResolver: (t, o) => {
|
|
577
|
-
const {
|
|
578
|
-
ownerState: n
|
|
579
|
-
} = t;
|
|
580
|
-
return [{
|
|
581
|
-
[`& .${q.touchRipple}`]: o.touchRipple
|
|
582
|
-
}, o.root, o[n.orientation]];
|
|
583
|
-
}
|
|
584
|
-
})({
|
|
585
|
-
width: "100%",
|
|
586
|
-
padding: "24px 16px",
|
|
587
|
-
margin: "-24px -16px",
|
|
588
|
-
boxSizing: "content-box",
|
|
589
|
-
[`& .${q.touchRipple}`]: {
|
|
590
|
-
color: "rgba(0, 0, 0, 0.3)"
|
|
591
|
-
},
|
|
592
|
-
variants: [{
|
|
593
|
-
props: {
|
|
594
|
-
orientation: "vertical"
|
|
595
|
-
},
|
|
596
|
-
style: {
|
|
597
|
-
justifyContent: "flex-start",
|
|
598
|
-
padding: "8px",
|
|
599
|
-
margin: "-8px"
|
|
600
|
-
}
|
|
601
|
-
}]
|
|
602
|
-
}), Ne = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
603
|
-
const r = $({
|
|
604
|
-
props: o,
|
|
605
|
-
name: "MuiStepButton"
|
|
606
|
-
}), {
|
|
607
|
-
children: a,
|
|
608
|
-
className: i,
|
|
609
|
-
icon: d,
|
|
610
|
-
optional: c,
|
|
611
|
-
...u
|
|
612
|
-
} = r, {
|
|
613
|
-
disabled: m,
|
|
614
|
-
active: p
|
|
615
|
-
} = l.useContext(B), {
|
|
616
|
-
orientation: s
|
|
617
|
-
} = l.useContext(w), f = {
|
|
618
|
-
...r,
|
|
619
|
-
orientation: s
|
|
620
|
-
}, x = he(f), y = {
|
|
621
|
-
icon: d,
|
|
622
|
-
optional: c
|
|
623
|
-
}, v = ne(a, ["StepLabel"]) ? /* @__PURE__ */ l.cloneElement(a, y) : /* @__PURE__ */ b(A, {
|
|
624
|
-
...y,
|
|
625
|
-
children: a
|
|
626
|
-
});
|
|
627
|
-
return /* @__PURE__ */ b(ge, {
|
|
628
|
-
focusRipple: !0,
|
|
629
|
-
disabled: m,
|
|
630
|
-
TouchRippleProps: {
|
|
631
|
-
className: x.touchRipple
|
|
632
|
-
},
|
|
633
|
-
className: R(x.root, i),
|
|
634
|
-
ref: n,
|
|
635
|
-
ownerState: f,
|
|
636
|
-
"aria-current": p ? "step" : void 0,
|
|
637
|
-
...u,
|
|
638
|
-
children: v
|
|
639
|
-
});
|
|
640
|
-
});
|
|
641
|
-
process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
642
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
643
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
644
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
645
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
646
|
-
/**
|
|
647
|
-
* Can be a `StepLabel` or a node to place inside `StepLabel` as children.
|
|
648
|
-
*/
|
|
649
|
-
children: e.node,
|
|
650
|
-
/**
|
|
651
|
-
* Override or extend the styles applied to the component.
|
|
652
|
-
*/
|
|
653
|
-
classes: e.object,
|
|
654
|
-
/**
|
|
655
|
-
* @ignore
|
|
656
|
-
*/
|
|
657
|
-
className: e.string,
|
|
658
|
-
/**
|
|
659
|
-
* The icon displayed by the step label.
|
|
660
|
-
*/
|
|
661
|
-
icon: e.node,
|
|
662
|
-
/**
|
|
663
|
-
* The optional node to display.
|
|
664
|
-
*/
|
|
665
|
-
optional: e.node,
|
|
666
|
-
/**
|
|
667
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
668
|
-
*/
|
|
669
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
670
|
-
});
|
|
671
|
-
function Te(t) {
|
|
672
|
-
return z("MuiStepper", t);
|
|
673
|
-
}
|
|
674
|
-
const Je = P("MuiStepper", ["root", "horizontal", "vertical", "nonLinear", "alternativeLabel"]);
|
|
675
|
-
function Re(t) {
|
|
676
|
-
return z("MuiStepConnector", t);
|
|
677
|
-
}
|
|
678
|
-
P("MuiStepConnector", ["root", "horizontal", "vertical", "alternativeLabel", "active", "completed", "disabled", "line", "lineHorizontal", "lineVertical"]);
|
|
679
|
-
const we = (t) => {
|
|
680
|
-
const {
|
|
681
|
-
classes: o,
|
|
682
|
-
orientation: n,
|
|
683
|
-
alternativeLabel: r,
|
|
684
|
-
active: a,
|
|
685
|
-
completed: i,
|
|
686
|
-
disabled: d
|
|
687
|
-
} = t, c = {
|
|
688
|
-
root: ["root", n, r && "alternativeLabel", a && "active", i && "completed", d && "disabled"],
|
|
689
|
-
line: ["line", `line${Q(n)}`]
|
|
690
|
-
};
|
|
691
|
-
return E(c, Re, o);
|
|
692
|
-
}, Me = S("div", {
|
|
693
|
-
name: "MuiStepConnector",
|
|
694
|
-
slot: "Root",
|
|
695
|
-
overridesResolver: (t, o) => {
|
|
696
|
-
const {
|
|
697
|
-
ownerState: n
|
|
698
|
-
} = t;
|
|
699
|
-
return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.completed && o.completed];
|
|
700
|
-
}
|
|
701
|
-
})({
|
|
702
|
-
flex: "1 1 auto",
|
|
703
|
-
variants: [{
|
|
704
|
-
props: {
|
|
705
|
-
orientation: "vertical"
|
|
706
|
-
},
|
|
707
|
-
style: {
|
|
708
|
-
marginLeft: 12
|
|
709
|
-
// half icon
|
|
710
|
-
}
|
|
711
|
-
}, {
|
|
712
|
-
props: {
|
|
713
|
-
alternativeLabel: !0
|
|
714
|
-
},
|
|
715
|
-
style: {
|
|
716
|
-
position: "absolute",
|
|
717
|
-
top: 12,
|
|
718
|
-
left: "calc(-50% + 20px)",
|
|
719
|
-
right: "calc(50% + 20px)"
|
|
720
|
-
}
|
|
721
|
-
}]
|
|
722
|
-
}), Ie = S("span", {
|
|
723
|
-
name: "MuiStepConnector",
|
|
724
|
-
slot: "Line",
|
|
725
|
-
overridesResolver: (t, o) => {
|
|
726
|
-
const {
|
|
727
|
-
ownerState: n
|
|
728
|
-
} = t;
|
|
729
|
-
return [o.line, o[`line${Q(n.orientation)}`]];
|
|
730
|
-
}
|
|
731
|
-
})(V(({
|
|
732
|
-
theme: t
|
|
733
|
-
}) => {
|
|
734
|
-
const o = t.palette.mode === "light" ? t.palette.grey[400] : t.palette.grey[600];
|
|
735
|
-
return {
|
|
736
|
-
display: "block",
|
|
737
|
-
borderColor: t.vars ? t.vars.palette.StepConnector.border : o,
|
|
738
|
-
variants: [{
|
|
739
|
-
props: {
|
|
740
|
-
orientation: "horizontal"
|
|
741
|
-
},
|
|
742
|
-
style: {
|
|
743
|
-
borderTopStyle: "solid",
|
|
744
|
-
borderTopWidth: 1
|
|
745
|
-
}
|
|
746
|
-
}, {
|
|
747
|
-
props: {
|
|
748
|
-
orientation: "vertical"
|
|
749
|
-
},
|
|
750
|
-
style: {
|
|
751
|
-
borderLeftStyle: "solid",
|
|
752
|
-
borderLeftWidth: 1,
|
|
753
|
-
minHeight: 24
|
|
754
|
-
}
|
|
755
|
-
}]
|
|
756
|
-
};
|
|
757
|
-
})), Y = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
758
|
-
const r = $({
|
|
759
|
-
props: o,
|
|
760
|
-
name: "MuiStepConnector"
|
|
761
|
-
}), {
|
|
762
|
-
className: a,
|
|
763
|
-
...i
|
|
764
|
-
} = r, {
|
|
765
|
-
alternativeLabel: d,
|
|
766
|
-
orientation: c = "horizontal"
|
|
767
|
-
} = l.useContext(w), {
|
|
768
|
-
active: u,
|
|
769
|
-
disabled: m,
|
|
770
|
-
completed: p
|
|
771
|
-
} = l.useContext(B), s = {
|
|
772
|
-
...r,
|
|
773
|
-
alternativeLabel: d,
|
|
774
|
-
orientation: c,
|
|
775
|
-
active: u,
|
|
776
|
-
completed: p,
|
|
777
|
-
disabled: m
|
|
778
|
-
}, f = we(s);
|
|
779
|
-
return /* @__PURE__ */ b(Me, {
|
|
780
|
-
className: R(f.root, a),
|
|
781
|
-
ref: n,
|
|
782
|
-
ownerState: s,
|
|
783
|
-
...i,
|
|
784
|
-
children: /* @__PURE__ */ b(Ie, {
|
|
785
|
-
className: f.line,
|
|
786
|
-
ownerState: s
|
|
787
|
-
})
|
|
788
|
-
});
|
|
789
|
-
});
|
|
790
|
-
process.env.NODE_ENV !== "production" && (Y.propTypes = {
|
|
791
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
792
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
793
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
794
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
795
|
-
/**
|
|
796
|
-
* Override or extend the styles applied to the component.
|
|
797
|
-
*/
|
|
798
|
-
classes: e.object,
|
|
799
|
-
/**
|
|
800
|
-
* @ignore
|
|
801
|
-
*/
|
|
802
|
-
className: e.string,
|
|
803
|
-
/**
|
|
804
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
805
|
-
*/
|
|
806
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
807
|
-
});
|
|
808
|
-
const Oe = (t) => {
|
|
809
|
-
const {
|
|
810
|
-
orientation: o,
|
|
811
|
-
nonLinear: n,
|
|
812
|
-
alternativeLabel: r,
|
|
813
|
-
classes: a
|
|
814
|
-
} = t;
|
|
815
|
-
return E({
|
|
816
|
-
root: ["root", o, n && "nonLinear", r && "alternativeLabel"]
|
|
817
|
-
}, Te, a);
|
|
818
|
-
}, je = S("div", {
|
|
819
|
-
name: "MuiStepper",
|
|
820
|
-
slot: "Root",
|
|
821
|
-
overridesResolver: (t, o) => {
|
|
822
|
-
const {
|
|
823
|
-
ownerState: n
|
|
824
|
-
} = t;
|
|
825
|
-
return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.nonLinear && o.nonLinear];
|
|
826
|
-
}
|
|
827
|
-
})({
|
|
828
|
-
display: "flex",
|
|
829
|
-
variants: [{
|
|
830
|
-
props: {
|
|
831
|
-
orientation: "horizontal"
|
|
832
|
-
},
|
|
833
|
-
style: {
|
|
834
|
-
flexDirection: "row",
|
|
835
|
-
alignItems: "center"
|
|
836
|
-
}
|
|
837
|
-
}, {
|
|
838
|
-
props: {
|
|
839
|
-
orientation: "vertical"
|
|
840
|
-
},
|
|
841
|
-
style: {
|
|
842
|
-
flexDirection: "column"
|
|
843
|
-
}
|
|
844
|
-
}, {
|
|
845
|
-
props: {
|
|
846
|
-
alternativeLabel: !0
|
|
847
|
-
},
|
|
848
|
-
style: {
|
|
849
|
-
alignItems: "flex-start"
|
|
850
|
-
}
|
|
851
|
-
}]
|
|
852
|
-
}), Pe = /* @__PURE__ */ b(Y, {}), ze = /* @__PURE__ */ l.forwardRef(function(o, n) {
|
|
853
|
-
const r = $({
|
|
854
|
-
props: o,
|
|
855
|
-
name: "MuiStepper"
|
|
856
|
-
}), {
|
|
857
|
-
activeStep: a = 0,
|
|
858
|
-
alternativeLabel: i = !1,
|
|
859
|
-
children: d,
|
|
860
|
-
className: c,
|
|
861
|
-
component: u = "div",
|
|
862
|
-
connector: m = Pe,
|
|
863
|
-
nonLinear: p = !1,
|
|
864
|
-
orientation: s = "horizontal",
|
|
865
|
-
...f
|
|
866
|
-
} = r, x = {
|
|
867
|
-
...r,
|
|
868
|
-
nonLinear: p,
|
|
869
|
-
alternativeLabel: i,
|
|
870
|
-
orientation: s,
|
|
871
|
-
component: u
|
|
872
|
-
}, y = Oe(x), v = l.Children.toArray(d).filter(Boolean), N = v.map((T, C) => /* @__PURE__ */ l.cloneElement(T, {
|
|
873
|
-
index: C,
|
|
874
|
-
last: C + 1 === v.length,
|
|
875
|
-
...T.props
|
|
876
|
-
})), M = l.useMemo(() => ({
|
|
877
|
-
activeStep: a,
|
|
878
|
-
alternativeLabel: i,
|
|
879
|
-
connector: m,
|
|
880
|
-
nonLinear: p,
|
|
881
|
-
orientation: s
|
|
882
|
-
}), [a, i, m, p, s]);
|
|
883
|
-
return /* @__PURE__ */ b(w.Provider, {
|
|
884
|
-
value: M,
|
|
885
|
-
children: /* @__PURE__ */ b(je, {
|
|
886
|
-
as: u,
|
|
887
|
-
ownerState: x,
|
|
888
|
-
className: R(y.root, c),
|
|
889
|
-
ref: n,
|
|
890
|
-
...f,
|
|
891
|
-
children: N
|
|
892
|
-
})
|
|
893
|
-
});
|
|
894
|
-
});
|
|
895
|
-
process.env.NODE_ENV !== "production" && (ze.propTypes = {
|
|
896
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
897
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
898
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
899
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
900
|
-
/**
|
|
901
|
-
* Set the active step (zero based index).
|
|
902
|
-
* Set to -1 to disable all the steps.
|
|
903
|
-
* @default 0
|
|
904
|
-
*/
|
|
905
|
-
activeStep: J,
|
|
906
|
-
/**
|
|
907
|
-
* If set to 'true' and orientation is horizontal,
|
|
908
|
-
* then the step label will be positioned under the icon.
|
|
909
|
-
* @default false
|
|
910
|
-
*/
|
|
911
|
-
alternativeLabel: e.bool,
|
|
912
|
-
/**
|
|
913
|
-
* Two or more `<Step />` components.
|
|
914
|
-
*/
|
|
915
|
-
children: e.node,
|
|
916
|
-
/**
|
|
917
|
-
* Override or extend the styles applied to the component.
|
|
918
|
-
*/
|
|
919
|
-
classes: e.object,
|
|
920
|
-
/**
|
|
921
|
-
* @ignore
|
|
922
|
-
*/
|
|
923
|
-
className: e.string,
|
|
924
|
-
/**
|
|
925
|
-
* The component used for the root node.
|
|
926
|
-
* Either a string to use a HTML element or a component.
|
|
927
|
-
*/
|
|
928
|
-
component: e.elementType,
|
|
929
|
-
/**
|
|
930
|
-
* An element to be placed between each step.
|
|
931
|
-
* @default <StepConnector />
|
|
932
|
-
*/
|
|
933
|
-
connector: e.element,
|
|
934
|
-
/**
|
|
935
|
-
* If set the `Stepper` will not assist in controlling steps for linear flow.
|
|
936
|
-
* @default false
|
|
937
|
-
*/
|
|
938
|
-
nonLinear: e.bool,
|
|
939
|
-
/**
|
|
940
|
-
* The component orientation (layout flow direction).
|
|
941
|
-
* @default 'horizontal'
|
|
942
|
-
*/
|
|
943
|
-
orientation: e.oneOf(["horizontal", "vertical"]),
|
|
944
|
-
/**
|
|
945
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
946
|
-
*/
|
|
947
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
948
|
-
});
|
|
949
|
-
export {
|
|
950
|
-
ce as S,
|
|
951
|
-
Ne as a,
|
|
952
|
-
A as b,
|
|
953
|
-
ze as c,
|
|
954
|
-
B as d,
|
|
955
|
-
q as e,
|
|
956
|
-
Le as f,
|
|
957
|
-
se as g,
|
|
958
|
-
g as h,
|
|
959
|
-
fe as i,
|
|
960
|
-
Je as j,
|
|
961
|
-
w as k,
|
|
962
|
-
Te as l,
|
|
963
|
-
He as m,
|
|
964
|
-
qe as s,
|
|
965
|
-
Ge as u
|
|
966
|
-
};
|