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

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 (124) hide show
  1. package/dist/components/Avatar/Avatar.d.ts +21 -0
  2. package/dist/components/Avatar/Avatar.js +15 -2
  3. package/dist/components/AvatarGroup/AvatarGroup.d.ts +24 -0
  4. package/dist/components/AvatarGroup/AvatarGroup.js +24 -0
  5. package/dist/components/AvatarGroup/index.d.ts +2 -0
  6. package/dist/components/Card/Card.d.ts +3 -1
  7. package/dist/components/Card/CardBody.d.ts +3 -1
  8. package/dist/components/Card/CardBody.js +4 -2
  9. package/dist/components/Combobox/Combobox.d.ts +5 -55
  10. package/dist/components/Combobox/Combobox.js +7 -13
  11. package/dist/components/Combobox/ComboboxTrigger.d.ts +2 -30
  12. package/dist/components/Combobox/ComboboxTrigger.js +8 -28
  13. package/dist/components/Dropdown/Dropdown.d.ts +6 -6
  14. package/dist/components/Dropdown/Dropdown.js +5 -4
  15. package/dist/components/Dropdown/DropdownItem.d.ts +3 -3
  16. package/dist/components/Dropdown/DropdownItem.js +8 -6
  17. package/dist/components/Dropdown/DropdownTrigger.d.ts +31 -2
  18. package/dist/components/Dropdown/DropdownTrigger.js +24 -8
  19. package/dist/components/List/List.d.ts +1 -9
  20. package/dist/components/List/List.js +9 -9
  21. package/dist/components/PreventPropagation/PreventPropagation.d.ts +10 -0
  22. package/dist/components/PreventPropagation/PreventPropagation.js +9 -0
  23. package/dist/components/PreventPropagation/index.d.ts +2 -0
  24. package/dist/components/SearchBar/SearchBar.d.ts +1 -1
  25. package/dist/components/SearchBar/SearchBar.js +1 -3
  26. package/dist/components/StackedGroup/StackedGroup.d.ts +23 -0
  27. package/dist/components/StackedGroup/StackedGroup.js +21 -0
  28. package/dist/components/StackedGroup/index.d.ts +1 -0
  29. package/dist/components/Switch/Switch.d.ts +29 -0
  30. package/dist/components/Switch/Switch.js +27 -0
  31. package/dist/components/Switch/index.d.ts +2 -0
  32. package/dist/components/index.d.ts +4 -0
  33. package/dist/editor.js +22 -22
  34. package/dist/hooks/index.d.ts +0 -1
  35. package/dist/hooks/useCheckable/useCheckable.js +3 -10
  36. package/dist/hooks/useConf/useConf.d.ts +1 -1
  37. package/dist/hooks/useConversation/useConversation.d.ts +1 -1
  38. package/dist/hooks/useConversation/useConversation.js +17 -13
  39. package/dist/hooks/useDropdown/useDropdown.d.ts +1 -1
  40. package/dist/hooks/useDropdown/useDropdown.js +3 -3
  41. package/dist/hooks/useSession/useSession.d.ts +1 -1
  42. package/dist/icons.js +212 -230
  43. package/dist/index.d.ts +0 -1
  44. package/dist/index.js +154 -172
  45. package/dist/modals.js +14 -16
  46. package/dist/modules/comments/components/Comment.js +49 -34
  47. package/dist/modules/comments/components/CommentDeleted.d.ts +1 -0
  48. package/dist/modules/comments/components/CommentDeleted.js +11 -0
  49. package/dist/modules/comments/components/CommentForm.d.ts +2 -1
  50. package/dist/modules/comments/components/CommentForm.js +12 -8
  51. package/dist/modules/comments/components/CommentList.js +3 -3
  52. package/dist/modules/comments/components/CommentReplies.d.ts +4 -0
  53. package/dist/modules/comments/components/CommentReplies.js +33 -0
  54. package/dist/modules/comments/constants.d.ts +4 -0
  55. package/dist/modules/comments/constants.js +2 -1
  56. package/dist/modules/comments/context/Context.d.ts +6 -4
  57. package/dist/modules/comments/hooks/useCommentReplies.d.ts +12 -0
  58. package/dist/modules/comments/hooks/useCommentReplies.js +36 -0
  59. package/dist/modules/comments/hooks/useComments.d.ts +7 -7
  60. package/dist/modules/comments/hooks/useComments.js +24 -19
  61. package/dist/modules/comments/hooks/useCommentsContext.d.ts +6 -4
  62. package/dist/modules/comments/provider/CommentProvider.js +16 -13
  63. package/dist/modules/comments/types.d.ts +14 -1
  64. package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.d.ts +6 -0
  65. package/dist/modules/editor/components/BubbleMenuEditInformationPane/BubbleMenuEditInformationPane.js +136 -0
  66. package/dist/modules/editor/components/BubbleMenuEditInformationPane/index.d.ts +1 -0
  67. package/dist/modules/editor/components/Editor/Editor.d.ts +1 -3
  68. package/dist/modules/editor/components/Editor/Editor.js +8 -5
  69. package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +12 -0
  70. package/dist/modules/editor/components/NodeView/InformationPaneNodeView.d.ts +2 -0
  71. package/dist/modules/editor/components/NodeView/InformationPaneNodeView.js +10 -0
  72. package/dist/modules/editor/components/NodeView/index.d.ts +2 -2
  73. package/dist/modules/editor/components/Renderer/InformationPaneRenderer.d.ts +3 -0
  74. package/dist/modules/editor/components/Renderer/InformationPaneRenderer.js +33 -0
  75. package/dist/modules/editor/components/Renderer/index.d.ts +2 -2
  76. package/dist/modules/editor/hooks/useTipTapEditor.d.ts +2 -6
  77. package/dist/modules/editor/hooks/useTipTapEditor.js +4 -2
  78. package/dist/modules/icons/components/IconInfoRectangle.d.ts +7 -0
  79. package/dist/modules/icons/components/IconInfoRectangle.js +13 -0
  80. package/dist/modules/icons/components/index.d.ts +1 -10
  81. package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
  82. package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
  83. package/dist/modules/modals/ShareModal/ShareModal.d.ts +1 -1
  84. package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +1 -1
  85. package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
  86. package/dist/modules/modals/index.d.ts +0 -1
  87. package/dist/modules/multimedia/index.d.ts +0 -1
  88. package/dist/multimedia.js +1 -3
  89. package/dist/providers/EdificeClientProvider/EdificeClientProvider.context.d.ts +1 -1
  90. package/dist/types/index.d.ts +1 -0
  91. package/package.json +6 -6
  92. package/dist/hooks/useWorkspaceFolders/index.d.ts +0 -1
  93. package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.d.ts +0 -14
  94. package/dist/hooks/useWorkspaceFolders/useWorkspaceFolders.js +0 -44
  95. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.d.ts +0 -2
  96. package/dist/modules/editor/components/NodeView/ConversationHistoryNodeView.js +0 -10
  97. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.d.ts +0 -8
  98. package/dist/modules/editor/components/Renderer/ConversationHistoryRenderer.js +0 -28
  99. package/dist/modules/icons/components/IconFolderAdd.d.ts +0 -7
  100. package/dist/modules/icons/components/IconFolderAdd.js +0 -13
  101. package/dist/modules/icons/components/IconFolderDelete.d.ts +0 -7
  102. package/dist/modules/icons/components/IconFolderDelete.js +0 -12
  103. package/dist/modules/icons/components/IconGlobe2.d.ts +0 -7
  104. package/dist/modules/icons/components/IconGlobe2.js +0 -16
  105. package/dist/modules/icons/components/IconGroupAvatar.d.ts +0 -7
  106. package/dist/modules/icons/components/IconGroupAvatar.js +0 -12
  107. package/dist/modules/icons/components/IconMailRecall.d.ts +0 -7
  108. package/dist/modules/icons/components/IconMailRecall.js +0 -13
  109. package/dist/modules/icons/components/IconQuestionMark.d.ts +0 -7
  110. package/dist/modules/icons/components/IconQuestionMark.js +0 -13
  111. package/dist/modules/icons/components/IconReadMail.d.ts +0 -7
  112. package/dist/modules/icons/components/IconReadMail.js +0 -16
  113. package/dist/modules/icons/components/IconSignature.d.ts +0 -7
  114. package/dist/modules/icons/components/IconSignature.js +0 -13
  115. package/dist/modules/icons/components/IconUndoAll.d.ts +0 -7
  116. package/dist/modules/icons/components/IconUndoAll.js +0 -14
  117. package/dist/modules/icons/components/IconUnreadMail.d.ts +0 -7
  118. package/dist/modules/icons/components/IconUnreadMail.js +0 -16
  119. package/dist/modules/modals/ConfirmModal/ConfirmModal.d.ts +0 -42
  120. package/dist/modules/modals/ConfirmModal/ConfirmModal.js +0 -36
  121. package/dist/modules/modals/ConfirmModal/index.d.ts +0 -1
  122. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.d.ts +0 -8
  123. package/dist/modules/multimedia/WorkspaceFolders/WorkspaceFolders.js +0 -28
  124. package/dist/modules/multimedia/WorkspaceFolders/index.d.ts +0 -1
