@cgi-learning-hub/ui 1.11.1-dev.1765194222 → 1.11.1-dev.1765288172

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/index.es.js CHANGED
@@ -6,11 +6,9 @@ import { css as css2, keyframes as keyframes2 } from "@emotion/react";
6
6
  import emStyled from "@emotion/styled";
7
7
  import * as ReactDOM from "react-dom";
8
8
  import ReactDOM__default from "react-dom";
9
- import { useTheme as useTheme$4, styled as styled$3, Box as Box$1, ClickAwayListener as ClickAwayListener$1, IconButton as IconButton$1, Stack as Stack$1, ListItem as ListItem$1, CircularProgress as CircularProgress$1, ListItemButton as ListItemButton$1, List as List$2, Divider as Divider$1, Card as Card$1, CardMedia as CardMedia$1, CardContent as CardContent$1, Tooltip as Tooltip$1 } from "@mui/material";
10
9
  import { CirclePicker } from "react-color";
11
10
  import dayjs from "dayjs";
12
11
  import { useDropzone } from "react-dropzone";
13
- import { InsertDriveFileOutlined, OndemandVideoRounded, DescriptionOutlined, PictureAsPdfOutlined, CalendarViewMonthRounded, MovieOutlined, PhotoOutlined, MusicNoteRounded, DownloadRounded, CloseRounded, VisibilityOff, Visibility, Search } from "@mui/icons-material";
14
12
  function getDefaultExportFromCjs(x) {
15
13
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
16
14
  }
@@ -42690,10 +42688,7 @@ const StyledButton = styled(Button$1)(({ color: color2, theme }) => {
42690
42688
  }
42691
42689
  };
42692
42690
  });
