@cgi-learning-hub/ui 1.2.0-dev.1730801938 → 1.2.0-dev.1730802047
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-Br80Nd7t.cjs +1 -0
- package/dist/{Backdrop-NYR-wJpx.js → Backdrop-DZxABi0e.js} +290 -289
- package/dist/{Box-BOwB0WGP.js → Box-CCNJo4xc.js} +3 -3
- package/dist/Box-CHgIMOMk.cjs +1 -0
- package/dist/Button-BZ3CM4Ou.cjs +1 -0
- package/dist/{Button-DOz72eRZ.js → Button-BbB53SmV.js} +76 -78
- package/dist/{ButtonBase-Cc4QJr0W.js → ButtonBase-CWK9_uNc.js} +78 -79
- package/dist/ButtonBase-CfGA-YGO.cjs +75 -0
- package/dist/{CircularProgress-CQAqrfVo.js → CircularProgress-CCcQGuv7.js} +60 -59
- package/dist/CircularProgress-CjmXu0NI.cjs +28 -0
- package/dist/DatePicker-BSHPkMOi.cjs +17 -0
- package/dist/{DatePicker-DLbJ-Y35.js → DatePicker-DhT2Azgz.js} +3796 -3827
- package/dist/DefaultButton-BDGm3E32.cjs +1 -0
- package/dist/{DefaultButton-xBiX39mb.js → DefaultButton-DRX60ZWo.js} +22 -23
- package/dist/DefaultPropsProvider-BL9ahJBw.cjs +17 -0
- package/dist/{DefaultPropsProvider-3gIWHkeE.js → DefaultPropsProvider-DtDY-TZb.js} +2 -1
- package/dist/{IconButton-DQ115lN0.js → IconButton-CJADlk4N.js} +60 -70
- package/dist/IconButton-CQIpnm5Y.cjs +2 -0
- package/dist/{InputAdornment-CQEOPpj_.cjs → InputAdornment-BgclYUXK.cjs} +1 -1
- package/dist/{InputAdornment-C91s059c.js → InputAdornment-DB3IsWy6.js} +5 -5
- package/dist/InputBase-BgPlZIwC.cjs +3 -0
- package/dist/{InputBase-BqiRpsZm.js → InputBase-D4oDoC6z.js} +76 -77
- package/dist/{Stack-CRf_NOj5.js → Stack-DkKYFn95.js} +13 -13
- package/dist/Stack-h0ulkByu.cjs +1 -0
- package/dist/{Tabs-ClaQRksF.js → Tabs-COdZZ9QD.js} +13 -14
- package/dist/Tabs-CVG205ba.cjs +4 -0
- package/dist/TextField-DYHbqOp9.cjs +14 -0
- package/dist/{TextField-poQmKhLJ.js → TextField-PKXBC85g.js} +1457 -1415
- package/dist/{Tooltip-h4eHRca2.js → Tooltip-Bjvuk-Lb.js} +1117 -1099
- package/dist/Tooltip-D8bjRAAW.cjs +100 -0
- package/dist/Typography-Ddo2XgEF.cjs +1 -0
- package/dist/{Typography-Brk7us7e.js → Typography-NOCV1w8B.js} +38 -37
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.es.js +15 -14
- package/dist/components/DefaultButton/index.cjs.js +1 -1
- package/dist/components/DefaultButton/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +1675 -679
- package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -1
- 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 +21 -33
- package/dist/components/IconButton.stories.cjs.js +1 -1
- package/dist/components/IconButton.stories.es.js +11 -17
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/Loader/Loader.stories.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +13 -19
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
- package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/TabList.stories.cjs.js +1 -1
- package/dist/components/TabList.stories.es.js +11 -12
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +17 -17
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
- package/dist/{createSvgIcon-BHNwYp0k.cjs → createSvgIcon-BH5C6nT9.cjs} +1 -1
- package/dist/{createSvgIcon-CWZXMIY6.js → createSvgIcon-CCVUTVqS.js} +3 -3
- package/dist/{extendSxProp-h_vH_Efx.cjs → extendSxProp-CxNq_K9W.cjs} +1 -1
- package/dist/{extendSxProp-Cr6SqfyU.js → extendSxProp-ZFHbVaVf.js} +1 -1
- package/dist/{fr-CrUmNQ8y.js → fr-D-ljiFMc.js} +1 -1
- package/dist/{fr-Dh4vpkIL.cjs → fr-W-CTnhjw.cjs} +1 -1
- package/dist/identifier-8mtH7ZcP.cjs +59 -0
- package/dist/{identifier-vL3mZxtO.js → identifier-C_jicJ2R.js} +1001 -1013
- package/dist/{index-PJSlkMUh.js → index-1jrO2HSs.js} +3 -3
- package/dist/{index-DJfvQgvG.cjs → index-8rVsYib2.cjs} +1 -1
- package/dist/{index-CrWaTytV.js → index-C-X1cQ2Z.js} +4 -4
- package/dist/index-DoBWXbUD.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +17 -17
- package/dist/memoTheme-B1D0RO58.js +15 -0
- package/dist/memoTheme-K38b4dAY.cjs +1 -0
- package/dist/{refType-CslmN23s.js → useEnhancedEffect-De8QYV_L.js} +11 -9
- package/dist/useEnhancedEffect-Dl7COs_u.cjs +1 -0
- package/dist/useForkRef-D-DyzOXj.js +21 -0
- package/dist/useForkRef-D81w5oMb.cjs +1 -0
- package/dist/{useTheme-BZN9T64v.js → useTheme-C18aJRpp.js} +1 -1
- package/dist/{useTheme-Cy30-54x.cjs → useTheme-D0cUaNbZ.cjs} +1 -1
- package/dist/{useTheme-BcsinTgi.cjs → useTheme-DMgnO6le.cjs} +1 -1
- package/dist/{useTheme-Cs6W-67J.js → useTheme-DR3unGHQ.js} +3 -3
- package/dist/useThemeProps-9fosi2Au.cjs +1 -0
- package/dist/useThemeProps-B8ZTH6Oh.cjs +1 -0
- package/dist/useThemeProps-BcqXKsD0.js +24 -0
- package/dist/useThemeProps-BwLSmftx.js +27 -0
- package/dist/useTimeout-CUZ4CtvQ.js +53 -0
- package/dist/useTimeout-Dfi8FwFc.cjs +1 -0
- package/package.json +10 -10
- package/dist/Backdrop-2u2eUNhW.cjs +0 -1
- package/dist/Box-BM-kEZ6w.cjs +0 -1
- package/dist/Button-DF4FLm9c.cjs +0 -1
- package/dist/ButtonBase-D-LBunY3.cjs +0 -75
- package/dist/CircularProgress-Bc4Jb-wh.cjs +0 -28
- package/dist/DatePicker-B7Kxulzh.cjs +0 -19
- package/dist/DefaultButton-BiytyhNr.cjs +0 -1
- package/dist/DefaultPropsProvider-D5gdl0ZP.cjs +0 -17
- package/dist/IconButton-C1Q6F-WI.cjs +0 -2
- package/dist/InputBase-BhTvM4pD.cjs +0 -3
- package/dist/Stack-C-pSEK_U.cjs +0 -1
- package/dist/Tabs-DQQR_Rej.cjs +0 -4
- package/dist/TextField-ESuNQ6_j.cjs +0 -12
- package/dist/Tooltip-iexr64ud.cjs +0 -100
- package/dist/Typography-DXUkMq5K.cjs +0 -1
- package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/composeClasses-B_ETVugV.cjs +0 -1
- package/dist/composeClasses-zmPRtZOg.js +0 -16
- package/dist/createSvgIcon-C9v8HKxu.cjs +0 -2
- package/dist/createSvgIcon-ampgkdBR.js +0 -89
- package/dist/identifier-lU3TQXv0.cjs +0 -59
- package/dist/index-B4-7REI3.cjs +0 -1
- package/dist/memoTheme-B2EWpIp3.cjs +0 -1
- package/dist/memoTheme-O-hJ9iBh.js +0 -13
- package/dist/refType-xt9KmJ1e.cjs +0 -1
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-Bf7_InaL.cjs +0 -3
- package/dist/useControlled-D59BLg1S.js +0 -48
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useEventCallback-BAQJJ3ye.js +0 -14
- package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
- package/dist/useForkRef-CTI33h-3.cjs +0 -1
- package/dist/useForkRef-C_4o__cU.js +0 -15
- package/dist/useThemeProps-CjDUEYiA.js +0 -40
- package/dist/useThemeProps-DxowsTec.cjs +0 -1
- package/dist/useTimeout-COCrDKz-.cjs +0 -1
- package/dist/useTimeout-CcRdgCDK.js +0 -42
|
@@ -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 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-h0ulkByu.cjs"),i=require("../../Typography-Ddo2XgEF.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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
|
|
3
|
-
import { S as p } from "../../Stack-
|
|
4
|
-
import { T as i } from "../../Typography-
|
|
3
|
+
import { S as p } from "../../Stack-DkKYFn95.js";
|
|
4
|
+
import { T as i } from "../../Typography-NOCV1w8B.js";
|
|
5
5
|
const y = ({
|
|
6
6
|
svgName: o,
|
|
7
7
|
title: n,
|
|
@@ -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 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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-CHgIMOMk.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 "../../Box-
|
|
4
|
+
import { B as e } from "../../Box-CCNJo4xc.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(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),o=require("../../createSvgIcon-BH5C6nT9.cjs"),a=require("../../Stack-h0ulkByu.cjs"),h=require("../../Box-CHgIMOMk.cjs"),t=require("../../Typography-Ddo2XgEF.cjs"),x=require("../../IconButton-CQIpnm5Y.cjs"),l=require("../../CircularProgress-CjmXu0NI.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;
|
|
@@ -1,41 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { S as
|
|
4
|
-
import { B as
|
|
5
|
-
import { T as
|
|
6
|
-
import { I as
|
|
7
|
-
import { C as
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(a, "__esModule", {
|
|
10
|
-
value: !0
|
|
11
|
-
});
|
|
12
|
-
var n = a.default = void 0, j = I(u()), z = l;
|
|
13
|
-
n = a.default = (0, j.default)(/* @__PURE__ */ (0, z.jsx)("path", {
|
|
1
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as e } from "../../createSvgIcon-CCVUTVqS.js";
|
|
3
|
+
import { S as a } from "../../Stack-DkKYFn95.js";
|
|
4
|
+
import { B as l } from "../../Box-CCNJo4xc.js";
|
|
5
|
+
import { T as s } from "../../Typography-NOCV1w8B.js";
|
|
6
|
+
import { I as h } from "../../IconButton-CJADlk4N.js";
|
|
7
|
+
import { C as p } from "../../CircularProgress-CCcQGuv7.js";
|
|
8
|
+
const d = e(/* @__PURE__ */ r("path", {
|
|
14
9
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
15
|
-
}), "Delete")
|
|
16
|
-
var i = {}, g = d;
|
|
17
|
-
Object.defineProperty(i, "__esModule", {
|
|
18
|
-
value: !0
|
|
19
|
-
});
|
|
20
|
-
var m = i.default = void 0, S = g(u()), $ = l;
|
|
21
|
-
m = i.default = (0, S.default)(/* @__PURE__ */ (0, $.jsx)("path", {
|
|
10
|
+
}), "Delete"), z = e(/* @__PURE__ */ r("path", {
|
|
22
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"
|
|
23
|
-
}), "InsertDriveFile")
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
onDelete: t
|
|
12
|
+
}), "InsertDriveFile"), u = ({
|
|
13
|
+
file: t,
|
|
14
|
+
uploading: c,
|
|
15
|
+
onDelete: o
|
|
28
16
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
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 })
|
|
35
23
|
] }),
|
|
36
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ r(h, { onClick: n, disabled: c, children: c ? /* @__PURE__ */ r(p, { size: 24 }) : /* @__PURE__ */ r(d, {}) })
|
|
37
25
|
] });
|
|
38
26
|
};
|
|
39
27
|
export {
|
|
40
|
-
|
|
28
|
+
u as default
|
|
41
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),s=require("../createSvgIcon-BH5C6nT9.cjs"),t=require("../IconButton-CQIpnm5Y.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;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { I as
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(e, "__esModule", {
|
|
6
|
-
value: !0
|
|
7
|
-
});
|
|
8
|
-
var c = e.default = void 0, l = i(a()), u = s;
|
|
9
|
-
c = e.default = (0, l.default)(/* @__PURE__ */ (0, u.jsx)("path", {
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "../createSvgIcon-CCVUTVqS.js";
|
|
3
|
+
import { I as t } from "../IconButton-CJADlk4N.js";
|
|
4
|
+
const n = o(/* @__PURE__ */ c("path", {
|
|
10
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"
|
|
11
|
-
}), "Fingerprint")
|
|
12
|
-
const g = {
|
|
6
|
+
}), "Fingerprint"), p = {
|
|
13
7
|
title: "Components/IconButton",
|
|
14
|
-
component:
|
|
8
|
+
component: t,
|
|
15
9
|
argTypes: {
|
|
16
10
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
17
11
|
}
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
children: /* @__PURE__ */
|
|
12
|
+
}, e = (s) => /* @__PURE__ */ c(t, { ...s }), r = e.bind({});
|
|
13
|
+
r.args = {
|
|
14
|
+
children: /* @__PURE__ */ c(n, {}),
|
|
21
15
|
onClick: () => alert("Alert"),
|
|
22
16
|
disabled: !1
|
|
23
17
|
};
|
|
24
18
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
r as Default,
|
|
20
|
+
p as default
|
|
27
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/styles2.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-
|
|
1
|
+
"use strict";require('../../assets/styles2.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-CHgIMOMk.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
2
|
import '../../assets/styles2.css';/* empty css */
|
|
3
|
-
import { B as l } from "../../Box-
|
|
3
|
+
import { B as l } from "../../Box-CCNJo4xc.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/styles.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-
|
|
1
|
+
"use strict";require('../../assets/styles.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-Br80Nd7t.cjs"),c=require("../../Box-CHgIMOMk.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import '../../assets/styles.css';/* empty css */
|
|
3
|
-
import { B as e } from "../../Backdrop-
|
|
4
|
-
import { B as l } from "../../Box-
|
|
3
|
+
import { B as e } from "../../Backdrop-DZxABi0e.js";
|
|
4
|
+
import { B as l } from "../../Box-CCNJo4xc.js";
|
|
5
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
6
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
7
7
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-h0ulkByu.cjs"),j=require("../../Typography-Ddo2XgEF.cjs"),y=({title:u,IconComponent:e,iconColor:n,iconProps:g,iconSize:h=28,titleProps:a,...x})=>d.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[e?d.jsx(e,{sx:{fontSize:h,padding:"2px",borderRadius:1,color:n==null?void 0:n[500],backgroundColor:n==null?void 0:n[50]},...g}):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,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as x, jsx as f } from "react/jsx-runtime";
|
|
2
|
-
import { S } from "../../Stack-
|
|
3
|
-
import { T as b } from "../../Typography-
|
|
2
|
+
import { S } from "../../Stack-DkKYFn95.js";
|
|
3
|
+
import { T as b } from "../../Typography-NOCV1w8B.js";
|
|
4
4
|
const v = ({
|
|
5
5
|
title: g,
|
|
6
6
|
IconComponent: m,
|
|
@@ -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 e=require("react/jsx-runtime"),r=require("../../createSvgIcon-BH5C6nT9.cjs"),o=require("./PaperHeader.cjs.js"),c=require("../../identifier-8mtH7ZcP.cjs"),s=r.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"),a={title:"Components/PaperHeader",component:o,argTypes:{}},i=n=>e.jsx(o,{...n}),t=i.bind({});t.args={title:"Heading",iconColor:c.red,IconComponent:s};exports.Default=t;exports.default=a;
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import { r as
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(e, "__esModule", {
|
|
7
|
-
value: !0
|
|
8
|
-
});
|
|
9
|
-
var o = e.default = void 0, m = d(s()), u = a;
|
|
10
|
-
o = e.default = (0, m.default)(/* @__PURE__ */ (0, u.jsx)("path", {
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { c as r } from "../../createSvgIcon-CCVUTVqS.js";
|
|
3
|
+
import e from "./PaperHeader.es.js";
|
|
4
|
+
import { r as c } from "../../identifier-C_jicJ2R.js";
|
|
5
|
+
const n = r(/* @__PURE__ */ o("path", {
|
|
11
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"
|
|
12
|
-
}), "Mood")
|
|
13
|
-
const g = {
|
|
7
|
+
}), "Mood"), f = {
|
|
14
8
|
title: "Components/PaperHeader",
|
|
15
|
-
component:
|
|
9
|
+
component: e,
|
|
16
10
|
argTypes: {
|
|
17
11
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
18
12
|
}
|
|
19
|
-
},
|
|
20
|
-
|
|
13
|
+
}, s = (t) => /* @__PURE__ */ o(e, { ...t }), a = s.bind({});
|
|
14
|
+
a.args = {
|
|
21
15
|
title: "Heading",
|
|
22
|
-
iconColor:
|
|
23
|
-
IconComponent:
|
|
16
|
+
iconColor: c,
|
|
17
|
+
IconComponent: n
|
|
24
18
|
};
|
|
25
19
|
export {
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
a as Default,
|
|
21
|
+
f as default
|
|
28
22
|
};
|
|
@@ -1 +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("../../fr-
|
|
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("../../fr-W-CTnhjw.cjs");require("../../DefaultButton-BDGm3E32.cjs");;/* empty css */;/* empty css */require("../SearchInput/SearchInput.cjs.js");const a=require("../../InputAdornment-BgclYUXK.cjs"),d=require("../../IconButton-CQIpnm5Y.cjs"),r=require("../../createSvgIcon-BH5C6nT9.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;
|
|
@@ -2,14 +2,14 @@ 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
4
|
import "../Alert/Alert.es.js";
|
|
5
|
-
import "../../fr-
|
|
6
|
-
import "../../DefaultButton-
|
|
5
|
+
import "../../fr-D-ljiFMc.js";
|
|
6
|
+
import "../../DefaultButton-DRX60ZWo.js";
|
|
7
7
|
import '../../assets/styles.css';import '../../assets/styles2.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
import "../SearchInput/SearchInput.es.js";
|
|
10
|
-
import { I as p } from "../../InputAdornment-
|
|
11
|
-
import { I as m } from "../../IconButton-
|
|
12
|
-
import { c as r } from "../../createSvgIcon-
|
|
10
|
+
import { I as p } from "../../InputAdornment-DB3IsWy6.js";
|
|
11
|
+
import { I as m } from "../../IconButton-CJADlk4N.js";
|
|
12
|
+
import { c as r } from "../../createSvgIcon-CCVUTVqS.js";
|
|
13
13
|
const d = r(/* @__PURE__ */ o("path", {
|
|
14
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"
|
|
15
15
|
}), "Visibility"), f = r(/* @__PURE__ */ o("path", {
|
|
@@ -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"),
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),r=require("../../DefaultButton-BDGm3E32.cjs"),e=t=>n.jsx(r.DefaultButton,{color:"primary",variant:t.variant??"outlined",...t});module.exports=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./PrimaryButton.cjs.js"),r=require("../../createSvgIcon-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./PrimaryButton.cjs.js"),r=require("../../createSvgIcon-BH5C6nT9.cjs"),s=r.createSvgIcon(e.jsx("path",{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"}),"Save"),a={title:"Components/PrimaryButton",component:t,argTypes:{}},c=n=>e.jsx(t,{...n}),o=c.bind({});o.args={text:"Save",icon:{Component:s,position:"left"},onClick:()=>alert("Alert"),disabled:!1};exports.Default=o;exports.default=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "./PrimaryButton.es.js";
|
|
3
|
-
import { c as a } from "../../createSvgIcon-
|
|
3
|
+
import { c as a } from "../../createSvgIcon-CCVUTVqS.js";
|
|
4
4
|
const n = a(/* @__PURE__ */ t("path", {
|
|
5
5
|
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"
|
|
6
6
|
}), "Save"), p = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),n=require("../../DefaultPropsProvider-BL9ahJBw.cjs"),o=require("../../InputBase-BgPlZIwC.cjs"),s=require("../../InputAdornment-BgclYUXK.cjs"),u=require("../../createSvgIcon-BH5C6nT9.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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as e } from "../../DefaultPropsProvider-
|
|
3
|
-
import { I as a } from "../../InputBase-
|
|
4
|
-
import { I as p } from "../../InputAdornment-
|
|
5
|
-
import { c as n } from "../../createSvgIcon-
|
|
2
|
+
import { s as e } from "../../DefaultPropsProvider-DtDY-TZb.js";
|
|
3
|
+
import { I as a } from "../../InputBase-D4oDoC6z.js";
|
|
4
|
+
import { I as p } from "../../InputAdornment-DB3IsWy6.js";
|
|
5
|
+
import { c as n } from "../../createSvgIcon-CCVUTVqS.js";
|
|
6
6
|
const s = n(/* @__PURE__ */ r("path", {
|
|
7
7
|
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"
|
|
8
8
|
}), "Search"), i = e(a)(({ theme: t }) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("./SearchInput.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("./SearchInput.cjs.js"),r={title:"Components/SearchInput",component:e,argTypes:{}},s=n=>o.jsx(e,{...n}),t=s.bind({});t.args={placeholder:"Rechercher"};exports.Default=t;exports.default=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),e=require("../../DefaultButton-BDGm3E32.cjs"),o=t=>n.jsx(e.DefaultButton,{color:"secondary",variant:t.variant??"outlined",...t});module.exports=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { D as a } from "../../DefaultButton-
|
|
2
|
+
import { D as a } from "../../DefaultButton-DRX60ZWo.js";
|
|
3
3
|
const e = (t) => /* @__PURE__ */ o(a, { color: "secondary", variant: t.variant ?? "outlined", ...t });
|
|
4
4
|
export {
|
|
5
5
|
e as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./SecondaryButton.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),t=require("./SecondaryButton.cjs.js"),s=require("../../createSvgIcon-BH5C6nT9.cjs"),r=s.createSvgIcon(e.jsx("path",{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"}),"PersonAdd"),c={title:"Components/SecondaryButton",component:t,argTypes:{}},a=n=>e.jsx(t,{...n}),o=a.bind({});o.args={text:"Add user",icon:{Component:r,position:"left"},onClick:()=>alert("Alert"),disabled:!1};exports.Default=o;exports.default=c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import t from "./SecondaryButton.es.js";
|
|
3
|
-
import { c as n } from "../../createSvgIcon-
|
|
3
|
+
import { c as n } from "../../createSvgIcon-CCVUTVqS.js";
|
|
4
4
|
const s = n(/* @__PURE__ */ o("path", {
|
|
5
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
6
|
}), "PersonAdd"), i = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),E=require("react"),n=require("../identifier-8mtH7ZcP.cjs"),d=require("../Tabs-CVG205ba.cjs"),y=require("../DefaultPropsProvider-BL9ahJBw.cjs"),M=require("../useThemeProps-9fosi2Au.cjs");function D(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const a=D(E),f=a.createContext(null);process.env.NODE_ENV!=="production"&&(f.displayName="TabContext");function R(){const[e,t]=a.useState(null);return a.useEffect(()=>{t(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),e}function v(e){const{children:t,value:o}=e,r=R(),p=a.useMemo(()=>({idPrefix:r,value:o}),[r,o]);return s.jsx(f.Provider,{value:p,children:t})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:n.PropTypes.node,value:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]).isRequired});function h(){return a.useContext(f)}function x(e,t){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-P-${t}`}function m(e,t){const{idPrefix:o}=e;return o===null?null:`${e.idPrefix}-T-${t}`}const b=a.forwardRef(function(t,o){const{children:r,...p}=t,l=h();if(l===null)throw new TypeError("No TabContext provided");const i=a.Children.map(r,u=>a.isValidElement(u)?a.cloneElement(u,{"aria-controls":x(l,u.props.value),id:m(l,u.props.value)}):null);return s.jsx(d.Tabs,{...p,ref:o,value:l.value,children:i})});process.env.NODE_ENV!=="production"&&(b.propTypes={children:n.PropTypes.node});function q(e){return n.generateUtilityClass("MuiTabPanel",e)}n.generateUtilityClasses("MuiTabPanel",["root","hidden"]);const w=e=>{const{classes:t,hidden:o}=e,r={root:["root",o&&"hidden"]};return y.composeClasses(r,q,t)},_=y.styled("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(3)})),T=a.forwardRef(function(t,o){const r=M.useThemeProps({props:t,name:"MuiTabPanel"}),{children:p,className:l,value:i,keepMounted:u=!1,...j}=r,P={...r},C=w(P),c=h();if(c===null)throw new TypeError("No TabContext provided");const N=x(c,i),O=m(c,i);return s.jsx(_,{"aria-labelledby":O,className:n.clsx(C.root,l),hidden:i!==c.value,id:N,ref:o,role:"tabpanel",ownerState:P,...j,children:(u||i===c.value)&&p})});process.env.NODE_ENV!=="production"&&(T.propTypes={children:n.PropTypes.node,classes:n.PropTypes.object,className:n.PropTypes.string,keepMounted:n.PropTypes.bool,sx:n.PropTypes.oneOfType([n.PropTypes.arrayOf(n.PropTypes.oneOfType([n.PropTypes.func,n.PropTypes.object,n.PropTypes.bool])),n.PropTypes.func,n.PropTypes.object]),value:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]).isRequired});const S={title:"Components/TabList",component:b,argTypes:{value:{options:["1","2","3"],control:{type:"select"}}}},U=e=>s.jsxs(v,{value:e.value,children:[s.jsxs(b,{onChange:e.handleChange,"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"})]}),g=U.bind({});g.args={value:"1",handleChange:(e,t)=>!0};exports.Default=g;exports.default=S;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as s, jsxs as T } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import { P as n, J as M, I as
|
|
4
|
-
import { a as R, T as f } from "../Tabs-
|
|
5
|
-
import { s as D } from "../DefaultPropsProvider-
|
|
6
|
-
import { u as
|
|
7
|
-
import { c as I } from "../composeClasses-zmPRtZOg.js";
|
|
3
|
+
import { P as n, J as M, I as O, L as w } from "../identifier-C_jicJ2R.js";
|
|
4
|
+
import { a as R, T as f } from "../Tabs-COdZZ9QD.js";
|
|
5
|
+
import { s as D, c as U } from "../DefaultPropsProvider-DtDY-TZb.js";
|
|
6
|
+
import { u as I } from "../useThemeProps-BcqXKsD0.js";
|
|
8
7
|
const b = /* @__PURE__ */ r.createContext(null);
|
|
9
8
|
process.env.NODE_ENV !== "production" && (b.displayName = "TabContext");
|
|
10
9
|
function j() {
|
|
@@ -85,7 +84,7 @@ process.env.NODE_ENV !== "production" && (v.propTypes = {
|
|
|
85
84
|
children: n.node
|
|
86
85
|
});
|
|
87
86
|
function V(e) {
|
|
88
|
-
return
|
|
87
|
+
return O("MuiTabPanel", e);
|
|
89
88
|
}
|
|
90
89
|
M("MuiTabPanel", ["root", "hidden"]);
|
|
91
90
|
const $ = (e) => {
|
|
@@ -93,7 +92,7 @@ const $ = (e) => {
|
|
|
93
92
|
classes: o,
|
|
94
93
|
hidden: t
|
|
95
94
|
} = e;
|
|
96
|
-
return
|
|
95
|
+
return U({
|
|
97
96
|
root: ["root", t && "hidden"]
|
|
98
97
|
}, V, o);
|
|
99
98
|
}, L = D("div", {
|
|
@@ -105,7 +104,7 @@ const $ = (e) => {
|
|
|
105
104
|
}) => ({
|
|
106
105
|
padding: e.spacing(3)
|
|
107
106
|
})), p = /* @__PURE__ */ r.forwardRef(function(o, t) {
|
|
108
|
-
const a =
|
|
107
|
+
const a = I({
|
|
109
108
|
props: o,
|
|
110
109
|
name: "MuiTabPanel"
|
|
111
110
|
}), {
|
|
@@ -122,7 +121,7 @@ const $ = (e) => {
|
|
|
122
121
|
const N = x(d, i), E = y(d, i);
|
|
123
122
|
return /* @__PURE__ */ s(L, {
|
|
124
123
|
"aria-labelledby": E,
|
|
125
|
-
className:
|
|
124
|
+
className: w(g.root, l),
|
|
126
125
|
hidden: i !== d.value,
|
|
127
126
|
id: N,
|
|
128
127
|
ref: t,
|
|
@@ -162,9 +161,9 @@ process.env.NODE_ENV !== "production" && (p.propTypes = {
|
|
|
162
161
|
* The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
|
|
163
162
|
* no `value` was passed to `Tab`.
|
|
164
163
|
*/
|
|
165
|
-
value: n.string.isRequired
|
|
164
|
+
value: n.oneOfType([n.number, n.string]).isRequired
|
|
166
165
|
});
|
|
167
|
-
const
|
|
166
|
+
const z = {
|
|
168
167
|
title: "Components/TabList",
|
|
169
168
|
component: v,
|
|
170
169
|
argTypes: {
|
|
@@ -190,5 +189,5 @@ q.args = {
|
|
|
190
189
|
};
|
|
191
190
|
export {
|
|
192
191
|
q as Default,
|
|
193
|
-
|
|
192
|
+
z as default
|
|
194
193
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("../../TextField-DYHbqOp9.cjs"),n=t=>e.jsx(r.TextField,{...t,variant:t.variant||"standard"});module.exports=n;
|
|
@@ -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("./TextInput.cjs.js"),r={title:"Components/TextInput",component:e,argTypes:{variant:{control:"select",description:"input rendering style",options:["standard","outlined","filled"],table:{defaultValue:{summary:"standard"},type:{summary:"string"}}}}},t=d=>s.jsx(e,{...d}),n=t.bind({});n.args={label:"Default input"};const a=t.bind({});a.args={label:"Standard input",variant:"standard"};const l=t.bind({});l.args={label:"Outlined input",variant:"outlined"};const i=t.bind({});i.args={label:"Filled input",disabled:!1,variant:"filled"};exports.Default=n;exports.Filled=i;exports.Outlined=l;exports.Standard=a;exports.default=r;
|