@edifice.io/react 2.2.2-develop-pedago.20250409103005 → 2.2.2-develop-b2school.20250409142344

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.
Files changed (125) hide show
  1. package/dist/components/Avatar/Avatar.d.ts +0 -21
  2. package/dist/components/Avatar/Avatar.js +2 -15
  3. package/dist/components/Card/Card.d.ts +1 -3
  4. package/dist/components/Card/CardBody.d.ts +1 -3
  5. package/dist/components/Card/CardBody.js +2 -4
  6. package/dist/components/Combobox/Combobox.d.ts +55 -5
  7. package/dist/components/Combobox/Combobox.js +13 -7
  8. package/dist/components/Combobox/ComboboxTrigger.d.ts +30 -2
  9. package/dist/components/Combobox/ComboboxTrigger.js +28 -8
  10. package/dist/components/Dropdown/Dropdown.d.ts +6 -6
  11. package/dist/components/Dropdown/Dropdown.js +4 -5
  12. package/dist/components/Dropdown/DropdownItem.d.ts +3 -3
  13. package/dist/components/Dropdown/DropdownItem.js +6 -8
  14. package/dist/components/Dropdown/DropdownTrigger.d.ts +2 -31
  15. package/dist/components/Dropdown/DropdownTrigger.js +8 -24
  16. package/dist/components/List/List.d.ts +9 -1
  17. package/dist/components/List/List.js +9 -9
  18. package/dist/components/SearchBar/SearchBar.d.ts +1 -1
  19. package/dist/components/SearchBar/SearchBar.js +3 -1
  20. package/dist/components/index.d.ts +0 -4
  21. package/dist/editor.js +22 -22
  22. package/dist/hooks/index.d.ts +1 -0
  23. package/dist/hooks/useCheckable/useCheckable.js +10 -3
  24. package/dist/hooks/useConf/useConf.d.ts +1 -1
  25. package/dist/hooks/useConversation/useConversation.d.ts +1 -1
  26. package/dist/hooks/useConversation/useConversation.js +13 -17
  27. package/dist/hooks/useDropdown/useDropdown.d.ts +1 -1
  28. package/dist/hooks/useDropdown/useDropdown.js +3 -3
  29. package/dist/hooks/useSession/useSession.d.ts +1 -1
  30. package/dist/hooks/useWorkspaceFolders/index.d.ts +1 -0
  31. package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +14 -0
  32. package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +44 -0
  33. package/dist/icons.js +230 -212
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +172 -154
  36. package/dist/modals.js +16 -14
  37. package/dist/modules/comments/components/Comment.js +34 -49
  38. package/dist/modules/comments/components/CommentForm.d.ts +1 -2
  39. package/dist/modules/comments/components/CommentForm.js +8 -12
  40. package/dist/modules/comments/components/CommentList.js +3 -3
  41. package/dist/modules/comments/constants.d.ts +0 -4
  42. package/dist/modules/comments/constants.js +1 -2
  43. package/dist/modules/comments/context/Context.d.ts +4 -6
  44. package/dist/modules/comments/hooks/useComments.d.ts +7 -7
  45. package/dist/modules/comments/hooks/useComments.js +19 -24
  46. package/dist/modules/comments/hooks/useCommentsContext.d.ts +4 -6
  47. package/dist/modules/comments/provider/CommentProvider.js +13 -16
  48. package/dist/modules/comments/types.d.ts +1 -14
  49. package/dist/modules/editor/components/Editor/Editor.d.ts +3 -1
  50. package/dist/modules/editor/components/Editor/Editor.js +5 -8
  51. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +0 -12
  52. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.d.ts +2 -0
  53. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.js +10 -0
  54. package/dist/modules/editor/components/NodeView/index.d.ts +2 -2
  55. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.d.ts +8 -0
  56. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.js +28 -0
  57. package/dist/modules/editor/components/Renderer/index.d.ts +2 -2
  58. package/dist/modules/editor/hooks/useTipTapEditor.d.ts +6 -2
  59. package/dist/modules/editor/hooks/useTipTapEditor.js +2 -4
  60. package/dist/modules/icons/components/IconFolderAdd.d.ts +7 -0
  61. package/dist/modules/icons/components/IconFolderAdd.js +13 -0
  62. package/dist/modules/icons/components/IconFolderDelete.d.ts +7 -0
  63. package/dist/modules/icons/components/IconFolderDelete.js +12 -0
  64. package/dist/modules/icons/components/IconGlobe2.d.ts +7 -0
  65. package/dist/modules/icons/components/IconGlobe2.js +16 -0
  66. package/dist/modules/icons/components/IconGroupAvatar.d.ts +7 -0
  67. package/dist/modules/icons/components/IconGroupAvatar.js +12 -0
  68. package/dist/modules/icons/components/IconMailRecall.d.ts +7 -0
  69. package/dist/modules/icons/components/IconMailRecall.js +13 -0
  70. package/dist/modules/icons/components/IconQuestionMark.d.ts +7 -0
  71. package/dist/modules/icons/components/IconQuestionMark.js +13 -0
  72. package/dist/modules/icons/components/IconReadMail.d.ts +7 -0
  73. package/dist/modules/icons/components/IconReadMail.js +16 -0
  74. package/dist/modules/icons/components/IconSignature.d.ts +7 -0
  75. package/dist/modules/icons/components/IconSignature.js +13 -0
  76. package/dist/modules/icons/components/IconUndoAll.d.ts +7 -0
  77. package/dist/modules/icons/components/IconUndoAll.js +14 -0
  78. package/dist/modules/icons/components/IconUnreadMail.d.ts +7 -0
  79. package/dist/modules/icons/components/IconUnreadMail.js +16 -0
  80. package/dist/modules/icons/components/index.d.ts +10 -1
  81. package/dist/modules/modals/ConfirmModal/ConfirmModal.d.ts +42 -0
  82. package/dist/modules/modals/ConfirmModal/ConfirmModal.js +36 -0
  83. package/dist/modules/modals/ConfirmModal/index.d.ts +1 -0
  84. package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
  85. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
  86. package/dist/modules/modals/ShareModal/ShareModal.d.ts +1 -1
  87. package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
  88. package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
  89. package/dist/modules/modals/index.d.ts +1 -0
  90. package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +5 -9
  91. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.d.ts +8 -0
  92. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.js +28 -0
  93. package/dist/modules/multimedia/WorkspaceFolders/index.d.ts +1 -0
  94. package/dist/modules/multimedia/index.d.ts +1 -0
  95. package/dist/multimedia.js +3 -1
  96. package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
  97. package/dist/types/index.d.ts +0 -1
  98. package/package.json +6 -6
  99. package/dist/components/AvatarGroup/AvatarGroup.d.ts +0 -24
  100. package/dist/components/AvatarGroup/AvatarGroup.js +0 -24
  101. package/dist/components/AvatarGroup/index.d.ts +0 -2
  102. package/dist/components/PreventPropagation/PreventPropagation.d.ts +0 -10
  103. package/dist/components/PreventPropagation/PreventPropagation.js +0 -9
  104. package/dist/components/PreventPropagation/index.d.ts +0 -2
  105. package/dist/components/StackedGroup/StackedGroup.d.ts +0 -23
  106. package/dist/components/StackedGroup/StackedGroup.js +0 -21
  107. package/dist/components/StackedGroup/index.d.ts +0 -1
  108. package/dist/components/Switch/Switch.d.ts +0 -29
  109. package/dist/components/Switch/Switch.js +0 -27
  110. package/dist/components/Switch/index.d.ts +0 -2
  111. package/dist/modules/comments/components/CommentDeleted.d.ts +0 -1
  112. package/dist/modules/comments/components/CommentDeleted.js +0 -11
  113. package/dist/modules/comments/components/CommentReplies.d.ts +0 -4
  114. package/dist/modules/comments/components/CommentReplies.js +0 -33
  115. package/dist/modules/comments/hooks/useCommentReplies.d.ts +0 -12
  116. package/dist/modules/comments/hooks/useCommentReplies.js +0 -36
  117. package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.d.ts +0 -6
  118. package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.js +0 -136
  119. package/dist/modules/editor/components/BubbleMenuEditInformationPane/index.d.ts +0 -1
  120. package/dist/modules/editor/components/NodeView/InformationPaneNodeView.d.ts +0 -2
  121. package/dist/modules/editor/components/NodeView/InformationPaneNodeView.js +0 -10
  122. package/dist/modules/editor/components/Renderer/InformationPaneRenderer.d.ts +0 -3
  123. package/dist/modules/editor/components/Renderer/InformationPaneRenderer.js +0 -33
  124. package/dist/modules/icons/components/IconInfoRectangle.d.ts +0 -7
  125. package/dist/modules/icons/components/IconInfoRectangle.js +0 -13
