@cgi-learning-hub/ui 1.3.2 → 1.3.3-dev.1732123246
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-DorR8O-b.js +359 -0
- package/dist/Backdrop-cE8nccLi.cjs +1 -0
- package/dist/{Box-a6v7fn61.js → Box-BTNw-FYi.js} +8 -8
- package/dist/{Box-D61CmHcZ.cjs → Box-Y_dUbq3W.cjs} +1 -1
- package/dist/{Button-B8Vr_qVd.js → Button--paERYBc.js} +4 -4
- package/dist/{Button-elp97nQ8.cjs → Button-TBA8S65S.cjs} +1 -1
- package/dist/{ButtonBase-Y5TK5SRu.js → ButtonBase-B0gJT_ti.js} +228 -236
- package/dist/ButtonBase-DKxpvXo7.cjs +74 -0
- package/dist/Card-BVJgnURR.js +74 -0
- package/dist/Card-DBGYwd3H.cjs +1 -0
- package/dist/Checkbox-OTMaikud.cjs +1 -0
- package/dist/Checkbox-aBoDjdQG.js +241 -0
- package/dist/{CircularProgress-DU3DJQfF.js → CircularProgress-CIqTwP6H.js} +4 -4
- package/dist/{CircularProgress-DDIZxeFH.cjs → CircularProgress-DjNvPtUm.cjs} +7 -7
- package/dist/DatePicker-DGRD-CdO.cjs +14 -0
- package/dist/DatePicker-DXgVCuAd.js +10814 -0
- package/dist/{DefaultPropsProvider-7QnSWHxy.js → DefaultPropsProvider-StV_SUuk.js} +25 -25
- package/dist/{DefaultPropsProvider-eEVEiLDf.cjs → DefaultPropsProvider-eVMpAUQg.cjs} +1 -1
- package/dist/DialogContent-C0L4r0-p.cjs +1 -0
- package/dist/DialogContent-CP2NOfUr.js +602 -0
- package/dist/DialogTitle-Couh2TzJ.js +134 -0
- package/dist/DialogTitle-DemSKN6H.cjs +1 -0
- package/dist/FormGroup-CcM69JIS.js +348 -0
- package/dist/FormGroup-KOLND6rE.cjs +1 -0
- package/dist/FormLabel-C506NT5o.cjs +2 -0
- package/dist/FormLabel-wDh-AEMQ.js +417 -0
- package/dist/Grow-4QU1bnXQ.js +193 -0
- package/dist/Grow-C_nN9VuE.cjs +1 -0
- package/dist/IconButton-5LMERRPL.cjs +2 -0
- package/dist/{IconButton-C7H_G1LX.js → IconButton-CsqR1453.js} +5 -5
- package/dist/InputAdornment-DgT008NI.cjs +1 -0
- package/dist/{InputAdornment-CPJFY_m_.js → InputAdornment-bXTpzNQ2.js} +5 -5
- package/dist/InputBase-Cpx39cny.cjs +3 -0
- package/dist/{InputBase-5GB2c2J6.js → InputBase-VKt_ajuq.js} +185 -207
- package/dist/Link-6UH3Aljp.cjs +1 -0
- package/dist/Link-CPyeYGpa.js +266 -0
- package/dist/MenuItem-BFkBwBkN.js +277 -0
- package/dist/MenuItem-BxXCEc8h.cjs +1 -0
- package/dist/Modal-BDx2_UzP.js +750 -0
- package/dist/Modal-BLMnkdGb.cjs +2 -0
- package/dist/Paper-CMUbp6SX.js +185 -0
- package/dist/Paper-n4KgM09K.cjs +2 -0
- package/dist/Popper-D_UryU8v.js +1407 -0
- package/dist/Popper-DzQZEFYT.cjs +4 -0
- package/dist/Portal-C4QgaMKl.cjs +1 -0
- package/dist/Portal-DVy9JFBN.js +86 -0
- package/dist/Select-CcnCBhBN.js +3555 -0
- package/dist/Select-CnFa2_je.cjs +9 -0
- package/dist/{Stack-CutIWKkG.js → Stack-CKjrTRJB.js} +12 -12
- package/dist/{Stack-656bqKiW.cjs → Stack-elRjtOGk.cjs} +1 -1
- package/dist/SwitchBase-DWfUIgEW.cjs +1 -0
- package/dist/SwitchBase-DYa1wGSu.js +261 -0
- package/dist/{Tooltip-DqLAZimE.js → TableSortLabel-Czgy_sW5.js} +2998 -5191
- package/dist/TableSortLabel-Ppl9Q-SZ.cjs +98 -0
- package/dist/Tabs-CUpcnsPl.cjs +4 -0
- package/dist/{Tabs-CKic46Op.js → Tabs-RxcUgknI.js} +284 -282
- package/dist/TextField-DorMAtUh.js +547 -0
- package/dist/TextField-DvGLmvG1.cjs +1 -0
- package/dist/Tooltip-B4e9QdHI.js +697 -0
- package/dist/Tooltip-CPAH20AZ.cjs +4 -0
- package/dist/{Typography-DsJC595c.js → Typography-B29dnCv3.js} +4 -4
- package/dist/{Typography-CreZW2v6.cjs → Typography-DyMSnhvs.cjs} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
- package/dist/chainPropTypes-D9lkm76m.js +8 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +6 -6
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +6 -6
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +2 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +280 -269
- package/dist/components/stories/Alert.stories.cjs.js +1 -0
- package/dist/components/stories/Alert.stories.d.ts +9 -0
- package/dist/components/stories/Alert.stories.es.js +32 -0
- package/dist/components/stories/Button.stories.cjs.js +1 -0
- package/dist/components/stories/Button.stories.d.ts +8 -0
- package/dist/components/stories/Button.stories.es.js +43 -0
- package/dist/components/stories/Card.stories.cjs.js +1 -0
- package/dist/components/stories/Card.stories.d.ts +7 -0
- package/dist/components/stories/Card.stories.es.js +193 -0
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -0
- package/dist/components/stories/Checkbox.stories.d.ts +10 -0
- package/dist/components/stories/Checkbox.stories.es.js +28 -0
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -0
- package/dist/components/stories/DatePicker.stories.d.ts +6 -0
- package/dist/components/stories/DatePicker.stories.es.js +13 -0
- package/dist/components/stories/Dialog.stories.cjs.js +1 -0
- package/dist/components/stories/Dialog.stories.d.ts +7 -0
- package/dist/components/stories/Dialog.stories.es.js +33 -0
- package/dist/components/stories/Dropzone.stories.cjs.js +1 -0
- package/dist/components/stories/Dropzone.stories.d.ts +6 -0
- package/dist/components/stories/Dropzone.stories.es.js +14 -0
- package/dist/components/stories/EmptyState.stories.cjs.js +1 -0
- package/dist/components/stories/EmptyState.stories.d.ts +6 -0
- package/dist/components/stories/EmptyState.stories.es.js +14 -0
- package/dist/components/stories/FileList.stories.cjs.js +1 -0
- package/dist/components/stories/FileList.stories.d.ts +6 -0
- package/dist/components/stories/FileList.stories.es.js +26 -0
- package/dist/components/stories/Heading.stories.cjs.js +1 -0
- package/dist/components/stories/Heading.stories.d.ts +6 -0
- package/dist/components/stories/Heading.stories.es.js +20 -0
- package/dist/components/stories/IconButton.stories.cjs.js +1 -0
- package/dist/components/stories/IconButton.stories.d.ts +6 -0
- package/dist/components/{IconButton.stories.es.js → stories/IconButton.stories.es.js} +12 -14
- package/dist/components/stories/Link.stories.cjs.js +1 -0
- package/dist/components/stories/Link.stories.d.ts +7 -0
- package/dist/components/stories/Link.stories.es.js +43 -0
- package/dist/components/stories/Loader.stories.cjs.js +1 -0
- package/dist/components/stories/Loader.stories.d.ts +6 -0
- package/dist/components/stories/Loader.stories.es.js +11 -0
- package/dist/components/stories/LoaderBackdrop.stories.cjs.js +1 -0
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +6 -0
- package/dist/components/stories/LoaderBackdrop.stories.es.js +11 -0
- package/dist/components/stories/Paper.stories.cjs.js +1 -0
- package/dist/components/stories/Paper.stories.d.ts +7 -0
- package/dist/components/stories/Paper.stories.es.js +28 -0
- package/dist/components/stories/PasswordInput.stories.cjs.js +1 -0
- package/dist/components/stories/PasswordInput.stories.d.ts +6 -0
- package/dist/components/stories/PasswordInput.stories.es.js +13 -0
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -0
- package/dist/components/stories/RadioGroup.stories.d.ts +8 -0
- package/dist/components/stories/RadioGroup.stories.es.js +435 -0
- package/dist/components/stories/SearchInput.stories.cjs.js +1 -0
- package/dist/components/stories/SearchInput.stories.d.ts +6 -0
- package/dist/components/stories/SearchInput.stories.es.js +13 -0
- package/dist/components/stories/Select.stories.cjs.js +1 -0
- package/dist/components/stories/Select.stories.d.ts +10 -0
- package/dist/components/stories/Select.stories.es.js +52 -0
- package/dist/components/stories/TabList.stories.cjs.js +1 -0
- package/dist/components/stories/TabList.stories.d.ts +7 -0
- package/dist/components/{TabList.stories.es.js → stories/TabList.stories.es.js} +45 -52
- package/dist/components/stories/TextField.stories.cjs.js +1 -0
- package/dist/components/stories/TextField.stories.d.ts +10 -0
- package/dist/components/stories/TextField.stories.es.js +69 -0
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
- package/dist/components/stories/Tooltip.stories.d.ts +7 -0
- package/dist/components/stories/Tooltip.stories.es.js +46 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
- package/dist/{createSvgIcon-PXjVOXDY.cjs → createSvgIcon-DQqazotA.cjs} +1 -1
- package/dist/{createSvgIcon-Ae1vF9Lv.js → createSvgIcon-VByplk-r.js} +3 -3
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/debounce-DpCj7ugL.cjs +1 -0
- package/dist/elementTypeAcceptingRef-BPhL72td.js +23 -0
- package/dist/elementTypeAcceptingRef-DiSL8-Ea.cjs +1 -0
- package/dist/{extendSxProp-BzTGWWcy.js → extendSxProp-BYB-kybW.js} +1 -1
- package/dist/{extendSxProp-DLhbnNxc.cjs → extendSxProp-BZ8P8fbI.cjs} +1 -1
- package/dist/formControlState-DCkDUdfO.cjs +1 -0
- package/dist/formControlState-DdQP43Uo.js +21 -0
- package/dist/{fr-B0c4Eu-I.js → fr-B4aeA9th.js} +23 -23
- package/dist/{fr-BtINyNRC.cjs → fr-CSCQhSqi.cjs} +1 -1
- package/dist/{identifier-Bu3vgTzE.js → identifier-BewKgEhI.js} +487 -486
- package/dist/{identifier-B_IiMbpZ.cjs → identifier-DTh6b5Gz.cjs} +17 -17
- package/dist/{index-D4YvqRSh.js → index-BAjSgP8k.js} +3 -3
- package/dist/{index-BDy6VH40.cjs → index-B_acx8gh.cjs} +1 -1
- package/dist/{index-DNmEgr4X.js → index-_oi9ph20.js} +4 -4
- package/dist/index-oINGa1MV.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +280 -269
- package/dist/isFocusVisible-CPZqtjv2.js +12 -0
- package/dist/isFocusVisible-DlSijby6.cjs +2 -0
- package/dist/{memoTheme-C4_nd-x4.js → memoTheme-B9kDhX1-.js} +1 -1
- package/dist/{memoTheme-DvW891YJ.cjs → memoTheme-DJBS0nbO.cjs} +1 -1
- package/dist/ownerDocument-4MViGo3k.cjs +1 -0
- package/dist/ownerDocument-CUrv0DIK.js +6 -0
- package/dist/ownerWindow-DDHucZi0.cjs +1 -0
- package/dist/ownerWindow-niciwP7I.js +7 -0
- package/dist/refType-3o3c-kYx.js +7 -0
- package/dist/refType-DNB-r0Bp.cjs +1 -0
- package/dist/{useTheme-B_3HWqyi.js → resolveComponentProps-BQQ-uUKZ.js} +18 -26
- package/dist/resolveComponentProps-R_l8gy3y.cjs +1 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useControlled-Ysk4KqoX.cjs +3 -0
- package/dist/useForkRef-CTI33h-3.cjs +1 -0
- package/dist/useForkRef-C_4o__cU.js +15 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useFormControl-haP0iPhl.cjs +1 -0
- package/dist/useSlot-B2hCpx8C.js +50 -0
- package/dist/useSlot-i7AZwCRV.cjs +1 -0
- package/dist/useTheme-0u9_WhjM.js +11 -0
- package/dist/{useTheme-DhYab2-0.js → useTheme-BrFhq4dW.js} +1 -1
- package/dist/useTheme-DfN3sBzg.cjs +1 -0
- package/dist/{useTheme-vN32oV1t.cjs → useTheme-w4BoR6ol.cjs} +1 -1
- package/dist/{useThemeProps-5hp2m3Xl.cjs → useThemeProps-BoO3MMZc.cjs} +1 -1
- package/dist/{useThemeProps-D_gKWuk1.cjs → useThemeProps-CkGODfms.cjs} +1 -1
- package/dist/{useThemeProps-Bmkt_XOR.js → useThemeProps-CwWORfXn.js} +4 -4
- package/dist/{useThemeProps-DftpgVZ0.js → useThemeProps-cERu5xHk.js} +3 -3
- package/dist/{useTimeout-Bx22KOcH.js → useTimeout-Br8oWWYt.js} +4 -4
- package/dist/{useTimeout-gEG15bRo.cjs → useTimeout-DnTtyB2y.cjs} +1 -1
- package/dist/utils-CH0HZgJe.js +391 -0
- package/dist/utils-D2bhwE7x.cjs +1 -0
- package/package.json +1 -1
- package/dist/Backdrop-CxHwPsCX.js +0 -789
- package/dist/Backdrop-ZCTs-Ws8.cjs +0 -1
- package/dist/ButtonBase-S0mFlojL.cjs +0 -75
- package/dist/DatePicker-BigDV0IN.cjs +0 -17
- package/dist/DatePicker-ZdjLD9eR.js +0 -12779
- package/dist/IconButton-DfmbM9nO.cjs +0 -2
- package/dist/InputAdornment-C-EbfNtT.cjs +0 -1
- package/dist/InputBase-CPtGhJye.cjs +0 -3
- package/dist/Tabs-DzrxYlm-.cjs +0 -4
- package/dist/TextField-BLEvZwPH.cjs +0 -14
- package/dist/TextField-CGMPbx_J.js +0 -5686
- package/dist/Tooltip-BJefPCe7.cjs +0 -100
- package/dist/components/Alert/Alert.stories.cjs.js +0 -1
- package/dist/components/Alert/Alert.stories.d.ts +0 -4
- package/dist/components/Alert/Alert.stories.es.js +0 -17
- package/dist/components/Button/Button.stories.cjs.js +0 -1
- package/dist/components/Button/Button.stories.d.ts +0 -6
- package/dist/components/Button/Button.stories.es.js +0 -45
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +0 -1
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -4
- package/dist/components/DatePicker/DatePicker.stories.es.js +0 -16
- package/dist/components/Dropzone/Dropzone.stories.cjs.js +0 -1
- package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -4
- package/dist/components/Dropzone/Dropzone.stories.es.js +0 -17
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +0 -1
- package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -4
- package/dist/components/EmptyState/EmptyState.stories.es.js +0 -17
- package/dist/components/FileList/FileList.stories.cjs.js +0 -1
- package/dist/components/FileList/FileList.stories.d.ts +0 -4
- package/dist/components/FileList/FileList.stories.es.js +0 -28
- package/dist/components/Heading/Heading.stories.cjs.js +0 -1
- package/dist/components/Heading/Heading.stories.d.ts +0 -4
- package/dist/components/Heading/Heading.stories.es.js +0 -22
- package/dist/components/IconButton.stories.cjs.js +0 -1
- package/dist/components/IconButton.stories.d.ts +0 -4
- package/dist/components/Loader/Loader.stories.cjs.js +0 -1
- package/dist/components/Loader/Loader.stories.d.ts +0 -4
- package/dist/components/Loader/Loader.stories.es.js +0 -14
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -4
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.es.js +0 -14
- package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -4
- package/dist/components/PasswordInput/PasswordInput.stories.es.js +0 -16
- package/dist/components/SearchInput/SearchInput.stories.cjs.js +0 -1
- package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.stories.es.js +0 -16
- package/dist/components/TabList.stories.cjs.js +0 -1
- package/dist/components/TabList.stories.d.ts +0 -4
- package/dist/components/TextInput/TextInput.stories.cjs.js +0 -1
- package/dist/components/TextInput/TextInput.stories.d.ts +0 -7
- package/dist/components/TextInput/TextInput.stories.es.js +0 -43
- package/dist/index-Dl4BXU0b.cjs +0 -1
- package/dist/ownerWindow-BoRkeomM.js +0 -23
- package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
- package/dist/refType-DYRsy3ld.cjs +0 -1
- package/dist/refType-DvOnKTmB.js +0 -27
- package/dist/useForkRef-D-DyzOXj.js +0 -21
- package/dist/useForkRef-D81w5oMb.cjs +0 -1
- package/dist/useTheme-BvsnROiB.cjs +0 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../../createSvgIcon-VByplk-r.js";
|
|
3
|
+
import e from "../Button/Button.es.js";
|
|
4
|
+
const n = o(/* @__PURE__ */ t("path", {
|
|
5
|
+
d: "M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m-9-2V7H4v3H1v2h3v3h2v-3h3v-2zm9 4c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
|
|
6
|
+
}), "PersonAdd"), r = o(/* @__PURE__ */ t("path", {
|
|
7
|
+
d: "M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"
|
|
8
|
+
}), "Save"), l = {
|
|
9
|
+
title: "Components/Button",
|
|
10
|
+
component: e
|
|
11
|
+
}, i = {
|
|
12
|
+
args: {
|
|
13
|
+
children: "Enregistrer",
|
|
14
|
+
color: "primary",
|
|
15
|
+
disabled: !1,
|
|
16
|
+
startIcon: /* @__PURE__ */ t(r, {}),
|
|
17
|
+
variant: "contained",
|
|
18
|
+
onClick: () => alert("Alert")
|
|
19
|
+
}
|
|
20
|
+
}, d = {
|
|
21
|
+
args: {
|
|
22
|
+
children: "Ajouter un utilisateur",
|
|
23
|
+
color: "secondary",
|
|
24
|
+
disabled: !1,
|
|
25
|
+
startIcon: /* @__PURE__ */ t(n, {}),
|
|
26
|
+
variant: "outlined",
|
|
27
|
+
onClick: () => alert("Alert")
|
|
28
|
+
}
|
|
29
|
+
}, m = {
|
|
30
|
+
args: {
|
|
31
|
+
children: "Annuler",
|
|
32
|
+
color: "secondary",
|
|
33
|
+
disabled: !1,
|
|
34
|
+
variant: "text",
|
|
35
|
+
onClick: () => alert("Alert")
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
i as Contained,
|
|
40
|
+
d as Outlined,
|
|
41
|
+
m as Text,
|
|
42
|
+
l as default
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),T=require("../Button/Button.cjs.js"),g=require("../../Card-DBGYwd3H.cjs"),m=require("react"),e=require("../../identifier-DTh6b5Gz.cjs"),a=require("../../DefaultPropsProvider-eVMpAUQg.cjs"),p=require("../../Typography-DyMSnhvs.cjs");function P(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const y=P(m);function b(o){return e.generateUtilityClass("MuiCardActions",o)}e.generateUtilityClasses("MuiCardActions",["root","spacing"]);const v=o=>{const{classes:t,disableSpacing:s}=o,n={root:["root",!s&&"spacing"]};return a.composeClasses(n,b,t)},j=a.styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:s}=o;return[t.root,!s.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,variants:[{props:{disableSpacing:!1},style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),f=y.forwardRef(function(t,s){const n=a.useDefaultProps({props:t,name:"MuiCardActions"}),{disableSpacing:l=!1,className:c,...d}=n,i={...n,disableSpacing:l},u=v(i);return r.jsx(j,{className:e.clsx(u.root,c),ownerState:i,ref:s,...d})});process.env.NODE_ENV!=="production"&&(f.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});function x(o){return e.generateUtilityClass("MuiCardContent",o)}e.generateUtilityClasses("MuiCardContent",["root"]);const h=o=>{const{classes:t}=o,s={root:["root"]};return a.composeClasses(s,x,t)},S=a.styled("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(o,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),C=y.forwardRef(function(t,s){const n=a.useDefaultProps({props:t,name:"MuiCardContent"}),{className:l,component:c="div",...d}=n,i={...n,component:c},u=h(i);return r.jsx(S,{as:c,className:e.clsx(u.root,l),ownerState:i,ref:s,...d})});process.env.NODE_ENV!=="production"&&(C.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});const O=o=>r.jsxs(g.Card,{sx:{minWidth:275},...o,children:[r.jsxs(C,{children:[r.jsx(p.Typography,{gutterBottom:!0,sx:{color:"text.secondary",fontSize:14},children:"Word of the Day"}),r.jsx(p.Typography,{variant:"h5",component:"div",children:"be-nev-o-lent"}),r.jsx(p.Typography,{sx:{color:"text.secondary",mb:1.5},children:"adjective"}),r.jsxs(p.Typography,{variant:"body2",children:["well meaning and kindly.",r.jsx("br",{}),'"a benevolent smile"']})]}),r.jsx(f,{children:r.jsx(T,{variant:"text",size:"small",children:"Learn More"})})]}),M={title:"Components/Card",component:O,argTypes:{elevation:{control:"number"},square:{control:"boolean"},variant:{control:"select",options:["elevation","outlined"]}}},N={args:{elevation:1,square:!1,variant:"elevation"}};exports.Default=N;exports.default=M;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CardProps } from '@mui/material/Card';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const Card: (props: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof Card>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Card>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { jsx as n, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import S from "../Button/Button.es.js";
|
|
3
|
+
import { C as T } from "../../Card-BVJgnURR.js";
|
|
4
|
+
import * as u from "react";
|
|
5
|
+
import { J as f, I as C, L as y, P as o } from "../../identifier-BewKgEhI.js";
|
|
6
|
+
import { s as v, u as g, c as b } from "../../DefaultPropsProvider-StV_SUuk.js";
|
|
7
|
+
import { T as c } from "../../Typography-B29dnCv3.js";
|
|
8
|
+
function N(t) {
|
|
9
|
+
return C("MuiCardActions", t);
|
|
10
|
+
}
|
|
11
|
+
f("MuiCardActions", ["root", "spacing"]);
|
|
12
|
+
const j = (t) => {
|
|
13
|
+
const {
|
|
14
|
+
classes: e,
|
|
15
|
+
disableSpacing: s
|
|
16
|
+
} = t;
|
|
17
|
+
return b({
|
|
18
|
+
root: ["root", !s && "spacing"]
|
|
19
|
+
}, N, e);
|
|
20
|
+
}, M = v("div", {
|
|
21
|
+
name: "MuiCardActions",
|
|
22
|
+
slot: "Root",
|
|
23
|
+
overridesResolver: (t, e) => {
|
|
24
|
+
const {
|
|
25
|
+
ownerState: s
|
|
26
|
+
} = t;
|
|
27
|
+
return [e.root, !s.disableSpacing && e.spacing];
|
|
28
|
+
}
|
|
29
|
+
})({
|
|
30
|
+
display: "flex",
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
padding: 8,
|
|
33
|
+
variants: [{
|
|
34
|
+
props: {
|
|
35
|
+
disableSpacing: !1
|
|
36
|
+
},
|
|
37
|
+
style: {
|
|
38
|
+
"& > :not(style) ~ :not(style)": {
|
|
39
|
+
marginLeft: 8
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}]
|
|
43
|
+
}), h = /* @__PURE__ */ u.forwardRef(function(e, s) {
|
|
44
|
+
const r = g({
|
|
45
|
+
props: e,
|
|
46
|
+
name: "MuiCardActions"
|
|
47
|
+
}), {
|
|
48
|
+
disableSpacing: l = !1,
|
|
49
|
+
className: i,
|
|
50
|
+
...d
|
|
51
|
+
} = r, a = {
|
|
52
|
+
...r,
|
|
53
|
+
disableSpacing: l
|
|
54
|
+
}, p = j(a);
|
|
55
|
+
return /* @__PURE__ */ n(M, {
|
|
56
|
+
className: y(p.root, i),
|
|
57
|
+
ownerState: a,
|
|
58
|
+
ref: s,
|
|
59
|
+
...d
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
process.env.NODE_ENV !== "production" && (h.propTypes = {
|
|
63
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
64
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
65
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
66
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
67
|
+
/**
|
|
68
|
+
* The content of the component.
|
|
69
|
+
*/
|
|
70
|
+
children: o.node,
|
|
71
|
+
/**
|
|
72
|
+
* Override or extend the styles applied to the component.
|
|
73
|
+
*/
|
|
74
|
+
classes: o.object,
|
|
75
|
+
/**
|
|
76
|
+
* @ignore
|
|
77
|
+
*/
|
|
78
|
+
className: o.string,
|
|
79
|
+
/**
|
|
80
|
+
* If `true`, the actions do not have additional margin.
|
|
81
|
+
* @default false
|
|
82
|
+
*/
|
|
83
|
+
disableSpacing: o.bool,
|
|
84
|
+
/**
|
|
85
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
86
|
+
*/
|
|
87
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
88
|
+
});
|
|
89
|
+
function R(t) {
|
|
90
|
+
return C("MuiCardContent", t);
|
|
91
|
+
}
|
|
92
|
+
f("MuiCardContent", ["root"]);
|
|
93
|
+
const w = (t) => {
|
|
94
|
+
const {
|
|
95
|
+
classes: e
|
|
96
|
+
} = t;
|
|
97
|
+
return b({
|
|
98
|
+
root: ["root"]
|
|
99
|
+
}, R, e);
|
|
100
|
+
}, A = v("div", {
|
|
101
|
+
name: "MuiCardContent",
|
|
102
|
+
slot: "Root",
|
|
103
|
+
overridesResolver: (t, e) => e.root
|
|
104
|
+
})({
|
|
105
|
+
padding: 16,
|
|
106
|
+
"&:last-child": {
|
|
107
|
+
paddingBottom: 24
|
|
108
|
+
}
|
|
109
|
+
}), x = /* @__PURE__ */ u.forwardRef(function(e, s) {
|
|
110
|
+
const r = g({
|
|
111
|
+
props: e,
|
|
112
|
+
name: "MuiCardContent"
|
|
113
|
+
}), {
|
|
114
|
+
className: l,
|
|
115
|
+
component: i = "div",
|
|
116
|
+
...d
|
|
117
|
+
} = r, a = {
|
|
118
|
+
...r,
|
|
119
|
+
component: i
|
|
120
|
+
}, p = w(a);
|
|
121
|
+
return /* @__PURE__ */ n(A, {
|
|
122
|
+
as: i,
|
|
123
|
+
className: y(p.root, l),
|
|
124
|
+
ownerState: a,
|
|
125
|
+
ref: s,
|
|
126
|
+
...d
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
process.env.NODE_ENV !== "production" && (x.propTypes = {
|
|
130
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
131
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
132
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
133
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
134
|
+
/**
|
|
135
|
+
* The content of the component.
|
|
136
|
+
*/
|
|
137
|
+
children: o.node,
|
|
138
|
+
/**
|
|
139
|
+
* Override or extend the styles applied to the component.
|
|
140
|
+
*/
|
|
141
|
+
classes: o.object,
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
className: o.string,
|
|
146
|
+
/**
|
|
147
|
+
* The component used for the root node.
|
|
148
|
+
* Either a string to use a HTML element or a component.
|
|
149
|
+
*/
|
|
150
|
+
component: o.elementType,
|
|
151
|
+
/**
|
|
152
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
153
|
+
*/
|
|
154
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
155
|
+
});
|
|
156
|
+
const O = (t) => /* @__PURE__ */ m(T, { sx: { minWidth: 275 }, ...t, children: [
|
|
157
|
+
/* @__PURE__ */ m(x, { children: [
|
|
158
|
+
/* @__PURE__ */ n(c, { gutterBottom: !0, sx: { color: "text.secondary", fontSize: 14 }, children: "Word of the Day" }),
|
|
159
|
+
/* @__PURE__ */ n(c, { variant: "h5", component: "div", children: "be-nev-o-lent" }),
|
|
160
|
+
/* @__PURE__ */ n(c, { sx: { color: "text.secondary", mb: 1.5 }, children: "adjective" }),
|
|
161
|
+
/* @__PURE__ */ m(c, { variant: "body2", children: [
|
|
162
|
+
"well meaning and kindly.",
|
|
163
|
+
/* @__PURE__ */ n("br", {}),
|
|
164
|
+
'"a benevolent smile"'
|
|
165
|
+
] })
|
|
166
|
+
] }),
|
|
167
|
+
/* @__PURE__ */ n(h, { children: /* @__PURE__ */ n(S, { variant: "text", size: "small", children: "Learn More" }) })
|
|
168
|
+
] }), q = {
|
|
169
|
+
title: "Components/Card",
|
|
170
|
+
component: O,
|
|
171
|
+
argTypes: {
|
|
172
|
+
elevation: {
|
|
173
|
+
control: "number"
|
|
174
|
+
},
|
|
175
|
+
square: {
|
|
176
|
+
control: "boolean"
|
|
177
|
+
},
|
|
178
|
+
variant: {
|
|
179
|
+
control: "select",
|
|
180
|
+
options: ["elevation", "outlined"]
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}, z = {
|
|
184
|
+
args: {
|
|
185
|
+
elevation: 1,
|
|
186
|
+
square: !1,
|
|
187
|
+
variant: "elevation"
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
export {
|
|
191
|
+
z as Default,
|
|
192
|
+
q as default
|
|
193
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),s=require("../../Checkbox-OTMaikud.cjs"),c=e=>t.jsx(s.Checkbox,{...e}),o={title:"Components/Checkbox",component:c},r={args:{}},d={args:{checked:!0}},a={args:{disabled:!0}},u={args:{checked:!0,disabled:!0}};exports.Checked=d;exports.Default=r;exports.Disabled=a;exports.DisabledChecked=u;exports.default=o;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const Checkbox: (props: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof Checkbox>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Checkbox>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Checked: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const DisabledChecked: Story;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { C as o } from "../../Checkbox-aBoDjdQG.js";
|
|
3
|
+
const s = (e) => /* @__PURE__ */ t(o, { ...e }), a = {
|
|
4
|
+
title: "Components/Checkbox",
|
|
5
|
+
component: s
|
|
6
|
+
}, d = {
|
|
7
|
+
args: {}
|
|
8
|
+
}, n = {
|
|
9
|
+
args: {
|
|
10
|
+
checked: !0
|
|
11
|
+
}
|
|
12
|
+
}, b = {
|
|
13
|
+
args: {
|
|
14
|
+
disabled: !0
|
|
15
|
+
}
|
|
16
|
+
}, h = {
|
|
17
|
+
args: {
|
|
18
|
+
checked: !0,
|
|
19
|
+
disabled: !0
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
n as Checked,
|
|
24
|
+
d as Default,
|
|
25
|
+
b as Disabled,
|
|
26
|
+
h as DisabledChecked,
|
|
27
|
+
a as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DatePicker-DGRD-CdO.cjs"),t={title:"Components/DatePicker",component:e.DatePicker},a={args:{adapterLocale:"fr"}};exports.Default=a;exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),u=require("react"),t=require("../Button/Button.cjs.js"),i=require("../../DialogContent-C0L4r0-p.cjs"),l=require("../../DialogTitle-DemSKN6H.cjs"),c=a=>{const[s,o]=u.useState(!1),r=()=>o(!0),n=()=>o(!1);return e.jsxs(e.Fragment,{children:[e.jsx(t,{variant:"outlined",onClick:r,children:"Open dialog"}),e.jsxs(i.Dialog,{...a,open:s,onClose:n,children:[e.jsx(l.DialogTitle,{children:"Dialog title"}),e.jsx(i.DialogContent,{children:e.jsxs(l.DialogContentText,{children:["Dialog content text",e.jsx("br",{}),e.jsx("br",{}),"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."]})}),e.jsxs(i.DialogActions,{children:[e.jsx(t,{variant:"text",onClick:n,children:"Cancel"}),e.jsx(t,{variant:"text",onClick:()=>!0,children:"Save"})]})]})]})},d={title:"Components/Dialog",component:c},m={args:{}};exports.Default=m;exports.default=d;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DialogProps } from '@mui/material/Dialog';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const Dialog: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof Dialog>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Dialog>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as t, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import i from "../Button/Button.es.js";
|
|
4
|
+
import { D as u, b as m, a as d } from "../../DialogContent-CP2NOfUr.js";
|
|
5
|
+
import { a as p, D as g } from "../../DialogTitle-Couh2TzJ.js";
|
|
6
|
+
const D = (a) => {
|
|
7
|
+
const [l, o] = c(!1), r = () => o(!0), n = () => o(!1);
|
|
8
|
+
return /* @__PURE__ */ t(s, { children: [
|
|
9
|
+
/* @__PURE__ */ e(i, { variant: "outlined", onClick: r, children: "Open dialog" }),
|
|
10
|
+
/* @__PURE__ */ t(u, { ...a, open: l, onClose: n, children: [
|
|
11
|
+
/* @__PURE__ */ e(p, { children: "Dialog title" }),
|
|
12
|
+
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ t(g, { children: [
|
|
13
|
+
"Dialog content text",
|
|
14
|
+
/* @__PURE__ */ e("br", {}),
|
|
15
|
+
/* @__PURE__ */ e("br", {}),
|
|
16
|
+
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
|
|
17
|
+
] }) }),
|
|
18
|
+
/* @__PURE__ */ t(d, { children: [
|
|
19
|
+
/* @__PURE__ */ e(i, { variant: "text", onClick: n, children: "Cancel" }),
|
|
20
|
+
/* @__PURE__ */ e(i, { variant: "text", onClick: () => !0, children: "Save" })
|
|
21
|
+
] })
|
|
22
|
+
] })
|
|
23
|
+
] });
|
|
24
|
+
}, b = {
|
|
25
|
+
title: "Components/Dialog",
|
|
26
|
+
component: D
|
|
27
|
+
}, q = {
|
|
28
|
+
args: {}
|
|
29
|
+
};
|
|
30
|
+
export {
|
|
31
|
+
q as Default,
|
|
32
|
+
b as default
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Dropzone/Dropzone.cjs.js"),o={title:"Components/Dropzone",component:e},t={args:{information:"SVG, PNG, JPG or GIF (max. 3MB)",onDrop:n=>alert("dropped")}};exports.Default=t;exports.default=o;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import o from "../Dropzone/Dropzone.es.js";
|
|
2
|
+
const n = {
|
|
3
|
+
title: "Components/Dropzone",
|
|
4
|
+
component: o
|
|
5
|
+
}, r = {
|
|
6
|
+
args: {
|
|
7
|
+
information: "SVG, PNG, JPG or GIF (max. 3MB)",
|
|
8
|
+
onDrop: (t) => alert("dropped")
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
r as Default,
|
|
13
|
+
n as default
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../EmptyState/EmptyState.cjs.js"),t={title:"Components/EmptyState",component:e},o={args:{svgName:"client-error",title:"Une erreur est survenue"}};exports.Default=o;exports.default=t;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import t from "../EmptyState/EmptyState.es.js";
|
|
2
|
+
const r = {
|
|
3
|
+
title: "Components/EmptyState",
|
|
4
|
+
component: t
|
|
5
|
+
}, o = {
|
|
6
|
+
args: {
|
|
7
|
+
svgName: "client-error",
|
|
8
|
+
title: "Une erreur est survenue"
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
o as Default,
|
|
13
|
+
r as default
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../FileList/FileList.cjs.js");require("react/jsx-runtime");const t={title:"Components/FileList",component:e},l={args:{files:[{name:"sample.csv",size:500,uploading:!1},{name:"components_lists_filelist.png",size:1780,uploading:!0}],onDelete:s=>alert("delete")}};exports.Default=l;exports.default=t;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import e from "../FileList/FileList.es.js";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
const i = {
|
|
4
|
+
title: "Components/FileList",
|
|
5
|
+
component: e
|
|
6
|
+
}, o = {
|
|
7
|
+
args: {
|
|
8
|
+
files: [
|
|
9
|
+
{
|
|
10
|
+
name: "sample.csv",
|
|
11
|
+
size: 500,
|
|
12
|
+
uploading: !1
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: "components_lists_filelist.png",
|
|
16
|
+
size: 1780,
|
|
17
|
+
uploading: !0
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
onDelete: (t) => alert("delete")
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
o as Default,
|
|
25
|
+
i as default
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-DQqazotA.cjs"),t=require("../Heading/Heading.cjs.js"),n=require("../../identifier-DTh6b5Gz.cjs"),c=o.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"),i={title:"Components/Heading",component:t},r={args:{title:"Heading",iconColor:n.red,IconComponent:c}};exports.Default=r;exports.default=i;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as t } from "../../createSvgIcon-VByplk-r.js";
|
|
3
|
+
import n from "../Heading/Heading.es.js";
|
|
4
|
+
import { r as c } from "../../identifier-BewKgEhI.js";
|
|
5
|
+
const e = t(/* @__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"), i = {
|
|
8
|
+
title: "Components/Heading",
|
|
9
|
+
component: n
|
|
10
|
+
}, p = {
|
|
11
|
+
args: {
|
|
12
|
+
title: "Heading",
|
|
13
|
+
iconColor: c,
|
|
14
|
+
IconComponent: e
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
p as Default,
|
|
19
|
+
i as default
|
|
20
|
+
};
|
|
@@ -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-DQqazotA.cjs"),t=require("../../IconButton-5LMERRPL.cjs"),n=c.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"),s={title:"Components/IconButton",component:t.IconButton},o={args:{children:e.jsx(n,{}),onClick:()=>alert("Alert"),disabled:!1}};exports.Default=o;exports.default=s;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as IconButton } from '@mui/material/IconButton';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const meta: Meta<typeof IconButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof IconButton>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { I as
|
|
4
|
-
const
|
|
2
|
+
import { c as t } from "../../createSvgIcon-VByplk-r.js";
|
|
3
|
+
import { I as o } from "../../IconButton-CsqR1453.js";
|
|
4
|
+
const s = t(/* @__PURE__ */ c("path", {
|
|
5
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"),
|
|
6
|
+
}), "Fingerprint"), a = {
|
|
7
7
|
title: "Components/IconButton",
|
|
8
|
-
component:
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
component: o
|
|
9
|
+
}, i = {
|
|
10
|
+
args: {
|
|
11
|
+
children: /* @__PURE__ */ c(s, {}),
|
|
12
|
+
onClick: () => alert("Alert"),
|
|
13
|
+
disabled: !1
|
|
11
14
|
}
|
|
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
15
|
};
|
|
18
16
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
i as Default,
|
|
18
|
+
a as default
|
|
21
19
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),r=require("../../Link-6UH3Aljp.cjs"),n=e=>t.jsx(r.Link,{...e}),o={title:"Components/Link",component:n,argTypes:{children:{control:"text"},color:{control:"select",options:["primary","secondary","error","info","success","warning","textPrimary","textSecondary","textDisabled"]},href:{control:"text"},underline:{control:"select",options:["always","hover","none"]}}},i={args:{children:"Link",color:"primary",href:"https://www.cgi.com/france/fr-fr/solution/cgi-learning-hub",underline:"always"}};exports.Default=i;exports.default=o;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LinkProps } from '@mui/material/Link';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof Link>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Link>;
|
|
7
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { L as e } from "../../Link-CPyeYGpa.js";
|
|
3
|
+
const n = (r) => /* @__PURE__ */ o(e, { ...r }), c = {
|
|
4
|
+
title: "Components/Link",
|
|
5
|
+
component: n,
|
|
6
|
+
argTypes: {
|
|
7
|
+
children: {
|
|
8
|
+
control: "text"
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
control: "select",
|
|
12
|
+
options: [
|
|
13
|
+
"primary",
|
|
14
|
+
"secondary",
|
|
15
|
+
"error",
|
|
16
|
+
"info",
|
|
17
|
+
"success",
|
|
18
|
+
"warning",
|
|
19
|
+
"textPrimary",
|
|
20
|
+
"textSecondary",
|
|
21
|
+
"textDisabled"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
href: {
|
|
25
|
+
control: "text"
|
|
26
|
+
},
|
|
27
|
+
underline: {
|
|
28
|
+
control: "select",
|
|
29
|
+
options: ["always", "hover", "none"]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, s = {
|
|
33
|
+
args: {
|
|
34
|
+
children: "Link",
|
|
35
|
+
color: "primary",
|
|
36
|
+
href: "https://www.cgi.com/france/fr-fr/solution/cgi-learning-hub",
|
|
37
|
+
underline: "always"
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
s as Default,
|
|
42
|
+
c as default
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Loader/Loader.cjs.js"),t={title:"Components/Loader",component:e},o={args:{}};exports.Default=o;exports.default=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../LoaderBackdrop/LoaderBackdrop.cjs.js"),o={title:"Components/LoaderBackdrop",component:e},t={args:{}};exports.Default=t;exports.default=o;
|