@cgi-learning-hub/ui 1.6.0-dev.1750082787 → 1.6.0-dev.1750693069
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.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 +13 -13
- package/dist/components/stories/Typography.stories.cjs.js +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 +12 -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,13 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as J from "react";
|
|
2
2
|
import { P as e } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { s as C, c as M, r as Q } from "./DefaultPropsProvider-
|
|
3
|
+
import { s as C, c as M, r as Q } from "./DefaultPropsProvider-DqazQPtr.js";
|
|
4
4
|
import { u as W } from "./useFormControl-CatNKXAi.js";
|
|
5
|
-
import { G as X, F as Y } from "./
|
|
6
|
-
import { u as k } from "./useSlot-
|
|
7
|
-
import { jsxs as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
import { B as se } from "./ButtonBase-Cog6rzwh.js";
|
|
5
|
+
import { G as X, F as Y, K as Z } from "./identifier-PWESmBq6.js";
|
|
6
|
+
import { u as k } from "./useSlot-BzdKwDQ5.js";
|
|
7
|
+
import { jsxs as ee, jsx as oe } from "react/jsx-runtime";
|
|
8
|
+
import { u as te } from "./useControlled-nm4pBabJ.js";
|
|
9
|
+
import { B as se } from "./ButtonBase-6TF6t2SP.js";
|
|
11
10
|
import { r as ne } from "./refType-Dp7CJc86.js";
|
|
12
11
|
function re(s) {
|
|
13
12
|
return X("PrivateSwitchBase", s);
|
|
@@ -20,7 +19,7 @@ const ie = (s) => {
|
|
|
20
19
|
disabled: p,
|
|
21
20
|
edge: a
|
|
22
21
|
} = s, u = {
|
|
23
|
-
root: ["root", d && "checked", p && "disabled", a && `edge${
|
|
22
|
+
root: ["root", d && "checked", p && "disabled", a && `edge${Z(a)}`],
|
|
24
23
|
input: ["input"]
|
|
25
24
|
};
|
|
26
25
|
return M(u, re, n);
|
|
@@ -73,7 +72,7 @@ const ie = (s) => {
|
|
|
73
72
|
margin: 0,
|
|
74
73
|
padding: 0,
|
|
75
74
|
zIndex: 1
|
|
76
|
-
}), le = /* @__PURE__ */
|
|
75
|
+
}), le = /* @__PURE__ */ J.forwardRef(function(n, d) {
|
|
77
76
|
const {
|
|
78
77
|
autoFocus: p,
|
|
79
78
|
checked: a,
|
|
@@ -98,7 +97,7 @@ const ie = (s) => {
|
|
|
98
97
|
slots: E = {},
|
|
99
98
|
slotProps: U = {},
|
|
100
99
|
...v
|
|
101
|
-
} = n, [F, L] =
|
|
100
|
+
} = n, [F, L] = te({
|
|
102
101
|
controlled: a,
|
|
103
102
|
default: !!m,
|
|
104
103
|
name: "SwitchBase",
|
|
@@ -107,7 +106,7 @@ const ie = (s) => {
|
|
|
107
106
|
y && y(o), r && r.onFocus && r.onFocus(o);
|
|
108
107
|
}, G = (o) => {
|
|
109
108
|
h && h(o), r && r.onBlur && r.onBlur(o);
|
|
110
|
-
},
|
|
109
|
+
}, K = (o) => {
|
|
111
110
|
if (o.nativeEvent.defaultPrevented)
|
|
112
111
|
return;
|
|
113
112
|
const t = o.target.checked;
|
|
@@ -115,7 +114,7 @@ const ie = (s) => {
|
|
|
115
114
|
};
|
|
116
115
|
let c = w;
|
|
117
116
|
r && typeof c > "u" && (c = r.disabled);
|
|
118
|
-
const
|
|
117
|
+
const V = l === "checkbox" || l === "radio", f = {
|
|
119
118
|
...n,
|
|
120
119
|
checked: F,
|
|
121
120
|
disabled: c,
|
|
@@ -127,7 +126,7 @@ const ie = (s) => {
|
|
|
127
126
|
input: I,
|
|
128
127
|
...U
|
|
129
128
|
}
|
|
130
|
-
}, [
|
|
129
|
+
}, [_, $] = k("root", {
|
|
131
130
|
ref: d,
|
|
132
131
|
elementType: ae,
|
|
133
132
|
className: S.root,
|
|
@@ -156,7 +155,7 @@ const ie = (s) => {
|
|
|
156
155
|
role: void 0,
|
|
157
156
|
tabIndex: null
|
|
158
157
|
}
|
|
159
|
-
}), [
|
|
158
|
+
}), [A, H] = k("input", {
|
|
160
159
|
ref: j,
|
|
161
160
|
elementType: ce,
|
|
162
161
|
className: S.input,
|
|
@@ -165,7 +164,7 @@ const ie = (s) => {
|
|
|
165
164
|
...o,
|
|
166
165
|
onChange: (t) => {
|
|
167
166
|
var i;
|
|
168
|
-
(i = o.onChange) == null || i.call(o, t),
|
|
167
|
+
(i = o.onChange) == null || i.call(o, t), K(t);
|
|
169
168
|
}
|
|
170
169
|
}),
|
|
171
170
|
ownerState: f,
|
|
@@ -174,7 +173,7 @@ const ie = (s) => {
|
|
|
174
173
|
checked: a,
|
|
175
174
|
defaultChecked: m,
|
|
176
175
|
disabled: c,
|
|
177
|
-
id:
|
|
176
|
+
id: V ? T : void 0,
|
|
178
177
|
name: O,
|
|
179
178
|
readOnly: z,
|
|
180
179
|
required: q,
|
|
@@ -185,10 +184,10 @@ const ie = (s) => {
|
|
|
185
184
|
}
|
|
186
185
|
}
|
|
187
186
|
});
|
|
188
|
-
return /* @__PURE__ */
|
|
189
|
-
|
|
190
|
-
children: [/* @__PURE__ */
|
|
191
|
-
...
|
|
187
|
+
return /* @__PURE__ */ ee(_, {
|
|
188
|
+
...$,
|
|
189
|
+
children: [/* @__PURE__ */ oe(A, {
|
|
190
|
+
...H
|
|
192
191
|
}), F ? u : x]
|
|
193
192
|
});
|
|
194
193
|
});
|
|
@@ -243,7 +242,7 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
|
|
|
243
242
|
*/
|
|
244
243
|
id: e.string,
|
|
245
244
|
/**
|
|
246
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/
|
|
245
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
247
246
|
*/
|
|
248
247
|
inputProps: e.object,
|
|
249
248
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const W=require("react"),e=require("./index-DLnSn8GT.cjs"),d=require("./DefaultPropsProvider-Cnf49AIv.cjs"),X=require("./useFormControl-haP0iPhl.cjs"),f=require("./identifier-BoZelETM.cjs"),k=require("./useSlot-C2FjoUpF.cjs"),w=require("react/jsx-runtime"),Y=require("./useControlled-QrrYcKxm.cjs"),Z=require("./ButtonBase-Dp6sf_dP.cjs"),ee=require("./refType-B_IEJm4x.cjs");function oe(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(s,n,c.get?c:{enumerable:!0,get:()=>t[n]})}}return s.default=t,Object.freeze(s)}const te=oe(W);function se(t){return f.generateUtilityClass("PrivateSwitchBase",t)}f.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const re=t=>{const{classes:s,checked:n,disabled:c,edge:a}=t,y={root:["root",n&&"checked",c&&"disabled",a&&`edge${f.capitalize(a)}`],input:["input"]};return d.composeClasses(y,se,s)},ne=d.styled(Z.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:s})=>t==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:s})=>t==="end"&&s.size!=="small",style:{marginRight:-12}}]}),pe=d.styled("input",{shouldForwardProp:d.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),R=te.forwardRef(function(s,n){const{autoFocus:c,checked:a,checkedIcon:y,defaultChecked:T,disabled:q,disableFocusRipple:g=!1,edge:x=!1,icon:j,id:O,inputProps:I,inputRef:z,name:N,onBlur:b,onChange:h,onFocus:m,readOnly:v,required:D=!1,tabIndex:E,type:u,value:S,slots:U={},slotProps:_={},...L}=s,[B,M]=Y.useControlled({controlled:a,default:!!T,name:"SwitchBase",state:"checked"}),p=X.useFormControl(),V=o=>{m&&m(o),p&&p.onFocus&&p.onFocus(o)},$=o=>{b&&b(o),p&&p.onBlur&&p.onBlur(o)},A=o=>{if(o.nativeEvent.defaultPrevented)return;const r=o.target.checked;M(r),h&&h(o,r)};let l=q;p&&typeof l>"u"&&(l=p.disabled);const G=u==="checkbox"||u==="radio",P={...s,checked:B,disabled:l,disableFocusRipple:g,edge:x},C=re(P),F={slots:U,slotProps:{input:I,..._}},[H,J]=k.useSlot("root",{ref:n,elementType:ne,className:C.root,shouldForwardComponentProp:!0,externalForwardedProps:{...F,component:"span",...L},getSlotProps:o=>({...o,onFocus:r=>{var i;(i=o.onFocus)==null||i.call(o,r),V(r)},onBlur:r=>{var i;(i=o.onBlur)==null||i.call(o,r),$(r)}}),ownerState:P,additionalProps:{centerRipple:!0,focusRipple:!g,disabled:l,role:void 0,tabIndex:null}}),[K,Q]=k.useSlot("input",{ref:z,elementType:pe,className:C.input,externalForwardedProps:F,getSlotProps:o=>({...o,onChange:r=>{var i;(i=o.onChange)==null||i.call(o,r),A(r)}}),ownerState:P,additionalProps:{autoFocus:c,checked:a,defaultChecked:T,disabled:l,id:G?O:void 0,name:N,readOnly:v,required:D,tabIndex:E,type:u,...u==="checkbox"&&S===void 0?{}:{value:S}}});return w.jsxs(H,{...J,children:[w.jsx(K,{...Q}),B?y:j]})});process.env.NODE_ENV!=="production"&&(R.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:ee.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,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.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});exports.SwitchBase=R;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
2
|
import { P as e } from "./index-Sy88PpwE.js";
|
|
3
3
|
import { jsx as T, jsxs as G } from "react/jsx-runtime";
|
|
4
|
-
import { F as ae, G as ie, H as j,
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as xo } from "./useTheme-
|
|
7
|
-
import { u as Se, s as D, c as ce } from "./DefaultPropsProvider-
|
|
8
|
-
import { m as ve } from "./memoTheme-
|
|
4
|
+
import { F as ae, G as ie, H as j, Y as wo, K as ze } from "./identifier-PWESmBq6.js";
|
|
5
|
+
import { u as Fe } from "./index-DX2Sl0Ig.js";
|
|
6
|
+
import { u as xo } from "./useTheme-XJ9sFCWX.js";
|
|
7
|
+
import { u as Se, s as D, c as ce } from "./DefaultPropsProvider-DqazQPtr.js";
|
|
8
|
+
import { m as ve } from "./memoTheme-DAFDflPY.js";
|
|
9
9
|
import { u as Bo, a as me } from "./useEventCallback-Y2KwRxBw.js";
|
|
10
|
-
import { d as
|
|
11
|
-
import { o as
|
|
12
|
-
import { u as H } from "./useSlot-
|
|
13
|
-
import { u as se } from "./useSlotProps-
|
|
14
|
-
import { c as
|
|
15
|
-
import { B as
|
|
10
|
+
import { d as Ae } from "./debounce-46wSf_lW.js";
|
|
11
|
+
import { o as Ve } from "./ownerWindow-niciwP7I.js";
|
|
12
|
+
import { u as H } from "./useSlot-BzdKwDQ5.js";
|
|
13
|
+
import { u as se } from "./useSlotProps-DdMuGelR.js";
|
|
14
|
+
import { c as He } from "./createSvgIcon-B1E6Wo8z.js";
|
|
15
|
+
import { B as Ue } from "./ButtonBase-6TF6t2SP.js";
|
|
16
16
|
import { o as Co } from "./ownerDocument-CUrv0DIK.js";
|
|
17
17
|
import { r as Eo } from "./refType-Dp7CJc86.js";
|
|
18
|
-
import { u as Io } from "./useThemeProps-
|
|
19
|
-
import { c as Ue } from "./capitalize-3mO2QYxZ.js";
|
|
18
|
+
import { u as Io } from "./useThemeProps-CQ9rZe7g.js";
|
|
20
19
|
import { u as Po } from "./unsupportedProp-BuVD30Gh.js";
|
|
21
20
|
const Te = /* @__PURE__ */ s.createContext(null);
|
|
22
21
|
process.env.NODE_ENV !== "production" && (Te.displayName = "TabContext");
|
|
@@ -53,28 +52,28 @@ process.env.NODE_ENV !== "production" && (Oo.propTypes = {
|
|
|
53
52
|
*/
|
|
54
53
|
value: e.oneOfType([e.number, e.string]).isRequired
|
|
55
54
|
});
|
|
56
|
-
function
|
|
55
|
+
function Ke() {
|
|
57
56
|
return s.useContext(Te);
|
|
58
57
|
}
|
|
59
|
-
function
|
|
58
|
+
function Xe(t, o) {
|
|
60
59
|
const {
|
|
61
60
|
idPrefix: r
|
|
62
61
|
} = t;
|
|
63
62
|
return r === null ? null : `${t.idPrefix}-P-${o}`;
|
|
64
63
|
}
|
|
65
|
-
function
|
|
64
|
+
function Ye(t, o) {
|
|
66
65
|
const {
|
|
67
66
|
idPrefix: r
|
|
68
67
|
} = t;
|
|
69
68
|
return r === null ? null : `${t.idPrefix}-T-${o}`;
|
|
70
69
|
}
|
|
71
|
-
function
|
|
70
|
+
function No(t) {
|
|
72
71
|
return (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2;
|
|
73
72
|
}
|
|
74
|
-
function
|
|
73
|
+
function Ro(t, o, r, a = {}, i = () => {
|
|
75
74
|
}) {
|
|
76
75
|
const {
|
|
77
|
-
ease: d =
|
|
76
|
+
ease: d = No,
|
|
78
77
|
duration: p = 300
|
|
79
78
|
// standard
|
|
80
79
|
} = a;
|
|
@@ -107,7 +106,7 @@ const jo = {
|
|
|
107
106
|
top: -9999,
|
|
108
107
|
overflow: "scroll"
|
|
109
108
|
};
|
|
110
|
-
function
|
|
109
|
+
function _e(t) {
|
|
111
110
|
const {
|
|
112
111
|
onChange: o,
|
|
113
112
|
...r
|
|
@@ -115,10 +114,10 @@ function Ye(t) {
|
|
|
115
114
|
a.current = i.current.offsetHeight - i.current.clientHeight;
|
|
116
115
|
};
|
|
117
116
|
return Bo(() => {
|
|
118
|
-
const p =
|
|
117
|
+
const p = Ae(() => {
|
|
119
118
|
const h = a.current;
|
|
120
119
|
d(), h !== a.current && o(a.current);
|
|
121
|
-
}), f =
|
|
120
|
+
}), f = Ve(i.current);
|
|
122
121
|
return f.addEventListener("resize", p), () => {
|
|
123
122
|
p.clear(), f.removeEventListener("resize", p);
|
|
124
123
|
};
|
|
@@ -130,12 +129,12 @@ function Ye(t) {
|
|
|
130
129
|
ref: i
|
|
131
130
|
});
|
|
132
131
|
}
|
|
133
|
-
process.env.NODE_ENV !== "production" && (
|
|
132
|
+
process.env.NODE_ENV !== "production" && (_e.propTypes = {
|
|
134
133
|
onChange: e.func.isRequired
|
|
135
134
|
});
|
|
136
|
-
const ko =
|
|
135
|
+
const ko = He(/* @__PURE__ */ T("path", {
|
|
137
136
|
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
|
138
|
-
}), "KeyboardArrowLeft"), $o =
|
|
137
|
+
}), "KeyboardArrowLeft"), $o = He(/* @__PURE__ */ T("path", {
|
|
139
138
|
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
140
139
|
}), "KeyboardArrowRight");
|
|
141
140
|
function Do(t) {
|
|
@@ -150,7 +149,7 @@ const Wo = ae("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
150
149
|
return ce({
|
|
151
150
|
root: ["root", r, a && "disabled"]
|
|
152
151
|
}, Do, o);
|
|
153
|
-
}, zo = D(
|
|
152
|
+
}, zo = D(Ue, {
|
|
154
153
|
name: "MuiTabScrollButton",
|
|
155
154
|
slot: "Root",
|
|
156
155
|
overridesResolver: (t, o) => {
|
|
@@ -190,7 +189,7 @@ const Wo = ae("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
190
189
|
orientation: h,
|
|
191
190
|
disabled: S,
|
|
192
191
|
...v
|
|
193
|
-
} = a, m =
|
|
192
|
+
} = a, m = Fe(), y = {
|
|
194
193
|
isRtl: m,
|
|
195
194
|
...a
|
|
196
195
|
}, g = Lo(y), W = d.StartScrollButtonIcon ?? ko, E = d.EndScrollButtonIcon ?? $o, x = se({
|
|
@@ -442,10 +441,9 @@ const ye = ae("MuiTabs", ["root", "vertical", "list", "flexContainer", "flexCont
|
|
|
442
441
|
justifyContent: "center"
|
|
443
442
|
}
|
|
444
443
|
}]
|
|
445
|
-
}),
|
|
444
|
+
}), Ko = D("span", {
|
|
446
445
|
name: "MuiTabs",
|
|
447
|
-
slot: "Indicator"
|
|
448
|
-
overridesResolver: (t, o) => o.indicator
|
|
446
|
+
slot: "Indicator"
|
|
449
447
|
})(ve(({
|
|
450
448
|
theme: t
|
|
451
449
|
}) => ({
|
|
@@ -478,7 +476,7 @@ const ye = ae("MuiTabs", ["root", "vertical", "list", "flexContainer", "flexCont
|
|
|
478
476
|
right: 0
|
|
479
477
|
}
|
|
480
478
|
}]
|
|
481
|
-
}))),
|
|
479
|
+
}))), Xo = D(_e)({
|
|
482
480
|
overflowX: "auto",
|
|
483
481
|
overflowY: "hidden",
|
|
484
482
|
// Hide dimensionless scrollbar on macOS
|
|
@@ -494,7 +492,7 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
494
492
|
const a = Se({
|
|
495
493
|
props: o,
|
|
496
494
|
name: "MuiTabs"
|
|
497
|
-
}), i = xo(), d =
|
|
495
|
+
}), i = xo(), d = Fe(), {
|
|
498
496
|
"aria-label": p,
|
|
499
497
|
"aria-labelledby": f,
|
|
500
498
|
action: h,
|
|
@@ -514,14 +512,14 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
514
512
|
slotProps: A = {},
|
|
515
513
|
TabIndicatorProps: U = {},
|
|
516
514
|
// TODO: remove in v7 (deprecated in v6)
|
|
517
|
-
TabScrollButtonProps:
|
|
515
|
+
TabScrollButtonProps: K = {},
|
|
518
516
|
// TODO: remove in v7 (deprecated in v6)
|
|
519
517
|
textColor: Q = "primary",
|
|
520
518
|
value: k,
|
|
521
519
|
variant: O = "standard",
|
|
522
520
|
visibleScrollbar: ue = !1,
|
|
523
521
|
...Je
|
|
524
|
-
} = a, B = O === "scrollable", C = x === "vertical",
|
|
522
|
+
} = a, B = O === "scrollable", C = x === "vertical", X = C ? "scrollTop" : "scrollLeft", Z = C ? "top" : "left", ee = C ? "bottom" : "right", pe = C ? "clientHeight" : "clientWidth", Y = C ? "height" : "width", N = {
|
|
525
523
|
...a,
|
|
526
524
|
component: y,
|
|
527
525
|
allowScrollButtonsMobile: g,
|
|
@@ -538,28 +536,28 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
538
536
|
scrollableY: B && C,
|
|
539
537
|
centered: S && !B,
|
|
540
538
|
scrollButtonsHideMobile: !g
|
|
541
|
-
}, $ = Ao(
|
|
539
|
+
}, $ = Ao(N), Qe = se({
|
|
542
540
|
elementType: M.StartScrollButtonIcon,
|
|
543
541
|
externalSlotProps: A.startScrollButtonIcon,
|
|
544
|
-
ownerState:
|
|
542
|
+
ownerState: N
|
|
545
543
|
}), Ze = se({
|
|
546
544
|
elementType: M.EndScrollButtonIcon,
|
|
547
545
|
externalSlotProps: A.endScrollButtonIcon,
|
|
548
|
-
ownerState:
|
|
546
|
+
ownerState: N
|
|
549
547
|
});
|
|
550
548
|
process.env.NODE_ENV !== "production" && S && B && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
551
549
|
const [ge, eo] = s.useState(!1), [L, we] = s.useState(We), [xe, oo] = s.useState(!1), [Be, to] = s.useState(!1), [Ce, no] = s.useState(!1), [Ee, ro] = s.useState({
|
|
552
550
|
overflow: "hidden",
|
|
553
551
|
scrollbarWidth: 0
|
|
554
|
-
}), oe = /* @__PURE__ */ new Map(),
|
|
552
|
+
}), oe = /* @__PURE__ */ new Map(), R = s.useRef(null), z = s.useRef(null), V = {
|
|
555
553
|
slots: M,
|
|
556
554
|
slotProps: {
|
|
557
555
|
indicator: U,
|
|
558
|
-
scrollButton:
|
|
556
|
+
scrollButton: K,
|
|
559
557
|
...A
|
|
560
558
|
}
|
|
561
559
|
}, Ie = () => {
|
|
562
|
-
const n =
|
|
560
|
+
const n = R.current;
|
|
563
561
|
let l;
|
|
564
562
|
if (n) {
|
|
565
563
|
const u = n.getBoundingClientRect();
|
|
@@ -589,7 +587,7 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
589
587
|
tabsMeta: l,
|
|
590
588
|
tabMeta: c
|
|
591
589
|
};
|
|
592
|
-
},
|
|
590
|
+
}, _ = me(() => {
|
|
593
591
|
const {
|
|
594
592
|
tabsMeta: n,
|
|
595
593
|
tabMeta: l
|
|
@@ -599,25 +597,25 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
599
597
|
const b = {
|
|
600
598
|
[u]: c,
|
|
601
599
|
// May be wrong until the font is loaded.
|
|
602
|
-
[
|
|
600
|
+
[Y]: l ? l[Y] : 0
|
|
603
601
|
};
|
|
604
|
-
if (typeof L[u] != "number" || typeof L[
|
|
602
|
+
if (typeof L[u] != "number" || typeof L[Y] != "number")
|
|
605
603
|
we(b);
|
|
606
604
|
else {
|
|
607
|
-
const I = Math.abs(L[u] - b[u]), F = Math.abs(L[
|
|
605
|
+
const I = Math.abs(L[u] - b[u]), F = Math.abs(L[Y] - b[Y]);
|
|
608
606
|
(I >= 1 || F >= 1) && we(b);
|
|
609
607
|
}
|
|
610
608
|
}), fe = (n, {
|
|
611
609
|
animation: l = !0
|
|
612
610
|
} = {}) => {
|
|
613
|
-
l ?
|
|
611
|
+
l ? Ro(X, R.current, n, {
|
|
614
612
|
duration: i.transitions.duration.standard
|
|
615
|
-
}) :
|
|
613
|
+
}) : R.current[X] = n;
|
|
616
614
|
}, Pe = (n) => {
|
|
617
|
-
let l =
|
|
615
|
+
let l = R.current[X];
|
|
618
616
|
C ? l += n : l += n * (d ? -1 : 1), fe(l);
|
|
619
617
|
}, Me = () => {
|
|
620
|
-
const n =
|
|
618
|
+
const n = R.current[pe];
|
|
621
619
|
let l = 0;
|
|
622
620
|
const c = Array.from(z.current.children);
|
|
623
621
|
for (let u = 0; u < c.length; u += 1) {
|
|
@@ -638,20 +636,20 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
638
636
|
...io
|
|
639
637
|
}] = H("scrollbar", {
|
|
640
638
|
className: j($.scrollableX, $.hideScrollbar),
|
|
641
|
-
elementType:
|
|
639
|
+
elementType: Xo,
|
|
642
640
|
shouldForwardComponentProp: !0,
|
|
643
641
|
externalForwardedProps: V,
|
|
644
|
-
ownerState:
|
|
642
|
+
ownerState: N
|
|
645
643
|
}), co = s.useCallback((n) => {
|
|
646
644
|
te == null || te(n), ro({
|
|
647
645
|
overflow: null,
|
|
648
646
|
scrollbarWidth: n
|
|
649
647
|
});
|
|
650
|
-
}, [te]), [Oe,
|
|
651
|
-
className: j($.scrollButtons,
|
|
648
|
+
}, [te]), [Oe, Ne] = H("scrollButtons", {
|
|
649
|
+
className: j($.scrollButtons, K.className),
|
|
652
650
|
elementType: qe,
|
|
653
651
|
externalForwardedProps: V,
|
|
654
|
-
ownerState:
|
|
652
|
+
ownerState: N,
|
|
655
653
|
additionalProps: {
|
|
656
654
|
orientation: x,
|
|
657
655
|
slots: {
|
|
@@ -674,26 +672,26 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
674
672
|
direction: d ? "right" : "left",
|
|
675
673
|
onClick: lo,
|
|
676
674
|
disabled: !xe,
|
|
677
|
-
...
|
|
675
|
+
...Ne
|
|
678
676
|
}) : null, n.scrollButtonEnd = c ? /* @__PURE__ */ T(Oe, {
|
|
679
677
|
direction: d ? "left" : "right",
|
|
680
678
|
onClick: so,
|
|
681
679
|
disabled: !Be,
|
|
682
|
-
...
|
|
680
|
+
...Ne
|
|
683
681
|
}) : null, n;
|
|
684
|
-
},
|
|
682
|
+
}, Re = me((n) => {
|
|
685
683
|
const {
|
|
686
684
|
tabsMeta: l,
|
|
687
685
|
tabMeta: c
|
|
688
686
|
} = Ie();
|
|
689
687
|
if (!(!c || !l)) {
|
|
690
688
|
if (c[Z] < l[Z]) {
|
|
691
|
-
const u = l[
|
|
689
|
+
const u = l[X] + (c[Z] - l[Z]);
|
|
692
690
|
fe(u, {
|
|
693
691
|
animation: n
|
|
694
692
|
});
|
|
695
693
|
} else if (c[ee] > l[ee]) {
|
|
696
|
-
const u = l[
|
|
694
|
+
const u = l[X] + (c[ee] - l[ee]);
|
|
697
695
|
fe(u, {
|
|
698
696
|
animation: n
|
|
699
697
|
});
|
|
@@ -703,8 +701,8 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
703
701
|
B && P !== !1 && no(!Ce);
|
|
704
702
|
});
|
|
705
703
|
s.useEffect(() => {
|
|
706
|
-
const n =
|
|
707
|
-
|
|
704
|
+
const n = Ae(() => {
|
|
705
|
+
R.current && _();
|
|
708
706
|
});
|
|
709
707
|
let l;
|
|
710
708
|
const c = (I) => {
|
|
@@ -715,7 +713,7 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
715
713
|
l == null || l.observe(q);
|
|
716
714
|
});
|
|
717
715
|
}), n(), ne();
|
|
718
|
-
}, u =
|
|
716
|
+
}, u = Ve(R.current);
|
|
719
717
|
u.addEventListener("resize", n);
|
|
720
718
|
let b;
|
|
721
719
|
return typeof ResizeObserver < "u" && (l = new ResizeObserver(n), Array.from(z.current.children).forEach((I) => {
|
|
@@ -725,11 +723,11 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
725
723
|
})), () => {
|
|
726
724
|
n.clear(), u.removeEventListener("resize", n), b == null || b.disconnect(), l == null || l.disconnect();
|
|
727
725
|
};
|
|
728
|
-
}, [
|
|
726
|
+
}, [_, ne]), s.useEffect(() => {
|
|
729
727
|
const n = Array.from(z.current.children), l = n.length;
|
|
730
728
|
if (typeof IntersectionObserver < "u" && l > 0 && B && P !== !1) {
|
|
731
729
|
const c = n[0], u = n[l - 1], b = {
|
|
732
|
-
root:
|
|
730
|
+
root: R.current,
|
|
733
731
|
threshold: 0.99
|
|
734
732
|
}, I = (he) => {
|
|
735
733
|
oo(!he[0].isIntersecting);
|
|
@@ -745,18 +743,18 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
745
743
|
}, [B, P, Ce, v == null ? void 0 : v.length]), s.useEffect(() => {
|
|
746
744
|
eo(!0);
|
|
747
745
|
}, []), s.useEffect(() => {
|
|
748
|
-
|
|
746
|
+
_();
|
|
749
747
|
}), s.useEffect(() => {
|
|
750
|
-
|
|
751
|
-
}, [
|
|
752
|
-
updateIndicator:
|
|
748
|
+
Re(We !== L);
|
|
749
|
+
}, [Re, L]), s.useImperativeHandle(h, () => ({
|
|
750
|
+
updateIndicator: _,
|
|
753
751
|
updateScrollButtons: ne
|
|
754
|
-
}), [
|
|
752
|
+
}), [_, ne]);
|
|
755
753
|
const [po, fo] = H("indicator", {
|
|
756
754
|
className: j($.indicator, U.className),
|
|
757
|
-
elementType:
|
|
755
|
+
elementType: Ko,
|
|
758
756
|
externalForwardedProps: V,
|
|
759
|
-
ownerState:
|
|
757
|
+
ownerState: N,
|
|
760
758
|
additionalProps: {
|
|
761
759
|
style: L
|
|
762
760
|
}
|
|
@@ -814,13 +812,13 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
814
812
|
...Je,
|
|
815
813
|
component: y
|
|
816
814
|
},
|
|
817
|
-
ownerState:
|
|
815
|
+
ownerState: N
|
|
818
816
|
}), [So, vo] = H("scroller", {
|
|
819
|
-
ref:
|
|
817
|
+
ref: R,
|
|
820
818
|
className: $.scroller,
|
|
821
819
|
elementType: Ho,
|
|
822
820
|
externalForwardedProps: V,
|
|
823
|
-
ownerState:
|
|
821
|
+
ownerState: N,
|
|
824
822
|
additionalProps: {
|
|
825
823
|
style: {
|
|
826
824
|
overflow: Ee.overflow,
|
|
@@ -832,7 +830,7 @@ const Ge = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
832
830
|
className: j($.list, $.flexContainer),
|
|
833
831
|
elementType: Uo,
|
|
834
832
|
externalForwardedProps: V,
|
|
835
|
-
ownerState:
|
|
833
|
+
ownerState: N,
|
|
836
834
|
getSlotProps: (n) => ({
|
|
837
835
|
...n,
|
|
838
836
|
onKeyDown: (l) => {
|
|
@@ -1021,17 +1019,17 @@ process.env.NODE_ENV !== "production" && (Ge.propTypes = {
|
|
|
1021
1019
|
*/
|
|
1022
1020
|
visibleScrollbar: e.bool
|
|
1023
1021
|
});
|
|
1024
|
-
const
|
|
1022
|
+
const Yo = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
1025
1023
|
const {
|
|
1026
1024
|
children: a,
|
|
1027
1025
|
...i
|
|
1028
|
-
} = o, d =
|
|
1026
|
+
} = o, d = Ke();
|
|
1029
1027
|
if (d === null)
|
|
1030
1028
|
throw new TypeError("No TabContext provided");
|
|
1031
1029
|
const p = s.Children.map(a, (f) => /* @__PURE__ */ s.isValidElement(f) ? /* @__PURE__ */ s.cloneElement(f, {
|
|
1032
1030
|
// SOMEDAY: `Tabs` will set those themselves
|
|
1033
|
-
"aria-controls":
|
|
1034
|
-
id:
|
|
1031
|
+
"aria-controls": Xe(d, f.props.value),
|
|
1032
|
+
id: Ye(d, f.props.value)
|
|
1035
1033
|
}) : null);
|
|
1036
1034
|
return /* @__PURE__ */ T(Ge, {
|
|
1037
1035
|
...i,
|
|
@@ -1040,7 +1038,7 @@ const _o = /* @__PURE__ */ s.forwardRef(function(o, r) {
|
|
|
1040
1038
|
children: p
|
|
1041
1039
|
});
|
|
1042
1040
|
});
|
|
1043
|
-
process.env.NODE_ENV !== "production" && (
|
|
1041
|
+
process.env.NODE_ENV !== "production" && (Yo.propTypes = {
|
|
1044
1042
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1045
1043
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1046
1044
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1050,21 +1048,20 @@ process.env.NODE_ENV !== "production" && (_o.propTypes = {
|
|
|
1050
1048
|
*/
|
|
1051
1049
|
children: e.node
|
|
1052
1050
|
});
|
|
1053
|
-
function
|
|
1051
|
+
function _o(t) {
|
|
1054
1052
|
return ie("MuiTabPanel", t);
|
|
1055
1053
|
}
|
|
1056
|
-
const
|
|
1054
|
+
const Tt = ae("MuiTabPanel", ["root", "hidden"]), qo = (t) => {
|
|
1057
1055
|
const {
|
|
1058
1056
|
classes: o,
|
|
1059
1057
|
hidden: r
|
|
1060
1058
|
} = t;
|
|
1061
1059
|
return ce({
|
|
1062
1060
|
root: ["root", r && "hidden"]
|
|
1063
|
-
},
|
|
1061
|
+
}, _o, o);
|
|
1064
1062
|
}, Go = D("div", {
|
|
1065
1063
|
name: "MuiTabPanel",
|
|
1066
|
-
slot: "Root"
|
|
1067
|
-
overridesResolver: (t, o) => o.root
|
|
1064
|
+
slot: "Root"
|
|
1068
1065
|
})(({
|
|
1069
1066
|
theme: t
|
|
1070
1067
|
}) => ({
|
|
@@ -1081,10 +1078,10 @@ const gt = ae("MuiTabPanel", ["root", "hidden"]), qo = (t) => {
|
|
|
1081
1078
|
...h
|
|
1082
1079
|
} = a, S = {
|
|
1083
1080
|
...a
|
|
1084
|
-
}, v = qo(S), m =
|
|
1081
|
+
}, v = qo(S), m = Ke();
|
|
1085
1082
|
if (m === null)
|
|
1086
1083
|
throw new TypeError("No TabContext provided");
|
|
1087
|
-
const y =
|
|
1084
|
+
const y = Xe(m, p), g = Ye(m, p);
|
|
1088
1085
|
return /* @__PURE__ */ T(Go, {
|
|
1089
1086
|
"aria-labelledby": g,
|
|
1090
1087
|
className: j(v.root, d),
|
|
@@ -1143,18 +1140,18 @@ const w = ae("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
1143
1140
|
selected: f,
|
|
1144
1141
|
disabled: h
|
|
1145
1142
|
} = t, S = {
|
|
1146
|
-
root: ["root", d && p && "labelIcon", `textColor${
|
|
1143
|
+
root: ["root", d && p && "labelIcon", `textColor${ze(r)}`, a && "fullWidth", i && "wrapped", f && "selected", h && "disabled"],
|
|
1147
1144
|
icon: ["iconWrapper", "icon"]
|
|
1148
1145
|
};
|
|
1149
1146
|
return ce(S, Qo, o);
|
|
1150
|
-
}, et = D(
|
|
1147
|
+
}, et = D(Ue, {
|
|
1151
1148
|
name: "MuiTab",
|
|
1152
1149
|
slot: "Root",
|
|
1153
1150
|
overridesResolver: (t, o) => {
|
|
1154
1151
|
const {
|
|
1155
1152
|
ownerState: r
|
|
1156
1153
|
} = t;
|
|
1157
|
-
return [o.root, r.label && r.icon && o.labelIcon, o[`textColor${
|
|
1154
|
+
return [o.root, r.label && r.icon && o.labelIcon, o[`textColor${ze(r.textColor)}`], r.fullWidth && o.fullWidth, r.wrapped && o.wrapped, {
|
|
1158
1155
|
[`& .${w.iconWrapper}`]: o.iconWrapper
|
|
1159
1156
|
}, {
|
|
1160
1157
|
[`& .${w.icon}`]: o.icon
|
|
@@ -1334,7 +1331,7 @@ const w = ae("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
1334
1331
|
fullWidth: f,
|
|
1335
1332
|
textColor: J,
|
|
1336
1333
|
wrapped: de
|
|
1337
|
-
}, U = Zo(A),
|
|
1334
|
+
}, U = Zo(A), K = h && m && /* @__PURE__ */ s.isValidElement(h) ? /* @__PURE__ */ s.cloneElement(h, {
|
|
1338
1335
|
className: j(U.icon, h.props.className)
|
|
1339
1336
|
}) : h, Q = (O) => {
|
|
1340
1337
|
!E && y && y(O, P), g && g(O);
|
|
@@ -1354,9 +1351,9 @@ const w = ae("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
1354
1351
|
tabIndex: E ? 0 : -1,
|
|
1355
1352
|
...M,
|
|
1356
1353
|
children: [S === "top" || S === "start" ? /* @__PURE__ */ G(s.Fragment, {
|
|
1357
|
-
children: [
|
|
1354
|
+
children: [K, m]
|
|
1358
1355
|
}) : /* @__PURE__ */ G(s.Fragment, {
|
|
1359
|
-
children: [m,
|
|
1356
|
+
children: [m, K]
|
|
1360
1357
|
}), v]
|
|
1361
1358
|
});
|
|
1362
1359
|
});
|
|
@@ -1439,18 +1436,18 @@ process.env.NODE_ENV !== "production" && (ot.propTypes = {
|
|
|
1439
1436
|
export {
|
|
1440
1437
|
$o as K,
|
|
1441
1438
|
Oo as T,
|
|
1442
|
-
|
|
1439
|
+
Yo as a,
|
|
1443
1440
|
Jo as b,
|
|
1444
1441
|
ot as c,
|
|
1445
1442
|
Ge as d,
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1443
|
+
Ye as e,
|
|
1444
|
+
_o as f,
|
|
1445
|
+
Xe as g,
|
|
1449
1446
|
w as h,
|
|
1450
1447
|
Qo as i,
|
|
1451
1448
|
ye as j,
|
|
1452
1449
|
Fo as k,
|
|
1453
1450
|
ko as l,
|
|
1454
|
-
|
|
1455
|
-
|
|
1451
|
+
Tt as t,
|
|
1452
|
+
Ke as u
|
|
1456
1453
|
};
|