@@ -0,0 +1,13 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconMailRecall = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#icon-mail-recall_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M2.253 6.532A1.34 1.34 0 0 1 3.333 6H6.5a1 1 0 0 0 0-2H3.333C1.512 4 0 5.452 0 7.286v11.428C0 20.548 1.512 22 3.333 22h16.334C21.488 22 23 20.548 23 18.714a1 1 0 1 0-2 0c0 .691-.577 1.286-1.333 1.286H3.333C2.577 20 2 19.405 2 18.714V8.666l8.442 5.066a3 3 0 0 0 3.118-.02l1.965-1.21a1 1 0 1 0-1.05-1.703l-1.964 1.211a1 1 0 0 1-1.04.007L2.515 6.643a1 1 0 0 0-.262-.11M15.8 8.6a1 1 0 0 0-.2-1.4L14 6h4a4 4 0 0 1 4 4v.2a3.8 3.8 0 0 1-3.8 3.8 1 1 0 1 0 0 2 5.8 5.8 0 0 0 5.8-5.8V10a6 6 0 0 0-6-6h-4l1.6-1.2a1 1 0 1 0-1.2-1.6l-3.99 2.993a1 1 0 0 0 0 1.614L14.4 8.8a1 1 0 0 0 1.4-.2", clipRule: "evenodd" }) }),
9
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-mail-recall_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
+ ] });
11
+ export {
12
+ SvgIconMailRecall as default
13
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconQuestionMark: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconQuestionMark;
@@ -0,0 +1,13 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconQuestionMark = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.579 5.429C9.172 5.964 9 6.706 9 7.44a1 1 0 0 1-2 0c0-.99.223-2.217.987-3.222.8-1.051 2.086-1.718 3.905-1.718 2.032 0 3.284 1.043 3.892 2.323.563 1.184.578 2.568.265 3.445-.409 1.148-1.191 2.056-1.81 2.773l-.27.317c-.7.83-1.077 1.427-1.077 2.157v1.806a1 1 0 1 1-2 0v-1.806c0-1.513.835-2.6 1.546-3.445q.16-.189.312-.366c.629-.737 1.141-1.337 1.415-2.107.128-.359.157-1.192-.187-1.915-.298-.627-.874-1.182-2.086-1.182-1.283 0-1.943.442-2.313.929", clipRule: "evenodd" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M13.762 19.888a1.612 1.612 0 1 1-3.223 0 1.612 1.612 0 0 1 3.223 0" })
10
+ ] });
11
+ export {
12
+ SvgIconQuestionMark as default
13
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconReadMail: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconReadMail;
@@ -0,0 +1,16 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconReadMail = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsxs("g", { fill: "currentColor", fillRule: "evenodd", clipPath: "url(#icon-read-mail_svg__a)", clipRule: "evenodd", children: [
9
+ /* @__PURE__ */ jsx("path", { d: "M1.143 8.986a1 1 0 0 1 1.372-.343l8.97 5.382a1 1 0 0 0 1.03 0l8.97-5.382a1 1 0 1 1 1.03 1.714l-8.971 5.383a3 3 0 0 1-3.088 0l-8.97-5.382a1 1 0 0 1-.343-1.373" }),
10
+ /* @__PURE__ */ jsx("path", { d: "M12.466 2.4a.95.95 0 0 0-.932 0c-1.333.74-3.83 2.146-5.99 3.465-1.083.662-2.063 1.29-2.764 1.797a8 8 0 0 0-.78.62v11.003H0V8c0-.38.191-.664.272-.776.107-.148.238-.285.364-.404.254-.24.594-.506.973-.78.765-.552 1.797-1.212 2.892-1.881C6.697 2.817 9.224 1.395 10.563.65a2.95 2.95 0 0 1 2.874 0c1.34.744 3.866 2.166 6.062 3.508 1.095.669 2.127 1.33 2.892 1.882.38.273.719.54.973.78.126.118.257.255.364.403.08.112.272.395.272.776v11.285h-2V8.284l-.009-.008a8 8 0 0 0-.77-.613c-.702-.506-1.682-1.135-2.765-1.797-2.16-1.32-4.657-2.725-5.99-3.466M2.321 19.802c.253.192.647.34 1.123.34h17.112c.476 0 .87-.148 1.123-.34.252-.192.321-.384.321-.517h2c0 .892-.479 1.629-1.111 2.11-.632.479-1.46.747-2.333.747H3.444c-.873 0-1.701-.268-2.333-.748S0 20.178 0 19.285h2c0 .133.069.326.32.518" })
11
+ ] }),
12
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-read-mail_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
13
+ ] });
14
+ export {
15
+ SvgIconReadMail as default
16
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconSignature: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconSignature;
@@ -0,0 +1,13 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconSignature = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("g", { fill: "currentColor", fillRule: "evenodd", clipPath: "url(#icon-signature_svg__a)", clipRule: "evenodd", children: /* @__PURE__ */ jsx("path", { d: "M6.82 11.679c-.047-.013-.298-.045-.906.231-.551.25-1.204.894-1.838 1.899-.616.978-1.143 2.185-1.496 3.391-.356 1.215-.514 2.358-.45 3.215.07.92.35 1.154.476 1.204.093.037.44.071 1.142-.166.648-.219 1.427-.61 2.243-1.132q.383-.245.761-.517v-.019c-.055-1.175.068-2.549.18-3.802q.038-.416.072-.81c.062-.746.105-1.427.098-2.014-.008-.602-.069-1.02-.165-1.28a.6.6 0 0 0-.1-.19c-.008-.008-.008-.008-.015-.01zm1.951 6.422c.035-.602.091-1.234.149-1.88l.077-.882c.063-.757.113-1.516.105-2.204-.009-.673-.073-1.365-.289-1.95-.227-.613-.669-1.216-1.461-1.434-.719-.198-1.5-.01-2.266.339-1.078.49-1.99 1.524-2.701 2.652-.729 1.155-1.327 2.537-1.725 3.896-.395 1.35-.613 2.748-.524 3.927.084 1.117.486 2.415 1.727 2.911.79.316 1.73.14 2.525-.128.848-.286 1.775-.763 2.68-1.342l.1-.065c.267.629.712 1.205 1.428 1.521 1.046.463 1.95.47 2.757.243.562-.158 1.104-.449 1.511-.667q.166-.09.297-.157c.476-.24.803-.342 1.154-.306.356.037.91.236 1.756.987a1 1 0 0 0 1.327-1.496c-1.02-.906-1.953-1.385-2.879-1.48-.931-.096-1.682.219-2.259.51-.182.091-.34.176-.485.253-.36.193-.63.337-.962.43-.37.104-.796.125-1.409-.146-.135-.06-.278-.185-.406-.502a3 3 0 0 1-.13-.432c1.164-.95 2.234-2.049 2.964-3.144a1 1 0 1 0-1.664-1.11 11 11 0 0 1-1.397 1.656M10.201 2.114c.306.049.58.217.762.468l10.453 14.397.198 2.262-2.089-.89L9.073 3.955a1.168 1.168 0 0 1 1.128-1.84m2.38-.707a3.168 3.168 0 0 0-5.127 3.722L18.07 19.751a1 1 0 0 0 .417.333l3.878 1.65a1 1 0 0 0 1.388-1.008l-.369-4.198a1 1 0 0 0-.187-.5z" }) }),
9
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-signature_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
+ ] });
11
+ export {
12
+ SvgIconSignature as default
13
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconUndoAll: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconUndoAll;
@@ -0,0 +1,14 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconUndoAll = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M11.648 12.564a.917.917 0 0 0 0-1.297L7.713 7.332l3.935-3.935A.917.917 0 1 0 10.352 2.1L5.768 6.684a.917.917 0 0 0 0 1.296l4.584 4.583a.917.917 0 0 0 1.296 0", clipRule: "evenodd" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M7.523 12.564a.917.917 0 0 0 0-1.297L3.588 7.332l3.935-3.935A.917.917 0 1 0 6.227 2.1L1.643 6.684a.917.917 0 0 0 0 1.296l4.584 4.583a.917.917 0 0 0 1.296 0", clipRule: "evenodd" }),
10
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M19.25 18.332c.506 0 .917-.41.917-.917V11a4.583 4.583 0 0 0-4.584-4.584H6.417a.917.917 0 0 0 0 1.834h9.166a2.75 2.75 0 0 1 2.75 2.75v6.416c0 .507.41.917.917.917", clipRule: "evenodd" })
11
+ ] });
12
+ export {
13
+ SvgIconUndoAll as default
14
+ };
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconUnreadMail: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconUnreadMail;
@@ -0,0 +1,16 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconUnreadMail = ({
3
+ title,
4
+ titleId,
5
+ ...props
6
+ }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
7
+ title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
+ /* @__PURE__ */ jsxs("g", { fill: "currentColor", fillRule: "evenodd", clipPath: "url(#icon-unread-mail_svg__a)", clipRule: "evenodd", children: [
9
+ /* @__PURE__ */ jsx("path", { d: "M7.975 4.5a5.1 5.1 0 0 0-.204-2h12.785A3.437 3.437 0 0 1 24 5.948V18.07c0 1.9-1.548 3.429-3.444 3.429H3.444A3.437 3.437 0 0 1 0 18.071V8.001c.581.436 1.261.749 2 .899v9.171c0 .783.64 1.429 1.444 1.429h17.112c.803 0 1.444-.646 1.444-1.429V7.79l-9.448 6.257a1 1 0 0 1-1.104 0L3.744 8.945a5 5 0 0 0 2.228-.924L12 12.014l9.916-6.567c-.2-.55-.73-.947-1.36-.947z" }),
10
+ /* @__PURE__ */ jsx("path", { d: "M3 7a3 3 0 1 0 0-6 3 3 0 0 0 0 6" })
11
+ ] }),
12
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-unread-mail_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
13
+ ] });
14
+ export {
15
+ SvgIconUnreadMail as default
16
+ };
@@ -44,11 +44,15 @@ export { default as IconExternalLink } from './IconExternalLink';
44
44
  export { default as IconFiles } from './IconFiles';
