@edifice.io/react 2.3.2-develop-integration.20251007111128 → 2.3.2-develop-b2school-actualites.20251008121205
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/components/AppIcon/index.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +5 -0
- package/dist/components/Divider/Divider.js +21 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/SeparatedInfo/SeparatedInfo.d.ts +6 -0
- package/dist/components/SeparatedInfo/SeparatedInfo.js +13 -0
- package/dist/components/SeparatedInfo/index.d.ts +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/editor.js +40 -36
- package/dist/hooks/index.d.ts +0 -2
- package/dist/icons.js +294 -292
- package/dist/index.js +76 -76
- package/dist/modules/comments/components/Comment.js +1 -1
- package/dist/modules/comments/constants.d.ts +0 -1
- package/dist/modules/comments/constants.js +1 -2
- package/dist/modules/comments/provider/CommentProvider.js +1 -2
- package/dist/modules/comments/types.d.ts +0 -4
- package/dist/modules/editor/components/Editor/EditorPreview.d.ts +14 -0
- package/dist/modules/editor/components/Editor/EditorPreview.js +56 -0
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.d.ts +8 -0
- package/dist/modules/editor/components/Editor/EditorPreviewSkeleton.js +24 -0
- package/dist/modules/editor/components/Editor/index.d.ts +2 -0
- package/dist/modules/icons/components/IconClockAlert.d.ts +7 -0
- package/dist/modules/icons/components/IconClockAlert.js +17 -0
- package/dist/modules/icons/components/index.d.ts +1 -0
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +0 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +2 -8
- package/package.json +6 -6
- package/dist/hooks/useIsAdmc/index.d.ts +0 -1
- package/dist/hooks/useIsAdmc/useIsAdmc.d.ts +0 -3
- package/dist/hooks/useIsAdmc/useIsAdmc.js +0 -22
- package/dist/hooks/useIsAdmlcOrAdmc/index.d.ts +0 -1
- package/dist/hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.d.ts +0 -3
- package/dist/hooks/useIsAdmlcOrAdmc/useIsAdmlcOrAdmc.js +0 -16
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import Flex from "../Flex/Flex.js";
|
|
3
|
+
function Divider({
|
|
4
|
+
children,
|
|
5
|
+
color = "var(--edifice-gray-400)"
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Flex, { align: "center", justify: "around", gap: "16", wrap: "nowrap", className: "flex-fill", children: [
|
|
8
|
+
/* @__PURE__ */ jsx("hr", { className: "divider m-12 ms-0 flex-fill", style: {
|
|
9
|
+
borderColor: color
|
|
10
|
+
} }),
|
|
11
|
+
/* @__PURE__ */ jsxs(Flex, { gap: "12", align: "center", justify: "around", children: [
|
|
12
|
+
...children
|
|
13
|
+
] }),
|
|
14
|
+
/* @__PURE__ */ jsx("hr", { className: "divider m-12 me-0 flex-fill", style: {
|
|
15
|
+
borderColor: color
|
|
16
|
+
} })
|
|
17
|
+
] });
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
Divider
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Divider';
|
|
@@ -13,7 +13,7 @@ const Flex = /* @__PURE__ */ forwardRef(({
|
|
|
13
13
|
children,
|
|
14
14
|
...restProps
|
|
15
15
|
}, ref) => {
|
|
16
|
-
const classes = clsx("d-flex", direction && `flex-${direction}`, fill && "flex-fill", align && `align-items-${align}`, justify && `justify-content-${justify}`, gap && `gap-${gap}`, wrap && `flex-${wrap}`, className);
|
|
16
|
+
const classes = clsx("d-flex", direction && `flex-${direction}`, fill && "flex-fill", align && `align-items-${align}`, justify && `justify-content-${justify}`, gap && `gap-${gap}`, wrap && `flex-${wrap === "reverse" ? "wrap-reverse" : wrap}`, className);
|
|
17
17
|
return /* @__PURE__ */ jsx(Component, { ref, className: classes, ...restProps, children });
|
|
18
18
|
});
|
|
19
19
|
export {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsxs } from "react/jsx-runtime";
|
|
2
|
+
import Flex from "../Flex/Flex.js";
|
|
3
|
+
function SeparatedInfo({
|
|
4
|
+
children,
|
|
5
|
+
className
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ jsxs(Flex, { direction: "row", className: `separated-info ${className}`, children: [
|
|
8
|
+
...children
|
|
9
|
+
] });
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
SeparatedInfo
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SeparatedInfo';
|
|
@@ -12,6 +12,7 @@ export * from './Card';
|
|
|
12
12
|
export * from './Checkbox';
|
|
13
13
|
export * from './ColorPicker';
|
|
14
14
|
export * from './Combobox';
|
|
15
|
+
export * from './Divider';
|
|
15
16
|
export * from './Dropdown';
|
|
16
17
|
export * from './Dropzone';
|
|
17
18
|
export * from './EmptyScreen';
|
|
@@ -34,6 +35,7 @@ export * from './PreventPropagation';
|
|
|
34
35
|
export * from './Radio';
|
|
35
36
|
export * from './SearchBar';
|
|
36
37
|
export * from './Select';
|
|
38
|
+
export * from './SeparatedInfo';
|
|
37
39
|
export * from './Skeleton';
|
|
38
40
|
export * from './StackedGroup';
|
|
39
41
|
export * from './Stepper';
|
package/dist/editor.js
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
import { EditorContent, Editor, useEditor } from "@tiptap/react";
|
|
2
2
|
import { default as default2 } from "@tiptap/starter-kit";
|
|
3
3
|
import { default as default3 } from "./modules/editor/components/Editor/Editor.js";
|
|
4
|
-
import { default as default4 } from "./modules/editor/components/Editor/
|
|
5
|
-
import { default as default5 } from "./modules/editor/components/
|
|
6
|
-
import { default as default6 } from "./modules/editor/components/
|
|
7
|
-
import { default as default7 } from "./modules/editor/components/
|
|
8
|
-
import { default as default8 } from "./modules/editor/components/NodeView/
|
|
9
|
-
import { default as default9 } from "./modules/editor/components/NodeView/
|
|
10
|
-
import { default as default10 } from "./modules/editor/components/NodeView/
|
|
11
|
-
import { default as default11 } from "./modules/editor/components/NodeView/
|
|
12
|
-
import { default as default12 } from "./modules/editor/components/NodeView/
|
|
13
|
-
import { default as default13 } from "./modules/editor/components/NodeView/
|
|
14
|
-
import { default as default14 } from "./modules/editor/components/
|
|
15
|
-
import { default as default15 } from "./modules/editor/components/
|
|
16
|
-
import { default as default16 } from "./modules/editor/components/Renderer/
|
|
17
|
-
import { default as default17 } from "./modules/editor/components/Renderer/
|
|
18
|
-
import { default as default18 } from "./modules/editor/components/Renderer/
|
|
19
|
-
import { default as default19 } from "./modules/editor/components/Renderer/
|
|
20
|
-
import { default as default20 } from "./modules/editor/components/
|
|
21
|
-
import { default as default21 } from "./modules/editor/components/
|
|
4
|
+
import { default as default4 } from "./modules/editor/components/Editor/EditorPreview.js";
|
|
5
|
+
import { default as default5 } from "./modules/editor/components/Editor/EditorPreviewSkeleton.js";
|
|
6
|
+
import { default as default6 } from "./modules/editor/components/Editor/EditorSkeleton.js";
|
|
7
|
+
import { default as default7 } from "./modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js";
|
|
8
|
+
import { default as default8 } from "./modules/editor/components/NodeView/AttachmentNodeView.js";
|
|
9
|
+
import { default as default9 } from "./modules/editor/components/NodeView/AudioNodeView.js";
|
|
10
|
+
import { default as default10 } from "./modules/editor/components/NodeView/ConversationHistoryNodeView.js";
|
|
11
|
+
import { default as default11 } from "./modules/editor/components/NodeView/ImageNodeView.js";
|
|
12
|
+
import { default as default12 } from "./modules/editor/components/NodeView/LinkerNodeView.js";
|
|
13
|
+
import { default as default13 } from "./modules/editor/components/NodeView/VideoNodeView.js";
|
|
14
|
+
import { default as default14 } from "./modules/editor/components/NodeView/InformationPaneNodeView.js";
|
|
15
|
+
import { default as default15 } from "./modules/editor/components/NodeView/IframeNodeView.js";
|
|
16
|
+
import { default as default16 } from "./modules/editor/components/Renderer/AttachmentRenderer.js";
|
|
17
|
+
import { default as default17 } from "./modules/editor/components/Renderer/AudioRenderer.js";
|
|
18
|
+
import { default as default18 } from "./modules/editor/components/Renderer/ConversationHistoryRenderer.js";
|
|
19
|
+
import { default as default19 } from "./modules/editor/components/Renderer/LinkerRenderer.js";
|
|
20
|
+
import { default as default20 } from "./modules/editor/components/Renderer/MediaRenderer.js";
|
|
21
|
+
import { default as default21 } from "./modules/editor/components/Renderer/InformationPaneRenderer.js";
|
|
22
|
+
import { default as default22 } from "./modules/editor/components/Toolbar/TableToolbar.js";
|
|
23
|
+
import { default as default23 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
|
|
22
24
|
import { EditorToolbar } from "./modules/editor/components/EditorToolbar/EditorToolbar.js";
|
|
23
25
|
import { useActionOptions } from "./modules/editor/hooks/useActionOptions.js";
|
|
24
26
|
import { useCommentEditor } from "./modules/editor/hooks/useCommentEditor.js";
|
|
@@ -34,30 +36,32 @@ import { useSpeechSynthetisis } from "./modules/editor/hooks/useSpeechSynthetisi
|
|
|
34
36
|
import { useTipTapEditor } from "./modules/editor/hooks/useTipTapEditor.js";
|
|
35
37
|
import { useCantooEditor } from "./modules/editor/hooks/useCantooEditor.js";
|
|
36
38
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
default8 as AttachmentNodeView,
|
|
40
|
+
default16 as AttachmentRenderer,
|
|
41
|
+
default9 as AudioNodeView,
|
|
42
|
+
default17 as AudioRenderer,
|
|
43
|
+
default7 as BubbleMenuEditImage,
|
|
44
|
+
default10 as ConversationHistoryNodeView,
|
|
45
|
+
default18 as ConversationHistoryRenderer,
|
|
44
46
|
default3 as Editor,
|
|
45
47
|
EditorContent,
|
|
46
48
|
EditorContext,
|
|
47
49
|
Editor as EditorInstance,
|
|
48
|
-
default4 as
|
|
50
|
+
default4 as EditorPreview,
|
|
51
|
+
default5 as EditorPreviewSkeleton,
|
|
52
|
+
default6 as EditorSkeleton,
|
|
49
53
|
EditorToolbar,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
default15 as IframeNodeView,
|
|
55
|
+
default11 as ImageNodeView,
|
|
56
|
+
default14 as InformationPaneNodeView,
|
|
57
|
+
default21 as InformationPaneRenderer,
|
|
58
|
+
default23 as LinkToolbar,
|
|
59
|
+
default12 as LinkerNodeView,
|
|
60
|
+
default19 as LinkerRenderer,
|
|
61
|
+
default20 as MediaRenderer,
|
|
58
62
|
default2 as StarterKit,
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
default22 as TableToolbar,
|
|
64
|
+
default13 as VideoNodeView,
|
|
61
65
|
useActionOptions,
|
|
62
66
|
useCantooEditor,
|
|
63
67
|
useCommentEditor,
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -16,8 +16,6 @@ export * from './useHover';
|
|
|
16
16
|
export * from './useHttpErrorToast';
|
|
17
17
|
export * from './useImage';
|
|
18
18
|
export * from './useIsAdml';
|
|
19
|
-
export * from './useIsAdmc';
|
|
20
|
-
export * from './useIsAdmlcOrAdmc';
|
|
21
19
|
export * from './useKeyPress';
|
|
22
20
|
export * from './useLibraryUrl';
|
|
23
21
|
export * from './useMediaLibrary';
|