@@ -0,0 +1,2 @@
1
+ declare const InformationPaneNodeView: (Component: any) => import('@tiptap/core').Node<any, any>;
2
+ export default InformationPaneNodeView;
@@ -0,0 +1,10 @@
1
+ import { InformationPane } from "@edifice.io/tiptap-extensions/information-pane";
2
+ import { ReactNodeViewRenderer } from "@tiptap/react";
3
+ const InformationPaneNodeView = (Component) => InformationPane.extend({
4
+ addNodeView() {
5
+ return ReactNodeViewRenderer(Component);
6
+ }
7
+ });
8
+ export {
9
+ InformationPaneNodeView as default
10
+ };
@@ -1,6 +1,6 @@
1
- export { default as AttachmentNodeView } from './AttachmentNodeView';
2
1
  export { default as AudioNodeView } from './AudioNodeView';
3
- export { default as ConversationHistoryNodeView } from './ConversationHistoryNodeView';
2
+ export { default as AttachmentNodeView } from './AttachmentNodeView';
4
3
  export { default as ImageNodeView } from './ImageNodeView';
5
4
  export { default as LinkerNodeView } from './LinkerNodeView';
6
5
  export { default as VideoNodeView } from './VideoNodeView';
6
+ export { default as InformationPaneNodeView } from './InformationPaneNodeView';
@@ -0,0 +1,3 @@
1
+ import { MediaResizeProps } from '../../hooks';
2
+ declare const InformationPaneRenderer: (props: MediaResizeProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default InformationPaneRenderer;
@@ -0,0 +1,33 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import SvgIconAlertTriangle from "../../../icons/components/IconAlertTriangle.js";
3
+ import SvgIconInfoCircle from "../../../icons/components/IconInfoCircle.js";
4
+ import SvgIconQuestion from "../../../icons/components/IconQuestion.js";
5
+ import SvgIconSuccessOutline from "../../../icons/components/IconSuccessOutline.js";
6
+ import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
7
+ const InformationPaneRenderer = (props) => {
8
+ const {
9
+ node
10
+ } = props, getIconByType = (type) => {
11
+ switch (type) {
12
+ case "warning":
13
+ return /* @__PURE__ */ jsx(SvgIconAlertTriangle, { color: "#F59700" });
14
+ case "success":
15
+ return /* @__PURE__ */ jsx(SvgIconSuccessOutline, { color: "#7DBF85" });
16
+ case "info":
17
+ return /* @__PURE__ */ jsx(SvgIconInfoCircle, { color: "#2A9CC8" });
18
+ case "question":
19
+ return /* @__PURE__ */ jsx(SvgIconQuestion, { color: "#823AA1" });
20
+ default:
21
+ return /* @__PURE__ */ jsx(SvgIconInfoCircle, { color: "#2A9CC8" });
22
+ }
23
+ };
24
+ return /* @__PURE__ */ jsx(NodeViewWrapper, { node, className: "react-component", children: /* @__PURE__ */ jsxs("div", { className: `information-pane information-pane-${node.attrs.type}`, "data-information-pane": !0, "data-type": node.attrs.type, children: [
25
+ /* @__PURE__ */ jsx("span", { className: "information-pane-icon", children: getIconByType(node.attrs.type) }),
26
+ /* @__PURE__ */ jsx(NodeViewContent, { style: {
27
+ width: "100%"
28
+ } })
29
+ ] }) });
30
+ };
31
+ export {
32
+ InformationPaneRenderer as default
33
+ };
@@ -1,5 +1,5 @@
1
- export { default as AttachmentRenderer } from './AttachmentRenderer';
2
1
  export { default as AudioRenderer } from './AudioRenderer';
3
- export { default as ConversationHistoryRenderer } from './ConversationHistoryRenderer';
2
+ export { default as AttachmentRenderer } from './AttachmentRenderer';
4
3
  export { default as LinkerRenderer } from './LinkerRenderer';
5
4
  export { default as MediaRenderer } from './MediaRenderer';
5
+ export { default as InformationPaneRenderer } from './InformationPaneRenderer';
@@ -1,4 +1,4 @@
1
- import { Content, Extensions, FocusPosition } from '@tiptap/react';
1
+ import { Content, FocusPosition } from '@tiptap/react';
2
2
  import { WorkspaceVisibility } from '@edifice.io/client';
3
3
  /**
4
4
  * Hook that creates a tiptap editor instance.
@@ -7,14 +7,10 @@ import { WorkspaceVisibility } from '@edifice.io/client';
7
7
  * @param content default rich content
8
8
  * @param focus set focus position to the editor
9
9
  * @param placeholder editor placeholder content
10
- * @param onContentChange callback to be called on content change
11
- * @param visibility workspace visibility
12
- * @param extensions extensions to add to the editor
13
- * @returns the editor instance and the editable state
14
10
  */
15
11
  export declare const useTipTapEditor: (editable: boolean, content: Content, focus?: FocusPosition, placeholder?: string, onContentChange?: ({ editor }: {
16
12
  editor: any;
17
- }) => void, visibility?: WorkspaceVisibility, extensions?: Extensions) => {
13
+ }) => void, visibility?: WorkspaceVisibility) => {
18
14
  editor: import('@tiptap/core').Editor | null;
19
15
  editable: boolean;
20
16
  };