45
45
  export { default as IconFilter } from './IconFilter';
46
46
  export { default as IconFlag } from './IconFlag';
47
+ export { default as IconFolderAdd } from './IconFolderAdd';
48
+ export { default as IconFolderDelete } from './IconFolderDelete';
47
49
  export { default as IconFolderMove } from './IconFolderMove';
48
50
  export { default as IconFolder } from './IconFolder';
49
51
  export { default as IconForgoing } from './IconForgoing';
50
52
  export { default as IconFullScreen } from './IconFullScreen';
53
+ export { default as IconGlobe2 } from './IconGlobe2';
51
54
  export { default as IconGlobe } from './IconGlobe';
55
+ export { default as IconGroupAvatar } from './IconGroupAvatar';
52
56
  export { default as IconHandMove } from './IconHandMove';
53
57
  export { default as IconHeadphone } from './IconHeadphone';
54
58
  export { default as IconHide } from './IconHide';
@@ -61,12 +65,12 @@ export { default as IconImageSizeMedium } from './IconImageSizeMedium';
61
65
  export { default as IconImageSizeSmall } from './IconImageSizeSmall';
62
66
  export { default as IconInbox } from './IconInbox';
63
67
  export { default as IconInfoCircle } from './IconInfoCircle';
64
- export { default as IconInfoRectangle } from './IconInfoRectangle';
65
68
  export { default as IconLandscape } from './IconLandscape';
