@cgi-learning-hub/ui 1.2.0-dev.1726157609 → 1.2.0-dev.1726218202
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/{DatePicker-BuzPxxRu.js → DatePicker-C2NB6D2n.js} +5 -5
- package/dist/{DatePicker-Dv6DlDvx.cjs → DatePicker-DwFLe3I1.cjs} +2 -2
- package/dist/{DefaultButton-RGKJJmMc.js → DefaultButton-BoUBlnAR.js} +34 -34
- package/dist/{DefaultButton-CiJrbBFX.cjs → DefaultButton-DuBPX2t6.cjs} +1 -1
- package/dist/{Tooltip-D3Bjn2NS.cjs → Tooltip-BHgQjBJ3.cjs} +1 -1
- package/dist/{Tooltip-DvuU63iR.js → Tooltip-DTbN1pOw.js} +1 -1
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.d.ts +0 -1
- package/dist/components/Alert/Alert.es.js +8 -4
- package/dist/components/Alert/Alert.stories.cjs.js +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +0 -1
- package/dist/components/Alert/Alert.stories.es.js +11 -7
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.es.js +3 -2
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +8 -7
- 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.d.ts +0 -1
- package/dist/components/DefaultButton/DefaultButton.es.js +3 -2
- package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.d.ts +0 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.es.js +30 -30
- 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.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.es.js +282 -273
- package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.stories.es.js +4 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -1
- package/dist/components/EmptyState/EmptyState.es.js +27 -22
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -1
- package/dist/components/EmptyState/EmptyState.stories.es.js +8 -7
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.d.ts +0 -1
- package/dist/components/FileList/FileList.es.js +13 -12
- package/dist/components/FileList/FileList.stories.cjs.js +1 -1
- package/dist/components/FileList/FileList.stories.d.ts +0 -1
- package/dist/components/FileList/FileList.stories.es.js +4 -3
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +28 -21
- package/dist/components/IconButton.stories.cjs.js +1 -1
- package/dist/components/IconButton.stories.d.ts +0 -1
- package/dist/components/IconButton.stories.es.js +13 -13
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +0 -1
- package/dist/components/Loader/Loader.es.js +9 -3
- package/dist/components/Loader/Loader.stories.cjs.js +1 -1
- package/dist/components/Loader/Loader.stories.d.ts +0 -1
- package/dist/components/Loader/Loader.stories.es.js +8 -7
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +9 -3
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.es.js +4 -3
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.d.ts +0 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +35 -31
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.stories.d.ts +0 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +13 -13
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +22 -22
- package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -1
- package/dist/components/PasswordInput/PasswordInput.stories.es.js +8 -7
- package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.d.ts +0 -1
- package/dist/components/PrimaryButton/PrimaryButton.es.js +4 -3
- package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.d.ts +0 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +9 -9
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.d.ts +0 -1
- package/dist/components/QueryError/QueryError.es.js +16 -15
- package/dist/components/QueryError/helpers.d.ts +0 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +0 -1
- package/dist/components/SearchInput/SearchInput.es.js +12 -12
- package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -1
- package/dist/components/SearchInput/SearchInput.stories.es.js +6 -5
- package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.d.ts +0 -1
- package/dist/components/SecondaryButton/SecondaryButton.es.js +4 -3
- package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.d.ts +0 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +4 -4
- package/dist/components/TabList.stories.cjs.js +1 -1
- package/dist/components/TabList.stories.d.ts +0 -1
- package/dist/components/TabList.stories.es.js +96 -87
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -1
- package/dist/components/TextInput/TextInput.es.js +4 -3
- package/dist/components/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.stories.d.ts +0 -1
- package/dist/components/TextInput/TextInput.stories.es.js +17 -16
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +3 -3
- package/dist/hooks/lazySvgImport.d.ts +0 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./Dropzone.cjs.js"),n={title:"Components/Dropzone",component:o,argTypes:{}},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),o=require("./Dropzone.cjs.js"),n={title:"Components/Dropzone",component:o,argTypes:{}},s=e=>r.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=n;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import t from "./Dropzone.es.js";
|
|
2
3
|
const a = {
|
|
3
4
|
title: "Components/Dropzone",
|
|
4
|
-
component:
|
|
5
|
+
component: t,
|
|
5
6
|
argTypes: {
|
|
6
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
7
8
|
}
|
|
8
|
-
},
|
|
9
|
+
}, r = (o) => /* @__PURE__ */ e(t, { ...o }), n = r.bind({});
|
|
9
10
|
n.args = {
|
|
10
11
|
information: "SVG, PNG, JPG or GIF (max. 3MB)",
|
|
11
12
|
onDrop: (o) => alert("dropped")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-B8WfhPQe.cjs"),i=require("../../Typography-Dtz_Yu7Z.cjs"),u=({svgName:n,title:s,description:t,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?e.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[e.jsx("div",{style:{width:200,maxHeight:200},children:e.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),e.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),t?e.jsx(i.Typography,{color:"grey",mt:2,...o,children:t}):null]}):null};module.exports=u;
|
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as c, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
|
|
3
|
+
import { S as p } from "../../Stack-r7RL43ez.js";
|
|
4
|
+
import { T as i } from "../../Typography-DY82MH5N.js";
|
|
5
|
+
const y = ({
|
|
6
|
+
svgName: o,
|
|
7
|
+
title: n,
|
|
8
|
+
description: r,
|
|
9
|
+
descriptionProps: m,
|
|
10
|
+
svgProps: a,
|
|
11
|
+
titleProps: l,
|
|
12
|
+
...s
|
|
12
13
|
}) => {
|
|
13
|
-
const { Svg:
|
|
14
|
-
return
|
|
15
|
-
t,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
const { Svg: e } = h(o);
|
|
15
|
+
return e ? /* @__PURE__ */ c(p, { direction: "column", alignItems: "center", margin: "auto", ...s, children: [
|
|
16
|
+
/* @__PURE__ */ t("div", { style: { width: 200, maxHeight: 200 }, children: /* @__PURE__ */ t(
|
|
17
|
+
e,
|
|
18
|
+
{
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
preserveAspectRatio: "xMinYMin slice",
|
|
22
|
+
...a
|
|
23
|
+
}
|
|
24
|
+
) }),
|
|
25
|
+
/* @__PURE__ */ t(i, { variant: "h2", fontWeight: 500, mt: 3, ...l, children: n }),
|
|
26
|
+
r ? /* @__PURE__ */ t(i, { color: "grey", mt: 2, ...m, children: r }) : null
|
|
27
|
+
] }) : null;
|
|
23
28
|
};
|
|
24
29
|
export {
|
|
25
|
-
|
|
30
|
+
y as default
|
|
26
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./EmptyState.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),e=require("./EmptyState.cjs.js"),o={title:"Components/EmptyState",component:e,argTypes:{}},n=r=>s.jsx(e,{...r}),t=n.bind({});t.args={svgName:"client-error",title:"Une erreur est survenue"};exports.Default=t;exports.default=o;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import t from "./EmptyState.es.js";
|
|
3
|
+
const a = {
|
|
3
4
|
title: "Components/EmptyState",
|
|
4
|
-
component:
|
|
5
|
+
component: t,
|
|
5
6
|
argTypes: {
|
|
6
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
7
8
|
}
|
|
8
|
-
},
|
|
9
|
-
|
|
9
|
+
}, o = (e) => /* @__PURE__ */ r(t, { ...e }), s = o.bind({});
|
|
10
|
+
s.args = {
|
|
10
11
|
svgName: "client-error",
|
|
11
12
|
title: "Une erreur est survenue"
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
s as Default,
|
|
16
|
+
a as default
|
|
16
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react");const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-C2gLk_UH.cjs"),n=({files:i=[]})=>r.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:i.map((s,e)=>r.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
1
2
|
import "react";
|
|
2
|
-
import
|
|
3
|
-
import { B as
|
|
4
|
-
const
|
|
5
|
-
files:
|
|
6
|
-
}) => /* @__PURE__ */
|
|
7
|
-
|
|
3
|
+
import m from "./FileListItem.es.js";
|
|
4
|
+
import { B as e } from "../../Box-CDFdOx1a.js";
|
|
5
|
+
const f = ({
|
|
6
|
+
files: i = []
|
|
7
|
+
}) => /* @__PURE__ */ r(e, { sx: { display: "flex", flexDirection: "column", rowGap: "0.5rem" }, children: i.map((t, o) => /* @__PURE__ */ r(
|
|
8
|
+
m,
|
|
8
9
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
)));
|
|
10
|
+
file: t,
|
|
11
|
+
uploading: o % 2 === 0
|
|
12
|
+
},
|
|
13
|
+
o
|
|
14
|
+
)) });
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
f as default
|
|
16
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./FileList.cjs.js"),l={title:"Components/FileList",component:t,argTypes:{}},
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),t=require("./FileList.cjs.js"),l={title:"Components/FileList",component:t,argTypes:{}},n=e=>i.jsx(t,{...e}),s=n.bind({});s.args={files:[{name:"sample.csv",size:500,uploading:!1},{name:"components_lists_filelist.png",size:1780,uploading:!0}],onDelete:e=>alert("delete")};exports.Default=s;exports.default=l;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
1
2
|
import t from "./FileList.es.js";
|
|
2
|
-
const
|
|
3
|
+
const a = {
|
|
3
4
|
title: "Components/FileList",
|
|
4
5
|
component: t,
|
|
5
6
|
argTypes: {
|
|
6
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
7
8
|
}
|
|
8
|
-
},
|
|
9
|
+
}, i = (e) => /* @__PURE__ */ s(t, { ...e }), l = i.bind({});
|
|
9
10
|
l.args = {
|
|
10
11
|
files: [
|
|
11
12
|
{
|
|
@@ -23,5 +24,5 @@ l.args = {
|
|
|
23
24
|
};
|
|
24
25
|
export {
|
|
25
26
|
l as Default,
|
|
26
|
-
|
|
27
|
+
a as default
|
|
27
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("../../createSvgIcon-DEt1ypbw.cjs"),v=require("../../Stack-B8WfhPQe.cjs"),p=require("../../Box-C2gLk_UH.cjs"),a=require("../../Typography-Dtz_Yu7Z.cjs"),x=require("../../IconButton-BwalKkMi.cjs"),h=require("../../CircularProgress-DG72WOS6.cjs");var s={},j=r.interopRequireDefaultExports;Object.defineProperty(s,"__esModule",{value:!0});var u=s.default=void 0,q=j(r.requireCreateSvgIcon()),f=e;u=s.default=(0,q.default)((0,f.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");var c={},g=r.interopRequireDefaultExports;Object.defineProperty(c,"__esModule",{value:!0});var n=c.default=void 0,_=g(r.requireCreateSvgIcon()),I=e;n=c.default=(0,_.default)((0,I.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");const y=({file:t,uploading:o,onDelete:i})=>{const l=`${t.size} octets`,d=()=>i==null?void 0:i(t);return e.jsxs(v.Stack,{direction:"row",alignItems:"center",spacing:2,children:[e.jsx(n,{color:"primary"}),e.jsxs(p.Box,{sx:{width:"100%"},children:[e.jsx(a.Typography,{children:t.name}),e.jsx(a.Typography,{fontSize:"0.875rem",color:"grey",children:l})]}),e.jsx(x.IconButton,{onClick:d,disabled:o,children:o?e.jsx(h.CircularProgress,{size:24}):e.jsx(u,{})})]})};module.exports=y;
|
|
@@ -1,34 +1,41 @@
|
|
|
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
|
-
var
|
|
9
|
-
Object.defineProperty(
|
|
1
|
+
import l, { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { r as u, i as d } from "../../createSvgIcon-BhmTVu_m.js";
|
|
3
|
+
import { S as p } from "../../Stack-r7RL43ez.js";
|
|
4
|
+
import { B as h } from "../../Box-CDFdOx1a.js";
|
|
5
|
+
import { T as c } from "../../Typography-DY82MH5N.js";
|
|
6
|
+
import { I as _ } from "../../IconButton-BJnGbprU.js";
|
|
7
|
+
import { C as x } from "../../CircularProgress-CMyGy943.js";
|
|
8
|
+
var a = {}, I = d;
|
|
9
|
+
Object.defineProperty(a, "__esModule", {
|
|
10
10
|
value: !0
|
|
11
11
|
});
|
|
12
|
-
var
|
|
13
|
-
|
|
12
|
+
var n = a.default = void 0, j = I(u()), z = l;
|
|
13
|
+
n = a.default = (0, j.default)(/* @__PURE__ */ (0, z.jsx)("path", {
|
|
14
14
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
15
15
|
}), "Delete");
|
|
16
|
-
var
|
|
17
|
-
Object.defineProperty(
|
|
16
|
+
var i = {}, g = d;
|
|
17
|
+
Object.defineProperty(i, "__esModule", {
|
|
18
18
|
value: !0
|
|
19
19
|
});
|
|
20
|
-
var m =
|
|
21
|
-
m =
|
|
20
|
+
var m = i.default = void 0, S = g(u()), $ = l;
|
|
21
|
+
m = i.default = (0, S.default)(/* @__PURE__ */ (0, $.jsx)("path", {
|
|
22
22
|
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
23
|
}), "InsertDriveFile");
|
|
24
|
-
const
|
|
25
|
-
file:
|
|
26
|
-
uploading:
|
|
24
|
+
const D = ({
|
|
25
|
+
file: r,
|
|
26
|
+
uploading: o,
|
|
27
27
|
onDelete: t
|
|
28
28
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */
|
|
29
|
+
const f = `${r.size} octets`, v = () => t == null ? void 0 : t(r);
|
|
30
|
+
return /* @__PURE__ */ s(p, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
31
|
+
/* @__PURE__ */ e(m, { color: "primary" }),
|
|
32
|
+
/* @__PURE__ */ s(h, { sx: { width: "100%" }, children: [
|
|
33
|
+
/* @__PURE__ */ e(c, { children: r.name }),
|
|
34
|
+
/* @__PURE__ */ e(c, { fontSize: "0.875rem", color: "grey", children: f })
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ e(_, { onClick: v, disabled: o, children: o ? /* @__PURE__ */ e(x, { size: 24 }) : /* @__PURE__ */ e(n, {}) })
|
|
37
|
+
] });
|
|
31
38
|
};
|
|
32
39
|
export {
|
|
33
|
-
|
|
40
|
+
D as default
|
|
34
41
|
};
|
|
@@ -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-DEt1ypbw.cjs"),c=require("../IconButton-BwalKkMi.cjs");var t={},u=r.interopRequireDefaultExports;Object.defineProperty(t,"__esModule",{value:!0});var n=t.default=void 0,a=u(r.requireCreateSvgIcon()),i=e;n=t.default=(0,a.default)((0,i.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");const l={title:"Components/IconButton",component:c.IconButton,argTypes:{}},d=s=>e.jsx(c.IconButton,{...s}),o=d.bind({});o.args={children:e.jsx(n,{}),onClick:()=>alert("Alert"),disabled:!1};exports.Default=o;exports.default=l;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import n from "
|
|
3
|
-
import { I as
|
|
4
|
-
var e = {},
|
|
1
|
+
import s, { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { r as a, i as n } from "../createSvgIcon-BhmTVu_m.js";
|
|
3
|
+
import { I as r } from "../IconButton-BJnGbprU.js";
|
|
4
|
+
var e = {}, i = n;
|
|
5
5
|
Object.defineProperty(e, "__esModule", {
|
|
6
6
|
value: !0
|
|
7
7
|
});
|
|
8
|
-
var
|
|
9
|
-
|
|
8
|
+
var c = e.default = void 0, l = i(a()), u = s;
|
|
9
|
+
c = e.default = (0, l.default)(/* @__PURE__ */ (0, u.jsx)("path", {
|
|
10
10
|
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
11
|
}), "Fingerprint");
|
|
12
|
-
const
|
|
12
|
+
const g = {
|
|
13
13
|
title: "Components/IconButton",
|
|
14
|
-
component:
|
|
14
|
+
component: r,
|
|
15
15
|
argTypes: {
|
|
16
16
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
17
17
|
}
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
children: /* @__PURE__ */
|
|
18
|
+
}, p = (o) => /* @__PURE__ */ t(r, { ...o }), d = p.bind({});
|
|
19
|
+
d.args = {
|
|
20
|
+
children: /* @__PURE__ */ t(c, {}),
|
|
21
21
|
onClick: () => alert("Alert"),
|
|
22
22
|
disabled: !1
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
d as Default,
|
|
26
|
+
g as default
|
|
27
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/styles2.css');;/* empty css */const
|
|
1
|
+
"use strict";require('../../assets/styles2.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-C2gLk_UH.cjs"),l=({})=>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=l;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
1
2
|
import '../../assets/styles2.css';/* empty css */
|
|
2
|
-
import { B as
|
|
3
|
-
const
|
|
3
|
+
import { B as l } from "../../Box-CDFdOx1a.js";
|
|
4
|
+
const i = ({}) => /* @__PURE__ */ r(l, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(l, { className: "cs-loader-inner", children: [
|
|
5
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
6
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
7
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
8
|
+
/* @__PURE__ */ r("label", { children: "●" })
|
|
9
|
+
] }) });
|
|
4
10
|
export {
|
|
5
|
-
|
|
11
|
+
i as default
|
|
6
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./Loader.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),e=require("./Loader.cjs.js"),s={title:"Components/Loader",component:e,argTypes:{}},n=o=>r.jsx(e,{...o}),t=n.bind({});t.args={};exports.Default=t;exports.default=s;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import o from "./Loader.es.js";
|
|
3
|
+
const m = {
|
|
3
4
|
title: "Components/Loader",
|
|
4
|
-
component:
|
|
5
|
+
component: o,
|
|
5
6
|
argTypes: {
|
|
6
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
7
8
|
}
|
|
8
|
-
},
|
|
9
|
-
|
|
9
|
+
}, r = (t) => /* @__PURE__ */ e(o, { ...t }), s = r.bind({});
|
|
10
|
+
s.args = {};
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
s as Default,
|
|
13
|
+
m as default
|
|
13
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/styles.css');;/* empty css */const e=require("../../Box-C2gLk_UH.cjs"),
|
|
1
|
+
"use strict";require('../../assets/styles.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Box-C2gLk_UH.cjs"),l=({})=>r.jsx(e.Box,{className:"cs-loader-backdrop",color:"primary.main",children:r.jsxs(e.Box,{className:"cs-loader-backdrop-inner",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
1
2
|
import '../../assets/styles.css';/* empty css */
|
|
2
|
-
import { B as
|
|
3
|
-
const
|
|
3
|
+
import { B as l } from "../../Box-CDFdOx1a.js";
|
|
4
|
+
const d = ({}) => /* @__PURE__ */ r(l, { className: "cs-loader-backdrop", color: "primary.main", children: /* @__PURE__ */ a(l, { className: "cs-loader-backdrop-inner", children: [
|
|
5
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
6
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
7
|
+
/* @__PURE__ */ r("label", { children: "●" }),
|
|
8
|
+
/* @__PURE__ */ r("label", { children: "●" })
|
|
9
|
+
] }) });
|
|
4
10
|
export {
|
|
5
|
-
|
|
11
|
+
d as default
|
|
6
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./LoaderBackdrop.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),e=require("./LoaderBackdrop.cjs.js"),s={title:"Components/LoaderBackdrop",component:e,argTypes:{}},a=t=>r.jsx(e,{...t}),o=a.bind({});o.args={};exports.Default=o;exports.default=s;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import o from "./LoaderBackdrop.es.js";
|
|
2
3
|
const n = {
|
|
3
4
|
title: "Components/LoaderBackdrop",
|
|
4
|
-
component:
|
|
5
|
+
component: o,
|
|
5
6
|
argTypes: {
|
|
6
7
|
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
7
8
|
}
|
|
8
|
-
},
|
|
9
|
+
}, r = (t) => /* @__PURE__ */ e(o, { ...t }), a = r.bind({});
|
|
9
10
|
a.args = {};
|
|
10
11
|
export {
|
|
11
12
|
a as Default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("../../Stack-B8WfhPQe.cjs"),q=require("../../Typography-Dtz_Yu7Z.cjs"),r=({title:u,IconComponent:d,iconColor:e,iconProps:g,iconSize:h=28,titleProps:a,...x})=>n.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[d?n.jsx(d,{sx:{fontSize:h,padding:"2px",borderRadius:1,color:e==null?void 0:e[500],backgroundColor:e==null?void 0:e[50]},...g}):null,n.jsx(q.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=r;
|
|
@@ -2,7 +2,6 @@ import { SvgIconComponent } from '@mui/icons-material';
|
|
|
2
2
|
import { Color, SvgIconProps } from '@mui/material';
|
|
3
3
|
import { StackProps } from '@mui/material/Stack';
|
|
4
4
|
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
-
|
|
6
5
|
export type PaperHeaderProps = {
|
|
7
6
|
title: string;
|
|
8
7
|
IconComponent?: SvgIconComponent;
|
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as x, jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import { S } from "../../Stack-r7RL43ez.js";
|
|
3
|
+
import { T as b } from "../../Typography-DY82MH5N.js";
|
|
4
|
+
const v = ({
|
|
5
|
+
title: g,
|
|
5
6
|
IconComponent: m,
|
|
6
|
-
iconColor:
|
|
7
|
-
iconProps:
|
|
8
|
-
iconSize:
|
|
7
|
+
iconColor: d,
|
|
8
|
+
iconProps: h,
|
|
9
|
+
iconSize: n = 28,
|
|
9
10
|
titleProps: a,
|
|
10
|
-
...
|
|
11
|
-
}) => /* @__PURE__ */
|
|
12
|
-
m
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
11
|
+
...u
|
|
12
|
+
}) => /* @__PURE__ */ x(S, { direction: "row", alignItems: "center", gap: 1, ...u, children: [
|
|
13
|
+
m ? /* @__PURE__ */ f(
|
|
14
|
+
m,
|
|
15
|
+
{
|
|
16
|
+
sx: {
|
|
17
|
+
fontSize: n,
|
|
18
|
+
padding: "2px",
|
|
19
|
+
borderRadius: 1,
|
|
20
|
+
color: d == null ? void 0 : d[500],
|
|
21
|
+
backgroundColor: d == null ? void 0 : d[50]
|
|
22
|
+
},
|
|
23
|
+
...h
|
|
24
|
+
}
|
|
25
|
+
) : null,
|
|
26
|
+
/* @__PURE__ */ f(
|
|
27
|
+
b,
|
|
28
|
+
{
|
|
29
|
+
component: (a == null ? void 0 : a.component) ?? "h3",
|
|
30
|
+
variant: (a == null ? void 0 : a.variant) ?? "h2",
|
|
31
|
+
fontWeight: (a == null ? void 0 : a.fontWeight) ?? 400,
|
|
32
|
+
...a,
|
|
33
|
+
children: g
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
] });
|
|
33
37
|
export {
|
|
34
|
-
|
|
38
|
+
v as default
|
|
35
39
|
};
|
|
@@ -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"),t=require("../../createSvgIcon-DEt1ypbw.cjs"),o=require("./PaperHeader.cjs.js"),i=require("../../identifier-icEThk5F.cjs");var e={},s=t.interopRequireDefaultExports;Object.defineProperty(e,"__esModule",{value:!0});var a=e.default=void 0,c=s(t.requireCreateSvgIcon()),d=r;a=e.default=(0,c.default)((0,d.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");const l={title:"Components/PaperHeader",component:o,argTypes:{}},p=u=>r.jsx(o,{...u}),n=p.bind({});n.args={title:"Heading",iconColor:i.red,IconComponent:a};exports.Default=n;exports.default=l;
|