@cgi-learning-hub/ui 1.7.0 → 1.8.0-dev.1756195117
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/Alert-CCAddvmN.cjs +1 -0
- package/dist/{Alert-OeEy_IGc.js → Alert-CY0ot7Q9.js} +7 -7
- package/dist/Alert-Dqk8yUzj.cjs +1 -0
- package/dist/{Alert-BhLIlUBu.js → Alert-bpzERS3n.js} +85 -84
- package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-C58-IF0F.js} +692 -675
- package/dist/Autocomplete-Dr_nOPLP.cjs +6 -0
- package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-BKhYF22u.js} +39 -38
- package/dist/Backdrop-D0LHg40V.cjs +1 -0
- package/dist/Badge-BLQ9lQDm.cjs +1 -0
- package/dist/{Badge-Bwcsnbsa.js → Badge-BYxYuye1.js} +11 -10
- package/dist/{Box-BI4osO9v.js → Box-CQ3BMNr_.js} +4 -4
- package/dist/Box-VEPJVs-3.cjs +1 -0
- package/dist/Button-7-ViQGIl.cjs +1 -0
- package/dist/{Button-DDV5EfwJ.js → Button-Bb0YW9kM.js} +162 -125
- package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-B1T-Lqz2.cjs} +1 -1
- package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-BEtR8-Lv.js} +7 -7
- package/dist/CardContent-DHsA4vHZ.cjs +1 -0
- package/dist/{CardContent-D3uGcxlr.js → CardContent-D_O38a2P.js} +4 -4
- package/dist/{Checkbox-BfBDowB2.js → Checkbox-BUc4uLEm.js} +85 -84
- package/dist/Checkbox-CCUAaeKc.cjs +1 -0
- package/dist/Chip-BqD6kZQu.js +574 -0
- package/dist/Chip-Gtwf_H4u.cjs +1 -0
- package/dist/CircularProgress-9SSFT_JT.cjs +28 -0
- package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-DLHunSUI.js} +15 -14
- package/dist/{Close-DEMecSZ6.js → Close-Bfa6kvKL.js} +1 -1
- package/dist/{Close-7S2hSoFB.cjs → Close-DgAWdt-h.cjs} +1 -1
- package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BmxvxW3h.js} +1 -1
- package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-Cmyp8ExI.cjs} +1 -1
- package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-CAWvvti1.cjs} +3 -3
- package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-R9JdfW5S.js} +19 -19
- package/dist/{DatePicker-DasS2wq6.js → DatePicker-CPl6e2jQ.js} +2766 -2762
- package/dist/DatePicker-DzmgZZm2.cjs +16 -0
- package/dist/DefaultPropsProvider--EgnwFDi.cjs +1 -0
- package/dist/DefaultPropsProvider-BwYGfRVu.js +312 -0
- package/dist/{Delete-B5VTV71K.js → Delete-BbsnDAxB.js} +1 -1
- package/dist/{Delete-BvkBJXEM.cjs → Delete-CP1l1lK0.cjs} +1 -1
- package/dist/{Dialog-DEWB041V.js → Dialog-Bopi9166.js} +18 -17
- package/dist/Dialog-DBeA-P-5.cjs +1 -0
- package/dist/{DialogContent-C294EkoQ.js → DialogContent-BjQDm7Pm.js} +4 -4
- package/dist/DialogContent-LhC5HOzk.cjs +1 -0
- package/dist/DialogTitle-BngRm8Ai.cjs +1 -0
- package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-Bo0Gi01d.js} +6 -6
- package/dist/Divider-BMvxID38.cjs +1 -0
- package/dist/{Divider-kKp4VqHh.js → Divider-DY0U9aTK.js} +27 -27
- package/dist/{Folder-BgQP5-Ve.js → Folder-BEocKcZQ.js} +1 -1
- package/dist/{Folder-BfLBqDHM.cjs → Folder-DH_JFLkH.cjs} +1 -1
- package/dist/{FormLabel-B3WAnPGP.js → FormLabel-BfxjK0e6.js} +17 -16
- package/dist/FormLabel-D8szBNPL.cjs +2 -0
- package/dist/Grid-BK4F7WMn.cjs +2 -0
- package/dist/{Grid-DFk-4jnZ.js → Grid-BcHG0Tju.js} +83 -75
- package/dist/{Grow-BULCy6GX.cjs → Grow-CYNh0mFI.cjs} +1 -1
- package/dist/{Grow-BfjkXlG8.js → Grow-DIADFmT4.js} +4 -4
- package/dist/{IconButton-BYvak8Nw.js → IconButton-Bkyl-NVE.js} +60 -59
- package/dist/IconButton-CW3Ax1Re.cjs +2 -0
- package/dist/InputAdornment-CUNCJ9uu.cjs +1 -0
- package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-RdcIDDtB.js} +16 -15
- package/dist/{InputBase-BS5oknUK.js → InputBase-BQvkpGXw.js} +52 -51
- package/dist/InputBase-DlQ4AmeL.cjs +4 -0
- package/dist/Link-BSTFC-cm.cjs +1 -0
- package/dist/{Link-DYPjEdvu.js → Link-B_3z4AZj.js} +81 -67
- package/dist/{List-CB_cqCSw.js → List-3IHU9lAZ.js} +3 -3
- package/dist/List-D6OWN6pC.cjs +1 -0
- package/dist/{ListItem-DAZQEir2.js → ListItem-C40mdSeT.js} +6 -6
- package/dist/ListItem-DAW9xSDR.cjs +1 -0
- package/dist/ListItemText-CSkIbczH.cjs +1 -0
- package/dist/{ListItemText-qfdqJP77.js → ListItemText-DKZYTXDc.js} +139 -139
- package/dist/{Menu-C61wLk41.cjs → Menu-CYG4lAV5.cjs} +5 -5
- package/dist/{Menu-9BK8jmzW.js → Menu-v2809GzG.js} +14 -14
- package/dist/MenuItem-CE1zzd3t.cjs +1 -0
- package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CtaUN7Tf.js} +94 -94
- package/dist/{Modal-D3Q9vEAI.js → Modal-5Sd-onxN.js} +8 -8
- package/dist/Modal-Czds3gRe.cjs +2 -0
- package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-D8Vmampk.js} +1 -1
- package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-oRU8DXq_.cjs} +1 -1
- package/dist/{Paper-IQckggbn.js → Paper-CVfXywZr.js} +5 -5
- package/dist/Paper-DfgCIvIc.cjs +2 -0
- package/dist/{Popper-CfFLBZ7-.js → Popper-AaewvJPc.js} +7 -7
- package/dist/Popper-D7N2KmyK.cjs +4 -0
- package/dist/Portal-Cmv45gpL.cjs +1 -0
- package/dist/{Portal-BlK6ttxt.js → Portal-PkRJuFYN.js} +17 -17
- package/dist/{Radio-DKiu6lVB.js → Radio-CJMMhGKK.js} +196 -190
- package/dist/Radio-DSTF6-0u.cjs +1 -0
- package/dist/RadioGroup-Dv2H8eCy.cjs +1 -0
- package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-HN8d8Ia5.js} +4 -4
- package/dist/{Select-CpNF3a57.js → Select-B3A-Agfw.js} +643 -608
- package/dist/Select-Dx8bhqFc.cjs +3 -0
- package/dist/Stack-BLHXEe7p.cjs +1 -0
- package/dist/{Stack-DSJ2DqNd.js → Stack-Dxm_cNN7.js} +17 -17
- package/dist/{Stepper-DE2l91K0.js → Stepper-BzU8ArmD.js} +24 -23
- package/dist/Stepper-DKRSy-u6.cjs +1 -0
- package/dist/{Switch-BIcwDf_P.js → Switch-Kkgo0WAh.js} +103 -99
- package/dist/Switch-pAIsJqNE.cjs +1 -0
- package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-D25OhIzI.js} +47 -43
- package/dist/SwitchBase-Rj-rHz4Z.cjs +1 -0
- package/dist/{Tab-Ckr6Bn59.js → Tab-CD-dlBpG.js} +29 -28
- package/dist/Tab-DAnZTr_J.cjs +4 -0
- package/dist/TextField-BOV-t6n5.cjs +1 -0
- package/dist/{TextField-BenBw4oE.js → TextField-hWLcPKMC.js} +25 -24
- package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-DnkyxRyH.js} +2192 -2136
- package/dist/ToggleButtonGroup-tZHZu6VI.cjs +138 -0
- package/dist/{Tooltip-KkgNQm4r.js → Tooltip-Dyhu9Axq.js} +87 -86
- package/dist/Tooltip-uaa7kSpb.cjs +4 -0
- package/dist/{Typography-Dy8r_tT2.js → Typography-BCrXGKM_.js} +8 -7
- package/dist/Typography-CzfDwsAP.cjs +1 -0
- package/dist/capitalize-CqfTUOe6.js +9 -0
- package/dist/capitalize-nmXHj--f.cjs +1 -0
- package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
- package/dist/components/ActionBar/ActionBar.d.ts +3 -0
- package/dist/components/ActionBar/ActionBar.es.js +63 -0
- package/dist/components/ActionBar/index.cjs.js +1 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionBar/index.es.js +4 -0
- package/dist/components/ActionBar/style.cjs.js +1 -0
- package/dist/components/ActionBar/style.es.js +61 -0
- package/dist/components/ActionBar/types.cjs.js +1 -0
- package/dist/components/ActionBar/types.d.ts +17 -0
- package/dist/components/ActionBar/types.es.js +1 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +4 -4
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/ColorPicker/ColorPicker.cjs.js +4 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +64 -64
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.es.js +22 -20
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +2 -2
- package/dist/components/TreeView/TreeView.es.js +41 -41
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/types.d.ts +1 -0
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.es.js +302 -300
- package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
- package/dist/components/stories/ActionBar.stories.d.ts +11 -0
- package/dist/components/stories/ActionBar.stories.es.js +206 -0
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Badge.stories.cjs.js +1 -1
- package/dist/components/stories/Badge.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/Stepper.stories.cjs.js +1 -1
- package/dist/components/stories/Stepper.stories.es.js +4 -4
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +1 -1
- package/dist/components/stories/TreeView.stories.es.js +12 -12
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/composeClasses-CF8TNlsM.cjs +1 -0
- package/dist/composeClasses-YZNMOb8-.js +51 -0
- package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-CjBLQGwH.js} +9 -8
- package/dist/createSvgIcon-D6Bf0D-L.cjs +1 -0
- package/dist/dividerClasses-B-pTb1RM.cjs +1 -0
- package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DaeUd1Wt.js} +1 -1
- package/dist/{elementAcceptingRef-CEweUuUA.js → elementAcceptingRef-CZLfau9O.js} +1 -1
- package/dist/{elementAcceptingRef-BZ42cOGO.cjs → elementAcceptingRef-CuMilXz3.cjs} +1 -1
- package/dist/{elementTypeAcceptingRef-DOeckaXy.js → elementTypeAcceptingRef-vRb2iI4O.js} +1 -1
- package/dist/{elementTypeAcceptingRef-BwZv9xBI.cjs → elementTypeAcceptingRef-vjR5jGLx.cjs} +1 -1
- package/dist/extendSxProp-B7ear6Mt.cjs +1 -0
- package/dist/{extendSxProp-CesAxox9.js → extendSxProp-CYcZXmNy.js} +1 -1
- package/dist/generateUtilityClasses-BMLLB4Uz.cjs +55 -0
- package/dist/generateUtilityClasses-BSBs8sf8.js +2703 -0
- package/dist/{index-Sy88PpwE.js → index-B9vkf41S.js} +2 -2
- package/dist/{index-DIyAQH20.cjs → index-BS46Ff4t.cjs} +1 -1
- package/dist/{index-DX2Sl0Ig.js → index-Ba4TEBpP.js} +1 -1
- package/dist/index-C7LHZznM.cjs +1 -0
- package/dist/{index-CX0sAlmK.js → index-CJMnfcQs.js} +1 -1
- package/dist/{index-CrINMjCH.cjs → index-D_kvDIOz.cjs} +1 -1
- package/dist/{index-8G2jvqZ8.js → index-DoJhn5B5.js} +48 -42
- package/dist/{index-DLnSn8GT.cjs → index-kjfz41UI.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -300
- package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-BXp3ggQU.js} +1 -1
- package/dist/listItemTextClasses-DbXYCyua.cjs +1 -0
- package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-DZ3r2a_u.cjs} +1 -1
- package/dist/{memoTheme-DAFDflPY.js → memoTheme-_Lq-6t75.js} +1 -1
- package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-BauotErM.js} +1 -1
- package/dist/mergeSlotProps-DxEGON0Z.cjs +1 -0
- package/dist/{refType-Dp7CJc86.js → refType-8hihVLUh.js} +1 -1
- package/dist/{refType-B_IEJm4x.cjs → refType-DJyA--UV.cjs} +1 -1
- package/dist/useSlot-BQ5B4uxv.cjs +1 -0
- package/dist/{useSlot-BzdKwDQ5.js → useSlot-EJyrOSVX.js} +1 -1
- package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-BgLi3k0l.cjs} +1 -1
- package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-Dqdl-VjK.js} +1 -1
- package/dist/useTheme-B-uC25ym.js +11 -0
- package/dist/useTheme-BF7BEGuC.cjs +1 -0
- package/dist/useTheme-Bp-Kqg9p.cjs +1 -0
- package/dist/{useTheme--i9fxE_A.js → useTheme-DiTK5w6x.js} +1 -1
- package/dist/useThemeProps-BPpcxcBc.cjs +1 -0
- package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BR4m1AIN.cjs} +1 -1
- package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-Ddl3KJ8f.js} +4 -4
- package/dist/useThemeProps-zsxJokxk.js +17 -0
- package/dist/{utils-BQenyzDz.js → utils-B_pVp6UZ.js} +3 -3
- package/dist/utils-XujN9ndp.cjs +1 -0
- package/package.json +7 -7
- package/dist/Alert-DPSZppEy.cjs +0 -1
- package/dist/Alert-rPyl-bqs.cjs +0 -1
- package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
- package/dist/Backdrop-DeNTZlA5.cjs +0 -1
- package/dist/Badge-DFzvdVS-.cjs +0 -1
- package/dist/Box-DR3n_po_.cjs +0 -1
- package/dist/Button-DyJV5llI.cjs +0 -1
- package/dist/CardContent-COfaU6E0.cjs +0 -1
- package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
- package/dist/Chip-BG0OU0KI.cjs +0 -1
- package/dist/Chip-DmjZbx_X.js +0 -572
- package/dist/CircularProgress-CXXyPavb.cjs +0 -28
- package/dist/DatePicker-CH8XRum0.cjs +0 -16
- package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
- package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
- package/dist/Dialog-Btagj_Gt.cjs +0 -1
- package/dist/DialogContent-DXfUge3c.cjs +0 -1
- package/dist/DialogTitle-y2PrK6uU.cjs +0 -1
- package/dist/Divider-NermA5hZ.cjs +0 -1
- package/dist/FormLabel-JrZR9kt8.cjs +0 -2
- package/dist/Grid-BHYQ3JNy.cjs +0 -2
- package/dist/IconButton-CjtMjZ9e.cjs +0 -2
- package/dist/InputAdornment-DvHQMisT.cjs +0 -1
- package/dist/InputBase-DPdKpmOz.cjs +0 -4
- package/dist/Link-BwbY60dS.cjs +0 -1
- package/dist/List-t9bWFewp.cjs +0 -1
- package/dist/ListItem-DP7YmqZk.cjs +0 -1
- package/dist/ListItemText-cVnimPLO.cjs +0 -1
- package/dist/MenuItem-DHM3qxwr.cjs +0 -1
- package/dist/Modal-DkzrSKHd.cjs +0 -2
- package/dist/Paper-BbqZL5vx.cjs +0 -2
- package/dist/Popper-DvWx5tR3.cjs +0 -4
- package/dist/Portal-CPOCKeMh.cjs +0 -1
- package/dist/Radio-Bwh_t6PC.cjs +0 -1
- package/dist/RadioGroup-Cvnwt4JE.cjs +0 -1
- package/dist/Select-3HP39Z7o.cjs +0 -3
- package/dist/Stack-CIyfgZCM.cjs +0 -1
- package/dist/Stepper-CXHfLPtA.cjs +0 -1
- package/dist/Switch-CTEqKDiv.cjs +0 -1
- package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
- package/dist/Tab-r5imbU9z.cjs +0 -4
- package/dist/TextField-Brw3X9cn.cjs +0 -1
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
- package/dist/Tooltip-BAOKe3SY.cjs +0 -4
- package/dist/Typography-CSTmKyr8.cjs +0 -1
- package/dist/createSvgIcon-IET9soda.cjs +0 -1
- package/dist/dividerClasses-C07OJKLL.cjs +0 -1
- package/dist/extendSxProp-ZMCunXYm.cjs +0 -1
- package/dist/identifier-BoZelETM.cjs +0 -55
- package/dist/identifier-PWESmBq6.js +0 -2598
- package/dist/index-D3lMWU76.cjs +0 -1
- package/dist/listItemTextClasses-CJDKfXvl.cjs +0 -1
- package/dist/mergeSlotProps-DXwOW3FE.cjs +0 -1
- package/dist/styled-C7gyRDlj.js +0 -5
- package/dist/styled-Cax0O00h.cjs +0 -1
- package/dist/useSlot-C2FjoUpF.cjs +0 -1
- package/dist/useTheme-BLMJDSsv.cjs +0 -1
- package/dist/useTheme-CooC_6Ep.cjs +0 -1
- package/dist/useTheme-XJ9sFCWX.js +0 -11
- package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
- package/dist/useThemeProps-CQ9rZe7g.js +0 -17
- package/dist/utils-ByXw_ZY1.cjs +0 -1
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import * as f from "react";
|
|
2
|
-
import { P as
|
|
3
|
-
import { F as j, G as w, H as B
|
|
4
|
-
import { S as M } from "./SwitchBase-
|
|
5
|
-
import { c as h } from "./createSvgIcon-
|
|
6
|
-
import { jsx as
|
|
7
|
-
import { u as
|
|
8
|
-
import { m as
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
11
|
-
import { m as
|
|
12
|
-
|
|
2
|
+
import { P as o } from "./index-B9vkf41S.js";
|
|
3
|
+
import { F as j, G as w, H as B } from "./generateUtilityClasses-BSBs8sf8.js";
|
|
4
|
+
import { S as M } from "./SwitchBase-D25OhIzI.js";
|
|
5
|
+
import { c as h } from "./createSvgIcon-CjBLQGwH.js";
|
|
6
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
7
|
+
import { u as $, s as F, c as H, r as V } from "./DefaultPropsProvider-BwYGfRVu.js";
|
|
8
|
+
import { m as N } from "./memoTheme-_Lq-6t75.js";
|
|
9
|
+
import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
10
|
+
import { u as E } from "./useSlot-EJyrOSVX.js";
|
|
11
|
+
import { m as U } from "./mergeSlotProps-BauotErM.js";
|
|
12
|
+
import { c } from "./capitalize-CqfTUOe6.js";
|
|
13
|
+
const D = h(/* @__PURE__ */ r("path", {
|
|
13
14
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
14
|
-
}), "CheckBoxOutlineBlank"),
|
|
15
|
+
}), "CheckBoxOutlineBlank"), L = h(/* @__PURE__ */ r("path", {
|
|
15
16
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
16
|
-
}), "CheckBox"),
|
|
17
|
+
}), "CheckBox"), q = h(/* @__PURE__ */ r("path", {
|
|
17
18
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
18
19
|
}), "IndeterminateCheckBox");
|
|
19
|
-
function
|
|
20
|
-
return w("MuiCheckbox",
|
|
20
|
+
function G(e) {
|
|
21
|
+
return w("MuiCheckbox", e);
|
|
21
22
|
}
|
|
22
|
-
const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), _ = (
|
|
23
|
+
const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), _ = (e) => {
|
|
23
24
|
const {
|
|
24
25
|
classes: t,
|
|
25
|
-
indeterminate:
|
|
26
|
-
color:
|
|
26
|
+
indeterminate: s,
|
|
27
|
+
color: n,
|
|
27
28
|
size: i
|
|
28
|
-
} =
|
|
29
|
-
root: ["root",
|
|
30
|
-
}, p =
|
|
29
|
+
} = e, l = {
|
|
30
|
+
root: ["root", s && "indeterminate", `color${c(n)}`, `size${c(i)}`]
|
|
31
|
+
}, p = H(l, G, t);
|
|
31
32
|
return {
|
|
32
33
|
...t,
|
|
33
34
|
// forward the disabled and checked classes to the SwitchBase
|
|
34
35
|
...p
|
|
35
36
|
};
|
|
36
|
-
}, A =
|
|
37
|
-
shouldForwardProp: (
|
|
37
|
+
}, A = F(M, {
|
|
38
|
+
shouldForwardProp: (e) => V(e) || e === "classes",
|
|
38
39
|
name: "MuiCheckbox",
|
|
39
40
|
slot: "Root",
|
|
40
|
-
overridesResolver: (
|
|
41
|
+
overridesResolver: (e, t) => {
|
|
41
42
|
const {
|
|
42
|
-
ownerState:
|
|
43
|
-
} =
|
|
44
|
-
return [t.root,
|
|
43
|
+
ownerState: s
|
|
44
|
+
} = e;
|
|
45
|
+
return [t.root, s.indeterminate && t.indeterminate, t[`size${c(s.size)}`], s.color !== "default" && t[`color${c(s.color)}`]];
|
|
45
46
|
}
|
|
46
|
-
})(
|
|
47
|
-
theme:
|
|
47
|
+
})(N(({
|
|
48
|
+
theme: e
|
|
48
49
|
}) => ({
|
|
49
|
-
color: (
|
|
50
|
+
color: (e.vars || e).palette.text.secondary,
|
|
50
51
|
variants: [{
|
|
51
52
|
props: {
|
|
52
53
|
color: "default",
|
|
@@ -54,29 +55,29 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
54
55
|
},
|
|
55
56
|
style: {
|
|
56
57
|
"&:hover": {
|
|
57
|
-
backgroundColor:
|
|
58
|
+
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity)
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
|
-
}, ...Object.entries(
|
|
61
|
+
}, ...Object.entries(e.palette).filter(I()).map(([t]) => ({
|
|
61
62
|
props: {
|
|
62
63
|
color: t,
|
|
63
64
|
disableRipple: !1
|
|
64
65
|
},
|
|
65
66
|
style: {
|
|
66
67
|
"&:hover": {
|
|
67
|
-
backgroundColor:
|
|
68
|
+
backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity)
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
|
-
})), ...Object.entries(
|
|
71
|
+
})), ...Object.entries(e.palette).filter(I()).map(([t]) => ({
|
|
71
72
|
props: {
|
|
72
73
|
color: t
|
|
73
74
|
},
|
|
74
75
|
style: {
|
|
75
76
|
[`&.${b.checked}, &.${b.indeterminate}`]: {
|
|
76
|
-
color: (
|
|
77
|
+
color: (e.vars || e).palette[t].main
|
|
77
78
|
},
|
|
78
79
|
[`&.${b.disabled}`]: {
|
|
79
|
-
color: (
|
|
80
|
+
color: (e.vars || e).palette.action.disabled
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
})), {
|
|
@@ -93,38 +94,38 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
96
|
}]
|
|
96
|
-
}))), J = /* @__PURE__ */
|
|
97
|
-
const
|
|
97
|
+
}))), J = /* @__PURE__ */ r(L, {}), K = /* @__PURE__ */ r(D, {}), Q = /* @__PURE__ */ r(q, {}), W = /* @__PURE__ */ f.forwardRef(function(t, s) {
|
|
98
|
+
const n = $({
|
|
98
99
|
props: t,
|
|
99
100
|
name: "MuiCheckbox"
|
|
100
101
|
}), {
|
|
101
102
|
checkedIcon: i = J,
|
|
102
103
|
color: l = "primary",
|
|
103
|
-
icon: p =
|
|
104
|
-
indeterminate:
|
|
105
|
-
indeterminateIcon:
|
|
106
|
-
inputProps:
|
|
104
|
+
icon: p = K,
|
|
105
|
+
indeterminate: a = !1,
|
|
106
|
+
indeterminateIcon: k = Q,
|
|
107
|
+
inputProps: S,
|
|
107
108
|
size: d = "medium",
|
|
108
109
|
disableRipple: y = !1,
|
|
109
|
-
className:
|
|
110
|
+
className: O,
|
|
110
111
|
slots: C = {},
|
|
111
|
-
slotProps:
|
|
112
|
-
...
|
|
113
|
-
} =
|
|
114
|
-
...
|
|
112
|
+
slotProps: v = {},
|
|
113
|
+
...g
|
|
114
|
+
} = n, x = a ? k : p, P = a ? k : i, m = {
|
|
115
|
+
...n,
|
|
115
116
|
disableRipple: y,
|
|
116
117
|
color: l,
|
|
117
|
-
indeterminate:
|
|
118
|
+
indeterminate: a,
|
|
118
119
|
size: d
|
|
119
|
-
}, z = _(m), u =
|
|
120
|
-
ref:
|
|
120
|
+
}, z = _(m), u = v.input ?? S, [T, R] = E("root", {
|
|
121
|
+
ref: s,
|
|
121
122
|
elementType: A,
|
|
122
|
-
className: B(z.root,
|
|
123
|
+
className: B(z.root, O),
|
|
123
124
|
shouldForwardComponentProp: !0,
|
|
124
125
|
externalForwardedProps: {
|
|
125
126
|
slots: C,
|
|
126
|
-
slotProps:
|
|
127
|
-
...
|
|
127
|
+
slotProps: v,
|
|
128
|
+
...g
|
|
128
129
|
},
|
|
129
130
|
ownerState: m,
|
|
130
131
|
additionalProps: {
|
|
@@ -138,18 +139,18 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
138
139
|
disableRipple: y,
|
|
139
140
|
slots: C,
|
|
140
141
|
slotProps: {
|
|
141
|
-
input:
|
|
142
|
-
"data-indeterminate":
|
|
142
|
+
input: U(typeof u == "function" ? u(m) : u, {
|
|
143
|
+
"data-indeterminate": a
|
|
143
144
|
})
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
});
|
|
147
|
-
return /* @__PURE__ */
|
|
148
|
-
|
|
148
|
+
return /* @__PURE__ */ r(T, {
|
|
149
|
+
...R,
|
|
149
150
|
classes: z
|
|
150
151
|
});
|
|
151
152
|
});
|
|
152
|
-
process.env.NODE_ENV !== "production" && (
|
|
153
|
+
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
153
154
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
154
155
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
155
156
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -157,50 +158,50 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
157
158
|
/**
|
|
158
159
|
* If `true`, the component is checked.
|
|
159
160
|
*/
|
|
160
|
-
checked:
|
|
161
|
+
checked: o.bool,
|
|
161
162
|
/**
|
|
162
163
|
* The icon to display when the component is checked.
|
|
163
164
|
* @default <CheckBoxIcon />
|
|
164
165
|
*/
|
|
165
|
-
checkedIcon:
|
|
166
|
+
checkedIcon: o.node,
|
|
166
167
|
/**
|
|
167
168
|
* Override or extend the styles applied to the component.
|
|
168
169
|
*/
|
|
169
|
-
classes:
|
|
170
|
+
classes: o.object,
|
|
170
171
|
/**
|
|
171
172
|
* @ignore
|
|
172
173
|
*/
|
|
173
|
-
className:
|
|
174
|
+
className: o.string,
|
|
174
175
|
/**
|
|
175
176
|
* The color of the component.
|
|
176
177
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
177
178
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
178
179
|
* @default 'primary'
|
|
179
180
|
*/
|
|
180
|
-
color:
|
|
181
|
+
color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
181
182
|
/**
|
|
182
183
|
* The default checked state. Use when the component is not controlled.
|
|
183
184
|
*/
|
|
184
|
-
defaultChecked:
|
|
185
|
+
defaultChecked: o.bool,
|
|
185
186
|
/**
|
|
186
187
|
* If `true`, the component is disabled.
|
|
187
188
|
* @default false
|
|
188
189
|
*/
|
|
189
|
-
disabled:
|
|
190
|
+
disabled: o.bool,
|
|
190
191
|
/**
|
|
191
192
|
* If `true`, the ripple effect is disabled.
|
|
192
193
|
* @default false
|
|
193
194
|
*/
|
|
194
|
-
disableRipple:
|
|
195
|
+
disableRipple: o.bool,
|
|
195
196
|
/**
|
|
196
197
|
* The icon to display when the component is unchecked.
|
|
197
198
|
* @default <CheckBoxOutlineBlankIcon />
|
|
198
199
|
*/
|
|
199
|
-
icon:
|
|
200
|
+
icon: o.node,
|
|
200
201
|
/**
|
|
201
202
|
* The id of the `input` element.
|
|
202
203
|
*/
|
|
203
|
-
id:
|
|
204
|
+
id: o.string,
|
|
204
205
|
/**
|
|
205
206
|
* If `true`, the component appears indeterminate.
|
|
206
207
|
* This does not set the native input element to indeterminate due
|
|
@@ -208,63 +209,63 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
208
209
|
* However, we set a `data-indeterminate` attribute on the `input`.
|
|
209
210
|
* @default false
|
|
210
211
|
*/
|
|
211
|
-
indeterminate:
|
|
212
|
+
indeterminate: o.bool,
|
|
212
213
|
/**
|
|
213
214
|
* The icon to display when the component is indeterminate.
|
|
214
215
|
* @default <IndeterminateCheckBoxIcon />
|
|
215
216
|
*/
|
|
216
|
-
indeterminateIcon:
|
|
217
|
+
indeterminateIcon: o.node,
|
|
217
218
|
/**
|
|
218
219
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
219
220
|
* @deprecated Use `slotProps.input` 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.
|
|
220
221
|
*/
|
|
221
|
-
inputProps:
|
|
222
|
+
inputProps: o.object,
|
|
222
223
|
/**
|
|
223
224
|
* Callback fired when the state is changed.
|
|
224
225
|
*
|
|
225
226
|
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
226
227
|
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
227
228
|
*/
|
|
228
|
-
onChange:
|
|
229
|
+
onChange: o.func,
|
|
229
230
|
/**
|
|
230
231
|
* If `true`, the `input` element is required.
|
|
231
232
|
* @default false
|
|
232
233
|
*/
|
|
233
|
-
required:
|
|
234
|
+
required: o.bool,
|
|
234
235
|
/**
|
|
235
236
|
* The size of the component.
|
|
236
237
|
* `small` is equivalent to the dense checkbox styling.
|
|
237
238
|
* @default 'medium'
|
|
238
239
|
*/
|
|
239
|
-
size:
|
|
240
|
+
size: o.oneOfType([o.oneOf(["medium", "small"]), o.string]),
|
|
240
241
|
/**
|
|
241
242
|
* The props used for each slot inside.
|
|
242
243
|
* @default {}
|
|
243
244
|
*/
|
|
244
|
-
slotProps:
|
|
245
|
-
input:
|
|
246
|
-
root:
|
|
245
|
+
slotProps: o.shape({
|
|
246
|
+
input: o.oneOfType([o.func, o.object]),
|
|
247
|
+
root: o.oneOfType([o.func, o.object])
|
|
247
248
|
}),
|
|
248
249
|
/**
|
|
249
250
|
* The components used for each slot inside.
|
|
250
251
|
* @default {}
|
|
251
252
|
*/
|
|
252
|
-
slots:
|
|
253
|
-
input:
|
|
254
|
-
root:
|
|
253
|
+
slots: o.shape({
|
|
254
|
+
input: o.elementType,
|
|
255
|
+
root: o.elementType
|
|
255
256
|
}),
|
|
256
257
|
/**
|
|
257
258
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
258
259
|
*/
|
|
259
|
-
sx:
|
|
260
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
260
261
|
/**
|
|
261
262
|
* The value of the component. The DOM API casts this to a string.
|
|
262
263
|
* The browser uses "on" as the default value.
|
|
263
264
|
*/
|
|
264
|
-
value:
|
|
265
|
+
value: o.any
|
|
265
266
|
});
|
|
266
267
|
export {
|
|
267
|
-
|
|
268
|
+
W as C,
|
|
268
269
|
b as c,
|
|
269
|
-
|
|
270
|
+
G as g
|
|
270
271
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const M=require("react"),e=require("./index-kjfz41UI.cjs"),b=require("./generateUtilityClasses-BMLLB4Uz.cjs"),V=require("./SwitchBase-Rj-rHz4Z.cjs"),m=require("./createSvgIcon-D6Bf0D-L.cjs"),n=require("react/jsx-runtime"),a=require("./DefaultPropsProvider--EgnwFDi.cjs"),F=require("./memoTheme-DZ3r2a_u.cjs"),z=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),$=require("./useSlot-BQ5B4uxv.cjs"),N=require("./mergeSlotProps-DxEGON0Z.cjs"),i=require("./capitalize-nmXHj--f.cjs");function U(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const f=U(M),D=m.createSvgIcon(n.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),H=m.createSvgIcon(n.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),E=m.createSvgIcon(n.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function I(o){return b.generateUtilityClass("MuiCheckbox",o)}const p=b.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),_=o=>{const{classes:t,indeterminate:r,color:s,size:l}=o,d={root:["root",r&&"indeterminate",`color${i.capitalize(s)}`,`size${i.capitalize(l)}`]},u=a.composeClasses(d,I,t);return{...t,...u}},L=a.styled(V.SwitchBase,{shouldForwardProp:o=>a.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.indeterminate&&t.indeterminate,t[`size${i.capitalize(r.size)}`],r.color!=="default"&&t[`color${i.capitalize(r.color)}`]]}})(F.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:o.alpha((o.vars||o).palette.action.active,(o.vars||o).palette.action.hoverOpacity)}}},...Object.entries(o.palette).filter(z.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:o.alpha((o.vars||o).palette[t].main,(o.vars||o).palette.action.hoverOpacity)}}})),...Object.entries(o.palette).filter(z.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${p.checked}, &.${p.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${p.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),A=n.jsx(H,{}),G=n.jsx(D,{}),J=n.jsx(E,{}),O=f.forwardRef(function(t,r){const s=a.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:l=A,color:d="primary",icon:u=G,indeterminate:c=!1,indeterminateIcon:h=J,inputProps:j,size:y="medium",disableRipple:k=!1,className:q,slots:x={},slotProps:C={},...R}=s,v=c?h:u,S=c?h:l,P={...s,disableRipple:k,color:d,indeterminate:c,size:y},g=_(P),T=C.input??j,[w,B]=$.useSlot("root",{ref:r,elementType:L,className:b.clsx(g.root,q),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:C,...R},ownerState:P,additionalProps:{type:"checkbox",icon:f.cloneElement(v,{fontSize:v.props.fontSize??y}),checkedIcon:f.cloneElement(S,{fontSize:S.props.fontSize??y}),disableRipple:k,slots:x,slotProps:{input:N.mergeSlotProps(typeof T=="function"?T(P):T,{"data-indeterminate":c})}}});return n.jsx(w,{...B,classes:g})});process.env.NODE_ENV!=="production"&&(O.propTypes={checked:e.PropTypes.bool,checkedIcon: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]),defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.node,id:e.PropTypes.string,indeterminate:e.PropTypes.bool,indeterminateIcon:e.PropTypes.node,inputProps:e.PropTypes.object,onChange:e.PropTypes.func,required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input: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]),value:e.PropTypes.any});exports.Checkbox=O;exports.checkboxClasses=p;exports.getCheckboxUtilityClass=I;
|