66
69
  export { default as IconLink } from './IconLink';
67
70
  export { default as IconListOrder } from './IconListOrder';
68
71
  export { default as IconLoader } from './IconLoader';
69
72
  export { default as IconLock } from './IconLock';
73
+ export { default as IconMailRecall } from './IconMailRecall';
70
74
  export { default as IconMail } from './IconMail';
71
75
  export { default as IconMergeCells } from './IconMergeCells';
72
76
  export { default as IconMessageInfo } from './IconMessageInfo';
@@ -87,12 +91,14 @@ export { default as IconPlus } from './IconPlus';
87
91
  export { default as IconPointerDefault } from './IconPointerDefault';
88
92
  export { default as IconPointerHand } from './IconPointerHand';
89
93
  export { default as IconPrint } from './IconPrint';
94
+ export { default as IconQuestionMark } from './IconQuestionMark';
90
95
  export { default as IconQuestion } from './IconQuestion';
91
96
  export { default as IconRafterDown } from './IconRafterDown';
92
97
  export { default as IconRafterLeft } from './IconRafterLeft';
93
98
  export { default as IconRafterRight } from './IconRafterRight';
94
99
  export { default as IconRafterUp } from './IconRafterUp';
95
100
  export { default as IconReaction } from './IconReaction';
101
+ export { default as IconReadMail } from './IconReadMail';
96
102
  export { default as IconRecordPause } from './IconRecordPause';