42693
- const Button2 = ({
42694
- variant = "outlined",
42695
- ...otherProps
42696
- }) => {
42691
+ const Button2 = ({ variant = "outlined", ...otherProps }) => {
42697
42692
  return /* @__PURE__ */ jsx(StyledButton, { variant, ...otherProps });
42698
42693
  };
42699
42694
  const Root = styled(Stack, {
@@ -42760,7 +42755,7 @@ const ActionBar = ({
42760
42755
  rightActions,
42761
42756
  slotProps = {}
42762
42757
  }) => {
42763
- const theme = useTheme$4();
42758
+ const theme = useTheme();
42764
42759
  return /* @__PURE__ */ jsxs(Root, { direction: "row", justifyContent: "space-between", ...slotProps.root, children: [
42765
42760
  /* @__PURE__ */ jsx(
42766
42761
  LeftActionsContainer,
@@ -43182,10 +43177,7 @@ process.env.NODE_ENV !== "production" ? Alert$1.propTypes = {
43182
43177
  */
43183
43178
  variant: PropTypes.oneOfType([PropTypes.oneOf(["filled", "outlined", "standard"]), PropTypes.string])
43184
43179
  } : void 0;
43185
- const Alert2 = ({
43186
- severity = "success",
43187
- ...otherProps
43188
- }) => {
43180
+ const Alert2 = ({ severity = "success", ...otherProps }) => {
43189
43181
  const theme = useTheme();
43190
43182
  return /* @__PURE__ */ jsxs(
43191
43183
  Alert$1,
@@ -43207,7 +43199,7 @@ const Alert2 = ({
43207
43199
  const CheckRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
43208
43200
  d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
43209
43201
  }), "CheckRounded");
43210
- const PickerBackgroundBox = styled$3(Box$1)(
43202
+ const PickerBackgroundBox = styled(Box)(
43211
43203
  ({ disabled }) => ({
43212
43204
  width: "4.4rem",
43213
43205
  height: "4.4rem",
@@ -43237,7 +43229,7 @@ const checkmarkSwatchBox = {
43237
43229
  gap: "5px",
43238
43230
  width: "15rem"
43239
43231
  };
43240
- const StyledSwatchBox = styled$3(Box$1)(
43232
+ const StyledSwatchBox = styled(Box)(
43241
43233
  ({ showBorder = false, backgroundColor: backgroundColor2 }) => ({
43242
43234
  width: 20,
43243
43235
  height: 20,
@@ -43396,7 +43388,7 @@ const ColorPicker = ({
43396
43388
  const currentOption = normalizedOptions.find((opt) => opt.color === value);
43397
43389
  const colorStrings = normalizedOptions.map((opt) => opt.color);
43398
43390
  return /* @__PURE__ */ jsx(
43399
- ClickAwayListener$1,
43391
+ ClickAwayListener,
43400
43392
  {
43401
43393
  onClickAway: handleClose,
43402
43394
  ...slotProps?.clickAwayListener,
@@ -43416,13 +43408,13 @@ const ColorPicker = ({
43416
43408
  }
43417
43409
  ),
43418
43410
  isCirclePickerVisible && /* @__PURE__ */ jsx(
43419
- Box$1,
43411
+ Box,
43420
43412
  {
43421
43413
  sx: {
43422
43414
  ...circlePickerStyle,
43423
43415
  ...slotProps?.circlePickerBox?.sx || {}
43424
43416
  },
43425
- children: useCheckmarkSwatch ? /* @__PURE__ */ jsx(Box$1, { sx: checkmarkSwatchBox, children: normalizedOptions.map((option) => /* @__PURE__ */ jsx(
43417
+ children: useCheckmarkSwatch ? /* @__PURE__ */ jsx(Box, { sx: checkmarkSwatchBox, children: normalizedOptions.map((option) => /* @__PURE__ */ jsx(
43426
43418
  CheckmarkSwatch,
43427
43419
  {
43428
43420
  color: option.color,
@@ -56677,7 +56669,7 @@ const Dialog2 = ({
56677
56669
  const handleClose = () => otherProps.onClose?.({}, "escapeKeyDown");
56678
56670
  return /* @__PURE__ */ jsxs(Dialog$1, { ...otherProps, children: [
56679
56671
  showCloseButton ? /* @__PURE__ */ jsx(
56680
- IconButton$1,
56672
+ IconButton,
56681
56673
  {
56682
56674
  "aria-label": "close",
56683
56675
  onClick: handleClose,
@@ -56693,12 +56685,12 @@ const Dialog2 = ({
56693
56685
  children
56694
56686
  ] });
56695
56687
  };
56696
- const FileUploadIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56697
- d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
56698
- }), "FileUpload");
56699
- const UploadFileIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56700
- d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"
56701
- }), "UploadFile");
56688
+ const FileUploadRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56689
+ d: "M7.4 10h1.59v5c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-5h1.59c.89 0 1.34-1.08.71-1.71L12.7 3.7a.996.996 0 0 0-1.41 0L6.7 8.29c-.63.63-.19 1.71.7 1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"
56690
+ }), "FileUploadRounded");
56691
+ const UploadFileRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56692
+ d: "m19.41 7.41-4.83-4.83c-.37-.37-.88-.58-1.41-.58H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8.83c0-.53-.21-1.04-.59-1.42M14.8 15H13v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H9.21c-.45 0-.67-.54-.35-.85l2.8-2.79c.2-.19.51-.19.71 0l2.79 2.79c.3.31.08.85-.36.85M14 9c-.55 0-1-.45-1-1V3.5L18.5 9z"
56693
+ }), "UploadFileRounded");
56702
56694
  const Dropzone = ({
56703
56695
  defaultLabel = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
56704
56696
  dragLabel = "Déposer les fichiers ici",
@@ -56730,10 +56722,10 @@ const Dropzone = ({
56730
56722
  children: [
56731
56723
  /* @__PURE__ */ jsx("input", { ...getInputProps(), ...slotProps.input }),
56732
56724
  isDragActive ? /* @__PURE__ */ jsxs(Fragment, { children: [
56733
- /* @__PURE__ */ jsx(FileUploadIcon, { color: "primary", ...slotProps.icon }),
56725
+ /* @__PURE__ */ jsx(FileUploadRoundedIcon, { color: "primary", ...slotProps.icon }),
56734
56726
  /* @__PURE__ */ jsx(Typography, { ...slotProps.label, children: dragLabel })
56735
56727
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
56736
- /* @__PURE__ */ jsx(UploadFileIcon, { color: "primary", ...slotProps.icon }),
56728
+ /* @__PURE__ */ jsx(UploadFileRoundedIcon, { color: "primary", ...slotProps.icon }),
56737
56729
  /* @__PURE__ */ jsx(Typography, { ...slotProps.label, children: defaultLabel }),
56738
56730
  information ? /* @__PURE__ */ jsx(Typography, { variant: "body2", color: "grey", ...slotProps.information, children: information }) : null
56739
56731
  ] })
@@ -56844,44 +56836,71 @@ const EmptyState = ({
56844
56836
  }
56845
56837
  );
56846
56838
  };
56839
+ const DownloadRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56840
+ d: "M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"
56841
+ }), "DownloadRounded");
56842
+ const CalendarViewMonthRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56843
+ d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"
56844
+ }), "CalendarViewMonthRounded");
56845
+ const DescriptionOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56846
+ d: "M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"
56847
+ }), "DescriptionOutlined");
56848
+ const InsertDriveFileOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56849
+ d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"
56850
+ }), "InsertDriveFileOutlined");
56851
+ const MovieOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56852
+ d: "M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"
56853
+ }), "MovieOutlined");
56854
+ const MusicNoteRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56855
+ d: "M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"
56856
+ }), "MusicNoteRounded");
56857
+ const OndemandVideoRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56858
+ d: "M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"
56859
+ }), "OndemandVideoRounded");
56860
+ const PhotoOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56861
+ d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"
56862
+ }), "PhotoOutlined");
56863
+ const PictureAsPdfOutlinedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
56864
+ d: "M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"
56865
+ }), "PictureAsPdfOutlined");
56847
56866
  const FileIcon = ({ extension }) => {
56848
56867
  switch (extension.toUpperCase()) {
56849
56868
  case "MP3":
56850
56869
  case "MIDI":
56851
56870
  case "WAV":
56852
- return /* @__PURE__ */ jsx(MusicNoteRounded, {});
56871
+ return /* @__PURE__ */ jsx(MusicNoteRoundedIcon, {});
56853
56872
  case "JPG":
56854
56873
  case "JPEG":
56855
56874
  case "PNG":
56856
56875
  case "SVG":
56857
- return /* @__PURE__ */ jsx(PhotoOutlined, {});
56876
+ return /* @__PURE__ */ jsx(PhotoOutlinedIcon, {});
56858
56877
  case "MP4":
56859
56878
  case "MOV":
56860
56879
  case "AVI":
56861
- return /* @__PURE__ */ jsx(MovieOutlined, {});
56880
+ return /* @__PURE__ */ jsx(MovieOutlinedIcon, {});
56862
56881
  case "CSV":
56863
56882
  case "ODS":
56864
56883
  case "XLS":
56865
56884
  case "XLSX":
56866
- return /* @__PURE__ */ jsx(CalendarViewMonthRounded, {});
56885
+ return /* @__PURE__ */ jsx(CalendarViewMonthRoundedIcon, {});
56867
56886
  case "PDF":
56868
- return /* @__PURE__ */ jsx(PictureAsPdfOutlined, {});
56887
+ return /* @__PURE__ */ jsx(PictureAsPdfOutlinedIcon, {});
56869
56888
  case "ODT":
56870
56889
  case "DOC":
56871
56890
  case "DOCX":
56872
56891
  case "TXT":
56873
- return /* @__PURE__ */ jsx(DescriptionOutlined, {});
56892
+ return /* @__PURE__ */ jsx(DescriptionOutlinedIcon, {});
56874
56893
  case "ODP":
56875
56894
  case "PPT":
56876
56895
  case "PPTX":
56877
- return /* @__PURE__ */ jsx(OndemandVideoRounded, {});
56896
+ return /* @__PURE__ */ jsx(OndemandVideoRoundedIcon, {});
56878
56897
  default:
56879
- return /* @__PURE__ */ jsx(InsertDriveFileOutlined, {});
56898
+ return /* @__PURE__ */ jsx(InsertDriveFileOutlinedIcon, {});
56880
56899
  }
56881
56900
  };
56882
56901
  const FileInfosSeparator = () => {
56883
- return /* @__PURE__ */ jsx(Stack$1, { height: "100%", children: /* @__PURE__ */ jsx(
56884
- Stack$1,
56902
+ return /* @__PURE__ */ jsx(Stack, { height: "100%", children: /* @__PURE__ */ jsx(
56903
+ Stack,
56885
56904
  {
56886
56905
  height: "4px",
56887
56906
  width: "4px",
@@ -56901,7 +56920,7 @@ const displayExtension = (name) => {
56901
56920
  const extension = name.split(".").pop();
56902
56921
  return extension ? extension.toUpperCase() : null;
56903
56922
  };
56904
- const ClickableItem = styled$3(ListItemButton$1)(
56923
+ const ClickableItem = styled(ListItemButton)(
56905
56924
  ({ isClickable }) => ({
56906
56925
  "&:hover": {
56907
56926
  boxShadow: isClickable ? "0 4px 8px rgba(192, 192, 192, 0.3)" : "none",
@@ -56940,11 +56959,11 @@ const FileListItem = ({
56940
56959
  onDownload?.(file);
56941
56960
  };
56942
56961
  return /* @__PURE__ */ jsx(
56943
- ListItem$1,
56962
+ ListItem,
56944
56963
  {
56945
- secondaryAction: /* @__PURE__ */ jsxs(Box$1, { alignItems: "center", display: "flex", gap: "1rem", children: [
56946
- file.isLoading ? /* @__PURE__ */ jsx(Box$1, { marginRight: 1, children: /* @__PURE__ */ jsx(CircularProgress$1, { size: 24, color: "primary" }) }) : file.isDownloadable ? /* @__PURE__ */ jsx(IconButton$1, { onClick: handleDownload, children: /* @__PURE__ */ jsx(DownloadRounded, { color: "primary" }) }) : null,
56947
- file.isDeletable && /* @__PURE__ */ jsx(IconButton$1, { onClick: handleDelete, id: "coucou", children: /* @__PURE__ */ jsx(CloseRounded, {}) })
56964
+ secondaryAction: /* @__PURE__ */ jsxs(Box, { alignItems: "center", display: "flex", gap: "1rem", children: [
56965
+ file.isLoading ? /* @__PURE__ */ jsx(Box, { marginRight: 1, children: /* @__PURE__ */ jsx(CircularProgress, { size: 24, color: "primary" }) }) : file.isDownloadable ? /* @__PURE__ */ jsx(IconButton, { onClick: handleDownload, children: /* @__PURE__ */ jsx(DownloadRoundedIcon, { color: "primary" }) }) : null,
56966
+ file.isDeletable && /* @__PURE__ */ jsx(IconButton, { onClick: handleDelete, id: "coucou", children: /* @__PURE__ */ jsx(CloseRoundedIcon, {}) })
56948
56967
  ] }),
56949
56968
  disablePadding: true,
56950
56969
  children: /* @__PURE__ */ jsx(
@@ -56969,7 +56988,7 @@ const FileListItem = ({
56969
56988
  backgroundColor: "grey.light"
56970
56989
  },
56971
56990
  children: /* @__PURE__ */ jsx(
56972
- Box$1,
56991
+ Box,
56973
56992
  {
56974
56993
  color: "text.secondary",
56975
56994
  alignItems: "center",
@@ -57021,7 +57040,7 @@ const FileList = ({
57021
57040
  onClick,
57022
57041
  onDownload
57023
57042
  }) => {
57024
- return /* @__PURE__ */ jsx(List$2, { sx: { display: "flex", flexDirection: "column" }, children: files.map((file, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
57043
+ return /* @__PURE__ */ jsx(List, { sx: { display: "flex", flexDirection: "column" }, children: files.map((file, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
57025
57044
  /* @__PURE__ */ jsx(
57026
57045
  FileListItem,
57027
57046
  {
@@ -57032,16 +57051,16 @@ const FileList = ({
57032
57051
  },
57033
57052
  index
57034
57053
  ),
57035
- index < files.length - 1 && /* @__PURE__ */ jsx(Divider$1, { variant: "middle" })
57054
+ index < files.length - 1 && /* @__PURE__ */ jsx(Divider, { variant: "middle" })
57036
57055
  ] })) });
57037
57056
  };
57038
- const FolderIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57039
- d: "M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"
57040
- }), "Folder");
57041
- const MoreVertIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57057
+ const FolderRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57058
+ d: "M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"
57059
+ }), "FolderRounded");
57060
+ const MoreVertRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57042
57061
  d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
57043
- }), "MoreVert");
57044
- const StyledCard = styled$3(Card$1)(({ selected, size, theme }) => ({
57062
+ }), "MoreVertRounded");
57063
+ const StyledCard = styled(Card)(({ selected, size, theme }) => ({
57045
57064
  boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.06)",
57046
57065
  borderRadius: "0.5rem",
57047
57066
  height: "auto",
@@ -57062,7 +57081,7 @@ const StyledCard = styled$3(Card$1)(({ selected, size, theme }) => ({
57062
57081
  }
57063
57082
  }
57064
57083
  }));
57065
- const SelectedIcon = styled$3(Box$1)(({ selected, hasNoButtonOnFocus, theme }) => ({
57084
+ const SelectedIcon = styled(Box)(({ selected, hasNoButtonOnFocus, theme }) => ({
57066
57085
  position: "absolute",
57067
57086
  top: 0,
57068
57087
  right: 0,
@@ -57098,7 +57117,7 @@ const SelectedIcon = styled$3(Box$1)(({ selected, hasNoButtonOnFocus, theme }) =
57098
57117
  color: theme.palette.primary.main
57099
57118
  }
57100
57119
  }));
57101
- const ResourceCardImage = styled$3(CardMedia$1)(({ size, image, defaultImage }) => ({
57120
+ const ResourceCardImage = styled(CardMedia)(({ size, image, defaultImage }) => ({
57102
57121
  height: size == "sm" ? 85 : 180,
57103
57122
  width: size == "sm" ? 85 : "calc(100% - 2rem)",
57104
57123
  objectFit: "cover",
@@ -57112,11 +57131,11 @@ const ResourceCardImage = styled$3(CardMedia$1)(({ size, image, defaultImage })
57112
57131
  opacity: "0.7"
57113
57132
  }
57114
57133
  }));
57115
- const ResourceCardBody = styled$3(CardContent$1)(({ size }) => ({
57134
+ const ResourceCardBody = styled(CardContent)(({ size }) => ({
57116
57135
  padding: size == "sm" ? ".7rem 5px .7rem 0 !important" : "0 16px 16px 16px !important",
57117
57136
  width: size === "sm" ? "calc(100% - 110px)" : "100%"
57118
57137
  }));
57119
- const ResourcePropertyItem = styled$3(Box$1)(
57138
+ const ResourcePropertyItem = styled(Box)(
57120
57139
  ({ size }) => ({
57121
57140
  display: "flex",
57122
57141
  alignItems: "center",
@@ -57129,7 +57148,7 @@ const ResourcePropertyItem = styled$3(Box$1)(
57129
57148
  }
57130
57149
  })
57131
57150
  );
57132
- const ResourcePropertyText = styled$3(Box$1)(({ size, width: width2, isLast }) => ({
57151
+ const ResourcePropertyText = styled(Box)(({ size, width: width2, isLast }) => ({
57133
57152
  marginLeft: size === "sm" ? ".3rem" : ".5rem",
57134
57153
  fontSize: size === "sm" ? "12px" : "15px",
57135
57154
  "& .MuiTypography-root": {
@@ -57143,7 +57162,7 @@ const ResourcePropertyText = styled$3(Box$1)(({ size, width: width2, isLast }) =
57143
57162
  maxWidth: size === "sm" ? "110px" : "172px"
57144
57163
  }
57145
57164
  }));
57146
- const ResourceIconItem = styled$3(Box$1)(
57165
+ const ResourceIconItem = styled(Box)(
57147
57166
  ({ size }) => ({
57148
57167
  display: "inline-flex",
57149
57168
  alignItems: "center",
@@ -57158,7 +57177,7 @@ const ResourceIconItem = styled$3(Box$1)(
57158
57177
  }
57159
57178
  })
57160
57179
  );
57161
- const PublicIconWrapper = styled$3(Box$1)(
57180
+ const PublicIconWrapper = styled(Box)(
57162
57181
  ({ size }) => ({
57163
57182
  position: "absolute",
57164
57183
  bottom: size === "sm" ? ".65rem" : "16px",
@@ -57217,7 +57236,7 @@ const FolderCard = ({
57217
57236
  const handleKeyPress = (e) => {
57218
57237
  return e.key === "Enter" || e.key === " ";
57219
57238
  };
57220
- return /* @__PURE__ */ jsx(Box$1, { sx: { width: width2 }, children: /* @__PURE__ */ jsxs(
57239
+ return /* @__PURE__ */ jsx(Box, { sx: { width: width2 }, children: /* @__PURE__ */ jsxs(
57221
57240
  StyledCard,
57222
57241
  {
57223
57242
  selected: isSelected,
@@ -57255,19 +57274,19 @@ const FolderCard = ({
57255
57274
  "aria-label": isSelected ? "Unselect folder" : "Select folder",
57256
57275
  "aria-pressed": isSelected,
57257
57276
  hasNoButtonOnFocus,
57258
- children: /* @__PURE__ */ jsx(MoreVertIcon, {})
57277
+ children: /* @__PURE__ */ jsx(MoreVertRoundedIcon, {})
57259
57278
  }
57260
57279
  ),
57261
- /* @__PURE__ */ jsxs(CardContent$1, { sx: FolderBodyStyle, children: [
57262
- /* @__PURE__ */ jsx(Box$1, { fontSize: iconSize, sx: IconContainerStyle, children: /* @__PURE__ */ jsx(
57263
- FolderIcon,
57280
+ /* @__PURE__ */ jsxs(CardContent, { sx: FolderBodyStyle, children: [
57281
+ /* @__PURE__ */ jsx(Box, { fontSize: iconSize, sx: IconContainerStyle, children: /* @__PURE__ */ jsx(
57282
+ FolderRoundedIcon,
57264
57283
  {
57265
57284
  color: "primary",
57266
57285
  sx: FolderIconStyle,
57267
57286
  "aria-hidden": "true"
57268
57287
  }
57269
57288
  ) }),
57270
- /* @__PURE__ */ jsxs(Box$1, { sx: TextContainerStyle, children: [
57289
+ /* @__PURE__ */ jsxs(Box, { sx: TextContainerStyle, children: [
57271
57290
  /* @__PURE__ */ jsx(
57272
57291
  EllipsisWithTooltip,
57273
57292
  {
@@ -57335,26 +57354,26 @@ const Heading = ({
57335
57354
  }
57336
57355
  );
57337
57356
  };
57338
- const AddPhotoAlternateIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57339
- d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
57340
- }), "AddPhotoAlternate");
57341
- const CreateIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57342
- d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
57343
- }), "Create");
57344
- const DeleteIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57345
- d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
57346
- }), "Delete");
57357
+ const AddPhotoAlternateRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57358
+ d: "M21.02 5H19V2.98c0-.54-.44-.98-.98-.98h-.03c-.55 0-.99.44-.99.98V5h-2.01c-.54 0-.98.44-.99.98v.03c0 .55.44.99.99.99H17v2.01c0 .54.44.99.99.98h.03c.54 0 .98-.44.98-.98V7h2.02c.54 0 .98-.44.98-.98v-.04c0-.54-.44-.98-.98-.98M16 9.01V8h-1.01c-.53 0-1.03-.21-1.41-.58-.37-.38-.58-.88-.58-1.44 0-.36.1-.69.27-.98H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8.28c-.3.17-.64.28-1.02.28-1.09-.01-1.98-.9-1.98-1.99M15.96 19H6c-.41 0-.65-.47-.4-.8l1.98-2.63c.21-.28.62-.26.82.02L10 18l2.61-3.48c.2-.26.59-.27.79-.01l2.95 3.68c.26.33.03.81-.39.81"
57359
+ }), "AddPhotoAlternateRounded");
57360
+ const CreateRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57361
+ d: "M3 17.46v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15L17.81 9.94l-3.75-3.75L3.15 17.1q-.15.15-.15.36M20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
57362
+ }), "CreateRounded");
57363
+ const DeleteRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57364
+ d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2zM18 4h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1"
57365
+ }), "DeleteRounded");
57347
57366
  const ImagePickerDefaultLabel = () => /* @__PURE__ */ jsxs(Typography, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
57348
- /* @__PURE__ */ jsx(Box$1, { component: "span", fontWeight: "bold", children: "Glissez-déposez" }),
57367
+ /* @__PURE__ */ jsx(Box, { component: "span", fontWeight: "bold", children: "Glissez-déposez" }),
57349
57368
  " ",
57350
57369
  "ou",
57351
57370
  " ",
57352
- /* @__PURE__ */ jsx(Box$1, { component: "span", fontWeight: "bold", children: "cliquez" }),
57371
+ /* @__PURE__ */ jsx(Box, { component: "span", fontWeight: "bold", children: "cliquez" }),
57353
57372
  " ",
57354
57373
  "pour choisir une image"
57355
57374
  ] });
57356
57375
  const ImagePickerDefaultDragLabel = () => /* @__PURE__ */ jsxs(Typography, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
57357
- /* @__PURE__ */ jsx(Box$1, { component: "span", fontWeight: "bold", children: "Glissez" }),
57376
+ /* @__PURE__ */ jsx(Box, { component: "span", fontWeight: "bold", children: "Glissez" }),
57358
57377
  " ",
57359
57378
  "une image"
57360
57379
  ] });
@@ -57429,7 +57448,7 @@ const ImagePicker = ({
57429
57448
  /* @__PURE__ */ jsx("input", { ...getInputProps() }),
57430
57449
  !currentFile ? /* @__PURE__ */ jsx(Fragment, { children: isDragActive && !disabled ? /* @__PURE__ */ jsxs(Fragment, { children: [
57431
57450
  /* @__PURE__ */ jsx(
57432
- AddPhotoAlternateIcon,
57451
+ AddPhotoAlternateRoundedIcon,
57433
57452
  {
57434
57453
  color: "primary",
57435
57454
  style: {
@@ -57441,7 +57460,7 @@ const ImagePicker = ({
57441
57460
  dragLabel,
57442
57461
  information && /* @__PURE__ */ jsx(Typography, { textAlign: "center", fontSize: "12px", color: "grey", children: information })
57443
57462
  ] }) : /* @__PURE__ */ jsxs(
57444
- Box$1,
57463
+ Box,
57445
57464
  {
57446
57465
  sx: {
57447
57466
  display: "flex",
@@ -57452,7 +57471,7 @@ const ImagePicker = ({
57452
57471
  },
57453
57472
  children: [
57454
57473
  /* @__PURE__ */ jsx(
57455
- AddPhotoAlternateIcon,
57474
+ AddPhotoAlternateRoundedIcon,
57456
57475
  {
57457
57476
  color: "primary",
57458
57477
  style: {
@@ -57467,7 +57486,7 @@ const ImagePicker = ({
57467
57486
  }
57468
57487
  ) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
57469
57488
  !disabled && /* @__PURE__ */ jsxs(
57470
- Box$1,
57489
+ Box,
57471
57490
  {
57472
57491
  sx: {
57473
57492
  position: "absolute",
@@ -57478,7 +57497,7 @@ const ImagePicker = ({
57478
57497
  },
57479
57498
  children: [
57480
57499
  /* @__PURE__ */ jsx(
57481
- Box$1,
57500
+ Box,
57482
57501
  {
57483
57502
  onClick: handleEdit,
57484
57503
  sx: {
@@ -57498,11 +57517,11 @@ const ImagePicker = ({
57498
57517
  }
57499
57518
  }
57500
57519
  },
57501
- children: /* @__PURE__ */ jsx(CreateIcon, { fontSize: "small" })
57520
+ children: /* @__PURE__ */ jsx(CreateRoundedIcon, { fontSize: "small" })
57502
57521
  }
57503
57522
  ),
57504
57523
  /* @__PURE__ */ jsx(
57505
- Box$1,
57524
+ Box,
57506
57525
  {
57507
57526
  onClick: handleDelete,
57508
57527
  sx: {
@@ -57522,7 +57541,7 @@ const ImagePicker = ({
57522
57541
  }
57523
57542
  }
57524
57543
  },
57525
- children: /* @__PURE__ */ jsx(DeleteIcon, { fontSize: "small" })
57544
+ children: /* @__PURE__ */ jsx(DeleteRoundedIcon, { fontSize: "small" })
57526
57545
  }
57527
57546
  )
57528
57547
  ]
@@ -57613,9 +57632,7 @@ const StyledLoaderBackdropInner = styled(Box)({
57613
57632
  "100%": { opacity: 0, transform: "translateX(300px)" }
57614
57633
  }
57615
57634
  });
57616
- const LoaderBackdrop = ({
57617
- slotProps = {}
57618
- }) => {
57635
+ const LoaderBackdrop = ({ slotProps = {} }) => {
57619
57636
  return /* @__PURE__ */ jsx(
57620
57637
  Backdrop,
57621
57638
  {
@@ -57631,6 +57648,12 @@ const LoaderBackdrop = ({
57631
57648
  }
57632
57649
  );
57633
57650
  };
57651
+ const VisibilityOffRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57652
+ d: "M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24M2.71 3.16c-.39.39-.39 1.02 0 1.41l1.97 1.97C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0M12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5m2.97-5.33c-.15-1.4-1.25-2.49-2.64-2.64z"
57653
+ }), "VisibilityOffRounded");
57654
+ const VisibilityRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
57655
+ d: "M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 12.5c-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"
57656
+ }), "VisibilityRounded");
57634
57657
  const PasswordInput = (props) => {
57635
57658
  const [showPassword, setShowPassword] = useState(false);
57636
57659
  const handleClickShowPassword = () => setShowPassword((show) => !show);
@@ -57651,7 +57674,7 @@ const PasswordInput = (props) => {
57651
57674
  onClick: handleClickShowPassword,
57652
57675
  onMouseDown: handleMouseDownPassword,
57653
57676
  edge: "end",
57654
- children: showPassword ? /* @__PURE__ */ jsx(VisibilityOff, {}) : /* @__PURE__ */ jsx(Visibility, {})
57677
+ children: showPassword ? /* @__PURE__ */ jsx(VisibilityRoundedIcon, {}) : /* @__PURE__ */ jsx(VisibilityOffRoundedIcon, {})
57655
57678
  }
57656
57679
  ) })
57657
57680
  }
@@ -58507,7 +58530,7 @@ const ResourceCard = ({
58507
58530
  hasNoButtonOnFocus = false
58508
58531
  }) => {
58509
58532
  infoIcons = infoIcons.slice(0, 3);
58510
- return /* @__PURE__ */ jsx(Box$1, { sx: { width: width2 && size === "md" ? width2 : "320px" }, children: /* @__PURE__ */ jsxs(
58533
+ return /* @__PURE__ */ jsx(Box, { sx: { width: width2 && size === "md" ? width2 : "320px" }, children: /* @__PURE__ */ jsxs(
58511
58534
  StyledCard,
58512
58535
  {
58513
58536
  selected: isSelected,
@@ -58544,11 +58567,11 @@ const ResourceCard = ({
58544
58567
  tabIndex: 0,
58545
58568
  "aria-label": isSelected ? "Unselect card" : "Select card",
58546
58569
  hasNoButtonOnFocus,
58547
- children: /* @__PURE__ */ jsx(MoreVertIcon, {})
58570
+ children: /* @__PURE__ */ jsx(MoreVertRoundedIcon, {})
58548
58571
  }
58549
58572
  ),
58550
58573
  /* @__PURE__ */ jsx(
58551
- Stack$1,
58574
+ Stack,
58552
58575
  {
58553
58576
  sx: {
58554
58577
  width: size == "sm" ? 110 : "100%",
@@ -58600,7 +58623,7 @@ const ResourceCard = ({
58600
58623
  `property-${index}`
58601
58624
  )),
58602
58625
  /* @__PURE__ */ jsx(PublicIconWrapper, { size, children: infoIcons.length > 0 && infoIcons.map((infoItem, index) => /* @__PURE__ */ jsx(
58603
- Tooltip$1,
58626
+ Tooltip,
58604
58627
  {
58605
58628
  title: infoItem.text,
58606
58629
  placement: "top",
@@ -58623,8 +58646,10 @@ const ResourceCard = ({
58623
58646
  }
58624
58647
  ) });
58625
58648
  };
58649
+ const SearchRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
58650
+ d: "M15.5 14h-.79l-.28-.27c1.2-1.4 1.82-3.31 1.48-5.34-.47-2.78-2.79-5-5.59-5.34-4.23-.52-7.79 3.04-7.27 7.27.34 2.8 2.56 5.12 5.34 5.59 2.03.34 3.94-.28 5.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0s.41-1.08 0-1.49zm-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"
58651
+ }), "SearchRounded");
58626
58652
  const StyledInput = styled(InputBase)(({ theme }) => ({
58627
- width: "auto",
58628
58653
  padding: "0px 12px",
58629
58654
  backgroundColor: theme.palette.grey[50],
58630
58655
  borderRadius: 30,
@@ -58638,15 +58663,18 @@ const StyledInput = styled(InputBase)(({ theme }) => ({
58638
58663
  }
58639
58664
  }));
58640
58665
  const SearchInput = ({
58666
+ name = "search",
58641
58667
  placeholder = "Rechercher",
58668
+ loading = false,
58642
58669
  ...otherProps
58643
58670
  }) => {
58644
58671
  return /* @__PURE__ */ jsx(
58645
58672
  StyledInput,
58646
58673
  {
58647
58674
  ...otherProps,
58675
+ name,
58648
58676
  placeholder,
58649
- startAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "start", disablePointerEvents: true, children: /* @__PURE__ */ jsx(Search, {}) }),
58677
+ startAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "start", disablePointerEvents: true, children: loading ? /* @__PURE__ */ jsx(CircularProgress, { size: "16px", sx: { mx: 0.5 } }) : /* @__PURE__ */ jsx(SearchRoundedIcon, {}) }),
58650
58678
  type: "search",
58651
58679
  autoComplete: "off",
58652
58680
  autoCorrect: "off",
@@ -63345,14 +63373,14 @@ process.env.NODE_ENV !== "production" ? RichTreeView.propTypes = {
63345
63373
  */
63346
63374
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
63347
63375
  } : void 0;
63348
- const KeyboardArrowDownIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63349
- d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
63350
- }), "KeyboardArrowDown");
63351
- const KeyboardArrowRightIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63352
- d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
63353
- }), "KeyboardArrowRight");
63376
+ const KeyboardArrowDownRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63377
+ d: "M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0s.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0"
63378
+ }), "KeyboardArrowDownRounded");
63379
+ const KeyboardArrowRightRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63380
+ d: "M9.29 15.88 13.17 12 9.29 8.12a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0l4.59 4.59c.39.39.39 1.02 0 1.41L10.7 17.3c-.39.39-1.02.39-1.41 0-.38-.39-.39-1.03 0-1.42"
63381
+ }), "KeyboardArrowRightRounded");
63354
63382
  const DEFAULT_CHILDREN_INDENT = "50px";
63355
- const TreeContainer = styled$3(Box$1, {
63383
+ const TreeContainer = styled(Box, {
63356
63384
  shouldForwardProp: (prop) => prop !== "maxHeight"
63357
63385
  })(({ maxHeight: maxHeight2 }) => ({
63358
63386
  maxHeight: typeof maxHeight2 === "number" ? `${maxHeight2}px` : maxHeight2,
@@ -63382,9 +63410,9 @@ const iconStyle = {
63382
63410
  width: "24px",
63383
63411
  height: "24px"
63384
63412
  };
63385
- const ShareIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63413
+ const ShareRoundedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
63386
63414
  d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"
63387
- }), "Share");
63415
+ }), "ShareRounded");
63388
63416
  var ICON_TYPE = /* @__PURE__ */ ((ICON_TYPE2) => {
63389
63417
  ICON_TYPE2["FOLDER"] = "FOLDER";
63390
63418
  ICON_TYPE2["SHARE"] = "SHARE";
@@ -63393,18 +63421,18 @@ var ICON_TYPE = /* @__PURE__ */ ((ICON_TYPE2) => {
63393
63421
  return ICON_TYPE2;
63394
63422
  })(ICON_TYPE || {});
63395
63423
  const getIconComponent = (iconType, customIcon) => {
63396
- if (!iconType) return FolderIcon;
63424
+ if (!iconType) return FolderRoundedIcon;
63397
63425
  if (typeof iconType !== "string") return iconType;
63398
63426
  switch (iconType) {
63399
63427
  case ICON_TYPE.SHARE:
63400
- return ShareIcon;
63428
+ return ShareRoundedIcon;
63401
63429
  case ICON_TYPE.TRASH:
63402
- return DeleteIcon;
63430
+ return DeleteRoundedIcon;
63403
63431
  case ICON_TYPE.CUSTOM:
63404
- return customIcon || FolderIcon;
63432
+ return customIcon || FolderRoundedIcon;
63405
63433
  case ICON_TYPE.FOLDER:
63406
63434
  default:
63407
- return FolderIcon;
63435
+ return FolderRoundedIcon;
63408
63436
  }
63409
63437
  };
63410
63438
  const getItemId = (item) => item.internalId;
@@ -63483,7 +63511,7 @@ function CustomTreeItem(props) {
63483
63511
  typographyProps: labelStyle
63484
63512
  }
63485
63513
  ),
63486
- /* @__PURE__ */ jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsx(KeyboardArrowDownIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx(KeyboardArrowRightIcon, { fontSize: "small" })) })
63514
+ /* @__PURE__ */ jsx(Box, { sx: arrowContainerStyle, children: status.expandable && (status.expanded ? /* @__PURE__ */ jsx(KeyboardArrowDownRoundedIcon, { fontSize: "small" }) : /* @__PURE__ */ jsx(KeyboardArrowRightRoundedIcon, { fontSize: "small" })) })
63487
63515
  ] }),
63488
63516
  children && /* @__PURE__ */ jsx(
63489
63517
  TreeItemGroupTransition,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.11.1-dev.1765194222",
3
+ "version": "1.11.1-dev.1765288172",
4
4
  "description": "React component library for Hub's design system, built on Material UI with custom and extended components.",
5
5
  "keywords": [
6
6
  "cgi-learning-hub",