@@ -32,11 +32,13 @@ import AudioNodeView from "../components/NodeView/AudioNodeView.js";
32
32
  import LinkerNodeView from "../components/NodeView/LinkerNodeView.js";
33
33
  import ImageNodeView from "../components/NodeView/ImageNodeView.js";
34
34
  import AttachmentNodeView from "../components/NodeView/AttachmentNodeView.js";
35
+ import InformationPaneNodeView from "../components/NodeView/InformationPaneNodeView.js";
35
36
  import MediaRenderer from "../components/Renderer/MediaRenderer.js";
36
37
  import AudioRenderer from "../components/Renderer/AudioRenderer.js";
37
38
  import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
38
39
  import AttachmentRenderer from "../components/Renderer/AttachmentRenderer.js";
39
- const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected", extensions) => {
40
+ import InformationPaneRenderer from "../components/Renderer/InformationPaneRenderer.js";
41
+ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected") => {
40
42
  const {
41
43
  currentLanguage
42
44
  } = useEdificeClient(), {
@@ -63,7 +65,7 @@ const useTipTapEditor = (editable, content, focus, placeholder, onContentChange,
63
65
  levels: [1, 2]
64
66
  }), Typography, FontSize, SpeechRecognition, SpeechSynthesis.configure({
65
67
  lang: (currentLanguage == null ? void 0 : currentLanguage.length) === 2 ? `${currentLanguage}-${currentLanguage.toUpperCase()}` : "fr-FR"
66
- }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer), ...extensions || []],
68
+ }), Iframe, Hyperlink, FontFamily, Mathematics, Alert, VideoNodeView(MediaRenderer), AudioNodeView(AudioRenderer), LinkerNodeView(LinkerRenderer), ImageNodeView(MediaRenderer, uploadFile), AttachmentNodeView(AttachmentRenderer), InformationPaneNodeView(InformationPaneRenderer)],
67
69
  content,
