@edifice.io/react 2.2.10-develop.20250623172704 → 2.2.10
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/Button/Button.js +1 -2
- package/dist/components/SearchBar/SearchBar.d.ts +1 -5
- package/dist/components/SearchBar/SearchBar.js +1 -2
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/index.d.ts +0 -1
- package/dist/editor.js +32 -34
- package/dist/hooks/useConversation/useConversation.js +3 -1
- package/dist/index.js +122 -126
- package/dist/modules/editor/components/Editor/index.d.ts +1 -2
- package/package.json +6 -18
- package/dist/components/Skeleton/ButtonSkeleton.d.ts +0 -11
- package/dist/components/Skeleton/ButtonSkeleton.js +0 -16
- package/dist/components/Skeleton/TextSkeleton.d.ts +0 -10
- package/dist/components/Skeleton/TextSkeleton.js +0 -16
- package/dist/components/Skeleton/index.d.ts +0 -4
- package/dist/modules/editor/components/Editor/EditorSkeleton.d.ts +0 -11
- package/dist/modules/editor/components/Editor/EditorSkeleton.js +0 -31
|
@@ -22,8 +22,7 @@ const Button = /* @__PURE__ */ forwardRef(({
|
|
|
22
22
|
"btn-icon btn-sm": !children,
|
|
23
23
|
"btn-loading": isLoading,
|
|
24
24
|
"btn-lg": size === "lg",
|
|
25
|
-
"btn-sm": size === "sm"
|
|
26
|
-
"btn-md": size === "md"
|
|
25
|
+
"btn-sm": size === "sm"
|
|
27
26
|
}, className);
|
|
28
27
|
return /* @__PURE__ */ jsx("button", { ref, "data-testid": "button", className: classes, type, ...restProps, children: isLoading ? /* @__PURE__ */ jsx(Loading, { isLoading: !0, loadingIcon, loadingPosition, children }) : /* @__PURE__ */ jsxs("span", { children: [
|
|
29
28
|
leftIcon,
|
|
@@ -13,10 +13,6 @@ export interface BaseProps extends Omit<React.ComponentPropsWithoutRef<'input'>,
|
|
|
13
13
|
* Disabled status
|
|
14
14
|
*/
|
|
15
15
|
disabled?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Disabled status for button
|
|
18
|
-
*/
|
|
19
|
-
buttonDisabled?: boolean;
|
|
20
16
|
/**
|
|
21
17
|
* Optional class for styling purpose
|
|
22
18
|
*/
|
|
@@ -49,7 +45,7 @@ type DynamicSearchBar = {
|
|
|
49
45
|
export type Props = DefaultSearchBar | DynamicSearchBar;
|
|
50
46
|
export type SearchBarProps = BaseProps & Props;
|
|
51
47
|
declare const SearchBar: {
|
|
52
|
-
({ isVariant, size, placeholder, className, disabled,
|
|
48
|
+
({ isVariant, size, placeholder, className, disabled, onChange, onClick, ...restProps }: SearchBarProps): import("react/jsx-runtime").JSX.Element;
|
|
53
49
|
displayName: string;
|
|
54
50
|
};
|
|
55
51
|
export default SearchBar;
|
|
@@ -10,7 +10,6 @@ const SearchBar = ({
|
|
|
10
10
|
placeholder = "search",
|
|
11
11
|
className,
|
|
12
12
|
disabled,
|
|
13
|
-
buttonDisabled,
|
|
14
13
|
onChange,
|
|
15
14
|
onClick,
|
|
16
15
|
...restProps
|
|
@@ -31,7 +30,7 @@ const SearchBar = ({
|
|
|
31
30
|
return /* @__PURE__ */ jsxs(FormControl, { id: "search-bar", className: searchbar, children: [
|
|
32
31
|
isVariant && /* @__PURE__ */ jsx("div", { className: "position-absolute z-1 top-50 start-0 translate-middle-y border-0 ps-12 bg-transparent", children: /* @__PURE__ */ jsx(SvgIconSearch, {}) }),
|
|
33
32
|
/* @__PURE__ */ jsx(FormControl.Input, { type: "search", placeholder: t(placeholder), size, noValidationIcon: !0, className: input, onChange, disabled, onKeyDown: handleKeyDown, ...restProps }),
|
|
34
|
-
!isVariant && /* @__PURE__ */ jsx(SearchButton, { type: "submit", "aria-label": t("search"), icon: /* @__PURE__ */ jsx(SvgIconSearch, {}), className: "border-start-0", onClick: handleClick
|
|
33
|
+
!isVariant && /* @__PURE__ */ jsx(SearchButton, { type: "submit", "aria-label": t("search"), icon: /* @__PURE__ */ jsx(SvgIconSearch, {}), className: "border-start-0", onClick: handleClick })
|
|
35
34
|
] });
|
|
36
35
|
};
|
|
37
36
|
export {
|
|
@@ -22,12 +22,12 @@ const Tooltip = ({
|
|
|
22
22
|
}]
|
|
23
23
|
}), [visible, setVisible] = useState(!1);
|
|
24
24
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
25
|
-
/* @__PURE__ */ jsx("div", { className: "d-inline-block position-relative", ref: setReferenceElement, onMouseEnter: () => {
|
|
25
|
+
/* @__PURE__ */ jsx("div", { className: "d-inline-block position-relative z-2", ref: setReferenceElement, onMouseEnter: () => {
|
|
26
26
|
setVisible(!0);
|
|
27
27
|
}, onMouseLeave: () => {
|
|
28
28
|
setVisible(!1);
|
|
29
29
|
}, ...restProps, children }),
|
|
30
|
-
visible && message && /* @__PURE__ */ jsxs("div", { className: clsx("tooltip d-block show mb-12
|
|
30
|
+
visible && message && /* @__PURE__ */ jsxs("div", { className: clsx("tooltip d-block show mb-12", "bs-tooltip-auto"), ref: setPopperElement, style: styles.popper, ...attributes.popper, children: [
|
|
31
31
|
/* @__PURE__ */ jsxs("div", { className: "tooltip-inner shadow-hover d-flex gap-8 align-items-center", children: [
|
|
32
32
|
icon && icon,
|
|
33
33
|
/* @__PURE__ */ jsx("div", { children: message })
|
package/dist/editor.js
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
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/
|
|
5
|
-
import { default as default5 } from "./modules/editor/components/
|
|
6
|
-
import { default as default6 } from "./modules/editor/components/NodeView/
|
|
7
|
-
import { default as default7 } from "./modules/editor/components/NodeView/
|
|
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/
|
|
13
|
-
import { default as default13 } from "./modules/editor/components/Renderer/
|
|
14
|
-
import { default as default14 } from "./modules/editor/components/Renderer/
|
|
15
|
-
import { default as default15 } from "./modules/editor/components/Renderer/
|
|
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/
|
|
19
|
-
import { default as default19 } from "./modules/editor/components/Toolbar/
|
|
20
|
-
import { default as default20 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
|
|
4
|
+
import { default as default4 } from "./modules/editor/components/BubbleMenuEditImage/BubbleMenuEditImage.js";
|
|
5
|
+
import { default as default5 } from "./modules/editor/components/NodeView/AttachmentNodeView.js";
|
|
6
|
+
import { default as default6 } from "./modules/editor/components/NodeView/AudioNodeView.js";
|
|
7
|
+
import { default as default7 } from "./modules/editor/components/NodeView/ConversationHistoryNodeView.js";
|
|
8
|
+
import { default as default8 } from "./modules/editor/components/NodeView/ImageNodeView.js";
|
|
9
|
+
import { default as default9 } from "./modules/editor/components/NodeView/LinkerNodeView.js";
|
|
10
|
+
import { default as default10 } from "./modules/editor/components/NodeView/VideoNodeView.js";
|
|
11
|
+
import { default as default11 } from "./modules/editor/components/NodeView/InformationPaneNodeView.js";
|
|
12
|
+
import { default as default12 } from "./modules/editor/components/Renderer/AttachmentRenderer.js";
|
|
13
|
+
import { default as default13 } from "./modules/editor/components/Renderer/AudioRenderer.js";
|
|
14
|
+
import { default as default14 } from "./modules/editor/components/Renderer/ConversationHistoryRenderer.js";
|
|
15
|
+
import { default as default15 } from "./modules/editor/components/Renderer/LinkerRenderer.js";
|
|
16
|
+
import { default as default16 } from "./modules/editor/components/Renderer/MediaRenderer.js";
|
|
17
|
+
import { default as default17 } from "./modules/editor/components/Renderer/InformationPaneRenderer.js";
|
|
18
|
+
import { default as default18 } from "./modules/editor/components/Toolbar/TableToolbar.js";
|
|
19
|
+
import { default as default19 } from "./modules/editor/components/Toolbar/LinkToolbar.js";
|
|
21
20
|
import { EditorToolbar } from "./modules/editor/components/EditorToolbar/EditorToolbar.js";
|
|
22
21
|
import { useActionOptions } from "./modules/editor/hooks/useActionOptions.js";
|
|
23
22
|
import { useCommentEditor } from "./modules/editor/hooks/useCommentEditor.js";
|
|
@@ -33,29 +32,28 @@ import { useSpeechSynthetisis } from "./modules/editor/hooks/useSpeechSynthetisi
|
|
|
33
32
|
import { useTipTapEditor } from "./modules/editor/hooks/useTipTapEditor.js";
|
|
34
33
|
import { useCantooEditor } from "./modules/editor/hooks/useCantooEditor.js";
|
|
35
34
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
default5 as AttachmentNodeView,
|
|
36
|
+
default12 as AttachmentRenderer,
|
|
37
|
+
default6 as AudioNodeView,
|
|
38
|
+
default13 as AudioRenderer,
|
|
39
|
+
default4 as BubbleMenuEditImage,
|
|
40
|
+
default7 as ConversationHistoryNodeView,
|
|
41
|
+
default14 as ConversationHistoryRenderer,
|
|
43
42
|
default3 as Editor,
|
|
44
43
|
EditorContent,
|
|
45
44
|
EditorContext,
|
|
46
45
|
Editor as EditorInstance,
|
|
47
|
-
default4 as EditorSkeleton,
|
|
48
46
|
EditorToolbar,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
47
|
+
default8 as ImageNodeView,
|
|
48
|
+
default11 as InformationPaneNodeView,
|
|
49
|
+
default17 as InformationPaneRenderer,
|
|
50
|
+
default19 as LinkToolbar,
|
|
51
|
+
default9 as LinkerNodeView,
|
|
52
|
+
default15 as LinkerRenderer,
|
|
53
|
+
default16 as MediaRenderer,
|
|
56
54
|
default2 as StarterKit,
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
default18 as TableToolbar,
|
|
56
|
+
default10 as VideoNodeView,
|
|
59
57
|
useActionOptions,
|
|
60
58
|
useCantooEditor,
|
|
61
59
|
useCommentEditor,
|
|
@@ -9,7 +9,9 @@ const useConversation = () => {
|
|
|
9
9
|
}, {
|
|
10
10
|
data: messages
|
|
11
11
|
} = useQuery({
|
|
12
|
-
queryKey: ["folder", "count", "inbox"
|
|
12
|
+
queryKey: ["folder", "count", "inbox", {
|
|
13
|
+
unread: !0
|
|
14
|
+
}],
|
|
13
15
|
queryFn: async () => await odeServices.http().get(zimbraWorkflow ? "/zimbra/count/INBOX" : "/conversation/count/inbox", {
|
|
14
16
|
queryParams
|
|
15
17
|
}),
|
package/dist/index.js
CHANGED
|
@@ -33,70 +33,68 @@ import { default as default33 } from "./components/PreventPropagation/PreventPro
|
|
|
33
33
|
import { default as default34 } from "./components/Radio/Radio.js";
|
|
34
34
|
import { default as default35 } from "./components/SearchBar/SearchBar.js";
|
|
35
35
|
import { default as default36 } from "./components/Select/Select.js";
|
|
36
|
-
import { default as default37 } from "./components/
|
|
37
|
-
import { default as default38 } from "./components/
|
|
38
|
-
import { default as default39 } from "./components/
|
|
39
|
-
import { default as default40 } from "./components/
|
|
40
|
-
import { default as default41 } from "./components/
|
|
41
|
-
import { default as default42 } from "./components/TextArea/TextArea.js";
|
|
42
|
-
import { default as default43 } from "./components/Tooltip/Tooltip.js";
|
|
36
|
+
import { default as default37 } from "./components/StackedGroup/StackedGroup.js";
|
|
37
|
+
import { default as default38 } from "./components/Switch/Switch.js";
|
|
38
|
+
import { default as default39 } from "./components/Table/components/Table.js";
|
|
39
|
+
import { default as default40 } from "./components/TextArea/TextArea.js";
|
|
40
|
+
import { default as default41 } from "./components/Tooltip/Tooltip.js";
|
|
43
41
|
import { DndTree } from "./components/Tree/components/DndTree.js";
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { default as
|
|
51
|
-
import { default as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
66
|
-
import { default as
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as
|
|
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
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
42
|
+
import { default as default42 } from "./components/Tree/components/SortableTree.js";
|
|
43
|
+
import { default as default43 } from "./components/Tree/components/Tree.js";
|
|
44
|
+
import { default as default44 } from "./components/TreeView/TreeView.js";
|
|
45
|
+
import { default as default45 } from "./components/VisuallyHidden/VisuallyHidden.js";
|
|
46
|
+
import { default as default46 } from "./hooks/useBookmark/useBookmark.js";
|
|
47
|
+
import { default as default47 } from "./hooks/useBreakpoint/useBreakpoint.js";
|
|
48
|
+
import { default as default48 } from "./hooks/useBrowserInfo/useBrowserInfo.js";
|
|
49
|
+
import { default as default49 } from "./hooks/useCantoo/useCantoo.js";
|
|
50
|
+
import { default as default50 } from "./hooks/useClickOutside/useClickOutside.js";
|
|
51
|
+
import { default as default51 } from "./hooks/useConversation/useConversation.js";
|
|
52
|
+
import { default as default52 } from "./hooks/useDate/useDate.js";
|
|
53
|
+
import { default as default53 } from "./hooks/useDebounce/useDebounce.js";
|
|
54
|
+
import { default as default54 } from "./hooks/useDirectory/useDirectory.js";
|
|
55
|
+
import { default as default55 } from "./hooks/useDropdown/useDropdown.js";
|
|
56
|
+
import { default as default56 } from "./hooks/useDropzone/useDropzone.js";
|
|
57
|
+
import { default as default57 } from "./hooks/useEdificeIcons/useEdificeIcons.js";
|
|
58
|
+
import { default as default58 } from "./hooks/useHasWorkflow/useHasWorkflow.js";
|
|
59
|
+
import { default as default59 } from "./hooks/useHover/useHover.js";
|
|
60
|
+
import { default as default60 } from "./hooks/useHttpErrorToast/useHttpErrorToast.js";
|
|
61
|
+
import { default as default61 } from "./hooks/useImage/useImage.js";
|
|
62
|
+
import { default as default62 } from "./hooks/useIsAdml/useIsAdml.js";
|
|
63
|
+
import { default as default63 } from "./hooks/useKeyPress/useKeyPress.js";
|
|
64
|
+
import { default as default64 } from "./hooks/useLibraryUrl/useLibraryUrl.js";
|
|
65
|
+
import { default as default65 } from "./hooks/useMediaLibrary/useMediaLibrary.js";
|
|
66
|
+
import { default as default66 } from "./hooks/useScrollToTop/useScrollToTop.js";
|
|
67
|
+
import { default as default67 } from "./hooks/useTitle/useTitle.js";
|
|
68
|
+
import { default as default68 } from "./hooks/useToast/useToast.js";
|
|
69
|
+
import { default as default69 } from "./hooks/useToggle/useToggle.js";
|
|
70
|
+
import { default as default70 } from "./hooks/useTrapFocus/useTrapFocus.js";
|
|
71
|
+
import { default as default71 } from "./hooks/useTrashedResource/useTrashedResource.js";
|
|
72
|
+
import { default as default72 } from "./hooks/useUpload/useUpload.js";
|
|
73
|
+
import { default as default73 } from "./hooks/useUploadFiles/useUploadFiles.js";
|
|
74
|
+
import { default as default74 } from "./hooks/useUser/useUser.js";
|
|
75
|
+
import { default as default75 } from "./hooks/useWorkspaceFile/useWorkspaceFile.js";
|
|
76
|
+
import { default as default76 } from "./hooks/useWorkspaceFolders/useWorkspaceFolders.js";
|
|
77
|
+
import { WORKSPACE_SHARED_FOLDER_ID, WORKSPACE_USER_FOLDER_ID, default as default77 } from "./hooks/useWorkspaceFolders/useWorkspaceFoldersTree.js";
|
|
78
|
+
import { default as default78 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
79
|
+
import { default as default79 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
80
|
+
import { default as default80 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
81
|
+
import { default as default81 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
82
|
+
import { default as default82 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
83
|
+
import { default as default83 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
84
|
+
import { default as default84 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
85
|
+
import { default as default85 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
86
|
+
import { default as default86 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
87
|
+
import { default as default87 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
88
|
+
import { default as default88 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
89
|
+
import { default as default89 } from "./modules/multimedia/AudioRecorder/AudioRecorder.js";
|
|
90
|
+
import { default as default90 } from "./modules/multimedia/Embed/Embed.js";
|
|
91
|
+
import { default as default91 } from "./modules/multimedia/ImageEditor/components/ImageEditor.js";
|
|
92
|
+
import { default as default92 } from "./modules/multimedia/ImagePicker/ImagePicker.js";
|
|
93
|
+
import { default as default93 } from "./modules/multimedia/MediaLibrary/MediaLibrary.js";
|
|
94
|
+
import { default as default94 } from "./modules/multimedia/VideoEmbed/VideoEmbed.js";
|
|
95
|
+
import { default as default95 } from "./modules/multimedia/VideoRecorder/VideoRecorder.js";
|
|
96
|
+
import { default as default96 } from "./modules/multimedia/Workspace/Workspace.js";
|
|
97
|
+
import { default as default97 } from "./modules/multimedia/WorkspaceFolders/WorkspaceFolders.js";
|
|
100
98
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
101
99
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
102
100
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -132,21 +130,20 @@ export {
|
|
|
132
130
|
default4 as AppHeader,
|
|
133
131
|
default5 as AppIcon,
|
|
134
132
|
default6 as Attachment,
|
|
135
|
-
|
|
133
|
+
default89 as AudioRecorder,
|
|
136
134
|
default7 as Avatar,
|
|
137
135
|
default8 as AvatarGroup,
|
|
138
136
|
default9 as Badge,
|
|
139
|
-
|
|
137
|
+
default84 as BlogPublic,
|
|
140
138
|
default10 as Breadcrumb,
|
|
141
139
|
default11 as Button,
|
|
142
|
-
default37 as ButtonSkeleton,
|
|
143
140
|
default14 as Card,
|
|
144
141
|
default15 as Checkbox,
|
|
145
142
|
default16 as ColorPicker,
|
|
146
143
|
default17 as ColorPickerItem,
|
|
147
144
|
Column,
|
|
148
145
|
default18 as Combobox,
|
|
149
|
-
|
|
146
|
+
default81 as ConfirmModal,
|
|
150
147
|
DefaultPalette,
|
|
151
148
|
DndTree,
|
|
152
149
|
default19 as Dropdown,
|
|
@@ -156,7 +153,7 @@ export {
|
|
|
156
153
|
EdificeClientProvider,
|
|
157
154
|
EdificeThemeContext,
|
|
158
155
|
EdificeThemeProvider,
|
|
159
|
-
|
|
156
|
+
default90 as Embed,
|
|
160
157
|
default21 as EmptyScreen,
|
|
161
158
|
ExternalLinker,
|
|
162
159
|
default22 as Flex,
|
|
@@ -166,8 +163,8 @@ export {
|
|
|
166
163
|
default25 as Heading,
|
|
167
164
|
default12 as IconButton,
|
|
168
165
|
default26 as Image,
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
default91 as ImageEditor,
|
|
167
|
+
default92 as ImagePicker,
|
|
171
168
|
default27 as Input,
|
|
172
169
|
InternalLinker,
|
|
173
170
|
default28 as Label,
|
|
@@ -176,44 +173,43 @@ export {
|
|
|
176
173
|
default29 as Loading,
|
|
177
174
|
default30 as LoadingScreen,
|
|
178
175
|
default31 as Logo,
|
|
179
|
-
|
|
176
|
+
default93 as MediaLibrary,
|
|
180
177
|
Menu,
|
|
181
178
|
MockedProvider,
|
|
182
179
|
default32 as Modal,
|
|
183
|
-
|
|
180
|
+
default82 as OnboardingModal,
|
|
184
181
|
Popover,
|
|
185
182
|
PopoverBody,
|
|
186
183
|
PopoverFooter,
|
|
187
184
|
PopoverHeader,
|
|
188
185
|
default33 as PreventPropagation,
|
|
189
|
-
|
|
186
|
+
default83 as PublishModal,
|
|
190
187
|
default34 as Radio,
|
|
191
188
|
ResourceModal,
|
|
192
189
|
default35 as SearchBar,
|
|
193
190
|
default13 as SearchButton,
|
|
194
191
|
default36 as Select,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
192
|
+
default87 as ShareBlog,
|
|
193
|
+
default86 as ShareModal,
|
|
194
|
+
default42 as SortableTree,
|
|
195
|
+
default37 as StackedGroup,
|
|
196
|
+
default38 as Switch,
|
|
197
|
+
default39 as Table,
|
|
201
198
|
Tabs,
|
|
202
|
-
|
|
203
|
-
default38 as TextSkeleton,
|
|
199
|
+
default40 as TextArea,
|
|
204
200
|
Toolbar,
|
|
205
|
-
|
|
206
|
-
|
|
201
|
+
default41 as Tooltip,
|
|
202
|
+
default43 as Tree,
|
|
207
203
|
TreeNode,
|
|
208
204
|
TreeNodeFolderWrapper,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
default44 as TreeView,
|
|
206
|
+
default94 as VideoEmbed,
|
|
207
|
+
default95 as VideoRecorder,
|
|
208
|
+
default45 as VisuallyHidden,
|
|
213
209
|
WORKSPACE_SHARED_FOLDER_ID,
|
|
214
210
|
WORKSPACE_USER_FOLDER_ID,
|
|
215
|
-
|
|
216
|
-
|
|
211
|
+
default96 as Workspace,
|
|
212
|
+
default97 as WorkspaceFolders,
|
|
217
213
|
addNode,
|
|
218
214
|
arrayUnique,
|
|
219
215
|
buildTree,
|
|
@@ -241,48 +237,48 @@ export {
|
|
|
241
237
|
setRef,
|
|
242
238
|
updateNode,
|
|
243
239
|
updateParentIds,
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
default46 as useBookmark,
|
|
241
|
+
default47 as useBreakpoint,
|
|
242
|
+
default48 as useBrowserInfo,
|
|
243
|
+
default49 as useCantoo,
|
|
248
244
|
useCheckable,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
245
|
+
default50 as useClickOutside,
|
|
246
|
+
default51 as useConversation,
|
|
247
|
+
default52 as useDate,
|
|
248
|
+
default53 as useDebounce,
|
|
249
|
+
default54 as useDirectory,
|
|
250
|
+
default55 as useDropdown,
|
|
251
|
+
default56 as useDropzone,
|
|
256
252
|
useDropzoneContext,
|
|
257
253
|
useEdificeClient,
|
|
258
|
-
|
|
254
|
+
default57 as useEdificeIcons,
|
|
259
255
|
useEdificeTheme,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
256
|
+
default58 as useHasWorkflow,
|
|
257
|
+
default59 as useHover,
|
|
258
|
+
default60 as useHttpErrorToast,
|
|
259
|
+
default61 as useImage,
|
|
260
|
+
default62 as useIsAdml,
|
|
261
|
+
default63 as useKeyPress,
|
|
262
|
+
default64 as useLibraryUrl,
|
|
263
|
+
default65 as useMediaLibrary,
|
|
264
|
+
default66 as useScrollToTop,
|
|
265
|
+
default88 as useShareMutation,
|
|
266
|
+
default67 as useTitle,
|
|
267
|
+
default68 as useToast,
|
|
268
|
+
default69 as useToggle,
|
|
269
|
+
default70 as useTrapFocus,
|
|
270
|
+
default71 as useTrashedResource,
|
|
275
271
|
useTreeSortable,
|
|
276
272
|
useTreeView,
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
273
|
+
default85 as useUpdateMutation,
|
|
274
|
+
default72 as useUpload,
|
|
275
|
+
default73 as useUploadFiles,
|
|
276
|
+
default74 as useUser,
|
|
277
|
+
default75 as useWorkspaceFile,
|
|
278
|
+
default76 as useWorkspaceFolders,
|
|
279
|
+
default77 as useWorkspaceFoldersTree,
|
|
280
|
+
default78 as useWorkspaceSearch,
|
|
281
|
+
default79 as useXitiTrackPageLoad,
|
|
282
|
+
default80 as useZendeskGuide,
|
|
287
283
|
wrapTreeNode
|
|
288
284
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.2.10
|
|
3
|
+
"version": "2.2.10",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -104,18 +104,6 @@
|
|
|
104
104
|
"@tiptap/pm": "2.11.0",
|
|
105
105
|
"@tiptap/react": "2.11.0",
|
|
106
106
|
"@tiptap/starter-kit": "2.11.0",
|
|
107
|
-
"@tiptap/extension-blockquote": "2.11.0",
|
|
108
|
-
"@tiptap/extension-bullet-list": "2.11.0",
|
|
109
|
-
"@tiptap/extension-code": "2.11.0",
|
|
110
|
-
"@tiptap/extension-code-block": "2.11.0",
|
|
111
|
-
"@tiptap/extension-dropcursor": "2.11.0",
|
|
112
|
-
"@tiptap/extension-gapcursor": "2.11.0",
|
|
113
|
-
"@tiptap/extension-hard-break": "2.11.0",
|
|
114
|
-
"@tiptap/extension-history": "2.11.0",
|
|
115
|
-
"@tiptap/extension-horizontal-rule": "2.11.0",
|
|
116
|
-
"@tiptap/extension-italic": "2.11.0",
|
|
117
|
-
"@tiptap/extension-ordered-list": "2.11.0",
|
|
118
|
-
"@tiptap/extension-strike": "2.11.0",
|
|
119
107
|
"@uidotdev/usehooks": "^2.4.1",
|
|
120
108
|
"clsx": "^2.1.1",
|
|
121
109
|
"dayjs": "1.11.10",
|
|
@@ -130,9 +118,9 @@
|
|
|
130
118
|
"react-slugify": "^3.0.3",
|
|
131
119
|
"swiper": "^10.1.0",
|
|
132
120
|
"ua-parser-js": "^1.0.36",
|
|
133
|
-
"@edifice.io/bootstrap": "2.2.10
|
|
134
|
-
"@edifice.io/tiptap-extensions": "2.2.10
|
|
135
|
-
"@edifice.io/utilities": "2.2.10
|
|
121
|
+
"@edifice.io/bootstrap": "2.2.10",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.2.10",
|
|
123
|
+
"@edifice.io/utilities": "2.2.10"
|
|
136
124
|
},
|
|
137
125
|
"devDependencies": {
|
|
138
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -163,8 +151,8 @@
|
|
|
163
151
|
"vite": "^5.4.11",
|
|
164
152
|
"vite-plugin-dts": "^4.1.0",
|
|
165
153
|
"vite-tsconfig-paths": "^5.0.1",
|
|
166
|
-
"@edifice.io/client": "2.2.10
|
|
167
|
-
"@edifice.io/config": "2.2.10
|
|
154
|
+
"@edifice.io/client": "2.2.10",
|
|
155
|
+
"@edifice.io/config": "2.2.10"
|
|
168
156
|
},
|
|
169
157
|
"peerDependencies": {
|
|
170
158
|
"@react-spring/web": "^9.7.5",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ButtonColors, ButtonSizes } from '../Button/Button';
|
|
2
|
-
export interface ButtonSkeletonProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
color?: ButtonColors;
|
|
5
|
-
size?: ButtonSizes;
|
|
6
|
-
}
|
|
7
|
-
declare const ButtonSkeleton: {
|
|
8
|
-
({ className, color, size, }: ButtonSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default ButtonSkeleton;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import Button from "../Button/Button.js";
|
|
4
|
-
const ButtonSkeleton = ({
|
|
5
|
-
className,
|
|
6
|
-
color = "tertiary",
|
|
7
|
-
size = "md"
|
|
8
|
-
}) => {
|
|
9
|
-
const classN = clsx("placeholder", className, {
|
|
10
|
-
"bg-gray-400": color === "tertiary"
|
|
11
|
-
});
|
|
12
|
-
return /* @__PURE__ */ jsx(Button, { className: classN, color, variant: "filled", size, disabled: !0 });
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
ButtonSkeleton as default
|
|
16
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type TextSkeletonSizes = 'xs' | 'sm' | 'md' | 'lg';
|
|
2
|
-
export interface TextSkeletonProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
size?: TextSkeletonSizes;
|
|
5
|
-
}
|
|
6
|
-
declare const TextSkeleton: {
|
|
7
|
-
({ className, size }: TextSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
|
10
|
-
export default TextSkeleton;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
const TextSkeleton = ({
|
|
4
|
-
className,
|
|
5
|
-
size = "md"
|
|
6
|
-
}) => {
|
|
7
|
-
const classN = clsx("placeholder", className, {
|
|
8
|
-
"placeholder-xs": size === "xs",
|
|
9
|
-
"placeholder-sm": size === "sm",
|
|
10
|
-
"placeholder-lg": size === "lg"
|
|
11
|
-
});
|
|
12
|
-
return /* @__PURE__ */ jsx("span", { className: classN });
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
TextSkeleton as default
|
|
16
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface EditorSkeletonProps {
|
|
2
|
-
/** Mode of the editor, either 'edit' or 'read' */
|
|
3
|
-
mode?: 'edit' | 'read';
|
|
4
|
-
/** Display with or without a border */
|
|
5
|
-
variant?: 'outline' | 'ghost';
|
|
6
|
-
}
|
|
7
|
-
declare const EditorSkeleton: {
|
|
8
|
-
({ mode, variant, }: EditorSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
11
|
-
export default EditorSkeleton;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import ButtonSkeleton from "../../../../components/Skeleton/ButtonSkeleton.js";
|
|
4
|
-
import TextSkeleton from "../../../../components/Skeleton/TextSkeleton.js";
|
|
5
|
-
const EditorSkeleton = ({
|
|
6
|
-
mode = "read",
|
|
7
|
-
variant = "outline"
|
|
8
|
-
}) => {
|
|
9
|
-
const contentClass = clsx("d-flex flex-column gap-16 position-relative flex-fill", variant === "outline" && "border rounded-3 py-12 px-16");
|
|
10
|
-
return mode === "edit" ? /* @__PURE__ */ jsxs("div", { className: contentClass, children: [
|
|
11
|
-
/* @__PURE__ */ jsxs("div", { className: "d-flex col-12 gap-8 py-8 px-16", children: [
|
|
12
|
-
/* @__PURE__ */ jsx(ButtonSkeleton, { className: "col-2 flex-shrink-1" }),
|
|
13
|
-
/* @__PURE__ */ jsx(ButtonSkeleton, { className: "col-4" }),
|
|
14
|
-
/* @__PURE__ */ jsx(ButtonSkeleton, { className: "col-4" }),
|
|
15
|
-
/* @__PURE__ */ jsx(ButtonSkeleton, { className: "col-2" })
|
|
16
|
-
] }),
|
|
17
|
-
/* @__PURE__ */ jsxs("div", { className: "d-flex flex-column gap-8 px-16", children: [
|
|
18
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-10" }),
|
|
19
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-7" }),
|
|
20
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-8" }),
|
|
21
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-6" })
|
|
22
|
-
] })
|
|
23
|
-
] }) : /* @__PURE__ */ jsxs("div", { className: contentClass, children: [
|
|
24
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-10" }),
|
|
25
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-7" }),
|
|
26
|
-
/* @__PURE__ */ jsx(TextSkeleton, { className: "col-8" })
|
|
27
|
-
] });
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
EditorSkeleton as default
|
|
31
|
-
};
|