@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/Badge-2Kgbx-Cs.js
DELETED
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
import * as Q from "react";
|
|
2
|
-
import { P as o } from "./index-B9vkf41S.js";
|
|
3
|
-
import { F as S, G as X, H as Y } from "./generateUtilityClasses-B_xKAflz.js";
|
|
4
|
-
import { u as F } from "./usePreviousProps-ByGlbpJ6.js";
|
|
5
|
-
import { m as w } from "./memoTheme-C-PaH-Cy.js";
|
|
6
|
-
import { c as rr } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { u as j } from "./useSlot-BSkdRaZr.js";
|
|
8
|
-
import { jsxs as or, jsx as ar } from "react/jsx-runtime";
|
|
9
|
-
import { u as tr, s as N, c as nr } from "./DefaultPropsProvider-BrmlvPWg.js";
|
|
10
|
-
import { c as n } from "./capitalize-BHEX83JQ.js";
|
|
11
|
-
function er(a) {
|
|
12
|
-
const {
|
|
13
|
-
badgeContent: r,
|
|
14
|
-
invisible: t = !1,
|
|
15
|
-
max: e = 99,
|
|
16
|
-
showZero: l = !1
|
|
17
|
-
} = a, f = F({
|
|
18
|
-
badgeContent: r,
|
|
19
|
-
max: e
|
|
20
|
-
});
|
|
21
|
-
let c = t;
|
|
22
|
-
t === !1 && r === 0 && !l && (c = !0);
|
|
23
|
-
const {
|
|
24
|
-
badgeContent: i,
|
|
25
|
-
max: p = e
|
|
26
|
-
} = c ? f : a, m = i && Number(i) > p ? `${p}+` : i;
|
|
27
|
-
return {
|
|
28
|
-
badgeContent: i,
|
|
29
|
-
invisible: c,
|
|
30
|
-
max: p,
|
|
31
|
-
displayValue: m
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function ir(a) {
|
|
35
|
-
return X("MuiBadge", a);
|
|
36
|
-
}
|
|
37
|
-
const s = S("MuiBadge", [
|
|
38
|
-
"root",
|
|
39
|
-
"badge",
|
|
40
|
-
"dot",
|
|
41
|
-
"standard",
|
|
42
|
-
"anchorOriginTopRight",
|
|
43
|
-
"anchorOriginBottomRight",
|
|
44
|
-
"anchorOriginTopLeft",
|
|
45
|
-
"anchorOriginBottomLeft",
|
|
46
|
-
"invisible",
|
|
47
|
-
"colorError",
|
|
48
|
-
"colorInfo",
|
|
49
|
-
"colorPrimary",
|
|
50
|
-
"colorSecondary",
|
|
51
|
-
"colorSuccess",
|
|
52
|
-
"colorWarning",
|
|
53
|
-
"overlapRectangular",
|
|
54
|
-
"overlapCircular",
|
|
55
|
-
// TODO: v6 remove the overlap value from these class keys
|
|
56
|
-
"anchorOriginTopLeftCircular",
|
|
57
|
-
"anchorOriginTopLeftRectangular",
|
|
58
|
-
"anchorOriginTopRightCircular",
|
|
59
|
-
"anchorOriginTopRightRectangular",
|
|
60
|
-
"anchorOriginBottomLeftCircular",
|
|
61
|
-
"anchorOriginBottomLeftRectangular",
|
|
62
|
-
"anchorOriginBottomRightCircular",
|
|
63
|
-
"anchorOriginBottomRightRectangular"
|
|
64
|
-
]), h = 10, v = 4, sr = (a) => {
|
|
65
|
-
const {
|
|
66
|
-
color: r,
|
|
67
|
-
anchorOrigin: t,
|
|
68
|
-
invisible: e,
|
|
69
|
-
overlap: l,
|
|
70
|
-
variant: f,
|
|
71
|
-
classes: c = {}
|
|
72
|
-
} = a, i = {
|
|
73
|
-
root: ["root"],
|
|
74
|
-
badge: ["badge", f, e && "invisible", `anchorOrigin${n(t.vertical)}${n(t.horizontal)}`, `anchorOrigin${n(t.vertical)}${n(t.horizontal)}${n(l)}`, `overlap${n(l)}`, r !== "default" && `color${n(r)}`]
|
|
75
|
-
};
|
|
76
|
-
return nr(i, ir, c);
|
|
77
|
-
}, lr = N("span", {
|
|
78
|
-
name: "MuiBadge",
|
|
79
|
-
slot: "Root"
|
|
80
|
-
})({
|
|
81
|
-
position: "relative",
|
|
82
|
-
display: "inline-flex",
|
|
83
|
-
// For correct alignment with the text.
|
|
84
|
-
verticalAlign: "middle",
|
|
85
|
-
flexShrink: 0
|
|
86
|
-
}), cr = N("span", {
|
|
87
|
-
name: "MuiBadge",
|
|
88
|
-
slot: "Badge",
|
|
89
|
-
overridesResolver: (a, r) => {
|
|
90
|
-
const {
|
|
91
|
-
ownerState: t
|
|
92
|
-
} = a;
|
|
93
|
-
return [r.badge, r[t.variant], r[`anchorOrigin${n(t.anchorOrigin.vertical)}${n(t.anchorOrigin.horizontal)}${n(t.overlap)}`], t.color !== "default" && r[`color${n(t.color)}`], t.invisible && r.invisible];
|
|
94
|
-
}
|
|
95
|
-
})(w(({
|
|
96
|
-
theme: a
|
|
97
|
-
}) => ({
|
|
98
|
-
display: "flex",
|
|
99
|
-
flexDirection: "row",
|
|
100
|
-
flexWrap: "wrap",
|
|
101
|
-
justifyContent: "center",
|
|
102
|
-
alignContent: "center",
|
|
103
|
-
alignItems: "center",
|
|
104
|
-
position: "absolute",
|
|
105
|
-
boxSizing: "border-box",
|
|
106
|
-
fontFamily: a.typography.fontFamily,
|
|
107
|
-
fontWeight: a.typography.fontWeightMedium,
|
|
108
|
-
fontSize: a.typography.pxToRem(12),
|
|
109
|
-
minWidth: h * 2,
|
|
110
|
-
lineHeight: 1,
|
|
111
|
-
padding: "0 6px",
|
|
112
|
-
height: h * 2,
|
|
113
|
-
borderRadius: h,
|
|
114
|
-
zIndex: 1,
|
|
115
|
-
// Render the badge on top of potential ripples.
|
|
116
|
-
transition: a.transitions.create("transform", {
|
|
117
|
-
easing: a.transitions.easing.easeInOut,
|
|
118
|
-
duration: a.transitions.duration.enteringScreen
|
|
119
|
-
}),
|
|
120
|
-
variants: [...Object.entries(a.palette).filter(rr(["contrastText"])).map(([r]) => ({
|
|
121
|
-
props: {
|
|
122
|
-
color: r
|
|
123
|
-
},
|
|
124
|
-
style: {
|
|
125
|
-
backgroundColor: (a.vars || a).palette[r].main,
|
|
126
|
-
color: (a.vars || a).palette[r].contrastText
|
|
127
|
-
}
|
|
128
|
-
})), {
|
|
129
|
-
props: {
|
|
130
|
-
variant: "dot"
|
|
131
|
-
},
|
|
132
|
-
style: {
|
|
133
|
-
borderRadius: v,
|
|
134
|
-
height: v * 2,
|
|
135
|
-
minWidth: v * 2,
|
|
136
|
-
padding: 0
|
|
137
|
-
}
|
|
138
|
-
}, {
|
|
139
|
-
props: ({
|
|
140
|
-
ownerState: r
|
|
141
|
-
}) => r.anchorOrigin.vertical === "top" && r.anchorOrigin.horizontal === "right" && r.overlap === "rectangular",
|
|
142
|
-
style: {
|
|
143
|
-
top: 0,
|
|
144
|
-
right: 0,
|
|
145
|
-
transform: "scale(1) translate(50%, -50%)",
|
|
146
|
-
transformOrigin: "100% 0%",
|
|
147
|
-
[`&.${s.invisible}`]: {
|
|
148
|
-
transform: "scale(0) translate(50%, -50%)"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}, {
|
|
152
|
-
props: ({
|
|
153
|
-
ownerState: r
|
|
154
|
-
}) => r.anchorOrigin.vertical === "bottom" && r.anchorOrigin.horizontal === "right" && r.overlap === "rectangular",
|
|
155
|
-
style: {
|
|
156
|
-
bottom: 0,
|
|
157
|
-
right: 0,
|
|
158
|
-
transform: "scale(1) translate(50%, 50%)",
|
|
159
|
-
transformOrigin: "100% 100%",
|
|
160
|
-
[`&.${s.invisible}`]: {
|
|
161
|
-
transform: "scale(0) translate(50%, 50%)"
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}, {
|
|
165
|
-
props: ({
|
|
166
|
-
ownerState: r
|
|
167
|
-
}) => r.anchorOrigin.vertical === "top" && r.anchorOrigin.horizontal === "left" && r.overlap === "rectangular",
|
|
168
|
-
style: {
|
|
169
|
-
top: 0,
|
|
170
|
-
left: 0,
|
|
171
|
-
transform: "scale(1) translate(-50%, -50%)",
|
|
172
|
-
transformOrigin: "0% 0%",
|
|
173
|
-
[`&.${s.invisible}`]: {
|
|
174
|
-
transform: "scale(0) translate(-50%, -50%)"
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}, {
|
|
178
|
-
props: ({
|
|
179
|
-
ownerState: r
|
|
180
|
-
}) => r.anchorOrigin.vertical === "bottom" && r.anchorOrigin.horizontal === "left" && r.overlap === "rectangular",
|
|
181
|
-
style: {
|
|
182
|
-
bottom: 0,
|
|
183
|
-
left: 0,
|
|
184
|
-
transform: "scale(1) translate(-50%, 50%)",
|
|
185
|
-
transformOrigin: "0% 100%",
|
|
186
|
-
[`&.${s.invisible}`]: {
|
|
187
|
-
transform: "scale(0) translate(-50%, 50%)"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}, {
|
|
191
|
-
props: ({
|
|
192
|
-
ownerState: r
|
|
193
|
-
}) => r.anchorOrigin.vertical === "top" && r.anchorOrigin.horizontal === "right" && r.overlap === "circular",
|
|
194
|
-
style: {
|
|
195
|
-
top: "14%",
|
|
196
|
-
right: "14%",
|
|
197
|
-
transform: "scale(1) translate(50%, -50%)",
|
|
198
|
-
transformOrigin: "100% 0%",
|
|
199
|
-
[`&.${s.invisible}`]: {
|
|
200
|
-
transform: "scale(0) translate(50%, -50%)"
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}, {
|
|
204
|
-
props: ({
|
|
205
|
-
ownerState: r
|
|
206
|
-
}) => r.anchorOrigin.vertical === "bottom" && r.anchorOrigin.horizontal === "right" && r.overlap === "circular",
|
|
207
|
-
style: {
|
|
208
|
-
bottom: "14%",
|
|
209
|
-
right: "14%",
|
|
210
|
-
transform: "scale(1) translate(50%, 50%)",
|
|
211
|
-
transformOrigin: "100% 100%",
|
|
212
|
-
[`&.${s.invisible}`]: {
|
|
213
|
-
transform: "scale(0) translate(50%, 50%)"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}, {
|
|
217
|
-
props: ({
|
|
218
|
-
ownerState: r
|
|
219
|
-
}) => r.anchorOrigin.vertical === "top" && r.anchorOrigin.horizontal === "left" && r.overlap === "circular",
|
|
220
|
-
style: {
|
|
221
|
-
top: "14%",
|
|
222
|
-
left: "14%",
|
|
223
|
-
transform: "scale(1) translate(-50%, -50%)",
|
|
224
|
-
transformOrigin: "0% 0%",
|
|
225
|
-
[`&.${s.invisible}`]: {
|
|
226
|
-
transform: "scale(0) translate(-50%, -50%)"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}, {
|
|
230
|
-
props: ({
|
|
231
|
-
ownerState: r
|
|
232
|
-
}) => r.anchorOrigin.vertical === "bottom" && r.anchorOrigin.horizontal === "left" && r.overlap === "circular",
|
|
233
|
-
style: {
|
|
234
|
-
bottom: "14%",
|
|
235
|
-
left: "14%",
|
|
236
|
-
transform: "scale(1) translate(-50%, 50%)",
|
|
237
|
-
transformOrigin: "0% 100%",
|
|
238
|
-
[`&.${s.invisible}`]: {
|
|
239
|
-
transform: "scale(0) translate(-50%, 50%)"
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}, {
|
|
243
|
-
props: {
|
|
244
|
-
invisible: !0
|
|
245
|
-
},
|
|
246
|
-
style: {
|
|
247
|
-
transition: a.transitions.create("transform", {
|
|
248
|
-
easing: a.transitions.easing.easeInOut,
|
|
249
|
-
duration: a.transitions.duration.leavingScreen
|
|
250
|
-
})
|
|
251
|
-
}
|
|
252
|
-
}]
|
|
253
|
-
})));
|
|
254
|
-
function D(a) {
|
|
255
|
-
return {
|
|
256
|
-
vertical: (a == null ? void 0 : a.vertical) ?? "top",
|
|
257
|
-
horizontal: (a == null ? void 0 : a.horizontal) ?? "right"
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
const pr = /* @__PURE__ */ Q.forwardRef(function(r, t) {
|
|
261
|
-
const e = tr({
|
|
262
|
-
props: r,
|
|
263
|
-
name: "MuiBadge"
|
|
264
|
-
}), {
|
|
265
|
-
anchorOrigin: l,
|
|
266
|
-
className: f,
|
|
267
|
-
classes: c,
|
|
268
|
-
component: i,
|
|
269
|
-
components: p = {},
|
|
270
|
-
componentsProps: m = {},
|
|
271
|
-
children: I,
|
|
272
|
-
overlap: O = "rectangular",
|
|
273
|
-
color: y = "default",
|
|
274
|
-
invisible: A = !1,
|
|
275
|
-
max: L = 99,
|
|
276
|
-
badgeContent: T,
|
|
277
|
-
slots: g,
|
|
278
|
-
slotProps: d,
|
|
279
|
-
showZero: x = !1,
|
|
280
|
-
variant: u = "standard",
|
|
281
|
-
...M
|
|
282
|
-
} = e, {
|
|
283
|
-
badgeContent: P,
|
|
284
|
-
invisible: U,
|
|
285
|
-
max: V,
|
|
286
|
-
displayValue: W
|
|
287
|
-
} = er({
|
|
288
|
-
max: L,
|
|
289
|
-
invisible: A,
|
|
290
|
-
badgeContent: T,
|
|
291
|
-
showZero: x
|
|
292
|
-
}), k = F({
|
|
293
|
-
anchorOrigin: D(l),
|
|
294
|
-
color: y,
|
|
295
|
-
overlap: O,
|
|
296
|
-
variant: u,
|
|
297
|
-
badgeContent: T
|
|
298
|
-
}), R = U || P == null && u !== "dot", {
|
|
299
|
-
color: H = y,
|
|
300
|
-
overlap: E = O,
|
|
301
|
-
anchorOrigin: Z,
|
|
302
|
-
variant: C = u
|
|
303
|
-
} = R ? k : e, _ = D(Z), B = C !== "dot" ? W : void 0, b = {
|
|
304
|
-
...e,
|
|
305
|
-
badgeContent: P,
|
|
306
|
-
invisible: R,
|
|
307
|
-
max: V,
|
|
308
|
-
displayValue: B,
|
|
309
|
-
showZero: x,
|
|
310
|
-
anchorOrigin: _,
|
|
311
|
-
color: H,
|
|
312
|
-
overlap: E,
|
|
313
|
-
variant: C
|
|
314
|
-
}, $ = sr(b), z = {
|
|
315
|
-
slots: {
|
|
316
|
-
root: (g == null ? void 0 : g.root) ?? p.Root,
|
|
317
|
-
badge: (g == null ? void 0 : g.badge) ?? p.Badge
|
|
318
|
-
},
|
|
319
|
-
slotProps: {
|
|
320
|
-
root: (d == null ? void 0 : d.root) ?? m.root,
|
|
321
|
-
badge: (d == null ? void 0 : d.badge) ?? m.badge
|
|
322
|
-
}
|
|
323
|
-
}, [G, q] = j("root", {
|
|
324
|
-
elementType: lr,
|
|
325
|
-
externalForwardedProps: {
|
|
326
|
-
...z,
|
|
327
|
-
...M
|
|
328
|
-
},
|
|
329
|
-
ownerState: b,
|
|
330
|
-
className: Y($.root, f),
|
|
331
|
-
ref: t,
|
|
332
|
-
additionalProps: {
|
|
333
|
-
as: i
|
|
334
|
-
}
|
|
335
|
-
}), [J, K] = j("badge", {
|
|
336
|
-
elementType: cr,
|
|
337
|
-
externalForwardedProps: z,
|
|
338
|
-
ownerState: b,
|
|
339
|
-
className: $.badge
|
|
340
|
-
});
|
|
341
|
-
return /* @__PURE__ */ or(G, {
|
|
342
|
-
...q,
|
|
343
|
-
children: [I, /* @__PURE__ */ ar(J, {
|
|
344
|
-
...K,
|
|
345
|
-
children: B
|
|
346
|
-
})]
|
|
347
|
-
});
|
|
348
|
-
});
|
|
349
|
-
process.env.NODE_ENV !== "production" && (pr.propTypes = {
|
|
350
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
351
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
352
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
353
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
354
|
-
/**
|
|
355
|
-
* The anchor of the badge.
|
|
356
|
-
* @default {
|
|
357
|
-
* vertical: 'top',
|
|
358
|
-
* horizontal: 'right',
|
|
359
|
-
* }
|
|
360
|
-
*/
|
|
361
|
-
anchorOrigin: o.shape({
|
|
362
|
-
horizontal: o.oneOf(["left", "right"]),
|
|
363
|
-
vertical: o.oneOf(["bottom", "top"])
|
|
364
|
-
}),
|
|
365
|
-
/**
|
|
366
|
-
* The content rendered within the badge.
|
|
367
|
-
*/
|
|
368
|
-
badgeContent: o.node,
|
|
369
|
-
/**
|
|
370
|
-
* The badge will be added relative to this node.
|
|
371
|
-
*/
|
|
372
|
-
children: o.node,
|
|
373
|
-
/**
|
|
374
|
-
* Override or extend the styles applied to the component.
|
|
375
|
-
*/
|
|
376
|
-
classes: o.object,
|
|
377
|
-
/**
|
|
378
|
-
* @ignore
|
|
379
|
-
*/
|
|
380
|
-
className: o.string,
|
|
381
|
-
/**
|
|
382
|
-
* The color of the component.
|
|
383
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
384
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
385
|
-
* @default 'default'
|
|
386
|
-
*/
|
|
387
|
-
color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
388
|
-
/**
|
|
389
|
-
* The component used for the root node.
|
|
390
|
-
* Either a string to use a HTML element or a component.
|
|
391
|
-
*/
|
|
392
|
-
component: o.elementType,
|
|
393
|
-
/**
|
|
394
|
-
* The components used for each slot inside.
|
|
395
|
-
*
|
|
396
|
-
* @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.
|
|
397
|
-
*
|
|
398
|
-
* @default {}
|
|
399
|
-
*/
|
|
400
|
-
components: o.shape({
|
|
401
|
-
Badge: o.elementType,
|
|
402
|
-
Root: o.elementType
|
|
403
|
-
}),
|
|
404
|
-
/**
|
|
405
|
-
* The extra props for the slot components.
|
|
406
|
-
* You can override the existing props or add new ones.
|
|
407
|
-
*
|
|
408
|
-
* @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.
|
|
409
|
-
*
|
|
410
|
-
* @default {}
|
|
411
|
-
*/
|
|
412
|
-
componentsProps: o.shape({
|
|
413
|
-
badge: o.oneOfType([o.func, o.object]),
|
|
414
|
-
root: o.oneOfType([o.func, o.object])
|
|
415
|
-
}),
|
|
416
|
-
/**
|
|
417
|
-
* If `true`, the badge is invisible.
|
|
418
|
-
* @default false
|
|
419
|
-
*/
|
|
420
|
-
invisible: o.bool,
|
|
421
|
-
/**
|
|
422
|
-
* Max count to show.
|
|
423
|
-
* @default 99
|
|
424
|
-
*/
|
|
425
|
-
max: o.number,
|
|
426
|
-
/**
|
|
427
|
-
* Wrapped shape the badge should overlap.
|
|
428
|
-
* @default 'rectangular'
|
|
429
|
-
*/
|
|
430
|
-
overlap: o.oneOf(["circular", "rectangular"]),
|
|
431
|
-
/**
|
|
432
|
-
* Controls whether the badge is hidden when `badgeContent` is zero.
|
|
433
|
-
* @default false
|
|
434
|
-
*/
|
|
435
|
-
showZero: o.bool,
|
|
436
|
-
/**
|
|
437
|
-
* The props used for each slot inside.
|
|
438
|
-
* @default {}
|
|
439
|
-
*/
|
|
440
|
-
slotProps: o.shape({
|
|
441
|
-
badge: o.oneOfType([o.func, o.object]),
|
|
442
|
-
root: o.oneOfType([o.func, o.object])
|
|
443
|
-
}),
|
|
444
|
-
/**
|
|
445
|
-
* The components used for each slot inside.
|
|
446
|
-
* @default {}
|
|
447
|
-
*/
|
|
448
|
-
slots: o.shape({
|
|
449
|
-
badge: o.elementType,
|
|
450
|
-
root: o.elementType
|
|
451
|
-
}),
|
|
452
|
-
/**
|
|
453
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
454
|
-
*/
|
|
455
|
-
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
456
|
-
/**
|
|
457
|
-
* The variant to use.
|
|
458
|
-
* @default 'standard'
|
|
459
|
-
*/
|
|
460
|
-
variant: o.oneOfType([o.oneOf(["dot", "standard"]), o.string])
|
|
461
|
-
});
|
|
462
|
-
export {
|
|
463
|
-
pr as B,
|
|
464
|
-
s as b,
|
|
465
|
-
ir as g
|
|
466
|
-
};
|
package/dist/Badge-DXl0Da36.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const w=require("react"),e=require("./index-kjfz41UI.cjs"),h=require("./generateUtilityClasses-CENS22bI.cjs"),U=require("./usePreviousProps-jC3PWcIp.cjs"),rr=require("./memoTheme-Bi1UNdyO.cjs"),er=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),q=require("./useSlot-C-aMxEm0.cjs"),N=require("react/jsx-runtime"),y=require("./DefaultPropsProvider-C1g4BXET.cjs"),n=require("./capitalize-3OjkeP9i.cjs");function or(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>o[t]})}}return r.default=o,Object.freeze(r)}const tr=or(w);function ar(o){const{badgeContent:r,invisible:t=!1,max:a=99,showZero:l=!1}=o,u=U.usePreviousProps({badgeContent:r,max:a});let p=t;t===!1&&r===0&&!l&&(p=!0);const{badgeContent:s,max:c=a}=p?u:o,f=s&&Number(s)>c?`${c}+`:s;return{badgeContent:s,invisible:p,max:c,displayValue:f}}function I(o){return h.generateUtilityClass("MuiBadge",o)}const i=h.generateUtilityClasses("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),v=10,P=4,nr=o=>{const{color:r,anchorOrigin:t,invisible:a,overlap:l,variant:u,classes:p={}}=o,s={root:["root"],badge:["badge",u,a&&"invisible",`anchorOrigin${n.capitalize(t.vertical)}${n.capitalize(t.horizontal)}`,`anchorOrigin${n.capitalize(t.vertical)}${n.capitalize(t.horizontal)}${n.capitalize(l)}`,`overlap${n.capitalize(l)}`,r!=="default"&&`color${n.capitalize(r)}`]};return y.composeClasses(s,I,p)},ir=y.styled("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),sr=y.styled("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[r.badge,r[t.variant],r[`anchorOrigin${n.capitalize(t.anchorOrigin.vertical)}${n.capitalize(t.anchorOrigin.horizontal)}${n.capitalize(t.overlap)}`],t.color!=="default"&&r[`color${n.capitalize(t.color)}`],t.invisible&&r.invisible]}})(rr.memoTheme(({theme:o})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:o.typography.fontFamily,fontWeight:o.typography.fontWeightMedium,fontSize:o.typography.pxToRem(12),minWidth:v*2,lineHeight:1,padding:"0 6px",height:v*2,borderRadius:v,zIndex:1,transition:o.transitions.create("transform",{easing:o.transitions.easing.easeInOut,duration:o.transitions.duration.enteringScreen}),variants:[...Object.entries(o.palette).filter(er.createSimplePaletteValueFilter(["contrastText"])).map(([r])=>({props:{color:r},style:{backgroundColor:(o.vars||o).palette[r].main,color:(o.vars||o).palette[r].contrastText}})),{props:{variant:"dot"},style:{borderRadius:P,height:P*2,minWidth:P*2,padding:0}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${i.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${i.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${i.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${i.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${i.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="right"&&r.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${i.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="top"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${i.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:r})=>r.anchorOrigin.vertical==="bottom"&&r.anchorOrigin.horizontal==="left"&&r.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${i.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:o.transitions.create("transform",{easing:o.transitions.easing.easeInOut,duration:o.transitions.duration.leavingScreen})}}]})));function F(o){return{vertical:(o==null?void 0:o.vertical)??"top",horizontal:(o==null?void 0:o.horizontal)??"right"}}const M=tr.forwardRef(function(r,t){const a=y.useDefaultProps({props:r,name:"MuiBadge"}),{anchorOrigin:l,className:u,classes:p,component:s,components:c={},componentsProps:f={},children:V,overlap:T="rectangular",color:O="default",invisible:A=!1,max:L=99,badgeContent:z,slots:g,slotProps:d,showZero:x=!1,variant:b="standard",...W}=a,{badgeContent:C,invisible:_,max:k,displayValue:S}=ar({max:L,invisible:A,badgeContent:z,showZero:x}),E=U.usePreviousProps({anchorOrigin:F(l),color:O,overlap:T,variant:b,badgeContent:z}),R=_||C==null&&b!=="dot",{color:H=O,overlap:Z=T,anchorOrigin:G,variant:B=b}=R?E:a,J=F(G),$=B!=="dot"?S:void 0,m={...a,badgeContent:C,invisible:R,max:k,displayValue:$,showZero:x,anchorOrigin:J,color:H,overlap:Z,variant:B},j=nr(m),D={slots:{root:(g==null?void 0:g.root)??c.Root,badge:(g==null?void 0:g.badge)??c.Badge},slotProps:{root:(d==null?void 0:d.root)??f.root,badge:(d==null?void 0:d.badge)??f.badge}},[K,Q]=q.useSlot("root",{elementType:ir,externalForwardedProps:{...D,...W},ownerState:m,className:h.clsx(j.root,u),ref:t,additionalProps:{as:s}}),[X,Y]=q.useSlot("badge",{elementType:sr,externalForwardedProps:D,ownerState:m,className:j.badge});return N.jsxs(K,{...Q,children:[V,N.jsx(X,{...Y,children:$})]})});process.env.NODE_ENV!=="production"&&(M.propTypes={anchorOrigin:e.PropTypes.shape({horizontal:e.PropTypes.oneOf(["left","right"]),vertical:e.PropTypes.oneOf(["bottom","top"])}),badgeContent:e.PropTypes.node,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,components:e.PropTypes.shape({Badge:e.PropTypes.elementType,Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({badge:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),invisible:e.PropTypes.bool,max:e.PropTypes.number,overlap:e.PropTypes.oneOf(["circular","rectangular"]),showZero:e.PropTypes.bool,slotProps:e.PropTypes.shape({badge:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({badge:e.PropTypes.elementType,root:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["dot","standard"]),e.PropTypes.string])});exports.Badge=M;exports.badgeClasses=i;exports.getBadgeUtilityClass=I;
|
package/dist/Box-BaZ7KlAc.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { P as e } from "./index-B9vkf41S.js";
|
|
2
|
-
import { U as p, V as x, H as h, F as T, W as y, T as B, u as N } from "./generateUtilityClasses-B_xKAflz.js";
|
|
3
|
-
import * as C from "react";
|
|
4
|
-
import { jsx as b } from "react/jsx-runtime";
|
|
5
|
-
import { u as g } from "./useTheme-DSA6Ir8k.js";
|
|
6
|
-
import { e as v } from "./extendSxProp-DGsHTtAe.js";
|
|
7
|
-
function E(n = {}) {
|
|
8
|
-
const {
|
|
9
|
-
themeId: t,
|
|
10
|
-
defaultTheme: m,
|
|
11
|
-
defaultClassName: a = "MuiBox-root",
|
|
12
|
-
generateClassName: r
|
|
13
|
-
} = n, c = p("div", {
|
|
14
|
-
shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
|
|
15
|
-
})(x);
|
|
16
|
-
return /* @__PURE__ */ C.forwardRef(function(l, f) {
|
|
17
|
-
const s = g(m), {
|
|
18
|
-
className: i,
|
|
19
|
-
component: u = "div",
|
|
20
|
-
...d
|
|
21
|
-
} = v(l);
|
|
22
|
-
return /* @__PURE__ */ b(c, {
|
|
23
|
-
as: u,
|
|
24
|
-
ref: f,
|
|
25
|
-
className: h(i, r ? r(a) : a),
|
|
26
|
-
theme: t && s[t] || s,
|
|
27
|
-
...d
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
const O = T("MuiBox", ["root"]), P = N(), j = E({
|
|
32
|
-
themeId: B,
|
|
33
|
-
defaultTheme: P,
|
|
34
|
-
defaultClassName: O.root,
|
|
35
|
-
generateClassName: y.generate
|
|
36
|
-
});
|
|
37
|
-
process.env.NODE_ENV !== "production" && (j.propTypes = {
|
|
38
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
39
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
40
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
41
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
42
|
-
/**
|
|
43
|
-
* @ignore
|
|
44
|
-
*/
|
|
45
|
-
children: e.node,
|
|
46
|
-
/**
|
|
47
|
-
* The component used for the root node.
|
|
48
|
-
* Either a string to use a HTML element or a component.
|
|
49
|
-
*/
|
|
50
|
-
component: e.elementType,
|
|
51
|
-
/**
|
|
52
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
53
|
-
*/
|
|
54
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
55
|
-
});
|
|
56
|
-
export {
|
|
57
|
-
j as B,
|
|
58
|
-
O as b
|
|
59
|
-
};
|
package/dist/Box-CYQlQqRB.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./index-kjfz41UI.cjs"),o=require("./generateUtilityClasses-CENS22bI.cjs"),T=require("react"),P=require("react/jsx-runtime"),h=require("./useTheme-BT6SDKkk.cjs"),b=require("./extendSxProp-Dwd9vpYv.cjs");function g(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(s,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return s.default=t,Object.freeze(s)}const N=g(T);function B(t={}){const{themeId:s,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:p}=t,i=o.styled("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(o.styleFunctionSx);return N.forwardRef(function(m,d){const c=h.useTheme(r),{className:f,component:x="div",...y}=b.extendSxProp(m);return P.jsx(i,{as:x,ref:d,className:o.clsx(f,p?p(n):n),theme:s&&c[s]||c,...y})})}const u=o.generateUtilityClasses("MuiBox",["root"]),C=o.createTheme(),l=B({themeId:o.THEME_ID,defaultTheme:C,defaultClassName:u.root,generateClassName:o.ClassNameGenerator.generate});process.env.NODE_ENV!=="production"&&(l.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.Box=l;exports.boxClasses=u;
|
package/dist/Button-BP-QmmUu.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const K=require("react"),n=require("./index-kjfz41UI.cjs"),S=require("./generateUtilityClasses-CENS22bI.cjs"),g=require("./DefaultPropsProvider-C1g4BXET.cjs"),J=require("./memoTheme-Bi1UNdyO.cjs"),Q=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),u=require("react/jsx-runtime"),X=require("./useId-DNXtOFeX.cjs"),r=require("./capitalize-3OjkeP9i.cjs"),Y=require("./ButtonBase-DSJojbNE.cjs"),Z=require("./CircularProgress-BOm4zz7e.cjs");function A(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const a in o)if(a!=="default"){const i=Object.getOwnPropertyDescriptor(o,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>o[a]})}}return t.default=o,Object.freeze(t)}const P=A(K);function T(o,t,a=!1){const i={...t};for(const l in o)if(Object.prototype.hasOwnProperty.call(o,l)){const e=l;if(e==="components"||e==="slots")i[e]={...o[e],...i[e]};else if(e==="componentsProps"||e==="slotProps"){const s=o[e],p=t[e];if(!p)i[e]=s||{};else if(!s)i[e]=p;else{i[e]={...p};for(const y in s)if(Object.prototype.hasOwnProperty.call(s,y)){const c=y;i[e][c]=T(s[c],p[c],a)}}}else e==="className"&&a&&t.className?i.className=S.clsx(o==null?void 0:o.className,t==null?void 0:t.className):e==="style"&&a&&t.style?i.style={...o==null?void 0:o.style,...t==null?void 0:t.style}:i[e]===void 0&&(i[e]=o[e])}return i}function oo(o){return S.generateUtilityClass("MuiButton",o)}const x=S.generateUtilityClasses("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),E=P.createContext({});process.env.NODE_ENV!=="production"&&(E.displayName="ButtonGroupContext");const W=P.createContext(void 0);process.env.NODE_ENV!=="production"&&(W.displayName="ButtonGroupButtonContext");const to=o=>{const{color:t,disableElevation:a,fullWidth:i,size:l,variant:e,loading:s,loadingPosition:p,classes:y}=o,c={root:["root",s&&"loading",e,`${e}${r.capitalize(t)}`,`size${r.capitalize(l)}`,`${e}Size${r.capitalize(l)}`,`color${r.capitalize(t)}`,a&&"disableElevation",i&&"fullWidth",s&&`loadingPosition${r.capitalize(p)}`],startIcon:["icon","startIcon",`iconSize${r.capitalize(l)}`],endIcon:["icon","endIcon",`iconSize${r.capitalize(l)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},z=g.composeClasses(c,oo,y);return{...y,...z}},j=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],no=g.styled(Y.ButtonBase,{shouldForwardProp:o=>g.rootShouldForwardProp(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:a}=o;return[t.root,t[a.variant],t[`${a.variant}${r.capitalize(a.color)}`],t[`size${r.capitalize(a.size)}`],t[`${a.variant}Size${r.capitalize(a.size)}`],a.color==="inherit"&&t.colorInherit,a.disableElevation&&t.disableElevation,a.fullWidth&&t.fullWidth,a.loading&&t.loading]}})(J.memoTheme(({theme:o})=>{const t=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],a=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return{...o.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${x.disabled}`]:{color:(o.vars||o).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(o.vars||o).shadows[2],"&:hover":{boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2]}},"&:active":{boxShadow:(o.vars||o).shadows[8]},[`&.${x.focusVisible}`]:{boxShadow:(o.vars||o).shadows[6]},[`&.${x.disabled}`]:{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${x.disabled}`]:{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(o.palette).filter(Q.createSimplePaletteValueFilter()).map(([i])=>({props:{color:i},style:{"--variant-textColor":(o.vars||o).palette[i].main,"--variant-outlinedColor":(o.vars||o).palette[i].main,"--variant-outlinedBorder":o.alpha((o.vars||o).palette[i].main,.5),"--variant-containedColor":(o.vars||o).palette[i].contrastText,"--variant-containedBg":(o.vars||o).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(o.vars||o).palette[i].dark,"--variant-textBg":o.alpha((o.vars||o).palette[i].main,(o.vars||o).palette.action.hoverOpacity),"--variant-outlinedBorder":(o.vars||o).palette[i].main,"--variant-outlinedBg":o.alpha((o.vars||o).palette[i].main,(o.vars||o).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":o.vars?o.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":o.vars?o.vars.palette.Button.inheritContainedHoverBg:a,"--variant-textBg":o.alpha((o.vars||o).palette.text.primary,(o.vars||o).palette.action.hoverOpacity),"--variant-outlinedBg":o.alpha((o.vars||o).palette.text.primary,(o.vars||o).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:o.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:o.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:o.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:o.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:o.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:o.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:o.transitions.create(["background-color","box-shadow","border-color"],{duration:o.transitions.duration.short}),[`&.${x.loading}`]:{color:"transparent"}}}]}})),ao=g.styled("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,t)=>{const{ownerState:a}=o;return[t.startIcon,a.loading&&t.startIconLoadingStart,t[`iconSize${r.capitalize(a.size)}`]]}})(({theme:o})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:o.transitions.create(["opacity"],{duration:o.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...j]})),io=g.styled("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,t)=>{const{ownerState:a}=o;return[t.endIcon,a.loading&&t.endIconLoadingEnd,t[`iconSize${r.capitalize(a.size)}`]]}})(({theme:o})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:o.transitions.create(["opacity"],{duration:o.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...j]})),eo=g.styled("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:o})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(o.vars||o).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),$=g.styled("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),L=P.forwardRef(function(t,a){const i=P.useContext(E),l=P.useContext(W),e=T(i,t),s=g.useDefaultProps({props:e,name:"MuiButton"}),{children:p,color:y="primary",component:c="button",className:z,disabled:I=!1,disableElevation:k=!1,disableFocusRipple:B=!1,endIcon:C,focusVisibleClassName:M,fullWidth:V=!1,id:w,loading:v=null,loadingIndicator:q,loadingPosition:f="center",size:D="medium",startIcon:h,type:m,variant:F="text",..._}=s,N=X.useId(w),O=q??u.jsx(Z.CircularProgress,{"aria-labelledby":N,color:"inherit",size:16}),b={...s,color:y,component:c,disabled:I,disableElevation:k,disableFocusRipple:B,fullWidth:V,loading:v,loadingIndicator:O,loadingPosition:f,size:D,type:m,variant:F},d=to(b),G=(h||v&&f==="start")&&u.jsx(ao,{className:d.startIcon,ownerState:b,children:h||u.jsx($,{className:d.loadingIconPlaceholder,ownerState:b})}),U=(C||v&&f==="end")&&u.jsx(io,{className:d.endIcon,ownerState:b,children:C||u.jsx($,{className:d.loadingIconPlaceholder,ownerState:b})}),H=l||"",R=typeof v=="boolean"?u.jsx("span",{className:d.loadingWrapper,style:{display:"contents"},children:v&&u.jsx(eo,{className:d.loadingIndicator,ownerState:b,children:O})}):null;return u.jsxs(no,{ownerState:b,className:S.clsx(i.className,d.root,z,H),component:c,disabled:I||v,focusRipple:!B,focusVisibleClassName:S.clsx(d.focusVisible,M),ref:a,type:m,id:v?N:w,..._,classes:d,children:[G,f!=="end"&&R,p,f==="end"&&R,U]})});process.env.NODE_ENV!=="production"&&(L.propTypes={children:n.PropTypes.node,classes:n.PropTypes.object,className:n.PropTypes.string,color:n.PropTypes.oneOfType([n.PropTypes.oneOf(["inherit","primary","secondary","success","error","info","warning"]),n.PropTypes.string]),component:n.PropTypes.elementType,disabled:n.PropTypes.bool,disableElevation:n.PropTypes.bool,disableFocusRipple:n.PropTypes.bool,disableRipple:n.PropTypes.bool,endIcon:n.PropTypes.node,focusVisibleClassName:n.PropTypes.string,fullWidth:n.PropTypes.bool,href:n.PropTypes.string,id:n.PropTypes.string,loading:n.PropTypes.bool,loadingIndicator:n.PropTypes.node,loadingPosition:n.PropTypes.oneOf(["center","end","start"]),size:n.PropTypes.oneOfType([n.PropTypes.oneOf(["small","medium","large"]),n.PropTypes.string]),startIcon:n.PropTypes.node,sx:n.PropTypes.oneOfType([n.PropTypes.arrayOf(n.PropTypes.oneOfType([n.PropTypes.func,n.PropTypes.object,n.PropTypes.bool])),n.PropTypes.func,n.PropTypes.object]),type:n.PropTypes.oneOfType([n.PropTypes.oneOf(["button","reset","submit"]),n.PropTypes.string]),variant:n.PropTypes.oneOfType([n.PropTypes.oneOf(["contained","outlined","text"]),n.PropTypes.string])});exports.Button=L;exports.resolveProps=T;
|