68
70
  // If the onContentChange callback is provided, we call it on every content change.
69
71
  ...onContentChange ? {
@@ -0,0 +1,7 @@
1
+ import { SVGProps } from 'react';
2
+ interface SVGRProps {
3
+ title?: string;
4
+ titleId?: string;
5
+ }
6
+ declare const SvgIconInfoRectangle: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
+ export default SvgIconInfoRectangle;
@@ -0,0 +1,13 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const SvgIconInfoRectangle = ({
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 20 16", "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: "M2.87 2.167c-.718 0-1.203.531-1.203 1.071v9.524c0 .54.485 1.071 1.203 1.071h14.26c.718 0 1.203-.531 1.203-1.071V3.238c0-.54-.485-1.071-1.203-1.071zM0 3.238C0 1.674 1.339.5 2.87.5h14.26C18.66.5 20 1.674 20 3.238v9.524c0 1.564-1.339 2.738-2.87 2.738H2.87C1.34 15.5 0 14.326 0 12.762z", clipRule: "evenodd" }),
9
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.008 12.167a.833.833 0 0 1-.833-.834V7.167a.833.833 0 1 1 1.667 0v4.166c0 .46-.373.834-.834.834M10.842 4.25c0 .46-.373.833-.834.833H10a.833.833 0 1 1 0-1.666h.008c.46 0 .834.373.834.833", clipRule: "evenodd" })
10
+ ] });
11
+ export {
12
+ SvgIconInfoRectangle as default
13
+ };
@@ -44,15 +44,11 @@ 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';
49
47
  export { default as IconFolderMove } from './IconFolderMove';
50
48
  export { default as IconFolder } from './IconFolder';
51
49
  export { default as IconForgoing } from './IconForgoing';
52
50
  export { default as IconFullScreen } from './IconFullScreen';
53
- export { default as IconGlobe2 } from './IconGlobe2';
54
51
  export { default as IconGlobe } from './IconGlobe';
55
- export { default as IconGroupAvatar } from './IconGroupAvatar';
56
52
  export { default as IconHandMove } from './IconHandMove';
57
53
  export { default as IconHeadphone } from './IconHeadphone';
58
54
  export { default as IconHide } from './IconHide';
@@ -65,12 +61,12 @@ export { default as IconImageSizeMedium } from './IconImageSizeMedium';
65
61
  export { default as IconImageSizeSmall } from './IconImageSizeSmall';
66
62
  export { default as IconInbox } from './IconInbox';
67
63
  export { default as IconInfoCircle } from './IconInfoCircle';
