@cgi-learning-hub/ui 1.3.2 → 1.3.3-dev.1732021842
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-KAJqifAq.cjs +1 -0
- package/dist/{Backdrop-CxHwPsCX.js → Backdrop-RBPtVAPX.js} +220 -265
- package/dist/{Box-D61CmHcZ.cjs → Box-H49yQEt_.cjs} +1 -1
- package/dist/{Box-a6v7fn61.js → Box-UE-zctbJ.js} +3 -3
- package/dist/{Button-B8Vr_qVd.js → Button-Bjy0iPNm.js} +4 -4
- package/dist/{Button-elp97nQ8.cjs → Button-qc45QbX6.cjs} +1 -1
- package/dist/{ButtonBase-Y5TK5SRu.js → ButtonBase-CFD7NVUc.js} +21 -21
- package/dist/{ButtonBase-S0mFlojL.cjs → ButtonBase-UEHzzfUL.cjs} +1 -1
- package/dist/Checkbox-Ct5E_6h7.js +241 -0
- package/dist/Checkbox-CuYTY0gd.cjs +1 -0
- package/dist/{CircularProgress-DDIZxeFH.cjs → CircularProgress-BPHINMQw.cjs} +1 -1
- package/dist/{CircularProgress-DU3DJQfF.js → CircularProgress-By02Sdoh.js} +3 -3
- package/dist/{DatePicker-BigDV0IN.cjs → DatePicker-rhgpaD-r.cjs} +15 -15
- package/dist/{DatePicker-ZdjLD9eR.js → DatePicker-u4rtXGeo.js} +974 -962
- package/dist/{DefaultPropsProvider-eEVEiLDf.cjs → DefaultPropsProvider-BrX6iuA3.cjs} +1 -1
- package/dist/{DefaultPropsProvider-7QnSWHxy.js → DefaultPropsProvider-CaRoy5OV.js} +24 -24
- package/dist/FormGroup-BBYEQB4C.cjs +1 -0
- package/dist/FormGroup-BVtE8Mrv.js +348 -0
- package/dist/FormLabel-B4QlkhhB.js +424 -0
- package/dist/FormLabel-D8jYibc1.cjs +2 -0
- package/dist/{IconButton-C7H_G1LX.js → IconButton-Av8eJ5IG.js} +4 -4
- package/dist/{IconButton-DfmbM9nO.cjs → IconButton-CVyLtjcH.cjs} +1 -1
- package/dist/InputAdornment-BJfpEQAa.cjs +1 -0
- package/dist/{InputAdornment-CPJFY_m_.js → InputAdornment-COPtZlSD.js} +5 -5
- package/dist/{InputBase-5GB2c2J6.js → InputBase-Bbgoz8GV.js} +186 -210
- package/dist/InputBase-Ctmib7Br.cjs +3 -0
- package/dist/MenuItem-D7HWYhF3.js +277 -0
- package/dist/MenuItem-Els-vJZW.cjs +1 -0
- package/dist/{TextField-CGMPbx_J.js → Select-BlPQngVF.js} +1458 -2424
- package/dist/Select-ipcMZ4iK.cjs +11 -0
- package/dist/{Stack-656bqKiW.cjs → Stack-CEjx3KHM.cjs} +1 -1
- package/dist/{Stack-CutIWKkG.js → Stack-y1PjTHKX.js} +18 -18
- package/dist/SwitchBase-URM3X3YZ.cjs +1 -0
- package/dist/SwitchBase-yCuH0Tqk.js +261 -0
- package/dist/{Tabs-CKic46Op.js → Tabs-DK4Bc5xo.js} +10 -10
- package/dist/{Tabs-DzrxYlm-.cjs → Tabs-Nvk94RTW.cjs} +1 -1
- package/dist/TextField-BVAkADOb.cjs +1 -0
- package/dist/TextField-C-B529_r.js +547 -0
- package/dist/{Tooltip-DqLAZimE.js → Tooltip-DO9GIhWC.js} +1783 -2859
- package/dist/Tooltip-DvPL2M0E.cjs +100 -0
- package/dist/{Typography-CreZW2v6.cjs → Typography-5OodZ94T.cjs} +1 -1
- package/dist/{Typography-DsJC595c.js → Typography-C_ESP41L.js} +4 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +5 -5
- 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 +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/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 +267 -262
- 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/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/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/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/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 +434 -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} +43 -50
- 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/{createSvgIcon-Ae1vF9Lv.js → createSvgIcon-DxbvMQd7.js} +3 -3
- package/dist/{createSvgIcon-PXjVOXDY.cjs → createSvgIcon-GU7fqNnI.cjs} +1 -1
- package/dist/{extendSxProp-DLhbnNxc.cjs → extendSxProp-D11-pC6h.cjs} +1 -1
- package/dist/{extendSxProp-BzTGWWcy.js → extendSxProp-XQwkK0m7.js} +1 -1
- package/dist/formControlState-DCkDUdfO.cjs +1 -0
- package/dist/formControlState-DdQP43Uo.js +21 -0
- package/dist/{fr-B0c4Eu-I.js → fr-B8_MxRl5.js} +1 -1
- package/dist/{fr-BtINyNRC.cjs → fr-Nvp7C-vS.cjs} +1 -1
- package/dist/{identifier-B_IiMbpZ.cjs → identifier-BQH88SE0.cjs} +1 -1
- package/dist/{identifier-Bu3vgTzE.js → identifier-BqadgaK7.js} +5 -5
- package/dist/{index-DNmEgr4X.js → index-BUxqDIr9.js} +4 -4
- package/dist/{index-BDy6VH40.cjs → index-CNv8ppur.cjs} +1 -1
- package/dist/{index-D4YvqRSh.js → index-CRT92bm7.js} +2 -2
- package/dist/index-D7nFYLYq.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +267 -262
- package/dist/{memoTheme-DvW891YJ.cjs → memoTheme-B6o2KVgJ.cjs} +1 -1
- package/dist/{memoTheme-C4_nd-x4.js → memoTheme-DfGVDRrB.js} +1 -1
- package/dist/{refType-DvOnKTmB.js → refType-DlHf9HvO.js} +1 -1
- package/dist/{refType-DYRsy3ld.cjs → refType-Do7KaOvv.cjs} +1 -1
- package/dist/{useTheme-B_3HWqyi.js → resolveComponentProps-CxJ2yAJn.js} +18 -26
- package/dist/resolveComponentProps-DTv6xPbb.cjs +1 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useControlled-Ysk4KqoX.cjs +3 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useFormControl-haP0iPhl.cjs +1 -0
- package/dist/useSlot-42jgZftI.cjs +1 -0
- package/dist/useSlot-Co14PUn6.js +50 -0
- package/dist/useTheme-CtT7O-Wk.js +11 -0
- package/dist/{useTheme-vN32oV1t.cjs → useTheme-cVN-YQNB.cjs} +1 -1
- package/dist/{useTheme-DhYab2-0.js → useTheme-oM_SFWy4.js} +1 -1
- package/dist/useTheme-tZYpFplW.cjs +1 -0
- package/dist/{useThemeProps-Bmkt_XOR.js → useThemeProps-BlQ3SLfB.js} +4 -4
- package/dist/{useThemeProps-DftpgVZ0.js → useThemeProps-FiA8ivG-.js} +3 -3
- package/dist/{useThemeProps-D_gKWuk1.cjs → useThemeProps-HLq2mDKk.cjs} +1 -1
- package/dist/{useThemeProps-5hp2m3Xl.cjs → useThemeProps-r0DnR8FJ.cjs} +1 -1
- package/dist/{useTimeout-Bx22KOcH.js → useTimeout-D16vpBhn.js} +1 -1
- package/dist/{useTimeout-gEG15bRo.cjs → useTimeout-DWEGwfTA.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Backdrop-ZCTs-Ws8.cjs +0 -1
- package/dist/InputAdornment-C-EbfNtT.cjs +0 -1
- package/dist/InputBase-CPtGhJye.cjs +0 -3
- package/dist/TextField-BLEvZwPH.cjs +0 -14
- 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/useTheme-BvsnROiB.cjs +0 -1
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
import { jsx as t, jsxs as P } from "react/jsx-runtime";
|
|
2
|
+
import { e as J, F as K, a as Z } from "../../FormLabel-B4QlkhhB.js";
|
|
3
|
+
import * as l from "react";
|
|
4
|
+
import { P as e, J as j, I as B, L as y, n as x, K as M } from "../../identifier-BqadgaK7.js";
|
|
5
|
+
import { u as A } from "../../useControlled-BYdyS7Pn.js";
|
|
6
|
+
import { u as Q } from "../../useForkRef-D-DyzOXj.js";
|
|
7
|
+
import { u as W } from "../../useId-CK6Kn3Tn.js";
|
|
8
|
+
import { a as X, F as I } from "../../FormGroup-BVtE8Mrv.js";
|
|
9
|
+
import { s as C, r as U, u as Y, c as D } from "../../DefaultPropsProvider-CaRoy5OV.js";
|
|
10
|
+
import { S as oo } from "../../SwitchBase-yCuH0Tqk.js";
|
|
11
|
+
import { c as q } from "../../createSvgIcon-DxbvMQd7.js";
|
|
12
|
+
import { m as L } from "../../memoTheme-DfGVDRrB.js";
|
|
13
|
+
import { u as eo } from "../../useFormControl-CatNKXAi.js";
|
|
14
|
+
import { c as $ } from "../../createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
15
|
+
import { r as ao } from "../../refType-DlHf9HvO.js";
|
|
16
|
+
const to = q(/* @__PURE__ */ t("path", {
|
|
17
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
18
|
+
}), "RadioButtonUnchecked"), ro = q(/* @__PURE__ */ t("path", {
|
|
19
|
+
d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
|
|
20
|
+
}), "RadioButtonChecked"), so = C("span", {
|
|
21
|
+
shouldForwardProp: U
|
|
22
|
+
})({
|
|
23
|
+
position: "relative",
|
|
24
|
+
display: "flex"
|
|
25
|
+
}), no = C(to)({
|
|
26
|
+
// Scale applied to prevent dot misalignment in Safari
|
|
27
|
+
transform: "scale(1)"
|
|
28
|
+
}), io = C(ro)(L(({
|
|
29
|
+
theme: o
|
|
30
|
+
}) => ({
|
|
31
|
+
left: 0,
|
|
32
|
+
position: "absolute",
|
|
33
|
+
transform: "scale(0)",
|
|
34
|
+
transition: o.transitions.create("transform", {
|
|
35
|
+
easing: o.transitions.easing.easeIn,
|
|
36
|
+
duration: o.transitions.duration.shortest
|
|
37
|
+
}),
|
|
38
|
+
variants: [{
|
|
39
|
+
props: {
|
|
40
|
+
checked: !0
|
|
41
|
+
},
|
|
42
|
+
style: {
|
|
43
|
+
transform: "scale(1)",
|
|
44
|
+
transition: o.transitions.create("transform", {
|
|
45
|
+
easing: o.transitions.easing.easeOut,
|
|
46
|
+
duration: o.transitions.duration.shortest
|
|
47
|
+
})
|
|
48
|
+
}
|
|
49
|
+
}]
|
|
50
|
+
})));
|
|
51
|
+
function F(o) {
|
|
52
|
+
const {
|
|
53
|
+
checked: a = !1,
|
|
54
|
+
classes: r = {},
|
|
55
|
+
fontSize: s
|
|
56
|
+
} = o, i = {
|
|
57
|
+
...o,
|
|
58
|
+
checked: a
|
|
59
|
+
};
|
|
60
|
+
return /* @__PURE__ */ P(so, {
|
|
61
|
+
className: r.root,
|
|
62
|
+
ownerState: i,
|
|
63
|
+
children: [/* @__PURE__ */ t(no, {
|
|
64
|
+
fontSize: s,
|
|
65
|
+
className: r.background,
|
|
66
|
+
ownerState: i
|
|
67
|
+
}), /* @__PURE__ */ t(io, {
|
|
68
|
+
fontSize: s,
|
|
69
|
+
className: r.dot,
|
|
70
|
+
ownerState: i
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
process.env.NODE_ENV !== "production" && (F.propTypes = {
|
|
75
|
+
/**
|
|
76
|
+
* If `true`, the component is checked.
|
|
77
|
+
*/
|
|
78
|
+
checked: e.bool,
|
|
79
|
+
/**
|
|
80
|
+
* Override or extend the styles applied to the component.
|
|
81
|
+
*/
|
|
82
|
+
classes: e.object,
|
|
83
|
+
/**
|
|
84
|
+
* The size of the component.
|
|
85
|
+
* `small` is equivalent to the dense radio styling.
|
|
86
|
+
*/
|
|
87
|
+
fontSize: e.oneOf(["small", "medium"])
|
|
88
|
+
});
|
|
89
|
+
const G = /* @__PURE__ */ l.createContext(void 0);
|
|
90
|
+
process.env.NODE_ENV !== "production" && (G.displayName = "RadioGroupContext");
|
|
91
|
+
function lo() {
|
|
92
|
+
return l.useContext(G);
|
|
93
|
+
}
|
|
94
|
+
function co(o) {
|
|
95
|
+
return B("MuiRadio", o);
|
|
96
|
+
}
|
|
97
|
+
const E = j("MuiRadio", ["root", "checked", "disabled", "colorPrimary", "colorSecondary", "sizeSmall"]), uo = (o) => {
|
|
98
|
+
const {
|
|
99
|
+
classes: a,
|
|
100
|
+
color: r,
|
|
101
|
+
size: s
|
|
102
|
+
} = o, i = {
|
|
103
|
+
root: ["root", `color${y(r)}`, s !== "medium" && `size${y(s)}`]
|
|
104
|
+
};
|
|
105
|
+
return {
|
|
106
|
+
...a,
|
|
107
|
+
...D(i, co, a)
|
|
108
|
+
};
|
|
109
|
+
}, po = C(oo, {
|
|
110
|
+
shouldForwardProp: (o) => U(o) || o === "classes",
|
|
111
|
+
name: "MuiRadio",
|
|
112
|
+
slot: "Root",
|
|
113
|
+
overridesResolver: (o, a) => {
|
|
114
|
+
const {
|
|
115
|
+
ownerState: r
|
|
116
|
+
} = o;
|
|
117
|
+
return [a.root, r.size !== "medium" && a[`size${y(r.size)}`], a[`color${y(r.color)}`]];
|
|
118
|
+
}
|
|
119
|
+
})(L(({
|
|
120
|
+
theme: o
|
|
121
|
+
}) => ({
|
|
122
|
+
color: (o.vars || o).palette.text.secondary,
|
|
123
|
+
[`&.${E.disabled}`]: {
|
|
124
|
+
color: (o.vars || o).palette.action.disabled
|
|
125
|
+
},
|
|
126
|
+
variants: [{
|
|
127
|
+
props: {
|
|
128
|
+
color: "default",
|
|
129
|
+
disabled: !1,
|
|
130
|
+
disableRipple: !1
|
|
131
|
+
},
|
|
132
|
+
style: {
|
|
133
|
+
"&:hover": {
|
|
134
|
+
backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : x(o.palette.action.active, o.palette.action.hoverOpacity)
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}, ...Object.entries(o.palette).filter($()).map(([a]) => ({
|
|
138
|
+
props: {
|
|
139
|
+
color: a,
|
|
140
|
+
disabled: !1,
|
|
141
|
+
disableRipple: !1
|
|
142
|
+
},
|
|
143
|
+
style: {
|
|
144
|
+
"&:hover": {
|
|
145
|
+
backgroundColor: o.vars ? `rgba(${o.vars.palette[a].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : x(o.palette[a].main, o.palette.action.hoverOpacity)
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
})), ...Object.entries(o.palette).filter($()).map(([a]) => ({
|
|
149
|
+
props: {
|
|
150
|
+
color: a,
|
|
151
|
+
disabled: !1
|
|
152
|
+
},
|
|
153
|
+
style: {
|
|
154
|
+
[`&.${E.checked}`]: {
|
|
155
|
+
color: (o.vars || o).palette[a].main
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
})), {
|
|
159
|
+
// Should be last to override other colors
|
|
160
|
+
props: {
|
|
161
|
+
disableRipple: !1
|
|
162
|
+
},
|
|
163
|
+
style: {
|
|
164
|
+
// Reset on touch devices, it doesn't add specificity
|
|
165
|
+
"&:hover": {
|
|
166
|
+
"@media (hover: none)": {
|
|
167
|
+
backgroundColor: "transparent"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}]
|
|
172
|
+
})));
|
|
173
|
+
function fo(o, a) {
|
|
174
|
+
return typeof a == "object" && a !== null ? o === a : String(o) === String(a);
|
|
175
|
+
}
|
|
176
|
+
const T = /* @__PURE__ */ t(F, {
|
|
177
|
+
checked: !0
|
|
178
|
+
}), V = /* @__PURE__ */ t(F, {}), g = /* @__PURE__ */ l.forwardRef(function(a, r) {
|
|
179
|
+
const s = Y({
|
|
180
|
+
props: a,
|
|
181
|
+
name: "MuiRadio"
|
|
182
|
+
}), {
|
|
183
|
+
checked: i,
|
|
184
|
+
checkedIcon: h = T,
|
|
185
|
+
color: S = "primary",
|
|
186
|
+
icon: k = V,
|
|
187
|
+
name: d,
|
|
188
|
+
onChange: w,
|
|
189
|
+
size: u = "medium",
|
|
190
|
+
className: p,
|
|
191
|
+
disabled: z,
|
|
192
|
+
disableRipple: m = !1,
|
|
193
|
+
...b
|
|
194
|
+
} = s, v = eo();
|
|
195
|
+
let c = z;
|
|
196
|
+
v && typeof c > "u" && (c = v.disabled), c ?? (c = !1);
|
|
197
|
+
const R = {
|
|
198
|
+
...s,
|
|
199
|
+
disabled: c,
|
|
200
|
+
disableRipple: m,
|
|
201
|
+
color: S,
|
|
202
|
+
size: u
|
|
203
|
+
}, n = uo(R), f = lo();
|
|
204
|
+
let O = i;
|
|
205
|
+
const H = J(w, f && f.onChange);
|
|
206
|
+
let N = d;
|
|
207
|
+
return f && (typeof O > "u" && (O = fo(f.value, s.value)), typeof N > "u" && (N = f.name)), /* @__PURE__ */ t(po, {
|
|
208
|
+
type: "radio",
|
|
209
|
+
icon: /* @__PURE__ */ l.cloneElement(k, {
|
|
210
|
+
fontSize: V.props.fontSize ?? u
|
|
211
|
+
}),
|
|
212
|
+
checkedIcon: /* @__PURE__ */ l.cloneElement(h, {
|
|
213
|
+
fontSize: T.props.fontSize ?? u
|
|
214
|
+
}),
|
|
215
|
+
disabled: c,
|
|
216
|
+
ownerState: R,
|
|
217
|
+
classes: n,
|
|
218
|
+
name: N,
|
|
219
|
+
checked: O,
|
|
220
|
+
onChange: H,
|
|
221
|
+
ref: r,
|
|
222
|
+
className: M(n.root, p),
|
|
223
|
+
...b
|
|
224
|
+
});
|
|
225
|
+
});
|
|
226
|
+
process.env.NODE_ENV !== "production" && (g.propTypes = {
|
|
227
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
228
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
229
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
230
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
231
|
+
/**
|
|
232
|
+
* If `true`, the component is checked.
|
|
233
|
+
*/
|
|
234
|
+
checked: e.bool,
|
|
235
|
+
/**
|
|
236
|
+
* The icon to display when the component is checked.
|
|
237
|
+
* @default <RadioButtonIcon checked />
|
|
238
|
+
*/
|
|
239
|
+
checkedIcon: e.node,
|
|
240
|
+
/**
|
|
241
|
+
* Override or extend the styles applied to the component.
|
|
242
|
+
*/
|
|
243
|
+
classes: e.object,
|
|
244
|
+
/**
|
|
245
|
+
* @ignore
|
|
246
|
+
*/
|
|
247
|
+
className: e.string,
|
|
248
|
+
/**
|
|
249
|
+
* The color of the component.
|
|
250
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
251
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
252
|
+
* @default 'primary'
|
|
253
|
+
*/
|
|
254
|
+
color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
255
|
+
/**
|
|
256
|
+
* If `true`, the component is disabled.
|
|
257
|
+
*/
|
|
258
|
+
disabled: e.bool,
|
|
259
|
+
/**
|
|
260
|
+
* If `true`, the ripple effect is disabled.
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
disableRipple: e.bool,
|
|
264
|
+
/**
|
|
265
|
+
* The icon to display when the component is unchecked.
|
|
266
|
+
* @default <RadioButtonIcon />
|
|
267
|
+
*/
|
|
268
|
+
icon: e.node,
|
|
269
|
+
/**
|
|
270
|
+
* The id of the `input` element.
|
|
271
|
+
*/
|
|
272
|
+
id: e.string,
|
|
273
|
+
/**
|
|
274
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
275
|
+
*/
|
|
276
|
+
inputProps: e.object,
|
|
277
|
+
/**
|
|
278
|
+
* Pass a ref to the `input` element.
|
|
279
|
+
*/
|
|
280
|
+
inputRef: ao,
|
|
281
|
+
/**
|
|
282
|
+
* Name attribute of the `input` element.
|
|
283
|
+
*/
|
|
284
|
+
name: e.string,
|
|
285
|
+
/**
|
|
286
|
+
* Callback fired when the state is changed.
|
|
287
|
+
*
|
|
288
|
+
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
289
|
+
* You can pull out the new value by accessing `event.target.value` (string).
|
|
290
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
291
|
+
*/
|
|
292
|
+
onChange: e.func,
|
|
293
|
+
/**
|
|
294
|
+
* If `true`, the `input` element is required.
|
|
295
|
+
* @default false
|
|
296
|
+
*/
|
|
297
|
+
required: e.bool,
|
|
298
|
+
/**
|
|
299
|
+
* The size of the component.
|
|
300
|
+
* `small` is equivalent to the dense radio styling.
|
|
301
|
+
* @default 'medium'
|
|
302
|
+
*/
|
|
303
|
+
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
304
|
+
/**
|
|
305
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
306
|
+
*/
|
|
307
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
308
|
+
/**
|
|
309
|
+
* The value of the component. The DOM API casts this to a string.
|
|
310
|
+
*/
|
|
311
|
+
value: e.any
|
|
312
|
+
});
|
|
313
|
+
function mo(o) {
|
|
314
|
+
return B("MuiRadioGroup", o);
|
|
315
|
+
}
|
|
316
|
+
j("MuiRadioGroup", ["root", "row", "error"]);
|
|
317
|
+
const bo = (o) => {
|
|
318
|
+
const {
|
|
319
|
+
classes: a,
|
|
320
|
+
row: r,
|
|
321
|
+
error: s
|
|
322
|
+
} = o;
|
|
323
|
+
return D({
|
|
324
|
+
root: ["root", r && "row", s && "error"]
|
|
325
|
+
}, mo, a);
|
|
326
|
+
}, _ = /* @__PURE__ */ l.forwardRef(function(a, r) {
|
|
327
|
+
const {
|
|
328
|
+
// private
|
|
329
|
+
// eslint-disable-next-line react/prop-types
|
|
330
|
+
actions: s,
|
|
331
|
+
children: i,
|
|
332
|
+
className: h,
|
|
333
|
+
defaultValue: S,
|
|
334
|
+
name: k,
|
|
335
|
+
onChange: d,
|
|
336
|
+
value: w,
|
|
337
|
+
...u
|
|
338
|
+
} = a, p = l.useRef(null), z = bo(a), [m, b] = A({
|
|
339
|
+
controlled: w,
|
|
340
|
+
default: S,
|
|
341
|
+
name: "RadioGroup"
|
|
342
|
+
});
|
|
343
|
+
l.useImperativeHandle(s, () => ({
|
|
344
|
+
focus: () => {
|
|
345
|
+
let n = p.current.querySelector("input:not(:disabled):checked");
|
|
346
|
+
n || (n = p.current.querySelector("input:not(:disabled)")), n && n.focus();
|
|
347
|
+
}
|
|
348
|
+
}), []);
|
|
349
|
+
const v = Q(r, p), c = W(k), R = l.useMemo(() => ({
|
|
350
|
+
name: c,
|
|
351
|
+
onChange(n) {
|
|
352
|
+
b(n.target.value), d && d(n, n.target.value);
|
|
353
|
+
},
|
|
354
|
+
value: m
|
|
355
|
+
}), [c, d, b, m]);
|
|
356
|
+
return /* @__PURE__ */ t(G.Provider, {
|
|
357
|
+
value: R,
|
|
358
|
+
children: /* @__PURE__ */ t(X, {
|
|
359
|
+
role: "radiogroup",
|
|
360
|
+
ref: v,
|
|
361
|
+
className: M(z.root, h),
|
|
362
|
+
...u,
|
|
363
|
+
children: i
|
|
364
|
+
})
|
|
365
|
+
});
|
|
366
|
+
});
|
|
367
|
+
process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
368
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
369
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
370
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
371
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
372
|
+
/**
|
|
373
|
+
* The content of the component.
|
|
374
|
+
*/
|
|
375
|
+
children: e.node,
|
|
376
|
+
/**
|
|
377
|
+
* @ignore
|
|
378
|
+
*/
|
|
379
|
+
className: e.string,
|
|
380
|
+
/**
|
|
381
|
+
* The default value. Use when the component is not controlled.
|
|
382
|
+
*/
|
|
383
|
+
defaultValue: e.any,
|
|
384
|
+
/**
|
|
385
|
+
* The name used to reference the value of the control.
|
|
386
|
+
* If you don't provide this prop, it falls back to a randomly generated name.
|
|
387
|
+
*/
|
|
388
|
+
name: e.string,
|
|
389
|
+
/**
|
|
390
|
+
* Callback fired when a radio button is selected.
|
|
391
|
+
*
|
|
392
|
+
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
393
|
+
* @param {string} value The value of the selected radio button.
|
|
394
|
+
* You can pull out the new value by accessing `event.target.value` (string).
|
|
395
|
+
*/
|
|
396
|
+
onChange: e.func,
|
|
397
|
+
/**
|
|
398
|
+
* Value of the selected radio button. The DOM API casts this to a string.
|
|
399
|
+
*/
|
|
400
|
+
value: e.any
|
|
401
|
+
});
|
|
402
|
+
const vo = (o) => /* @__PURE__ */ P(K, { children: [
|
|
403
|
+
/* @__PURE__ */ t(Z, { id: "radio-buttons-group-label", children: "Label" }),
|
|
404
|
+
/* @__PURE__ */ P(
|
|
405
|
+
_,
|
|
406
|
+
{
|
|
407
|
+
"aria-labelledby": "radio-buttons-group-label",
|
|
408
|
+
defaultValue: "first",
|
|
409
|
+
name: "radio-buttons-group",
|
|
410
|
+
...o,
|
|
411
|
+
children: [
|
|
412
|
+
/* @__PURE__ */ t(I, { value: "first", control: /* @__PURE__ */ t(g, {}), label: "First" }),
|
|
413
|
+
/* @__PURE__ */ t(I, { value: "second", control: /* @__PURE__ */ t(g, {}), label: "Second" }),
|
|
414
|
+
/* @__PURE__ */ t(I, { value: "third", control: /* @__PURE__ */ t(g, {}), label: "Third" })
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
)
|
|
418
|
+
] }), Go = {
|
|
419
|
+
title: "Components/RadioGroup",
|
|
420
|
+
component: vo
|
|
421
|
+
}, xo = {
|
|
422
|
+
args: {
|
|
423
|
+
row: !1
|
|
424
|
+
}
|
|
425
|
+
}, $o = {
|
|
426
|
+
args: {
|
|
427
|
+
row: !0
|
|
428
|
+
}
|
|
429
|
+
};
|
|
430
|
+
export {
|
|
431
|
+
xo as Default,
|
|
432
|
+
$o as Row,
|
|
433
|
+
Go as default
|
|
434
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../SearchInput/SearchInput.cjs.js"),t={title:"Components/SearchInput",component:e},o={args:{placeholder:"Rechercher"}};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("react/jsx-runtime"),d=require("react"),u=require("../../FormLabel-D8jYibc1.cjs"),l=require("../../Select-ipcMZ4iK.cjs"),t=require("../../MenuItem-Els-vJZW.cjs"),c=n=>{const[a,s]=d.useState("pending"),i=r=>s(r.target.value);return e.jsxs(u.FormControl,{variant:n.variant,sx:{width:"10rem"},children:[e.jsx(l.InputLabel,{id:"simple-select-label",children:"Status"}),e.jsxs(l.Select,{labelId:"simple-select-label",id:"simple-select",value:a,label:"Status",onChange:i,...n,children:[e.jsx(t.MenuItem,{value:"pending",children:"Pending"}),e.jsx(t.MenuItem,{value:"ongoing",children:"Ongoing"}),e.jsx(t.MenuItem,{value:"validated",children:"Validated"}),e.jsx(t.MenuItem,{value:"rejected",children:"Rejected"})]})]})},o={title:"Components/Select",component:c},g={args:{}},m={args:{variant:"filled"}},v={args:{variant:"standard"}},S={args:{disabled:!0}};exports.Default=g;exports.Disabled=S;exports.Filled=m;exports.Standard=v;exports.default=o;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SelectProps } from '@mui/material/Select';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const Select: (props: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof Select>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Select>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Filled: Story;
|
|
9
|
+
export declare const Standard: Story;
|
|
10
|
+
export declare const Disabled: Story;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d } from "react";
|
|
3
|
+
import { F as o } from "../../FormLabel-B4QlkhhB.js";
|
|
4
|
+
import { a as c, S as m } from "../../Select-BlPQngVF.js";
|
|
5
|
+
import { M as t } from "../../MenuItem-D7HWYhF3.js";
|
|
6
|
+
const u = (a) => {
|
|
7
|
+
const [n, s] = d("pending"), r = (i) => s(i.target.value);
|
|
8
|
+
return /* @__PURE__ */ l(o, { variant: a.variant, sx: { width: "10rem" }, children: [
|
|
9
|
+
/* @__PURE__ */ e(c, { id: "simple-select-label", children: "Status" }),
|
|
10
|
+
/* @__PURE__ */ l(
|
|
11
|
+
m,
|
|
12
|
+
{
|
|
13
|
+
labelId: "simple-select-label",
|
|
14
|
+
id: "simple-select",
|
|
15
|
+
value: n,
|
|
16
|
+
label: "Status",
|
|
17
|
+
onChange: r,
|
|
18
|
+
...a,
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ e(t, { value: "pending", children: "Pending" }),
|
|
21
|
+
/* @__PURE__ */ e(t, { value: "ongoing", children: "Ongoing" }),
|
|
22
|
+
/* @__PURE__ */ e(t, { value: "validated", children: "Validated" }),
|
|
23
|
+
/* @__PURE__ */ e(t, { value: "rejected", children: "Rejected" })
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
] });
|
|
28
|
+
}, f = {
|
|
29
|
+
title: "Components/Select",
|
|
30
|
+
component: u
|
|
31
|
+
}, b = {
|
|
32
|
+
args: {}
|
|
33
|
+
}, j = {
|
|
34
|
+
args: {
|
|
35
|
+
variant: "filled"
|
|
36
|
+
}
|
|
37
|
+
}, x = {
|
|
38
|
+
args: {
|
|
39
|
+
variant: "standard"
|
|
40
|
+
}
|
|
41
|
+
}, C = {
|
|
42
|
+
args: {
|
|
43
|
+
disabled: !0
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
b as Default,
|
|
48
|
+
C as Disabled,
|
|
49
|
+
j as Filled,
|
|
50
|
+
x as Standard,
|
|
51
|
+
f as default
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),O=require("react"),r=require("../../identifier-BQH88SE0.cjs"),d=require("../../Tabs-Nvk94RTW.cjs"),P=require("../../DefaultPropsProvider-BrX6iuA3.cjs"),E=require("../../useThemeProps-r0DnR8FJ.cjs");function M(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=M(O),f=a.createContext(null);process.env.NODE_ENV!=="production"&&(f.displayName="TabContext");function D(){const[e,n]=a.useState(null);return a.useEffect(()=>{n(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function y(e){const{children:n,value:t}=e,o=D(),p=a.useMemo(()=>({idPrefix:o,value:t}),[o,t]);return s.jsx(f.Provider,{value:p,children:n})}process.env.NODE_ENV!=="production"&&(y.propTypes={children:r.PropTypes.node,value:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]).isRequired});function v(){return a.useContext(f)}function x(e,n){const{idPrefix:t}=e;return t===null?null:`${e.idPrefix}-P-${n}`}function m(e,n){const{idPrefix:t}=e;return t===null?null:`${e.idPrefix}-T-${n}`}const h=a.forwardRef(function(n,t){const{children:o,...p}=n,i=v();if(i===null)throw new TypeError("No TabContext provided");const l=a.Children.map(o,u=>a.isValidElement(u)?a.cloneElement(u,{"aria-controls":x(i,u.props.value),id:m(i,u.props.value)}):null);return s.jsx(d.Tabs,{...p,ref:t,value:i.value,children:l})});process.env.NODE_ENV!=="production"&&(h.propTypes={children:r.PropTypes.node});function R(e){return r.generateUtilityClass("MuiTabPanel",e)}r.generateUtilityClasses("MuiTabPanel",["root","hidden"]);const q=e=>{const{classes:n,hidden:t}=e,o={root:["root",t&&"hidden"]};return P.composeClasses(o,R,n)},w=P.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,n)=>n.root})(({theme:e})=>({padding:e.spacing(3)})),T=a.forwardRef(function(n,t){const o=E.useThemeProps({props:n,name:"MuiTabPanel"}),{children:p,className:i,value:l,keepMounted:u=!1,...j}=o,b={...o},g=q(b),c=v();if(c===null)throw new TypeError("No TabContext provided");const C=x(c,l),N=m(c,l);return s.jsx(w,{"aria-labelledby":N,className:r.clsx(g.root,i),hidden:l!==c.value,id:C,ref:t,role:"tabpanel",ownerState:b,...j,children:(u||l===c.value)&&p})});process.env.NODE_ENV!=="production"&&(T.propTypes={children:r.PropTypes.node,classes:r.PropTypes.object,className:r.PropTypes.string,keepMounted:r.PropTypes.bool,sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object]),value:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]).isRequired});const _=e=>s.jsxs(y,{value:"1",children:[s.jsxs(h,{...e,"aria-label":"lab API tabs example",children:[s.jsx(d.Tab,{label:"Utilisateurs",value:"1"}),s.jsx(d.Tab,{label:"Groupes",value:"2"}),s.jsx(d.Tab,{label:"Demandes d'inscription",value:"3"})]}),s.jsx(T,{value:"1",children:"Utilisateurs"}),s.jsx(T,{value:"2",children:"Groupes"}),s.jsx(T,{value:"3",children:"Demandes d'inscription"})]}),S={title:"Components/TabList",component:_},U={args:{}};exports.Default=U;exports.default=S;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TabListProps } from '@mui/lab/TabList';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
declare const TabList: (props: TabListProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const meta: Meta<typeof TabList>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof TabList>;
|
|
7
|
+
export declare const Default: Story;
|