@cgi-learning-hub/ui 1.7.0-dev.1754301119 → 1.7.0-dev.1754384740
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-5HprKpir.js → Alert-6yOnGlLE.js} +6 -6
- package/dist/{Alert-oX08_btj.cjs → Alert-CWHOYWde.cjs} +1 -1
- package/dist/{Alert-t9Y5Rmd0.cjs → Alert-D4-73fYc.cjs} +1 -1
- package/dist/{Alert-CuHfEhGp.js → Alert-D6SQnjuJ.js} +83 -83
- package/dist/{Autocomplete-CnlyVovu.js → Autocomplete-B8u-WYi5.js} +680 -664
- package/dist/Autocomplete-BA6NkciB.cjs +6 -0
- package/dist/{Backdrop-BoQZpWZe.cjs → Backdrop-Dp1hKKfU.cjs} +1 -1
- package/dist/{Backdrop-afVH4rly.js → Backdrop-DuOPKUSY.js} +4 -4
- package/dist/{Badge-DpZnnKn_.js → Badge-BJ4yH_Da.js} +4 -4
- package/dist/{Badge-BzldmSCw.cjs → Badge-XMr4Ygjv.cjs} +1 -1
- package/dist/{Box-DZPm-7sq.cjs → Box-B5E7sstc.cjs} +1 -1
- package/dist/{Box-Y5NFdtT9.js → Box-BWETzF5p.js} +3 -3
- package/dist/Button-BJB830NI.cjs +1 -0
- package/dist/{Button-ClQzrcfJ.js → Button-C8_HxKFe.js} +95 -95
- package/dist/{ButtonBase-C1B1bSuc.js → ButtonBase-CJYV8wgs.js} +2 -2
- package/dist/{ButtonBase-CfNwaETo.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
- package/dist/{CardContent-AsctHPxN.cjs → CardContent-H0z20SY7.cjs} +1 -1
- package/dist/{CardContent-C-7Ills7.js → CardContent-V9JMSLmA.js} +3 -3
- package/dist/Checkbox-BZPMiwbF.cjs +1 -0
- package/dist/{Checkbox-BDo-Ja4u.js → Checkbox-DMMz_IAP.js} +86 -86
- package/dist/Chip-BDVqkZZM.js +573 -0
- package/dist/Chip-DMBSp59F.cjs +1 -0
- package/dist/{CircularProgress-DHKrC_wC.cjs → CircularProgress-BMVNeiSf.cjs} +1 -1
- package/dist/{CircularProgress-e2GwZjvZ.js → CircularProgress-CrWnCGqN.js} +3 -3
- package/dist/{Close-5D8Ib460.cjs → Close-2eEmvKPH.cjs} +1 -1
- package/dist/{Close-SkZcN5BS.js → Close-Cr2OT0GV.js} +1 -1
- package/dist/{CloseRounded-PDGvPmjB.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
- package/dist/{CloseRounded-pu2ZIJ3C.js → CloseRounded-BrGeesu1.js} +1 -1
- package/dist/{CustomTreeItem-BEITZFVP.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
- package/dist/{CustomTreeItem-CzwoMYbo.js → CustomTreeItem-DhB3ECa2.js} +12 -12
- package/dist/{DatePicker-BC18fq-N.cjs → DatePicker-DtPvvFiK.cjs} +1 -1
- package/dist/{DatePicker-BlhninZc.js → DatePicker-ofISDY8Q.js} +27 -27
- package/dist/{DefaultPropsProvider-L6HBe-61.cjs → DefaultPropsProvider-BFTLy05-.cjs} +1 -1
- package/dist/{DefaultPropsProvider-DUvQuMqx.js → DefaultPropsProvider-nxIPd34m.js} +1 -1
- package/dist/{Delete-C3U_yHlr.cjs → Delete-BF63Gpr-.cjs} +1 -1
- package/dist/{Delete-BG2nuo1g.js → Delete-CwWpjEOT.js} +1 -1
- package/dist/{Dialog-BrzV4wxg.cjs → Dialog-Cymf3DJ2.cjs} +1 -1
- package/dist/{Dialog-DNVqOw2s.js → Dialog-eK1zTFBm.js} +8 -8
- package/dist/{DialogContent-D5a75H3s.js → DialogContent-BsPZJR2a.js} +3 -3
- package/dist/{DialogContent-CB_sWv9x.cjs → DialogContent-Gy1s3ela.cjs} +1 -1
- package/dist/{DialogTitle-CNbmF6WW.cjs → DialogTitle-BDyrzRXS.cjs} +1 -1
- package/dist/{DialogTitle-JZQnwtuk.js → DialogTitle-CaAd59jN.js} +5 -5
- package/dist/Divider-BzdMIEJJ.cjs +1 -0
- package/dist/{Divider-CYeubXMv.js → Divider-D_gbcyWE.js} +26 -26
- package/dist/{Folder-BOpUcb-0.js → Folder-COKXTjZ4.js} +1 -1
- package/dist/{Folder-Buw8vc6p.cjs → Folder-D0fZbyc-.cjs} +1 -1
- package/dist/{FormLabel-BgcoFMaK.cjs → FormLabel-BLySmpkL.cjs} +1 -1
- package/dist/{FormLabel-Co9lVChV.js → FormLabel-DmLckqyT.js} +3 -3
- package/dist/{Grid-DZuUDIfd.cjs → Grid-DFaRzlB4.cjs} +1 -1
- package/dist/{Grid-7Ov-bB30.js → Grid-vM--ojbL.js} +7 -7
- package/dist/{Grow-BkwKF7q9.js → Grow-DE5x7F5S.js} +1 -1
- package/dist/{Grow-D3LPFWff.cjs → Grow-ovNT7Sot.cjs} +1 -1
- package/dist/IconButton-DCQiOq7W.cjs +2 -0
- package/dist/{IconButton-Blb-11WY.js → IconButton-f9EZgwvD.js} +66 -66
- package/dist/{InputAdornment-DVvWksJD.js → InputAdornment-B615VSjF.js} +4 -4
- package/dist/{InputAdornment-AXmehV8N.cjs → InputAdornment-BrrJ8chb.cjs} +1 -1
- package/dist/{InputBase-BH6v1g55.js → InputBase-BCbPPzW1.js} +4 -4
- package/dist/{InputBase-CJ__hvW-.cjs → InputBase-CRrFludT.cjs} +1 -1
- package/dist/Link-CMes5bws.cjs +1 -0
- package/dist/{Link-CTpG0nMM.js → Link-GBRiPElP.js} +52 -39
- package/dist/{List-HZ02T5IH.js → List-DZkddOsr.js} +2 -2
- package/dist/{List-DqWGUj00.cjs → List-E_TAQ1jJ.cjs} +1 -1
- package/dist/{ListItem-d54kASOG.js → ListItem-CMoibMI7.js} +4 -4
- package/dist/{ListItem-DHXWFekp.cjs → ListItem-qTKJTg7f.cjs} +1 -1
- package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
- package/dist/{ListItemText-DYmSkIYb.js → ListItemText-BbrPf29n.js} +139 -139
- package/dist/{Menu-_ydVG0GC.js → Menu-3UjlpKRJ.js} +9 -9
- package/dist/{Menu-DaY3i7bt.cjs → Menu-C0uY9Dd0.cjs} +1 -1
- package/dist/MenuItem--a878rw9.cjs +1 -0
- package/dist/{MenuItem-Dm4LBnCD.js → MenuItem-CHEWce5u.js} +94 -94
- package/dist/{Modal-Dzfy_1jJ.cjs → Modal-CdcolE0C.cjs} +1 -1
- package/dist/{Modal-BzSNDBLR.js → Modal-Du5LfkZg.js} +5 -5
- package/dist/{MoreVert-IEpmt0uR.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
- package/dist/{MoreVert-B3ciLTYq.js → MoreVert-PLU7h8WO.js} +1 -1
- package/dist/{Paper-DyvwdVbr.js → Paper-BylmTlAJ.js} +4 -4
- package/dist/{Paper-C556kWTS.cjs → Paper-DgHGh6vt.cjs} +1 -1
- package/dist/{Popper-CUaI4ozF.cjs → Popper-BsNp09Gg.cjs} +1 -1
- package/dist/{Popper-BeTnr75i.js → Popper-CvQLHjwo.js} +3 -3
- package/dist/Radio-CLNMQGNf.cjs +1 -0
- package/dist/{Radio-Bu3a_PCd.js → Radio-CbYgci2-.js} +126 -126
- package/dist/{RadioGroup-uNUiFbWR.js → RadioGroup-D-Cq8SmM.js} +3 -3
- package/dist/{RadioGroup-D4RBSqS4.cjs → RadioGroup-Dyf8fKum.cjs} +1 -1
- package/dist/{Select-DOdisH2t.js → Select-Bx0yVOZE.js} +618 -593
- package/dist/Select-CRVPbesC.cjs +3 -0
- package/dist/{Stack-g8Bqti2Z.cjs → Stack-COmIqMxy.cjs} +1 -1
- package/dist/{Stack-HQi3T-bA.js → Stack-CbK4a2n5.js} +5 -5
- package/dist/{Stepper-CHdyehzy.cjs → Stepper-CWq9t5jy.cjs} +1 -1
- package/dist/{Stepper-CLIIxOjX.js → Stepper-DU9nixCp.js} +6 -6
- package/dist/{Switch-DMXAop9u.js → Switch-Bm3Gclye.js} +100 -97
- package/dist/Switch-kHZOqjeU.cjs +1 -0
- package/dist/{SwitchBase-DHIl4C4Y.js → SwitchBase-9CKmTWdZ.js} +4 -4
- package/dist/{SwitchBase-DEmHoES3.cjs → SwitchBase-Hbqxtooi.cjs} +1 -1
- package/dist/{Tab-Wa4vpq-c.js → Tab-DBCv1T9W.js} +9 -9
- package/dist/{Tab-YDNeFPka.cjs → Tab-DnxFjc89.cjs} +1 -1
- package/dist/{TextField-C9KnxAy6.cjs → TextField-BhdmUny-.cjs} +1 -1
- package/dist/{TextField-C1yi1eJS.js → TextField-V-EQ80Y6.js} +6 -6
- package/dist/{ToggleButtonGroup-BO41LFPa.cjs → ToggleButtonGroup-B2FBwoDV.cjs} +30 -30
- package/dist/{ToggleButtonGroup-BbPnmCNn.js → ToggleButtonGroup-_UpIjysl.js} +1470 -1464
- package/dist/{Tooltip-BJEo8ucK.js → Tooltip-DKHOTDh0.js} +81 -81
- package/dist/{Tooltip-D2pRQ5fo.cjs → Tooltip-DYTDIzp4.cjs} +3 -3
- package/dist/{Typography-B9IL0Yyj.cjs → Typography-BvRUTdLD.cjs} +1 -1
- package/dist/{Typography-FOMqoyry.js → Typography-o0iALAVg.js} +4 -4
- package/dist/components/ActionBar/style.cjs.js +1 -1
- package/dist/components/ActionBar/style.es.js +2 -2
- 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.es.js +3 -3
- 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 +1 -1
- package/dist/components/TreeView/TreeView.es.js +7 -7
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- 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.es.js +44 -44
- 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-DdYUnzSL.cjs → createSvgIcon-BJRigbha.cjs} +1 -1
- package/dist/{createSvgIcon-CBuQt1E7.js → createSvgIcon-BV54rC7k.js} +3 -3
- package/dist/{dividerClasses-ZjarMa6x.cjs → dividerClasses-CbwbHy8r.cjs} +1 -1
- package/dist/{dividerClasses-DAQcMLKz.js → dividerClasses-DDXs86hs.js} +1 -1
- package/dist/{extendSxProp-CJQ3kPMK.cjs → extendSxProp-CxMSlckP.cjs} +1 -1
- package/dist/{extendSxProp-BqMCV2uy.js → extendSxProp-XouBF-Ct.js} +1 -1
- package/dist/identifier-DBvccNCw.cjs +55 -0
- package/dist/{identifier-MtSOtM28.js → identifier-Dnc8T93Z.js} +1041 -970
- package/dist/{index-6tKU6ZQK.js → index-9te7SXrs.js} +4 -4
- package/dist/{index-DXLTUqRz.cjs → index-BkNQtUZJ.cjs} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +44 -44
- package/dist/{listItemTextClasses-CEEJTyBd.js → listItemTextClasses-4p_83pwn.js} +1 -1
- package/dist/{listItemTextClasses-1rlNhf-V.cjs → listItemTextClasses-Cxo4anAo.cjs} +1 -1
- package/dist/{memoTheme-COFyM-Lj.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
- package/dist/{memoTheme-BkQtxnmm.js → memoTheme-K37vidlb.js} +1 -1
- package/dist/{mergeSlotProps-CxIbs-F-.cjs → mergeSlotProps-CXO1f70l.cjs} +1 -1
- package/dist/{mergeSlotProps-DoT5Q_u9.js → mergeSlotProps-DSWiBSbD.js} +1 -1
- package/dist/styled-B7pKW9DQ.cjs +1 -0
- package/dist/styled-JnAdiSL5.js +5 -0
- package/dist/{useSlot-CKkACQ6_.js → useSlot-GooGQrej.js} +1 -1
- package/dist/{useSlot-CDchSDy6.cjs → useSlot-ONna5RyM.cjs} +1 -1
- package/dist/{useSlotProps-gY5pnb4R.js → useSlotProps-C34Wr67s.js} +1 -1
- package/dist/{useSlotProps-C6ampkNB.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
- package/dist/{useTheme-BopB_RfW.js → useTheme-CH7DA5fq.js} +3 -3
- package/dist/{useTheme-DtUyXlAF.cjs → useTheme-D6wPRo0G.cjs} +1 -1
- package/dist/{useTheme-CcW-d3_-.cjs → useTheme-DkiCyF-9.cjs} +1 -1
- package/dist/{useTheme-FvB4v6HF.js → useTheme-VH02z7nF.js} +1 -1
- package/dist/{useThemeProps-CMAEtBA0.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
- package/dist/useThemeProps-DT4QxdFn.js +17 -0
- package/dist/{useThemeProps-DQn1JzAi.js → useThemeProps-DZ05-54P.js} +2 -2
- package/package.json +3 -3
- package/dist/Autocomplete-B8P9Ovq8.cjs +0 -6
- package/dist/Button-DirKtTwl.cjs +0 -1
- package/dist/Checkbox-D-IlU3y3.cjs +0 -1
- package/dist/Chip-BMkket_G.cjs +0 -1
- package/dist/Chip-DaVoVFrv.js +0 -573
- package/dist/Divider-LtKWCwQ0.cjs +0 -1
- package/dist/IconButton-eTKjCSYh.cjs +0 -2
- package/dist/Link-J35C0yR7.cjs +0 -1
- package/dist/ListItemText-BBfnonUl.cjs +0 -1
- package/dist/MenuItem-H2jLZZlW.cjs +0 -1
- package/dist/Radio-D7yE5cpq.cjs +0 -1
- package/dist/Select-DuhWfirM.cjs +0 -3
- package/dist/Switch-BO43FkC8.cjs +0 -1
- package/dist/identifier-DEr2pTmJ.cjs +0 -55
- package/dist/styled-CrcV-2Lu.js +0 -5
- package/dist/styled-DI-9E4CZ.cjs +0 -1
- package/dist/useThemeProps-BrAWHIaw.cjs +0 -1
- package/dist/useThemeProps-DFxy_wfq.js +0 -17
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Ne=Object.defineProperty;var je=(n,t,e)=>t in n?Ne(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var ie=(n,t,e)=>je(n,typeof t!="symbol"?t+"":t,e);const T=require("react"),o=require("./index-DLnSn8GT.cjs"),P=require("./identifier-
|
|
1
|
+
"use strict";var Ne=Object.defineProperty;var je=(n,t,e)=>t in n?Ne(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var ie=(n,t,e)=>je(n,typeof t!="symbol"?t+"":t,e);const T=require("react"),o=require("./index-DLnSn8GT.cjs"),P=require("./identifier-DBvccNCw.cjs"),F=require("react/jsx-runtime"),I=require("./DefaultPropsProvider-BFTLy05-.cjs"),ae=require("./useTimeout-COCrDKz-.cjs"),H=require("./TransitionGroupContext-Zt4NoR0u.cjs"),oe=require("@emotion/react"),le=require("./useForkRef-CFhhTu-Q.cjs"),J=require("./useEventCallback-BxpcFap0.cjs"),ue=require("./isFocusVisible-DlSijby6.cjs"),ke=require("./elementTypeAcceptingRef-BwZv9xBI.cjs"),Se=require("./refType-B_IEJm4x.cjs");function Oe(n){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const e in n)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(n,e);Object.defineProperty(t,e,i.get?i:{enumerable:!0,get:()=>n[e]})}}return t.default=n,Object.freeze(t)}const d=Oe(T);class Q{constructor(){ie(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Q}static use(){const t=ae.useLazyRef(Q.create).current,[e,i]=d.useState(!1);return t.shouldMount=e,t.setShouldMount=i,d.useEffect(t.mountEffect,[e]),t}mount(){return this.mounted||(this.mounted=Be(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var e;return(e=this.ref.current)==null?void 0:e.start(...t)})}stop(...t){this.mount().then(()=>{var e;return(e=this.ref.current)==null?void 0:e.stop(...t)})}pulsate(...t){this.mount().then(()=>{var e;return(e=this.ref.current)==null?void 0:e.pulsate(...t)})}}function we(){return Q.use()}function Be(){let n,t;const e=new Promise((i,s)=>{n=i,t=s});return e.resolve=n,e.reject=t,e}function Z(){return Z=Object.assign?Object.assign.bind():function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var i in e)({}).hasOwnProperty.call(e,i)&&(n[i]=e[i])}return n},Z.apply(null,arguments)}function Le(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function se(n,t){var e=function(r){return t&&T.isValidElement(r)?t(r):r},i=Object.create(null);return n&&T.Children.map(n,function(s){return s}).forEach(function(s){i[s.key]=e(s)}),i}function Fe(n,t){n=n||{},t=t||{};function e(h){return h in t?t[h]:n[h]}var i=Object.create(null),s=[];for(var r in n)r in t?s.length&&(i[r]=s,s=[]):s.push(r);var l,p={};for(var a in t){if(i[a])for(l=0;l<i[a].length;l++){var f=i[a][l];p[i[a][l]]=e(f)}p[a]=e(a)}for(l=0;l<s.length;l++)p[s[l]]=e(s[l]);return p}function L(n,t,e){return e[t]!=null?e[t]:n.props[t]}function qe(n,t){return se(n.children,function(e){return T.cloneElement(e,{onExited:t.bind(null,e),in:!0,appear:L(e,"appear",n),enter:L(e,"enter",n),exit:L(e,"exit",n)})})}function Ue(n,t,e){var i=se(n.children),s=Fe(t,i);return Object.keys(s).forEach(function(r){var l=s[r];if(T.isValidElement(l)){var p=r in t,a=r in i,f=t[r],h=T.isValidElement(f)&&!f.props.in;a&&(!p||h)?s[r]=T.cloneElement(l,{onExited:e.bind(null,l),in:!0,exit:L(l,"exit",n),enter:L(l,"enter",n)}):!a&&p&&!h?s[r]=T.cloneElement(l,{in:!1}):a&&p&&T.isValidElement(f)&&(s[r]=T.cloneElement(l,{onExited:e.bind(null,l),in:f.props.in,exit:L(l,"exit",n),enter:L(l,"enter",n)}))}}),s}var $e=Object.values||function(n){return Object.keys(n).map(function(t){return n[t]})},Ie={component:"div",childFactory:function(t){return t}},ee=function(n){H._inheritsLoose(t,n);function t(i,s){var r;r=n.call(this,i,s)||this;var l=r.handleExited.bind(Le(r));return r.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},r}var e=t.prototype;return e.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},e.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(s,r){var l=r.children,p=r.handleExited,a=r.firstRender;return{children:a?qe(s,p):Ue(s,l,p),firstRender:!1}},e.handleExited=function(s,r){var l=se(this.props.children);s.key in l||(s.props.onExited&&s.props.onExited(r),this.mounted&&this.setState(function(p){var a=Z({},p.children);return delete a[s.key],{children:a}}))},e.render=function(){var s=this.props,r=s.component,l=s.childFactory,p=H._objectWithoutPropertiesLoose(s,["component","childFactory"]),a=this.state.contextValue,f=$e(this.state.children).map(l);return delete p.appear,delete p.enter,delete p.exit,r===null?T.createElement(H.TransitionGroupContext.Provider,{value:a},f):T.createElement(H.TransitionGroupContext.Provider,{value:a},T.createElement(r,p,f))},t}(T.Component);ee.propTypes=process.env.NODE_ENV!=="production"?{component:o.PropTypes.any,children:o.PropTypes.node,appear:o.PropTypes.bool,enter:o.PropTypes.bool,exit:o.PropTypes.bool,childFactory:o.PropTypes.func}:{};ee.defaultProps=Ie;function ce(n){const{className:t,classes:e,pulsate:i=!1,rippleX:s,rippleY:r,rippleSize:l,in:p,onExited:a,timeout:f}=n,[h,m]=d.useState(!1),R=P.clsx(t,e.ripple,e.rippleVisible,i&&e.ripplePulsate),v={width:l,height:l,top:-(l/2)+r,left:-(l/2)+s},b=P.clsx(e.child,h&&e.childLeaving,i&&e.childPulsate);return!p&&!h&&m(!0),d.useEffect(()=>{if(!p&&a!=null){const S=setTimeout(a,f);return()=>{clearTimeout(S)}}},[a,p,f]),F.jsx("span",{className:R,style:v,children:F.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(ce.propTypes={classes:o.PropTypes.object.isRequired,className:o.PropTypes.string,in:o.PropTypes.bool,onExited:o.PropTypes.func,pulsate:o.PropTypes.bool,rippleSize:o.PropTypes.number,rippleX:o.PropTypes.number,rippleY:o.PropTypes.number,timeout:o.PropTypes.number.isRequired});const g=P.generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ne=550,ze=80,_e=oe.keyframes`
|
|
2
2
|
0% {
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
opacity: 0.1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const b=require("react"),e=require("./index-DLnSn8GT.cjs"),n=require("./identifier-
|
|
1
|
+
"use strict";const b=require("react"),e=require("./index-DLnSn8GT.cjs"),n=require("./identifier-DBvccNCw.cjs"),y=require("react/jsx-runtime"),a=require("./DefaultPropsProvider-BFTLy05-.cjs"),v=require("./Paper-DgHGh6vt.cjs"),j=require("./chainPropTypes-CEUi6Jb4.cjs");function O(s){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>s[t]})}}return o.default=s,Object.freeze(o)}const u=O(b);function C(s){return n.generateUtilityClass("MuiCard",s)}const N=n.generateUtilityClasses("MuiCard",["root"]),U=s=>{const{classes:o}=s,t={root:["root"]};return a.composeClasses(t,C,o)},w=a.styled(v.Paper,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),f=u.forwardRef(function(o,t){const r=a.useDefaultProps({props:o,name:"MuiCard"}),{className:i,raised:p=!1,...l}=r,c={...r,raised:p},d=U(c);return y.jsx(w,{className:n.clsx(d.root,i),elevation:p?8:void 0,ref:t,ownerState:c,...l})});process.env.NODE_ENV!=="production"&&(f.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,raised:j.chainPropTypes(e.PropTypes.bool,s=>s.raised&&s.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),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])});function T(s){return n.generateUtilityClass("MuiCardActions",s)}const M=n.generateUtilityClasses("MuiCardActions",["root","spacing"]),S=s=>{const{classes:o,disableSpacing:t}=s,r={root:["root",!t&&"spacing"]};return a.composeClasses(r,T,o)},R=a.styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(s,o)=>{const{ownerState:t}=s;return[o.root,!t.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),P=u.forwardRef(function(o,t){const r=a.useDefaultProps({props:o,name:"MuiCardActions"}),{disableSpacing:i=!1,className:p,...l}=r,c={...r,disableSpacing:i},d=S(c);return y.jsx(R,{className:n.clsx(d.root,p),ownerState:c,ref:t,...l})});process.env.NODE_ENV!=="production"&&(P.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,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])});function g(s){return n.generateUtilityClass("MuiCardContent",s)}const h=n.generateUtilityClasses("MuiCardContent",["root"]),x=s=>{const{classes:o}=s,t={root:["root"]};return a.composeClasses(t,g,o)},A=a.styled("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),m=u.forwardRef(function(o,t){const r=a.useDefaultProps({props:o,name:"MuiCardContent"}),{className:i,component:p="div",...l}=r,c={...r,component:p},d=x(c);return y.jsx(A,{as:p,className:n.clsx(d.root,i),ownerState:c,ref:t,...l})});process.env.NODE_ENV!=="production"&&(m.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.Card=f;exports.CardActions=P;exports.CardContent=m;exports.cardActionsClasses=M;exports.cardClasses=N;exports.cardContentClasses=h;exports.getCardActionsUtilityClass=T;exports.getCardContentUtilityClass=g;exports.getCardUtilityClass=C;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
2
|
import { P as s } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { F as p, G as u, H as f } from "./identifier-
|
|
3
|
+
import { F as p, G as u, H as f } from "./identifier-Dnc8T93Z.js";
|
|
4
4
|
import { jsx as C } from "react/jsx-runtime";
|
|
5
|
-
import { u as m, s as y, c as g } from "./DefaultPropsProvider-
|
|
6
|
-
import { P as b } from "./Paper-
|
|
5
|
+
import { u as m, s as y, c as g } from "./DefaultPropsProvider-nxIPd34m.js";
|
|
6
|
+
import { P as b } from "./Paper-BylmTlAJ.js";
|
|
7
7
|
import { c as v } from "./chainPropTypes-D9lkm76m.js";
|
|
8
8
|
function N(o) {
|
|
9
9
|
return u("MuiCard", o);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const B=require("react"),e=require("./index-DLnSn8GT.cjs"),n=require("./identifier-DBvccNCw.cjs"),M=require("./SwitchBase-Hbqxtooi.cjs"),b=require("./createSvgIcon-BJRigbha.cjs"),c=require("react/jsx-runtime"),i=require("./DefaultPropsProvider-BFTLy05-.cjs"),V=require("./memoTheme-Dv-rDqFz.cjs"),g=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),F=require("./useSlot-ONna5RyM.cjs"),$=require("./mergeSlotProps-CXO1f70l.cjs");function N(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=N(B),D=b.createSvgIcon(c.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=b.createSvgIcon(c.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"),U=b.createSvgIcon(c.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 z(o){return n.generateUtilityClass("MuiCheckbox",o)}const a=n.generateUtilityClasses("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),E=o=>{const{classes:t,indeterminate:r,color:s,size:l}=o,d={root:["root",r&&"indeterminate",`color${n.capitalize(s)}`,`size${n.capitalize(l)}`]},u=i.composeClasses(d,z,t);return{...t,...u}},_=i.styled(M.SwitchBase,{shouldForwardProp:o=>i.rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.indeterminate&&t.indeterminate,t[`size${n.capitalize(r.size)}`],r.color!=="default"&&t[`color${n.capitalize(r.color)}`]]}})(V.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(g.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(g.createSimplePaletteValueFilter()).map(([t])=>({props:{color:t},style:{[`&.${a.checked}, &.${a.indeterminate}`]:{color:(o.vars||o).palette[t].main},[`&.${a.disabled}`]:{color:(o.vars||o).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),L=c.jsx(H,{}),A=c.jsx(D,{}),G=c.jsx(U,{}),I=f.forwardRef(function(t,r){const s=i.useDefaultProps({props:t,name:"MuiCheckbox"}),{checkedIcon:l=L,color:d="primary",icon:u=A,indeterminate:p=!1,indeterminateIcon:m=G,inputProps:O,size:y="medium",disableRipple:h=!1,className:j,slots:k={},slotProps:x={},...R}=s,v=p?m:u,C=p?m:l,P={...s,disableRipple:h,color:d,indeterminate:p,size:y},S=E(P),T=x.input??O,[q,w]=F.useSlot("root",{ref:r,elementType:_,className:n.clsx(S.root,j),shouldForwardComponentProp:!0,externalForwardedProps:{slots:k,slotProps:x,...R},ownerState:P,additionalProps:{type:"checkbox",icon:f.cloneElement(v,{fontSize:v.props.fontSize??y}),checkedIcon:f.cloneElement(C,{fontSize:C.props.fontSize??y}),disableRipple:h,slots:k,slotProps:{input:$.mergeSlotProps(typeof T=="function"?T(P):T,{"data-indeterminate":p})}}});return c.jsx(q,{...w,classes:S})});process.env.NODE_ENV!=="production"&&(I.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=I;exports.checkboxClasses=a;exports.getCheckboxUtilityClass=z;
|
|
@@ -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
|
};
|