@cgi-learning-hub/ui 1.7.0 → 1.8.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/{Alert-OeEy_IGc.js → Alert-6yOnGlLE.js} +6 -6
- package/dist/{Alert-rPyl-bqs.cjs → Alert-CWHOYWde.cjs} +1 -1
- package/dist/{Alert-DPSZppEy.cjs → Alert-D4-73fYc.cjs} +1 -1
- package/dist/{Alert-BhLIlUBu.js → Alert-D6SQnjuJ.js} +83 -83
- package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-B8u-WYi5.js} +680 -664
- package/dist/Autocomplete-BA6NkciB.cjs +6 -0
- package/dist/Backdrop-Dp1hKKfU.cjs +1 -0
- package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-DuOPKUSY.js} +36 -35
- package/dist/{Badge-Bwcsnbsa.js → Badge-BJ4yH_Da.js} +4 -4
- package/dist/{Badge-DFzvdVS-.cjs → Badge-XMr4Ygjv.cjs} +1 -1
- package/dist/{Box-DR3n_po_.cjs → Box-B5E7sstc.cjs} +1 -1
- package/dist/{Box-BI4osO9v.js → Box-BWETzF5p.js} +3 -3
- package/dist/Button-BJB830NI.cjs +1 -0
- package/dist/{Button-DDV5EfwJ.js → Button-C8_HxKFe.js} +95 -95
- package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-CJYV8wgs.js} +2 -2
- package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
- package/dist/{CardContent-COfaU6E0.cjs → CardContent-H0z20SY7.cjs} +1 -1
- package/dist/{CardContent-D3uGcxlr.js → CardContent-V9JMSLmA.js} +3 -3
- package/dist/Checkbox-BZPMiwbF.cjs +1 -0
- package/dist/{Checkbox-BfBDowB2.js → Checkbox-DMMz_IAP.js} +86 -86
- package/dist/Chip-BDVqkZZM.js +573 -0
- package/dist/Chip-DMBSp59F.cjs +1 -0
- package/dist/{CircularProgress-CXXyPavb.cjs → CircularProgress-BMVNeiSf.cjs} +1 -1
- package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-CrWnCGqN.js} +3 -3
- package/dist/{Close-7S2hSoFB.cjs → Close-2eEmvKPH.cjs} +1 -1
- package/dist/{Close-DEMecSZ6.js → Close-Cr2OT0GV.js} +1 -1
- package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
- package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BrGeesu1.js} +1 -1
- package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
- package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-DhB3ECa2.js} +12 -12
- package/dist/DatePicker-DtPvvFiK.cjs +16 -0
- package/dist/{DatePicker-DasS2wq6.js → DatePicker-ofISDY8Q.js} +2822 -2821
- package/dist/DefaultPropsProvider-BFTLy05-.cjs +1 -0
- package/dist/DefaultPropsProvider-nxIPd34m.js +312 -0
- package/dist/{Delete-BvkBJXEM.cjs → Delete-BF63Gpr-.cjs} +1 -1
- package/dist/{Delete-B5VTV71K.js → Delete-CwWpjEOT.js} +1 -1
- package/dist/Dialog-Cymf3DJ2.cjs +1 -0
- package/dist/{Dialog-DEWB041V.js → Dialog-eK1zTFBm.js} +10 -10
- package/dist/{DialogContent-C294EkoQ.js → DialogContent-BsPZJR2a.js} +3 -3
- package/dist/{DialogContent-DXfUge3c.cjs → DialogContent-Gy1s3ela.cjs} +1 -1
- package/dist/{DialogTitle-y2PrK6uU.cjs → DialogTitle-BDyrzRXS.cjs} +1 -1
- package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-CaAd59jN.js} +5 -5
- package/dist/Divider-BzdMIEJJ.cjs +1 -0
- package/dist/{Divider-kKp4VqHh.js → Divider-D_gbcyWE.js} +26 -26
- package/dist/{Folder-BgQP5-Ve.js → Folder-COKXTjZ4.js} +1 -1
- package/dist/{Folder-BfLBqDHM.cjs → Folder-D0fZbyc-.cjs} +1 -1
- package/dist/{FormLabel-JrZR9kt8.cjs → FormLabel-BLySmpkL.cjs} +1 -1
- package/dist/{FormLabel-B3WAnPGP.js → FormLabel-DmLckqyT.js} +3 -3
- package/dist/{Grid-BHYQ3JNy.cjs → Grid-DFaRzlB4.cjs} +1 -1
- package/dist/{Grid-DFk-4jnZ.js → Grid-vM--ojbL.js} +7 -7
- package/dist/{Grow-BfjkXlG8.js → Grow-DE5x7F5S.js} +1 -1
- package/dist/{Grow-BULCy6GX.cjs → Grow-ovNT7Sot.cjs} +1 -1
- package/dist/IconButton-DCQiOq7W.cjs +2 -0
- package/dist/{IconButton-BYvak8Nw.js → IconButton-f9EZgwvD.js} +66 -66
- package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-B615VSjF.js} +4 -4
- package/dist/{InputAdornment-DvHQMisT.cjs → InputAdornment-BrrJ8chb.cjs} +1 -1
- package/dist/{InputBase-BS5oknUK.js → InputBase-BCbPPzW1.js} +4 -4
- package/dist/{InputBase-DPdKpmOz.cjs → InputBase-CRrFludT.cjs} +1 -1
- package/dist/Link-CMes5bws.cjs +1 -0
- package/dist/{Link-DYPjEdvu.js → Link-GBRiPElP.js} +52 -39
- package/dist/{List-CB_cqCSw.js → List-DZkddOsr.js} +2 -2
- package/dist/{List-t9bWFewp.cjs → List-E_TAQ1jJ.cjs} +1 -1
- package/dist/{ListItem-DAZQEir2.js → ListItem-CMoibMI7.js} +4 -4
- package/dist/{ListItem-DP7YmqZk.cjs → ListItem-qTKJTg7f.cjs} +1 -1
- package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
- package/dist/{ListItemText-qfdqJP77.js → ListItemText-BbrPf29n.js} +139 -139
- package/dist/{Menu-9BK8jmzW.js → Menu-3UjlpKRJ.js} +27 -27
- package/dist/{Menu-C61wLk41.cjs → Menu-C0uY9Dd0.cjs} +1 -1
- package/dist/MenuItem--a878rw9.cjs +1 -0
- package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CHEWce5u.js} +94 -94
- package/dist/{Modal-DkzrSKHd.cjs → Modal-CdcolE0C.cjs} +1 -1
- package/dist/{Modal-D3Q9vEAI.js → Modal-Du5LfkZg.js} +5 -5
- package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
- package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-PLU7h8WO.js} +1 -1
- package/dist/{Paper-IQckggbn.js → Paper-BylmTlAJ.js} +4 -4
- package/dist/{Paper-BbqZL5vx.cjs → Paper-DgHGh6vt.cjs} +1 -1
- package/dist/{Popper-DvWx5tR3.cjs → Popper-BsNp09Gg.cjs} +1 -1
- package/dist/{Popper-CfFLBZ7-.js → Popper-CvQLHjwo.js} +3 -3
- package/dist/Radio-CLNMQGNf.cjs +1 -0
- package/dist/{Radio-DKiu6lVB.js → Radio-CbYgci2-.js} +195 -190
- package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-D-Cq8SmM.js} +3 -3
- package/dist/{RadioGroup-Cvnwt4JE.cjs → RadioGroup-Dyf8fKum.cjs} +1 -1
- package/dist/{Select-CpNF3a57.js → Select-Bx0yVOZE.js} +641 -607
- package/dist/Select-CRVPbesC.cjs +3 -0
- package/dist/{Stack-CIyfgZCM.cjs → Stack-COmIqMxy.cjs} +1 -1
- package/dist/{Stack-DSJ2DqNd.js → Stack-CbK4a2n5.js} +5 -5
- package/dist/{Stepper-CXHfLPtA.cjs → Stepper-CWq9t5jy.cjs} +1 -1
- package/dist/{Stepper-DE2l91K0.js → Stepper-DU9nixCp.js} +6 -6
- package/dist/{Switch-BIcwDf_P.js → Switch-Bm3Gclye.js} +102 -99
- package/dist/Switch-kHZOqjeU.cjs +1 -0
- package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-9CKmTWdZ.js} +47 -44
- package/dist/SwitchBase-Hbqxtooi.cjs +1 -0
- package/dist/{Tab-Ckr6Bn59.js → Tab-DBCv1T9W.js} +58 -58
- package/dist/{Tab-r5imbU9z.cjs → Tab-DnxFjc89.cjs} +1 -1
- package/dist/{TextField-Brw3X9cn.cjs → TextField-BhdmUny-.cjs} +1 -1
- package/dist/{TextField-BenBw4oE.js → TextField-V-EQ80Y6.js} +6 -6
- package/dist/ToggleButtonGroup-B2FBwoDV.cjs +138 -0
- package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-_UpIjysl.js} +1567 -1537
- package/dist/{Tooltip-KkgNQm4r.js → Tooltip-DKHOTDh0.js} +81 -81
- package/dist/{Tooltip-BAOKe3SY.cjs → Tooltip-DYTDIzp4.cjs} +3 -3
- package/dist/{Typography-CSTmKyr8.cjs → Typography-BvRUTdLD.cjs} +1 -1
- package/dist/{Typography-Dy8r_tT2.js → Typography-o0iALAVg.js} +4 -4
- 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/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 +3 -3
- 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 +4 -4
- 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 +39 -39
- 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/{createSvgIcon-IET9soda.cjs → createSvgIcon-BJRigbha.cjs} +1 -1
- package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-BV54rC7k.js} +3 -3
- package/dist/{dividerClasses-C07OJKLL.cjs → dividerClasses-CbwbHy8r.cjs} +1 -1
- package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DDXs86hs.js} +1 -1
- package/dist/{extendSxProp-ZMCunXYm.cjs → extendSxProp-CxMSlckP.cjs} +1 -1
- package/dist/{extendSxProp-CesAxox9.js → extendSxProp-XouBF-Ct.js} +1 -1
- package/dist/identifier-DBvccNCw.cjs +55 -0
- package/dist/identifier-Dnc8T93Z.js +2673 -0
- package/dist/{index-8G2jvqZ8.js → index-9te7SXrs.js} +47 -41
- package/dist/index-BkNQtUZJ.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -300
- package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-4p_83pwn.js} +1 -1
- package/dist/{listItemTextClasses-CJDKfXvl.cjs → listItemTextClasses-Cxo4anAo.cjs} +1 -1
- package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
- package/dist/{memoTheme-DAFDflPY.js → memoTheme-K37vidlb.js} +1 -1
- package/dist/{mergeSlotProps-DXwOW3FE.cjs → mergeSlotProps-CXO1f70l.cjs} +1 -1
- package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-DSWiBSbD.js} +1 -1
- package/dist/styled-B7pKW9DQ.cjs +1 -0
- package/dist/styled-JnAdiSL5.js +5 -0
- package/dist/{useSlot-BzdKwDQ5.js → useSlot-GooGQrej.js} +1 -1
- package/dist/{useSlot-C2FjoUpF.cjs → useSlot-ONna5RyM.cjs} +1 -1
- package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-C34Wr67s.js} +1 -1
- package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
- package/dist/{useTheme-XJ9sFCWX.js → useTheme-CH7DA5fq.js} +3 -3
- package/dist/{useTheme-BLMJDSsv.cjs → useTheme-D6wPRo0G.cjs} +1 -1
- package/dist/{useTheme-CooC_6Ep.cjs → useTheme-DkiCyF-9.cjs} +1 -1
- package/dist/{useTheme--i9fxE_A.js → useTheme-VH02z7nF.js} +1 -1
- package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
- package/dist/useThemeProps-DT4QxdFn.js +17 -0
- package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-DZ05-54P.js} +2 -2
- package/package.json +7 -7
- package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
- package/dist/Backdrop-DeNTZlA5.cjs +0 -1
- package/dist/Button-DyJV5llI.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/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/Divider-NermA5hZ.cjs +0 -1
- package/dist/IconButton-CjtMjZ9e.cjs +0 -2
- package/dist/Link-BwbY60dS.cjs +0 -1
- package/dist/ListItemText-cVnimPLO.cjs +0 -1
- package/dist/MenuItem-DHM3qxwr.cjs +0 -1
- package/dist/Radio-Bwh_t6PC.cjs +0 -1
- package/dist/Select-3HP39Z7o.cjs +0 -3
- package/dist/Switch-CTEqKDiv.cjs +0 -1
- package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
- package/dist/identifier-BoZelETM.cjs +0 -55
- package/dist/identifier-PWESmBq6.js +0 -2598
- package/dist/index-D3lMWU76.cjs +0 -1
- package/dist/styled-C7gyRDlj.js +0 -5
- package/dist/styled-Cax0O00h.cjs +0 -1
- package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
- package/dist/useThemeProps-CQ9rZe7g.js +0 -17
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import * as f from "react";
|
|
2
|
-
import { P as
|
|
3
|
-
import { F as j, G as w, H as B, K as c
|
|
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
|
-
const
|
|
2
|
+
import { P as o } from "./index-Sy88PpwE.js";
|
|
3
|
+
import { F as j, G as w, H as B, K as c } from "./identifier-Dnc8T93Z.js";
|
|
4
|
+
import { S as M } from "./SwitchBase-9CKmTWdZ.js";
|
|
5
|
+
import { c as h } from "./createSvgIcon-BV54rC7k.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-nxIPd34m.js";
|
|
8
|
+
import { m as N } from "./memoTheme-K37vidlb.js";
|
|
9
|
+
import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
10
|
+
import { u as E } from "./useSlot-GooGQrej.js";
|
|
11
|
+
import { m as U } from "./mergeSlotProps-DSWiBSbD.js";
|
|
12
|
+
const D = h(/* @__PURE__ */ r("path", {
|
|
13
13
|
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"),
|
|
14
|
+
}), "CheckBoxOutlineBlank"), L = h(/* @__PURE__ */ r("path", {
|
|
15
15
|
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"),
|
|
16
|
+
}), "CheckBox"), q = h(/* @__PURE__ */ r("path", {
|
|
17
17
|
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
18
|
}), "IndeterminateCheckBox");
|
|
19
|
-
function
|
|
20
|
-
return w("MuiCheckbox",
|
|
19
|
+
function G(e) {
|
|
20
|
+
return w("MuiCheckbox", e);
|
|
21
21
|
}
|
|
22
|
-
const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]),
|
|
22
|
+
const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), K = (e) => {
|
|
23
23
|
const {
|
|
24
24
|
classes: t,
|
|
25
|
-
indeterminate:
|
|
26
|
-
color:
|
|
25
|
+
indeterminate: s,
|
|
26
|
+
color: n,
|
|
27
27
|
size: i
|
|
28
|
-
} =
|
|
29
|
-
root: ["root",
|
|
30
|
-
}, p =
|
|
28
|
+
} = e, l = {
|
|
29
|
+
root: ["root", s && "indeterminate", `color${c(n)}`, `size${c(i)}`]
|
|
30
|
+
}, p = H(l, G, t);
|
|
31
31
|
return {
|
|
32
32
|
...t,
|
|
33
33
|
// forward the disabled and checked classes to the SwitchBase
|
|
34
34
|
...p
|
|
35
35
|
};
|
|
36
|
-
},
|
|
37
|
-
shouldForwardProp: (
|
|
36
|
+
}, _ = F(M, {
|
|
37
|
+
shouldForwardProp: (e) => V(e) || e === "classes",
|
|
38
38
|
name: "MuiCheckbox",
|
|
39
39
|
slot: "Root",
|
|
40
|
-
overridesResolver: (
|
|
40
|
+
overridesResolver: (e, t) => {
|
|
41
41
|
const {
|
|
42
|
-
ownerState:
|
|
43
|
-
} =
|
|
44
|
-
return [t.root,
|
|
42
|
+
ownerState: s
|
|
43
|
+
} = e;
|
|
44
|
+
return [t.root, s.indeterminate && t.indeterminate, t[`size${c(s.size)}`], s.color !== "default" && t[`color${c(s.color)}`]];
|
|
45
45
|
}
|
|
46
|
-
})(
|
|
47
|
-
theme:
|
|
46
|
+
})(N(({
|
|
47
|
+
theme: e
|
|
48
48
|
}) => ({
|
|
49
|
-
color: (
|
|
49
|
+
color: (e.vars || e).palette.text.secondary,
|
|
50
50
|
variants: [{
|
|
51
51
|
props: {
|
|
52
52
|
color: "default",
|
|
@@ -54,29 +54,29 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
54
54
|
},
|
|
55
55
|
style: {
|
|
56
56
|
"&:hover": {
|
|
57
|
-
backgroundColor:
|
|
57
|
+
backgroundColor: e.alpha((e.vars || e).palette.action.active, (e.vars || e).palette.action.hoverOpacity)
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
}, ...Object.entries(
|
|
60
|
+
}, ...Object.entries(e.palette).filter(I()).map(([t]) => ({
|
|
61
61
|
props: {
|
|
62
62
|
color: t,
|
|
63
63
|
disableRipple: !1
|
|
64
64
|
},
|
|
65
65
|
style: {
|
|
66
66
|
"&:hover": {
|
|
67
|
-
backgroundColor:
|
|
67
|
+
backgroundColor: e.alpha((e.vars || e).palette[t].main, (e.vars || e).palette.action.hoverOpacity)
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
})), ...Object.entries(
|
|
70
|
+
})), ...Object.entries(e.palette).filter(I()).map(([t]) => ({
|
|
71
71
|
props: {
|
|
72
72
|
color: t
|
|
73
73
|
},
|
|
74
74
|
style: {
|
|
75
75
|
[`&.${b.checked}, &.${b.indeterminate}`]: {
|
|
76
|
-
color: (
|
|
76
|
+
color: (e.vars || e).palette[t].main
|
|
77
77
|
},
|
|
78
78
|
[`&.${b.disabled}`]: {
|
|
79
|
-
color: (
|
|
79
|
+
color: (e.vars || e).palette.action.disabled
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
})), {
|
|
@@ -93,38 +93,38 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}]
|
|
96
|
-
}))),
|
|
97
|
-
const
|
|
96
|
+
}))), A = /* @__PURE__ */ r(L, {}), J = /* @__PURE__ */ r(D, {}), Q = /* @__PURE__ */ r(q, {}), W = /* @__PURE__ */ f.forwardRef(function(t, s) {
|
|
97
|
+
const n = $({
|
|
98
98
|
props: t,
|
|
99
99
|
name: "MuiCheckbox"
|
|
100
100
|
}), {
|
|
101
|
-
checkedIcon: i =
|
|
101
|
+
checkedIcon: i = A,
|
|
102
102
|
color: l = "primary",
|
|
103
|
-
icon: p =
|
|
104
|
-
indeterminate:
|
|
105
|
-
indeterminateIcon:
|
|
106
|
-
inputProps:
|
|
103
|
+
icon: p = J,
|
|
104
|
+
indeterminate: a = !1,
|
|
105
|
+
indeterminateIcon: k = Q,
|
|
106
|
+
inputProps: S,
|
|
107
107
|
size: d = "medium",
|
|
108
108
|
disableRipple: y = !1,
|
|
109
|
-
className:
|
|
109
|
+
className: O,
|
|
110
110
|
slots: C = {},
|
|
111
|
-
slotProps:
|
|
112
|
-
...
|
|
113
|
-
} =
|
|
114
|
-
...
|
|
111
|
+
slotProps: v = {},
|
|
112
|
+
...g
|
|
113
|
+
} = n, x = a ? k : p, P = a ? k : i, m = {
|
|
114
|
+
...n,
|
|
115
115
|
disableRipple: y,
|
|
116
116
|
color: l,
|
|
117
|
-
indeterminate:
|
|
117
|
+
indeterminate: a,
|
|
118
118
|
size: d
|
|
119
|
-
}, z =
|
|
120
|
-
ref:
|
|
121
|
-
elementType:
|
|
122
|
-
className: B(z.root,
|
|
119
|
+
}, z = K(m), u = v.input ?? S, [T, R] = E("root", {
|
|
120
|
+
ref: s,
|
|
121
|
+
elementType: _,
|
|
122
|
+
className: B(z.root, O),
|
|
123
123
|
shouldForwardComponentProp: !0,
|
|
124
124
|
externalForwardedProps: {
|
|
125
125
|
slots: C,
|
|
126
|
-
slotProps:
|
|
127
|
-
...
|
|
126
|
+
slotProps: v,
|
|
127
|
+
...g
|
|
128
128
|
},
|
|
129
129
|
ownerState: m,
|
|
130
130
|
additionalProps: {
|
|
@@ -138,18 +138,18 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
138
138
|
disableRipple: y,
|
|
139
139
|
slots: C,
|
|
140
140
|
slotProps: {
|
|
141
|
-
input:
|
|
142
|
-
"data-indeterminate":
|
|
141
|
+
input: U(typeof u == "function" ? u(m) : u, {
|
|
142
|
+
"data-indeterminate": a
|
|
143
143
|
})
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
});
|
|
147
|
-
return /* @__PURE__ */
|
|
148
|
-
|
|
147
|
+
return /* @__PURE__ */ r(T, {
|
|
148
|
+
...R,
|
|
149
149
|
classes: z
|
|
150
150
|
});
|
|
151
151
|
});
|
|
152
|
-
process.env.NODE_ENV !== "production" && (
|
|
152
|
+
process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
153
153
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
154
154
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
155
155
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -157,50 +157,50 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
157
157
|
/**
|
|
158
158
|
* If `true`, the component is checked.
|
|
159
159
|
*/
|
|
160
|
-
checked:
|
|
160
|
+
checked: o.bool,
|
|
161
161
|
/**
|
|
162
162
|
* The icon to display when the component is checked.
|
|
163
163
|
* @default <CheckBoxIcon />
|
|
164
164
|
*/
|
|
165
|
-
checkedIcon:
|
|
165
|
+
checkedIcon: o.node,
|
|
166
166
|
/**
|
|
167
167
|
* Override or extend the styles applied to the component.
|
|
168
168
|
*/
|
|
169
|
-
classes:
|
|
169
|
+
classes: o.object,
|
|
170
170
|
/**
|
|
171
171
|
* @ignore
|
|
172
172
|
*/
|
|
173
|
-
className:
|
|
173
|
+
className: o.string,
|
|
174
174
|
/**
|
|
175
175
|
* The color of the component.
|
|
176
176
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
177
177
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
178
178
|
* @default 'primary'
|
|
179
179
|
*/
|
|
180
|
-
color:
|
|
180
|
+
color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
|
|
181
181
|
/**
|
|
182
182
|
* The default checked state. Use when the component is not controlled.
|
|
183
183
|
*/
|
|
184
|
-
defaultChecked:
|
|
184
|
+
defaultChecked: o.bool,
|
|
185
185
|
/**
|
|
186
186
|
* If `true`, the component is disabled.
|
|
187
187
|
* @default false
|
|
188
188
|
*/
|
|
189
|
-
disabled:
|
|
189
|
+
disabled: o.bool,
|
|
190
190
|
/**
|
|
191
191
|
* If `true`, the ripple effect is disabled.
|
|
192
192
|
* @default false
|
|
193
193
|
*/
|
|
194
|
-
disableRipple:
|
|
194
|
+
disableRipple: o.bool,
|
|
195
195
|
/**
|
|
196
196
|
* The icon to display when the component is unchecked.
|
|
197
197
|
* @default <CheckBoxOutlineBlankIcon />
|
|
198
198
|
*/
|
|
199
|
-
icon:
|
|
199
|
+
icon: o.node,
|
|
200
200
|
/**
|
|
201
201
|
* The id of the `input` element.
|
|
202
202
|
*/
|
|
203
|
-
id:
|
|
203
|
+
id: o.string,
|
|
204
204
|
/**
|
|
205
205
|
* If `true`, the component appears indeterminate.
|
|
206
206
|
* This does not set the native input element to indeterminate due
|
|
@@ -208,63 +208,63 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
208
208
|
* However, we set a `data-indeterminate` attribute on the `input`.
|
|
209
209
|
* @default false
|
|
210
210
|
*/
|
|
211
|
-
indeterminate:
|
|
211
|
+
indeterminate: o.bool,
|
|
212
212
|
/**
|
|
213
213
|
* The icon to display when the component is indeterminate.
|
|
214
214
|
* @default <IndeterminateCheckBoxIcon />
|
|
215
215
|
*/
|
|
216
|
-
indeterminateIcon:
|
|
216
|
+
indeterminateIcon: o.node,
|
|
217
217
|
/**
|
|
218
218
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
219
219
|
* @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
220
|
*/
|
|
221
|
-
inputProps:
|
|
221
|
+
inputProps: o.object,
|
|
222
222
|
/**
|
|
223
223
|
* Callback fired when the state is changed.
|
|
224
224
|
*
|
|
225
225
|
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
226
226
|
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
227
227
|
*/
|
|
228
|
-
onChange:
|
|
228
|
+
onChange: o.func,
|
|
229
229
|
/**
|
|
230
230
|
* If `true`, the `input` element is required.
|
|
231
231
|
* @default false
|
|
232
232
|
*/
|
|
233
|
-
required:
|
|
233
|
+
required: o.bool,
|
|
234
234
|
/**
|
|
235
235
|
* The size of the component.
|
|
236
236
|
* `small` is equivalent to the dense checkbox styling.
|
|
237
237
|
* @default 'medium'
|
|
238
238
|
*/
|
|
239
|
-
size:
|
|
239
|
+
size: o.oneOfType([o.oneOf(["medium", "small"]), o.string]),
|
|
240
240
|
/**
|
|
241
241
|
* The props used for each slot inside.
|
|
242
242
|
* @default {}
|
|
243
243
|
*/
|
|
244
|
-
slotProps:
|
|
245
|
-
input:
|
|
246
|
-
root:
|
|
244
|
+
slotProps: o.shape({
|
|
245
|
+
input: o.oneOfType([o.func, o.object]),
|
|
246
|
+
root: o.oneOfType([o.func, o.object])
|
|
247
247
|
}),
|
|
248
248
|
/**
|
|
249
249
|
* The components used for each slot inside.
|
|
250
250
|
* @default {}
|
|
251
251
|
*/
|
|
252
|
-
slots:
|
|
253
|
-
input:
|
|
254
|
-
root:
|
|
252
|
+
slots: o.shape({
|
|
253
|
+
input: o.elementType,
|
|
254
|
+
root: o.elementType
|
|
255
255
|
}),
|
|
256
256
|
/**
|
|
257
257
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
258
258
|
*/
|
|
259
|
-
sx:
|
|
259
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
260
260
|
/**
|
|
261
261
|
* The value of the component. The DOM API casts this to a string.
|
|
262
262
|
* The browser uses "on" as the default value.
|
|
263
263
|
*/
|
|
264
|
-
value:
|
|
264
|
+
value: o.any
|
|
265
265
|
});
|
|
266
266
|
export {
|
|
267
|
-
|
|
267
|
+
W as C,
|
|
268
268
|
b as c,
|
|
269
|
-
|
|
269
|
+
G as g
|
|
270
270
|
};
|