64
+ export { default as IconInfoRectangle } from './IconInfoRectangle';
68
65
  export { default as IconLandscape } from './IconLandscape';
69
66
  export { default as IconLink } from './IconLink';
70
67
  export { default as IconListOrder } from './IconListOrder';
71
68
  export { default as IconLoader } from './IconLoader';
72
69
  export { default as IconLock } from './IconLock';
73
- export { default as IconMailRecall } from './IconMailRecall';
74
70
  export { default as IconMail } from './IconMail';
75
71
  export { default as IconMergeCells } from './IconMergeCells';
76
72
  export { default as IconMessageInfo } from './IconMessageInfo';
@@ -91,14 +87,12 @@ export { default as IconPlus } from './IconPlus';
91
87
  export { default as IconPointerDefault } from './IconPointerDefault';
92
88
  export { default as IconPointerHand } from './IconPointerHand';
93
89
  export { default as IconPrint } from './IconPrint';
94
- export { default as IconQuestionMark } from './IconQuestionMark';
95
90
  export { default as IconQuestion } from './IconQuestion';
96
91
  export { default as IconRafterDown } from './IconRafterDown';
97
92
  export { default as IconRafterLeft } from './IconRafterLeft';
98
93
  export { default as IconRafterRight } from './IconRafterRight';
99
94
  export { default as IconRafterUp } from './IconRafterUp';
100
95
  export { default as IconReaction } from './IconReaction';
101
- export { default as IconReadMail } from './IconReadMail';
102
96
  export { default as IconRecordPause } from './IconRecordPause';
103
97
  export { default as IconRecordStop } from './IconRecordStop';
104
98
  export { default as IconRecordVideo } from './IconRecordVideo';
@@ -115,7 +109,6 @@ export { default as IconSend } from './IconSend';
115
109
  export { default as IconSetBackground } from './IconSetBackground';
116
110
  export { default as IconSettings } from './IconSettings';
117
111
  export { default as IconShare } from './IconShare';
118
- export { default as IconSignature } from './IconSignature';
119
112
  export { default as IconSmartphone } from './IconSmartphone';
120
113
  export { default as IconSmiley } from './IconSmiley';
121
114
  export { default as IconSortAscendingLetters } from './IconSortAscendingLetters';
@@ -143,11 +136,9 @@ export { default as IconTextVanilla } from './IconTextVanilla';
143
136
  export { default as IconToolCenter } from './IconToolCenter';
144
137
  export { default as IconTool } from './IconTool';
145
138
  export { default as IconTrendingUp } from './IconTrendingUp';
146
- export { default as IconUndoAll } from './IconUndoAll';
147
139
  export { default as IconUndo } from './IconUndo';
148
140
  export { default as IconUnlink } from './IconUnlink';
149
141
  export { default as IconUnlock } from './IconUnlock';
150
- export { default as IconUnreadMail } from './IconUnreadMail';
151
142
  export { default as IconUpload } from './IconUpload';
152
143
  export { default as IconUserSearch } from './IconUserSearch';
153
144
  export { default as IconUser } from './IconUser';
@@ -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,4 +1,3 @@
1
- export * from './ConfirmModal';
2
1
  export * from './OnboardingModal';
3
2
  export * from './PublishModal';
4
3
  export * from './ResourceModal';
@@ -7,4 +7,3 @@ export * from './MediaLibrary';
7
7
  export * from './VideoEmbed';
8
8
  export * from './VideoRecorder';
9
9
  export * from './Workspace';
10
- export * from './WorkspaceFolders';
@@ -6,7 +6,6 @@ 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";
10
9
  import { ExternalLinker } from "./modules/multimedia/Linker/ExternalLinker/ExternalLinker.js";
11
10
  import { InternalLinker } from "./modules/multimedia/Linker/InternalLinker/InternalLinker.js";
12
11
  export {
@@ -19,6 +18,5 @@ export {
19
18
  default6 as MediaLibrary,
20
19
  default7 as VideoEmbed,
21
20
  default8 as VideoRecorder,
22
- default9 as Workspace,
23
- default10 as WorkspaceFolders
21
+ default9 as Workspace
24
22
  };
@@ -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,3 +1,4 @@
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-b2school.20250409142344",
3
+ "version": "2.2.2-develop.20250409145633",
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-b2school.20250409142344",
122
- "@edifice.io/tiptap-extensions": "2.2.2-develop-b2school.20250409142344",
123
- "@edifice.io/utilities": "2.2.2-develop-b2school.20250409142344"
121
+ "@edifice.io/bootstrap": "2.2.2-develop.20250409145633",
122
+ "@edifice.io/tiptap-extensions": "2.2.2-develop.20250409145633",
123
+ "@edifice.io/utilities": "2.2.2-develop.20250409145633"
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-b2school.20250409142344",
155
- "@edifice.io/config": "2.2.2-develop-b2school.20250409142344"
154
+ "@edifice.io/client": "2.2.2-develop.20250409145633",
155
+ "@edifice.io/config": "2.2.2-develop.20250409145633"
156
156
  },
