@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,47 +1,48 @@
|
|
|
1
1
|
import * as y from "react";
|
|
2
|
-
import { P as
|
|
3
|
-
import { F as
|
|
4
|
-
import { m as w } from "./memoTheme-
|
|
5
|
-
import { f as
|
|
6
|
-
import { u as Z } from "./useSlot-
|
|
2
|
+
import { P as o } from "./index-B9vkf41S.js";
|
|
3
|
+
import { F as H, G as W, H as q } from "./generateUtilityClasses-BSBs8sf8.js";
|
|
4
|
+
import { m as w } from "./memoTheme-_Lq-6t75.js";
|
|
5
|
+
import { f as to } from "./formControlState-vgaj2ksH.js";
|
|
6
|
+
import { u as Z } from "./useSlot-EJyrOSVX.js";
|
|
7
7
|
import { jsx as d, jsxs as O } from "react/jsx-runtime";
|
|
8
|
-
import { u as J, s as
|
|
9
|
-
import { u as
|
|
10
|
-
import { T as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { c as
|
|
15
|
-
import { c as
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
import { u as J, s as R, c as K, r as Q } from "./DefaultPropsProvider-BwYGfRVu.js";
|
|
9
|
+
import { u as X } from "./useFormControl-CatNKXAi.js";
|
|
10
|
+
import { T as G } from "./Typography-BCrXGKM_.js";
|
|
11
|
+
import { c as h } from "./capitalize-CqfTUOe6.js";
|
|
12
|
+
import { r as Y } from "./refType-8hihVLUh.js";
|
|
13
|
+
import { S as ro } from "./SwitchBase-D25OhIzI.js";
|
|
14
|
+
import { c as oo } from "./createSvgIcon-CjBLQGwH.js";
|
|
15
|
+
import { c as _ } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
16
|
+
import { c as so } from "./createChainedFunction-C0nujS3O.js";
|
|
17
|
+
function ao(e) {
|
|
18
|
+
return W("MuiFormControlLabel", e);
|
|
18
19
|
}
|
|
19
|
-
const S =
|
|
20
|
+
const S = H("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), no = (e) => {
|
|
20
21
|
const {
|
|
21
22
|
classes: t,
|
|
22
23
|
disabled: r,
|
|
23
|
-
labelPlacement:
|
|
24
|
-
error:
|
|
24
|
+
labelPlacement: s,
|
|
25
|
+
error: a,
|
|
25
26
|
required: g
|
|
26
|
-
} =
|
|
27
|
-
root: ["root", r && "disabled", `labelPlacement${h(
|
|
27
|
+
} = e, P = {
|
|
28
|
+
root: ["root", r && "disabled", `labelPlacement${h(s)}`, a && "error", g && "required"],
|
|
28
29
|
label: ["label", r && "disabled"],
|
|
29
|
-
asterisk: ["asterisk",
|
|
30
|
+
asterisk: ["asterisk", a && "error"]
|
|
30
31
|
};
|
|
31
|
-
return
|
|
32
|
-
},
|
|
32
|
+
return K(P, ao, t);
|
|
33
|
+
}, lo = R("label", {
|
|
33
34
|
name: "MuiFormControlLabel",
|
|
34
35
|
slot: "Root",
|
|
35
|
-
overridesResolver: (
|
|
36
|
+
overridesResolver: (e, t) => {
|
|
36
37
|
const {
|
|
37
38
|
ownerState: r
|
|
38
|
-
} =
|
|
39
|
+
} = e;
|
|
39
40
|
return [{
|
|
40
41
|
[`& .${S.label}`]: t.label
|
|
41
42
|
}, t.root, t[`labelPlacement${h(r.labelPlacement)}`]];
|
|
42
43
|
}
|
|
43
44
|
})(w(({
|
|
44
|
-
theme:
|
|
45
|
+
theme: e
|
|
45
46
|
}) => ({
|
|
46
47
|
display: "inline-flex",
|
|
47
48
|
alignItems: "center",
|
|
@@ -57,7 +58,7 @@ const S = K("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlaceme
|
|
|
57
58
|
},
|
|
58
59
|
[`& .${S.label}`]: {
|
|
59
60
|
[`&.${S.disabled}`]: {
|
|
60
|
-
color: (
|
|
61
|
+
color: (e.vars || e).palette.text.disabled
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
64
|
variants: [{
|
|
@@ -91,23 +92,23 @@ const S = K("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlaceme
|
|
|
91
92
|
// used for row presentation of radio/checkbox
|
|
92
93
|
}
|
|
93
94
|
}]
|
|
94
|
-
}))),
|
|
95
|
+
}))), io = R("span", {
|
|
95
96
|
name: "MuiFormControlLabel",
|
|
96
97
|
slot: "Asterisk"
|
|
97
98
|
})(w(({
|
|
98
|
-
theme:
|
|
99
|
+
theme: e
|
|
99
100
|
}) => ({
|
|
100
101
|
[`&.${S.error}`]: {
|
|
101
|
-
color: (
|
|
102
|
+
color: (e.vars || e).palette.error.main
|
|
102
103
|
}
|
|
103
|
-
}))),
|
|
104
|
-
const
|
|
104
|
+
}))), co = /* @__PURE__ */ y.forwardRef(function(t, r) {
|
|
105
|
+
const s = J({
|
|
105
106
|
props: t,
|
|
106
107
|
name: "MuiFormControlLabel"
|
|
107
108
|
}), {
|
|
108
|
-
checked:
|
|
109
|
+
checked: a,
|
|
109
110
|
className: g,
|
|
110
|
-
componentsProps:
|
|
111
|
+
componentsProps: P = {},
|
|
111
112
|
control: u,
|
|
112
113
|
disabled: N,
|
|
113
114
|
disableTypography: x,
|
|
@@ -115,53 +116,53 @@ const S = K("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlaceme
|
|
|
115
116
|
label: F,
|
|
116
117
|
labelPlacement: z = "end",
|
|
117
118
|
name: U,
|
|
118
|
-
onChange:
|
|
119
|
+
onChange: I,
|
|
119
120
|
required: T,
|
|
120
121
|
slots: j = {},
|
|
121
|
-
slotProps:
|
|
122
|
-
value:
|
|
122
|
+
slotProps: B = {},
|
|
123
|
+
value: M,
|
|
123
124
|
...f
|
|
124
|
-
} =
|
|
125
|
-
disabled:
|
|
125
|
+
} = s, c = X(), v = N ?? u.props.disabled ?? (c == null ? void 0 : c.disabled), n = T ?? u.props.required, C = {
|
|
126
|
+
disabled: v,
|
|
126
127
|
required: n
|
|
127
128
|
};
|
|
128
129
|
["checked", "name", "onChange", "value", "inputRef"].forEach((b) => {
|
|
129
|
-
typeof u.props[b] > "u" && typeof
|
|
130
|
+
typeof u.props[b] > "u" && typeof s[b] < "u" && (C[b] = s[b]);
|
|
130
131
|
});
|
|
131
|
-
const
|
|
132
|
-
props:
|
|
132
|
+
const $ = to({
|
|
133
|
+
props: s,
|
|
133
134
|
muiFormControl: c,
|
|
134
135
|
states: ["error"]
|
|
135
136
|
}), p = {
|
|
136
|
-
...
|
|
137
|
-
disabled:
|
|
137
|
+
...s,
|
|
138
|
+
disabled: v,
|
|
138
139
|
labelPlacement: z,
|
|
139
140
|
required: n,
|
|
140
|
-
error:
|
|
141
|
-
}, m =
|
|
141
|
+
error: $.error
|
|
142
|
+
}, m = no(p), E = {
|
|
142
143
|
slots: j,
|
|
143
144
|
slotProps: {
|
|
144
|
-
...
|
|
145
|
-
...
|
|
145
|
+
...P,
|
|
146
|
+
...B
|
|
146
147
|
}
|
|
147
|
-
}, [
|
|
148
|
-
elementType:
|
|
149
|
-
externalForwardedProps:
|
|
148
|
+
}, [L, l] = Z("typography", {
|
|
149
|
+
elementType: G,
|
|
150
|
+
externalForwardedProps: E,
|
|
150
151
|
ownerState: p
|
|
151
152
|
});
|
|
152
153
|
let i = F;
|
|
153
|
-
return i != null && i.type !==
|
|
154
|
+
return i != null && i.type !== G && !x && (i = /* @__PURE__ */ d(L, {
|
|
154
155
|
component: "span",
|
|
155
156
|
...l,
|
|
156
|
-
className:
|
|
157
|
+
className: q(m.label, l == null ? void 0 : l.className),
|
|
157
158
|
children: i
|
|
158
|
-
})), /* @__PURE__ */ O(
|
|
159
|
-
className:
|
|
159
|
+
})), /* @__PURE__ */ O(lo, {
|
|
160
|
+
className: q(m.root, g),
|
|
160
161
|
ownerState: p,
|
|
161
162
|
ref: r,
|
|
162
163
|
...f,
|
|
163
164
|
children: [/* @__PURE__ */ y.cloneElement(u, C), n ? /* @__PURE__ */ O("div", {
|
|
164
|
-
children: [i, /* @__PURE__ */ O(
|
|
165
|
+
children: [i, /* @__PURE__ */ O(io, {
|
|
165
166
|
ownerState: p,
|
|
166
167
|
"aria-hidden": !0,
|
|
167
168
|
className: m.asterisk,
|
|
@@ -170,7 +171,7 @@ const S = K("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlaceme
|
|
|
170
171
|
}) : i]
|
|
171
172
|
});
|
|
172
173
|
});
|
|
173
|
-
process.env.NODE_ENV !== "production" && (
|
|
174
|
+
process.env.NODE_ENV !== "production" && (co.propTypes = {
|
|
174
175
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
175
176
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
176
177
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -178,107 +179,112 @@ process.env.NODE_ENV !== "production" && (pe.propTypes = {
|
|
|
178
179
|
/**
|
|
179
180
|
* If `true`, the component appears selected.
|
|
180
181
|
*/
|
|
181
|
-
checked:
|
|
182
|
+
checked: o.bool,
|
|
182
183
|
/**
|
|
183
184
|
* Override or extend the styles applied to the component.
|
|
184
185
|
*/
|
|
185
|
-
classes:
|
|
186
|
+
classes: o.object,
|
|
186
187
|
/**
|
|
187
188
|
* @ignore
|
|
188
189
|
*/
|
|
189
|
-
className:
|
|
190
|
+
className: o.string,
|
|
190
191
|
/**
|
|
191
192
|
* The props used for each slot inside.
|
|
192
193
|
* @default {}
|
|
193
194
|
* @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.
|
|
194
195
|
*/
|
|
195
|
-
componentsProps:
|
|
196
|
-
typography:
|
|
196
|
+
componentsProps: o.shape({
|
|
197
|
+
typography: o.object
|
|
197
198
|
}),
|
|
198
199
|
/**
|
|
199
200
|
* A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
|
|
200
201
|
*/
|
|
201
|
-
control:
|
|
202
|
+
control: o.element.isRequired,
|
|
202
203
|
/**
|
|
203
204
|
* If `true`, the control is disabled.
|
|
204
205
|
*/
|
|
205
|
-
disabled:
|
|
206
|
+
disabled: o.bool,
|
|
206
207
|
/**
|
|
207
208
|
* If `true`, the label is rendered as it is passed without an additional typography node.
|
|
208
209
|
*/
|
|
209
|
-
disableTypography:
|
|
210
|
+
disableTypography: o.bool,
|
|
210
211
|
/**
|
|
211
212
|
* Pass a ref to the `input` element.
|
|
212
213
|
*/
|
|
213
|
-
inputRef:
|
|
214
|
+
inputRef: Y,
|
|
214
215
|
/**
|
|
215
216
|
* A text or an element to be used in an enclosing label element.
|
|
216
217
|
*/
|
|
217
|
-
label:
|
|
218
|
+
label: o.node,
|
|
218
219
|
/**
|
|
219
220
|
* The position of the label.
|
|
220
221
|
* @default 'end'
|
|
221
222
|
*/
|
|
222
|
-
labelPlacement:
|
|
223
|
+
labelPlacement: o.oneOf(["bottom", "end", "start", "top"]),
|
|
223
224
|
/**
|
|
224
225
|
* @ignore
|
|
225
226
|
*/
|
|
226
|
-
name:
|
|
227
|
+
name: o.string,
|
|
227
228
|
/**
|
|
228
229
|
* Callback fired when the state is changed.
|
|
229
230
|
*
|
|
230
231
|
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
231
232
|
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
232
233
|
*/
|
|
233
|
-
onChange:
|
|
234
|
+
onChange: o.func,
|
|
234
235
|
/**
|
|
235
236
|
* If `true`, the label will indicate that the `input` is required.
|
|
236
237
|
*/
|
|
237
|
-
required:
|
|
238
|
+
required: o.bool,
|
|
238
239
|
/**
|
|
239
240
|
* The props used for each slot inside.
|
|
240
241
|
* @default {}
|
|
241
242
|
*/
|
|
242
|
-
slotProps:
|
|
243
|
-
typography:
|
|
243
|
+
slotProps: o.shape({
|
|
244
|
+
typography: o.oneOfType([o.func, o.object])
|
|
244
245
|
}),
|
|
245
246
|
/**
|
|
246
247
|
* The components used for each slot inside.
|
|
247
248
|
* @default {}
|
|
248
249
|
*/
|
|
249
|
-
slots:
|
|
250
|
-
typography:
|
|
250
|
+
slots: o.shape({
|
|
251
|
+
typography: o.elementType
|
|
251
252
|
}),
|
|
252
253
|
/**
|
|
253
254
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
254
255
|
*/
|
|
255
|
-
sx:
|
|
256
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
256
257
|
/**
|
|
257
258
|
* The value of the component.
|
|
258
259
|
*/
|
|
259
|
-
value:
|
|
260
|
+
value: o.any
|
|
260
261
|
});
|
|
261
|
-
const
|
|
262
|
+
const po = oo(/* @__PURE__ */ d("path", {
|
|
262
263
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
263
|
-
}), "RadioButtonUnchecked"),
|
|
264
|
+
}), "RadioButtonUnchecked"), uo = oo(/* @__PURE__ */ d("path", {
|
|
264
265
|
d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
|
|
265
|
-
}), "RadioButtonChecked"),
|
|
266
|
-
|
|
266
|
+
}), "RadioButtonChecked"), fo = R("span", {
|
|
267
|
+
name: "MuiRadioButtonIcon",
|
|
268
|
+
shouldForwardProp: Q
|
|
267
269
|
})({
|
|
268
270
|
position: "relative",
|
|
269
271
|
display: "flex"
|
|
270
|
-
}),
|
|
272
|
+
}), mo = R(po, {
|
|
273
|
+
name: "MuiRadioButtonIcon"
|
|
274
|
+
})({
|
|
271
275
|
// Scale applied to prevent dot misalignment in Safari
|
|
272
276
|
transform: "scale(1)"
|
|
273
|
-
}),
|
|
274
|
-
|
|
277
|
+
}), bo = R(uo, {
|
|
278
|
+
name: "MuiRadioButtonIcon"
|
|
279
|
+
})(w(({
|
|
280
|
+
theme: e
|
|
275
281
|
}) => ({
|
|
276
282
|
left: 0,
|
|
277
283
|
position: "absolute",
|
|
278
284
|
transform: "scale(0)",
|
|
279
|
-
transition:
|
|
280
|
-
easing:
|
|
281
|
-
duration:
|
|
285
|
+
transition: e.transitions.create("transform", {
|
|
286
|
+
easing: e.transitions.easing.easeIn,
|
|
287
|
+
duration: e.transitions.duration.shortest
|
|
282
288
|
}),
|
|
283
289
|
variants: [{
|
|
284
290
|
props: {
|
|
@@ -286,33 +292,33 @@ const de = oe(/* @__PURE__ */ d("path", {
|
|
|
286
292
|
},
|
|
287
293
|
style: {
|
|
288
294
|
transform: "scale(1)",
|
|
289
|
-
transition:
|
|
290
|
-
easing:
|
|
291
|
-
duration:
|
|
295
|
+
transition: e.transitions.create("transform", {
|
|
296
|
+
easing: e.transitions.easing.easeOut,
|
|
297
|
+
duration: e.transitions.duration.shortest
|
|
292
298
|
})
|
|
293
299
|
}
|
|
294
300
|
}]
|
|
295
301
|
})));
|
|
296
|
-
function D(
|
|
302
|
+
function D(e) {
|
|
297
303
|
const {
|
|
298
304
|
checked: t = !1,
|
|
299
305
|
classes: r = {},
|
|
300
|
-
fontSize:
|
|
301
|
-
} =
|
|
302
|
-
...
|
|
306
|
+
fontSize: s
|
|
307
|
+
} = e, a = {
|
|
308
|
+
...e,
|
|
303
309
|
checked: t
|
|
304
310
|
};
|
|
305
|
-
return /* @__PURE__ */ O(
|
|
311
|
+
return /* @__PURE__ */ O(fo, {
|
|
306
312
|
className: r.root,
|
|
307
|
-
ownerState:
|
|
308
|
-
children: [/* @__PURE__ */ d(
|
|
309
|
-
fontSize:
|
|
313
|
+
ownerState: a,
|
|
314
|
+
children: [/* @__PURE__ */ d(mo, {
|
|
315
|
+
fontSize: s,
|
|
310
316
|
className: r.background,
|
|
311
|
-
ownerState:
|
|
312
|
-
}), /* @__PURE__ */ d(
|
|
313
|
-
fontSize:
|
|
317
|
+
ownerState: a
|
|
318
|
+
}), /* @__PURE__ */ d(bo, {
|
|
319
|
+
fontSize: s,
|
|
314
320
|
className: r.dot,
|
|
315
|
-
ownerState:
|
|
321
|
+
ownerState: a
|
|
316
322
|
})]
|
|
317
323
|
});
|
|
318
324
|
}
|
|
@@ -320,53 +326,53 @@ process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
|
320
326
|
/**
|
|
321
327
|
* If `true`, the component is checked.
|
|
322
328
|
*/
|
|
323
|
-
checked:
|
|
329
|
+
checked: o.bool,
|
|
324
330
|
/**
|
|
325
331
|
* Override or extend the styles applied to the component.
|
|
326
332
|
*/
|
|
327
|
-
classes:
|
|
333
|
+
classes: o.object,
|
|
328
334
|
/**
|
|
329
335
|
* The size of the component.
|
|
330
336
|
* `small` is equivalent to the dense radio styling.
|
|
331
337
|
*/
|
|
332
|
-
fontSize:
|
|
338
|
+
fontSize: o.oneOf(["small", "medium"])
|
|
333
339
|
});
|
|
334
|
-
const
|
|
335
|
-
process.env.NODE_ENV !== "production" && (
|
|
336
|
-
function
|
|
337
|
-
return y.useContext(
|
|
340
|
+
const eo = /* @__PURE__ */ y.createContext(void 0);
|
|
341
|
+
process.env.NODE_ENV !== "production" && (eo.displayName = "RadioGroupContext");
|
|
342
|
+
function yo() {
|
|
343
|
+
return y.useContext(eo);
|
|
338
344
|
}
|
|
339
|
-
function
|
|
340
|
-
return W("MuiRadio",
|
|
345
|
+
function go(e) {
|
|
346
|
+
return W("MuiRadio", e);
|
|
341
347
|
}
|
|
342
|
-
const
|
|
348
|
+
const A = H("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSecondary", "sizeSmall"]), Co = (e) => {
|
|
343
349
|
const {
|
|
344
350
|
classes: t,
|
|
345
351
|
color: r,
|
|
346
|
-
size:
|
|
347
|
-
} =
|
|
348
|
-
root: ["root", `color${h(r)}`,
|
|
352
|
+
size: s
|
|
353
|
+
} = e, a = {
|
|
354
|
+
root: ["root", `color${h(r)}`, s !== "medium" && `size${h(s)}`]
|
|
349
355
|
};
|
|
350
356
|
return {
|
|
351
357
|
...t,
|
|
352
|
-
...
|
|
358
|
+
...K(a, go, t)
|
|
353
359
|
};
|
|
354
|
-
},
|
|
355
|
-
shouldForwardProp: (
|
|
360
|
+
}, ho = R(ro, {
|
|
361
|
+
shouldForwardProp: (e) => Q(e) || e === "classes",
|
|
356
362
|
name: "MuiRadio",
|
|
357
363
|
slot: "Root",
|
|
358
|
-
overridesResolver: (
|
|
364
|
+
overridesResolver: (e, t) => {
|
|
359
365
|
const {
|
|
360
366
|
ownerState: r
|
|
361
|
-
} =
|
|
367
|
+
} = e;
|
|
362
368
|
return [t.root, r.size !== "medium" && t[`size${h(r.size)}`], t[`color${h(r.color)}`]];
|
|
363
369
|
}
|
|
364
370
|
})(w(({
|
|
365
|
-
theme:
|
|
371
|
+
theme: e
|
|
366
372
|
}) => ({
|
|
367
|
-
color: (
|
|
368
|
-
[`&.${
|
|
369
|
-
color: (
|
|
373
|
+
color: (e.vars || e).palette.text.secondary,
|
|
374
|
+
[`&.${A.disabled}`]: {
|
|
375
|
+
color: (e.vars || e).palette.action.disabled
|
|
370
376
|
},
|
|
371
377
|
variants: [{
|
|
372
378
|
props: {
|
|
@@ -376,10 +382,10 @@ const H = K("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSe
|
|
|
376
382
|
},
|
|
377
383
|
style: {
|
|
378
384
|
"&:hover": {
|
|
379
|
-
backgroundColor:
|
|
385
|
+
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity)
|
|
380
386
|
}
|
|
381
387
|
}
|
|
382
|
-
}, ...Object.entries(
|
|
388
|
+
}, ...Object.entries(e.palette).filter(_()).map(([t]) => ({
|
|
383
389
|
props: {
|
|
384
390
|
color: t,
|
|
385
391
|
disabled: !1,
|
|
@@ -387,17 +393,17 @@ const H = K("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSe
|
|
|
387
393
|
},
|
|
388
394
|
style: {
|
|
389
395
|
"&:hover": {
|
|
390
|
-
backgroundColor:
|
|
396
|
+
backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity)
|
|
391
397
|
}
|
|
392
398
|
}
|
|
393
|
-
})), ...Object.entries(
|
|
399
|
+
})), ...Object.entries(e.palette).filter(_()).map(([t]) => ({
|
|
394
400
|
props: {
|
|
395
401
|
color: t,
|
|
396
402
|
disabled: !1
|
|
397
403
|
},
|
|
398
404
|
style: {
|
|
399
|
-
[`&.${
|
|
400
|
-
color: (
|
|
405
|
+
[`&.${A.checked}`]: {
|
|
406
|
+
color: (e.vars || e).palette[t].main
|
|
401
407
|
}
|
|
402
408
|
}
|
|
403
409
|
})), {
|
|
@@ -415,59 +421,59 @@ const H = K("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSe
|
|
|
415
421
|
}
|
|
416
422
|
}]
|
|
417
423
|
})));
|
|
418
|
-
function
|
|
419
|
-
return typeof t == "object" && t !== null ?
|
|
424
|
+
function Ro(e, t) {
|
|
425
|
+
return typeof t == "object" && t !== null ? e === t : String(e) === String(t);
|
|
420
426
|
}
|
|
421
|
-
const
|
|
427
|
+
const Po = /* @__PURE__ */ d(D, {
|
|
422
428
|
checked: !0
|
|
423
|
-
}),
|
|
424
|
-
const
|
|
429
|
+
}), vo = /* @__PURE__ */ d(D, {}), So = /* @__PURE__ */ y.forwardRef(function(t, r) {
|
|
430
|
+
const s = J({
|
|
425
431
|
props: t,
|
|
426
432
|
name: "MuiRadio"
|
|
427
433
|
}), {
|
|
428
|
-
checked:
|
|
429
|
-
checkedIcon: g =
|
|
430
|
-
color:
|
|
431
|
-
icon: u =
|
|
434
|
+
checked: a,
|
|
435
|
+
checkedIcon: g = Po,
|
|
436
|
+
color: P = "primary",
|
|
437
|
+
icon: u = vo,
|
|
432
438
|
name: N,
|
|
433
439
|
onChange: x,
|
|
434
440
|
size: k = "medium",
|
|
435
441
|
className: F,
|
|
436
442
|
disabled: z,
|
|
437
443
|
disableRipple: U = !1,
|
|
438
|
-
slots:
|
|
444
|
+
slots: I = {},
|
|
439
445
|
slotProps: T = {},
|
|
440
446
|
inputProps: j,
|
|
441
|
-
...
|
|
442
|
-
} =
|
|
447
|
+
...B
|
|
448
|
+
} = s, M = X();
|
|
443
449
|
let f = z;
|
|
444
|
-
|
|
450
|
+
M && typeof f > "u" && (f = M.disabled), f ?? (f = !1);
|
|
445
451
|
const c = {
|
|
446
|
-
...
|
|
452
|
+
...s,
|
|
447
453
|
disabled: f,
|
|
448
454
|
disableRipple: U,
|
|
449
|
-
color:
|
|
455
|
+
color: P,
|
|
450
456
|
size: k
|
|
451
|
-
},
|
|
452
|
-
let C =
|
|
453
|
-
const
|
|
457
|
+
}, v = Co(c), n = yo();
|
|
458
|
+
let C = a;
|
|
459
|
+
const $ = so(x, n && n.onChange);
|
|
454
460
|
let p = N;
|
|
455
|
-
n && (typeof C > "u" && (C =
|
|
456
|
-
const m = T.input ?? j, [
|
|
461
|
+
n && (typeof C > "u" && (C = Ro(n.value, s.value)), typeof p > "u" && (p = n.name));
|
|
462
|
+
const m = T.input ?? j, [E, L] = Z("root", {
|
|
457
463
|
ref: r,
|
|
458
|
-
elementType:
|
|
459
|
-
className:
|
|
464
|
+
elementType: ho,
|
|
465
|
+
className: q(v.root, F),
|
|
460
466
|
shouldForwardComponentProp: !0,
|
|
461
467
|
externalForwardedProps: {
|
|
462
|
-
slots:
|
|
468
|
+
slots: I,
|
|
463
469
|
slotProps: T,
|
|
464
|
-
...
|
|
470
|
+
...B
|
|
465
471
|
},
|
|
466
472
|
getSlotProps: (l) => ({
|
|
467
473
|
...l,
|
|
468
474
|
onChange: (i, ...b) => {
|
|
469
475
|
var V;
|
|
470
|
-
(V = l.onChange) == null || V.call(l, i, ...b),
|
|
476
|
+
(V = l.onChange) == null || V.call(l, i, ...b), $(i, ...b);
|
|
471
477
|
}
|
|
472
478
|
}),
|
|
473
479
|
ownerState: c,
|
|
@@ -482,19 +488,19 @@ const Re = /* @__PURE__ */ d(D, {
|
|
|
482
488
|
disabled: f,
|
|
483
489
|
name: p,
|
|
484
490
|
checked: C,
|
|
485
|
-
slots:
|
|
491
|
+
slots: I,
|
|
486
492
|
slotProps: {
|
|
487
493
|
// Do not forward `slotProps.root` again because it's already handled by the `RootSlot` in this file.
|
|
488
494
|
input: typeof m == "function" ? m(c) : m
|
|
489
495
|
}
|
|
490
496
|
}
|
|
491
497
|
});
|
|
492
|
-
return /* @__PURE__ */ d(
|
|
493
|
-
...
|
|
494
|
-
classes:
|
|
498
|
+
return /* @__PURE__ */ d(E, {
|
|
499
|
+
...L,
|
|
500
|
+
classes: v
|
|
495
501
|
});
|
|
496
502
|
});
|
|
497
|
-
process.env.NODE_ENV !== "production" && (
|
|
503
|
+
process.env.NODE_ENV !== "production" && (So.propTypes = {
|
|
498
504
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
499
505
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
500
506
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -502,59 +508,59 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
|
|
|
502
508
|
/**
|
|
503
509
|
* If `true`, the component is checked.
|
|
504
510
|
*/
|
|
505
|
-
checked:
|
|
511
|
+
checked: o.bool,
|
|
506
512
|
/**
|
|
507
513
|
* The icon to display when the component is checked.
|
|
508
514
|
* @default <RadioButtonIcon checked />
|
|
509
515
|
*/
|
|
510
|
-
checkedIcon:
|
|
516
|
+
checkedIcon: o.node,
|
|
511
517
|
/**
|
|
512
518
|
* Override or extend the styles applied to the component.
|
|
513
519
|
*/
|
|
514
|
-
classes:
|
|
520
|
+
classes: o.object,
|
|
515
521
|
/**
|
|
516
522
|
* @ignore
|
|
517
523
|
*/
|
|
518
|
-
className:
|
|
524
|
+
className: o.string,
|
|
519
525
|
/**
|
|
520
526
|
* The color of the component.
|
|
521
527
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
522
528
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
523
529
|
* @default 'primary'
|
|
524
530
|
*/
|
|
525
|
-
color:
|
|
531
|
+
color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
526
532
|
/**
|
|
527
533
|
* If `true`, the component is disabled.
|
|
528
534
|
*/
|
|
529
|
-
disabled:
|
|
535
|
+
disabled: o.bool,
|
|
530
536
|
/**
|
|
531
537
|
* If `true`, the ripple effect is disabled.
|
|
532
538
|
* @default false
|
|
533
539
|
*/
|
|
534
|
-
disableRipple:
|
|
540
|
+
disableRipple: o.bool,
|
|
535
541
|
/**
|
|
536
542
|
* The icon to display when the component is unchecked.
|
|
537
543
|
* @default <RadioButtonIcon />
|
|
538
544
|
*/
|
|
539
|
-
icon:
|
|
545
|
+
icon: o.node,
|
|
540
546
|
/**
|
|
541
547
|
* The id of the `input` element.
|
|
542
548
|
*/
|
|
543
|
-
id:
|
|
549
|
+
id: o.string,
|
|
544
550
|
/**
|
|
545
551
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
546
552
|
* @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.
|
|
547
553
|
*/
|
|
548
|
-
inputProps:
|
|
554
|
+
inputProps: o.object,
|
|
549
555
|
/**
|
|
550
556
|
* Pass a ref to the `input` element.
|
|
551
557
|
* @deprecated Use `slotProps.input.ref` 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.
|
|
552
558
|
*/
|
|
553
|
-
inputRef:
|
|
559
|
+
inputRef: Y,
|
|
554
560
|
/**
|
|
555
561
|
* Name attribute of the `input` element.
|
|
556
562
|
*/
|
|
557
|
-
name:
|
|
563
|
+
name: o.string,
|
|
558
564
|
/**
|
|
559
565
|
* Callback fired when the state is changed.
|
|
560
566
|
*
|
|
@@ -562,50 +568,50 @@ process.env.NODE_ENV !== "production" && (Se.propTypes = {
|
|
|
562
568
|
* You can pull out the new value by accessing `event.target.value` (string).
|
|
563
569
|
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
564
570
|
*/
|
|
565
|
-
onChange:
|
|
571
|
+
onChange: o.func,
|
|
566
572
|
/**
|
|
567
573
|
* If `true`, the `input` element is required.
|
|
568
574
|
* @default false
|
|
569
575
|
*/
|
|
570
|
-
required:
|
|
576
|
+
required: o.bool,
|
|
571
577
|
/**
|
|
572
578
|
* The size of the component.
|
|
573
579
|
* `small` is equivalent to the dense radio styling.
|
|
574
580
|
* @default 'medium'
|
|
575
581
|
*/
|
|
576
|
-
size:
|
|
582
|
+
size: o.oneOfType([o.oneOf(["medium", "small"]), o.string]),
|
|
577
583
|
/**
|
|
578
584
|
* The props used for each slot inside.
|
|
579
585
|
* @default {}
|
|
580
586
|
*/
|
|
581
|
-
slotProps:
|
|
582
|
-
input:
|
|
583
|
-
root:
|
|
587
|
+
slotProps: o.shape({
|
|
588
|
+
input: o.oneOfType([o.func, o.object]),
|
|
589
|
+
root: o.oneOfType([o.func, o.object])
|
|
584
590
|
}),
|
|
585
591
|
/**
|
|
586
592
|
* The components used for each slot inside.
|
|
587
593
|
* @default {}
|
|
588
594
|
*/
|
|
589
|
-
slots:
|
|
590
|
-
input:
|
|
591
|
-
root:
|
|
595
|
+
slots: o.shape({
|
|
596
|
+
input: o.elementType,
|
|
597
|
+
root: o.elementType
|
|
592
598
|
}),
|
|
593
599
|
/**
|
|
594
600
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
595
601
|
*/
|
|
596
|
-
sx:
|
|
602
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
597
603
|
/**
|
|
598
604
|
* The value of the component. The DOM API casts this to a string.
|
|
599
605
|
*/
|
|
600
|
-
value:
|
|
606
|
+
value: o.any
|
|
601
607
|
});
|
|
602
608
|
export {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
609
|
+
co as F,
|
|
610
|
+
So as R,
|
|
611
|
+
go as a,
|
|
612
|
+
eo as b,
|
|
607
613
|
S as f,
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
614
|
+
ao as g,
|
|
615
|
+
A as r,
|
|
616
|
+
yo as u
|
|
611
617
|
};
|