97
103
  export { default as IconRecordStop } from './IconRecordStop';
98
104
  export { default as IconRecordVideo } from './IconRecordVideo';
@@ -109,6 +115,7 @@ export { default as IconSend } from './IconSend';
109
115
  export { default as IconSetBackground } from './IconSetBackground';
110
116
  export { default as IconSettings } from './IconSettings';
111
117
  export { default as IconShare } from './IconShare';
118
+ export { default as IconSignature } from './IconSignature';
112
119
  export { default as IconSmartphone } from './IconSmartphone';
113
120
  export { default as IconSmiley } from './IconSmiley';
114
121
  export { default as IconSortAscendingLetters } from './IconSortAscendingLetters';
@@ -136,9 +143,11 @@ export { default as IconTextVanilla } from './IconTextVanilla';
136
143
  export { default as IconToolCenter } from './IconToolCenter';
137
144
  export { default as IconTool } from './IconTool';
138
145
  export { default as IconTrendingUp } from './IconTrendingUp';
146
+ export { default as IconUndoAll } from './IconUndoAll';
139
147
  export { default as IconUndo } from './IconUndo';
140
148
  export { default as IconUnlink } from './IconUnlink';
141
149
  export { default as IconUnlock } from './IconUnlock';
150
+ export { default as IconUnreadMail } from './IconUnreadMail';
142
151
  export { default as IconUpload } from './IconUpload';
143
152
  export { default as IconUserSearch } from './IconUserSearch';
144
153
  export { default as IconUser } from './IconUser';
