@edifice.io/react 2.0.0-develop-rc.3 → 2.0.0-develop-rc.4
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/ActionBar/ActionBar.d.ts +1 -1
- package/dist/components/ActionBar/ActionBar.js +3 -2
- package/dist/components/ActionBar/index.d.ts +0 -1
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.js +2 -1
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/AppHeader/AppHeader.d.ts +1 -1
- package/dist/components/AppHeader/AppHeader.js +3 -2
- package/dist/components/AppHeader/index.d.ts +0 -1
- package/dist/components/AppIcon/AppIcon.js +1 -1
- package/dist/components/Attachment/Attachment.d.ts +1 -1
- package/dist/components/Attachment/Attachment.js +3 -2
- package/dist/components/Attachment/index.d.ts +0 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +4 -3
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Badge/Badge.js +3 -2
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +4 -3
- package/dist/components/Button/IconButton.d.ts +1 -1
- package/dist/components/Button/IconButton.js +4 -3
- package/dist/components/Button/SearchButton.d.ts +1 -1
- package/dist/components/Button/SearchButton.js +4 -3
- package/dist/components/Button/index.d.ts +0 -3
- package/dist/components/Card/Card.d.ts +1 -1
- package/dist/components/Card/Card.js +3 -2
- package/dist/components/Card/CardHeader.js +1 -1
- package/dist/components/Card/CardImage.js +1 -1
- package/dist/components/Card/CardUser.js +1 -1
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -2
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +5 -4
- package/dist/components/ColorPicker/ColorPickerItem.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPickerItem.js +3 -2
- package/dist/components/ColorPicker/index.d.ts +1 -3
- package/dist/components/Combobox/Combobox.d.ts +1 -1
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/ComboboxTrigger.js +2 -2
- package/dist/components/Combobox/index.d.ts +0 -1
- package/dist/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.js +4 -3
- package/dist/components/Dropdown/DropdownCheckboxItem.js +1 -1
- package/dist/components/Dropdown/DropdownRadioItem.js +1 -1
- package/dist/components/Dropdown/index.d.ts +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +1 -1
- package/dist/components/Dropzone/Dropzone.js +2 -2
- package/dist/components/Dropzone/DropzoneFile.js +1 -1
- package/dist/components/Dropzone/DropzoneImport.js +1 -1
- package/dist/components/Dropzone/index.d.ts +0 -1
- package/dist/components/EmptyScreen/EmptyScreen.d.ts +1 -1
- package/dist/components/EmptyScreen/EmptyScreen.js +4 -3
- package/dist/components/EmptyScreen/index.d.ts +0 -1
- package/dist/components/FileCard/FileCard.d.ts +1 -1
- package/dist/components/FileCard/FileCard.js +4 -3
- package/dist/components/FileCard/index.d.ts +0 -1
- package/dist/components/Form/FormControl.d.ts +1 -1
- package/dist/components/Form/FormControl.js +6 -5
- package/dist/components/Form/FormText.d.ts +1 -1
- package/dist/components/Form/FormText.js +3 -2
- package/dist/components/Form/index.d.ts +1 -2
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.js +3 -2
- package/dist/components/Heading/index.d.ts +0 -1
- package/dist/components/Image/Image.d.ts +1 -1
- package/dist/components/Image/Image.js +3 -2
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/ImagePicker/ImagePicker.js +4 -4
- package/dist/components/Input/Input.d.ts +1 -1
- package/dist/components/Input/Input.js +3 -2
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Label/Label.d.ts +1 -1
- package/dist/components/Label/Label.js +3 -2
- package/dist/components/Label/index.d.ts +0 -1
- package/dist/components/Loading/Loading.d.ts +1 -1
- package/dist/components/Loading/Loading.js +3 -2
- package/dist/components/Loading/index.d.ts +0 -1
- package/dist/components/LoadingScreen/LoadingScreen.d.ts +1 -1
- package/dist/components/LoadingScreen/LoadingScreen.js +3 -2
- package/dist/components/LoadingScreen/index.d.ts +1 -1
- package/dist/components/Logo/Logo.d.ts +1 -1
- package/dist/components/Logo/Logo.js +3 -2
- package/dist/components/Logo/index.d.ts +0 -1
- package/dist/components/Menu/MenuButton.js +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.js +3 -2
- package/dist/components/Modal/ModalHeader.js +1 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +3 -2
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/SearchBar/SearchBar.js +5 -4
- package/dist/components/SearchBar/index.d.ts +0 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +4 -3
- package/dist/components/Select/SelectTrigger.js +1 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Table/TableExplorer.d.ts +1 -1
- package/dist/components/Table/TableExplorer.js +3 -2
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/Tabs.js +2 -2
- package/dist/components/Tabs/TabsList.js +1 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -1
- package/dist/components/TextArea/TextArea.js +3 -2
- package/dist/components/TextArea/index.d.ts +0 -1
- package/dist/components/Toolbar/Toolbar.d.ts +1 -1
- package/dist/components/Toolbar/Toolbar.js +7 -6
- package/dist/components/Toolbar/index.d.ts +0 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -2
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/TreeView/TreeView.d.ts +1 -1
- package/dist/components/TreeView/TreeView.js +3 -2
- package/dist/components/TreeView/index.d.ts +0 -1
- package/dist/components/UploadCard/UploadCard.js +6 -6
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -2
- package/dist/components/VisuallyHidden/index.d.ts +1 -1
- package/dist/core/useAvatar/useAvatar.js +1 -1
- package/dist/index.js +98 -98
- package/dist/modals.js +12 -14
- package/dist/modules/audience/ReactionChoice.js +3 -3
- package/dist/modules/audience/ReactionModal.Card.js +1 -1
- package/dist/modules/audience/ReactionModal.js +3 -3
- package/dist/modules/audience/ReactionSummary.js +1 -1
- package/dist/modules/audience/ViewsCounter.js +1 -1
- package/dist/modules/audience/ViewsModal.js +2 -2
- package/dist/modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js +1 -1
- package/dist/modules/editor/components/Editor/Editor.js +1 -1
- package/dist/modules/editor/components/Editor/MathsModal.js +2 -2
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.DropdownMenu.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Emoji.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.HighlightColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.PlusMenu.js +1 -1
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextColor.js +4 -4
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.TextSize.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.Typography.js +3 -3
- package/dist/modules/editor/components/EditorToolbar/EditorToolbar.js +1 -1
- package/dist/modules/editor/components/Renderer/AttachmentRenderer.js +2 -2
- package/dist/modules/editor/components/Renderer/LinkerRenderer.js +1 -1
- package/dist/modules/editor/components/Renderer/MediaRenderer.js +1 -1
- package/dist/modules/editor/components/Toolbar/LinkToolbar.js +1 -1
- package/dist/modules/editor/components/Toolbar/TableToolbar.AddMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.CellColor.js +4 -4
- package/dist/modules/editor/components/Toolbar/TableToolbar.DelMenu.js +2 -2
- package/dist/modules/editor/components/Toolbar/TableToolbar.js +1 -1
- package/dist/modules/modals/OnboardingModal/OnboardingModal.js +3 -3
- package/dist/modules/modals/PublishModal/PublishModal.js +8 -8
- package/dist/modules/modals/PublishModal/components/ActivitiesDropdown.js +1 -1
- package/dist/modules/modals/PublishModal/components/AgeSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/LangSelect.js +1 -1
- package/dist/modules/modals/PublishModal/components/SubjectsDropdown.js +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/ResourceModal.js +11 -10
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +8 -7
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.d.ts +1 -1
- package/dist/modules/modals/ResourceModal/hooks/useUpdateMutation.js +3 -2
- package/dist/modules/modals/ResourceModal/index.d.ts +3 -3
- package/dist/modules/modals/ShareModal/apps/ShareBlog.d.ts +2 -1
- package/dist/modules/modals/ShareModal/apps/ShareBlog.js +3 -2
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.d.ts +1 -1
- package/dist/modules/modals/ShareModal/hooks/useShareMutation.js +3 -2
- package/dist/modules/modals/ShareModal/index.d.ts +3 -3
- package/dist/modules/multimedia/AudioRecorder/AudioRecorder.js +3 -3
- package/dist/modules/multimedia/Embed/Embed.js +2 -2
- package/dist/modules/multimedia/ImageEditor/components/ImageEditor.js +6 -6
- package/dist/modules/multimedia/ImageEditor/components/ImageEditorToolbar.js +1 -1
- package/dist/modules/multimedia/ImagePickerWorkspace/ImagePickerWorkspace.js +2 -2
- package/dist/modules/multimedia/Linker/ExternalLinker.js +4 -4
- package/dist/modules/multimedia/Linker/InternalLinker.js +4 -4
- package/dist/modules/multimedia/LinkerCard/LinkerCard.d.ts +1 -1
- package/dist/modules/multimedia/LinkerCard/LinkerCard.js +5 -4
- package/dist/modules/multimedia/LinkerCard/index.d.ts +0 -1
- package/dist/modules/multimedia/MediaLibrary/MediaLibrary.js +3 -3
- package/dist/modules/multimedia/MediaLibrary/innertabs/InternalLink.js +1 -1
- package/dist/modules/multimedia/MediaLibrary/innertabs/Upload.js +1 -1
- package/dist/modules/multimedia/VideoEmbed/VideoEmbed.js +5 -5
- package/dist/modules/multimedia/VideoRecorder/VideoRecorder.js +5 -5
- package/dist/modules/multimedia/Workspace/Workspace.js +6 -6
- package/dist/multimedia.js +8 -8
- package/dist/portal/Header/Header.js +3 -3
- package/dist/portal/Header/NavLink.js +1 -1
- package/dist/portal/Help/Help.js +1 -1
- package/dist/portal/Help/hooks/useHelp.js +1 -1
- package/dist/portal/Layout/Layout.js +1 -1
- package/dist/portal/SearchEngine/SearchEngine.js +2 -2
- package/package.json +2 -2
- package/dist/modules/modals/ShareModal/ShareBookmark.js +0 -22
- package/dist/modules/modals/ShareModal/ShareBookmarkLine.js +0 -42
- package/dist/modules/modals/ShareModal/ShareModal.js +0 -128
- package/dist/modules/modals/ShareModal/hooks/useSearch.js +0 -178
- package/dist/modules/modals/ShareModal/hooks/useShare.js +0 -192
- package/dist/modules/modals/ShareModal/hooks/useShareBookmark.js +0 -67
- package/dist/modules/modals/ShareModal/utils/hasRight.js +0 -4
- package/dist/modules/modals/ShareModal/utils/showShareRightLine.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import
|
|
4
|
-
import Image from "../Image/Image.js";
|
|
5
|
-
import Tooltip from "../Tooltip/Tooltip.js";
|
|
6
|
-
import Loading from "../Loading/Loading.js";
|
|
7
|
-
import Card from "../Card/Card.js";
|
|
8
|
-
import IconButton from "../Button/IconButton.js";
|
|
3
|
+
import { Card } from "../Card/Card.js";
|
|
9
4
|
import usePaths from "../../core/usePaths/usePaths.js";
|
|
5
|
+
import { Button } from "../Button/Button.js";
|
|
10
6
|
import { Icon } from "../Icon/Icon.js";
|
|
7
|
+
import { Image } from "../Image/Image.js";
|
|
8
|
+
import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
9
|
+
import { Loading } from "../Loading/Loading.js";
|
|
10
|
+
import { IconButton } from "../Button/IconButton.js";
|
|
11
11
|
const UploadCard = ({
|
|
12
12
|
item,
|
|
13
13
|
status = "idle",
|
|
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export interface VisuallyHiddenProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const VisuallyHidden: import('react').ForwardRefExoticComponent<VisuallyHiddenProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
5
|
+
export declare const VisuallyHidden: import('react').ForwardRefExoticComponent<VisuallyHiddenProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
6
6
|
export default VisuallyHidden;
|
|
@@ -2,7 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
const VisuallyHidden = /* @__PURE__ */ forwardRef(({
|
|
4
4
|
children
|
|
5
|
-
}, ref) => /* @__PURE__ */ jsx("span", { className: "visually-hidden", ref, children }))
|
|
5
|
+
}, ref) => /* @__PURE__ */ jsx("span", { className: "visually-hidden", ref, children }));
|
|
6
6
|
export {
|
|
7
|
-
VisuallyHidden
|
|
7
|
+
VisuallyHidden,
|
|
8
|
+
VisuallyHidden as default
|
|
8
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './VisuallyHidden';
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { odeServices } from "edifice-ts-client";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import Badge from "../../components/Badge/Badge.js";
|
|
5
|
+
import { Badge } from "../../components/Badge/Badge.js";
|
|
6
6
|
function useAvatar(userId, userProfile) {
|
|
7
7
|
const {
|
|
8
8
|
t
|
package/dist/index.js
CHANGED
|
@@ -23,67 +23,67 @@ import { default as default23 } from "./hooks/useTitle/useTitle.js";
|
|
|
23
23
|
import { default as default24 } from "./hooks/useToggle/useToggle.js";
|
|
24
24
|
import { default as default25 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
25
25
|
import { default as default26 } from "./widgets/Widget/Widget.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
26
|
+
import { ActionBar } from "./components/ActionBar/ActionBar.js";
|
|
27
|
+
import { Alert } from "./components/Alert/Alert.js";
|
|
28
|
+
import { AppHeader } from "./components/AppHeader/AppHeader.js";
|
|
29
29
|
import { AppIcon } from "./components/AppIcon/AppIcon.js";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
30
|
+
import { Attachment } from "./components/Attachment/Attachment.js";
|
|
31
|
+
import { Avatar } from "./components/Avatar/Avatar.js";
|
|
32
|
+
import { Badge } from "./components/Badge/Badge.js";
|
|
33
33
|
import { Breadcrumb } from "./components/Breadcrumb/Breadcrumb.js";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { default as default38 } from "./components/ColorPicker/ColorPicker.js";
|
|
40
|
-
import { default as default39 } from "./components/ColorPicker/ColorPickerItem.js";
|
|
34
|
+
import { Button } from "./components/Button/Button.js";
|
|
35
|
+
import { IconButton } from "./components/Button/IconButton.js";
|
|
36
|
+
import { SearchButton } from "./components/Button/SearchButton.js";
|
|
37
|
+
import { Card } from "./components/Card/Card.js";
|
|
38
|
+
import { Checkbox } from "./components/Checkbox/Checkbox.js";
|
|
41
39
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
40
|
+
import { ColorPicker } from "./components/ColorPicker/ColorPicker.js";
|
|
41
|
+
import { ColorPickerItem } from "./components/ColorPicker/ColorPickerItem.js";
|
|
42
|
+
import { Combobox } from "./components/Combobox/Combobox.js";
|
|
43
|
+
import { Dropdown } from "./components/Dropdown/Dropdown.js";
|
|
44
|
+
import { Dropzone } from "./components/Dropzone/Dropzone.js";
|
|
45
|
+
import { EmptyScreen } from "./components/EmptyScreen/EmptyScreen.js";
|
|
46
|
+
import { FileCard } from "./components/FileCard/FileCard.js";
|
|
47
|
+
import { FormControl } from "./components/Form/FormControl.js";
|
|
48
|
+
import { FormText } from "./components/Form/FormText.js";
|
|
49
49
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
50
|
-
import {
|
|
50
|
+
import { Heading } from "./components/Heading/Heading.js";
|
|
51
51
|
import { Icon } from "./components/Icon/Icon.js";
|
|
52
|
-
import {
|
|
52
|
+
import { Image } from "./components/Image/Image.js";
|
|
53
53
|
import { ImagePicker } from "./components/ImagePicker/ImagePicker.js";
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
54
|
+
import { Input } from "./components/Input/Input.js";
|
|
55
|
+
import { Label } from "./components/Label/Label.js";
|
|
56
|
+
import { Loading } from "./components/Loading/Loading.js";
|
|
57
|
+
import { LoadingScreen } from "./components/LoadingScreen/LoadingScreen.js";
|
|
58
|
+
import { Logo } from "./components/Logo/Logo.js";
|
|
59
59
|
import { Menu } from "./components/Menu/Menu.js";
|
|
60
|
-
import {
|
|
60
|
+
import { Modal } from "./components/Modal/Modal.js";
|
|
61
61
|
import { Popover, PopoverBody, PopoverFooter, PopoverHeader } from "./components/Popover/Popover.js";
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
62
|
+
import { Radio } from "./components/Radio/Radio.js";
|
|
63
|
+
import { SearchBar } from "./components/SearchBar/SearchBar.js";
|
|
64
|
+
import { Select } from "./components/Select/Select.js";
|
|
65
|
+
import { TableExplorer } from "./components/Table/TableExplorer.js";
|
|
66
|
+
import { Tabs } from "./components/Tabs/Tabs.js";
|
|
67
|
+
import { TextArea } from "./components/TextArea/TextArea.js";
|
|
68
|
+
import { Toolbar } from "./components/Toolbar/Toolbar.js";
|
|
69
|
+
import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
70
|
+
import { TreeView } from "./components/TreeView/TreeView.js";
|
|
71
71
|
import { UploadCard } from "./components/UploadCard/UploadCard.js";
|
|
72
|
-
import {
|
|
72
|
+
import { VisuallyHidden } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
73
73
|
import { OdeClientContext, OdeClientProvider, useOdeClient } from "./core/OdeClientProvider/OdeClientProvider.js";
|
|
74
74
|
import { ThemeContext, ThemeProvider, useOdeTheme } from "./core/ThemeProvider/ThemeProvider.js";
|
|
75
|
-
import { default as
|
|
75
|
+
import { default as default27 } from "./core/useConversation/useConversation.js";
|
|
76
76
|
import { useHttpErrorToast } from "./core/useHttpErrorToast/useHttpErrorToast.js";
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
77
|
+
import { default as default28 } from "./core/useLibraryUrl/useLibraryUrl.js";
|
|
78
|
+
import { default as default29 } from "./core/useMediaLibrary/useMediaLibrary.js";
|
|
79
79
|
import { useResourceSearch } from "./core/useResourceSearch/useResourceSearch.js";
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
80
|
+
import { default as default30 } from "./core/useTrashedResource/useTrashedResource.js";
|
|
81
|
+
import { default as default31 } from "./core/useUploadFiles/useUploadFiles.js";
|
|
82
|
+
import { default as default32 } from "./core/useWorkspaceFile/useWorkspaceFile.js";
|
|
83
|
+
import { default as default33 } from "./hooks/useDropdown/useDropdown.js";
|
|
84
|
+
import { default as default34 } from "./hooks/useDropzone/useDropzone.js";
|
|
85
|
+
import { default as default35 } from "./hooks/useHover/useHover.js";
|
|
86
|
+
import { default as default36 } from "./portal/Layout/Layout.js";
|
|
87
87
|
import { MockedDataProvider, useMockedData } from "./utils/MockedDataProvider/MockedDataProvider.js";
|
|
88
88
|
import { StringUtils } from "./utils/StringUtils.js";
|
|
89
89
|
import { addTimestampToImageUrl } from "./utils/addTimestampToUrl.js";
|
|
@@ -98,47 +98,47 @@ import { getThumbnail } from "./utils/thumbnail.js";
|
|
|
98
98
|
import { convertMsToMS, padTo2Digits } from "./utils/time.js";
|
|
99
99
|
import { TreeNodeFolderWrapper, addNode, arrayUnique, deleteNode, findNodeById, findParentNode, getAncestors, hasChildren, modifyNode, moveNode, updateNode, wrapTreeNode } from "./utils/treeview.js";
|
|
100
100
|
import { getBestSupportedMimeType } from "./utils/video.js";
|
|
101
|
-
import { default as
|
|
101
|
+
import { default as default37 } from "./widgets/BookmarkedApps/BookmarkedApps.js";
|
|
102
102
|
export {
|
|
103
103
|
AccessiblePalette,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
ActionBar,
|
|
105
|
+
Alert,
|
|
106
|
+
AppHeader,
|
|
107
107
|
AppIcon,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
Attachment,
|
|
109
|
+
Avatar,
|
|
110
|
+
Badge,
|
|
111
|
+
default37 as BookmarkedApps,
|
|
112
112
|
Breadcrumb,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
Button,
|
|
114
|
+
Card,
|
|
115
|
+
Checkbox,
|
|
116
|
+
ColorPicker,
|
|
117
|
+
ColorPickerItem,
|
|
118
118
|
Column,
|
|
119
|
-
|
|
119
|
+
Combobox,
|
|
120
120
|
DefaultPalette,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
Dropdown,
|
|
122
|
+
Dropzone,
|
|
123
|
+
EmptyScreen,
|
|
124
|
+
FileCard,
|
|
125
|
+
FormControl,
|
|
126
|
+
FormText,
|
|
127
127
|
Grid,
|
|
128
|
-
|
|
128
|
+
Heading,
|
|
129
129
|
Icon,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
IconButton,
|
|
131
|
+
Image,
|
|
132
132
|
ImagePicker,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
133
|
+
Input,
|
|
134
|
+
Label,
|
|
135
|
+
default36 as Layout,
|
|
136
|
+
Loading,
|
|
137
|
+
LoadingScreen,
|
|
138
|
+
Logo,
|
|
139
139
|
Menu,
|
|
140
140
|
MockedDataProvider,
|
|
141
|
-
|
|
141
|
+
Modal,
|
|
142
142
|
NOOP,
|
|
143
143
|
OdeClientContext,
|
|
144
144
|
OdeClientProvider,
|
|
@@ -146,22 +146,22 @@ export {
|
|
|
146
146
|
PopoverBody,
|
|
147
147
|
PopoverFooter,
|
|
148
148
|
PopoverHeader,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
Radio,
|
|
150
|
+
SearchBar,
|
|
151
|
+
SearchButton,
|
|
152
|
+
Select,
|
|
153
153
|
StringUtils,
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
TableExplorer,
|
|
155
|
+
Tabs,
|
|
156
|
+
TextArea,
|
|
157
157
|
ThemeContext,
|
|
158
158
|
ThemeProvider,
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
Toolbar,
|
|
160
|
+
Tooltip,
|
|
161
161
|
TreeNodeFolderWrapper,
|
|
162
|
-
|
|
162
|
+
TreeView,
|
|
163
163
|
UploadCard,
|
|
164
|
-
|
|
164
|
+
VisuallyHidden,
|
|
165
165
|
default26 as Widget,
|
|
166
166
|
addNode,
|
|
167
167
|
addTimestampToImageUrl,
|
|
@@ -190,20 +190,20 @@ export {
|
|
|
190
190
|
default16 as useBrowserInfo,
|
|
191
191
|
default17 as useClickOutside,
|
|
192
192
|
default4 as useConf,
|
|
193
|
-
|
|
193
|
+
default27 as useConversation,
|
|
194
194
|
default5 as useDate,
|
|
195
195
|
default18 as useDebounce,
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
default33 as useDropdown,
|
|
197
|
+
default34 as useDropzone,
|
|
198
198
|
default6 as useHasWorkflow,
|
|
199
199
|
default7 as useHeader,
|
|
200
|
-
|
|
200
|
+
default35 as useHover,
|
|
201
201
|
useHttpErrorToast,
|
|
202
202
|
default20 as useImage,
|
|
203
203
|
default8 as useIsAdml,
|
|
204
204
|
default21 as useKeyPress,
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
default28 as useLibraryUrl,
|
|
206
|
+
default29 as useMediaLibrary,
|
|
207
207
|
useMockedData,
|
|
208
208
|
useOdeClient,
|
|
209
209
|
default9 as useOdeIcons,
|
|
@@ -216,10 +216,10 @@ export {
|
|
|
216
216
|
default19 as useToast,
|
|
217
217
|
default24 as useToggle,
|
|
218
218
|
default25 as useTrapFocus,
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
default30 as useTrashedResource,
|
|
220
|
+
default31 as useUploadFiles,
|
|
221
221
|
default12 as useUser,
|
|
222
|
-
|
|
222
|
+
default32 as useWorkspaceFile,
|
|
223
223
|
default13 as useWorkspaceSearch,
|
|
224
224
|
default14 as useXitiTrackPageLoad,
|
|
225
225
|
default15 as useZendeskGuide,
|
package/dist/modals.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { default as default2 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
2
|
-
import { default as default3 } from "./modules/modals/
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { default as default9 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
2
|
+
import { default as default3 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
3
|
+
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
4
|
+
import { BlogPublic } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
5
|
+
import { useUpdateMutation } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
6
|
+
import { ShareBlog } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
7
|
+
import { useShareMutation } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
9
8
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
BlogPublic,
|
|
10
|
+
default3 as OnboardingModal,
|
|
12
11
|
default2 as PublishModal,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
default7 as useUpdateMutation
|
|
12
|
+
ResourceModal,
|
|
13
|
+
ShareBlog,
|
|
14
|
+
useShareMutation,
|
|
15
|
+
useUpdateMutation
|
|
18
16
|
};
|
|
@@ -2,9 +2,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
5
|
-
import Dropdown from "../../components/Dropdown/Dropdown.js";
|
|
6
|
-
import Tooltip from "../../components/Tooltip/Tooltip.js";
|
|
7
|
-
import IconButton from "../../components/Button/IconButton.js";
|
|
5
|
+
import { Dropdown } from "../../components/Dropdown/Dropdown.js";
|
|
6
|
+
import { Tooltip } from "../../components/Tooltip/Tooltip.js";
|
|
7
|
+
import { IconButton } from "../../components/Button/IconButton.js";
|
|
8
8
|
const ReactionChoice = ({
|
|
9
9
|
availableReactions,
|
|
10
10
|
summary = {
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
4
4
|
import useAvatar from "../../core/useAvatar/useAvatar.js";
|
|
5
|
-
import Avatar from "../../components/Avatar/Avatar.js";
|
|
5
|
+
import { Avatar } from "../../components/Avatar/Avatar.js";
|
|
6
6
|
function ReactionModalCard({
|
|
7
7
|
reaction
|
|
8
8
|
}) {
|
|
@@ -5,10 +5,10 @@ import { createPortal } from "react-dom";
|
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { ReactionModalCard } from "./ReactionModal.Card.js";
|
|
7
7
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
8
|
-
import Modal from "../../components/Modal/Modal.js";
|
|
9
|
-
import Tabs from "../../components/Tabs/Tabs.js";
|
|
10
|
-
import Button from "../../components/Button/Button.js";
|
|
11
8
|
import { StringUtils } from "../../utils/StringUtils.js";
|
|
9
|
+
import { Modal } from "../../components/Modal/Modal.js";
|
|
10
|
+
import { Tabs } from "../../components/Tabs/Tabs.js";
|
|
11
|
+
import { Button } from "../../components/Button/Button.js";
|
|
12
12
|
const ALL_TAB_ID = "all", ReactionModal = ({
|
|
13
13
|
resourceId,
|
|
14
14
|
pageSize = 30,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import useReactionIcons from "./hooks/useReactionIcons.js";
|
|
3
|
-
import Button from "../../components/Button/Button.js";
|
|
3
|
+
import { Button } from "../../components/Button/Button.js";
|
|
4
4
|
import { StringUtils } from "../../utils/StringUtils.js";
|
|
5
5
|
const ReactionSummary = ({
|
|
6
6
|
summary = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import Button from "../../components/Button/Button.js";
|
|
4
3
|
import { StringUtils } from "../../utils/StringUtils.js";
|
|
4
|
+
import { Button } from "../../components/Button/Button.js";
|
|
5
5
|
import { Icon } from "../../components/Icon/Icon.js";
|
|
6
6
|
const ViewsCounter = ({
|
|
7
7
|
viewsCounter,
|
|
@@ -2,10 +2,10 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { createPortal } from "react-dom";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import ViewsByProfileCard from "./ViewsByProfileCard.js";
|
|
5
|
-
import Modal from "../../components/Modal/Modal.js";
|
|
6
|
-
import Button from "../../components/Button/Button.js";
|
|
5
|
+
import { Modal } from "../../components/Modal/Modal.js";
|
|
7
6
|
import { Icon } from "../../components/Icon/Icon.js";
|
|
8
7
|
import { StringUtils } from "../../utils/StringUtils.js";
|
|
8
|
+
import { Button } from "../../components/Button/Button.js";
|
|
9
9
|
const ViewsModal = ({
|
|
10
10
|
viewsDetails,
|
|
11
11
|
isOpen,
|
|
@@ -3,7 +3,7 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { BubbleMenu } from "@tiptap/react";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
6
|
-
import Toolbar from "../../../../components/Toolbar/Toolbar.js";
|
|
6
|
+
import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
|
|
7
7
|
const BubbleMenuEditImage = ({
|
|
8
8
|
editor,
|
|
9
9
|
onEditImage,
|
|
@@ -17,7 +17,7 @@ import TableToolbar from "../Toolbar/TableToolbar.js";
|
|
|
17
17
|
import BubbleMenuEditImage from "../BubbleMenuEditImage/BubbleMenuEditImage.js";
|
|
18
18
|
import MediaLibrary from "../../../multimedia/MediaLibrary/MediaLibrary.js";
|
|
19
19
|
import { useOdeClient } from "../../../../core/OdeClientProvider/OdeClientProvider.js";
|
|
20
|
-
import LoadingScreen from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
20
|
+
import { LoadingScreen } from "../../../../components/LoadingScreen/LoadingScreen.js";
|
|
21
21
|
const MathsModal = /* @__PURE__ */ lazy(async () => await import("./MathsModal.js")), ImageEditor = /* @__PURE__ */ lazy(async () => await import("../../../multimedia/ImageEditor/components/ImageEditor.js")), Editor = /* @__PURE__ */ forwardRef(({
|
|
22
22
|
id,
|
|
23
23
|
content,
|
|
@@ -5,8 +5,8 @@ import { useEditor, EditorContent } from "@tiptap/react";
|
|
|
5
5
|
import StarterKit from "@tiptap/starter-kit";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
|
-
import Modal from "../../../../components/Modal/Modal.js";
|
|
9
|
-
import Button from "../../../../components/Button/Button.js";
|
|
8
|
+
import { Modal } from "../../../../components/Modal/Modal.js";
|
|
9
|
+
import { Button } from "../../../../components/Button/Button.js";
|
|
10
10
|
const MathsModal = ({
|
|
11
11
|
isOpen,
|
|
12
12
|
onSuccess,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as Fragment$1 } from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
3
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
4
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
5
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
6
6
|
const EditorToolbarDropdownMenu = ({
|
|
7
7
|
triggerProps,
|
|
8
8
|
icon,
|
|
@@ -2,10 +2,10 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import EmojiPicker, { Categories } from "emoji-picker-react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
5
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
6
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
5
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
6
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
7
7
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
8
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
8
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
9
9
|
const EditorToolbarEmoji = ({
|
|
10
10
|
triggerProps,
|
|
11
11
|
itemRefs
|
|
@@ -3,11 +3,11 @@ import { useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
5
5
|
import { DefaultPalette } from "../../../../components/ColorPicker/ColorPalette.js";
|
|
6
|
-
import ColorPicker from "../../../../components/ColorPicker/ColorPicker.js";
|
|
7
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
8
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
6
|
+
import { ColorPicker } from "../../../../components/ColorPicker/ColorPicker.js";
|
|
7
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
8
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
9
9
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
10
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
10
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
11
11
|
const EditorToolbarHighlightColor = ({
|
|
12
12
|
triggerProps,
|
|
13
13
|
itemRefs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment as Fragment$1 } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
4
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
5
5
|
const EditorToolbarPlusMenu = ({
|
|
6
6
|
options
|
|
7
7
|
}) => {
|
|
@@ -3,11 +3,11 @@ import { useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
5
5
|
import { DefaultPalette, AccessiblePalette } from "../../../../components/ColorPicker/ColorPalette.js";
|
|
6
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
6
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
8
8
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
9
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
10
|
-
import ColorPicker from "../../../../components/ColorPicker/ColorPicker.js";
|
|
9
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
10
|
+
import { ColorPicker } from "../../../../components/ColorPicker/ColorPicker.js";
|
|
11
11
|
const EditorToolbarTextColor = ({
|
|
12
12
|
triggerProps,
|
|
13
13
|
itemRefs
|
|
@@ -3,10 +3,10 @@ import { Fragment as Fragment$1 } from "react";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
5
5
|
import { hasExtension } from "../../utils/has-extension.js";
|
|
6
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
6
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
7
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
8
8
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
9
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
9
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
10
10
|
const EditorToolbarTextSize = ({
|
|
11
11
|
triggerProps
|
|
12
12
|
}) => {
|
|
@@ -2,10 +2,10 @@ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect, Fragment as Fragment$1 } from "react";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
5
|
-
import Tooltip from "../../../../components/Tooltip/Tooltip.js";
|
|
6
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
5
|
+
import { Tooltip } from "../../../../components/Tooltip/Tooltip.js";
|
|
6
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
7
7
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
8
|
-
import Dropdown from "../../../../components/Dropdown/Dropdown.js";
|
|
8
|
+
import { Dropdown } from "../../../../components/Dropdown/Dropdown.js";
|
|
9
9
|
const EditorToolbarTypography = ({
|
|
10
10
|
triggerProps
|
|
11
11
|
}) => {
|
|
@@ -16,7 +16,7 @@ import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
|
16
16
|
import { useActionOptions } from "../../hooks/useActionOptions.js";
|
|
17
17
|
import { useSpeechRecognition } from "../../hooks/useSpeechRecognition.js";
|
|
18
18
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
19
|
-
import Toolbar from "../../../../components/Toolbar/Toolbar.js";
|
|
19
|
+
import { Toolbar } from "../../../../components/Toolbar/Toolbar.js";
|
|
20
20
|
const EditorToolbar = ({
|
|
21
21
|
mediaLibraryRef,
|
|
22
22
|
toggleMathsModal
|
|
@@ -2,10 +2,10 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { NodeViewWrapper } from "@tiptap/react";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import Attachment from "../../../../components/Attachment/Attachment.js";
|
|
5
|
+
import { Attachment } from "../../../../components/Attachment/Attachment.js";
|
|
6
6
|
import { useEditorContext } from "../../hooks/useEditorContext.js";
|
|
7
7
|
import { Grid } from "../../../../components/Grid/Grid.js";
|
|
8
|
-
import IconButton from "../../../../components/Button/IconButton.js";
|
|
8
|
+
import { IconButton } from "../../../../components/Button/IconButton.js";
|
|
9
9
|
import { Icon } from "../../../../components/Icon/Icon.js";
|
|
10
10
|
const AttachmentRenderer = (props) => {
|
|
11
11
|
const {
|
|
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { NodeViewWrapper } from "@tiptap/react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import useOdeIcons from "../../../../core/useOdeIcons/useOdeIcons.js";
|
|
5
|
-
import Badge from "../../../../components/Badge/Badge.js";
|
|
5
|
+
import { Badge } from "../../../../components/Badge/Badge.js";
|
|
6
6
|
import { AppIcon } from "../../../../components/AppIcon/AppIcon.js";
|
|
7
7
|
const LinkerRenderer = ({
|
|
8
8
|
selected,
|
|
@@ -5,7 +5,7 @@ import { odeServices } from "edifice-ts-client";
|
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import useBrowserInfo from "../../../../hooks/useBrowserInfo/useBrowserInfo.js";
|
|
7
7
|
import { useResizeMedia } from "../../hooks/useResizeMedia.js";
|
|
8
|
-
import Image from "../../../../components/Image/Image.js";
|
|
8
|
+
import { Image } from "../../../../components/Image/Image.js";
|
|
9
9
|
const MediaRenderer = (props) => {
|
|
10
10
|
const {
|
|
11
11
|
node
|