@cgi-learning-hub/ui 1.6.0-dev.1749572967 → 1.6.0-dev.1750084198
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-BhLIlUBu.js +368 -0
- package/dist/Alert-DPSZppEy.cjs +1 -0
- package/dist/Alert-OeEy_IGc.js +94 -0
- package/dist/Alert-rPyl-bqs.cjs +1 -0
- package/dist/Autocomplete-BdPO9SAd.cjs +6 -0
- package/dist/{Autocomplete-BVy1WjPe.js → Autocomplete-WZw_zCjA.js} +366 -368
- package/dist/{Backdrop-BSLhsv85.js → Backdrop-CjZYrxkZ.js} +5 -5
- package/dist/Backdrop-DeNTZlA5.cjs +1 -0
- package/dist/{Badge-D9BY47ln.js → Badge-Bwcsnbsa.js} +107 -99
- package/dist/Badge-DFzvdVS-.cjs +1 -0
- package/dist/{Box-DjbKEblU.js → Box-BI4osO9v.js} +3 -3
- package/dist/Box-DR3n_po_.cjs +1 -0
- package/dist/{Button-WTdCmXYm.js → Button-DDV5EfwJ.js} +115 -151
- package/dist/Button-DyJV5llI.cjs +1 -0
- package/dist/{ButtonBase-Cog6rzwh.js → ButtonBase-6TF6t2SP.js} +21 -22
- package/dist/ButtonBase-Dp6sf_dP.cjs +74 -0
- package/dist/CardContent-COfaU6E0.cjs +1 -0
- package/dist/{CardContent-rIQGzMEo.js → CardContent-D3uGcxlr.js} +34 -36
- package/dist/Checkbox-3hTSv0EZ.cjs +1 -0
- package/dist/{Checkbox-DUMc8-SB.js → Checkbox-BfBDowB2.js} +27 -28
- package/dist/Chip-BG0OU0KI.cjs +1 -0
- package/dist/{Chip-DUN-Fb_U.js → Chip-DmjZbx_X.js} +213 -164
- package/dist/CircularProgress-CXXyPavb.cjs +28 -0
- package/dist/{CircularProgress-DnqwyXnx.js → CircularProgress-DZuYTFz-.js} +34 -36
- package/dist/{Close-BFNngmx-.cjs → Close-7S2hSoFB.cjs} +1 -1
- package/dist/{Close-BD-KPNgj.js → Close-DEMecSZ6.js} +1 -1
- package/dist/{CloseRounded-BvDxY6j7.js → CloseRounded-CioV1GK3.js} +1 -1
- package/dist/{CloseRounded-e-a3RxlE.cjs → CloseRounded-DS-4-gMR.cjs} +1 -1
- package/dist/CustomTreeItem-B9FylIhL.js +2045 -0
- package/dist/CustomTreeItem-Bg8Ub4dn.cjs +41 -0
- package/dist/DatePicker-CH8XRum0.cjs +16 -0
- package/dist/DatePicker-DasS2wq6.js +10663 -0
- package/dist/DefaultPropsProvider-Cnf49AIv.cjs +1 -0
- package/dist/{DefaultPropsProvider-CRQ3Gr22.js → DefaultPropsProvider-DqazQPtr.js} +20 -20
- package/dist/{Delete-Cy45hwCy.js → Delete-B5VTV71K.js} +1 -1
- package/dist/{Delete-fIZ9JoWy.cjs → Delete-BvkBJXEM.cjs} +1 -1
- package/dist/Dialog-Btagj_Gt.cjs +1 -0
- package/dist/{Dialog-sYVRMluM.js → Dialog-DEWB041V.js} +36 -41
- package/dist/{DialogContent-Bnuj13Sv.js → DialogContent-C294EkoQ.js} +3 -3
- package/dist/DialogContent-DXfUge3c.cjs +1 -0
- package/dist/{DialogTitle-BT0ckfTq.js → DialogTitle-BSiId6Q1.js} +38 -40
- package/dist/DialogTitle-y2PrK6uU.cjs +1 -0
- package/dist/Divider-NermA5hZ.cjs +1 -0
- package/dist/{Divider-Bsr4YOx4.js → Divider-kKp4VqHh.js} +4 -4
- package/dist/{Folder-BvPvb5St.cjs → Folder-BfLBqDHM.cjs} +1 -1
- package/dist/{Folder-cn5kD2Zm.js → Folder-BgQP5-Ve.js} +1 -1
- package/dist/{FormLabel-C_NeUysJ.js → FormLabel-B3WAnPGP.js} +36 -38
- package/dist/FormLabel-JrZR9kt8.cjs +2 -0
- package/dist/Grid-BHYQ3JNy.cjs +2 -0
- package/dist/{Grid-CpuW2Xrl.js → Grid-DFk-4jnZ.js} +75 -83
- package/dist/Grow-BULCy6GX.cjs +1 -0
- package/dist/{Grow-DrWDr0WD.js → Grow-BfjkXlG8.js} +2 -2
- package/dist/{IconButton-ZOYYBKrY.js → IconButton-BYvak8Nw.js} +13 -15
- package/dist/IconButton-CjtMjZ9e.cjs +2 -0
- package/dist/{InputAdornment-mPJEEW62.js → InputAdornment-BBZXvhZ-.js} +14 -15
- package/dist/InputAdornment-DvHQMisT.cjs +1 -0
- package/dist/{InputBase-wf6Sq2-d.js → InputBase-BS5oknUK.js} +196 -194
- package/dist/InputBase-DPdKpmOz.cjs +4 -0
- package/dist/Link-BwbY60dS.cjs +1 -0
- package/dist/{Link-CPIGW37d.js → Link-DYPjEdvu.js} +10 -11
- package/dist/{List-4Tnjo8WV.js → List-CB_cqCSw.js} +2 -2
- package/dist/List-t9bWFewp.cjs +1 -0
- package/dist/{ListItem-CeosJHtu.js → ListItem-DAZQEir2.js} +25 -26
- package/dist/ListItem-DP7YmqZk.cjs +1 -0
- package/dist/ListItemText-cVnimPLO.cjs +1 -0
- package/dist/{ListItemText-BlTklQGT.js → ListItemText-qfdqJP77.js} +9 -9
- package/dist/{Menu-CtyhzSeU.js → Menu-9BK8jmzW.js} +101 -106
- package/dist/Menu-C61wLk41.cjs +7 -0
- package/dist/{MenuItem-Cpp55CvO.js → MenuItem-C8nduSzJ.js} +7 -7
- package/dist/MenuItem-DHM3qxwr.cjs +1 -0
- package/dist/{Modal-WaX5c2ks.js → Modal-D3Q9vEAI.js} +52 -57
- package/dist/Modal-DkzrSKHd.cjs +2 -0
- package/dist/{MoreVert-B37dOc0h.cjs → MoreVert-C-Rhn-xK.cjs} +1 -1
- package/dist/{MoreVert-DcA_LRP8.js → MoreVert-C_W1m_Z_.js} +1 -1
- package/dist/Paper-BbqZL5vx.cjs +2 -0
- package/dist/{Paper-yeP8q4RO.js → Paper-IQckggbn.js} +5 -5
- package/dist/{Popper-IzGPRFl_.js → Popper-CfFLBZ7-.js} +5 -6
- package/dist/Popper-DvWx5tR3.cjs +4 -0
- package/dist/{Portal-DTB-35pe.js → Portal-BlK6ttxt.js} +4 -4
- package/dist/Portal-CPOCKeMh.cjs +1 -0
- package/dist/Radio-Bwh_t6PC.cjs +1 -0
- package/dist/{Radio-DQq7Mj29.js → Radio-DKiu6lVB.js} +17 -19
- package/dist/RadioGroup-Cvnwt4JE.cjs +1 -0
- package/dist/{RadioGroup-D-KO9Ylf.js → RadioGroup-DFKMlNWO.js} +4 -4
- package/dist/Select-3HP39Z7o.cjs +3 -0
- package/dist/{Select-CHo4cwj1.js → Select-CpNF3a57.js} +425 -410
- package/dist/Stack-CIyfgZCM.cjs +1 -0
- package/dist/{Stack-B_iq0mhq.js → Stack-DSJ2DqNd.js} +36 -37
- package/dist/Stepper-CXHfLPtA.cjs +1 -0
- package/dist/{Stepper-Co2LRzY9.js → Stepper-DE2l91K0.js} +92 -98
- package/dist/{Switch-B0HwIwIM.js → Switch-BIcwDf_P.js} +24 -27
- package/dist/Switch-CTEqKDiv.cjs +1 -0
- package/dist/{SwitchBase-DrxqSNew.js → SwitchBase-DZV8S81Z.js} +21 -22
- package/dist/SwitchBase-P3zHVmLX.cjs +1 -0
- package/dist/{Tab-fionqt7a.js → Tab-Ckr6Bn59.js} +95 -98
- package/dist/Tab-r5imbU9z.cjs +4 -0
- package/dist/{TextField-CbcJBZMa.js → TextField-BenBw4oE.js} +46 -48
- package/dist/TextField-Brw3X9cn.cjs +1 -0
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +138 -0
- package/dist/{ToggleButtonGroup-C2VnPpq_.js → ToggleButtonGroup-DhtAoGtM.js} +2916 -2878
- package/dist/Tooltip-BAOKe3SY.cjs +4 -0
- package/dist/{Tooltip-KsV9NFU9.js → Tooltip-KkgNQm4r.js} +26 -28
- package/dist/Typography-CSTmKyr8.cjs +1 -0
- package/dist/{Typography-CYUXO-Vm.js → Typography-Dy8r_tT2.js} +6 -7
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +5 -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.d.ts +1 -2
- 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 +5 -7
- package/dist/components/TreeView/TreeView.es.js +1207 -1452
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +2 -2
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/types.d.ts +5 -5
- 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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/Dropzone.stories.d.ts +1 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +1 -1
- package/dist/components/stories/EmptyState.stories.d.ts +1 -1
- package/dist/components/stories/FileList.stories.d.ts +1 -1
- package/dist/components/stories/FolderCard.stories.d.ts +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/ImagePicker.stories.d.ts +1 -1
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.d.ts +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Loader.stories.d.ts +1 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.d.ts +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.d.ts +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +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.d.ts +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/SearchInput.stories.d.ts +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +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.d.ts +1 -1
- package/dist/components/stories/TreeView.stories.es.js +13 -13
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.d.ts +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-BWru5SCV.js → createSvgIcon-B1E6Wo8z.js} +7 -8
- package/dist/createSvgIcon-IET9soda.cjs +1 -0
- package/dist/{dividerClasses-Brli9oB2.js → dividerClasses-BPJZ8SFy.js} +1 -1
- package/dist/dividerClasses-C07OJKLL.cjs +1 -0
- package/dist/elementAcceptingRef-BZ42cOGO.cjs +1 -0
- package/dist/{extendSxProp-DPYS2LeU.js → extendSxProp-CesAxox9.js} +1 -1
- package/dist/extendSxProp-ZMCunXYm.cjs +1 -0
- package/dist/identifier-BoZelETM.cjs +55 -0
- package/dist/{generateUtilityClasses-BbL5PyhJ.js → identifier-PWESmBq6.js} +581 -611
- package/dist/{index-Blgqpey-.js → index-8G2jvqZ8.js} +4 -4
- package/dist/index-D3lMWU76.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +44 -44
- package/dist/integerPropType-BihGt2aU.js +31 -0
- package/dist/integerPropType-CR7ytEJG.cjs +1 -0
- package/dist/{listItemTextClasses-x9hDn3Oc.js → listItemTextClasses-B5VhLd9W.js} +1 -1
- package/dist/listItemTextClasses-CJDKfXvl.cjs +1 -0
- package/dist/{memoTheme-BvyhrtrO.cjs → memoTheme-BKfsJx_F.cjs} +1 -1
- package/dist/{memoTheme-C2ZnVSVg.js → memoTheme-DAFDflPY.js} +1 -1
- package/dist/{mergeSlotProps-Cy3pJiFs.js → mergeSlotProps-ChAye7iz.js} +1 -1
- package/dist/mergeSlotProps-DXwOW3FE.cjs +1 -0
- package/dist/styled-C7gyRDlj.js +5 -0
- package/dist/styled-Cax0O00h.cjs +1 -0
- package/dist/useControlled-QrrYcKxm.cjs +3 -0
- package/dist/useControlled-nm4pBabJ.js +31 -0
- package/dist/useSlot-BzdKwDQ5.js +125 -0
- package/dist/useSlot-C2FjoUpF.cjs +1 -0
- package/dist/useSlotProps-CrQGQLdL.cjs +1 -0
- package/dist/{useSlotProps-Bvolo5qn.js → useSlotProps-DdMuGelR.js} +1 -1
- package/dist/{useTheme-DlWqSSQs.js → useTheme--i9fxE_A.js} +1 -1
- package/dist/useTheme-BLMJDSsv.cjs +1 -0
- package/dist/useTheme-CooC_6Ep.cjs +1 -0
- package/dist/useTheme-XJ9sFCWX.js +11 -0
- package/dist/{useThemeProps-CHx0N1SM.js → useThemeProps-B4VFkcP0.js} +4 -4
- package/dist/{useThemeProps-Bf2NCpA_.cjs → useThemeProps-B9E_wuN9.cjs} +1 -1
- package/dist/useThemeProps-C1A3rnbh.cjs +1 -0
- package/dist/useThemeProps-CQ9rZe7g.js +17 -0
- package/package.json +11 -11
- package/dist/Alert-DdmE0EMo.js +0 -457
- package/dist/Alert-p6jIgCWU.cjs +0 -1
- package/dist/Autocomplete-v4ZcHulv.cjs +0 -6
- package/dist/Backdrop-0xfsnuri.cjs +0 -1
- package/dist/Badge-Dpxa8BPA.cjs +0 -1
- package/dist/Box-xgRKDOV1.cjs +0 -1
- package/dist/Button-qSgmSSw2.cjs +0 -1
- package/dist/ButtonBase-CsJxPLAx.cjs +0 -74
- package/dist/CardContent-BTTU3lDd.cjs +0 -1
- package/dist/Checkbox-jecO0f9-.cjs +0 -1
- package/dist/Chip-CkonlDiW.cjs +0 -1
- package/dist/CircularProgress-Bvcr-mus.cjs +0 -28
- package/dist/CustomTreeItem-Bo6LVL2g.cjs +0 -3
- package/dist/CustomTreeItem-D-Fd2rf4.js +0 -1342
- package/dist/DatePicker-CTAJnIvu.js +0 -10255
- package/dist/DatePicker-DDYXqvgA.cjs +0 -14
- package/dist/DefaultPropsProvider-CsTuCVNC.cjs +0 -1
- package/dist/Dialog-ByiFxqo3.cjs +0 -1
- package/dist/DialogContent-0WzVi_CB.cjs +0 -1
- package/dist/DialogTitle-Dq5hCek2.cjs +0 -1
- package/dist/Divider-DPIWZuaX.cjs +0 -1
- package/dist/FormLabel-BPReGp6x.cjs +0 -2
- package/dist/Grid-D0L0VF_j.cjs +0 -2
- package/dist/Grow-CxV2Td_c.cjs +0 -1
- package/dist/IconButton-BzvVYvTv.cjs +0 -2
- package/dist/InputAdornment-CiGypDyN.cjs +0 -1
- package/dist/InputBase-D7cWCjsM.cjs +0 -3
- package/dist/Link-6MI2s97g.cjs +0 -1
- package/dist/List-DNAAO5Md.cjs +0 -1
- package/dist/ListItem-DNNO5emo.cjs +0 -1
- package/dist/ListItemText-DTJBvetJ.cjs +0 -1
- package/dist/Menu-BD7yr5c5.cjs +0 -7
- package/dist/MenuItem-BnxRQgzx.cjs +0 -1
- package/dist/Modal-Dpz2n_rl.cjs +0 -2
- package/dist/Paper-Dy4nClba.cjs +0 -2
- package/dist/Popper-Dx7Ddmig.cjs +0 -4
- package/dist/Portal-B5KqLEa0.cjs +0 -1
- package/dist/Radio-TCZTDRDq.cjs +0 -1
- package/dist/RadioGroup-BlhT0LTh.cjs +0 -1
- package/dist/Select-YiRsvCtO.cjs +0 -3
- package/dist/Stack-CiqSL-ss.cjs +0 -1
- package/dist/Stepper-Bp48LpKw.cjs +0 -1
- package/dist/Switch-CmP4YhdJ.cjs +0 -1
- package/dist/SwitchBase-D-Pz73oW.cjs +0 -1
- package/dist/Tab-DaJQbLHr.cjs +0 -4
- package/dist/TextField-BD5v4wWW.cjs +0 -1
- package/dist/ToggleButtonGroup-cWPBztiH.cjs +0 -138
- package/dist/Tooltip-B-G3ZA40.cjs +0 -4
- package/dist/Typography-CTc5xI5k.cjs +0 -1
- package/dist/capitalize-3mO2QYxZ.js +0 -9
- package/dist/capitalize-jkeaHv-a.cjs +0 -1
- package/dist/composeClasses-6Jh42fnW.cjs +0 -1
- package/dist/composeClasses-PwLhKFRx.js +0 -51
- package/dist/createSvgIcon-r-LuM8rr.cjs +0 -1
- package/dist/dividerClasses-MIs6pQ1h.cjs +0 -1
- package/dist/extendSxProp-DjoHuUqk.cjs +0 -1
- package/dist/generateUtilityClasses-CEM-EnA0.cjs +0 -55
- package/dist/getReactElementRef-EVJnBPlV.cjs +0 -1
- package/dist/index-dnUj5rrV.cjs +0 -1
- package/dist/integerPropType-Ched4o4e.cjs +0 -1
- package/dist/integerPropType-D-nm5Xmm.js +0 -31
- package/dist/listItemTextClasses-BbeGMaIS.cjs +0 -1
- package/dist/mergeSlotProps-DTB2qS-_.cjs +0 -1
- package/dist/resolveComponentProps-CUWj-pue.cjs +0 -1
- package/dist/resolveComponentProps-DBhzJW60.js +0 -80
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useControlled-Ysk4KqoX.cjs +0 -3
- package/dist/useSlot-CVpYSDNX.cjs +0 -1
- package/dist/useSlot-PbukIIii.js +0 -48
- package/dist/useSlotProps-DOS62OUK.cjs +0 -1
- package/dist/useTheme-B0omzE6M.js +0 -11
- package/dist/useTheme-CwVFTV8w.cjs +0 -1
- package/dist/useTheme-zxjGe7nF.cjs +0 -1
- package/dist/useThemeProps-Bel8apgw.js +0 -17
- package/dist/useThemeProps-C4zuxIb5.cjs +0 -1
- package/dist/{getReactElementRef-H8kwrWP1.js → elementAcceptingRef-CEweUuUA.js} +5 -5
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
2
|
import { P as e } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { F as P, G as z, H as
|
|
3
|
+
import { F as P, G as z, H as R, K as q } from "./identifier-PWESmBq6.js";
|
|
4
4
|
import { jsxs as D, jsx as b } from "react/jsx-runtime";
|
|
5
|
-
import { u as $, s as S, c as E } from "./DefaultPropsProvider-
|
|
6
|
-
import { i as J } from "./integerPropType-
|
|
5
|
+
import { u as $, s as S, c as E } from "./DefaultPropsProvider-DqazQPtr.js";
|
|
6
|
+
import { i as J } from "./integerPropType-BihGt2aU.js";
|
|
7
7
|
import { i as ne } from "./isMuiElement-DnSE4qG4.js";
|
|
8
|
-
import { m as V } from "./memoTheme-
|
|
9
|
-
import { u as k } from "./useSlot-
|
|
10
|
-
import { c as
|
|
11
|
-
import { B as ae } from "./ButtonBase-
|
|
12
|
-
import { c as Q } from "./capitalize-3mO2QYxZ.js";
|
|
8
|
+
import { m as V } from "./memoTheme-DAFDflPY.js";
|
|
9
|
+
import { u as k } from "./useSlot-BzdKwDQ5.js";
|
|
10
|
+
import { c as Q, S as re } from "./createSvgIcon-B1E6Wo8z.js";
|
|
11
|
+
import { B as ae } from "./ButtonBase-6TF6t2SP.js";
|
|
13
12
|
const w = /* @__PURE__ */ l.createContext({});
|
|
14
13
|
process.env.NODE_ENV !== "production" && (w.displayName = "StepperContext");
|
|
15
|
-
function
|
|
14
|
+
function Ae() {
|
|
16
15
|
return l.useContext(w);
|
|
17
16
|
}
|
|
18
17
|
const B = /* @__PURE__ */ l.createContext({});
|
|
19
18
|
process.env.NODE_ENV !== "production" && (B.displayName = "StepContext");
|
|
20
|
-
function
|
|
19
|
+
function He() {
|
|
21
20
|
return l.useContext(B);
|
|
22
21
|
}
|
|
23
22
|
function se(t) {
|
|
24
23
|
return z("MuiStep", t);
|
|
25
24
|
}
|
|
26
|
-
const
|
|
25
|
+
const Ge = P("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "completed"]), le = (t) => {
|
|
27
26
|
const {
|
|
28
27
|
classes: o,
|
|
29
28
|
orientation: n,
|
|
@@ -70,29 +69,29 @@ const qe = P("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "
|
|
|
70
69
|
className: d,
|
|
71
70
|
component: c = "div",
|
|
72
71
|
completed: u,
|
|
73
|
-
disabled:
|
|
72
|
+
disabled: m,
|
|
74
73
|
expanded: p = !1,
|
|
75
74
|
index: s,
|
|
76
|
-
last:
|
|
75
|
+
last: f,
|
|
77
76
|
...x
|
|
78
77
|
} = r, {
|
|
79
78
|
activeStep: y,
|
|
80
|
-
connector:
|
|
79
|
+
connector: v,
|
|
81
80
|
alternativeLabel: N,
|
|
82
81
|
orientation: M,
|
|
83
|
-
nonLinear:
|
|
82
|
+
nonLinear: T
|
|
84
83
|
} = l.useContext(w);
|
|
85
|
-
let [C = !1, I = !1, h = !1] = [a, u,
|
|
86
|
-
y === s ? C = a !== void 0 ? a : !0 : !
|
|
84
|
+
let [C = !1, I = !1, h = !1] = [a, u, m];
|
|
85
|
+
y === s ? C = a !== void 0 ? a : !0 : !T && y > s ? I = u !== void 0 ? u : !0 : !T && y < s && (h = m !== void 0 ? m : !0);
|
|
87
86
|
const U = l.useMemo(() => ({
|
|
88
87
|
index: s,
|
|
89
|
-
last:
|
|
88
|
+
last: f,
|
|
90
89
|
expanded: p,
|
|
91
90
|
icon: s + 1,
|
|
92
91
|
active: C,
|
|
93
92
|
completed: I,
|
|
94
93
|
disabled: h
|
|
95
|
-
}), [s,
|
|
94
|
+
}), [s, f, p, C, I, h]), L = {
|
|
96
95
|
...r,
|
|
97
96
|
active: C,
|
|
98
97
|
orientation: M,
|
|
@@ -103,16 +102,16 @@ const qe = P("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "
|
|
|
103
102
|
component: c
|
|
104
103
|
}, O = le(L), j = /* @__PURE__ */ D(ie, {
|
|
105
104
|
as: c,
|
|
106
|
-
className:
|
|
105
|
+
className: R(O.root, d),
|
|
107
106
|
ref: n,
|
|
108
107
|
ownerState: L,
|
|
109
108
|
...x,
|
|
110
|
-
children: [
|
|
109
|
+
children: [v && N && s !== 0 ? v : null, i]
|
|
111
110
|
});
|
|
112
111
|
return /* @__PURE__ */ b(B.Provider, {
|
|
113
112
|
value: U,
|
|
114
|
-
children:
|
|
115
|
-
children: [
|
|
113
|
+
children: v && !N && s !== 0 ? /* @__PURE__ */ D(l.Fragment, {
|
|
114
|
+
children: [v, j]
|
|
116
115
|
}) : j
|
|
117
116
|
});
|
|
118
117
|
});
|
|
@@ -171,9 +170,9 @@ process.env.NODE_ENV !== "production" && (ce.propTypes = {
|
|
|
171
170
|
*/
|
|
172
171
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
173
172
|
});
|
|
174
|
-
const pe =
|
|
173
|
+
const pe = Q(/* @__PURE__ */ b("path", {
|
|
175
174
|
d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
|
|
176
|
-
}), "CheckCircle"), de =
|
|
175
|
+
}), "CheckCircle"), de = Q(/* @__PURE__ */ b("path", {
|
|
177
176
|
d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
|
|
178
177
|
}), "Warning");
|
|
179
178
|
function ue(t) {
|
|
@@ -194,8 +193,7 @@ const be = (t) => {
|
|
|
194
193
|
}, ue, o);
|
|
195
194
|
}, W = S(re, {
|
|
196
195
|
name: "MuiStepIcon",
|
|
197
|
-
slot: "Root"
|
|
198
|
-
overridesResolver: (t, o) => o.root
|
|
196
|
+
slot: "Root"
|
|
199
197
|
})(V(({
|
|
200
198
|
theme: t
|
|
201
199
|
}) => ({
|
|
@@ -213,10 +211,9 @@ const be = (t) => {
|
|
|
213
211
|
[`&.${F.error}`]: {
|
|
214
212
|
color: (t.vars || t).palette.error.main
|
|
215
213
|
}
|
|
216
|
-
}))),
|
|
214
|
+
}))), me = S("text", {
|
|
217
215
|
name: "MuiStepIcon",
|
|
218
|
-
slot: "Text"
|
|
219
|
-
overridesResolver: (t, o) => o.text
|
|
216
|
+
slot: "Text"
|
|
220
217
|
})(V(({
|
|
221
218
|
theme: t
|
|
222
219
|
}) => ({
|
|
@@ -233,7 +230,7 @@ const be = (t) => {
|
|
|
233
230
|
completed: d = !1,
|
|
234
231
|
error: c = !1,
|
|
235
232
|
icon: u,
|
|
236
|
-
...
|
|
233
|
+
...m
|
|
237
234
|
} = r, p = {
|
|
238
235
|
...r,
|
|
239
236
|
active: a,
|
|
@@ -241,29 +238,29 @@ const be = (t) => {
|
|
|
241
238
|
error: c
|
|
242
239
|
}, s = be(p);
|
|
243
240
|
if (typeof u == "number" || typeof u == "string") {
|
|
244
|
-
const
|
|
241
|
+
const f = R(i, s.root);
|
|
245
242
|
return c ? /* @__PURE__ */ b(W, {
|
|
246
243
|
as: de,
|
|
247
|
-
className:
|
|
244
|
+
className: f,
|
|
248
245
|
ref: n,
|
|
249
246
|
ownerState: p,
|
|
250
|
-
...
|
|
247
|
+
...m
|
|
251
248
|
}) : d ? /* @__PURE__ */ b(W, {
|
|
252
249
|
as: pe,
|
|
253
|
-
className:
|
|
250
|
+
className: f,
|
|
254
251
|
ref: n,
|
|
255
252
|
ownerState: p,
|
|
256
|
-
...
|
|
253
|
+
...m
|
|
257
254
|
}) : /* @__PURE__ */ D(W, {
|
|
258
|
-
className:
|
|
255
|
+
className: f,
|
|
259
256
|
ref: n,
|
|
260
257
|
ownerState: p,
|
|
261
|
-
...
|
|
258
|
+
...m,
|
|
262
259
|
children: [G || (G = /* @__PURE__ */ b("circle", {
|
|
263
260
|
cx: "12",
|
|
264
261
|
cy: "12",
|
|
265
262
|
r: "12"
|
|
266
|
-
})), /* @__PURE__ */ b(
|
|
263
|
+
})), /* @__PURE__ */ b(me, {
|
|
267
264
|
className: s.text,
|
|
268
265
|
x: "12",
|
|
269
266
|
y: "12",
|
|
@@ -313,10 +310,10 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
313
310
|
*/
|
|
314
311
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
315
312
|
});
|
|
316
|
-
function
|
|
313
|
+
function fe(t) {
|
|
317
314
|
return z("MuiStepLabel", t);
|
|
318
315
|
}
|
|
319
|
-
const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]),
|
|
316
|
+
const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]), ve = (t) => {
|
|
320
317
|
const {
|
|
321
318
|
classes: o,
|
|
322
319
|
orientation: n,
|
|
@@ -331,7 +328,7 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
331
328
|
label: ["label", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
|
|
332
329
|
iconContainer: ["iconContainer", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
|
|
333
330
|
labelContainer: ["labelContainer", c && "alternativeLabel"]
|
|
334
|
-
},
|
|
331
|
+
}, fe, o);
|
|
335
332
|
}, Se = S("span", {
|
|
336
333
|
name: "MuiStepLabel",
|
|
337
334
|
slot: "Root",
|
|
@@ -361,8 +358,7 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
361
358
|
}]
|
|
362
359
|
}), ye = S("span", {
|
|
363
360
|
name: "MuiStepLabel",
|
|
364
|
-
slot: "Label"
|
|
365
|
-
overridesResolver: (t, o) => o.label
|
|
361
|
+
slot: "Label"
|
|
366
362
|
})(V(({
|
|
367
363
|
theme: t
|
|
368
364
|
}) => ({
|
|
@@ -387,8 +383,7 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
387
383
|
}
|
|
388
384
|
}))), Ce = S("span", {
|
|
389
385
|
name: "MuiStepLabel",
|
|
390
|
-
slot: "IconContainer"
|
|
391
|
-
overridesResolver: (t, o) => o.iconContainer
|
|
386
|
+
slot: "IconContainer"
|
|
392
387
|
})({
|
|
393
388
|
flexShrink: 0,
|
|
394
389
|
display: "flex",
|
|
@@ -398,8 +393,7 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
398
393
|
}
|
|
399
394
|
}), xe = S("span", {
|
|
400
395
|
name: "MuiStepLabel",
|
|
401
|
-
slot: "LabelContainer"
|
|
402
|
-
overridesResolver: (t, o) => o.labelContainer
|
|
396
|
+
slot: "LabelContainer"
|
|
403
397
|
})(V(({
|
|
404
398
|
theme: t
|
|
405
399
|
}) => ({
|
|
@@ -418,32 +412,32 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
418
412
|
componentsProps: d = {},
|
|
419
413
|
error: c = !1,
|
|
420
414
|
icon: u,
|
|
421
|
-
optional:
|
|
415
|
+
optional: m,
|
|
422
416
|
slots: p = {},
|
|
423
417
|
slotProps: s = {},
|
|
424
|
-
StepIconComponent:
|
|
418
|
+
StepIconComponent: f,
|
|
425
419
|
StepIconProps: x,
|
|
426
420
|
...y
|
|
427
421
|
} = r, {
|
|
428
|
-
alternativeLabel:
|
|
422
|
+
alternativeLabel: v,
|
|
429
423
|
orientation: N
|
|
430
424
|
} = l.useContext(w), {
|
|
431
425
|
active: M,
|
|
432
|
-
disabled:
|
|
426
|
+
disabled: T,
|
|
433
427
|
completed: C,
|
|
434
428
|
icon: I
|
|
435
429
|
} = l.useContext(B), h = u || I;
|
|
436
|
-
let U =
|
|
430
|
+
let U = f;
|
|
437
431
|
h && !U && (U = X);
|
|
438
432
|
const L = {
|
|
439
433
|
...r,
|
|
440
434
|
active: M,
|
|
441
|
-
alternativeLabel:
|
|
435
|
+
alternativeLabel: v,
|
|
442
436
|
completed: C,
|
|
443
|
-
disabled:
|
|
437
|
+
disabled: T,
|
|
444
438
|
error: c,
|
|
445
439
|
orientation: N
|
|
446
|
-
}, O =
|
|
440
|
+
}, O = ve(L), j = {
|
|
447
441
|
slots: p,
|
|
448
442
|
slotProps: {
|
|
449
443
|
stepIcon: x,
|
|
@@ -458,7 +452,7 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
458
452
|
},
|
|
459
453
|
ownerState: L,
|
|
460
454
|
ref: n,
|
|
461
|
-
className:
|
|
455
|
+
className: R(O.root, i)
|
|
462
456
|
}), [te, _] = k("label", {
|
|
463
457
|
elementType: ye,
|
|
464
458
|
externalForwardedProps: j,
|
|
@@ -485,9 +479,9 @@ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
|
|
|
485
479
|
ownerState: L,
|
|
486
480
|
children: [a ? /* @__PURE__ */ b(te, {
|
|
487
481
|
..._,
|
|
488
|
-
className:
|
|
482
|
+
className: R(O.label, _ == null ? void 0 : _.className),
|
|
489
483
|
children: a
|
|
490
|
-
}) : null,
|
|
484
|
+
}) : null, m]
|
|
491
485
|
})]
|
|
492
486
|
});
|
|
493
487
|
});
|
|
@@ -566,7 +560,7 @@ A.muiName = "StepLabel";
|
|
|
566
560
|
function Le(t) {
|
|
567
561
|
return z("MuiStepButton", t);
|
|
568
562
|
}
|
|
569
|
-
const
|
|
563
|
+
const K = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]), he = (t) => {
|
|
570
564
|
const {
|
|
571
565
|
classes: o,
|
|
572
566
|
orientation: n
|
|
@@ -583,7 +577,7 @@ const q = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]),
|
|
|
583
577
|
ownerState: n
|
|
584
578
|
} = t;
|
|
585
579
|
return [{
|
|
586
|
-
[`& .${
|
|
580
|
+
[`& .${K.touchRipple}`]: o.touchRipple
|
|
587
581
|
}, o.root, o[n.orientation]];
|
|
588
582
|
}
|
|
589
583
|
})({
|
|
@@ -591,7 +585,7 @@ const q = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]),
|
|
|
591
585
|
padding: "24px 16px",
|
|
592
586
|
margin: "-24px -16px",
|
|
593
587
|
boxSizing: "content-box",
|
|
594
|
-
[`& .${
|
|
588
|
+
[`& .${K.touchRipple}`]: {
|
|
595
589
|
color: "rgba(0, 0, 0, 0.3)"
|
|
596
590
|
},
|
|
597
591
|
variants: [{
|
|
@@ -615,32 +609,32 @@ const q = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]),
|
|
|
615
609
|
optional: c,
|
|
616
610
|
...u
|
|
617
611
|
} = r, {
|
|
618
|
-
disabled:
|
|
612
|
+
disabled: m,
|
|
619
613
|
active: p
|
|
620
614
|
} = l.useContext(B), {
|
|
621
615
|
orientation: s
|
|
622
|
-
} = l.useContext(w),
|
|
616
|
+
} = l.useContext(w), f = {
|
|
623
617
|
...r,
|
|
624
618
|
orientation: s
|
|
625
|
-
}, x = he(
|
|
619
|
+
}, x = he(f), y = {
|
|
626
620
|
icon: d,
|
|
627
621
|
optional: c
|
|
628
|
-
},
|
|
622
|
+
}, v = ne(a, ["StepLabel"]) ? /* @__PURE__ */ l.cloneElement(a, y) : /* @__PURE__ */ b(A, {
|
|
629
623
|
...y,
|
|
630
624
|
children: a
|
|
631
625
|
});
|
|
632
626
|
return /* @__PURE__ */ b(ge, {
|
|
633
627
|
focusRipple: !0,
|
|
634
|
-
disabled:
|
|
628
|
+
disabled: m,
|
|
635
629
|
TouchRippleProps: {
|
|
636
630
|
className: x.touchRipple
|
|
637
631
|
},
|
|
638
|
-
className:
|
|
632
|
+
className: R(x.root, i),
|
|
639
633
|
ref: n,
|
|
640
|
-
ownerState:
|
|
634
|
+
ownerState: f,
|
|
641
635
|
"aria-current": p ? "step" : void 0,
|
|
642
636
|
...u,
|
|
643
|
-
children:
|
|
637
|
+
children: v
|
|
644
638
|
});
|
|
645
639
|
});
|
|
646
640
|
process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
@@ -673,11 +667,11 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
673
667
|
*/
|
|
674
668
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
675
669
|
});
|
|
676
|
-
function
|
|
670
|
+
function Te(t) {
|
|
677
671
|
return z("MuiStepper", t);
|
|
678
672
|
}
|
|
679
|
-
const
|
|
680
|
-
function
|
|
673
|
+
const Ke = P("MuiStepper", ["root", "horizontal", "vertical", "nonLinear", "alternativeLabel"]);
|
|
674
|
+
function Re(t) {
|
|
681
675
|
return z("MuiStepConnector", t);
|
|
682
676
|
}
|
|
683
677
|
P("MuiStepConnector", ["root", "horizontal", "vertical", "alternativeLabel", "active", "completed", "disabled", "line", "lineHorizontal", "lineVertical"]);
|
|
@@ -691,9 +685,9 @@ const we = (t) => {
|
|
|
691
685
|
disabled: d
|
|
692
686
|
} = t, c = {
|
|
693
687
|
root: ["root", n, r && "alternativeLabel", a && "active", i && "completed", d && "disabled"],
|
|
694
|
-
line: ["line", `line${
|
|
688
|
+
line: ["line", `line${q(n)}`]
|
|
695
689
|
};
|
|
696
|
-
return E(c,
|
|
690
|
+
return E(c, Re, o);
|
|
697
691
|
}, Me = S("div", {
|
|
698
692
|
name: "MuiStepConnector",
|
|
699
693
|
slot: "Root",
|
|
@@ -731,7 +725,7 @@ const we = (t) => {
|
|
|
731
725
|
const {
|
|
732
726
|
ownerState: n
|
|
733
727
|
} = t;
|
|
734
|
-
return [o.line, o[`line${
|
|
728
|
+
return [o.line, o[`line${q(n.orientation)}`]];
|
|
735
729
|
}
|
|
736
730
|
})(V(({
|
|
737
731
|
theme: t
|
|
@@ -771,7 +765,7 @@ const we = (t) => {
|
|
|
771
765
|
orientation: c = "horizontal"
|
|
772
766
|
} = l.useContext(w), {
|
|
773
767
|
active: u,
|
|
774
|
-
disabled:
|
|
768
|
+
disabled: m,
|
|
775
769
|
completed: p
|
|
776
770
|
} = l.useContext(B), s = {
|
|
777
771
|
...r,
|
|
@@ -779,15 +773,15 @@ const we = (t) => {
|
|
|
779
773
|
orientation: c,
|
|
780
774
|
active: u,
|
|
781
775
|
completed: p,
|
|
782
|
-
disabled:
|
|
783
|
-
},
|
|
776
|
+
disabled: m
|
|
777
|
+
}, f = we(s);
|
|
784
778
|
return /* @__PURE__ */ b(Me, {
|
|
785
|
-
className:
|
|
779
|
+
className: R(f.root, a),
|
|
786
780
|
ref: n,
|
|
787
781
|
ownerState: s,
|
|
788
782
|
...i,
|
|
789
783
|
children: /* @__PURE__ */ b(Ie, {
|
|
790
|
-
className:
|
|
784
|
+
className: f.line,
|
|
791
785
|
ownerState: s
|
|
792
786
|
})
|
|
793
787
|
});
|
|
@@ -819,7 +813,7 @@ const Oe = (t) => {
|
|
|
819
813
|
} = t;
|
|
820
814
|
return E({
|
|
821
815
|
root: ["root", o, n && "nonLinear", r && "alternativeLabel"]
|
|
822
|
-
},
|
|
816
|
+
}, Te, a);
|
|
823
817
|
}, je = S("div", {
|
|
824
818
|
name: "MuiStepper",
|
|
825
819
|
slot: "Root",
|
|
@@ -864,35 +858,35 @@ const Oe = (t) => {
|
|
|
864
858
|
children: d,
|
|
865
859
|
className: c,
|
|
866
860
|
component: u = "div",
|
|
867
|
-
connector:
|
|
861
|
+
connector: m = Pe,
|
|
868
862
|
nonLinear: p = !1,
|
|
869
863
|
orientation: s = "horizontal",
|
|
870
|
-
...
|
|
864
|
+
...f
|
|
871
865
|
} = r, x = {
|
|
872
866
|
...r,
|
|
873
867
|
nonLinear: p,
|
|
874
868
|
alternativeLabel: i,
|
|
875
869
|
orientation: s,
|
|
876
870
|
component: u
|
|
877
|
-
}, y = Oe(x),
|
|
871
|
+
}, y = Oe(x), v = l.Children.toArray(d).filter(Boolean), N = v.map((T, C) => /* @__PURE__ */ l.cloneElement(T, {
|
|
878
872
|
index: C,
|
|
879
|
-
last: C + 1 ===
|
|
880
|
-
...
|
|
873
|
+
last: C + 1 === v.length,
|
|
874
|
+
...T.props
|
|
881
875
|
})), M = l.useMemo(() => ({
|
|
882
876
|
activeStep: a,
|
|
883
877
|
alternativeLabel: i,
|
|
884
|
-
connector:
|
|
878
|
+
connector: m,
|
|
885
879
|
nonLinear: p,
|
|
886
880
|
orientation: s
|
|
887
|
-
}), [a, i,
|
|
881
|
+
}), [a, i, m, p, s]);
|
|
888
882
|
return /* @__PURE__ */ b(w.Provider, {
|
|
889
883
|
value: M,
|
|
890
884
|
children: /* @__PURE__ */ b(je, {
|
|
891
885
|
as: u,
|
|
892
886
|
ownerState: x,
|
|
893
|
-
className:
|
|
887
|
+
className: R(y.root, c),
|
|
894
888
|
ref: n,
|
|
895
|
-
...
|
|
889
|
+
...f,
|
|
896
890
|
children: N
|
|
897
891
|
})
|
|
898
892
|
});
|
|
@@ -957,15 +951,15 @@ export {
|
|
|
957
951
|
A as b,
|
|
958
952
|
ze as c,
|
|
959
953
|
B as d,
|
|
960
|
-
|
|
954
|
+
K as e,
|
|
961
955
|
Le as f,
|
|
962
956
|
se as g,
|
|
963
957
|
g as h,
|
|
964
|
-
|
|
965
|
-
|
|
958
|
+
fe as i,
|
|
959
|
+
Ke as j,
|
|
966
960
|
w as k,
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
961
|
+
Te as l,
|
|
962
|
+
Ae as m,
|
|
963
|
+
Ge as s,
|
|
964
|
+
He as u
|
|
971
965
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import * as P from "react";
|
|
2
2
|
import { P as e } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { F as
|
|
3
|
+
import { F as j, G as R, H as M, K as n, n as S, s as N, q as D } from "./identifier-PWESmBq6.js";
|
|
4
4
|
import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
5
|
-
import { S as U } from "./SwitchBase-
|
|
6
|
-
import { m as d } from "./memoTheme-
|
|
7
|
-
import { u as y } from "./useSlot-
|
|
5
|
+
import { S as U } from "./SwitchBase-DZV8S81Z.js";
|
|
6
|
+
import { m as d } from "./memoTheme-DAFDflPY.js";
|
|
7
|
+
import { u as y } from "./useSlot-BzdKwDQ5.js";
|
|
8
8
|
import { jsx as v, jsxs as E } from "react/jsx-runtime";
|
|
9
|
-
import { u as F, s as u, c as q } from "./DefaultPropsProvider-
|
|
10
|
-
import { c as n } from "./capitalize-3mO2QYxZ.js";
|
|
9
|
+
import { u as F, s as u, c as q } from "./DefaultPropsProvider-DqazQPtr.js";
|
|
11
10
|
import { r as A } from "./refType-Dp7CJc86.js";
|
|
12
11
|
function V(t) {
|
|
13
|
-
return
|
|
12
|
+
return R("MuiSwitch", t);
|
|
14
13
|
}
|
|
15
|
-
const a =
|
|
14
|
+
const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]), X = (t) => {
|
|
16
15
|
const {
|
|
17
16
|
classes: o,
|
|
18
17
|
edge: s,
|
|
@@ -20,17 +19,17 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
20
19
|
color: h,
|
|
21
20
|
checked: f,
|
|
22
21
|
disabled: b
|
|
23
|
-
} = t,
|
|
22
|
+
} = t, g = {
|
|
24
23
|
root: ["root", s && `edge${n(s)}`, `size${n(p)}`],
|
|
25
24
|
switchBase: ["switchBase", `color${n(h)}`, f && "checked", b && "disabled"],
|
|
26
25
|
thumb: ["thumb"],
|
|
27
26
|
track: ["track"],
|
|
28
27
|
input: ["input"]
|
|
29
|
-
},
|
|
28
|
+
}, m = q(g, V, o);
|
|
30
29
|
return {
|
|
31
30
|
...o,
|
|
32
31
|
// forward the disabled and checked classes to the SwitchBase
|
|
33
|
-
...
|
|
32
|
+
...m
|
|
34
33
|
};
|
|
35
34
|
}, G = u("span", {
|
|
36
35
|
name: "MuiSwitch",
|
|
@@ -162,10 +161,9 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
162
161
|
}
|
|
163
162
|
}
|
|
164
163
|
}))]
|
|
165
|
-
}))),
|
|
164
|
+
}))), K = u("span", {
|
|
166
165
|
name: "MuiSwitch",
|
|
167
|
-
slot: "Track"
|
|
168
|
-
overridesResolver: (t, o) => o.track
|
|
166
|
+
slot: "Track"
|
|
169
167
|
})(d(({
|
|
170
168
|
theme: t
|
|
171
169
|
}) => ({
|
|
@@ -178,10 +176,9 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
178
176
|
}),
|
|
179
177
|
backgroundColor: t.vars ? t.vars.palette.common.onBackground : `${t.palette.mode === "light" ? t.palette.common.black : t.palette.common.white}`,
|
|
180
178
|
opacity: t.vars ? t.vars.opacity.switchTrack : `${t.palette.mode === "light" ? 0.38 : 0.3}`
|
|
181
|
-
}))),
|
|
179
|
+
}))), L = u("span", {
|
|
182
180
|
name: "MuiSwitch",
|
|
183
|
-
slot: "Thumb"
|
|
184
|
-
overridesResolver: (t, o) => o.thumb
|
|
181
|
+
slot: "Thumb"
|
|
185
182
|
})(d(({
|
|
186
183
|
theme: t
|
|
187
184
|
}) => ({
|
|
@@ -190,7 +187,7 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
190
187
|
width: 20,
|
|
191
188
|
height: 20,
|
|
192
189
|
borderRadius: "50%"
|
|
193
|
-
}))),
|
|
190
|
+
}))), _ = /* @__PURE__ */ P.forwardRef(function(o, s) {
|
|
194
191
|
const p = F({
|
|
195
192
|
props: o,
|
|
196
193
|
name: "MuiSwitch"
|
|
@@ -198,8 +195,8 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
198
195
|
className: h,
|
|
199
196
|
color: f = "primary",
|
|
200
197
|
edge: b = !1,
|
|
201
|
-
size:
|
|
202
|
-
sx:
|
|
198
|
+
size: g = "medium",
|
|
199
|
+
sx: m,
|
|
203
200
|
slots: c = {},
|
|
204
201
|
slotProps: r = {},
|
|
205
202
|
...$
|
|
@@ -207,7 +204,7 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
207
204
|
...p,
|
|
208
205
|
color: f,
|
|
209
206
|
edge: b,
|
|
210
|
-
size:
|
|
207
|
+
size: g
|
|
211
208
|
}, l = X(i), w = {
|
|
212
209
|
slots: c,
|
|
213
210
|
slotProps: r
|
|
@@ -217,18 +214,18 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
217
214
|
externalForwardedProps: w,
|
|
218
215
|
ownerState: i,
|
|
219
216
|
additionalProps: {
|
|
220
|
-
sx:
|
|
217
|
+
sx: m
|
|
221
218
|
}
|
|
222
219
|
}), [x, O] = y("thumb", {
|
|
223
220
|
className: l.thumb,
|
|
224
|
-
elementType:
|
|
221
|
+
elementType: L,
|
|
225
222
|
externalForwardedProps: w,
|
|
226
223
|
ownerState: i
|
|
227
224
|
}), k = /* @__PURE__ */ v(x, {
|
|
228
225
|
...O
|
|
229
226
|
}), [B, z] = y("track", {
|
|
230
227
|
className: l.track,
|
|
231
|
-
elementType:
|
|
228
|
+
elementType: K,
|
|
232
229
|
externalForwardedProps: w,
|
|
233
230
|
ownerState: i
|
|
234
231
|
});
|
|
@@ -266,7 +263,7 @@ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
|
|
|
266
263
|
})]
|
|
267
264
|
});
|
|
268
265
|
});
|
|
269
|
-
process.env.NODE_ENV !== "production" && (
|
|
266
|
+
process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
270
267
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
271
268
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
272
269
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -324,7 +321,7 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
|
324
321
|
*/
|
|
325
322
|
id: e.string,
|
|
326
323
|
/**
|
|
327
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/
|
|
324
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
328
325
|
* @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.
|
|
329
326
|
*/
|
|
330
327
|
inputProps: e.object,
|
|
@@ -385,7 +382,7 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
|
385
382
|
value: e.any
|
|
386
383
|
});
|
|
387
384
|
export {
|
|
388
|
-
|
|
385
|
+
_ as S,
|
|
389
386
|
V as g,
|
|
390
387
|
a as s
|
|
391
388
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const B=require("react"),t=require("./index-DLnSn8GT.cjs"),a=require("./identifier-BoZelETM.cjs"),R=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),q=require("./SwitchBase-P3zHVmLX.cjs"),y=require("./memoTheme-BKfsJx_F.cjs"),w=require("./useSlot-C2FjoUpF.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-Cnf49AIv.cjs"),M=require("./refType-B_IEJm4x.cjs");function D(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const p=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,p.get?p:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const N=D(B);function S(e){return a.generateUtilityClass("MuiSwitch",e)}const r=a.generateUtilityClasses("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),I=e=>{const{classes:o,edge:s,size:p,color:T,checked:h,disabled:P}=e,b={root:["root",s&&`edge${a.capitalize(s)}`,`size${a.capitalize(p)}`],switchBase:["switchBase",`color${a.capitalize(T)}`,h&&"checked",P&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=c.composeClasses(b,S,o);return{...o,...f}},U=c.styled("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:s}=e;return[o.root,s.edge&&o[`edge${a.capitalize(s.edge)}`],o[`size${a.capitalize(s.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${r.thumb}`]:{width:16,height:16},[`& .${r.switchBase}`]:{padding:4,[`&.${r.checked}`]:{transform:"translateX(16px)"}}}}]}),_=c.styled(q.SwitchBase,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:s}=e;return[o.switchBase,{[`& .${r.input}`]:o.input},s.color!=="default"&&o[`color${a.capitalize(s.color)}`]]}})(y.memoTheme(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${r.checked}`]:{transform:"translateX(20px)"},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${r.checked} + .${r.track}`]:{opacity:.5},[`&.${r.disabled} + .${r.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${r.input}`]:{left:"-100%",width:"300%"}})),y.memoTheme(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:a.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(R.createSimplePaletteValueFilter(["light"])).map(([o])=>({props:{color:o},style:{[`&.${r.checked}`]:{color:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:a.alpha(e.palette[o].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${o}DisabledColor`]:`${e.palette.mode==="light"?a.lighten(e.palette[o].main,.62):a.darken(e.palette[o].main,.55)}`}},[`&.${r.checked} + .${r.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),E=c.styled("span",{name:"MuiSwitch",slot:"Track"})(y.memoTheme(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),F=c.styled("span",{name:"MuiSwitch",slot:"Thumb"})(y.memoTheme(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),v=N.forwardRef(function(o,s){const p=c.useDefaultProps({props:o,name:"MuiSwitch"}),{className:T,color:h="primary",edge:P=!1,size:b="medium",sx:f,slots:l={},slotProps:i={},...k}=p,n={...p,color:h,edge:P,size:b},d=I(n),g={slots:l,slotProps:i},[$,C]=w.useSlot("root",{className:a.clsx(d.root,T),elementType:U,externalForwardedProps:g,ownerState:n,additionalProps:{sx:f}}),[O,x]=w.useSlot("thumb",{className:d.thumb,elementType:F,externalForwardedProps:g,ownerState:n}),m=u.jsx(O,{...x}),[j,z]=w.useSlot("track",{className:d.track,elementType:E,externalForwardedProps:g,ownerState:n});return u.jsxs($,{...C,children:[u.jsx(_,{type:"checkbox",icon:m,checkedIcon:m,ref:s,ownerState:n,...k,classes:{...d,root:d.switchBase},slots:{...l.switchBase&&{root:l.switchBase},...l.input&&{input:l.input}},slotProps:{...i.switchBase&&{root:typeof i.switchBase=="function"?i.switchBase(n):i.switchBase},...i.input&&{input:typeof i.input=="function"?i.input(n):i.input}}}),u.jsx(j,{...z})]})});process.env.NODE_ENV!=="production"&&(v.propTypes={checked:t.PropTypes.bool,checkedIcon:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),t.PropTypes.string]),defaultChecked:t.PropTypes.bool,disabled:t.PropTypes.bool,disableRipple:t.PropTypes.bool,edge:t.PropTypes.oneOf(["end","start",!1]),icon:t.PropTypes.node,id:t.PropTypes.string,inputProps:t.PropTypes.object,inputRef:M.refType,onChange:t.PropTypes.func,required:t.PropTypes.bool,size:t.PropTypes.oneOfType([t.PropTypes.oneOf(["medium","small"]),t.PropTypes.string]),slotProps:t.PropTypes.shape({input:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),root:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),switchBase:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),thumb:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),track:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object])}),slots:t.PropTypes.shape({input:t.PropTypes.elementType,root:t.PropTypes.elementType,switchBase:t.PropTypes.elementType,thumb:t.PropTypes.elementType,track:t.PropTypes.elementType}),sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:t.PropTypes.any});exports.Switch=v;exports.getSwitchUtilityClass=S;exports.switchClasses=r;
|