@@ -0,0 +1,42 @@
1
+ import { ReactNode } from 'react';
2
+ export type ConfirmModalVariant = 'yes/no' | 'ok/cancel';
3
+ interface ConfirmModalProps {
4
+ /**
5
+ * Variant of text buttons content
6
+ */
7
+ variant?: ConfirmModalVariant;
8
+ /**
9
+ * Modal id (useful when multiple modal on the same page)
10
+ */
11
+ id: string;
12
+ /**
13
+ * Is Modal Open
14
+ */
15
+ isOpen: boolean;
16
+ /**
17
+ * Content of header modal's
18
+ */
19
+ header?: ReactNode;
20
+ /**
21
+ * Content of body modal's
22
+ */
23
+ body?: ReactNode;
24
+ /**
25
+ * Key text translation of confirm button (useTranslation('common'))
26
+ */
27
+ okText?: string;
28
+ /**
29
+ * Key text translation of cancel button (useTranslation('common'))
30
+ */
31
+ koText?: string;
32
+ /**
33
+ * Function to call when success button proceed
34
+ */
35
+ onSuccess?: () => void;
36
+ /**
37
+ * Function to call when closing modal
38
+ */
39
+ onCancel?: () => void;
40
+ }
41
+ export default function ConfirmModal({ variant, id, isOpen, header, body, okText, koText, onSuccess, onCancel, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
42
+ export {};
@@ -0,0 +1,36 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useTranslation } from "react-i18next";
3
+ import Modal from "../../../components/Modal/Modal.js";
4
+ import Button from "../../../components/Button/Button.js";
5
+ function ConfirmModal({
6
+ variant = "yes/no",
7
+ id,
8
+ isOpen,
9
+ header,
10
+ body,
11
+ okText,
12
+ koText,
13
+ onSuccess = () => ({}),
14
+ onCancel = () => ({})
15
+ }) {
16
+ const {
17
+ t
18
+ } = useTranslation(), ok = {
19
+ "yes/no": t("yes"),
20
+ "ok/cancel": t("ok")
21
+ }, ko = {
22
+ "yes/no": t("no"),
23
+ "ok/cancel": t("cancel")
24
+ };
25
+ return /* @__PURE__ */ jsxs(Modal, { isOpen, onModalClose: onCancel, id, children: [
26
+ /* @__PURE__ */ jsx(Modal.Header, { onModalClose: onCancel, children: header }),
27
+ /* @__PURE__ */ jsx(Modal.Body, { children: body }),
28
+ /* @__PURE__ */ jsxs(Modal.Footer, { children: [
29
+ /* @__PURE__ */ jsx(Button, { color: "tertiary", onClick: onCancel, type: "button", variant: "ghost", children: koText ? t(koText) : ko[variant] }),
30
+ /* @__PURE__ */ jsx(Button, { color: "danger", onClick: onSuccess, type: "button", variant: "filled", children: okText ? t(okText) : ok[variant] })
31
+ ] })
32
+ ] });
33
+ }
34
+ export {
35
+ ConfirmModal as default
36
+ };
@@ -0,0 +1 @@
1
+ export { default as ConfirmModal } from './ConfirmModal';
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { CreateParameters, CreateResult, ID, IFolder, UpdateParameters, UpdateResult } from '@edifice.io/client';
3
- import { UseMutationResult } from '../../../node_modules/@tanstack/react-query';
3
+ import { UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
4
4
  export interface FormInputs {
5
5
  title: string;
6
6
  description: string;
@@ -1,5 +1,5 @@
1
1
  import { UpdateParameters, UpdateResult } from '@edifice.io/client';
2
- import { UseMutationOptions, UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
2
+ import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
3
3
  declare const useUpdateMutation: ({ application, options, }: {
4
4
  application: string;
5
5
  options?: UseMutationOptions<UpdateResult, Error, UpdateParameters>;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ID, PutShareResponse, RightStringified, ShareRight } from '@edifice.io/client';
3
- import { UseMutationResult } from '../../../node_modules/@tanstack/react-query';
3
+ import { UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
4
4
  export type ShareOptions = {
5
5
  resourceId: ID;
6
6
  resourceRights: RightStringified[];
@@ -1,5 +1,5 @@
1
1
  import { ID, UpdateParameters, UpdateResult } from '@edifice.io/client';
2
- import { UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
2
+ import { UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
3
3
  export type PublicationType = 'RESTRAINT' | 'IMMEDIATE' | undefined;
4
4
  export interface ShareBlogProps {
5
5
  resourceId: ID;
@@ -1,5 +1,5 @@
1
1
  import { PutShareResponse, ShareRight } from '@edifice.io/client';
2
- import { UseMutationOptions, UseMutationResult } from '../../../../node_modules/@tanstack/react-query';
2
+ import { UseMutationOptions, UseMutationResult } from '../../../../../node_modules/@tanstack/react-query';
3
3
  declare const useShareMutation: ({ application, options, }: {
4
4
  application: string;
5
5
  options?: UseMutationOptions<PutShareResponse, Error, {
@@ -1,3 +1,4 @@
1
+ export * from './ConfirmModal';
1
2
  export * from './OnboardingModal';
2
3
  export * from './PublishModal';
3
4
  export * from './ResourceModal';
@@ -73,26 +73,22 @@ const InternalLinker = ({
73
73
  }, [setSelectedDocuments, multiple]), toggleResourceSelection = useCallback((resource) => {
74
74
  const index = getSelectedResourceIndex(resource.assetId);
75
75
  index < 0 ? selectResource(resource) : setSelectedDocuments(selectedDocuments.filter((_value, i) => i !== index));
76
- }, [getSelectedResourceIndex, selectResource, selectedDocuments]), processApplicationOptions = (applications, t2) => applications.map((option) => ({
77
- ...option,
78
- displayName: option.application === "exercizer" ? `${t2("bbm.linker.int.app.exercizer")}` : option.application === "forms" ? `${t2("bbm.linker.int.app.forms")}` : option.displayName
79
- }));
76
+ }, [getSelectedResourceIndex, selectResource, selectedDocuments]);
80
77
  return useEffect(() => {
81
78
  (async () => {
82
79
  if (applicationList) {
83
- setOptions(processApplicationOptions(applicationList.sort((app1, app2) => app1.displayName.localeCompare(app2.displayName)), t));
80
+ setOptions(applicationList.sort((app1, app2) => app1.displayName.localeCompare(app2.displayName)));
84
81
  return;
85
82
  }
86
83
  const appPromises = resourceApplications.map((application) => odeServices.session().getWebApp(application)), webApps = await Promise.all(appPromises);
87
- setOptions(processApplicationOptions(resourceApplications.map((application, index) => {
84
+ setOptions(resourceApplications.map((application, index) => {
88
85
  var _a;
89
- const displayName = ((_a = webApps[index]) == null ? void 0 : _a.displayName) ?? application;
90
86
  return {
91
87
  application,
92
- displayName,
88
+ displayName: t(((_a = webApps[index]) == null ? void 0 : _a.displayName) ?? application),
93
89
  icon: /* @__PURE__ */ jsx(AppIcon, { app: webApps[index], size: "24" })
94
90
  };
95
- }).sort((app1, app2) => app1.displayName.localeCompare(app2.displayName)), t));
91
+ }).sort((app1, app2) => app1.displayName.localeCompare(app2.displayName)));
96
92
  })();
97
93
  }, [resourceApplications, t, applicationList]), useEffect(() => {
98
94
  loadAndDisplayResources(debounceSearch);
@@ -0,0 +1,8 @@
1
+ interface WorkspaceFoldersProps {
2
+ /**
3
+ * Function called when a folder is selected
4
+ */
5
+ onFolderSelected: (folderId: string) => void;
6
+ }
7
+ export default function WorkspaceFolders({ onFolderSelected, }: WorkspaceFoldersProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,28 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { useTranslation } from "react-i18next";
3
+ import { useState } from "react";
4
+ import useWorkspaceFolders from "../../../hooks/useWorkspaceFolders/useWorkspaceFolders.js";
5
+ import SearchBar from "../../../components/SearchBar/SearchBar.js";
6
+ import Tree from "../../../components/Tree/components/Tree.js";
7
+ function WorkspaceFolders({
8
+ onFolderSelected
9
+ }) {
10
+ const {
11
+ t
12
+ } = useTranslation(), {
13
+ folderTree,
14
+ setSearchQuery
15
+ } = useWorkspaceFolders(), [shouldExpandAllNodes, setShouldExpandAllNodes] = useState(!1), [searchValue, setSearchValue] = useState(""), handleSearchChange = (e) => {
16
+ setSearchValue(e.target.value);
17
+ }, handleSearchSubmit = () => {
18
+ setSearchQuery(searchValue), setShouldExpandAllNodes(searchValue !== "");
19
+ };
20
+ return /* @__PURE__ */ jsxs("div", { className: "d-flex flex-column gap-12", children: [
21
+ /* @__PURE__ */ jsx("p", { children: t("attachments.add.to.folder.modal.description") }),
22
+ /* @__PURE__ */ jsx(SearchBar, { onChange: handleSearchChange, isVariant: !1, placeholder: t("search"), onClick: handleSearchSubmit }),
23
+ /* @__PURE__ */ jsx("div", { className: "border border-gray-400 rounded", children: /* @__PURE__ */ jsx("div", { className: "p-12", children: /* @__PURE__ */ jsx(Tree, { nodes: folderTree, onTreeItemClick: onFolderSelected, shouldExpandAllNodes }) }) })
24
+ ] });
25
+ }
26
+ export {
27
+ WorkspaceFolders as default
28
+ };
@@ -0,0 +1 @@
1
+ export { default as WorkspaceFolders } from './WorkspaceFolders';
@@ -7,3 +7,4 @@ export * from './MediaLibrary';
7
7
  export * from './VideoEmbed';
8
8
  export * from './VideoRecorder';
9
9
  export * from './Workspace';
10
+ export * from './WorkspaceFolders';
@@ -6,6 +6,7 @@ import { default as default6 } from "./modules/multimedia/MediaLibrary/MediaLibr
6
6
  import { default as default7 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
7
7
  import { default as default8 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
8
8
  import { default as default9 } from "./modules/multimedia/Workspace/Workspace.js";
9
+ import { default as default10 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
9
10
  import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
10
11
  import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
11
12
  export {
@@ -18,5 +19,6 @@ export {
18
19
  default6 as MediaLibrary,
19
20
  default7 as VideoEmbed,
20
21
  default8 as VideoRecorder,
21
- default9 as Workspace
22
+ default9 as Workspace,
23
+ default10 as WorkspaceFolders
22
24
  };
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { App, IGetConf, IGetSession, IUserDescription, IUserInfo, IWebApp, UserProfile } from '@edifice.io/client';
3
- import { UseQueryResult } from '../../node_modules/@tanstack/react-query';
3
+ import { UseQueryResult } from '../../../node_modules/@tanstack/react-query';
4
4
  export interface EdificeClientParams {
5
5
  alternativeApp?: boolean;
6
6
  app: App;
@@ -1,4 +1,3 @@
1
1
  export { type Size } from './size';
2
2
  export { type Status } from './status';
3
3
  export { type TreeData } from './treedata';
4
- export { type Color } from './color';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.2.2-develop-pedago.20250409103005",
3
+ "version": "2.2.2-develop-b2school.20250409142344",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -118,9 +118,9 @@
118
118
  "react-slugify": "^3.0.3",
119
119
  "swiper": "^10.1.0",
120
120
  "ua-parser-js": "^1.0.36",
121
- "@edifice.io/bootstrap": "2.2.2-develop-pedago.20250409103005",
122
- "@edifice.io/tiptap-extensions": "2.2.2-develop-pedago.20250409103005",
123
- "@edifice.io/utilities": "2.2.2-develop-pedago.20250409103005"
121
+ "@edifice.io/bootstrap": "2.2.2-develop-b2school.20250409142344",
122
+ "@edifice.io/tiptap-extensions": "2.2.2-develop-b2school.20250409142344",
123
+ "@edifice.io/utilities": "2.2.2-develop-b2school.20250409142344"
124
124
  },
125
125
  "devDependencies": {
126
126
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
@@ -151,8 +151,8 @@
151
151
  "vite": "^5.4.11",
152
152
  "vite-plugin-dts": "^4.1.0",
153
153
  "vite-tsconfig-paths": "^5.0.1",
154
- "@edifice.io/client": "2.2.2-develop-pedago.20250409103005",
155
- "@edifice.io/config": "2.2.2-develop-pedago.20250409103005"
154
+ "@edifice.io/client": "2.2.2-develop-b2school.20250409142344",
155
+ "@edifice.io/config": "2.2.2-develop-b2school.20250409142344"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@react-spring/web": "^9.7.5",
@@ -1,24 +0,0 @@
1
- import { AvatarProps } from '../Avatar';
2
- export interface AvatarGroupProps extends Omit<AvatarProps, 'src'> {
3
- /**
4
- * List of avatar sources
5
- */
6
- src: string[];
7
- /**
8
- * Maximum number of avatars to display
9
- * @default 3
10
- */
11
- maxAvatars?: number;
12
- /**
13
- * Overlap between avatars (in pixels)
14
- * @default 20
15
- */
16
- overlap?: number;
17
- /**
18
- * Controls stacking order. When 'rightFirst', rightmost avatar has highest z-index
19
- * @default 'leftFirst'
20
- */
21
- stackingOrder?: 'leftFirst' | 'rightFirst';
22
- }
23
- declare const AvatarGroup: import('react').ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
24
- export default AvatarGroup;
@@ -1,24 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- import StackedGroup from "../StackedGroup/StackedGroup.js";
5
- import Avatar from "../Avatar/Avatar.js";
6
- const AvatarGroup = /* @__PURE__ */ forwardRef(({
7
- src,
8
- maxAvatars = 3,
9
- overlap = 20,
10
- className,
11
- size = "md",
12
- variant = "circle",
13
- alt,
14
- stackingOrder = "leftFirst",
15
- ...restProps
16
- }, ref) => {
17
- const visibleAvatars = src.slice(0, maxAvatars), classes = clsx("avatar-group", className);
18
- return /* @__PURE__ */ jsx("div", { ref, className: classes, style: {
19
- display: "flex"
20
- }, children: /* @__PURE__ */ jsx(StackedGroup, { overlap, stackingOrder, children: visibleAvatars.map((avatarSrc, index) => /* @__PURE__ */ jsx(Avatar, { src: avatarSrc, size, variant, alt: `${alt} ${index + 1}`, ...restProps })) }) });
21
- });
22
- export {
23
- AvatarGroup as default
24
- };
@@ -1,2 +0,0 @@
1
- export { default as AvatarGroup } from './AvatarGroup';
2
- export * from './AvatarGroup';
@@ -1,10 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface PreventPropagationProps {
3
- /** Children Props */
4
- children: ReactNode;
5
- }
6
- declare const PreventPropagation: {
7
- ({ children }: PreventPropagationProps): import("react/jsx-runtime").JSX.Element;
8
- displayName: string;
9
- };
10
- export default PreventPropagation;
@@ -1,9 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- const Root = ({
3
- children
4
- }) => /* @__PURE__ */ jsx("div", { onClick: (e) => {
5
- e.stopPropagation();
6
- }, children }), PreventPropagation = /* @__PURE__ */ Object.assign(Root, {});
7
- export {
8
- PreventPropagation as default
9
- };
@@ -1,2 +0,0 @@
1
- export { default as PreventPropagation } from './PreventPropagation';
2
- export * from './PreventPropagation';
@@ -1,23 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export interface StackedGroupProps {
3
- /**
4
- * Children to stack
5
- */
6
- children: ReactNode[];
7
- /**
8
- * Overlap between items (in pixels)
9
- * @default 20
10
- */
11
- overlap?: number;
12
- /**
13
- * Controls stacking order. When 'rightFirst', rightmost item has highest z-index
14
- * @default 'leftFirst'
15
- */
16
- stackingOrder?: 'leftFirst' | 'rightFirst';
17
- /**
18
- * Additional CSS class
19
- */
20
- className?: string;
21
- }
22
- declare const StackedGroup: import('react').ForwardRefExoticComponent<StackedGroupProps & import('react').RefAttributes<HTMLDivElement>>;
23
- export default StackedGroup;
@@ -1,21 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
- import clsx from "clsx";
4
- const StackedGroup = /* @__PURE__ */ forwardRef(({
5
- children,
6
- overlap = 20,
7
- className,
8
- stackingOrder = "leftFirst"
9
- }, ref) => {
10
- const classes = clsx("stacked-group", className);
11
- return /* @__PURE__ */ jsx("div", { ref, className: classes, style: {
12
- display: "flex",
13
- alignItems: "center"
14
- }, children: children.map((child, index) => /* @__PURE__ */ jsx("div", { style: {
15
- marginLeft: index === 0 ? 0 : `-${overlap}px`,
16
- zIndex: stackingOrder === "rightFirst" ? children.length - index : index + 1
17
- }, children: child }, index)) });
18
- });
19
- export {
20
- StackedGroup as default
21
- };
@@ -1 +0,0 @@
1
- export { default as StackedGroup } from './StackedGroup';