@edifice.io/react 2.5.6-develop.20260116103750 → 2.5.8-develop-b2school.20260122173252
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/DatePicker/DatePicker.d.ts +57 -0
- package/dist/components/DatePicker/DatePicker.js +6 -3
- package/dist/components/Dropdown/DropdownContext.js +1 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Layout/Layout.js +1 -2
- package/dist/components/Modal/Modal.d.ts +4 -0
- package/dist/components/Modal/Modal.js +13 -12
- package/dist/components/Toolbar/Toolbar.js +1 -1
- package/dist/editor.js +40 -40
- package/dist/hooks/useConversation/useConversation.js +3 -1
- package/dist/hooks/useDropdown/useDropdown.js +1 -1
- package/dist/hooks/useDropzone/useDropzone.js +21 -16
- package/dist/index.js +224 -224
- package/dist/modals.js +18 -18
- package/dist/modules/comments/components/Comment.js +4 -4
- package/dist/modules/comments/components/CommentDate.js +7 -10
- package/dist/modules/comments/components/CommentDeleted.js +1 -1
- package/dist/modules/comments/components/CommentForm.d.ts +1 -1
- package/dist/modules/comments/components/CommentForm.js +6 -6
- package/dist/modules/comments/components/CommentTitle.js +1 -1
- package/dist/modules/comments/provider/CommentProvider.js +4 -4
- package/dist/modules/comments/types.d.ts +3 -1
- package/dist/modules/editor/hooks/useTipTapEditor.js +4 -4
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +5 -5
- package/dist/modules/modals/ResourceModal/ResourceModal.js +1 -2
- package/dist/modules/modals/ShareModal/ShareResources.js +8 -5
- package/dist/modules/multimedia/Linker/ExternalLinker/ExternalLinker.js +1 -2
- package/dist/modules/multimedia/Linker/InternalLinker/InternalLinker.js +1 -2
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +1 -1
- package/dist/multimedia.js +10 -10
- package/dist/providers/AntThemeProvider/antThemeConfig.js +1 -2
- package/dist/utilities/mime-types/index.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.d.ts +1 -0
- package/dist/utilities/mime-types/mime-types-utils.js +4 -0
- package/package.json +6 -6
- package/dist/modules/comments/components/CommentHeader.d.ts +0 -3
- package/dist/modules/comments/components/CommentHeader.js +0 -8
|
@@ -9,17 +9,14 @@ const CommentDate = ({
|
|
|
9
9
|
fromNow
|
|
10
10
|
} = useDate(), {
|
|
11
11
|
t
|
|
12
|
-
} = useTranslation()
|
|
13
|
-
|
|
14
|
-
}), getUpdatedDate = (date) => t("comment.update.date", {
|
|
15
|
-
date: fromNow(date)
|
|
16
|
-
});
|
|
17
|
-
return updatedAt ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
+
} = useTranslation();
|
|
13
|
+
return updatedAt || createdAt ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
18
14
|
/* @__PURE__ */ jsx("span", { className: "small text-gray-700", children: "|" }),
|
|
19
|
-
/* @__PURE__ */ jsx("span", { className: "small text-gray-700", children:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
/* @__PURE__ */ jsx("span", { "data-testid": "comment-info-date", className: "small text-gray-700", children: updatedAt ? ((date) => t("comment.update.date", {
|
|
16
|
+
date: fromNow(date)
|
|
17
|
+
}))(updatedAt) : ((date) => t("comment.publish.date", {
|
|
18
|
+
date: fromNow(date)
|
|
19
|
+
}))(createdAt) })
|
|
23
20
|
] }) : null;
|
|
24
21
|
};
|
|
25
22
|
export {
|
|
@@ -4,7 +4,7 @@ const CommentDeleted = () => {
|
|
|
4
4
|
const {
|
|
5
5
|
t
|
|
6
6
|
} = useTranslation();
|
|
7
|
-
return /* @__PURE__ */ jsx("div", { className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16", children: t("comment.deleted") });
|
|
7
|
+
return /* @__PURE__ */ jsx("div", { "data-testid": "div-comment-deleted", className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 my-16", children: t("comment.deleted") });
|
|
8
8
|
};
|
|
9
9
|
export {
|
|
10
10
|
CommentDeleted
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
2
3
|
import { useTranslation } from "react-i18next";
|
|
3
4
|
import SvgIconSend from "../../icons/components/IconSend.js";
|
|
4
5
|
import { useAutosizeTextarea } from "../hooks/useAutosizeTextarea.js";
|
|
5
6
|
import { useCommentsContext } from "../hooks/useCommentsContext.js";
|
|
6
7
|
import { CommentAvatar } from "./CommentAvatar.js";
|
|
7
8
|
import { TextCounter } from "./TextCounter.js";
|
|
8
|
-
import { useState } from "react";
|
|
9
9
|
import Button from "../../../components/Button/Button.js";
|
|
10
10
|
const CommentForm = ({
|
|
11
11
|
userId,
|
|
@@ -22,19 +22,19 @@ const CommentForm = ({
|
|
|
22
22
|
}, handleSubmit = () => {
|
|
23
23
|
handleCreateComment(content, replyTo), setContent("");
|
|
24
24
|
};
|
|
25
|
-
return
|
|
25
|
+
return type === "edit" && /* @__PURE__ */ jsxs("div", { "data-testid": "div-comment-create", className: "border rounded-3 p-12 pb-8 d-flex gap-12 bg-gray-200 d-print-none", children: [
|
|
26
26
|
/* @__PURE__ */ jsx(CommentAvatar, { id: userId }),
|
|
27
27
|
/* @__PURE__ */ jsxs("div", { className: "d-flex flex-column flex-fill gap-4", children: [
|
|
28
|
-
/* @__PURE__ */ jsx("textarea", { id: "add-comment", ref, value: content, className: "form-control", placeholder: t("comment.placeholder.textarea"), maxLength: options.maxCommentLength, onChange: handleChangeContent, onFocus, rows: 1, style: {
|
|
28
|
+
/* @__PURE__ */ jsx("textarea", { id: "add-comment", "data-testid": "comment-form", ref, value: content, className: "form-control", placeholder: t("comment.placeholder.textarea"), maxLength: options.maxCommentLength, onChange: handleChangeContent, onFocus, rows: 1, style: {
|
|
29
29
|
resize: "none",
|
|
30
30
|
overflow: "hidden"
|
|
31
31
|
} }),
|
|
32
32
|
/* @__PURE__ */ jsxs("div", { className: "d-flex justify-content-end align-items-center gap-4", children: [
|
|
33
33
|
/* @__PURE__ */ jsx(TextCounter, { content, maxLength: options.maxCommentLength }),
|
|
34
|
-
/* @__PURE__ */ jsx(Button, { type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSend, {}), disabled: !(content != null && content.length), onClick: handleSubmit, children: t("comment.post") })
|
|
34
|
+
/* @__PURE__ */ jsx(Button, { "data-testid": "comment-publish", type: "submit", variant: "ghost", size: "sm", leftIcon: /* @__PURE__ */ jsx(SvgIconSend, {}), disabled: !(content != null && content.length), onClick: handleSubmit, children: t("comment.post") })
|
|
35
35
|
] })
|
|
36
36
|
] })
|
|
37
|
-
] })
|
|
37
|
+
] });
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
40
|
CommentForm
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
const CommentTitle = ({
|
|
3
3
|
children
|
|
4
|
-
}) => /* @__PURE__ */ jsx("span", { className: "small text-gray-800", children });
|
|
4
|
+
}) => /* @__PURE__ */ jsx("span", { "data-testid": "comment-info-author", className: "small text-gray-800", children });
|
|
5
5
|
export {
|
|
6
6
|
CommentTitle
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { CommentForm } from "../components/CommentForm.js";
|
|
4
|
-
import { CommentHeader } from "../components/CommentHeader.js";
|
|
5
4
|
import { CommentList } from "../components/CommentList.js";
|
|
6
5
|
import { DEFAULT_ALLOW_REPLIES, DEFAULT_ADD_REPLIES, DEFAULT_MAX_REPLIES, DEFAULT_ADD_COMMENTS, DEFAULT_MAX_COMMENTS, DEFAULT_MAX_REPLY_LENGTH, DEFAULT_MAX_COMMENT_LENGTH } from "../constants.js";
|
|
7
6
|
import { CommentContext } from "../context/Context.js";
|
|
8
7
|
import { useComments } from "../hooks/useComments.js";
|
|
8
|
+
import Heading from "../../../components/Heading/Heading.js";
|
|
9
9
|
import Button from "../../../components/Button/Button.js";
|
|
10
10
|
import EmptyScreen from "../../../components/EmptyScreen/EmptyScreen.js";
|
|
11
11
|
const CommentProvider = ({
|
|
@@ -71,15 +71,15 @@ const CommentProvider = ({
|
|
|
71
71
|
[displayedComments, editCommentId, profilesQueries, options]
|
|
72
72
|
);
|
|
73
73
|
return /* @__PURE__ */ jsx(CommentContext.Provider, { value: values, children: /* @__PURE__ */ jsxs("div", { className: "my-24", children: [
|
|
74
|
-
/* @__PURE__ */ jsx(
|
|
74
|
+
/* @__PURE__ */ jsx(Heading, { "data-testid": "comments-info-count-text", level: "h3", headingStyle: "h3", className: displayedComments.length === 0 ? "d-print-none" : "", children: title }),
|
|
75
75
|
/* @__PURE__ */ jsxs("div", { className: "my-24", children: [
|
|
76
76
|
user && /* @__PURE__ */ jsx(CommentForm, { userId: user.userId }),
|
|
77
|
-
profilesQueries.isLoading
|
|
77
|
+
!profilesQueries.isLoading && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
78
78
|
/* @__PURE__ */ jsx(CommentList, {}),
|
|
79
79
|
showMoreComments && /* @__PURE__ */ jsx(Button, { variant: "ghost", color: "tertiary", onClick: handleMoreComments, className: "my-16", children: t("comment.more") })
|
|
80
80
|
] })
|
|
81
81
|
] }),
|
|
82
|
-
!displayedComments.length && type === "edit" && /* @__PURE__ */ jsxs("div", { className: "comments-emptyscreen", children: [
|
|
82
|
+
!displayedComments.length && type === "edit" && /* @__PURE__ */ jsxs("div", { className: "comments-emptyscreen d-print-none", children: [
|
|
83
83
|
/* @__PURE__ */ jsx("div", { className: "comments-emptyscreen-wrapper", children: /* @__PURE__ */ jsx(EmptyScreen, { imageSrc: emptyscreenPath, size: 150 }) }),
|
|
84
84
|
/* @__PURE__ */ jsx("p", { children: t("comment.emptyscreen") })
|
|
85
85
|
] })
|
|
@@ -71,7 +71,9 @@ interface EditRootProps extends BaseProps {
|
|
|
71
71
|
*/
|
|
72
72
|
callbacks: CommentCallbacks;
|
|
73
73
|
/**
|
|
74
|
-
* Rights to perform CRUD on comment
|
|
74
|
+
* Rights to perform CRUD on comment (type=`edit` required):
|
|
75
|
+
* - manager => delete
|
|
76
|
+
* Also, comment's author can update, delete
|
|
75
77
|
*/
|
|
76
78
|
rights?: Record<RightRole, boolean>;
|
|
77
79
|
}
|
|
@@ -27,16 +27,16 @@ import { useTranslation } from "react-i18next";
|
|
|
27
27
|
import { useEdificeClient } from "../../../providers/EdificeClientProvider/EdificeClientProvider.hook.js";
|
|
28
28
|
import useUpload from "../../../hooks/useUpload/useUpload.js";
|
|
29
29
|
import IframeNodeView from "../components/NodeView/IframeNodeView.js";
|
|
30
|
+
import MediaRenderer from "../components/Renderer/MediaRenderer.js";
|
|
30
31
|
import VideoNodeView from "../components/NodeView/VideoNodeView.js";
|
|
31
32
|
import AudioNodeView from "../components/NodeView/AudioNodeView.js";
|
|
33
|
+
import AudioRenderer from "../components/Renderer/AudioRenderer.js";
|
|
32
34
|
import LinkerNodeView from "../components/NodeView/LinkerNodeView.js";
|
|
35
|
+
import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
|
|
33
36
|
import ImageNodeView from "../components/NodeView/ImageNodeView.js";
|
|
34
37
|
import AttachmentNodeView from "../components/NodeView/AttachmentNodeView.js";
|
|
35
|
-
import InformationPaneNodeView from "../components/NodeView/InformationPaneNodeView.js";
|
|
36
|
-
import MediaRenderer from "../components/Renderer/MediaRenderer.js";
|
|
37
|
-
import AudioRenderer from "../components/Renderer/AudioRenderer.js";
|
|
38
|
-
import LinkerRenderer from "../components/Renderer/LinkerRenderer.js";
|
|
39
38
|
import AttachmentRenderer from "../components/Renderer/AttachmentRenderer.js";
|
|
39
|
+
import InformationPaneNodeView from "../components/NodeView/InformationPaneNodeView.js";
|
|
40
40
|
import InformationPaneRenderer from "../components/Renderer/InformationPaneRenderer.js";
|
|
41
41
|
const useTipTapEditor = (editable, content, focus, placeholder, onContentChange, visibility = "protected", extensions) => {
|
|
42
42
|
const {
|
|
@@ -44,7 +44,7 @@ const OnboardingModal = /* @__PURE__ */ forwardRef(({
|
|
|
44
44
|
}, handleCloseWithoutPreference = () => {
|
|
45
45
|
setIsOpen(!1), setSwiperprogress(0);
|
|
46
46
|
};
|
|
47
|
-
return /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", size: "md", isOpen, focusId: "nextButtonId", onModalClose: handleCloseWithoutPreference, children: [
|
|
47
|
+
return /* @__PURE__ */ createPortal(/* @__PURE__ */ jsxs(Modal, { id: "onboarding-modal", "data-testid": "modal-onboarding", size: "md", isOpen, focusId: "nextButtonId", onModalClose: handleCloseWithoutPreference, children: [
|
|
48
48
|
/* @__PURE__ */ jsx(Modal.Header, { onModalClose: handleCloseWithoutPreference, centered: !0, children: t(currentTitle || "explorer.modal.onboarding.trash.title") }),
|
|
49
49
|
/* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(Swiper, { modules: [Pagination], onSwiper: (swiper) => {
|
|
50
50
|
setSwiperInstance(swiper);
|
|
@@ -59,10 +59,10 @@ const OnboardingModal = /* @__PURE__ */ forwardRef(({
|
|
|
59
59
|
} })
|
|
60
60
|
] }, index)) }) }),
|
|
61
61
|
/* @__PURE__ */ jsxs(Modal.Footer, { children: [
|
|
62
|
-
/* @__PURE__ */ jsx(Button, { type: "button", color: "tertiary", variant: "ghost", onClick: handleCloseWithoutPreference, children: t("explorer.modal.onboarding.trash.later") }),
|
|
63
|
-
swiperProgress > 0 && /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "outline", onClick: () => swiperInstance.slidePrev(), children: t(prevText || "explorer.modal.onboarding.trash.prev") }),
|
|
64
|
-
swiperProgress < 1 && /* @__PURE__ */ jsx(Button, { id: "nextButtonId", type: "button", color: "primary", variant: "filled", onClick: () => swiperInstance.slideNext(), children: t(nextText || "explorer.modal.onboarding.trash.next") }),
|
|
65
|
-
swiperProgress === 1 && /* @__PURE__ */ jsx(Button, { type: "button", color: "primary", variant: "filled", onClick: () => {
|
|
62
|
+
/* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-later", type: "button", color: "tertiary", variant: "ghost", onClick: handleCloseWithoutPreference, children: t("explorer.modal.onboarding.trash.later") }),
|
|
63
|
+
swiperProgress > 0 && /* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-previous", type: "button", color: "primary", variant: "outline", onClick: () => swiperInstance.slidePrev(), children: t(prevText || "explorer.modal.onboarding.trash.prev") }),
|
|
64
|
+
swiperProgress < 1 && /* @__PURE__ */ jsx(Button, { id: "nextButtonId", "data-testid": "modal-onboarding-next", type: "button", color: "primary", variant: "filled", onClick: () => swiperInstance.slideNext(), children: t(nextText || "explorer.modal.onboarding.trash.next") }),
|
|
65
|
+
swiperProgress === 1 && /* @__PURE__ */ jsx(Button, { "data-testid": "modal-onboarding-close", type: "button", color: "primary", variant: "filled", onClick: () => {
|
|
66
66
|
isOnboarding ? handleCloseWithPreference() : handleCloseWithoutPreference();
|
|
67
67
|
}, children: t(closeText || "explorer.modal.onboarding.trash.close") })
|
|
68
68
|
] })
|
|
@@ -9,6 +9,7 @@ import { ShareBookmarkLine } from "./ShareBookmarkLine.js";
|
|
|
9
9
|
import { useSearch } from "./hooks/useSearch.js";
|
|
10
10
|
import useShare from "./hooks/useShare.js";
|
|
11
11
|
import { useShareBookmark } from "./hooks/useShareBookmark.js";
|
|
12
|
+
import useDirectory from "../../../hooks/useDirectory/useDirectory.js";
|
|
12
13
|
import Heading from "../../../components/Heading/Heading.js";
|
|
13
14
|
import Tooltip from "../../../components/Tooltip/Tooltip.js";
|
|
14
15
|
import Combobox from "../../../components/Combobox/Combobox.js";
|
|
@@ -95,7 +96,9 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
|
|
|
95
96
|
shareDispatch
|
|
96
97
|
}), handleOnSaveBookmark = () => (setIsSavingBookmark(!0), handleOnSave().then(() => {
|
|
97
98
|
setIsSavingBookmark(!1);
|
|
98
|
-
}))
|
|
99
|
+
})), {
|
|
100
|
+
getAvatarURL
|
|
101
|
+
} = useDirectory();
|
|
99
102
|
useImperativeHandle(ref, () => ({
|
|
100
103
|
handleShare
|
|
101
104
|
}), [handleShare]), useEffect(() => {
|
|
@@ -105,7 +108,7 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
|
|
|
105
108
|
}, [isSavingBookmark, isSharing, onSubmit]);
|
|
106
109
|
const {
|
|
107
110
|
t
|
|
108
|
-
} = useTranslation(), searchPlaceholder = showSearchAdmlHint() ? t("explorer.search.adml.hint") : t("explorer.modal.share.search.placeholder");
|
|
111
|
+
} = useTranslation(), userIsAuthor = currentIsAuthor(), searchPlaceholder = showSearchAdmlHint() ? t("explorer.search.adml.hint") : t("explorer.modal.share.search.placeholder");
|
|
109
112
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
110
113
|
/* @__PURE__ */ jsxs(Heading, { headingStyle: "h4", level: "h3", className: "mb-16 d-flex align-items-center", children: [
|
|
111
114
|
/* @__PURE__ */ jsx("div", { className: "me-8", children: t("explorer.modal.share.search") }),
|
|
@@ -120,9 +123,9 @@ const ShareResources = /* @__PURE__ */ forwardRef(({
|
|
|
120
123
|
/* @__PURE__ */ jsx("th", { scope: "col", children: /* @__PURE__ */ jsx(VisuallyHidden, { children: t("close") }) })
|
|
121
124
|
] }) }),
|
|
122
125
|
/* @__PURE__ */ jsxs("tbody", { children: [
|
|
123
|
-
|
|
124
|
-
/* @__PURE__ */ jsx("th", { scope: "row", children: /* @__PURE__ */ jsx(Avatar, { alt: t("explorer.modal.share.avatar.me.alt"), size: "xs", src: myAvatar, variant: "circle" }) }),
|
|
125
|
-
/* @__PURE__ */ jsx("td", { children: t("share.me") }),
|
|
126
|
+
/* @__PURE__ */ jsxs("tr", { children: [
|
|
127
|
+
/* @__PURE__ */ jsx("th", { scope: "row", children: /* @__PURE__ */ jsx(Avatar, { alt: t("explorer.modal.share.avatar.me.alt"), size: "xs", src: userIsAuthor ? myAvatar : getAvatarURL(resourceCreatorId, "user"), variant: "circle" }) }),
|
|
128
|
+
/* @__PURE__ */ jsx("td", { children: t(userIsAuthor ? "share.me" : "share.author") }),
|
|
126
129
|
shareRightActions.map((shareRightAction) => /* @__PURE__ */ jsx("td", { style: {
|
|
127
130
|
width: "80px"
|
|
128
131
|
}, className: "text-center text-white", children: /* @__PURE__ */ jsx(Checkbox, { checked: !0, disabled: !0 }) }, shareRightAction.displayName)),
|
|
@@ -12,7 +12,7 @@ import SvgIconSmartphone from "../../icons/components/IconSmartphone.js";
|
|
|
12
12
|
import { InnerTabs } from "./innertabs/index.js";
|
|
13
13
|
import { MediaLibraryContext } from "./MediaLibraryContext.js";
|
|
14
14
|
import useHasWorkflow from "../../../hooks/useHasWorkflow/useHasWorkflow.js";
|
|
15
|
-
import
|
|
15
|
+
import useHttpErrorToast from "../../../hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
16
16
|
import Modal from "../../../components/Modal/Modal.js";
|
|
17
17
|
import { Tabs } from "../../../components/Tabs/components/Tabs.js";
|
|
18
18
|
import Button from "../../../components/Button/Button.js";
|
package/dist/multimedia.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as default2 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
2
2
|
import { default as default3 } from "./modules/multimedia/Embed/Embed.js";
|
|
3
|
-
import { default as default4 } from "./modules/multimedia/
|
|
4
|
-
import { default as default5 } from "./modules/multimedia/
|
|
5
|
-
import { default as default6 } from "./modules/multimedia/
|
|
3
|
+
import { default as default4 } from "./modules/multimedia/FileCard/FileCard.js";
|
|
4
|
+
import { default as default5 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
5
|
+
import { default as default6 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
6
6
|
import { default as default7 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
7
|
-
import { default as default8 } from "./modules/multimedia/
|
|
8
|
-
import { default as default9 } from "./modules/multimedia/
|
|
7
|
+
import { default as default8 } from "./modules/multimedia/UploadCard/UploadCard.js";
|
|
8
|
+
import { default as default9 } from "./modules/multimedia/UploadFiles/UploadFiles.js";
|
|
9
9
|
import { default as default10 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
10
10
|
import { default as default11 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
11
11
|
import { default as default12 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
@@ -17,14 +17,14 @@ export {
|
|
|
17
17
|
default2 as AudioRecorder,
|
|
18
18
|
default3 as Embed,
|
|
19
19
|
ExternalLinker,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
default4 as FileCard,
|
|
21
|
+
default5 as ImageEditor,
|
|
22
|
+
default6 as ImagePicker,
|
|
23
23
|
InternalLinker,
|
|
24
24
|
default7 as MediaLibrary,
|
|
25
25
|
Upload,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
default8 as UploadCard,
|
|
27
|
+
default9 as UploadFiles,
|
|
28
28
|
default10 as VideoEmbed,
|
|
29
29
|
default11 as VideoRecorder,
|
|
30
30
|
default12 as Workspace,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mime-types-utils';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HEIC_MIME_TYPES: string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.8-develop-b2school.20260122173252",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -134,9 +134,9 @@
|
|
|
134
134
|
"react-slugify": "^3.0.3",
|
|
135
135
|
"swiper": "^10.1.0",
|
|
136
136
|
"ua-parser-js": "^1.0.36",
|
|
137
|
-
"@edifice.io/bootstrap": "2.5.
|
|
138
|
-
"@edifice.io/tiptap-extensions": "2.5.
|
|
139
|
-
"@edifice.io/utilities": "2.5.
|
|
137
|
+
"@edifice.io/bootstrap": "2.5.8-develop-b2school.20260122173252",
|
|
138
|
+
"@edifice.io/tiptap-extensions": "2.5.8-develop-b2school.20260122173252",
|
|
139
|
+
"@edifice.io/utilities": "2.5.8-develop-b2school.20260122173252"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -167,8 +167,8 @@
|
|
|
167
167
|
"vite": "^5.4.11",
|
|
168
168
|
"vite-plugin-dts": "^4.1.0",
|
|
169
169
|
"vite-tsconfig-paths": "^5.0.1",
|
|
170
|
-
"@edifice.io/client": "2.5.
|
|
171
|
-
"@edifice.io/config": "2.5.
|
|
170
|
+
"@edifice.io/client": "2.5.8-develop-b2school.20260122173252",
|
|
171
|
+
"@edifice.io/config": "2.5.8-develop-b2school.20260122173252"
|
|
172
172
|
},
|
|
173
173
|
"peerDependencies": {
|
|
174
174
|
"@react-spring/web": "^9.7.5",
|