@cgi-learning-hub/ui 1.2.0 → 1.3.0-dev.1731062725
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/Backdrop-CxHwPsCX.js +789 -0
- package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
- package/dist/Box-D61CmHcZ.cjs +1 -0
- package/dist/{Box-Bawb5zHX.js → Box-a6v7fn61.js} +31 -30
- package/dist/Button-B8Vr_qVd.js +450 -0
- package/dist/Button-elp97nQ8.cjs +1 -0
- package/dist/ButtonBase-S0mFlojL.cjs +75 -0
- package/dist/ButtonBase-Y5TK5SRu.js +890 -0
- package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
- package/dist/CircularProgress-DU3DJQfF.js +252 -0
- package/dist/DatePicker-BigDV0IN.cjs +17 -0
- package/dist/{DatePicker-DGVeagTz.js → DatePicker-ZdjLD9eR.js} +6100 -5984
- package/dist/DefaultPropsProvider-7QnSWHxy.js +484 -0
- package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
- package/dist/IconButton-C7H_G1LX.js +230 -0
- package/dist/IconButton-DfmbM9nO.cjs +2 -0
- package/dist/InputAdornment-C-EbfNtT.cjs +1 -0
- package/dist/{InputAdornment-hNrnvXW9.js → InputAdornment-CPJFY_m_.js} +81 -64
- package/dist/InputBase-5GB2c2J6.js +803 -0
- package/dist/InputBase-CPtGhJye.cjs +3 -0
- package/dist/Stack-656bqKiW.cjs +1 -0
- package/dist/{Stack-BJ2ths-g.js → Stack-CutIWKkG.js} +61 -60
- package/dist/Tabs-CKic46Op.js +1222 -0
- package/dist/Tabs-DzrxYlm-.cjs +4 -0
- package/dist/TextField-BLEvZwPH.cjs +14 -0
- package/dist/TextField-CGMPbx_J.js +5686 -0
- package/dist/Tooltip-BJefPCe7.cjs +100 -0
- package/dist/{Tooltip-D42pzHKW.js → Tooltip-DqLAZimE.js} +4764 -3511
- package/dist/TransitionGroupContext-DMJLhY9-.js +24 -0
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +1 -0
- package/dist/Typography-CreZW2v6.cjs +1 -0
- package/dist/Typography-DsJC595c.js +259 -0
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/client-error-BUtdld5f.cjs +1 -0
- package/dist/client-error-B_-qjgAB.js +395 -0
- package/dist/components/Alert/Alert.cjs.js +1 -0
- package/dist/components/{feedback/Alert → Alert}/Alert.d.ts +0 -1
- package/dist/components/Alert/Alert.stories.cjs.js +1 -0
- package/dist/components/{feedback/Alert → Alert}/Alert.stories.d.ts +0 -1
- package/dist/components/{feedback/Alert → Alert}/Alert.stories.es.js +7 -7
- package/dist/components/Button/Button.cjs.js +1 -0
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.es.js +334 -0
- package/dist/components/Button/Button.stories.cjs.js +1 -0
- package/dist/components/{buttons/SecondaryButton/SecondaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -2
- package/dist/components/Button/Button.stories.es.js +45 -0
- package/dist/components/Button/index.cjs.js +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.es.js +4 -0
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -0
- package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.es.js +6 -0
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -0
- package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.stories.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +16 -0
- package/dist/components/{pickers → DatePicker}/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +4 -0
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.es.js +1685 -686
- package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.stories.es.js +1 -1
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +12 -0
- package/dist/components/EmptyState/EmptyState.es.js +31 -0
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
- package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → EmptyState/EmptyState.stories.d.ts} +0 -1
- package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
- package/dist/components/EmptyState/index.cjs.js +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.es.js +4 -0
- package/dist/components/FileList/FileList.cjs.js +1 -0
- package/dist/components/{lists/FileList → FileList}/FileList.d.ts +0 -1
- package/dist/components/{lists/FileList → FileList}/FileList.es.js +1 -1
- package/dist/components/FileList/FileList.stories.cjs.js +1 -0
- package/dist/components/{lists/FileList → FileList}/FileList.stories.d.ts +0 -1
- package/dist/components/{lists/FileList → FileList}/FileList.stories.es.js +3 -3
- package/dist/components/FileList/FileListItem.cjs.js +1 -0
- package/dist/components/FileList/FileListItem.d.ts +12 -0
- package/dist/components/FileList/FileListItem.es.js +29 -0
- package/dist/components/Heading/Heading.cjs.js +1 -0
- package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +6 -5
- package/dist/components/Heading/Heading.es.js +39 -0
- package/dist/components/Heading/Heading.stories.cjs.js +1 -0
- package/dist/components/{buttons/PrimaryButton/PrimaryButton.stories.d.ts → Heading/Heading.stories.d.ts} +0 -1
- package/dist/components/Heading/Heading.stories.es.js +22 -0
- package/dist/components/Heading/index.cjs.js +1 -0
- package/dist/components/Heading/index.d.ts +2 -0
- package/dist/components/Heading/index.es.js +4 -0
- package/dist/components/IconButton.stories.cjs.js +1 -0
- package/dist/components/{buttons/IconButton.stories.d.ts → IconButton.stories.d.ts} +0 -1
- package/dist/components/IconButton.stories.es.js +21 -0
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +0 -1
- package/dist/components/Loader/Loader.es.js +2 -2
- package/dist/components/Loader/Loader.stories.cjs.js +1 -1
- package/dist/components/Loader/Loader.stories.d.ts +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +10 -8
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -0
- package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.d.ts +0 -1
- package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.es.js +10 -11
- package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.cjs.js +1 -1
- package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.stories.es.js +16 -0
- package/dist/components/QueryError/QueryError.cjs.js +1 -0
- package/dist/components/{feedback/QueryError → QueryError}/QueryError.d.ts +0 -1
- package/dist/components/QueryError/QueryError.es.js +43 -0
- package/dist/components/{feedback/QueryError → QueryError}/helpers.d.ts +0 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -0
- package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.d.ts +0 -1
- package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.es.js +4 -4
- package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -0
- package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.d.ts +0 -1
- package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.es.js +1 -1
- package/dist/components/TabList.stories.cjs.js +1 -0
- package/dist/components/{lists/TabList.stories.d.ts → TabList.stories.d.ts} +0 -1
- package/dist/components/{lists/TabList.stories.es.js → TabList.stories.es.js} +99 -87
- package/dist/components/TextInput/TextInput.cjs.js +1 -0
- package/dist/components/{inputs/TextInput → TextInput}/TextInput.d.ts +0 -1
- package/dist/components/{inputs/TextInput → TextInput}/TextInput.es.js +1 -1
- package/dist/components/TextInput/TextInput.stories.cjs.js +1 -0
- package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.d.ts +0 -1
- package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.es.js +7 -7
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +14 -20
- package/dist/components/index.es.js +270 -272
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
- package/dist/createSvgIcon-Ae1vF9Lv.js +250 -0
- package/dist/createSvgIcon-PXjVOXDY.cjs +1 -0
- package/dist/error-CRNeivL7.js +5 -0
- package/dist/error-Dk3o6ber.cjs +1 -0
- package/dist/extendSxProp-BzTGWWcy.js +37 -0
- package/dist/extendSxProp-DLhbnNxc.cjs +1 -0
- package/dist/{fr-By4s91yO.js → fr-B0c4Eu-I.js} +13 -13
- package/dist/{fr-TRjulm1Q.cjs → fr-BtINyNRC.cjs} +1 -1
- package/dist/hooks/lazySvgImport.cjs.js +1 -0
- package/dist/hooks/lazySvgImport.d.ts +6 -0
- package/dist/hooks/lazySvgImport.es.js +34 -0
- package/dist/identifier-B_IiMbpZ.cjs +59 -0
- package/dist/identifier-Bu3vgTzE.js +3115 -0
- package/dist/index-BDy6VH40.cjs +1 -0
- package/dist/index-D4YvqRSh.js +45 -0
- package/dist/index-DNmEgr4X.js +89 -0
- package/dist/index-Dl4BXU0b.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +271 -273
- package/dist/memoTheme-C4_nd-x4.js +15 -0
- package/dist/memoTheme-DvW891YJ.cjs +1 -0
- package/dist/{ownerWindow-C7EH1lr6.js → ownerWindow-BoRkeomM.js} +2 -2
- package/dist/refType-DYRsy3ld.cjs +1 -0
- package/dist/refType-DvOnKTmB.js +27 -0
- package/dist/server-error-CeAtUo4S.cjs +1 -0
- package/dist/server-error-DMyaPFs8.js +400 -0
- package/dist/useForkRef-D-DyzOXj.js +21 -0
- package/dist/useForkRef-D81w5oMb.cjs +1 -0
- package/dist/useId-CK6Kn3Tn.js +21 -0
- package/dist/useId-DNXtOFeX.cjs +1 -0
- package/dist/useTheme-B_3HWqyi.js +88 -0
- package/dist/useTheme-BvsnROiB.cjs +1 -0
- package/dist/{useTheme-CjBTq22m.js → useTheme-DhYab2-0.js} +5 -5
- package/dist/useTheme-vN32oV1t.cjs +1 -0
- package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
- package/dist/{useThemeProps-BM4fCFq5.js → useThemeProps-Bmkt_XOR.js} +2 -2
- package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
- package/dist/useThemeProps-DftpgVZ0.js +24 -0
- package/dist/useTimeout-Bx22KOcH.js +53 -0
- package/dist/useTimeout-gEG15bRo.cjs +1 -0
- package/package.json +14 -17
- package/dist/Box-5x1F2S3-.cjs +0 -1
- package/dist/Button-C__-QOJY.js +0 -359
- package/dist/Button-DKIRmOzf.cjs +0 -1
- package/dist/ButtonBase-4F5roLHd.js +0 -827
- package/dist/ButtonBase-Bw3wq81v.cjs +0 -75
- package/dist/CircularProgress-BNazIBar.js +0 -217
- package/dist/CircularProgress-WnNPMTjD.cjs +0 -28
- package/dist/DatePicker-B0jLSEvZ.cjs +0 -19
- package/dist/DefaultButton-F67BOmrx.js +0 -258
- package/dist/DefaultButton-y-mHSNFH.cjs +0 -1
- package/dist/IconButton-D_deQOvN.js +0 -184
- package/dist/IconButton-DhWgsgQ7.cjs +0 -2
- package/dist/InputAdornment-DYqMrYJz.cjs +0 -1
- package/dist/InputBase-BeZ70Fbf.cjs +0 -3
- package/dist/InputBase-DNkF-TAp.js +0 -794
- package/dist/Stack-BOcvai-O.cjs +0 -1
- package/dist/Tabs-CG428TT3.cjs +0 -4
- package/dist/Tabs-CWujD0SK.js +0 -1091
- package/dist/TextField-DDmGQyEr.js +0 -5800
- package/dist/TextField-wYRnAj1v.cjs +0 -12
- package/dist/Tooltip-O30xWGZU.cjs +0 -95
- package/dist/TransitionGroupContext-BkoHK5Kx.js +0 -14
- package/dist/TransitionGroupContext-mYDSzffd.cjs +0 -1
- package/dist/Typography-B2XMXu83.js +0 -178
- package/dist/Typography-DR_aF9lJ.cjs +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +0 -41
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
- package/dist/components/PaperHeader/index.cjs.js +0 -1
- package/dist/components/PaperHeader/index.d.ts +0 -2
- package/dist/components/PaperHeader/index.es.js +0 -4
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +0 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +0 -9
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +0 -8
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +0 -9
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +0 -143
- package/dist/components/buttons/DefaultButton/index.cjs.js +0 -1
- package/dist/components/buttons/DefaultButton/index.d.ts +0 -2
- package/dist/components/buttons/DefaultButton/index.es.js +0 -4
- package/dist/components/buttons/IconButton.stories.cjs.js +0 -1
- package/dist/components/buttons/IconButton.stories.es.js +0 -28
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +0 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +0 -6
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +0 -13
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +0 -25
- package/dist/components/buttons/PrimaryButton/index.cjs.js +0 -1
- package/dist/components/buttons/PrimaryButton/index.d.ts +0 -2
- package/dist/components/buttons/PrimaryButton/index.es.js +0 -4
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +0 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +0 -6
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +0 -6
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +0 -25
- package/dist/components/buttons/SecondaryButton/index.cjs.js +0 -1
- package/dist/components/buttons/SecondaryButton/index.d.ts +0 -2
- package/dist/components/buttons/SecondaryButton/index.es.js +0 -4
- package/dist/components/buttons/index.cjs.js +0 -1
- package/dist/components/buttons/index.d.ts +0 -3
- package/dist/components/buttons/index.es.js +0 -8
- package/dist/components/feedback/Alert/Alert.cjs.js +0 -1
- package/dist/components/feedback/Alert/Alert.stories.cjs.js +0 -1
- package/dist/components/feedback/QueryError/QueryError.cjs.js +0 -1
- package/dist/components/feedback/QueryError/QueryError.es.js +0 -19
- package/dist/components/feedback/index.cjs.js +0 -1
- package/dist/components/feedback/index.d.ts +0 -2
- package/dist/components/feedback/index.es.js +0 -6
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +0 -16
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +0 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +0 -1
- package/dist/components/inputs/TextInput/TextInput.cjs.js +0 -1
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +0 -1
- package/dist/components/inputs/index.cjs.js +0 -1
- package/dist/components/inputs/index.d.ts +0 -3
- package/dist/components/inputs/index.es.js +0 -8
- package/dist/components/lists/FileList/FileList.cjs.js +0 -1
- package/dist/components/lists/FileList/FileList.stories.cjs.js +0 -1
- package/dist/components/lists/FileList/FileListItem.cjs.js +0 -1
- package/dist/components/lists/FileList/FileListItem.d.ts +0 -14
- package/dist/components/lists/FileList/FileListItem.es.js +0 -42
- package/dist/components/lists/TabList.stories.cjs.js +0 -1
- package/dist/components/lists/index.cjs.js +0 -1
- package/dist/components/lists/index.d.ts +0 -1
- package/dist/components/lists/index.es.js +0 -6
- package/dist/components/pickers/DatePicker/DatePicker.cjs.js +0 -1
- package/dist/components/pickers/DatePicker/DatePicker.es.js +0 -6
- package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +0 -1
- package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +0 -16
- package/dist/components/pickers/DatePicker/index.cjs.js +0 -1
- package/dist/components/pickers/DatePicker/index.es.js +0 -4
- package/dist/components/pickers/index.d.ts +0 -1
- package/dist/components/pickers/index.es.js +0 -4
- package/dist/createStyled-CzVedz8V.js +0 -142
- package/dist/createStyled-LobpFGWo.cjs +0 -1
- package/dist/createSvgIcon-B8vHI3I6.js +0 -183
- package/dist/createSvgIcon-BGm-SWUB.cjs +0 -1
- package/dist/createSvgIcon-CKlvKClV.cjs +0 -2
- package/dist/createSvgIcon-DjuUwmEp.js +0 -75
- package/dist/identifier-4KVhx666.cjs +0 -50
- package/dist/identifier-D-ng7Qqa.js +0 -3047
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/refType-BhXrhWFB.cjs +0 -1
- package/dist/refType-COGEdfch.js +0 -29
- package/dist/styled-ZF_yhfMW.cjs +0 -17
- package/dist/styled-xiAudcD_.js +0 -533
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-DKpcyPsg.cjs +0 -3
- package/dist/useControlled-DoRrpN8o.js +0 -48
- package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
- package/dist/useForkRef-DwN_Iz9R.js +0 -17
- package/dist/useId-BW-oWmul.js +0 -19
- package/dist/useId-Cw0TtD-8.cjs +0 -1
- package/dist/useIsFocusVisible-Bv_7uvif.cjs +0 -1
- package/dist/useIsFocusVisible-DhASXQ4o.js +0 -69
- package/dist/useTheme-B5RCz7rY.cjs +0 -1
- package/dist/useTheme-iNHILPzK.js +0 -99
- package/dist/useTheme-kqsjFBnC.cjs +0 -1
- package/dist/useThemeProps-B-Oq4Y2j.cjs +0 -1
- package/dist/useThemeProps-BHAsCmc4.cjs +0 -1
- package/dist/useThemeProps-BVvSbkPP.js +0 -17
- package/dist/useTimeout-BdvDipeg.js +0 -47
- package/dist/useTimeout-XUWYBnl6.cjs +0 -1
- package/dist/vite-env.d.cjs.js +0 -1
- package/dist/vite-env.d.es.js +0 -1
- /package/dist/components/{feedback/Alert → Alert}/Alert.es.js +0 -0
- /package/dist/components/{feedback/Alert → Alert}/index.cjs.js +0 -0
- /package/dist/components/{feedback/Alert → Alert}/index.d.ts +0 -0
- /package/dist/components/{feedback/Alert → Alert}/index.es.js +0 -0
- /package/dist/components/{pickers/DatePicker → DatePicker}/index.d.ts +0 -0
- /package/dist/components/{lists/FileList → FileList}/index.cjs.js +0 -0
- /package/dist/components/{lists/FileList → FileList}/index.d.ts +0 -0
- /package/dist/components/{lists/FileList → FileList}/index.es.js +0 -0
- /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.cjs.js +0 -0
- /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.d.ts +0 -0
- /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.es.js +0 -0
- /package/dist/components/{feedback/QueryError → QueryError}/helpers.cjs.js +0 -0
- /package/dist/components/{feedback/QueryError → QueryError}/helpers.es.js +0 -0
- /package/dist/components/{feedback/QueryError → QueryError}/index.cjs.js +0 -0
- /package/dist/components/{feedback/QueryError → QueryError}/index.d.ts +0 -0
- /package/dist/components/{feedback/QueryError → QueryError}/index.es.js +0 -0
- /package/dist/components/{inputs/SearchInput → SearchInput}/index.cjs.js +0 -0
- /package/dist/components/{inputs/SearchInput → SearchInput}/index.d.ts +0 -0
- /package/dist/components/{inputs/SearchInput → SearchInput}/index.es.js +0 -0
- /package/dist/components/{inputs/TextInput → TextInput}/index.cjs.js +0 -0
- /package/dist/components/{inputs/TextInput → TextInput}/index.d.ts +0 -0
- /package/dist/components/{inputs/TextInput → TextInput}/index.es.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),o=require("./Dropzone.cjs.js"),r={title:"Components/Dropzone",component:o,argTypes:{}},s=e=>n.jsx(o,{...e}),t=s.bind({});t.args={information:"SVG, PNG, JPG or GIF (max. 3MB)",onDrop:e=>alert("dropped")};exports.Default=t;exports.default=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import t from "./Dropzone.es.js";
|
|
3
3
|
const a = {
|
|
4
|
-
title: "Components/
|
|
4
|
+
title: "Components/Dropzone",
|
|
5
5
|
component: t,
|
|
6
6
|
argTypes: {
|
|
7
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-656bqKiW.cjs"),i=require("../../Typography-CreZW2v6.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StackProps } from '@mui/material/Stack';
|
|
2
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
3
|
+
export type EmptyStateProps = {
|
|
4
|
+
svgName: string;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
descriptionProps?: TypographyProps;
|
|
8
|
+
svgProps?: React.SVGAttributes<SVGSVGElement>;
|
|
9
|
+
titleProps?: TypographyProps;
|
|
10
|
+
} & StackProps;
|
|
11
|
+
declare const EmptyState: React.FunctionComponent<EmptyStateProps>;
|
|
12
|
+
export default EmptyState;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
|
|
3
|
+
import { S as p } from "../../Stack-CutIWKkG.js";
|
|
4
|
+
import { T as i } from "../../Typography-DsJC595c.js";
|
|
5
|
+
const y = ({
|
|
6
|
+
svgName: o,
|
|
7
|
+
title: n,
|
|
8
|
+
description: r,
|
|
9
|
+
descriptionProps: m,
|
|
10
|
+
svgProps: a,
|
|
11
|
+
titleProps: l,
|
|
12
|
+
...s
|
|
13
|
+
}) => {
|
|
14
|
+
const { Svg: e } = h(o);
|
|
15
|
+
return e ? /* @__PURE__ */ c(p, { direction: "column", alignItems: "center", margin: "auto", ...s, children: [
|
|
16
|
+
/* @__PURE__ */ t("div", { style: { width: 200, maxHeight: 200 }, children: /* @__PURE__ */ t(
|
|
17
|
+
e,
|
|
18
|
+
{
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
preserveAspectRatio: "xMinYMin slice",
|
|
22
|
+
...a
|
|
23
|
+
}
|
|
24
|
+
) }),
|
|
25
|
+
/* @__PURE__ */ t(i, { variant: "h2", fontWeight: 500, mt: 3, ...l, children: n }),
|
|
26
|
+
r ? /* @__PURE__ */ t(i, { color: "grey", mt: 2, ...m, children: r }) : null
|
|
27
|
+
] }) : null;
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
y as default
|
|
31
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),e=require("./EmptyState.cjs.js"),n={title:"Components/EmptyState",component:e,argTypes:{}},o=s=>r.jsx(e,{...s}),t=o.bind({});t.args={svgName:"client-error",title:"Une erreur est survenue"};exports.Default=t;exports.default=n;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import t from "./EmptyState.es.js";
|
|
3
|
+
const a = {
|
|
4
|
+
title: "Components/EmptyState",
|
|
5
|
+
component: t,
|
|
6
|
+
argTypes: {
|
|
7
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
8
|
+
}
|
|
9
|
+
}, o = (e) => /* @__PURE__ */ r(t, { ...e }), s = o.bind({});
|
|
10
|
+
s.args = {
|
|
11
|
+
svgName: "client-error",
|
|
12
|
+
title: "Une erreur est survenue"
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
s as Default,
|
|
16
|
+
a as default
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./EmptyState.cjs.js");exports.EmptyState=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-D61CmHcZ.cjs"),n=({files:r=[]})=>i.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:r.map((s,e)=>i.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import m from "./FileListItem.es.js";
|
|
4
|
-
import { B as e } from "
|
|
4
|
+
import { B as e } from "../../Box-a6v7fn61.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
files: i = []
|
|
7
7
|
}) => /* @__PURE__ */ r(e, { sx: { display: "flex", flexDirection: "column", rowGap: "0.5rem" }, children: i.map((t, o) => /* @__PURE__ */ r(
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),t=require("./FileList.cjs.js"),l={title:"Components/FileList",component:t,argTypes:{}},n=e=>i.jsx(t,{...e}),s=n.bind({});s.args={files:[{name:"sample.csv",size:500,uploading:!1},{name:"components_lists_filelist.png",size:1780,uploading:!0}],onDelete:e=>alert("delete")};exports.Default=s;exports.default=l;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import t from "./FileList.es.js";
|
|
3
|
-
const
|
|
4
|
-
title: "Components/
|
|
3
|
+
const a = {
|
|
4
|
+
title: "Components/FileList",
|
|
5
5
|
component: t,
|
|
6
6
|
argTypes: {
|
|
7
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
@@ -24,5 +24,5 @@ l.args = {
|
|
|
24
24
|
};
|
|
25
25
|
export {
|
|
26
26
|
l as Default,
|
|
27
|
-
|
|
27
|
+
a as default
|
|
28
28
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),o=require("../../createSvgIcon-PXjVOXDY.cjs"),a=require("../../Stack-656bqKiW.cjs"),h=require("../../Box-D61CmHcZ.cjs"),t=require("../../Typography-CreZW2v6.cjs"),x=require("../../IconButton-DfmbM9nO.cjs"),l=require("../../CircularProgress-DDIZxeFH.cjs"),u=o.createSvgIcon(r.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),d=o.createSvgIcon(r.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),j=({file:e,uploading:s,onDelete:c})=>{const i=`${e.size} octets`,n=()=>c==null?void 0:c(e);return r.jsxs(a.Stack,{direction:"row",alignItems:"center",spacing:2,children:[r.jsx(d,{color:"primary"}),r.jsxs(h.Box,{sx:{width:"100%"},children:[r.jsx(t.Typography,{children:e.name}),r.jsx(t.Typography,{fontSize:"0.875rem",color:"grey",children:i})]}),r.jsx(x.IconButton,{onClick:n,disabled:s,children:s?r.jsx(l.CircularProgress,{size:24}):r.jsx(u,{})})]})};module.exports=j;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface File {
|
|
2
|
+
name: string;
|
|
3
|
+
size: number;
|
|
4
|
+
uploading?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface FileListItemProps<T extends File> {
|
|
7
|
+
file: T;
|
|
8
|
+
uploading?: boolean;
|
|
9
|
+
onDelete?: (file: T) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const FileListItem: <T extends File>({ file, uploading, onDelete, }: FileListItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default FileListItem;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../createSvgIcon-Ae1vF9Lv.js";
|
|
3
|
+
import { S as a } from "../../Stack-CutIWKkG.js";
|
|
4
|
+
import { B as l } from "../../Box-a6v7fn61.js";
|
|
5
|
+
import { T as s } from "../../Typography-DsJC595c.js";
|
|
6
|
+
import { I as h } from "../../IconButton-C7H_G1LX.js";
|
|
7
|
+
import { C as p } from "../../CircularProgress-DU3DJQfF.js";
|
|
8
|
+
const d = e(/* @__PURE__ */ r("path", {
|
|
9
|
+
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
10
|
+
}), "Delete"), z = e(/* @__PURE__ */ r("path", {
|
|
11
|
+
d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"
|
|
12
|
+
}), "InsertDriveFile"), u = ({
|
|
13
|
+
file: t,
|
|
14
|
+
uploading: c,
|
|
15
|
+
onDelete: o
|
|
16
|
+
}) => {
|
|
17
|
+
const m = `${t.size} octets`, n = () => o == null ? void 0 : o(t);
|
|
18
|
+
return /* @__PURE__ */ i(a, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
19
|
+
/* @__PURE__ */ r(z, { color: "primary" }),
|
|
20
|
+
/* @__PURE__ */ i(l, { sx: { width: "100%" }, children: [
|
|
21
|
+
/* @__PURE__ */ r(s, { children: t.name }),
|
|
22
|
+
/* @__PURE__ */ r(s, { fontSize: "0.875rem", color: "grey", children: m })
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ r(h, { onClick: n, disabled: c, children: c ? /* @__PURE__ */ r(p, { size: 24 }) : /* @__PURE__ */ r(d, {}) })
|
|
25
|
+
] });
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
u as default
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-656bqKiW.cjs"),j=require("../../Typography-CreZW2v6.cjs"),y=({title:u,IconComponent:g,iconColor:n,iconProps:h,iconSize:e=28,titleProps:a,...x})=>d.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[g?d.jsx(g,{sx:{fontSize:e,padding:"2px",borderRadius:1,color:n==null?void 0:n[500],backgroundColor:n==null?void 0:n[50]},...h}):null,d.jsx(j.Typography,{component:(a==null?void 0:a.component)??"h3",variant:(a==null?void 0:a.variant)??"h2",fontWeight:(a==null?void 0:a.fontWeight)??400,...a,children:u})]});module.exports=y;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { SvgIconComponent } from '@mui/icons-material';
|
|
2
2
|
import { Color, SvgIconProps } from '@mui/material';
|
|
3
|
+
import { StackProps } from '@mui/material/Stack';
|
|
3
4
|
import { TypographyProps } from '@mui/material/Typography';
|
|
4
|
-
|
|
5
|
-
export type PaperHeaderProps = {
|
|
5
|
+
export type HeadingProps = {
|
|
6
6
|
title: string;
|
|
7
7
|
IconComponent?: SvgIconComponent;
|
|
8
8
|
iconColor?: Color;
|
|
9
9
|
iconProps?: SvgIconProps;
|
|
10
10
|
iconSize?: number;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
titleProps?: TypographyProps;
|
|
12
|
+
} & StackProps;
|
|
13
|
+
declare const Heading: React.FunctionComponent<HeadingProps>;
|
|
14
|
+
export default Heading;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsxs as x, jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { S } from "../../Stack-CutIWKkG.js";
|
|
3
|
+
import { T as b } from "../../Typography-DsJC595c.js";
|
|
4
|
+
const y = ({
|
|
5
|
+
title: n,
|
|
6
|
+
IconComponent: g,
|
|
7
|
+
iconColor: d,
|
|
8
|
+
iconProps: f,
|
|
9
|
+
iconSize: h = 28,
|
|
10
|
+
titleProps: a,
|
|
11
|
+
...u
|
|
12
|
+
}) => /* @__PURE__ */ x(S, { direction: "row", alignItems: "center", gap: 1, ...u, children: [
|
|
13
|
+
g ? /* @__PURE__ */ m(
|
|
14
|
+
g,
|
|
15
|
+
{
|
|
16
|
+
sx: {
|
|
17
|
+
fontSize: h,
|
|
18
|
+
padding: "2px",
|
|
19
|
+
borderRadius: 1,
|
|
20
|
+
color: d == null ? void 0 : d[500],
|
|
21
|
+
backgroundColor: d == null ? void 0 : d[50]
|
|
22
|
+
},
|
|
23
|
+
...f
|
|
24
|
+
}
|
|
25
|
+
) : null,
|
|
26
|
+
/* @__PURE__ */ m(
|
|
27
|
+
b,
|
|
28
|
+
{
|
|
29
|
+
component: (a == null ? void 0 : a.component) ?? "h3",
|
|
30
|
+
variant: (a == null ? void 0 : a.variant) ?? "h2",
|
|
31
|
+
fontWeight: (a == null ? void 0 : a.fontWeight) ?? 400,
|
|
32
|
+
...a,
|
|
33
|
+
children: n
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
] });
|
|
37
|
+
export {
|
|
38
|
+
y as default
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),c=require("../../createSvgIcon-PXjVOXDY.cjs"),o=require("./Heading.cjs.js"),s=require("../../identifier-B_IiMbpZ.cjs"),i=c.createSvgIcon(e.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"}),"Mood"),r={title:"Components/Heading",component:o,argTypes:{}},a=n=>e.jsx(o,{...n}),t=a.bind({});t.args={title:"Heading",iconColor:s.red,IconComponent:i};exports.Default=t;exports.default=r;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "../../createSvgIcon-Ae1vF9Lv.js";
|
|
3
|
+
import t from "./Heading.es.js";
|
|
4
|
+
import { r as c } from "../../identifier-Bu3vgTzE.js";
|
|
5
|
+
const r = n(/* @__PURE__ */ o("path", {
|
|
6
|
+
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5m-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11m3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5"
|
|
7
|
+
}), "Mood"), f = {
|
|
8
|
+
title: "Components/Heading",
|
|
9
|
+
component: t,
|
|
10
|
+
argTypes: {
|
|
11
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
12
|
+
}
|
|
13
|
+
}, s = (e) => /* @__PURE__ */ o(t, { ...e }), m = s.bind({});
|
|
14
|
+
m.args = {
|
|
15
|
+
title: "Heading",
|
|
16
|
+
iconColor: c,
|
|
17
|
+
IconComponent: r
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
m as Default,
|
|
21
|
+
f as default
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Heading.cjs.js");exports.Heading=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),s=require("../createSvgIcon-PXjVOXDY.cjs"),t=require("../IconButton-DfmbM9nO.cjs"),o=s.createSvgIcon(e.jsx("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28M3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7s-.54.11-.7-.12c-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21m6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15m7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12M14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38"}),"Fingerprint"),r={title:"Components/IconButton",component:t.IconButton,argTypes:{}},i=n=>e.jsx(t.IconButton,{...n}),c=i.bind({});c.args={children:e.jsx(o,{}),onClick:()=>alert("Alert"),disabled:!1};exports.Default=c;exports.default=r;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../createSvgIcon-Ae1vF9Lv.js";
|
|
3
|
+
import { I as t } from "../IconButton-C7H_G1LX.js";
|
|
4
|
+
const n = o(/* @__PURE__ */ c("path", {
|
|
5
|
+
d: "M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28M3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7s-.54.11-.7-.12c-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21m6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15m7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12M14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38"
|
|
6
|
+
}), "Fingerprint"), p = {
|
|
7
|
+
title: "Components/IconButton",
|
|
8
|
+
component: t,
|
|
9
|
+
argTypes: {
|
|
10
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
11
|
+
}
|
|
12
|
+
}, e = (s) => /* @__PURE__ */ c(t, { ...s }), r = e.bind({});
|
|
13
|
+
r.args = {
|
|
14
|
+
children: /* @__PURE__ */ c(n, {}),
|
|
15
|
+
onClick: () => alert("Alert"),
|
|
16
|
+
disabled: !1
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
r as Default,
|
|
20
|
+
p as default
|
|
21
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/
|
|
1
|
+
"use strict";require('../../assets/styles2.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-D61CmHcZ.cjs"),s=({})=>e.jsx(r.Box,{className:"cs-loader",color:"primary.main",children:e.jsxs(r.Box,{className:"cs-loader-inner",children:[e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"})]})});module.exports=s;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/
|
|
3
|
-
import { B as l } from "../../Box-
|
|
2
|
+
import '../../assets/styles2.css';/* empty css */
|
|
3
|
+
import { B as l } from "../../Box-a6v7fn61.js";
|
|
4
4
|
const i = ({}) => /* @__PURE__ */ r(l, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(l, { className: "cs-loader-inner", children: [
|
|
5
5
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
6
6
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),e=require("./Loader.cjs.js"),n={title:"Components/Loader",component:e,argTypes:{}},r=o=>s.jsx(e,{...o}),t=r.bind({});t.args={};exports.Default=t;exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/
|
|
1
|
+
"use strict";require('../../assets/styles.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-ZCTs-Ws8.cjs"),c=require("../../Box-D61CmHcZ.cjs"),l=({})=>r.jsx(e.Backdrop,{open:!0,sx:{bgcolor:"background.default"},children:r.jsxs(c.Box,{className:"cs-loader-backdrop-inner",color:"primary.main",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import '../../assets/
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/styles.css';/* empty css */
|
|
3
|
+
import { B as e } from "../../Backdrop-CxHwPsCX.js";
|
|
4
|
+
import { B as l } from "../../Box-a6v7fn61.js";
|
|
5
|
+
const n = ({}) => /* @__PURE__ */ r(e, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ o(l, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
|
|
6
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
7
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
8
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
9
|
+
/* @__PURE__ */ r("label", { children: "●" })
|
|
8
10
|
] }) });
|
|
9
11
|
export {
|
|
10
|
-
|
|
12
|
+
n as default
|
|
11
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('../../assets/styles.css');require('../../assets/styles2.css');const e=require("react/jsx-runtime"),u=require("react"),l=require("../TextInput/TextInput.cjs.js");require("../Alert/Alert.cjs.js");require("../Button/Button.cjs.js");require("../../fr-BtINyNRC.cjs");;/* empty css */;/* empty css */require("../SearchInput/SearchInput.cjs.js");const a=require("../../InputAdornment-C-EbfNtT.cjs"),d=require("../../IconButton-DfmbM9nO.cjs"),r=require("../../createSvgIcon-PXjVOXDY.cjs"),p=r.createSvgIcon(e.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),q=r.createSvgIcon(e.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),w=s=>{const[n,o]=u.useState(!1),i=()=>o(t=>!t),c=t=>{t.preventDefault()};return e.jsx(l,{...s,variant:"outlined",label:s.label,type:n?"text":"password",InputProps:{endAdornment:e.jsx(a.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:i,onMouseDown:c,edge:"end",children:n?e.jsx(q,{}):e.jsx(p,{})})})}})};module.exports=w;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { InputTextProps } from '../TextInput';
|
|
3
|
-
|
|
4
3
|
export type PasswordInputProps = {} & Omit<InputTextProps, "variant" | "type">;
|
|
5
4
|
declare const PasswordInput: React.FunctionComponent<PasswordInputProps>;
|
|
6
5
|
export default PasswordInput;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as a } from "react";
|
|
3
3
|
import c from "../TextInput/TextInput.es.js";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
4
|
+
import "../Alert/Alert.es.js";
|
|
5
|
+
import "../Button/Button.es.js";
|
|
6
|
+
import "../../fr-B0c4Eu-I.js";
|
|
7
|
+
import '../../assets/styles.css';import '../../assets/styles2.css';/* empty css */
|
|
8
|
+
/* empty css */
|
|
6
9
|
import "../SearchInput/SearchInput.es.js";
|
|
7
|
-
import "../../
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
import "../../../fr-By4s91yO.js";
|
|
11
|
-
import { I as p } from "../../../InputAdornment-hNrnvXW9.js";
|
|
12
|
-
import { I as m } from "../../../IconButton-D_deQOvN.js";
|
|
13
|
-
import { c as r } from "../../../createSvgIcon-B8vHI3I6.js";
|
|
10
|
+
import { I as p } from "../../InputAdornment-CPJFY_m_.js";
|
|
11
|
+
import { I as m } from "../../IconButton-C7H_G1LX.js";
|
|
12
|
+
import { c as r } from "../../createSvgIcon-Ae1vF9Lv.js";
|
|
14
13
|
const d = r(/* @__PURE__ */ o("path", {
|
|
15
14
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
16
15
|
}), "Visibility"), f = r(/* @__PURE__ */ o("path", {
|
|
17
16
|
d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
|
|
18
|
-
}), "VisibilityOff"),
|
|
17
|
+
}), "VisibilityOff"), S = (i) => {
|
|
19
18
|
const [s, e] = a(!1), n = () => e((t) => !t), l = (t) => {
|
|
20
19
|
t.preventDefault();
|
|
21
20
|
};
|
|
@@ -42,5 +41,5 @@ const d = r(/* @__PURE__ */ o("path", {
|
|
|
42
41
|
);
|
|
43
42
|
};
|
|
44
43
|
export {
|
|
45
|
-
|
|
44
|
+
S as default
|
|
46
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("./PasswordInput.cjs.js"),n={title:"Components/
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("./PasswordInput.cjs.js"),n={title:"Components/PasswordInput",component:e,argTypes:{}},r=s=>o.jsx(e,{...s}),t=r.bind({});t.args={label:"Password"};exports.Default=t;exports.default=n;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import o from "./PasswordInput.es.js";
|
|
3
|
+
const p = {
|
|
4
|
+
title: "Components/PasswordInput",
|
|
5
|
+
component: o,
|
|
6
|
+
argTypes: {
|
|
7
|
+
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
8
|
+
}
|
|
9
|
+
}, e = (s) => /* @__PURE__ */ t(o, { ...s }), r = e.bind({});
|
|
10
|
+
r.args = {
|
|
11
|
+
label: "Password"
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
r as Default,
|
|
15
|
+
p as default
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),e=require("../EmptyState/EmptyState.cjs.js"),i=require("./helpers.cjs.js"),n=({error:t,statusPrefix:u="Erreur "})=>{if(i.isFetchBaseQueryError(t)){const r="error"in t?t.error:t.data?JSON.stringify(t.data):null;return typeof t.status=="number"&&t.status.toString().startsWith("4")?s.jsx(e,{svgName:"client-error",title:`Erreur client (${t.status})`,description:r??void 0}):typeof t.status=="number"&&t.status.toString().startsWith("5")?s.jsx(e,{svgName:"server-error",title:`Erreur serveur (${t.status})`,description:r??void 0}):s.jsx(e,{svgName:"error",title:`${u}${t.status}`,description:r??void 0})}return s.jsx(e,{svgName:"error",title:i.isErrorWithMessage(t)?t.message:"Une erreur est survenue"})};module.exports=n;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import e from "../EmptyState/EmptyState.es.js";
|
|
3
|
+
import { isFetchBaseQueryError as u, isErrorWithMessage as a } from "./helpers.es.js";
|
|
4
|
+
const f = ({
|
|
5
|
+
error: t,
|
|
6
|
+
statusPrefix: i = "Erreur "
|
|
7
|
+
}) => {
|
|
8
|
+
if (u(t)) {
|
|
9
|
+
const r = "error" in t ? t.error : t.data ? JSON.stringify(t.data) : null;
|
|
10
|
+
return typeof t.status == "number" && t.status.toString().startsWith("4") ? /* @__PURE__ */ s(
|
|
11
|
+
e,
|
|
12
|
+
{
|
|
13
|
+
svgName: "client-error",
|
|
14
|
+
title: `Erreur client (${t.status})`,
|
|
15
|
+
description: r ?? void 0
|
|
16
|
+
}
|
|
17
|
+
) : typeof t.status == "number" && t.status.toString().startsWith("5") ? /* @__PURE__ */ s(
|
|
18
|
+
e,
|
|
19
|
+
{
|
|
20
|
+
svgName: "server-error",
|
|
21
|
+
title: `Erreur serveur (${t.status})`,
|
|
22
|
+
description: r ?? void 0
|
|
23
|
+
}
|
|
24
|
+
) : /* @__PURE__ */ s(
|
|
25
|
+
e,
|
|
26
|
+
{
|
|
27
|
+
svgName: "error",
|
|
28
|
+
title: `${i}${t.status}`,
|
|
29
|
+
description: r ?? void 0
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ s(
|
|
34
|
+
e,
|
|
35
|
+
{
|
|
36
|
+
svgName: "error",
|
|
37
|
+
title: a(t) ? t.message : "Une erreur est survenue"
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
f as default
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),n=require("../../DefaultPropsProvider-eEVEiLDf.cjs"),o=require("../../InputBase-CPtGhJye.cjs"),s=require("../../InputAdornment-C-EbfNtT.cjs"),u=require("../../createSvgIcon-PXjVOXDY.cjs"),a=u.createSvgIcon(t.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),c=n.styled(o.InputBase)(({theme:e})=>({width:"auto",padding:"0px 12px",backgroundColor:e.palette.grey[50],borderRadius:30,"& .MuiInputBase-input":{padding:"8px 0px"},"&:hover, &.Mui-focused":{"& .MuiInputAdornment-root":{color:e.palette.primary.main}}})),p=({placeholder:e="Rechercher",...r})=>t.jsx(c,{...r,placeholder:e,startAdornment:t.jsx(s.InputAdornment,{position:"start",disablePointerEvents:!0,children:t.jsx(a,{})}),type:"search",autoComplete:"off",autoCorrect:"off",spellCheck:!1});module.exports=p;
|