157
157
  "peerDependencies": {
158
158
  "@react-spring/web": "^9.7.5",
@@ -1 +0,0 @@
1
- export { default as useWorkspaceFolders } from './useWorkspaceFolders';
@@ -1,14 +0,0 @@
1
- interface FolderTreeNode {
2
- id: string;
3
- name: string;
4
- children?: FolderTreeNode[];
5
- }
6
- declare function useWorkspaceFolders(): {
7
- folderTree: {
8
- id: string;
9
- name: string;
10
- children: FolderTreeNode[];
11
- }[];
12
- setSearchQuery: import('react').Dispatch<import('react').SetStateAction<string>>;
13
- };
14
- export default useWorkspaceFolders;
@@ -1,44 +0,0 @@
1
- import { odeServices } from "@edifice.io/client";
2
- import { useQuery } from "@tanstack/react-query";
3
- import { useState, useMemo } from "react";
4
- import { useTranslation } from "react-i18next";
5
- function useWorkspaceFolders() {
6
- const {
7
- t
8
- } = useTranslation(), {
9
- data: folderData
10
- } = useQuery({
11
- queryKey: ["workspace-folders"],
12
- queryFn: () => odeServices.workspace().listFolder("owner", !0)
13
- }), [searchQuery, setSearchQuery] = useState(""), filterTree = (nodes, search) => nodes.map((node) => {
14
- const filteredChildren = node.children ? filterTree(node.children, search) : [];
15
- return node.name.toLowerCase().includes(search.toLowerCase()) || filteredChildren.length > 0 ? {
16
- ...node,
17
- children: filteredChildren
18
- } : null;
19
- }).filter((node) => node !== null);
20
- return {
21
- folderTree: useMemo(() => {
22
- const buildWorkspaceTree = (data) => [{
23
- id: "",
24
- name: t("workspace.myDocuments"),
25
- children: data
26
- }];
27
- if (!folderData) return buildWorkspaceTree([]);
28
- const nodes = /* @__PURE__ */ new Map(), fullTree = [];
29
- return folderData.forEach((item) => {
30
- nodes.set(item._id, {
31
- id: item._id,
32
- name: item.name,
33
- children: []
34
- });
35
- }), folderData.forEach((item) => {
36
- item.eParent && nodes.has(item.eParent) ? nodes.get(item.eParent).children.push(nodes.get(item._id)) : fullTree.push(nodes.get(item._id));
37
- }), buildWorkspaceTree(searchQuery ? filterTree(fullTree, searchQuery) : fullTree);
38
- }, [folderData, searchQuery]),
39
- setSearchQuery
40
- };
41
- }
42
- export {
43
- useWorkspaceFolders as default
44
- };
@@ -1,2 +0,0 @@
1
- declare const ConversationHistoryNodeView: (Component: any) => import('@tiptap/core').Node<any, any>;
2
- export default ConversationHistoryNodeView;
@@ -1,10 +0,0 @@
1
- import { ConversationHistory } from "@edifice.io/tiptap-extensions/conversation-history";
2
- import { ReactNodeViewRenderer } from "@tiptap/react";
3
- const ConversationHistoryNodeView = (Component) => ConversationHistory.extend({
4
- addNodeView() {
5
- return ReactNodeViewRenderer(Component);
6
- }
7
- });
8
- export {
9
- ConversationHistoryNodeView as default
10
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * `ConversationHistoryRenderer` is a React component that renders a button to toggle the visibility
3
- * of conversation history content. It uses the `@tiptap/react` library for rendering content and
4
- * `clsx` for conditional class names. The component also utilizes the `useTranslation` hook from
5
- * `react-i18next` for internationalization and a custom `useToggle` hook for managing the open state.
6
- */
7
- declare const ConversationHistoryRenderer: () => import("react/jsx-runtime").JSX.Element;
8
- export default ConversationHistoryRenderer;
@@ -1,28 +0,0 @@
1
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
- import { NodeViewWrapper, NodeViewContent } from "@tiptap/react";
3
- import clsx from "clsx";
4
- import { useTranslation } from "react-i18next";
5
- import SvgIconRafterDown from "../../../icons/components/IconRafterDown.js";
6
- import SvgIconRafterUp from "../../../icons/components/IconRafterUp.js";
7
- import useToggle from "../../../../hooks/useToggle/useToggle.js";
8
- import Button from "../../../../components/Button/Button.js";
9
- const ConversationHistoryRenderer = () => {
10
- const {
11
- t
12
- } = useTranslation("conversation"), [open, toggleOpen] = useToggle(!1), classes = clsx("conversation-history ps-16", {
13
- show: open
14
- });
15
- return /* @__PURE__ */ jsxs(NodeViewWrapper, { as: "div", contentEditable: !1, children: [
16
- /* @__PURE__ */ jsx(Button, { variant: "ghost", onClick: toggleOpen, size: "sm", className: "d-flex align-items-center gap-4 text-gray-800 fs-6 mt-24", children: open ? /* @__PURE__ */ jsxs(Fragment, { children: [
17
- t("message.history.hide"),
18
- /* @__PURE__ */ jsx(SvgIconRafterUp, { width: 16, height: 16 })
19
- ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
20
- t("message.history.show"),
21
- /* @__PURE__ */ jsx(SvgIconRafterDown, { width: 16, height: 16 })
22
- ] }) }),
23
- /* @__PURE__ */ jsx("div", { className: classes, "data-testid": "conversation-history-content", children: /* @__PURE__ */ jsx(NodeViewContent, {}) })
24
- ] });
25
- };
26
- export {
27
- ConversationHistoryRenderer as default
28
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconFolderAdd: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconFolderAdd;
@@ -1,13 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconFolderAdd = ({
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-folder-add_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.985 5.283A2 2 0 0 0 12.965 7H22v12H2V4h7.5a1.5 1.5 0 0 1 1.485 1.283M1.902 2C.852 2 0 2.852 0 3.902V19a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-9.035A3.5 3.5 0 0 0 9.5 2zM12 8a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H8a1 1 0 1 1 0-2h3V9a1 1 0 0 1 1-1", clipRule: "evenodd" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-folder-add_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
- ] });
11
- export {
12
- SvgIconFolderAdd as default
13
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconFolderDelete: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconFolderDelete;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconFolderDelete = ({
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: "M2.756 2A2.756 2.756 0 0 0 0 4.756V18a3 3 0 0 0 3 3h6.5a1 1 0 1 0 0-2H3a1 1 0 0 1-1-1V4.756C2 4.34 2.339 4 2.756 4H9.5A2.5 2.5 0 0 1 12 6.5a1 1 0 0 0 1 1h8a1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3h-7.111A4.5 4.5 0 0 0 9.5 2zm20.85 9.536a1 1 0 0 1 0 1.414l-3.535 3.535 3.536 3.536a1 1 0 0 1-1.415 1.414L18.657 17.9l-3.536 3.535a1 1 0 0 1-1.414-1.414l3.536-3.536-3.536-3.535a1 1 0 0 1 1.414-1.414l3.536 3.535 3.535-3.535a1 1 0 0 1 1.415 0", clipRule: "evenodd" })
9
- ] });
10
- export {
11
- SvgIconFolderDelete as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconGlobe2: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconGlobe2;
@@ -1,16 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconGlobe2 = ({
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-globe-2_svg__a)", clipRule: "evenodd", children: [
9
- /* @__PURE__ */ jsx("path", { d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m0 2c6.627 0 12-5.373 12-12S18.627 0 12 0C5.372 0 0 5.373 0 12s5.372 12 12 12" }),
10
- /* @__PURE__ */ jsx("path", { d: "M16.944 2.761V2.76a.67.67 0 0 0 .09-.683l-.416.182-.057.129-.078.611a.63.63 0 0 0 .46-.238m-.571.224-.065-.025.096-.216zm.01.003.03-.267.146-.328-.08.606h-.052zm.235-.73.416-.18a7.3 7.3 0 0 1 .504 1.754c.047.324.07.701.007 1.064-.061.355-.234.847-.714 1.16l-.09.059-1.215.464a1.26 1.26 0 0 0-.82 1.012l-.002.008-.009.069c-.136.95-1.001 1.151-1.134 1.177-.414.082-1.113.007-1.519-.64l-.006-.011-.224-.377c-.35.728-.718 1.572-.809 2.32v.002a.44.44 0 0 0 .041.247l.023.043.478 1.161c.097.17.245.324.437.44.36.218 1.13.713 1.654 1.323.04.047.264.221.9.398.633.177 1.133.73 1.181 1.432.058.849.193 1.37.335 1.649a.6.6 0 0 0 .103.157l.033.001.05.007.02.001.056.002c.14 0 .375-.03.603-.19.318-.223.634-.703.755-1.68v-.001c.051-.404.12-.913.239-1.429l.064-.34a297 297 0 0 1 .31-1.625l.084-.403.015-.058a1.012 1.012 0 0 1 1.04-.758c.26.015.443.128.488.156h.001c.124.077.216.17.249.203.09.091.183.203.25.287.075.092.145.184.196.251l.062.084.018.024.005.007.002.003-.384.28.384-.28.013.018.012.018a.34.34 0 0 0 .221.138.39.39 0 0 0 .292-.06l1.04-.745a.66.66 0 0 0-.273.536h2c0 .443-.219.843-.562 1.09m0 0-1.04.744a2.38 2.38 0 0 1-2.411.21l-.047.248-.067.359-.004.022-.005.022c-.097.416-.157.848-.207 1.246-.159 1.279-.633 2.398-1.592 3.071a3.06 3.06 0 0 1-2.032.538c-.847-.043-1.428-.586-1.764-1.248-.29-.571-.449-1.306-.525-2.136-.634-.2-1.235-.49-1.626-.946-.3-.35-.829-.707-1.17-.913a3.23 3.23 0 0 1-1.193-1.259l-.021-.04-.483-1.171a2.44 2.44 0 0 1-.233-1.378l.993.122-.993-.121c.15-1.234.775-2.507 1.135-3.242l.025-.05a1.79 1.79 0 0 1 1.527-.994h.008c.516-.02 1.031.175 1.396.56a3.3 3.3 0 0 1 1.703-1.46l.771-.294q0-.115-.024-.301a5.3 5.3 0 0 0-.358-1.236c-.2-.459-.126-.985.183-1.37l.78.626-.78-.625v-.002c.31-.385.786-.551 1.232-.498h.01l.115.016q.192.024.376.105l-.499 1.128m3.692 9.553-.096.07zM6.045 14.091a1.84 1.84 0 0 1 1.507.163c.575.348.805.94.805 1.502v.747c0 .338.081.546.191.694.116.156.329.33.73.48l1.751.655c.534.2 1.02.485 1.443.854l.344.3c1.015.887 1.445 2.241 1.024 3.528l-.098.298-1.9-.624.097-.296c.152-.464.021-.998-.439-1.4l-.344-.3a2.7 2.7 0 0 0-.827-.486l-1.75-.655c-.656-.245-1.23-.615-1.635-1.16-.411-.552-.587-1.201-.587-1.888v-.382l-3.93 1.605-.755-1.852 4.338-1.772zM8.876 2.991c.084.494.124.996.124 1.32m0 .84v-.84zm0 0c0 .847-.41 1.658-1.001 2.268L6.196 9.276a.82.82 0 0 0-.187.831 1.825 1.825 0 0 1-1.017 2.245L1.4 13.917l-.798-1.834 3.462-1.508a2.82 2.82 0 0 1 .698-2.692l1.803-1.857C6.885 5.695 7 5.36 7 5.15v-.84c0-.196-.028-.584-.096-.982-.074-.436-.169-.708-.222-.791L8.37 1.463c.286.45.429 1.072.507 1.528m-4.77 7.733" })
11
- ] }),
12
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-globe-2_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
13
- ] });
14
- export {
15
- SvgIconGlobe2 as default
16
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconGroupAvatar: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconGroupAvatar;
@@ -1,12 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- const SvgIconGroupAvatar = ({
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: "M18.467 13.128a.917.917 0 0 1 1.166-.566c1.034.358 1.89 1.143 2.475 2.155.586 1.014.891 2.233.892 3.467v2.458a.917.917 0 0 1-1.833 0v-2.457c0-.944-.236-1.842-.646-2.55-.41-.709-.948-1.154-1.488-1.34a.917.917 0 0 1-.566-1.167M14.921 2.661a.917.917 0 0 1 .95-.882 4.702 4.702 0 0 1 1.934 8.902.917.917 0 0 1-.822-1.64 2.868 2.868 0 0 0-1.18-5.43.917.917 0 0 1-.882-.95M2.38 15.778c.894-.982 2.127-1.552 3.432-1.552h7.792c1.306 0 2.538.57 3.433 1.552.892.98 1.38 2.29 1.38 3.642v2.14a.917.917 0 1 1-1.834 0v-2.14c0-.917-.332-1.782-.902-2.407-.567-.623-1.316-.954-2.077-.954H5.812c-.76 0-1.51.331-2.077.954-.569.625-.902 1.49-.902 2.407v2.14a.917.917 0 1 1-1.833 0v-2.14c0-1.351.488-2.663 1.38-3.642M9.708 4.142a3.208 3.208 0 1 0 0 6.417 3.208 3.208 0 0 0 0-6.417M4.667 7.351a5.042 5.042 0 1 1 10.083 0 5.042 5.042 0 0 1-10.083 0", clipRule: "evenodd" })
9
- ] });
10
- export {
11
- SvgIconGroupAvatar as default
12
- };
@@ -1,7 +0,0 @@
1
- import { SVGProps } from 'react';
2
- interface SVGRProps {
3
- title?: string;
4
- titleId?: string;
5
- }
6
- declare const SvgIconMailRecall: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SvgIconMailRecall;
@@ -1,13 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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;
@@ -1,13 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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;